diff --git a/src/SDKs/Logic/AzSdk.RP.props b/src/SDKs/Logic/AzSdk.RP.props index 39645fa6dc051..57c4650bfa686 100644 --- a/src/SDKs/Logic/AzSdk.RP.props +++ b/src/SDKs/Logic/AzSdk.RP.props @@ -1,7 +1,7 @@ - + Logic_2018-07-01-preview; $(PackageTags);$(CommonTags);$(AzureApiTag); \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/InMemoryTests/InMemoryTestsBase.cs b/src/SDKs/Logic/Logic.Tests/InMemoryTests/InMemoryTestsBase.cs index 2703421711c26..35f16cf3dfb2c 100644 --- a/src/SDKs/Logic/Logic.Tests/InMemoryTests/InMemoryTestsBase.cs +++ b/src/SDKs/Logic/Logic.Tests/InMemoryTests/InMemoryTestsBase.cs @@ -14,16 +14,6 @@ namespace Test.Azure.Management.Logic /// abstract public class InMemoryTestsBase { - /// - /// Test resourcegroup name for integration account - /// - protected static string ResourceGroupName = Constants.DefaultResourceGroup; - - /// - /// Empty content string - /// - protected StringContent Empty = new StringContent(string.Empty); - /// /// Creates a mock LogicManagementClient /// @@ -64,10 +54,7 @@ protected bool ValidateIdFormat(string id, string entityTypeName, string entityS pattern += @"/[0-9a-z\-]*$"; - return Regex.IsMatch( - input: id, - pattern: pattern, - options: RegexOptions.IgnoreCase); + return Regex.IsMatch(input: id, pattern: pattern, options: RegexOptions.IgnoreCase); } } } diff --git a/src/SDKs/Logic/Logic.Tests/InMemoryTests/IntegrationAccountInMemoryTests.cs b/src/SDKs/Logic/Logic.Tests/InMemoryTests/IntegrationAccount.InMemoryTests.cs similarity index 87% rename from src/SDKs/Logic/Logic.Tests/InMemoryTests/IntegrationAccountInMemoryTests.cs rename to src/SDKs/Logic/Logic.Tests/InMemoryTests/IntegrationAccount.InMemoryTests.cs index e7df06caf5310..dc194184db0a3 100644 --- a/src/SDKs/Logic/Logic.Tests/InMemoryTests/IntegrationAccountInMemoryTests.cs +++ b/src/SDKs/Logic/Logic.Tests/InMemoryTests/IntegrationAccount.InMemoryTests.cs @@ -17,24 +17,22 @@ namespace Test.Azure.Management.Logic public class IntegrationAccountInMemoryTests : InMemoryTestsBase { + private StringContent IntegrationAccountsList { get; set; } + + private StringContent IntegrationAccount { get; set; } + + private StringContent IntegrationAccountCallbackUrl { get; set; } + public IntegrationAccountInMemoryTests() { var content = File.ReadAllText(@"TestData/IntegrationAccountResponseContent.json"); var callbackUrlContent = File.ReadAllText(@"TestData/IntegrationAccountCallbackUrlResponseContent.json"); - this.IntegrationAccountsList = - new StringContent(string.Format(Constants.ListFormat, - content, Constants.NextPageLink)); + this.IntegrationAccountsList = new StringContent(string.Format(Constants.ListFormat, content, Constants.NextPageLink)); this.IntegrationAccount = new StringContent(content); this.IntegrationAccountCallbackUrl = new StringContent(callbackUrlContent); } - private StringContent IntegrationAccountsList { get; set; } - - private StringContent IntegrationAccount { get; set; } - - private StringContent IntegrationAccountCallbackUrl { get; set; } - [Fact] public void IntegrationAccounts_ListBySubscription_Success() { @@ -123,7 +121,7 @@ public void IntegrationAccounts_ListByResourceGroup_Exception() }; Assert.Throws(() => client.IntegrationAccounts.ListByResourceGroup(null)); - Assert.Throws(() => client.IntegrationAccounts.ListByResourceGroup(ResourceGroupName)); + Assert.Throws(() => client.IntegrationAccounts.ListByResourceGroup(Constants.DefaultResourceGroup)); } [Fact] @@ -138,7 +136,7 @@ public void IntegrationAccounts_ListByResourceGroup_Success() Content = this.IntegrationAccountsList }; - var result = client.IntegrationAccounts.ListByResourceGroup(ResourceGroupName); + var result = client.IntegrationAccounts.ListByResourceGroup(Constants.DefaultResourceGroup); // Validates request. handler.Request.ValidateAuthorizationHeader(); @@ -199,9 +197,9 @@ public void IntegrationAccounts_CreateOrUpdate_Exception() }; Assert.Throws(() => client.IntegrationAccounts.CreateOrUpdate(null, "IntegrationAccountName", new IntegrationAccount())); - Assert.Throws(() => client.IntegrationAccounts.CreateOrUpdate(ResourceGroupName, null, new IntegrationAccount())); - Assert.Throws(() => client.IntegrationAccounts.CreateOrUpdate(ResourceGroupName, "IntegrationAccountName", null)); - Assert.Throws(() => client.IntegrationAccounts.CreateOrUpdate(ResourceGroupName, "IntegrationAccountName", new IntegrationAccount())); + Assert.Throws(() => client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, null, new IntegrationAccount())); + Assert.Throws(() => client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, "IntegrationAccountName", null)); + Assert.Throws(() => client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, "IntegrationAccountName", new IntegrationAccount())); } [Fact] @@ -216,7 +214,7 @@ public void IntegrationAccounts_CreateOrUpdate_OK() Content = this.IntegrationAccount }; - var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(ResourceGroupName, "IntegrationAccountName", new IntegrationAccount()); + var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, "IntegrationAccountName", new IntegrationAccount()); // Validates request. handler.Request.ValidateAuthorizationHeader(); @@ -238,7 +236,7 @@ public void IntegrationAccounts_CreateOrUpdate_Created() Content = this.IntegrationAccount }; - var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(ResourceGroupName, "IntegrationAccountName", new IntegrationAccount()); + var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, "IntegrationAccountName", new IntegrationAccount()); // Validates request. handler.Request.ValidateAuthorizationHeader(); @@ -256,12 +254,13 @@ public void IntegrationAccounts_Delete_Exception() handler.Response = new HttpResponseMessage { - StatusCode = HttpStatusCode.NotFound + StatusCode = HttpStatusCode.NotFound, + Content = new StringContent(string.Empty) }; Assert.Throws(() => client.IntegrationAccounts.Delete(null, "IntegrationAccountName")); - Assert.Throws(() => client.IntegrationAccounts.Delete(ResourceGroupName, null)); - Assert.Throws(() => client.IntegrationAccounts.Delete(ResourceGroupName, "IntegrationAccountName")); + Assert.Throws(() => client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, null)); + Assert.Throws(() => client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, "IntegrationAccountName")); } [Fact] @@ -275,7 +274,7 @@ public void IntegrationAccounts_Delete_OK() StatusCode = HttpStatusCode.OK }; - client.IntegrationAccounts.Delete(ResourceGroupName, "IntegrationAccountName"); + client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, "IntegrationAccountName"); // Validates request. handler.Request.ValidateAuthorizationHeader(); @@ -293,7 +292,7 @@ public void IntegrationAccounts_Delete_NoContent() StatusCode = HttpStatusCode.NoContent }; - client.IntegrationAccounts.Delete(ResourceGroupName, "IntegrationAccountName"); + client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, "IntegrationAccountName"); // Validates request. handler.Request.ValidateAuthorizationHeader(); @@ -313,8 +312,8 @@ public void IntegrationAccounts_Get_Exception() }; Assert.Throws(() => client.IntegrationAccounts.Get(null, "IntegrationAccountName")); - Assert.Throws(() => client.IntegrationAccounts.Get(ResourceGroupName, null)); - Assert.Throws(() => client.IntegrationAccounts.Get(ResourceGroupName, "IntegrationAccountName")); + Assert.Throws(() => client.IntegrationAccounts.Get(Constants.DefaultResourceGroup, null)); + Assert.Throws(() => client.IntegrationAccounts.Get(Constants.DefaultResourceGroup, "IntegrationAccountName")); } [Fact] @@ -329,7 +328,7 @@ public void IntegrationAccounts_Get_OK() Content = this.IntegrationAccount }; - var result = client.IntegrationAccounts.Get(ResourceGroupName, "IntegrationAccountName"); + var result = client.IntegrationAccounts.Get(Constants.DefaultResourceGroup, "IntegrationAccountName"); // Validates request. handler.Request.ValidateAuthorizationHeader(); @@ -352,9 +351,9 @@ public void IntegrationAccounts_Update_Exception() }; Assert.Throws(() => client.IntegrationAccounts.Update(null, "IntegrationAccountName", new IntegrationAccount())); - Assert.Throws(() => client.IntegrationAccounts.Update(ResourceGroupName, null, new IntegrationAccount())); - Assert.Throws(() => client.IntegrationAccounts.Update(ResourceGroupName, "IntegrationAccountName", null)); - Assert.Throws(() => client.IntegrationAccounts.Update(ResourceGroupName, "IntegrationAccountName", new IntegrationAccount())); + Assert.Throws(() => client.IntegrationAccounts.Update(Constants.DefaultResourceGroup, null, new IntegrationAccount())); + Assert.Throws(() => client.IntegrationAccounts.Update(Constants.DefaultResourceGroup, "IntegrationAccountName", null)); + Assert.Throws(() => client.IntegrationAccounts.Update(Constants.DefaultResourceGroup, "IntegrationAccountName", new IntegrationAccount())); } [Fact] @@ -374,7 +373,7 @@ public void IntegrationAccounts_Update_OK() Tags = new Dictionary() }; - integrationAccount = client.IntegrationAccounts.Update(ResourceGroupName, "IntegrationAccountName", integrationAccount); + integrationAccount = client.IntegrationAccounts.Update(Constants.DefaultResourceGroup, "IntegrationAccountName", integrationAccount); // Validates request. handler.Request.ValidateAuthorizationHeader(); @@ -397,9 +396,9 @@ public void IntegrationAccounts_ListCallbackUrl_Exception() Content = new StringContent(string.Empty) }; - Assert.Throws(() => client.IntegrationAccounts.GetCallbackUrl(null, "IntegrationAccountName", new GetCallbackUrlParameters())); - Assert.Throws(() => client.IntegrationAccounts.GetCallbackUrl(ResourceGroupName, null, new GetCallbackUrlParameters())); - Assert.Throws(() => client.IntegrationAccounts.GetCallbackUrl(ResourceGroupName, "IntegrationAccountName", new GetCallbackUrlParameters())); + Assert.Throws(() => client.IntegrationAccounts.ListCallbackUrl(null, "IntegrationAccountName", new GetCallbackUrlParameters())); + Assert.Throws(() => client.IntegrationAccounts.ListCallbackUrl(Constants.DefaultResourceGroup, null, new GetCallbackUrlParameters())); + Assert.Throws(() => client.IntegrationAccounts.ListCallbackUrl(Constants.DefaultResourceGroup, "IntegrationAccountName", new GetCallbackUrlParameters())); } [Fact] @@ -414,20 +413,19 @@ public void IntegrationAccounts_ListCallbackUrl_OK() Content = this.IntegrationAccountCallbackUrl }; - var result = client.IntegrationAccounts.GetCallbackUrl(ResourceGroupName, "IntegrationAccountName", new GetCallbackUrlParameters()); + var result = client.IntegrationAccounts.ListCallbackUrl(Constants.DefaultResourceGroup, "IntegrationAccountName", new GetCallbackUrlParameters()); // Validates request. handler.Request.ValidateAuthorizationHeader(); handler.Request.ValidateMethod(HttpMethod.Post); - Assert.NotNull(result.Value); // Validates result. - + Assert.NotNull(result.Value); } private void ValidateIntegrationAccountList(IPage result) { - Assert.Equal(1, result.Count()); + Assert.Single(result); this.ValidateIntegrationAccount(result.First()); Assert.Equal(Constants.NextPageLink, result.NextPageLink); } diff --git a/src/SDKs/Logic/Logic.Tests/InMemoryTests/IntegrationAccountAgreementInMemoryTests.cs b/src/SDKs/Logic/Logic.Tests/InMemoryTests/IntegrationAccountAgreement.InMemoryTests.cs similarity index 60% rename from src/SDKs/Logic/Logic.Tests/InMemoryTests/IntegrationAccountAgreementInMemoryTests.cs rename to src/SDKs/Logic/Logic.Tests/InMemoryTests/IntegrationAccountAgreement.InMemoryTests.cs index 8cf42270b08a6..573f95e74d6c9 100644 --- a/src/SDKs/Logic/Logic.Tests/InMemoryTests/IntegrationAccountAgreementInMemoryTests.cs +++ b/src/SDKs/Logic/Logic.Tests/InMemoryTests/IntegrationAccountAgreement.InMemoryTests.cs @@ -16,21 +16,20 @@ namespace Test.Azure.Management.Logic public class IntegrationAccountAgreementInMemoryTests : InMemoryTestsBase { + private StringContent AgreementList { get; set; } + + private StringContent Agreement { get; set; } + public IntegrationAccountAgreementInMemoryTests() { var content = File.ReadAllText(@"TestData/IntegrationAccountAgreementResponseContent.json"); - this.AgreementList = new StringContent(string.Format(Constants.ListFormat, - content, Constants.NextPageLink)); + this.AgreementList = new StringContent(string.Format(Constants.ListFormat, content, Constants.NextPageLink)); this.Agreement = new StringContent(content); } - private StringContent AgreementList { get; set; } - - private StringContent Agreement { get; set; } - [Fact] - public void IntegrationAccountAgreement_ListByResourceGroup_Exception() + public void IntegrationAccountAgreement_List_Exception() { var handler = new RecordedDelegatingHandler(); var client = this.CreateIntegrationAccountClient(handler); @@ -41,12 +40,12 @@ public void IntegrationAccountAgreement_ListByResourceGroup_Exception() Content = new StringContent(string.Empty) }; - Assert.Throws(() => client.Agreements.ListByIntegrationAccounts(null, "IntegrationAccount")); - Assert.Throws(() => client.Agreements.ListByIntegrationAccounts(ResourceGroupName, "IntegrationAccount")); + Assert.Throws(() => client.IntegrationAccountAgreements.List(null, "IntegrationAccount")); + Assert.Throws(() => client.IntegrationAccountAgreements.List(Constants.DefaultResourceGroup, "IntegrationAccount")); } [Fact] - public void IntegrationAccountAgreement_ListByResourceGroup_Success() + public void IntegrationAccountAgreement_List_Success() { var handler = new RecordedDelegatingHandler(); var client = this.CreateIntegrationAccountClient(handler); @@ -57,7 +56,7 @@ public void IntegrationAccountAgreement_ListByResourceGroup_Success() Content = this.AgreementList }; - var result = client.Agreements.ListByIntegrationAccounts(ResourceGroupName, "IntegrationAccount"); + var result = client.IntegrationAccountAgreements.List(Constants.DefaultResourceGroup, "IntegrationAccount"); // Validates request. handler.Request.ValidateAuthorizationHeader(); @@ -68,7 +67,7 @@ public void IntegrationAccountAgreement_ListByResourceGroup_Success() } [Fact] - public void IntegrationAccountAgreement_ListByResourceGroupNext_Exception() + public void IntegrationAccountAgreement_ListNext_Exception() { var handler = new RecordedDelegatingHandler(); var client = this.CreateIntegrationAccountClient(handler); @@ -79,12 +78,12 @@ public void IntegrationAccountAgreement_ListByResourceGroupNext_Exception() Content = new StringContent(string.Empty) }; - Assert.Throws(() => client.Agreements.ListByIntegrationAccountsNext(null)); - Assert.Throws(() => client.Agreements.ListByIntegrationAccountsNext(Constants.NextPageLink)); + Assert.Throws(() => client.IntegrationAccountAgreements.ListNext(null)); + Assert.Throws(() => client.IntegrationAccountAgreements.ListNext(Constants.NextPageLink)); } [Fact] - public void IntegrationAccountAgreement_ListByResourceGroupNext_Success() + public void IntegrationAccountAgreement_ListNext_Success() { var handler = new RecordedDelegatingHandler(); var client = this.CreateIntegrationAccountClient(handler); @@ -95,7 +94,7 @@ public void IntegrationAccountAgreement_ListByResourceGroupNext_Success() Content = this.AgreementList }; - var result = client.Agreements.ListByIntegrationAccountsNext(Constants.NextPageLink); + var result = client.IntegrationAccountAgreements.ListNext(Constants.NextPageLink); // Validates request. handler.Request.ValidateAuthorizationHeader(); @@ -117,12 +116,18 @@ public void IntegrationAccountAgreement_CreateOrUpdate_Exception() Content = new StringContent(string.Empty) }; - var agreeement = new IntegrationAccountAgreement(AgreementType.Edifact, "hostPartner", "guestPartner", new BusinessIdentity("a", "b"), new BusinessIdentity("a", "b"), new AgreementContent()); - Assert.Throws(() => client.Agreements.CreateOrUpdate(null, "IntegrationAccountName", "AgreementName", new IntegrationAccountAgreement())); - Assert.Throws(() => client.Agreements.CreateOrUpdate(ResourceGroupName, null, "AgreementName", new IntegrationAccountAgreement())); - Assert.Throws(() => client.Agreements.CreateOrUpdate(ResourceGroupName, "IntegrationAccountName", null, new IntegrationAccountAgreement())); - Assert.Throws(() => client.Agreements.CreateOrUpdate(ResourceGroupName, "IntegrationAccountName", "AgreementName", null)); - Assert.Throws(() => client.Agreements.CreateOrUpdate(ResourceGroupName, "IntegrationAccountName", "AgreementName", agreeement)); + var agreeement = new IntegrationAccountAgreement(AgreementType.Edifact, + "hostPartner", + "guestPartner", + new BusinessIdentity("a", "b"), + new BusinessIdentity("a", "b"), + new AgreementContent()); + + Assert.Throws(() => client.IntegrationAccountAgreements.CreateOrUpdate(null, "IntegrationAccountName", "AgreementName", new IntegrationAccountAgreement())); + Assert.Throws(() => client.IntegrationAccountAgreements.CreateOrUpdate(Constants.DefaultResourceGroup, null, "AgreementName", new IntegrationAccountAgreement())); + Assert.Throws(() => client.IntegrationAccountAgreements.CreateOrUpdate(Constants.DefaultResourceGroup, "IntegrationAccountName", null, new IntegrationAccountAgreement())); + Assert.Throws(() => client.IntegrationAccountAgreements.CreateOrUpdate(Constants.DefaultResourceGroup, "IntegrationAccountName", "AgreementName", null)); + Assert.Throws(() => client.IntegrationAccountAgreements.CreateOrUpdate(Constants.DefaultResourceGroup, "IntegrationAccountName", "AgreementName", agreeement)); } [Fact] @@ -137,7 +142,15 @@ public void IntegrationAccountAgreement_CreateOrUpdate_OK() Content = this.Agreement }; - var result = client.Agreements.CreateOrUpdate(ResourceGroupName, "IntegrationAccountName", "AgreementName", new IntegrationAccountAgreement(AgreementType.Edifact, "hostPartner", "guestPartner", new BusinessIdentity("a", "b"), new BusinessIdentity("a", "b"), new AgreementContent())); + var result = client.IntegrationAccountAgreements.CreateOrUpdate(Constants.DefaultResourceGroup, + "IntegrationAccountName", + "AgreementName", + new IntegrationAccountAgreement(AgreementType.Edifact, + "hostPartner", + "guestPartner", + new BusinessIdentity("a", "b"), + new BusinessIdentity("a", "b"), + new AgreementContent())); // Validates request. handler.Request.ValidateAuthorizationHeader(); @@ -159,7 +172,15 @@ public void IntegrationAccountAgreement_CreateOrUpdate_Created() Content = this.Agreement }; - var result = client.Agreements.CreateOrUpdate(ResourceGroupName, "IntegrationAccountName", "AgreementName", new IntegrationAccountAgreement(AgreementType.Edifact,"hostPartner", "guestPartner", new BusinessIdentity("a","b"),new BusinessIdentity("a","b"),new AgreementContent())); + var result = client.IntegrationAccountAgreements.CreateOrUpdate(Constants.DefaultResourceGroup, + "IntegrationAccountName", + "AgreementName", + new IntegrationAccountAgreement(AgreementType.Edifact, + "hostPartner", + "guestPartner", + new BusinessIdentity("a", "b"), + new BusinessIdentity("a", "b"), + new AgreementContent())); // Validates request. handler.Request.ValidateAuthorizationHeader(); @@ -177,13 +198,14 @@ public void IntegrationAccountAgreement_Delete_Exception() handler.Response = new HttpResponseMessage { - StatusCode = HttpStatusCode.NotFound + StatusCode = HttpStatusCode.NotFound, + Content = new StringContent(string.Empty) }; - Assert.Throws(() => client.Agreements.Delete(null, "IntegrationAccountName", "AgreementName")); - Assert.Throws(() => client.Agreements.Delete(ResourceGroupName, null, "AgreementName")); - Assert.Throws(() => client.Agreements.Delete(ResourceGroupName, "IntegrationAccountName", null)); - Assert.Throws(() => client.Agreements.Delete(ResourceGroupName, "IntegrationAccountName", "AgreementName")); + Assert.Throws(() => client.IntegrationAccountAgreements.Delete(null, "IntegrationAccountName", "AgreementName")); + Assert.Throws(() => client.IntegrationAccountAgreements.Delete(Constants.DefaultResourceGroup, null, "AgreementName")); + Assert.Throws(() => client.IntegrationAccountAgreements.Delete(Constants.DefaultResourceGroup, "IntegrationAccountName", null)); + Assert.Throws(() => client.IntegrationAccountAgreements.Delete(Constants.DefaultResourceGroup, "IntegrationAccountName", "AgreementName")); } [Fact] @@ -197,7 +219,7 @@ public void IntegrationAccountAgreement_Delete_OK() StatusCode = HttpStatusCode.OK }; - client.Agreements.Delete(ResourceGroupName, "IntegrationAccountName", "AgreementName"); + client.IntegrationAccountAgreements.Delete(Constants.DefaultResourceGroup, "IntegrationAccountName", "AgreementName"); // Validates request. handler.Request.ValidateAuthorizationHeader(); @@ -215,7 +237,7 @@ public void IntegrationAccountAgreement_Delete_NoContent() StatusCode = HttpStatusCode.NoContent }; - client.Agreements.Delete(ResourceGroupName, "IntegrationAccountName", "AgreementName"); + client.IntegrationAccountAgreements.Delete(Constants.DefaultResourceGroup, "IntegrationAccountName", "AgreementName"); // Validates request. handler.Request.ValidateAuthorizationHeader(); @@ -234,10 +256,10 @@ public void IntegrationAccountAgreement_Get_Exception() Content = new StringContent(string.Empty) }; - Assert.Throws(() => client.Agreements.Get(null, "IntegrationAccountName", "AgreementName")); - Assert.Throws(() => client.Agreements.Get(ResourceGroupName, null, "AgreementName")); - Assert.Throws(() => client.Agreements.Get(ResourceGroupName, "IntegrationAccountName", null)); - Assert.Throws(() => client.Agreements.Get(ResourceGroupName, "IntegrationAccountName", "AgreementName")); + Assert.Throws(() => client.IntegrationAccountAgreements.Get(null, "IntegrationAccountName", "AgreementName")); + Assert.Throws(() => client.IntegrationAccountAgreements.Get(Constants.DefaultResourceGroup, null, "AgreementName")); + Assert.Throws(() => client.IntegrationAccountAgreements.Get(Constants.DefaultResourceGroup, "IntegrationAccountName", null)); + Assert.Throws(() => client.IntegrationAccountAgreements.Get(Constants.DefaultResourceGroup, "IntegrationAccountName", "AgreementName")); } [Fact] @@ -252,7 +274,7 @@ public void IntegrationAccountAgreement_Get_OK() Content = this.Agreement }; - var result = client.Agreements.Get(ResourceGroupName, "IntegrationAccountName", "AgreementName"); + var result = client.IntegrationAccountAgreements.Get(Constants.DefaultResourceGroup, "IntegrationAccountName", "AgreementName"); // Validates request. handler.Request.ValidateAuthorizationHeader(); @@ -264,7 +286,7 @@ public void IntegrationAccountAgreement_Get_OK() private void ValidateAgreementList(IPage result) { - Assert.Equal(1, result.Count()); + Assert.Single(result); this.ValidateAgreement(result.First()); Assert.Equal(Constants.NextPageLink, result.NextPageLink); } diff --git a/src/SDKs/Logic/Logic.Tests/InMemoryTests/IntegrationAccountCertificateInMemoryTests.cs b/src/SDKs/Logic/Logic.Tests/InMemoryTests/IntegrationAccountCertificate.InMemoryTests.cs similarity index 67% rename from src/SDKs/Logic/Logic.Tests/InMemoryTests/IntegrationAccountCertificateInMemoryTests.cs rename to src/SDKs/Logic/Logic.Tests/InMemoryTests/IntegrationAccountCertificate.InMemoryTests.cs index c0f9ca5f1f78f..9008fef52bce4 100644 --- a/src/SDKs/Logic/Logic.Tests/InMemoryTests/IntegrationAccountCertificateInMemoryTests.cs +++ b/src/SDKs/Logic/Logic.Tests/InMemoryTests/IntegrationAccountCertificate.InMemoryTests.cs @@ -17,21 +17,20 @@ namespace Test.Azure.Management.Logic public class IntegrationAccountCertificateInMemoryTests : InMemoryTestsBase { + private StringContent CertificateList { get; set; } + + private StringContent Certificate { get; set; } + public IntegrationAccountCertificateInMemoryTests() { var content = File.ReadAllText(@"TestData/IntegrationAccountCertificateResponseContent.json"); - this.CertificateList = new StringContent(string.Format(Constants.ListFormat, - content, Constants.NextPageLink)); + this.CertificateList = new StringContent(string.Format(Constants.ListFormat, content, Constants.NextPageLink)); this.Certificate = new StringContent(content); } - private StringContent CertificateList { get; set; } - - private StringContent Certificate { get; set; } - [Fact] - public void IntegrationAccountCertificate_ListByResourceGroup_Exception() + public void IntegrationAccountCertificate_List_Exception() { var handler = new RecordedDelegatingHandler(); var client = this.CreateIntegrationAccountClient(handler); @@ -42,13 +41,12 @@ public void IntegrationAccountCertificate_ListByResourceGroup_Exception() Content = new StringContent(string.Empty) }; - Assert.Throws( - () => client.Certificates.ListByIntegrationAccounts(null, "IntegrationAccount",null)); - Assert.Throws(() => client.Certificates.ListByIntegrationAccounts(ResourceGroupName, "IntegrationAccount")); + Assert.Throws(() => client.IntegrationAccountCertificates.List(null, "IntegrationAccount",null)); + Assert.Throws(() => client.IntegrationAccountCertificates.List(Constants.DefaultResourceGroup, "IntegrationAccount")); } [Fact] - public void IntegrationAccountCertificate_ListByResourceGroup_Success() + public void IntegrationAccountCertificate_List_Success() { var handler = new RecordedDelegatingHandler(); var client = this.CreateIntegrationAccountClient(handler); @@ -59,7 +57,7 @@ public void IntegrationAccountCertificate_ListByResourceGroup_Success() Content = this.CertificateList }; - var result = client.Certificates.ListByIntegrationAccounts(ResourceGroupName, "IntegrationAccount"); + var result = client.IntegrationAccountCertificates.List(Constants.DefaultResourceGroup, "IntegrationAccount"); // Validates request. handler.Request.ValidateAuthorizationHeader(); @@ -70,7 +68,7 @@ public void IntegrationAccountCertificate_ListByResourceGroup_Success() } [Fact] - public void IntegrationAccountCertificate_ListByResourceGroupNext_Exception() + public void IntegrationAccountCertificate_ListNext_Exception() { var handler = new RecordedDelegatingHandler(); var client = this.CreateIntegrationAccountClient(handler); @@ -81,12 +79,12 @@ public void IntegrationAccountCertificate_ListByResourceGroupNext_Exception() Content = new StringContent(string.Empty) }; - Assert.Throws(() => client.Certificates.ListByIntegrationAccountsNext(null)); - Assert.Throws(() => client.Certificates.ListByIntegrationAccountsNext(Constants.NextPageLink)); + Assert.Throws(() => client.IntegrationAccountCertificates.ListNext(null)); + Assert.Throws(() => client.IntegrationAccountCertificates.ListNext(Constants.NextPageLink)); } [Fact] - public void IntegrationAccountCertificate_ListByResourceGroupNext_Success() + public void IntegrationAccountCertificate_ListNext_Success() { var handler = new RecordedDelegatingHandler(); var client = this.CreateIntegrationAccountClient(handler); @@ -97,7 +95,7 @@ public void IntegrationAccountCertificate_ListByResourceGroupNext_Success() Content = this.CertificateList }; - var result = client.Certificates.ListByIntegrationAccountsNext(Constants.NextPageLink); + var result = client.IntegrationAccountCertificates.ListNext(Constants.NextPageLink); // Validates request. handler.Request.ValidateAuthorizationHeader(); @@ -119,11 +117,11 @@ public void IntegrationAccountCertificate_CreateOrUpdate_Exception() Content = new StringContent(string.Empty) }; - Assert.Throws(() => client.Certificates.CreateOrUpdate(null, "IntegrationAccountName", "IntegrationAccountCertificate", new IntegrationAccountCertificate())); - Assert.Throws(() => client.Certificates.CreateOrUpdate(ResourceGroupName, null, "IntegrationAccountCertificate", new IntegrationAccountCertificate())); - Assert.Throws(() => client.Certificates.CreateOrUpdate(ResourceGroupName, "IntegrationAccountName", null, new IntegrationAccountCertificate())); - Assert.Throws(() => client.Certificates.CreateOrUpdate(ResourceGroupName, "IntegrationAccountName", "IntegrationAccountCertificate", null)); - Assert.Throws(() => client.Certificates.CreateOrUpdate(ResourceGroupName, "IntegrationAccountName", "IntegrationAccountCertificate", new IntegrationAccountCertificate())); + Assert.Throws(() => client.IntegrationAccountCertificates.CreateOrUpdate(null, "IntegrationAccountName", "IntegrationAccountCertificate", new IntegrationAccountCertificate())); + Assert.Throws(() => client.IntegrationAccountCertificates.CreateOrUpdate(Constants.DefaultResourceGroup, null, "IntegrationAccountCertificate", new IntegrationAccountCertificate())); + Assert.Throws(() => client.IntegrationAccountCertificates.CreateOrUpdate(Constants.DefaultResourceGroup, "IntegrationAccountName", null, new IntegrationAccountCertificate())); + Assert.Throws(() => client.IntegrationAccountCertificates.CreateOrUpdate(Constants.DefaultResourceGroup, "IntegrationAccountName", "IntegrationAccountCertificate", null)); + Assert.Throws(() => client.IntegrationAccountCertificates.CreateOrUpdate(Constants.DefaultResourceGroup, "IntegrationAccountName", "IntegrationAccountCertificate", new IntegrationAccountCertificate())); } [Fact] @@ -138,7 +136,7 @@ public void IntegrationAccountCertificate_CreateOrUpdate_OK() Content = this.Certificate }; - var result = client.Certificates.CreateOrUpdate(ResourceGroupName, "IntegrationAccountName", "IntegrationAccountCertificate", new IntegrationAccountCertificate()); + var result = client.IntegrationAccountCertificates.CreateOrUpdate(Constants.DefaultResourceGroup, "IntegrationAccountName", "IntegrationAccountCertificate", new IntegrationAccountCertificate()); // Validates request. handler.Request.ValidateAuthorizationHeader(); @@ -160,7 +158,7 @@ public void IntegrationAccountCertificate_CreateOrUpdate_Created() Content = this.Certificate }; - var result = client.Certificates.CreateOrUpdate(ResourceGroupName, "IntegrationAccountName", "IntegrationAccountCertificate", new IntegrationAccountCertificate()); + var result = client.IntegrationAccountCertificates.CreateOrUpdate(Constants.DefaultResourceGroup, "IntegrationAccountName", "IntegrationAccountCertificate", new IntegrationAccountCertificate()); // Validates request. handler.Request.ValidateAuthorizationHeader(); @@ -178,13 +176,14 @@ public void IntegrationAccountCertificate_Delete_Exception() handler.Response = new HttpResponseMessage { - StatusCode = HttpStatusCode.NotFound + StatusCode = HttpStatusCode.NotFound, + Content = new StringContent(string.Empty) }; - Assert.Throws(() => client.Certificates.Delete(null, "IntegrationAccountName", "IntegrationAccountCertificate")); - Assert.Throws(() => client.Certificates.Delete(ResourceGroupName, null, "IntegrationAccountCertificate")); - Assert.Throws(() => client.Certificates.Delete(ResourceGroupName, "IntegrationAccountName", null)); - Assert.Throws(() => client.Certificates.Delete(ResourceGroupName, "IntegrationAccountName", "IntegrationAccountCertificate")); + Assert.Throws(() => client.IntegrationAccountCertificates.Delete(null, "IntegrationAccountName", "IntegrationAccountCertificate")); + Assert.Throws(() => client.IntegrationAccountCertificates.Delete(Constants.DefaultResourceGroup, null, "IntegrationAccountCertificate")); + Assert.Throws(() => client.IntegrationAccountCertificates.Delete(Constants.DefaultResourceGroup, "IntegrationAccountName", null)); + Assert.Throws(() => client.IntegrationAccountCertificates.Delete(Constants.DefaultResourceGroup, "IntegrationAccountName", "IntegrationAccountCertificate")); } [Fact] @@ -198,7 +197,7 @@ public void IntegrationAccountCertificate_Delete_OK() StatusCode = HttpStatusCode.OK }; - client.Certificates.Delete(ResourceGroupName, "IntegrationAccountName", "IntegrationAccountCertificate"); + client.IntegrationAccountCertificates.Delete(Constants.DefaultResourceGroup, "IntegrationAccountName", "IntegrationAccountCertificate"); // Validates request. handler.Request.ValidateAuthorizationHeader(); @@ -216,7 +215,7 @@ public void IntegrationAccountCertificate_Delete_NoContent() StatusCode = HttpStatusCode.NoContent }; - client.Certificates.Delete(ResourceGroupName, "IntegrationAccountName", "IntegrationAccountCertificate"); + client.IntegrationAccountCertificates.Delete(Constants.DefaultResourceGroup, "IntegrationAccountName", "IntegrationAccountCertificate"); // Validates request. handler.Request.ValidateAuthorizationHeader(); @@ -235,10 +234,10 @@ public void IntegrationAccountCertificate_Get_Exception() Content = new StringContent(string.Empty) }; - Assert.Throws(() => client.Certificates.Get(null, "IntegrationAccountName", "IntegrationAccountCertificate")); - Assert.Throws(() => client.Certificates.Get(ResourceGroupName, null, "IntegrationAccountCertificate")); - Assert.Throws(() => client.Certificates.Get(ResourceGroupName, "IntegrationAccountName", null)); - Assert.Throws(() => client.Certificates.Get(ResourceGroupName, "IntegrationAccountName", "IntegrationAccountCertificate")); + Assert.Throws(() => client.IntegrationAccountCertificates.Get(null, "IntegrationAccountName", "IntegrationAccountCertificate")); + Assert.Throws(() => client.IntegrationAccountCertificates.Get(Constants.DefaultResourceGroup, null, "IntegrationAccountCertificate")); + Assert.Throws(() => client.IntegrationAccountCertificates.Get(Constants.DefaultResourceGroup, "IntegrationAccountName", null)); + Assert.Throws(() => client.IntegrationAccountCertificates.Get(Constants.DefaultResourceGroup, "IntegrationAccountName", "IntegrationAccountCertificate")); } [Fact] @@ -253,7 +252,7 @@ public void IntegrationAccountCertificate_Get_OK() Content = this.Certificate }; - var result = client.Certificates.Get(ResourceGroupName, "IntegrationAccountName", "IntegrationAccountCertificate"); + var result = client.IntegrationAccountCertificates.Get(Constants.DefaultResourceGroup, "IntegrationAccountName", "IntegrationAccountCertificate"); // Validates request. handler.Request.ValidateAuthorizationHeader(); @@ -265,7 +264,7 @@ public void IntegrationAccountCertificate_Get_OK() private void ValidateCertificateList(IPage result) { - Assert.Equal(1, result.Count()); + Assert.Single(result); this.ValidateCertificate(result.First()); Assert.Equal(Constants.NextPageLink, result.NextPageLink); } @@ -299,7 +298,6 @@ private void ValidateCertificate(IntegrationAccountCertificate certificate) Assert.Equal(11, certificate.ChangedTime.Value.Minute); Assert.Equal(08, certificate.ChangedTime.Value.Second); Assert.Equal(DateTimeKind.Utc, certificate.ChangedTime.Value.Kind); - } } } \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/InMemoryTests/IntegrationAccountMapInMemoryTests.cs b/src/SDKs/Logic/Logic.Tests/InMemoryTests/IntegrationAccountMap.InMemoryTests.cs similarity index 69% rename from src/SDKs/Logic/Logic.Tests/InMemoryTests/IntegrationAccountMapInMemoryTests.cs rename to src/SDKs/Logic/Logic.Tests/InMemoryTests/IntegrationAccountMap.InMemoryTests.cs index 55076e6e3fd57..52eff72034531 100644 --- a/src/SDKs/Logic/Logic.Tests/InMemoryTests/IntegrationAccountMapInMemoryTests.cs +++ b/src/SDKs/Logic/Logic.Tests/InMemoryTests/IntegrationAccountMap.InMemoryTests.cs @@ -17,21 +17,20 @@ namespace Test.Azure.Management.Logic public class IntegrationAccountMapInMemoryTests : InMemoryTestsBase { + private StringContent MapList { get; set; } + + private StringContent Map { get; set; } + public IntegrationAccountMapInMemoryTests() { var content = File.ReadAllText(@"TestData/IntegrationAccountMapResponseContent.json"); - this.MapList = new StringContent(string.Format(Constants.ListFormat, - content, Constants.NextPageLink)); + this.MapList = new StringContent(string.Format(Constants.ListFormat, content, Constants.NextPageLink)); this.Map = new StringContent(content); } - private StringContent MapList { get; set; } - - private StringContent Map { get; set; } - [Fact] - public void IntegrationAccountMap_ListByResourceGroup_Exception() + public void IntegrationAccountMap_List_Exception() { var handler = new RecordedDelegatingHandler(); var client = this.CreateIntegrationAccountClient(handler); @@ -42,13 +41,12 @@ public void IntegrationAccountMap_ListByResourceGroup_Exception() Content = new StringContent(string.Empty) }; - Assert.Throws( - () => client.Maps.ListByIntegrationAccounts(null, "IntegrationAccount",null)); - Assert.Throws(() => client.Maps.ListByIntegrationAccounts(ResourceGroupName, "IntegrationAccount")); + Assert.Throws(() => client.IntegrationAccountMaps.List(null, "IntegrationAccount",null)); + Assert.Throws(() => client.IntegrationAccountMaps.List(Constants.DefaultResourceGroup, "IntegrationAccount")); } [Fact] - public void IntegrationAccountMap_ListByResourceGroup_Success() + public void IntegrationAccountMap_List_Success() { var handler = new RecordedDelegatingHandler(); var client = this.CreateIntegrationAccountClient(handler); @@ -59,7 +57,7 @@ public void IntegrationAccountMap_ListByResourceGroup_Success() Content = this.MapList }; - var result = client.Maps.ListByIntegrationAccounts(ResourceGroupName, "IntegrationAccount"); + var result = client.IntegrationAccountMaps.List(Constants.DefaultResourceGroup, "IntegrationAccount"); // Validates request. handler.Request.ValidateAuthorizationHeader(); @@ -70,7 +68,7 @@ public void IntegrationAccountMap_ListByResourceGroup_Success() } [Fact] - public void IntegrationAccountMap_ListByResourceGroupNext_Exception() + public void IntegrationAccountMap_ListNext_Exception() { var handler = new RecordedDelegatingHandler(); var client = this.CreateIntegrationAccountClient(handler); @@ -81,12 +79,12 @@ public void IntegrationAccountMap_ListByResourceGroupNext_Exception() Content = new StringContent(string.Empty) }; - Assert.Throws(() => client.Maps.ListByIntegrationAccountsNext(null)); - Assert.Throws(() => client.Maps.ListByIntegrationAccountsNext(Constants.NextPageLink)); + Assert.Throws(() => client.IntegrationAccountMaps.ListNext(null)); + Assert.Throws(() => client.IntegrationAccountMaps.ListNext(Constants.NextPageLink)); } [Fact] - public void IntegrationAccountMap_ListByResourceGroupNext_Success() + public void IntegrationAccountMap_ListNext_Success() { var handler = new RecordedDelegatingHandler(); var client = this.CreateIntegrationAccountClient(handler); @@ -97,7 +95,7 @@ public void IntegrationAccountMap_ListByResourceGroupNext_Success() Content = this.MapList }; - var result = client.Maps.ListByIntegrationAccountsNext(Constants.NextPageLink); + var result = client.IntegrationAccountMaps.ListNext(Constants.NextPageLink); // Validates request. handler.Request.ValidateAuthorizationHeader(); @@ -119,11 +117,11 @@ public void IntegrationAccountMap_CreateOrUpdate_Exception() Content = new StringContent(string.Empty) }; - Assert.Throws(() => client.Maps.CreateOrUpdate(null, "IntegrationAccountName", "MapName", new IntegrationAccountMap())); - Assert.Throws(() => client.Maps.CreateOrUpdate(ResourceGroupName, null, "MapName", new IntegrationAccountMap())); - Assert.Throws(() => client.Maps.CreateOrUpdate(ResourceGroupName, "IntegrationAccountName", null, new IntegrationAccountMap())); - Assert.Throws(() => client.Maps.CreateOrUpdate(ResourceGroupName, "IntegrationAccountName", "MapName", null)); - Assert.Throws(() => client.Maps.CreateOrUpdate(ResourceGroupName, "IntegrationAccountName", "MapName", new IntegrationAccountMap())); + Assert.Throws(() => client.IntegrationAccountMaps.CreateOrUpdate(null, "IntegrationAccountName", "MapName", new IntegrationAccountMap(MapType.Xslt))); + Assert.Throws(() => client.IntegrationAccountMaps.CreateOrUpdate(Constants.DefaultResourceGroup, null, "MapName", new IntegrationAccountMap(MapType.Xslt))); + Assert.Throws(() => client.IntegrationAccountMaps.CreateOrUpdate(Constants.DefaultResourceGroup, "IntegrationAccountName", null, new IntegrationAccountMap(MapType.Xslt))); + Assert.Throws(() => client.IntegrationAccountMaps.CreateOrUpdate(Constants.DefaultResourceGroup, "IntegrationAccountName", "MapName", null)); + Assert.Throws(() => client.IntegrationAccountMaps.CreateOrUpdate(Constants.DefaultResourceGroup, "IntegrationAccountName", "MapName", new IntegrationAccountMap(MapType.Xslt))); } [Fact] @@ -138,7 +136,7 @@ public void IntegrationAccountMap_CreateOrUpdate_OK() Content = this.Map }; - var map = client.Maps.CreateOrUpdate(ResourceGroupName, "IntegrationAccountName", "MapName", new IntegrationAccountMap()); + var map = client.IntegrationAccountMaps.CreateOrUpdate(Constants.DefaultResourceGroup, "IntegrationAccountName", "MapName", new IntegrationAccountMap(MapType.Xslt)); // Validates request. handler.Request.ValidateAuthorizationHeader(); @@ -160,7 +158,7 @@ public void IntegrationAccountMap_CreateOrUpdate_Created() Content = this.Map }; - var map = client.Maps.CreateOrUpdate(ResourceGroupName, "IntegrationAccountName", "MapName", new IntegrationAccountMap()); + var map = client.IntegrationAccountMaps.CreateOrUpdate(Constants.DefaultResourceGroup, "IntegrationAccountName", "MapName", new IntegrationAccountMap(MapType.Xslt)); // Validates request. handler.Request.ValidateAuthorizationHeader(); @@ -178,13 +176,14 @@ public void IntegrationAccountMap_Delete_Exception() handler.Response = new HttpResponseMessage { - StatusCode = HttpStatusCode.NotFound + StatusCode = HttpStatusCode.NotFound, + Content = new StringContent(string.Empty) }; - Assert.Throws(() => client.Maps.Delete(null, "IntegrationAccountName","MapName")); - Assert.Throws(() => client.Maps.Delete(ResourceGroupName, null, "MapName")); - Assert.Throws(() => client.Maps.Delete(ResourceGroupName, "IntegrationAccountName", null)); - Assert.Throws(() => client.Maps.Delete(ResourceGroupName, "IntegrationAccountName", "MapName")); + Assert.Throws(() => client.IntegrationAccountMaps.Delete(null, "IntegrationAccountName","MapName")); + Assert.Throws(() => client.IntegrationAccountMaps.Delete(Constants.DefaultResourceGroup, null, "MapName")); + Assert.Throws(() => client.IntegrationAccountMaps.Delete(Constants.DefaultResourceGroup, "IntegrationAccountName", null)); + Assert.Throws(() => client.IntegrationAccountMaps.Delete(Constants.DefaultResourceGroup, "IntegrationAccountName", "MapName")); } [Fact] @@ -198,7 +197,7 @@ public void IntegrationAccountMap_Delete_OK() StatusCode = HttpStatusCode.OK }; - client.Maps.Delete(ResourceGroupName, "IntegrationAccountName", "MapName"); + client.IntegrationAccountMaps.Delete(Constants.DefaultResourceGroup, "IntegrationAccountName", "MapName"); // Validates request. handler.Request.ValidateAuthorizationHeader(); @@ -216,7 +215,7 @@ public void IntegrationAccountMap_Delete_NoContent() StatusCode = HttpStatusCode.NoContent }; - client.Maps.Delete(ResourceGroupName, "IntegrationAccountName","MapName"); + client.IntegrationAccountMaps.Delete(Constants.DefaultResourceGroup, "IntegrationAccountName","MapName"); // Validates request. handler.Request.ValidateAuthorizationHeader(); @@ -235,10 +234,10 @@ public void IntegrationAccountMap_Get_Exception() Content = new StringContent(string.Empty) }; - Assert.Throws(() => client.Maps.Get(null, "IntegrationAccountName", "MapName")); - Assert.Throws(() => client.Maps.Get(ResourceGroupName, null, "MapName")); - Assert.Throws(() => client.Maps.Get(ResourceGroupName, "IntegrationAccountName", null)); - Assert.Throws(() => client.Maps.Get(ResourceGroupName, "IntegrationAccountName", "MapName")); + Assert.Throws(() => client.IntegrationAccountMaps.Get(null, "IntegrationAccountName", "MapName")); + Assert.Throws(() => client.IntegrationAccountMaps.Get(Constants.DefaultResourceGroup, null, "MapName")); + Assert.Throws(() => client.IntegrationAccountMaps.Get(Constants.DefaultResourceGroup, "IntegrationAccountName", null)); + Assert.Throws(() => client.IntegrationAccountMaps.Get(Constants.DefaultResourceGroup, "IntegrationAccountName", "MapName")); } [Fact] @@ -253,7 +252,7 @@ public void IntegrationAccountMap_Get_OK() Content = this.Map }; - var result = client.Maps.Get(ResourceGroupName, "IntegrationAccountName", "MapName"); + var result = client.IntegrationAccountMaps.Get(Constants.DefaultResourceGroup, "IntegrationAccountName", "MapName"); // Validates request. handler.Request.ValidateAuthorizationHeader(); @@ -265,7 +264,7 @@ public void IntegrationAccountMap_Get_OK() private void ValidateMapList(IPage result) { - Assert.Equal(1, result.Count()); + Assert.Single(result); this.ValidateMap(result.First()); Assert.Equal(Constants.NextPageLink, result.NextPageLink); } diff --git a/src/SDKs/Logic/Logic.Tests/InMemoryTests/IntegrationAccountPartnerInMemoryTests.cs b/src/SDKs/Logic/Logic.Tests/InMemoryTests/IntegrationAccountPartner.InMemoryTests.cs similarity index 67% rename from src/SDKs/Logic/Logic.Tests/InMemoryTests/IntegrationAccountPartnerInMemoryTests.cs rename to src/SDKs/Logic/Logic.Tests/InMemoryTests/IntegrationAccountPartner.InMemoryTests.cs index 6f847358c6394..ddb7e72125f56 100644 --- a/src/SDKs/Logic/Logic.Tests/InMemoryTests/IntegrationAccountPartnerInMemoryTests.cs +++ b/src/SDKs/Logic/Logic.Tests/InMemoryTests/IntegrationAccountPartner.InMemoryTests.cs @@ -17,21 +17,20 @@ namespace Test.Azure.Management.Logic public class IntegrationAccountPartnerInMemoryTests : InMemoryTestsBase { + private StringContent PartnerList { get; set; } + + private StringContent Partner { get; set; } + public IntegrationAccountPartnerInMemoryTests() { var content = File.ReadAllText(@"TestData/IntegrationAccountPartnerResponseContent.json"); - this.PartnerList = new StringContent(string.Format(Constants.ListFormat, - content, Constants.NextPageLink)); + this.PartnerList = new StringContent(string.Format(Constants.ListFormat, content, Constants.NextPageLink)); this.Partner = new StringContent(content); } - private StringContent PartnerList { get; set; } - - private StringContent Partner { get; set; } - [Fact] - public void IntegrationAccountPartner_ListByResourceGroup_Exception() + public void IntegrationAccountPartner_List_Exception() { var handler = new RecordedDelegatingHandler(); var client = this.CreateIntegrationAccountClient(handler); @@ -42,13 +41,12 @@ public void IntegrationAccountPartner_ListByResourceGroup_Exception() Content = new StringContent(string.Empty) }; - Assert.Throws( - () => client.Partners.ListByIntegrationAccounts(null, "IntegrationAccount")); - Assert.Throws(() => client.Maps.ListByIntegrationAccounts(ResourceGroupName, "IntegrationAccount")); + Assert.Throws(() => client.IntegrationAccountPartners.List(null, "IntegrationAccount")); + Assert.Throws(() => client.IntegrationAccountMaps.List(Constants.DefaultResourceGroup, "IntegrationAccount")); } [Fact] - public void IntegrationAccountPartner_ListByResourceGroup_Success() + public void IntegrationAccountPartner_List_Success() { var handler = new RecordedDelegatingHandler(); var client = this.CreateIntegrationAccountClient(handler); @@ -59,7 +57,7 @@ public void IntegrationAccountPartner_ListByResourceGroup_Success() Content = this.PartnerList }; - var result = client.Partners.ListByIntegrationAccounts(ResourceGroupName, "IntegrationAccount"); + var result = client.IntegrationAccountPartners.List(Constants.DefaultResourceGroup, "IntegrationAccount"); // Validates request. handler.Request.ValidateAuthorizationHeader(); @@ -70,7 +68,7 @@ public void IntegrationAccountPartner_ListByResourceGroup_Success() } [Fact] - public void IntegrationAccountPartner_ListByResourceGroupNext_Exception() + public void IntegrationAccountPartner_ListNext_Exception() { var handler = new RecordedDelegatingHandler(); var client = this.CreateIntegrationAccountClient(handler); @@ -81,12 +79,12 @@ public void IntegrationAccountPartner_ListByResourceGroupNext_Exception() Content = new StringContent(string.Empty) }; - Assert.Throws(() => client.Partners.ListByIntegrationAccountsNext(null)); - Assert.Throws(() => client.Partners.ListByIntegrationAccountsNext(Constants.NextPageLink)); + Assert.Throws(() => client.IntegrationAccountPartners.ListNext(null)); + Assert.Throws(() => client.IntegrationAccountPartners.ListNext(Constants.NextPageLink)); } [Fact] - public void IntegrationAccountPartner_ListByResourceGroupNext_Success() + public void IntegrationAccountPartner_ListNext_Success() { var handler = new RecordedDelegatingHandler(); var client = this.CreateIntegrationAccountClient(handler); @@ -97,7 +95,7 @@ public void IntegrationAccountPartner_ListByResourceGroupNext_Success() Content = this.PartnerList }; - var result = client.Partners.ListByIntegrationAccountsNext(Constants.NextPageLink); + var result = client.IntegrationAccountPartners.ListNext(Constants.NextPageLink); // Validates request. handler.Request.ValidateAuthorizationHeader(); @@ -119,11 +117,11 @@ public void IntegrationAccountPartner_CreateOrUpdate_Exception() Content = new StringContent("Test") }; - Assert.Throws(() => client.Partners.CreateOrUpdate(null, "IntegrationAccountName", "PartnerName", new IntegrationAccountPartner())); - Assert.Throws(() => client.Partners.CreateOrUpdate(ResourceGroupName, null, "PartnerName", new IntegrationAccountPartner())); - Assert.Throws(() => client.Partners.CreateOrUpdate(ResourceGroupName, "IntegrationAccountName", null, new IntegrationAccountPartner())); - Assert.Throws(() => client.Partners.CreateOrUpdate(ResourceGroupName, "IntegrationAccountName", "PartnerName", null)); - Assert.Throws(() => client.Partners.CreateOrUpdate(ResourceGroupName, "IntegrationAccountName", "PartnerName", new IntegrationAccountPartner(PartnerType.B2B, new PartnerContent()))); + Assert.Throws(() => client.IntegrationAccountPartners.CreateOrUpdate(null, "IntegrationAccountName", "PartnerName", new IntegrationAccountPartner())); + Assert.Throws(() => client.IntegrationAccountPartners.CreateOrUpdate(Constants.DefaultResourceGroup, null, "PartnerName", new IntegrationAccountPartner())); + Assert.Throws(() => client.IntegrationAccountPartners.CreateOrUpdate(Constants.DefaultResourceGroup, "IntegrationAccountName", null, new IntegrationAccountPartner())); + Assert.Throws(() => client.IntegrationAccountPartners.CreateOrUpdate(Constants.DefaultResourceGroup, "IntegrationAccountName", "PartnerName", null)); + Assert.Throws(() => client.IntegrationAccountPartners.CreateOrUpdate(Constants.DefaultResourceGroup, "IntegrationAccountName", "PartnerName", new IntegrationAccountPartner(PartnerType.B2B, new PartnerContent()))); } [Fact] @@ -138,7 +136,7 @@ public void IntegrationAccountPartner_CreateOrUpdate_OK() Content = this.Partner }; - var result = client.Partners.CreateOrUpdate(ResourceGroupName, "IntegrationAccountName", "PartnerName", new IntegrationAccountPartner(PartnerType.B2B, new PartnerContent())); + var result = client.IntegrationAccountPartners.CreateOrUpdate(Constants.DefaultResourceGroup, "IntegrationAccountName", "PartnerName", new IntegrationAccountPartner(PartnerType.B2B, new PartnerContent())); // Validates request. handler.Request.ValidateAuthorizationHeader(); @@ -160,7 +158,7 @@ public void IntegrationAccountPartner_CreateOrUpdate_Created() Content = this.Partner }; - var result = client.Partners.CreateOrUpdate(ResourceGroupName, "IntegrationAccountName", "PartnerName", new IntegrationAccountPartner(PartnerType.B2B, new PartnerContent())); + var result = client.IntegrationAccountPartners.CreateOrUpdate(Constants.DefaultResourceGroup, "IntegrationAccountName", "PartnerName", new IntegrationAccountPartner(PartnerType.B2B, new PartnerContent())); // Validates request. handler.Request.ValidateAuthorizationHeader(); @@ -178,13 +176,14 @@ public void IntegrationAccountPartner_Delete_Exception() handler.Response = new HttpResponseMessage { - StatusCode = HttpStatusCode.NotFound + StatusCode = HttpStatusCode.NotFound, + Content = new StringContent(string.Empty) }; - Assert.Throws(() => client.Partners.Delete(null, "IntegrationAccountName", "PartnerName")); - Assert.Throws(() => client.Partners.Delete(ResourceGroupName, null, "PartnerName")); - Assert.Throws(() => client.Partners.Delete(ResourceGroupName, "IntegrationAccountName", null)); - Assert.Throws(() => client.Partners.Delete(ResourceGroupName, "IntegrationAccountName", "PartnerName")); + Assert.Throws(() => client.IntegrationAccountPartners.Delete(null, "IntegrationAccountName", "PartnerName")); + Assert.Throws(() => client.IntegrationAccountPartners.Delete(Constants.DefaultResourceGroup, null, "PartnerName")); + Assert.Throws(() => client.IntegrationAccountPartners.Delete(Constants.DefaultResourceGroup, "IntegrationAccountName", null)); + Assert.Throws(() => client.IntegrationAccountPartners.Delete(Constants.DefaultResourceGroup, "IntegrationAccountName", "PartnerName")); } [Fact] @@ -198,7 +197,7 @@ public void IntegrationAccountPartner_Delete_OK() StatusCode = HttpStatusCode.OK }; - client.Partners.Delete(ResourceGroupName, "IntegrationAccountName", "PartnerName"); + client.IntegrationAccountPartners.Delete(Constants.DefaultResourceGroup, "IntegrationAccountName", "PartnerName"); // Validates request. handler.Request.ValidateAuthorizationHeader(); @@ -216,7 +215,7 @@ public void IntegrationAccountPartner_Delete_NoContent() StatusCode = HttpStatusCode.NoContent }; - client.Partners.Delete(ResourceGroupName, "IntegrationAccountName", "PartnerName"); + client.IntegrationAccountPartners.Delete(Constants.DefaultResourceGroup, "IntegrationAccountName", "PartnerName"); // Validates request. handler.Request.ValidateAuthorizationHeader(); @@ -235,10 +234,10 @@ public void IntegrationAccountPartner_Get_Exception() Content = new StringContent(string.Empty) }; - Assert.Throws(() => client.Partners.Get(null, "IntegrationAccountName", "PartnerName")); - Assert.Throws(() => client.Partners.Get(ResourceGroupName, null, "PartnerName")); - Assert.Throws(() => client.Partners.Get(ResourceGroupName, "IntegrationAccountName", null)); - Assert.Throws(() => client.Partners.Get(ResourceGroupName, "IntegrationAccountName", "PartnerName")); + Assert.Throws(() => client.IntegrationAccountPartners.Get(null, "IntegrationAccountName", "PartnerName")); + Assert.Throws(() => client.IntegrationAccountPartners.Get(Constants.DefaultResourceGroup, null, "PartnerName")); + Assert.Throws(() => client.IntegrationAccountPartners.Get(Constants.DefaultResourceGroup, "IntegrationAccountName", null)); + Assert.Throws(() => client.IntegrationAccountPartners.Get(Constants.DefaultResourceGroup, "IntegrationAccountName", "PartnerName")); } [Fact] @@ -253,7 +252,7 @@ public void IntegrationAccountPartner_Get_OK() Content = this.Partner }; - var result = client.Partners.Get(ResourceGroupName, "IntegrationAccountName", "PartnerName"); + var result = client.IntegrationAccountPartners.Get(Constants.DefaultResourceGroup, "IntegrationAccountName", "PartnerName"); // Validates request. handler.Request.ValidateAuthorizationHeader(); @@ -265,7 +264,7 @@ public void IntegrationAccountPartner_Get_OK() private void ValidatePartnerList(IPage result) { - Assert.Equal(1, result.Count()); + Assert.Single(result); this.ValidatePartner(result.First()); Assert.Equal(Constants.NextPageLink, result.NextPageLink); } diff --git a/src/SDKs/Logic/Logic.Tests/InMemoryTests/IntegrationAccountSchemaInMemoryTests.cs b/src/SDKs/Logic/Logic.Tests/InMemoryTests/IntegrationAccountSchema.InMemoryTests.cs similarity index 69% rename from src/SDKs/Logic/Logic.Tests/InMemoryTests/IntegrationAccountSchemaInMemoryTests.cs rename to src/SDKs/Logic/Logic.Tests/InMemoryTests/IntegrationAccountSchema.InMemoryTests.cs index 5f70011f62e62..2b3d27e7adb2b 100644 --- a/src/SDKs/Logic/Logic.Tests/InMemoryTests/IntegrationAccountSchemaInMemoryTests.cs +++ b/src/SDKs/Logic/Logic.Tests/InMemoryTests/IntegrationAccountSchema.InMemoryTests.cs @@ -17,21 +17,20 @@ namespace Test.Azure.Management.Logic public class IntegrationAccountSchemaInMemoryTests : InMemoryTestsBase { + private StringContent SchemaList { get; set; } + + private StringContent Schema { get; set; } + public IntegrationAccountSchemaInMemoryTests() { var content = File.ReadAllText(@"TestData/IntegrationAccountSchemaResponseContent.json"); - this.SchemaList = new StringContent(string.Format(Constants.ListFormat, - content, Constants.NextPageLink)); + this.SchemaList = new StringContent(string.Format(Constants.ListFormat, content, Constants.NextPageLink)); this.Schema = new StringContent(content); } - private StringContent SchemaList { get; set; } - - private StringContent Schema { get; set; } - [Fact] - public void IntegrationAccountSchema_ListByResourceGroup_Exception() + public void IntegrationAccountSchema_List_Exception() { var handler = new RecordedDelegatingHandler(); var client = this.CreateIntegrationAccountClient(handler); @@ -42,13 +41,12 @@ public void IntegrationAccountSchema_ListByResourceGroup_Exception() Content = new StringContent(string.Empty) }; - Assert.Throws( - () => client.Schemas.ListByIntegrationAccounts(null, "IntegrationAccount")); - Assert.Throws(() => client.Schemas.ListByIntegrationAccounts(ResourceGroupName,"IntegrationAccount")); + Assert.Throws(() => client.IntegrationAccountSchemas.List(null, "IntegrationAccount")); + Assert.Throws(() => client.IntegrationAccountSchemas.List(Constants.DefaultResourceGroup,"IntegrationAccount")); } [Fact] - public void IntegrationAccountSchema_ListByResourceGroup_Success() + public void IntegrationAccountSchema_List_Success() { var handler = new RecordedDelegatingHandler(); var client = this.CreateIntegrationAccountClient(handler); @@ -59,7 +57,7 @@ public void IntegrationAccountSchema_ListByResourceGroup_Success() Content = this.SchemaList }; - var result = client.Schemas.ListByIntegrationAccounts(ResourceGroupName, "IntegrationAccount"); + var result = client.IntegrationAccountSchemas.List(Constants.DefaultResourceGroup, "IntegrationAccount"); // Validates request. handler.Request.ValidateAuthorizationHeader(); @@ -70,7 +68,7 @@ public void IntegrationAccountSchema_ListByResourceGroup_Success() } [Fact] - public void IntegrationAccountSchema_ListByResourceGroupNext_Exception() + public void IntegrationAccountSchema_ListNext_Exception() { var handler = new RecordedDelegatingHandler(); var client = this.CreateIntegrationAccountClient(handler); @@ -81,12 +79,12 @@ public void IntegrationAccountSchema_ListByResourceGroupNext_Exception() Content = new StringContent(string.Empty) }; - Assert.Throws(() => client.Schemas.ListByIntegrationAccountsNext(null)); - Assert.Throws(() => client.Schemas.ListByIntegrationAccountsNext(Constants.NextPageLink)); + Assert.Throws(() => client.IntegrationAccountSchemas.ListNext(null)); + Assert.Throws(() => client.IntegrationAccountSchemas.ListNext(Constants.NextPageLink)); } [Fact] - public void IntegrationAccountSchema_ListByResourceGroupNext_Success() + public void IntegrationAccountSchema_ListNext_Success() { var handler = new RecordedDelegatingHandler(); var client = this.CreateIntegrationAccountClient(handler); @@ -97,7 +95,7 @@ public void IntegrationAccountSchema_ListByResourceGroupNext_Success() Content = this.SchemaList }; - var result = client.Schemas.ListByIntegrationAccountsNext(Constants.NextPageLink); + var result = client.IntegrationAccountSchemas.ListNext(Constants.NextPageLink); // Validates request. handler.Request.ValidateAuthorizationHeader(); @@ -119,11 +117,11 @@ public void IntegrationAccountSchema_CreateOrUpdate_Exception() Content = new StringContent(string.Empty) }; - Assert.Throws(() => client.Schemas.CreateOrUpdate(null, "IntegrationAccountName", "SchemaName", new IntegrationAccountSchema())); - Assert.Throws(() => client.Schemas.CreateOrUpdate(ResourceGroupName, null, "SchemaName", new IntegrationAccountSchema())); - Assert.Throws(() => client.Schemas.CreateOrUpdate(ResourceGroupName, "IntegrationAccountName", null, new IntegrationAccountSchema())); - Assert.Throws(() => client.Schemas.CreateOrUpdate(ResourceGroupName, "IntegrationAccountName", "SchemaName", null)); - Assert.Throws(() => client.Schemas.CreateOrUpdate(ResourceGroupName, "IntegrationAccountName", "SchemaName", new IntegrationAccountSchema())); + Assert.Throws(() => client.IntegrationAccountSchemas.CreateOrUpdate(null, "IntegrationAccountName", "SchemaName", new IntegrationAccountSchema(SchemaType.Xml))); + Assert.Throws(() => client.IntegrationAccountSchemas.CreateOrUpdate(Constants.DefaultResourceGroup, null, "SchemaName", new IntegrationAccountSchema(SchemaType.Xml))); + Assert.Throws(() => client.IntegrationAccountSchemas.CreateOrUpdate(Constants.DefaultResourceGroup, "IntegrationAccountName", null, new IntegrationAccountSchema(SchemaType.Xml))); + Assert.Throws(() => client.IntegrationAccountSchemas.CreateOrUpdate(Constants.DefaultResourceGroup, "IntegrationAccountName", "SchemaName", null)); + Assert.Throws(() => client.IntegrationAccountSchemas.CreateOrUpdate(Constants.DefaultResourceGroup, "IntegrationAccountName", "SchemaName", new IntegrationAccountSchema(SchemaType.Xml))); } [Fact] @@ -138,7 +136,7 @@ public void IntegrationAccountSchema_CreateOrUpdate_OK() Content = this.Schema }; - var schema = client.Schemas.CreateOrUpdate(ResourceGroupName, "IntegrationAccountName", "SchemaName", new IntegrationAccountSchema()); + var schema = client.IntegrationAccountSchemas.CreateOrUpdate(Constants.DefaultResourceGroup, "IntegrationAccountName", "SchemaName", new IntegrationAccountSchema(SchemaType.Xml)); // Validates request. handler.Request.ValidateAuthorizationHeader(); @@ -160,7 +158,7 @@ public void IntegrationAccountSchema_CreateOrUpdate_Created() Content = this.Schema }; - var schema = client.Schemas.CreateOrUpdate(ResourceGroupName, "IntegrationAccountName", "SchemaName", new IntegrationAccountSchema()); + var schema = client.IntegrationAccountSchemas.CreateOrUpdate(Constants.DefaultResourceGroup, "IntegrationAccountName", "SchemaName", new IntegrationAccountSchema(SchemaType.Xml)); // Validates request. handler.Request.ValidateAuthorizationHeader(); @@ -178,13 +176,14 @@ public void IntegrationAccountSchema_Delete_Exception() handler.Response = new HttpResponseMessage { - StatusCode = HttpStatusCode.NotFound + StatusCode = HttpStatusCode.NotFound, + Content = new StringContent(string.Empty) }; - Assert.Throws(() => client.Schemas.Delete(null, "IntegrationAccountName","SchemaName")); - Assert.Throws(() => client.Schemas.Delete(ResourceGroupName, null, "SchemaName")); - Assert.Throws(() => client.Schemas.Delete(ResourceGroupName, "IntegrationAccountName", null)); - Assert.Throws(() => client.Schemas.Delete(ResourceGroupName, "IntegrationAccountName","SchemaName")); + Assert.Throws(() => client.IntegrationAccountSchemas.Delete(null, "IntegrationAccountName","SchemaName")); + Assert.Throws(() => client.IntegrationAccountSchemas.Delete(Constants.DefaultResourceGroup, null, "SchemaName")); + Assert.Throws(() => client.IntegrationAccountSchemas.Delete(Constants.DefaultResourceGroup, "IntegrationAccountName", null)); + Assert.Throws(() => client.IntegrationAccountSchemas.Delete(Constants.DefaultResourceGroup, "IntegrationAccountName","SchemaName")); } [Fact] @@ -198,7 +197,7 @@ public void IntegrationAccountSchema_Delete_OK() StatusCode = HttpStatusCode.OK }; - client.Schemas.Delete(ResourceGroupName, "IntegrationAccountName", "SchemaName"); + client.IntegrationAccountSchemas.Delete(Constants.DefaultResourceGroup, "IntegrationAccountName", "SchemaName"); // Validates request. handler.Request.ValidateAuthorizationHeader(); @@ -216,7 +215,7 @@ public void IntegrationAccountSchema_Delete_NoContent() StatusCode = HttpStatusCode.NoContent }; - client.Schemas.Delete(ResourceGroupName, "IntegrationAccountName","SchemaName"); + client.IntegrationAccountSchemas.Delete(Constants.DefaultResourceGroup, "IntegrationAccountName","SchemaName"); // Validates request. handler.Request.ValidateAuthorizationHeader(); @@ -235,10 +234,10 @@ public void IntegrationAccountSchema_Get_Exception() Content = new StringContent(string.Empty) }; - Assert.Throws(() => client.Schemas.Get(null, "IntegrationAccountName", "SchemaName")); - Assert.Throws(() => client.Schemas.Get(ResourceGroupName, null, "SchemaName")); - Assert.Throws(() => client.Schemas.Get(ResourceGroupName, "IntegrationAccountName", null)); - Assert.Throws(() => client.Schemas.Get(ResourceGroupName, "IntegrationAccountName", "SchemaName")); + Assert.Throws(() => client.IntegrationAccountSchemas.Get(null, "IntegrationAccountName", "SchemaName")); + Assert.Throws(() => client.IntegrationAccountSchemas.Get(Constants.DefaultResourceGroup, null, "SchemaName")); + Assert.Throws(() => client.IntegrationAccountSchemas.Get(Constants.DefaultResourceGroup, "IntegrationAccountName", null)); + Assert.Throws(() => client.IntegrationAccountSchemas.Get(Constants.DefaultResourceGroup, "IntegrationAccountName", "SchemaName")); } [Fact] @@ -253,7 +252,7 @@ public void IntegrationAccountSchema_Get_OK() Content = this.Schema }; - var schema = client.Schemas.Get(ResourceGroupName, "IntegrationAccountName", "SchemaName"); + var schema = client.IntegrationAccountSchemas.Get(Constants.DefaultResourceGroup, "IntegrationAccountName", "SchemaName"); // Validates request. handler.Request.ValidateAuthorizationHeader(); @@ -265,7 +264,7 @@ public void IntegrationAccountSchema_Get_OK() private void ValidateSchemaList(IPage result) { - Assert.Equal(1, result.Count()); + Assert.Single(result); this.ValidateSchema(result.First()); Assert.Equal(Constants.NextPageLink, result.NextPageLink); } diff --git a/src/SDKs/Logic/Logic.Tests/InMemoryTests/IntegrationAccountSessionInMemoryTests.cs b/src/SDKs/Logic/Logic.Tests/InMemoryTests/IntegrationAccountSession.InMemoryTests.cs similarity index 73% rename from src/SDKs/Logic/Logic.Tests/InMemoryTests/IntegrationAccountSessionInMemoryTests.cs rename to src/SDKs/Logic/Logic.Tests/InMemoryTests/IntegrationAccountSession.InMemoryTests.cs index bc96e38531c92..d286e86c22544 100644 --- a/src/SDKs/Logic/Logic.Tests/InMemoryTests/IntegrationAccountSessionInMemoryTests.cs +++ b/src/SDKs/Logic/Logic.Tests/InMemoryTests/IntegrationAccountSession.InMemoryTests.cs @@ -16,6 +16,10 @@ namespace Test.Azure.Management.Logic public class IntegrationAccountSessionInMemoryTests : InMemoryTestsBase { + private StringContent SessionList { get; set; } + + private StringContent Session { get; set; } + public IntegrationAccountSessionInMemoryTests() { var content = File.ReadAllText(path: @"TestData/IntegrationAccountSessionResponseContent.json"); @@ -24,12 +28,8 @@ public IntegrationAccountSessionInMemoryTests() this.Session = new StringContent(content); } - private StringContent SessionList { get; set; } - - private StringContent Session { get; set; } - [Fact] - public void IntegrationAccountSession_ListByResourceGroup_Exception() + public void IntegrationAccountSession_List_Exception() { var handler = new RecordedDelegatingHandler(); var client = this.CreateIntegrationAccountClient(handler); @@ -40,12 +40,12 @@ public void IntegrationAccountSession_ListByResourceGroup_Exception() Content = new StringContent(string.Empty) }; - Assert.Throws(() => client.Sessions.ListByIntegrationAccounts(null, "IntegrationAccount")); - Assert.Throws(() => client.Sessions.ListByIntegrationAccounts(ResourceGroupName, "IntegrationAccount")); + Assert.Throws(() => client.IntegrationAccountSessions.List(null, "IntegrationAccount")); + Assert.Throws(() => client.IntegrationAccountSessions.List(Constants.DefaultResourceGroup, "IntegrationAccount")); } [Fact] - public void IntegrationAccountSession_ListByResourceGroup_Success() + public void IntegrationAccountSession_List_Success() { var handler = new RecordedDelegatingHandler(); var client = this.CreateIntegrationAccountClient(handler); @@ -56,7 +56,7 @@ public void IntegrationAccountSession_ListByResourceGroup_Success() Content = this.SessionList }; - var result = client.Sessions.ListByIntegrationAccounts(resourceGroupName: ResourceGroupName, integrationAccountName: "IntegrationAccount"); + var result = client.IntegrationAccountSessions.List(resourceGroupName: Constants.DefaultResourceGroup, integrationAccountName: "IntegrationAccount"); handler.Request.ValidateAuthorizationHeader(); handler.Request.ValidateMethod(HttpMethod.Get); @@ -65,7 +65,7 @@ public void IntegrationAccountSession_ListByResourceGroup_Success() } [Fact] - public void IntegrationAccountSession_ListByResourceGroupNext_Exception() + public void IntegrationAccountSession_ListNext_Exception() { var handler = new RecordedDelegatingHandler(); var client = this.CreateIntegrationAccountClient(handler); @@ -76,12 +76,12 @@ public void IntegrationAccountSession_ListByResourceGroupNext_Exception() Content = new StringContent(string.Empty) }; - Assert.Throws(() => client.Sessions.ListByIntegrationAccountsNext(nextPageLink: null)); - Assert.Throws(() => client.Sessions.ListByIntegrationAccountsNext(nextPageLink: Constants.NextPageLink)); + Assert.Throws(() => client.IntegrationAccountSessions.ListNext(nextPageLink: null)); + Assert.Throws(() => client.IntegrationAccountSessions.ListNext(nextPageLink: Constants.NextPageLink)); } [Fact] - public void IntegrationAccountSession_ListByResourceGroupNext_Success() + public void IntegrationAccountSession_ListNext_Success() { var handler = new RecordedDelegatingHandler(); var client = this.CreateIntegrationAccountClient(handler); @@ -92,7 +92,7 @@ public void IntegrationAccountSession_ListByResourceGroupNext_Success() Content = this.SessionList }; - var result = client.Sessions.ListByIntegrationAccountsNext(nextPageLink: Constants.NextPageLink); + var result = client.IntegrationAccountSessions.ListNext(nextPageLink: Constants.NextPageLink); handler.Request.ValidateAuthorizationHeader(); handler.Request.ValidateMethod(HttpMethod.Get); @@ -112,28 +112,28 @@ public void IntegrationAccountSession_CreateOrUpdate_Exception() Content = new StringContent(string.Empty) }; - Assert.Throws(() => client.Sessions.CreateOrUpdate( + Assert.Throws(() => client.IntegrationAccountSessions.CreateOrUpdate( resourceGroupName: null, integrationAccountName: "IntegrationAccountName", sessionName: "SessionName", session: new IntegrationAccountSession())); - Assert.Throws(() => client.Sessions.CreateOrUpdate( - resourceGroupName: ResourceGroupName, + Assert.Throws(() => client.IntegrationAccountSessions.CreateOrUpdate( + resourceGroupName: Constants.DefaultResourceGroup, integrationAccountName: null, sessionName: "SessionName", session: new IntegrationAccountSession())); - Assert.Throws(() => client.Sessions.CreateOrUpdate( - resourceGroupName: ResourceGroupName, + Assert.Throws(() => client.IntegrationAccountSessions.CreateOrUpdate( + resourceGroupName: Constants.DefaultResourceGroup, integrationAccountName: "IntegrationAccountName", sessionName: null, session: new IntegrationAccountSession())); - Assert.Throws(() => client.Sessions.CreateOrUpdate( - resourceGroupName: ResourceGroupName, + Assert.Throws(() => client.IntegrationAccountSessions.CreateOrUpdate( + resourceGroupName: Constants.DefaultResourceGroup, integrationAccountName: "IntegrationAccountName", sessionName: "SessionName", session: null)); - Assert.Throws(() => client.Sessions.CreateOrUpdate( - resourceGroupName: ResourceGroupName, + Assert.Throws(() => client.IntegrationAccountSessions.CreateOrUpdate( + resourceGroupName: Constants.DefaultResourceGroup, integrationAccountName: "IntegrationAccountName", sessionName: "SessionName", session: new IntegrationAccountSession())); @@ -151,8 +151,8 @@ public void IntegrationAccountSession_CreateOrUpdate_OK() Content = this.Session }; - var result = client.Sessions.CreateOrUpdate( - resourceGroupName: ResourceGroupName, + var result = client.IntegrationAccountSessions.CreateOrUpdate( + resourceGroupName: Constants.DefaultResourceGroup, integrationAccountName: "IntegrationAccountName", sessionName: "SessionName", session: new IntegrationAccountSession()); @@ -175,8 +175,8 @@ public void IntegrationAccountSession_CreateOrUpdate_Created() Content = this.Session }; - var result = client.Sessions.CreateOrUpdate( - resourceGroupName: ResourceGroupName, + var result = client.IntegrationAccountSessions.CreateOrUpdate( + resourceGroupName: Constants.DefaultResourceGroup, integrationAccountName: "IntegrationAccountName", sessionName: "SessionName", session: new IntegrationAccountSession()); @@ -193,16 +193,16 @@ public void IntegrationAccountSession_Delete_Exception() var handler = new RecordedDelegatingHandler(); var client = this.CreateIntegrationAccountClient(handler); - Assert.Throws(() => client.Sessions.Delete( + Assert.Throws(() => client.IntegrationAccountSessions.Delete( resourceGroupName: null, integrationAccountName: "IntegrationAccountName", sessionName: "SessionName")); - Assert.Throws(() => client.Sessions.Delete( - resourceGroupName: ResourceGroupName, + Assert.Throws(() => client.IntegrationAccountSessions.Delete( + resourceGroupName: Constants.DefaultResourceGroup, integrationAccountName: null, sessionName: "SessionName")); - Assert.Throws(() => client.Sessions.Delete( - resourceGroupName: ResourceGroupName, + Assert.Throws(() => client.IntegrationAccountSessions.Delete( + resourceGroupName: Constants.DefaultResourceGroup, integrationAccountName: "IntegrationAccountName", sessionName: null)); } @@ -218,8 +218,8 @@ public void IntegrationAccountSession_Delete_OK() StatusCode = HttpStatusCode.OK }; - client.Sessions.Delete( - resourceGroupName: ResourceGroupName, + client.IntegrationAccountSessions.Delete( + resourceGroupName: Constants.DefaultResourceGroup, integrationAccountName: "IntegrationAccountName", sessionName: "SessionName"); @@ -238,8 +238,8 @@ public void IntegrationAccountSession_Delete_NoContent() StatusCode = HttpStatusCode.NoContent }; - client.Sessions.Delete( - resourceGroupName: ResourceGroupName, + client.IntegrationAccountSessions.Delete( + resourceGroupName: Constants.DefaultResourceGroup, integrationAccountName: "IntegrationAccountName", sessionName: "SessionName"); @@ -253,16 +253,16 @@ public void IntegrationAccountSession_Get_Exception() var handler = new RecordedDelegatingHandler(); var client = this.CreateIntegrationAccountClient(handler); - Assert.Throws(() => client.Sessions.Get( + Assert.Throws(() => client.IntegrationAccountSessions.Get( resourceGroupName: null, integrationAccountName: "IntegrationAccountName", sessionName: "SessionName")); - Assert.Throws(() => client.Sessions.Get( - resourceGroupName: ResourceGroupName, + Assert.Throws(() => client.IntegrationAccountSessions.Get( + resourceGroupName: Constants.DefaultResourceGroup, integrationAccountName: null, sessionName: "SessionName")); - Assert.Throws(() => client.Sessions.Get( - resourceGroupName: ResourceGroupName, + Assert.Throws(() => client.IntegrationAccountSessions.Get( + resourceGroupName: Constants.DefaultResourceGroup, integrationAccountName: "IntegrationAccountName", sessionName: null)); } @@ -279,8 +279,8 @@ public void IntegrationAccountSession_Get_OK() Content = this.Session }; - var result = client.Sessions.Get( - resourceGroupName: ResourceGroupName, + var result = client.IntegrationAccountSessions.Get( + resourceGroupName: Constants.DefaultResourceGroup, integrationAccountName: "IntegrationAccountName", sessionName: "SessionName"); @@ -292,7 +292,7 @@ public void IntegrationAccountSession_Get_OK() private void ValidateSessionList(IPage result) { - Assert.Equal(1, result.Count()); + Assert.Single(result); this.ValidateSession(result.First()); Assert.Equal(Constants.NextPageLink, result.NextPageLink); } diff --git a/src/SDKs/Logic/Logic.Tests/InMemoryTests/WorkflowRunActions.InMemoryTests.cs b/src/SDKs/Logic/Logic.Tests/InMemoryTests/WorkflowRunActions.InMemoryTests.cs index 6360372bd8f15..bf9dfd8e1d8db 100644 --- a/src/SDKs/Logic/Logic.Tests/InMemoryTests/WorkflowRunActions.InMemoryTests.cs +++ b/src/SDKs/Logic/Logic.Tests/InMemoryTests/WorkflowRunActions.InMemoryTests.cs @@ -95,7 +95,7 @@ public void WorkflowRunActions_List_Exception() handler.Response = new HttpResponseMessage { StatusCode = HttpStatusCode.InternalServerError, - Content = this.Empty + Content = new StringContent(string.Empty) }; Assert.Throws(() => client.WorkflowRunActions.List(null, "wfName", "rName")); @@ -139,7 +139,7 @@ public void WorkflowRunActions_ListNext_Exception() handler.Response = new HttpResponseMessage { StatusCode = HttpStatusCode.InternalServerError, - Content = this.Empty + Content = new StringContent(string.Empty) }; Assert.Throws(() => client.WorkflowRunActions.ListNext(null)); @@ -181,7 +181,7 @@ public void WorkflowRunActions_Get_Exception() handler.Response = new HttpResponseMessage { StatusCode = HttpStatusCode.InternalServerError, - Content = this.Empty + Content = new StringContent(string.Empty) }; Assert.Throws(() => client.WorkflowRunActions.Get(null, "wfName", "rName", "actName")); @@ -305,7 +305,7 @@ private void ValidateRunAction1(WorkflowRunAction action) private void ValidateRunActionListResponse1(IPage page) { - Assert.Equal(1, page.Count()); + Assert.Single(page); Assert.Equal("http://management.azure.com/actionNextLink", page.NextPageLink); this.ValidateRunAction1(page.First()); } diff --git a/src/SDKs/Logic/Logic.Tests/InMemoryTests/WorkflowRuns.InMemoryTests.cs b/src/SDKs/Logic/Logic.Tests/InMemoryTests/WorkflowRuns.InMemoryTests.cs index 656935b542dc3..444162ba2ced6 100644 --- a/src/SDKs/Logic/Logic.Tests/InMemoryTests/WorkflowRuns.InMemoryTests.cs +++ b/src/SDKs/Logic/Logic.Tests/InMemoryTests/WorkflowRuns.InMemoryTests.cs @@ -73,7 +73,7 @@ public void WorkflowRuns_List_Exception() handler.Response = new HttpResponseMessage { StatusCode = HttpStatusCode.InternalServerError, - Content = this.Empty + Content = new StringContent(string.Empty) }; Assert.Throws(() => client.WorkflowRuns.List(null, "wfName")); @@ -116,7 +116,7 @@ public void WorkflowRuns_ListNext_Exception() handler.Response = new HttpResponseMessage { StatusCode = HttpStatusCode.InternalServerError, - Content = this.Empty + Content = new StringContent(string.Empty) }; Assert.Throws(() => client.WorkflowRuns.ListNext(null)); @@ -158,7 +158,7 @@ public void WorkflowRuns_Get_Exception() handler.Response = new HttpResponseMessage { StatusCode = HttpStatusCode.InternalServerError, - Content = this.Empty + Content = new StringContent(string.Empty) }; Assert.Throws(() => client.WorkflowRuns.Get(null, "wfName", "rName")); @@ -202,7 +202,7 @@ public void WorkflowRuns_Cancel_Exception() handler.Response = new HttpResponseMessage { StatusCode = HttpStatusCode.InternalServerError, - Content = this.Empty + Content = new StringContent(string.Empty) }; Assert.Throws(() => client.WorkflowRuns.Cancel(null, "wfName", "rName")); @@ -220,7 +220,7 @@ public void WorkflowRuns_Cancel_OK() handler.Response = new HttpResponseMessage { StatusCode = HttpStatusCode.OK, - Content = this.Empty + Content = new StringContent(string.Empty) }; client.WorkflowRuns.Cancel("rgName", "wfName", "rName"); @@ -270,7 +270,7 @@ private void ValidateRun1(WorkflowRun run) private void ValidateRunListResponse1(IPage page) { - Assert.Equal(1, page.Count()); + Assert.Single(page); Assert.Equal("http://management.azure.com/runNextLink", page.NextPageLink); this.ValidateRun1(page.First()); } diff --git a/src/SDKs/Logic/Logic.Tests/InMemoryTests/WorkflowTriggerHistories.InMemoryTests.cs b/src/SDKs/Logic/Logic.Tests/InMemoryTests/WorkflowTriggerHistories.InMemoryTests.cs index 59b6befab6d0f..aaabe9347d950 100644 --- a/src/SDKs/Logic/Logic.Tests/InMemoryTests/WorkflowTriggerHistories.InMemoryTests.cs +++ b/src/SDKs/Logic/Logic.Tests/InMemoryTests/WorkflowTriggerHistories.InMemoryTests.cs @@ -74,7 +74,7 @@ public void WorkflowTriggerHistories_List_Exception() handler.Response = new HttpResponseMessage { StatusCode = HttpStatusCode.InternalServerError, - Content = this.Empty + Content = new StringContent(string.Empty) }; Assert.Throws(() => client.WorkflowTriggerHistories.List(null, "wfName", "triggerName")); @@ -118,7 +118,7 @@ public void WorkflowTriggerHistories_ListNext_Exception() handler.Response = new HttpResponseMessage { StatusCode = HttpStatusCode.InternalServerError, - Content = this.Empty + Content = new StringContent(string.Empty) }; Assert.Throws(() => client.WorkflowTriggerHistories.ListNext(null)); @@ -160,7 +160,7 @@ public void WorkflowTriggerHistories_Get_Exception() handler.Response = new HttpResponseMessage { StatusCode = HttpStatusCode.InternalServerError, - Content = this.Empty + Content = new StringContent(string.Empty) }; Assert.Throws(() => client.WorkflowTriggerHistories.Get(null, "wfName", "triggerName", "historyName")); @@ -205,7 +205,7 @@ public void WorkflowTriggerHistories_Resubmit_Exception() handler.Response = new HttpResponseMessage { StatusCode = HttpStatusCode.InternalServerError, - Content = this.Empty + Content = new StringContent(string.Empty) }; Assert.Throws(() => client.WorkflowTriggerHistories.Resubmit(null, "wfName", "triggerName", "historyName")); @@ -278,7 +278,7 @@ private void ValidateTriggerHistory1(WorkflowTriggerHistory history) private void ValidateTriggerHistoryListResponse1(IPage page) { - Assert.Equal(1, page.Count()); + Assert.Single(page); Assert.Equal("http://management.azure.com/keyNextLink", page.NextPageLink); this.ValidateTriggerHistory1(page.First()); } diff --git a/src/SDKs/Logic/Logic.Tests/InMemoryTests/WorkflowTriggers.InMemoryTests.cs b/src/SDKs/Logic/Logic.Tests/InMemoryTests/WorkflowTriggers.InMemoryTests.cs index a7344c4b61214..96eb89596e1a1 100644 --- a/src/SDKs/Logic/Logic.Tests/InMemoryTests/WorkflowTriggers.InMemoryTests.cs +++ b/src/SDKs/Logic/Logic.Tests/InMemoryTests/WorkflowTriggers.InMemoryTests.cs @@ -66,7 +66,7 @@ public void WorkflowTriggers_List_Exception() handler.Response = new HttpResponseMessage { StatusCode = HttpStatusCode.InternalServerError, - Content = this.Empty + Content = new StringContent(string.Empty) }; Assert.Throws(() => client.WorkflowTriggers.List(null, "wfName")); @@ -109,7 +109,7 @@ public void WorkflowTriggers_ListNext_Exception() handler.Response = new HttpResponseMessage { StatusCode = HttpStatusCode.InternalServerError, - Content = this.Empty + Content = new StringContent(string.Empty) }; Assert.Throws(() => client.WorkflowTriggers.ListNext(null)); @@ -151,7 +151,7 @@ public void WorkflowTriggers_Get_Exception() handler.Response = new HttpResponseMessage { StatusCode = HttpStatusCode.InternalServerError, - Content = this.Empty + Content = new StringContent(string.Empty) }; Assert.Throws(() => client.WorkflowTriggers.Get(null, "wfName", "triggerName")); @@ -195,7 +195,7 @@ public void WorkflowTriggers_Run_Exception() handler.Response = new HttpResponseMessage { StatusCode = HttpStatusCode.InternalServerError, - Content = this.Empty + Content = new StringContent(string.Empty) }; Assert.Throws(() => client.WorkflowTriggers.Run(null, "wfName", "triggerName")); @@ -213,7 +213,7 @@ public void WorkflowTriggers_Run_OK() handler.Response = new HttpResponseMessage { StatusCode = HttpStatusCode.OK, - Content = this.Empty + Content = new StringContent(string.Empty) }; client.WorkflowTriggers.Run("rgName", "wfName", "triggerName"); @@ -232,7 +232,7 @@ public void WorkflowTriggers_Run_OK_Accepted() handler.Response = new HttpResponseMessage { StatusCode = HttpStatusCode.Accepted, - Content = this.Empty + Content = new StringContent(string.Empty) }; client.WorkflowTriggers.Run("rgName", "wfName", "triggerName"); @@ -251,7 +251,7 @@ public void WorkflowTriggers_Run_OK_NoContent() handler.Response = new HttpResponseMessage { StatusCode = HttpStatusCode.NoContent, - Content = this.Empty + Content = new StringContent(string.Empty) }; client.WorkflowTriggers.Run("rgName", "wfName", "triggerName"); @@ -274,7 +274,7 @@ public void WorkflowTriggers_ListCallbackUrl_Exception() handler.Response = new HttpResponseMessage { StatusCode = HttpStatusCode.InternalServerError, - Content = this.Empty + Content = new StringContent(string.Empty) }; Assert.Throws(() => client.WorkflowTriggers.ListCallbackUrl(null, "wfName", "triggerName")); @@ -365,7 +365,7 @@ private void ValidateTrigger1(WorkflowTrigger trigger) private void ValidateTriggerListResponse1(IPage page) { - Assert.Equal(1, page.Count()); + Assert.Single(page); Assert.Equal("http://management.azure.com/triggerNextLink", page.NextPageLink); this.ValidateTrigger1(page.First()); } diff --git a/src/SDKs/Logic/Logic.Tests/InMemoryTests/WorkflowVersions.InMemoryTests.cs b/src/SDKs/Logic/Logic.Tests/InMemoryTests/WorkflowVersions.InMemoryTests.cs index 9bbf01416cc93..50a7ee1ccc73c 100644 --- a/src/SDKs/Logic/Logic.Tests/InMemoryTests/WorkflowVersions.InMemoryTests.cs +++ b/src/SDKs/Logic/Logic.Tests/InMemoryTests/WorkflowVersions.InMemoryTests.cs @@ -86,11 +86,11 @@ public WorkflowVersionsInMemoryTests() }, 'parameters':{ 'parameter1':{ - 'type': 'string', + 'type': 'String', 'value': 'abc' }, 'parameter2':{ - 'type': 'array', + 'type': 'Array', 'value': [1, 2, 3] } } @@ -156,14 +156,14 @@ public void WorkflowVersions_ListCallbackUrl_Exception() handler.Response = new HttpResponseMessage { StatusCode = HttpStatusCode.InternalServerError, - Content = this.Empty + Content = new StringContent(string.Empty) }; - Assert.Throws(() => client.WorkflowVersions.ListCallbackUrl(null, "wfName", "version", "triggerName")); - Assert.Throws(() => client.WorkflowVersions.ListCallbackUrl("rgName", null, "version", "triggerName")); - Assert.Throws(() => client.WorkflowVersions.ListCallbackUrl("rgName", "wfName", null, "triggerName")); - Assert.Throws(() => client.WorkflowVersions.ListCallbackUrl("rgName", "wfName", "version", null)); - Assert.Throws(() => client.WorkflowVersions.ListCallbackUrl("rgName", "wfName", "version", "triggerName")); + Assert.Throws(() => client.WorkflowVersionTriggers.ListCallbackUrl(null, "wfName", "version", "triggerName")); + Assert.Throws(() => client.WorkflowVersionTriggers.ListCallbackUrl("rgName", null, "version", "triggerName")); + Assert.Throws(() => client.WorkflowVersionTriggers.ListCallbackUrl("rgName", "wfName", null, "triggerName")); + Assert.Throws(() => client.WorkflowVersionTriggers.ListCallbackUrl("rgName", "wfName", "version", null)); + Assert.Throws(() => client.WorkflowVersionTriggers.ListCallbackUrl("rgName", "wfName", "version", "triggerName")); } [Fact] @@ -183,7 +183,7 @@ public void WorkflowVersions_ListCallbackUrl_OK() Content = responseContent, }; - var triggerUrl = client.WorkflowVersions.ListCallbackUrl("rgName", "wfName", "version", "triggerName"); + var triggerUrl = client.WorkflowVersionTriggers.ListCallbackUrl("rgName", "wfName", "version", "triggerName"); // Validates request. handler.Request.ValidateAuthorizationHeader(); diff --git a/src/SDKs/Logic/Logic.Tests/InMemoryTests/Workflows.InMemoryTests.cs b/src/SDKs/Logic/Logic.Tests/InMemoryTests/Workflows.InMemoryTests.cs index df1e08c8ecec0..eebb40712b114 100644 --- a/src/SDKs/Logic/Logic.Tests/InMemoryTests/Workflows.InMemoryTests.cs +++ b/src/SDKs/Logic/Logic.Tests/InMemoryTests/Workflows.InMemoryTests.cs @@ -93,11 +93,11 @@ public WorkflowsInMemoryTests() }, 'parameters':{ 'parameter1':{ - 'type': 'string', + 'type': 'String', 'value': 'abc' }, 'parameter2':{ - 'type': 'array', + 'type': 'Array', 'value': [1, 2, 3] } } @@ -151,6 +151,7 @@ public void Workflows_ListBySubscription_Exception() Assert.Throws(() => client.Workflows.ListBySubscription()); } + [Fact] public void Workflows_ListBySubscription_Success() { var handler = new RecordedDelegatingHandler(); @@ -162,7 +163,7 @@ public void Workflows_ListBySubscription_Success() Content = this.WorkflowList }; - var result = client.Workflows.ListByResourceGroup("rgName"); + var result = client.Workflows.ListBySubscription(); // Validates request. handler.Request.ValidateAuthorizationHeader(); @@ -192,6 +193,7 @@ public void Workflows_ListBySubscriptionNext_Exception() Assert.Throws(() => client.Workflows.ListBySubscriptionNext("http://management.azure.com/nextLink")); } + [Fact] public void Workflows_ListBySubscriptionNext_Success() { var handler = new RecordedDelegatingHandler(); @@ -215,7 +217,7 @@ public void Workflows_ListBySubscriptionNext_Success() #endregion - #region Workflows_ListByResourceGroup + #region Workflows_List [Fact] public void Workflows_ListByResourceGroup_Exception() @@ -257,7 +259,7 @@ public void Workflows_ListByResourceGroup_Success() #endregion - #region Workflows_ListByResourceGroupNext + #region Workflows_ListNext [Fact] public void Workflows_ListByResourceGroupNext_Exception() @@ -275,6 +277,7 @@ public void Workflows_ListByResourceGroupNext_Exception() Assert.Throws(() => client.Workflows.ListByResourceGroupNext("http://management.azure.com/nextLink")); } + [Fact] public void Workflows_ListByResourceGroupNext_Success() { var handler = new RecordedDelegatingHandler(); @@ -374,7 +377,8 @@ public void Workflows_Delete_Exception() handler.Response = new HttpResponseMessage { - StatusCode = HttpStatusCode.NotFound + StatusCode = HttpStatusCode.NotFound, + Content = new StringContent(string.Empty) }; Assert.Throws(() => client.Workflows.Delete(null, "wfName")); @@ -522,7 +526,8 @@ public void Workflows_Disable_Exception() handler.Response = new HttpResponseMessage { - StatusCode = HttpStatusCode.InternalServerError + StatusCode = HttpStatusCode.InternalServerError, + Content = new StringContent(string.Empty) }; Assert.Throws(() => client.Workflows.Disable(null, "wfName")); @@ -560,7 +565,8 @@ public void Workflows_Enable_Exception() handler.Response = new HttpResponseMessage { - StatusCode = HttpStatusCode.InternalServerError + StatusCode = HttpStatusCode.InternalServerError, + Content = new StringContent(string.Empty) }; Assert.Throws(() => client.Workflows.Enable(null, "wfName")); @@ -598,7 +604,8 @@ public void Workflows_RegenerateAccessKey_Exception() handler.Response = new HttpResponseMessage { - StatusCode = HttpStatusCode.InternalServerError + StatusCode = HttpStatusCode.InternalServerError, + Content = new StringContent(string.Empty) }; Assert.Throws(() => client.Workflows.RegenerateAccessKey(null, "wfName", new RegenerateActionParameter())); @@ -637,7 +644,7 @@ public void Workflows_ListSwagger_Exception() handler.Response = new HttpResponseMessage { StatusCode = HttpStatusCode.InternalServerError, - Content = this.Empty + Content = new StringContent(string.Empty) }; Assert.Throws(() => client.Workflows.ListSwagger(null, "wfName")); @@ -654,7 +661,7 @@ public void Workflows_ListSwagger_OK() handler.Response = new HttpResponseMessage { StatusCode = HttpStatusCode.OK, - Content = this.Empty + Content = new StringContent(string.Empty) }; client.Workflows.ListSwagger("rgName", "wfName"); @@ -676,14 +683,15 @@ public void Workflows_Validate_Exception() handler.Response = new HttpResponseMessage { - StatusCode = HttpStatusCode.InternalServerError + StatusCode = HttpStatusCode.InternalServerError, + Content = new StringContent(string.Empty) }; - Assert.Throws(() => client.Workflows.Validate(null, "wfName", "westus", new Workflow())); - Assert.Throws(() => client.Workflows.Validate("rgName", null, "westus", new Workflow())); - Assert.Throws(() => client.Workflows.Validate("rgName", "wfName", null, new Workflow())); - Assert.Throws(() => client.Workflows.Validate("rgName", "wfName", "westus", null)); - Assert.Throws(() => client.Workflows.Validate("rgName", "wfName", "westus", new Workflow())); + Assert.Throws(() => client.Workflows.ValidateByLocation(null, "wfName", "westus", new Workflow())); + Assert.Throws(() => client.Workflows.ValidateByLocation("rgName", null, "westus", new Workflow())); + Assert.Throws(() => client.Workflows.ValidateByLocation("rgName", "wfName", null, new Workflow())); + Assert.Throws(() => client.Workflows.ValidateByLocation("rgName", "wfName", "westus", null)); + Assert.Throws(() => client.Workflows.ValidateByLocation("rgName", "wfName", "westus", new Workflow())); } [Fact] @@ -697,7 +705,7 @@ public void Workflows_Validate_OK() StatusCode = HttpStatusCode.OK }; - client.Workflows.Validate("rgName", "wfName", "westus", new Workflow()); + client.Workflows.ValidateByLocation("rgName", "wfName", "westus", new Workflow()); // Validates requests. handler.Request.ValidateAuthorizationHeader(); @@ -790,7 +798,7 @@ private void ValidateWorkflow1(Workflow workflow) private void ValidateWorkflowList1(IPage result) { - Assert.Equal(1, result.Count()); + Assert.Single(result); this.ValidateWorkflow1(result.First()); Assert.Equal("http://workflowlist1nextlink", result.NextPageLink); } diff --git a/src/SDKs/Logic/Logic.Tests/Logic.Tests.csproj b/src/SDKs/Logic/Logic.Tests/Logic.Tests.csproj index 176d92797f7d4..0172a0fc0a1f7 100644 --- a/src/SDKs/Logic/Logic.Tests/Logic.Tests.csproj +++ b/src/SDKs/Logic/Logic.Tests/Logic.Tests.csproj @@ -5,10 +5,12 @@ Logic.Tests Class Library true Logic.Tests + + + + true + - @@ -27,4 +29,16 @@ PreserveNewest + + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + diff --git a/src/SDKs/Logic/Logic.Tests/ScenarioTests/IntegrationAccount.ScenarioTests.cs b/src/SDKs/Logic/Logic.Tests/ScenarioTests/IntegrationAccount.ScenarioTests.cs index 6d341e04bd3d4..7e13875289d84 100644 --- a/src/SDKs/Logic/Logic.Tests/ScenarioTests/IntegrationAccount.ScenarioTests.cs +++ b/src/SDKs/Logic/Logic.Tests/ScenarioTests/IntegrationAccount.ScenarioTests.cs @@ -4,251 +4,188 @@ namespace Test.Azure.Management.Logic { - using System; - using System.Collections.Generic; using System.Linq; using Microsoft.Azure.Management.Logic; using Microsoft.Azure.Management.Logic.Models; + using Microsoft.Rest.Azure; using Microsoft.Rest.ClientRuntime.Azure.TestFramework; - using Newtonsoft.Json.Linq; using Xunit; - /// - /// Scenario tests for the integration accounts. - /// [Collection("IntegrationAccountScenarioTests")] public class IntegrationAccountScenarioTests : ScenarioTestsBase - { - /// - /// Tests the create and delete operations of the integration account. - /// - [Fact(Skip = "After upgrade to vs2017, starts failing. Needs investigation")] - public void CreateAndDeleteIntegrationAccount() + { + [Fact] + public void IntegrationAccounts_Create_OK() { - using (MockContext context = MockContext.Start(this.testClassName)) + using (var context = MockContext.Start(this.TestClassName)) { - string integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); - var client = context.GetServiceClient(); - // Create a IntegrationAccount - var createdAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = this.CreateIntegrationAccount(integrationAccountName); + var createdIntegrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, integrationAccountName, - CreateIntegrationAccountInstance(integrationAccountName)); + integrationAccount); - // Get the IntegrationAccount and verify the content - Assert.Equal(createdAccount.Name, integrationAccountName); + this.ValidateIntegrationAccount(integrationAccount, createdIntegrationAccount); - // Delete the IntegrationAccount client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); - } } - /// - /// Tests the create, update and delete operations of the integration account. - /// [Fact] - public void CreateAndUpdateIntegrationAccount() + public void IntegrationAccounts_Get_OK() { - using (MockContext context = MockContext.Start(this.testClassName)) + using (var context = MockContext.Start(this.TestClassName)) { - string integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); - var client = context.GetServiceClient(); - - // Create a IntegrationAccount - var createdAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = this.CreateIntegrationAccount(integrationAccountName); + var createdIntegrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, integrationAccountName, - CreateIntegrationAccountInstance(integrationAccountName)); + integrationAccount); - // Get the IntegrationAccount and verify the content - Assert.NotNull(createdAccount); - Assert.Equal(createdAccount.Name, integrationAccountName); + var retrievedIntegrationAccount = client.IntegrationAccounts.Get(Constants.DefaultResourceGroup, integrationAccountName); - var updatedAccount = client.IntegrationAccounts.CreateOrUpdate( - resourceGroupName: Constants.DefaultResourceGroup, - integrationAccountName: integrationAccountName, - integrationAccount: new IntegrationAccount - { - Location = Constants.DefaultLocation, - Sku = new IntegrationAccountSku() - { - Name = IntegrationAccountSkuName.Standard - }, - Properties = new JObject() - }); + this.ValidateIntegrationAccount(integrationAccount, retrievedIntegrationAccount); - Assert.NotNull(updatedAccount); - // Delete the IntegrationAccount client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); - } } - /// - /// Tests the create and get(by account name) operations of the integration account. - /// - [Fact(Skip = "After upgrade to vs2017, starts failing. Needs investigation")] - public void CreateAndGetIntegrationAccountByName() + [Fact] + public void IntegrationAccounts_List_OK() { - using (MockContext context = MockContext.Start(this.testClassName)) + using (var context = MockContext.Start(this.TestClassName)) { - string integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); - var client = context.GetServiceClient(); - - // Create a IntegrationAccount - var createdAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, - integrationAccountName, - CreateIntegrationAccountInstance(integrationAccountName)); - Assert.NotNull(createdAccount); - - // Get the IntegrationAccount and verify the content - var getAccount = client.IntegrationAccounts.Get(Constants.DefaultResourceGroup, createdAccount.Name); - Assert.Equal(createdAccount.Name, getAccount.Name); - - // Delete the IntegrationAccount - client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); - + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var integrationAccountName1 = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount1 = this.CreateIntegrationAccount(integrationAccountName1); + var createdIntegrationAccount1 = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName1, + integrationAccount1); + + var integrationAccountName2 = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount2 = this.CreateIntegrationAccount(integrationAccountName2); + var createdIntegrationAccount2 = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName2, + integrationAccount2); + + var integrationAccountName3 = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount3 = this.CreateIntegrationAccount(integrationAccountName3); + var createdIntegrationAccount3 = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName3, + integrationAccount3); + + var integrationAccounts = client.IntegrationAccounts.ListByResourceGroup(Constants.DefaultResourceGroup); + + Assert.Equal(3, integrationAccounts.Count()); + + client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName1); + client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName2); + client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName3); } } - /// - /// Tests the create and list (by subscription name) operations of the integration account. - /// [Fact] - public void ListIntegrationAccountBySubscription() + public void IntegrationAccounts_ListBySubscription_OK() { - using (MockContext context = MockContext.Start(this.testClassName)) + using (var context = MockContext.Start(this.TestClassName)) { - string integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); - var client = context.GetServiceClient(); - - // Create a IntegrationAccount - var createdAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = this.CreateIntegrationAccount(integrationAccountName); + var createdIntegrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, integrationAccountName, - CreateIntegrationAccountInstance(integrationAccountName)); - Assert.NotNull(createdAccount); + integrationAccount); - // Get the IntegrationAccount and verify the content - var accounts = client.IntegrationAccounts.ListBySubscription(); - Assert.True(accounts.Any()); + var integrationAccounts = client.IntegrationAccounts.ListBySubscription(); - // Delete the IntegrationAccount - client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); + Assert.NotEmpty(integrationAccounts); + client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); } } - /// - /// Tests the create and list (by resource group name) operations of the integration account. - /// - [Fact(Skip = "After upgrade to vs2017, starts failing. Needs investigation")] - public void ListIntegrationAccountByResourceGroup() + [Fact] + public void IntegrationAccounts_Update_OK() { - using (MockContext context = MockContext.Start(this.testClassName)) + using (var context = MockContext.Start(this.TestClassName)) { - string integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); - var client = context.GetServiceClient(); - - // Create a IntegrationAccount + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = this.CreateIntegrationAccount(integrationAccountName); + integrationAccount.Sku.Name = IntegrationAccountSkuName.Basic; var createdAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, integrationAccountName, - CreateIntegrationAccountInstance(integrationAccountName)); + integrationAccount); - // Get the IntegrationAccount and verify the content - var accounts = client.IntegrationAccounts.ListByResourceGroup(Constants.DefaultResourceGroup); + var newIntegrationAccount = this.CreateIntegrationAccount(integrationAccountName); + newIntegrationAccount.Sku.Name = IntegrationAccountSkuName.Standard; - Assert.True(accounts.Any()); + var updatedIntegrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + newIntegrationAccount); - // Delete the IntegrationAccount - client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); + this.ValidateIntegrationAccount(newIntegrationAccount, updatedIntegrationAccount); + client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); } } - /// - /// Tests the create and update (by account name) operations of the integration account. - /// - [Fact(Skip = "After upgrade to vs2017, starts failing. Needs investigation")] - public void UpdateIntegrationAccount() + [Fact] + public void IntegrationAccounts_Delete_OK() { - using (MockContext context = MockContext.Start(this.testClassName)) + using (var context = MockContext.Start(this.TestClassName)) { - string integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); - var client = context.GetServiceClient(); - - // Create a IntegrationAccount - var createdAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = this.CreateIntegrationAccount(integrationAccountName); + var createdIntegrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, integrationAccountName, - CreateIntegrationAccountInstance(integrationAccountName)); - - // Get the IntegrationAccount and verify the content - Assert.NotNull(createdAccount); - Assert.Equal(createdAccount.Name, integrationAccountName); + integrationAccount); - IDictionary tags = new Dictionary(); - tags.Add("IntegrationAccount", integrationAccountName); - - //Only the tags property can be patched - var updatedAccount = client.IntegrationAccounts.Update( - resourceGroupName: Constants.DefaultResourceGroup, - integrationAccountName: integrationAccountName, - integrationAccount: new IntegrationAccount - { - Tags = tags - }); - - Assert.NotNull(updatedAccount); - // Delete the IntegrationAccount client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); - + Assert.Throws(() => client.IntegrationAccounts.Get(Constants.DefaultResourceGroup, integrationAccountName)); } } - /// - /// Tests the integartion account callback URL. - /// - [Fact(Skip = "After upgrade to vs2017, starts failing. Needs investigation")] - public void ListIntegrationAccountCallbackUrl() + [Fact] + public void IntegrationAccounts_ListContentCallbackUrl_OK() { - using (MockContext context = MockContext.Start(this.testClassName)) + using (var context = MockContext.Start(this.TestClassName)) { - string integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); - var client = context.GetServiceClient(); - - // Create a IntegrationAccount - var createdAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = this.CreateIntegrationAccount(integrationAccountName); + var createdIntegrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, integrationAccountName, - CreateIntegrationAccountInstance(integrationAccountName)); - - // Get the IntegrationAccount and verify the content - var callbackUrl1 = client.IntegrationAccounts.GetCallbackUrl(Constants.DefaultResourceGroup, - integrationAccountName, new GetCallbackUrlParameters()); + integrationAccount); - Assert.NotNull(callbackUrl1); - - var callbackUrl2 = client.IntegrationAccounts.GetCallbackUrl(Constants.DefaultResourceGroup, - integrationAccountName, new GetCallbackUrlParameters()); - - Assert.NotNull(callbackUrl2); - - var callbackUrl3 = client.IntegrationAccounts.GetCallbackUrl(Constants.DefaultResourceGroup, - integrationAccountName, new GetCallbackUrlParameters(DateTime.Today.AddDays(10),KeyType.Primary)); - - Assert.NotNull(callbackUrl3); - - var callbackUrl4= client.IntegrationAccounts.GetCallbackUrl(Constants.DefaultResourceGroup, - integrationAccountName, new GetCallbackUrlParameters(keyType: KeyType.Primary)); - - Assert.NotNull(callbackUrl4); - - var callbackUrl5 = client.IntegrationAccounts.GetCallbackUrl(Constants.DefaultResourceGroup, - integrationAccountName, new GetCallbackUrlParameters(notAfter: DateTime.Today.AddDays(10))); + var contentCallbackUrl = client.IntegrationAccounts.ListCallbackUrl(Constants.DefaultResourceGroup, + integrationAccountName, + new GetCallbackUrlParameters + { + KeyType = "Primary" + }); - Assert.NotNull(callbackUrl5); + Assert.NotEmpty(contentCallbackUrl.Value); - // Delete the IntegrationAccount client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); } } + private void ValidateIntegrationAccount(IntegrationAccount expected, IntegrationAccount actual) + { + Assert.Equal(expected.Name, actual.Name); + Assert.Equal(expected.Location, actual.Location); + Assert.Equal(expected.Sku.Name, actual.Sku.Name); + } } } \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/ScenarioTests/IntegrationAccountAgreements.ScenarioTests.cs b/src/SDKs/Logic/Logic.Tests/ScenarioTests/IntegrationAccountAgreements.ScenarioTests.cs index ea0022c1028c4..8ac579eee03b9 100644 --- a/src/SDKs/Logic/Logic.Tests/ScenarioTests/IntegrationAccountAgreements.ScenarioTests.cs +++ b/src/SDKs/Logic/Logic.Tests/ScenarioTests/IntegrationAccountAgreements.ScenarioTests.cs @@ -4,313 +4,321 @@ namespace Test.Azure.Management.Logic { - using System.Collections.Generic; - using System.Linq; - using Microsoft.Rest.ClientRuntime.Azure.TestFramework; - using Xunit; using Microsoft.Azure.Management.Logic; using Microsoft.Azure.Management.Logic.Models; using Microsoft.Rest.Azure; - using Newtonsoft.Json; - using System.IO; - - /// - /// Scenario tests for the integration accounts agreement. - /// - [Collection("IntegrationAccountPartnerScenarioTests")] - public class IntegrationAccountAgreementScenarioTests : ScenarioTestsBase + using Microsoft.Rest.ClientRuntime.Azure.TestFramework; + using System.Collections.Generic; + using System.Linq; + using Xunit; + + [Collection("IntegrationAccountAgreementsScenarioTests")] + public class IntegrationAccountAgreementsScenarioTests : ScenarioTestsBase { - /// - /// Tests the create and delete operations of the integration account agreement. - /// https://msazure.visualstudio.com/One/_workitems/edit/587947 - /// - [Fact(Skip = "After upgrade to vs2017, starts failing. Needs investigation")] - public void CreateAndDeleteIntegrationAccountAgreement() + [Fact] + public void IntegrationAccountAgreements_CreateAs2_OK() { - using ( - MockContext context = MockContext.Start(className: this.testClassName)) + using (var context = MockContext.Start(this.TestClassName)) { - string integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); - string integrationAccountAgreementName = - TestUtilities.GenerateName(Constants.IntegrationAccountAgreementPrefix); - var client = context.GetServiceClient(); - var createdAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, integrationAccountName, - CreateIntegrationAccountInstance(integrationAccountName)); - - var instance = CreateIntegrationAccountAgreementInstance(integrationAccountAgreementName, integrationAccountName,AgreementType.AS2); - instance.Content.AS2.SendAgreement.ProtocolSettings.MdnSettings.MicHashingAlgorithm = HashingAlgorithm.MD5; - instance.Content.AS2.ReceiveAgreement.ProtocolSettings.MdnSettings.MicHashingAlgorithm = HashingAlgorithm.MD5; + this.CreateIntegrationAccount(integrationAccountName)); - var agreement = client.Agreements.CreateOrUpdate(Constants.DefaultResourceGroup, - integrationAccountName, integrationAccountAgreementName, instance); - - var getAgreement = client.Agreements.Get(Constants.DefaultResourceGroup, - integrationAccountName, - integrationAccountAgreementName); + var agreementName = TestUtilities.GenerateName(Constants.IntegrationAccountAgreementPrefix); + var agreement = this.CreateIntegrationAccountAgreement(agreementName, AgreementType.AS2); + var createdAgreement = client.IntegrationAccountAgreements.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + agreementName, + agreement); - Assert.Equal(getAgreement.Name, integrationAccountAgreementName); - Assert.Equal(getAgreement.Content.AS2.ReceiveAgreement.ProtocolSettings.MdnSettings.MicHashingAlgorithm, HashingAlgorithm.MD5); - Assert.Equal(getAgreement.Content.AS2.SendAgreement.ProtocolSettings.MdnSettings.MicHashingAlgorithm, HashingAlgorithm.MD5); + this.ValidateAgreement(agreement, createdAgreement); - client.Agreements.Delete(Constants.DefaultResourceGroup, integrationAccountName, - integrationAccountAgreementName); client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); } } - /// - /// Tests the create and update operations of the integration account agreement. - /// - [Fact(Skip = "After upgrade to vs2017, starts failing. Needs investigation")] - public void CreateAndUpdateIntegrationAccountAgreement() + [Fact] + public void IntegrationAccountAgreements_CreateEdifact_OK() { - using ( - MockContext context = MockContext.Start(className: this.testClassName)) + using (var context = MockContext.Start(this.TestClassName)) { - string integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); - string integrationAccountAgreementName = - TestUtilities.GenerateName(Constants.IntegrationAccountAgreementPrefix); - - var client = context.GetServiceClient(); + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + this.CreateIntegrationAccount(integrationAccountName)); - var createdAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + var agreementName = TestUtilities.GenerateName(Constants.IntegrationAccountAgreementPrefix); + var agreement = this.CreateIntegrationAccountAgreement(agreementName, AgreementType.Edifact); + var createdAgreement = client.IntegrationAccountAgreements.CreateOrUpdate(Constants.DefaultResourceGroup, integrationAccountName, - CreateIntegrationAccountInstance(integrationAccountName)); + agreementName, + agreement); - var agreement = client.Agreements.CreateOrUpdate(Constants.DefaultResourceGroup, - integrationAccountName, integrationAccountAgreementName, - CreateIntegrationAccountAgreementInstance(integrationAccountAgreementName, integrationAccountName, - AgreementType.AS2)); + this.ValidateAgreement(agreement, createdAgreement); - var updateAgreement = CreateIntegrationAccountAgreementInstance(integrationAccountAgreementName, - integrationAccountName); + client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); + } + } - var updatedAgreement = client.Agreements.CreateOrUpdate( - Constants.DefaultResourceGroup, + [Fact] + public void IntegrationAccountAgreements_CreateX12_OK() + { + using (var context = MockContext.Start(this.TestClassName)) + { + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, integrationAccountName, - integrationAccountAgreementName, updateAgreement); + this.CreateIntegrationAccount(integrationAccountName)); - Assert.Equal(updatedAgreement.Name, integrationAccountAgreementName); + var agreementName = TestUtilities.GenerateName(Constants.IntegrationAccountAgreementPrefix); + var agreement = this.CreateIntegrationAccountAgreement(agreementName, AgreementType.X12); + var createdAgreement = client.IntegrationAccountAgreements.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + agreementName, + agreement); + + this.ValidateAgreement(agreement, createdAgreement); client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); } } - /// - /// Tests the create and get operations of the integration account agreement. - /// https://msazure.visualstudio.com/One/_workitems/edit/587947 - /// - [Fact(Skip = "After upgrade to vs2017, starts failing. Needs investigation")] - public void CreateAndGetIntegrationAccountAgreement() + [Fact] + public void IntegrationAccountAgreements_CreateWithEnvelopeOverride_OK() { - using ( - MockContext context = MockContext.Start(className: this.testClassName)) + using (var context = MockContext.Start(this.TestClassName)) { - string integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); - string integrationAccountAgreementName = - TestUtilities.GenerateName(Constants.IntegrationAccountAgreementPrefix); - var client = context.GetServiceClient(); + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + this.CreateIntegrationAccount(integrationAccountName)); - var createdAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + var agreementName = TestUtilities.GenerateName(Constants.IntegrationAccountAgreementPrefix); + var agreement = this.CreateIntegrationAccountAgreement(agreementName, AgreementType.X12); + agreement.Content.X12.ReceiveAgreement.ProtocolSettings.EnvelopeOverrides = new List + { + new X12EnvelopeOverride + { + HeaderVersion = "1", + MessageId = "100", + ProtocolVersion = "1", + ReceiverApplicationId = "93494", + ResponsibleAgencyCode = "X", + SenderApplicationId = "89459", + TargetNamespace = "http://tempuri.org", + FunctionalIdentifierCode = "x", + DateFormat = X12DateFormat.CCYYMMDD, + TimeFormat = X12TimeFormat.HHMM + } + }; + var createdAgreement = client.IntegrationAccountAgreements.CreateOrUpdate(Constants.DefaultResourceGroup, integrationAccountName, - CreateIntegrationAccountInstance(integrationAccountName)); - var instance = CreateIntegrationAccountAgreementInstance(integrationAccountAgreementName, integrationAccountName, - AgreementType.AS2); + agreementName, + agreement); - instance.Content.AS2.ReceiveAgreement.ProtocolSettings.MdnSettings.MicHashingAlgorithm = HashingAlgorithm.SHA1; - instance.Content.AS2.SendAgreement.ProtocolSettings.MdnSettings.MicHashingAlgorithm = HashingAlgorithm.SHA1; + var retrievedAgreement = client.IntegrationAccountAgreements.Get(Constants.DefaultResourceGroup, + integrationAccountName, + agreementName); - var agreement = client.Agreements.CreateOrUpdate(Constants.DefaultResourceGroup, - integrationAccountName, integrationAccountAgreementName, instance); + this.ValidateAgreement(agreement, retrievedAgreement); - Assert.Equal(agreement.Name, integrationAccountAgreementName); + client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); + } + } + + [Fact] + public void IntegrationAccountAgreements_Get_OK() + { + using (var context = MockContext.Start(this.TestClassName)) + { + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + this.CreateIntegrationAccount(integrationAccountName)); - var getAgreement = client.Agreements.Get(Constants.DefaultResourceGroup, + var agreementName = TestUtilities.GenerateName(Constants.IntegrationAccountAgreementPrefix); + var agreement = this.CreateIntegrationAccountAgreement(agreementName, AgreementType.AS2); + var createdAgreement = client.IntegrationAccountAgreements.CreateOrUpdate(Constants.DefaultResourceGroup, integrationAccountName, - integrationAccountAgreementName); + agreementName, + agreement); - Assert.Equal(agreement.Name, getAgreement.Name); - Assert.Equal(agreement.Content.AS2.ReceiveAgreement.ProtocolSettings.MdnSettings.MicHashingAlgorithm, HashingAlgorithm.SHA1); - Assert.Equal(agreement.Content.AS2.SendAgreement.ProtocolSettings.MdnSettings.MicHashingAlgorithm, HashingAlgorithm.SHA1); + var retrievedAgreement = client.IntegrationAccountAgreements.Get(Constants.DefaultResourceGroup, + integrationAccountName, + agreementName); + this.ValidateAgreement(agreement, retrievedAgreement); client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); } } - /// - /// Tests the create operations of the integration account agreement with envelope override settings for X12. - /// https://msazure.visualstudio.com/One/_workitems/edit/700874 - /// - [Fact(Skip = "After upgrade to vs2017, starts failing. Needs investigation")] - public void CreateIntegrationAccountAgreementWithEnvelopeOverride() + [Fact] + public void IntegrationAccountAgreements_List_OK() { - using ( - MockContext context = MockContext.Start(className: this.testClassName)) + using (var context = MockContext.Start(this.TestClassName)) { + var client = this.GetClient(context); + this.CleanResourceGroup(client); var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + this.CreateIntegrationAccount(integrationAccountName)); - var integrationX12AccountAgreementName = - TestUtilities.GenerateName(Constants.IntegrationAccountAgreementPrefix); - - var client = context.GetServiceClient(); - - var createdAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, - integrationAccountName, CreateIntegrationAccountInstance(integrationAccountName)); + var agreementName1 = TestUtilities.GenerateName(Constants.IntegrationAccountAgreementPrefix); + var agreement1 = this.CreateIntegrationAccountAgreement(agreementName1, AgreementType.AS2); + var createdAgreement = client.IntegrationAccountAgreements.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + agreementName1, + agreement1); - var instance = CreateIntegrationAccountAgreementInstanceFromFile(integrationX12AccountAgreementName, - integrationAccountName, AgreementType.X12); - instance.Content.X12.ReceiveAgreement.ProtocolSettings.EnvelopeOverrides = new List(); - X12EnvelopeOverride overrideSetting = new X12EnvelopeOverride(); - overrideSetting.HeaderVersion = "1"; - overrideSetting.MessageId = "100"; - overrideSetting.ProtocolVersion = "1"; - overrideSetting.ReceiverApplicationId = "93494"; - overrideSetting.ResponsibleAgencyCode = "X"; - overrideSetting.SenderApplicationId = "89459"; - overrideSetting.TargetNamespace = "test"; - overrideSetting.FunctionalIdentifierCode = "x"; - overrideSetting.DateFormat = X12DateFormat.CCYYMMDD; - overrideSetting.TimeFormat = X12TimeFormat.HHMM; - instance.Content.X12.ReceiveAgreement.ProtocolSettings.EnvelopeOverrides.Add(overrideSetting); + var agreementName2 = TestUtilities.GenerateName(Constants.IntegrationAccountAgreementPrefix); + var agreement2 = this.CreateIntegrationAccountAgreement(agreementName2, AgreementType.Edifact); + var createdAgreement2 = client.IntegrationAccountAgreements.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + agreementName2, + agreement2); - var x12Agreement = client.Agreements.CreateOrUpdate(Constants.DefaultResourceGroup, - integrationAccountName, integrationX12AccountAgreementName, instance ); + var agreementName3 = TestUtilities.GenerateName(Constants.IntegrationAccountAgreementPrefix); + var agreement3 = this.CreateIntegrationAccountAgreement(agreementName3, AgreementType.X12); + var createdAgreement3 = client.IntegrationAccountAgreements.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + agreementName3, + agreement3); - var fetchedAgreement = client.Agreements.Get(Constants.DefaultResourceGroup, - integrationAccountName, integrationX12AccountAgreementName); + var agreements = client.IntegrationAccountAgreements.List(Constants.DefaultResourceGroup, integrationAccountName); - Assert.Equal(fetchedAgreement.Content.X12.ReceiveAgreement.ProtocolSettings.EnvelopeOverrides[0].ResponsibleAgencyCode,"X"); + Assert.Equal(3, agreements.Count()); + this.ValidateAgreement(agreement1, agreements.Single(x => x.AgreementType == agreement1.AgreementType)); + this.ValidateAgreement(agreement2, agreements.Single(x => x.AgreementType == agreement2.AgreementType)); + this.ValidateAgreement(agreement3, agreements.Single(x => x.AgreementType == agreement3.AgreementType)); client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); } } - /// - /// Tests the create and list operations of the integration account agreement. - /// - [Fact(Skip = "After upgrade to vs2017, starts failing. Needs investigation")] - public void ListIntegrationAccountAgreements() + [Fact] + public void IntegrationAccountAgreements_Update_OK() { - using ( - MockContext context = MockContext.Start(className: this.testClassName)) + using (var context = MockContext.Start(this.TestClassName)) { - + var client = this.GetClient(context); + this.CleanResourceGroup(client); var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); - - var integrationAccountAgreementName1 = - TestUtilities.GenerateName(Constants.IntegrationAccountAgreementPrefix); - var integrationAccountAgreementName2 = - TestUtilities.GenerateName(Constants.IntegrationAccountAgreementPrefix); - var integrationAccountAgreementName3 = - TestUtilities.GenerateName(Constants.IntegrationAccountAgreementPrefix); - - var client = context.GetServiceClient(); - var createdAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, integrationAccountName, - CreateIntegrationAccountInstance(integrationAccountName)); - - client.Agreements.CreateOrUpdate( - Constants.DefaultResourceGroup, - integrationAccountName, integrationAccountAgreementName1, - CreateIntegrationAccountAgreementInstance(integrationAccountAgreementName1, integrationAccountName, - AgreementType.AS2)); + this.CreateIntegrationAccount(integrationAccountName)); - client.Agreements.CreateOrUpdate( - Constants.DefaultResourceGroup, - integrationAccountName, integrationAccountAgreementName2, - CreateIntegrationAccountAgreementInstance(integrationAccountAgreementName2, integrationAccountName, - AgreementType.Edifact)); + var agreementName = TestUtilities.GenerateName(Constants.IntegrationAccountAgreementPrefix); + var agreement = this.CreateIntegrationAccountAgreement(agreementName, AgreementType.AS2); + var createdAgreement = client.IntegrationAccountAgreements.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + agreementName, + agreement); - client.Agreements.CreateOrUpdate( - Constants.DefaultResourceGroup, - integrationAccountName, integrationAccountAgreementName3, - CreateIntegrationAccountAgreementInstance(integrationAccountAgreementName3, integrationAccountName)); + var newAgreement = this.CreateIntegrationAccountAgreement(agreementName, AgreementType.AS2); - var agreements = client.Agreements.ListByIntegrationAccounts(Constants.DefaultResourceGroup, - integrationAccountName); + var updatedAgreement = client.IntegrationAccountAgreements.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + agreementName, + newAgreement); - Assert.True(agreements.Count() == 3); + this.ValidateAgreement(newAgreement, updatedAgreement); client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); - } } - /// - /// Tests the delete operations of the integration account agreement with integration account. - /// Agreement must be deleted with the integration account deletion. - /// - [Fact(Skip = "After upgrade to vs2017, starts failing. Needs investigation")] - public void DeleteIntegrationAccountAgreementOnAccountDeletion() + [Fact] + public void IntegrationAccountAgreements_Delete_OK() { - using ( - MockContext context = MockContext.Start(className: this.testClassName)) + using (var context = MockContext.Start(this.TestClassName)) { - string integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); - string integrationAccountAgreementName = - TestUtilities.GenerateName(Constants.IntegrationAccountAgreementPrefix); - var client = context.GetServiceClient(); - var createdAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + this.CreateIntegrationAccount(integrationAccountName)); + + var agreementName = TestUtilities.GenerateName(Constants.IntegrationAccountAgreementPrefix); + var agreement = this.CreateIntegrationAccountAgreement(agreementName, AgreementType.AS2); + var createdAgreement = client.IntegrationAccountAgreements.CreateOrUpdate(Constants.DefaultResourceGroup, integrationAccountName, - CreateIntegrationAccountInstance(integrationAccountName)); - var agreement = client.Agreements.CreateOrUpdate(Constants.DefaultResourceGroup, - integrationAccountName, integrationAccountAgreementName, - CreateIntegrationAccountAgreementInstance(integrationAccountAgreementName, integrationAccountName)); + agreementName, + agreement); - Assert.Equal(agreement.Name, integrationAccountAgreementName); + client.IntegrationAccountAgreements.Delete(Constants.DefaultResourceGroup, integrationAccountName, agreementName); + Assert.Throws(() => client.IntegrationAccountAgreements.Get(Constants.DefaultResourceGroup, integrationAccountName, agreementName)); client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); - Assert.Throws( - () => - client.Agreements.Get(Constants.DefaultResourceGroup, integrationAccountName, - integrationAccountAgreementName)); } } - /// - /// Tests the create operations of the integration account agreement using file input. - /// - [Fact(Skip = "After upgrade to vs2017, starts failing. Needs investigation")] - public void CreateIntegrationAccountAgreementUsingFile() + [Fact] + public void IntegrationAccountAgreements_DeleteWhenDeleteIntegrationAccount_OK() { - using ( - MockContext context = MockContext.Start(className: this.testClassName)) + using (var context = MockContext.Start(this.TestClassName)) { + var client = this.GetClient(context); + this.CleanResourceGroup(client); var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + this.CreateIntegrationAccount(integrationAccountName)); - var integrationAs2AccountAgreementName = - TestUtilities.GenerateName(Constants.IntegrationAccountAgreementPrefix); - var integrationX12AccountAgreementName = - TestUtilities.GenerateName(Constants.IntegrationAccountAgreementPrefix); - var integrationEdifactAccountAgreementName = - TestUtilities.GenerateName(Constants.IntegrationAccountAgreementPrefix); - - var client = context.GetServiceClient(); + var agreementName = TestUtilities.GenerateName(Constants.IntegrationAccountAgreementPrefix); + var agreement = this.CreateIntegrationAccountAgreement(agreementName, AgreementType.AS2); + var createdAgreement = client.IntegrationAccountAgreements.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + agreementName, + agreement); - var createdAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, - integrationAccountName, CreateIntegrationAccountInstance(integrationAccountName)); + client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); + Assert.Throws(() => client.IntegrationAccountAgreements.Get(Constants.DefaultResourceGroup, integrationAccountName, agreementName)); + } + } - var as2Agreement = client.Agreements.CreateOrUpdate(Constants.DefaultResourceGroup, - integrationAccountName, integrationAs2AccountAgreementName, - CreateIntegrationAccountAgreementInstanceFromFile(integrationAs2AccountAgreementName, - integrationAccountName, AgreementType.AS2)); + [Fact] + public void IntegrationAccountAgreements_ListContentCallbackUrl_OK() + { + using (var context = MockContext.Start(this.TestClassName)) + { + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + this.CreateIntegrationAccount(integrationAccountName)); - var edifactAgreement = client.Agreements.CreateOrUpdate( - Constants.DefaultResourceGroup, - integrationAccountName, integrationEdifactAccountAgreementName, - CreateIntegrationAccountAgreementInstanceFromFile(integrationEdifactAccountAgreementName, - integrationAccountName, AgreementType.Edifact)); + var agreementName = TestUtilities.GenerateName(Constants.IntegrationAccountAgreementPrefix); + var agreement = this.CreateIntegrationAccountAgreement(agreementName, AgreementType.AS2); + var createdAgreement = client.IntegrationAccountAgreements.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + agreementName, + agreement); - var x12Agreement = client.Agreements.CreateOrUpdate(Constants.DefaultResourceGroup, - integrationAccountName, integrationX12AccountAgreementName, - CreateIntegrationAccountAgreementInstanceFromFile(integrationX12AccountAgreementName, - integrationAccountName, AgreementType.X12)); + var contentCallbackUrl = client.IntegrationAccountAgreements.ListContentCallbackUrl(Constants.DefaultResourceGroup, + integrationAccountName, + agreementName, + new GetCallbackUrlParameters + { + KeyType = "Primary" + }); - Assert.Equal(as2Agreement.Name, integrationAs2AccountAgreementName); - Assert.Equal(edifactAgreement.Name, integrationEdifactAccountAgreementName); - Assert.Equal(x12Agreement.Name, integrationX12AccountAgreementName); + Assert.Equal("GET", contentCallbackUrl.Method); + Assert.Contains(agreementName, contentCallbackUrl.Value); client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); } @@ -318,96 +326,61 @@ public void CreateIntegrationAccountAgreementUsingFile() #region Private - /// - /// Creates an Integration account agreement - /// - /// Name of the integration account agreement - /// Name of the integration account - /// Agreement instance - private IntegrationAccountAgreement CreateIntegrationAccountAgreementInstance( - string integrationAccountAgreementName, - string integrationAccountName, - AgreementType agreementType = AgreementType.X12) + private void ValidateAgreement(IntegrationAccountAgreement expected, IntegrationAccountAgreement actual) { - AgreementContent agreementContent = null; - IDictionary tags = new Dictionary(); - tags.Add("IntegrationAccountAgreement", integrationAccountAgreementName); - - switch (agreementType) + Assert.Equal(expected.Name, actual.Name); + Assert.Equal(expected.AgreementType, actual.AgreementType); + Assert.Equal(expected.HostPartner, actual.HostPartner); + Assert.Equal(expected.GuestPartner, actual.GuestPartner); + Assert.Equal(expected.HostIdentity.Qualifier, actual.HostIdentity.Qualifier); + Assert.Equal(expected.HostIdentity.Value, actual.HostIdentity.Value); + Assert.Equal(expected.GuestIdentity.Qualifier, actual.GuestIdentity.Qualifier); + Assert.Equal(expected.GuestIdentity.Value, actual.GuestIdentity.Value); + Assert.NotNull(actual.CreatedTime); + Assert.NotNull(actual.ChangedTime); + + switch (expected.AgreementType) { case AgreementType.AS2: - agreementContent = AS2AgreementContent; + Assert.Equal(expected.Content.AS2, expected.Content.AS2); break; case AgreementType.Edifact: - agreementContent = EDIFACTAgreementContent; + Assert.Equal(expected.Content.Edifact, expected.Content.Edifact); break; case AgreementType.X12: - agreementContent = X12AgreementContent; + Assert.Equal(expected.Content.X12, expected.Content.X12); break; } - - var agreement = new IntegrationAccountAgreement - { - Location = Constants.DefaultLocation, - Tags = tags, - Metadata = integrationAccountAgreementName, - AgreementType = agreementType, - GuestIdentity = new BusinessIdentity {Qualifier = "AA", Value = "AA"}, - HostIdentity = new BusinessIdentity {Qualifier = "ZZ", Value = "ZZ"}, - GuestPartner = "GuestPartner", - HostPartner = "HostPartner", - Content = agreementContent - }; - - return agreement; } - /// - /// Creates an Integration account agreement from file source - /// - /// Name of the integration account agreement - /// Name of the integration account - /// Agreement instance - private IntegrationAccountAgreement CreateIntegrationAccountAgreementInstanceFromFile( - string integrationAccountAgreementName, - string integrationAccountName, - AgreementType agreementType = AgreementType.X12) + private IntegrationAccountAgreement CreateIntegrationAccountAgreement(string agreementName, AgreementType agreementType) { - AgreementContent agreementContent = null; - IDictionary tags = new Dictionary(); - tags.Add("IntegrationAccountAgreement", integrationAccountAgreementName); + var hostPartner = "HostPartner"; + var guestPartner = "GuestPartner"; + var hostIdentity = new BusinessIdentity { Qualifier = "ZZ", Value = "ZZ" }; + var guestIdentity = new BusinessIdentity { Qualifier = "AA", Value = "AA" }; + AgreementContent agreementContent = null; switch (agreementType) { case AgreementType.AS2: - agreementContent = - JsonConvert.DeserializeObject( - File.ReadAllText(@"TestData/IntegrationAccountAS2AgreementContent.json")); + agreementContent = this.AS2AgreementContent; break; case AgreementType.Edifact: - agreementContent = - JsonConvert.DeserializeObject( - File.ReadAllText(@"TestData/IntegrationAccountEDIFACTAgreementContent.json")); + agreementContent = this.EDIFACTAgreementContent; break; case AgreementType.X12: - agreementContent = - JsonConvert.DeserializeObject( - File.ReadAllText(@"TestData/IntegrationAccountX12AgreementContent.json")); + agreementContent = this.X12AgreementContent; break; } - var agreement = new IntegrationAccountAgreement - { - Location = Constants.DefaultLocation, - Tags = tags, - Metadata = integrationAccountAgreementName, - AgreementType = agreementType, - GuestIdentity = new BusinessIdentity {Qualifier = "AA", Value = "AA"}, - HostIdentity = new BusinessIdentity {Qualifier = "ZZ", Value = "ZZ"}, - GuestPartner = "GuestPartner", - HostPartner = "HostPartner", - Content = agreementContent - }; + var agreement = new IntegrationAccountAgreement(agreementType, + hostPartner, + guestPartner, + hostIdentity, + guestIdentity, + agreementContent, + name: agreementName); return agreement; } @@ -913,7 +886,7 @@ private AgreementContent AS2AgreementContent { DispositionNotificationTo = "http://tempuri.org", MdnText = "Sample", - MicHashingAlgorithm = HashingAlgorithm.None, + MicHashingAlgorithm = HashingAlgorithm.MD5, NeedMdn = true, ReceiptDeliveryUrl = "http://tempuri.org", SendInboundMdnToMessageBox = true, @@ -936,9 +909,9 @@ private AgreementContent AS2AgreementContent EnableNrrForOutboundDecodedMessages = true, EnableNrrForOutboundEncodedMessages = true, EnableNrrForOutboundMdn = true, - + OverrideGroupSigningCertificate = false - + }, ValidationSettings = new AS2ValidationSettings { @@ -992,7 +965,7 @@ private AgreementContent AS2AgreementContent { DispositionNotificationTo = "http://tempuri.org", MdnText = "Sample", - MicHashingAlgorithm = HashingAlgorithm.None, + MicHashingAlgorithm = HashingAlgorithm.MD5, NeedMdn = true, ReceiptDeliveryUrl = "http://tempuri.org", SendInboundMdnToMessageBox = true, @@ -1015,9 +988,9 @@ private AgreementContent AS2AgreementContent EnableNrrForOutboundDecodedMessages = true, EnableNrrForOutboundEncodedMessages = true, EnableNrrForOutboundMdn = true, - + OverrideGroupSigningCertificate = false - + }, ValidationSettings = new AS2ValidationSettings { diff --git a/src/SDKs/Logic/Logic.Tests/ScenarioTests/IntegrationAccountAssemblies.ScenarioTests.cs b/src/SDKs/Logic/Logic.Tests/ScenarioTests/IntegrationAccountAssemblies.ScenarioTests.cs new file mode 100644 index 0000000000000..6fed57d8857f1 --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/ScenarioTests/IntegrationAccountAssemblies.ScenarioTests.cs @@ -0,0 +1,223 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. + +namespace Test.Azure.Management.Logic +{ + using Microsoft.Azure.Management.Logic; + using Microsoft.Azure.Management.Logic.Models; + using Microsoft.Rest.Azure; + using Microsoft.Rest.ClientRuntime.Azure.TestFramework; + using System.IO; + using System.Linq; + using Xunit; + + [Collection("IntegrationAccountAssembliesScenarioTests")] + public class IntegrationAccountAssembliesScenarioTests : ScenarioTestsBase + { + [Fact] + public void IntegrationAccountAssemblies_Create_OK() + { + using (var context = MockContext.Start(this.TestClassName)) + { + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + this.CreateIntegrationAccount(integrationAccountName)); + + var assemblyName = TestUtilities.GenerateName(Constants.IntegrationAccountAssemblyPrefix); + var assembly = this.CreateIntegrationAccountAssembly(assemblyName); + var createdAssembly = client.IntegrationAccountAssemblies.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + assemblyName, + assembly); + + this.ValidateAssembly(assembly, createdAssembly); + + client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); + } + } + + [Fact] + public void IntegrationAccountAssemblies_Get_OK() + { + using (var context = MockContext.Start(this.TestClassName)) + { + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + this.CreateIntegrationAccount(integrationAccountName)); + + var assemblyName = TestUtilities.GenerateName(Constants.IntegrationAccountAssemblyPrefix); + var assembly = this.CreateIntegrationAccountAssembly(assemblyName); + var createdAssembly = client.IntegrationAccountAssemblies.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + assemblyName, + assembly); + + var retrievedAssembly = client.IntegrationAccountAssemblies.Get(Constants.DefaultResourceGroup, + integrationAccountName, + assemblyName); + + this.ValidateAssembly(assembly, retrievedAssembly); + + client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); + } + } + + [Fact] + public void IntegrationAccountAssemblies_List_OK() + { + using (var context = MockContext.Start(this.TestClassName)) + { + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + this.CreateIntegrationAccount(integrationAccountName)); + + var assemblyName1 = TestUtilities.GenerateName(Constants.IntegrationAccountAssemblyPrefix); + var assembly1 = this.CreateIntegrationAccountAssembly(assemblyName1); + var createdAssembly1 = client.IntegrationAccountAssemblies.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + assemblyName1, + assembly1); + + var assemblyName2 = TestUtilities.GenerateName(Constants.IntegrationAccountAssemblyPrefix); + var assembly2 = this.CreateIntegrationAccountAssembly(assemblyName2); + var createdAssembly2 = client.IntegrationAccountAssemblies.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + assemblyName2, + assembly2); + + var assemblyName3 = TestUtilities.GenerateName(Constants.IntegrationAccountAssemblyPrefix); + var assembly3 = this.CreateIntegrationAccountAssembly(assemblyName3); + var createdAssembly3 = client.IntegrationAccountAssemblies.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + assemblyName3, + assembly3); + + var assemblies = client.IntegrationAccountAssemblies.List(Constants.DefaultResourceGroup, integrationAccountName); + + Assert.Equal(3, assemblies.Count()); + this.ValidateAssembly(assembly1, createdAssembly1); + this.ValidateAssembly(assembly2, createdAssembly2); + this.ValidateAssembly(assembly3, createdAssembly3); + + client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); + } + } + + [Fact] + public void IntegrationAccountAssemblies_Delete_OK() + { + using (var context = MockContext.Start(this.TestClassName)) + { + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + this.CreateIntegrationAccount(integrationAccountName)); + + var assemblyName = TestUtilities.GenerateName(Constants.IntegrationAccountAssemblyPrefix); + var assembly = this.CreateIntegrationAccountAssembly(assemblyName); + var createdAssembly = client.IntegrationAccountAssemblies.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + assemblyName, + assembly); + + client.IntegrationAccountAssemblies.Delete(Constants.DefaultResourceGroup, integrationAccountName, assemblyName); + Assert.Throws(() => client.IntegrationAccountAssemblies.Get(Constants.DefaultResourceGroup, integrationAccountName, assemblyName)); + + client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); + } + } + + [Fact] + public void IntegrationAccountAssemblies_DeleteWhenDeleteIntegrationAccount_OK() + { + using (var context = MockContext.Start(this.TestClassName)) + { + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + this.CreateIntegrationAccount(integrationAccountName)); + + var assemblyName = TestUtilities.GenerateName(Constants.IntegrationAccountAssemblyPrefix); + var assembly = this.CreateIntegrationAccountAssembly(assemblyName); + var createdAssembly = client.IntegrationAccountAssemblies.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + assemblyName, + assembly); + + client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); + Assert.Throws(() => client.IntegrationAccountAssemblies.Get(Constants.DefaultResourceGroup, integrationAccountName, assemblyName)); + } + } + + [Fact] + public void IntegrationAccountAssemblies_ListContentCallbackUrl_OK() + { + using (var context = MockContext.Start(this.TestClassName)) + { + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + this.CreateIntegrationAccount(integrationAccountName)); + + var assemblyName = TestUtilities.GenerateName(Constants.IntegrationAccountAssemblyPrefix); + var assembly = this.CreateIntegrationAccountAssembly(assemblyName); + var createdAssembly = client.IntegrationAccountAssemblies.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + assemblyName, + assembly); + + var contentCallbackUrl = client.IntegrationAccountAssemblies.ListContentCallbackUrl(Constants.DefaultResourceGroup, + integrationAccountName, + assemblyName); + + Assert.Equal("GET", contentCallbackUrl.Method); + Assert.Contains(assemblyName, contentCallbackUrl.Value); + + client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); + } + } + + #region Private + + private void ValidateAssembly(AssemblyDefinition expected, AssemblyDefinition actual) + { + Assert.Equal(expected.Name, actual.Name); + Assert.Equal(expected.Properties.AssemblyName, actual.Properties.AssemblyName); + Assert.NotEmpty(actual.Properties.ContentLink.Uri); + Assert.NotNull(actual.Properties.CreatedTime); + Assert.NotNull(actual.Properties.ChangedTime); + + } + + private AssemblyDefinition CreateIntegrationAccountAssembly(string assemblyName) + { + var assemblyProperties = new AssemblyProperties(assemblyName, + content: File.ReadAllBytes(@"TestData/IntegrationAccountAssemblyContent.dll"), + contentType: "application/octet-stream"); + + var assembly = new AssemblyDefinition(assemblyProperties, + location: Constants.DefaultLocation, + name: assemblyName); + + return assembly; + } + + #endregion Private + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/ScenarioTests/IntegrationAccountBatchConfigurations.ScenarioTests.cs b/src/SDKs/Logic/Logic.Tests/ScenarioTests/IntegrationAccountBatchConfigurations.ScenarioTests.cs new file mode 100644 index 0000000000000..424114e348a32 --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/ScenarioTests/IntegrationAccountBatchConfigurations.ScenarioTests.cs @@ -0,0 +1,190 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. + +namespace Test.Azure.Management.Logic +{ + using Microsoft.Azure.Management.Logic; + using Microsoft.Azure.Management.Logic.Models; + using Microsoft.Rest.Azure; + using Microsoft.Rest.ClientRuntime.Azure.TestFramework; + using System.Linq; + using Xunit; + + [Collection("IntegrationAccountBatchConfigurationsScenarioTests")] + public class IntegrationAccountBatchConfigurationsScenarioTests : ScenarioTestsBase + { + [Fact] + public void IntegrationAccountBatchConfigurations_Create_OK() + { + using (var context = MockContext.Start(this.TestClassName)) + { + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + this.CreateIntegrationAccount(integrationAccountName)); + + var batchConfigurationName = TestUtilities.GenerateName(Constants.IntegrationAccountBatchConfigurationPrefix); + var batchConfiguration = this.CreateIntegrationAccountBatchConfiguration(batchConfigurationName); + var createdBatchConfiguration = client.IntegrationAccountBatchConfigurations.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + batchConfigurationName, + batchConfiguration); + + this.ValidateBatchConfiguration(batchConfiguration, createdBatchConfiguration); + + client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); + } + } + + [Fact] + public void IntegrationAccountBatchConfigurations_Get_OK() + { + using (var context = MockContext.Start(this.TestClassName)) + { + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + this.CreateIntegrationAccount(integrationAccountName)); + + var batchConfigurationName = TestUtilities.GenerateName(Constants.IntegrationAccountBatchConfigurationPrefix); + var batchConfiguration = this.CreateIntegrationAccountBatchConfiguration(batchConfigurationName); + var createdBatchConfiguration = client.IntegrationAccountBatchConfigurations.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + batchConfigurationName, + batchConfiguration); + + var retrievedBatchConfiguration = client.IntegrationAccountBatchConfigurations.Get(Constants.DefaultResourceGroup, + integrationAccountName, + batchConfigurationName); + + this.ValidateBatchConfiguration(batchConfiguration, retrievedBatchConfiguration); + + client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); + } + } + + [Fact] + public void IntegrationAccountBatchConfigurations_List_OK() + { + using (var context = MockContext.Start(this.TestClassName)) + { + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + this.CreateIntegrationAccount(integrationAccountName)); + + var batchConfigurationName1 = TestUtilities.GenerateName(Constants.IntegrationAccountBatchConfigurationPrefix); + var batchConfiguration1 = this.CreateIntegrationAccountBatchConfiguration(batchConfigurationName1); + var createdBatchConfiguration1 = client.IntegrationAccountBatchConfigurations.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + batchConfigurationName1, + batchConfiguration1); + + var batchConfigurationName2 = TestUtilities.GenerateName(Constants.IntegrationAccountBatchConfigurationPrefix); + var batchConfiguration2 = this.CreateIntegrationAccountBatchConfiguration(batchConfigurationName2); + var createdBatchConfiguration2 = client.IntegrationAccountBatchConfigurations.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + batchConfigurationName2, + batchConfiguration2); + + var batchConfigurationName3 = TestUtilities.GenerateName(Constants.IntegrationAccountBatchConfigurationPrefix); + var batchConfiguration3 = this.CreateIntegrationAccountBatchConfiguration(batchConfigurationName3); + var createdBatchConfiguration3 = client.IntegrationAccountBatchConfigurations.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + batchConfigurationName3, + batchConfiguration3); + + var batchConfigurations = client.IntegrationAccountBatchConfigurations.List(Constants.DefaultResourceGroup, integrationAccountName); + + Assert.Equal(3, batchConfigurations.Count()); + this.ValidateBatchConfiguration(batchConfiguration1, createdBatchConfiguration1); + this.ValidateBatchConfiguration(batchConfiguration2, createdBatchConfiguration2); + this.ValidateBatchConfiguration(batchConfiguration3, createdBatchConfiguration3); + + client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); + } + } + + [Fact] + public void IntegrationAccountBatchConfigurations_Delete_OK() + { + using (var context = MockContext.Start(this.TestClassName)) + { + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + this.CreateIntegrationAccount(integrationAccountName)); + + var batchConfigurationName = TestUtilities.GenerateName(Constants.IntegrationAccountBatchConfigurationPrefix); + var batchConfiguration = this.CreateIntegrationAccountBatchConfiguration(batchConfigurationName); + var createdBatchConfiguration = client.IntegrationAccountBatchConfigurations.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + batchConfigurationName, + batchConfiguration); + + client.IntegrationAccountBatchConfigurations.Delete(Constants.DefaultResourceGroup, integrationAccountName, batchConfigurationName); + Assert.Throws(() => client.IntegrationAccountBatchConfigurations.Get(Constants.DefaultResourceGroup, integrationAccountName, batchConfigurationName)); + + client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); + } + } + + [Fact] + public void IntegrationAccountBatchConfigurations_DeleteWhenDeleteIntegrationAccount_OK() + { + using (var context = MockContext.Start(this.TestClassName)) + { + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + this.CreateIntegrationAccount(integrationAccountName)); + + var batchConfigurationName = TestUtilities.GenerateName(Constants.IntegrationAccountBatchConfigurationPrefix); + var batchConfiguration = this.CreateIntegrationAccountBatchConfiguration(batchConfigurationName); + var createdBatchConfiguration = client.IntegrationAccountBatchConfigurations.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + batchConfigurationName, + batchConfiguration); + + client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); + Assert.Throws(() => client.IntegrationAccountBatchConfigurations.Get(Constants.DefaultResourceGroup, integrationAccountName, batchConfigurationName)); + } + } + + #region Private + + private void ValidateBatchConfiguration(BatchConfiguration expected, BatchConfiguration actual) + { + Assert.Equal(expected.Name, actual.Name); + Assert.Equal(expected.Properties.BatchGroupName, actual.Properties.BatchGroupName); + Assert.Equal(expected.Properties.ReleaseCriteria.BatchSize, actual.Properties.ReleaseCriteria.BatchSize); + Assert.NotNull(actual.Properties.CreatedTime); + Assert.NotNull(actual.Properties.ChangedTime); + + } + + private BatchConfiguration CreateIntegrationAccountBatchConfiguration(string batchConfigurationName) + { + var batchConfigurationProperties = new BatchConfigurationProperties("batchGroupName", new BatchReleaseCriteria(batchSize: 10)); + + var batchConfiguration = new BatchConfiguration(batchConfigurationProperties, + location: Constants.DefaultLocation, + name: batchConfigurationName); + + return batchConfiguration; + } + + #endregion Private + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/ScenarioTests/IntegrationAccountCertificates.ScenarioTests.cs b/src/SDKs/Logic/Logic.Tests/ScenarioTests/IntegrationAccountCertificates.ScenarioTests.cs index 80dac3c1a5db2..ee6a805e1a2e8 100644 --- a/src/SDKs/Logic/Logic.Tests/ScenarioTests/IntegrationAccountCertificates.ScenarioTests.cs +++ b/src/SDKs/Logic/Logic.Tests/ScenarioTests/IntegrationAccountCertificates.ScenarioTests.cs @@ -5,302 +5,293 @@ namespace Test.Azure.Management.Logic { using System; - using System.Globalization; using System.Linq; using System.Security.Cryptography.X509Certificates; - using Microsoft.Azure.Management.Logic; using Microsoft.Azure.Management.Logic.Models; using Microsoft.Rest.Azure; using Microsoft.Rest.ClientRuntime.Azure.TestFramework; using Xunit; - /// - /// Scenario tests for the integration accounts certificates. - /// [Collection("IntegrationAccountCertificateScenarioTests")] public class IntegrationAccountCertificateScenarioTests : ScenarioTestsBase { - /// - /// Tests the create and delete operations of the integration account certificate. - /// - [Fact(Skip = "After upgrade to vs2017, starts failing. Needs investigation")] - public void CreateAndDeleteIntegrationAccountCertificate() + [Fact] + public void IntegrationAccountCertificates_Create_OK() { - using ( - MockContext context = MockContext.Start(className: this.testClassName)) + using (var context = MockContext.Start(this.TestClassName)) { - string integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); - string integrationAccountCertificateName = - TestUtilities.GenerateName(Constants.IntegrationAccountCertificatePrefix); - - var client = this.GetIntegrationAccountClient(context); - var createdAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, integrationAccountName, - CreateIntegrationAccountInstance(integrationAccountName)); + this.CreateIntegrationAccount(integrationAccountName)); - var certificate = client.Certificates.CreateOrUpdate(Constants.DefaultResourceGroup, + var certificateName = TestUtilities.GenerateName(Constants.IntegrationAccountCertificatePrefix); + var certificate = this.CreateIntegrationAccountCertificate(certificateName); + var createdCertificate = client.IntegrationAccountCertificates.CreateOrUpdate(Constants.DefaultResourceGroup, integrationAccountName, - integrationAccountCertificateName, - CreateIntegrationAccountCertificateInstance(integrationAccountCertificateName, - integrationAccountName) - ); + certificateName, + certificate); - Assert.Equal(certificate.Name, integrationAccountCertificateName); + this.ValidateCertificate(certificate, createdCertificate); - client.Certificates.Delete(Constants.DefaultResourceGroup, integrationAccountName, - integrationAccountCertificateName); client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); } } - /// - /// Tests the create and delete operations of the integration account certificate with public key. - /// - [Fact(Skip = "After upgrade to vs2017, starts failing. Needs investigation")] - public void CreateIntegrationAccountCertificateWithPublicKey() + [Fact] + public void IntegrationAccountCertificates_CreateWithPublicKey_OK() { - using ( - MockContext context = MockContext.Start(className: this.testClassName)) + using (var context = MockContext.Start(this.TestClassName)) { - string integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); - string integrationAccountCertificateName = - TestUtilities.GenerateName(Constants.IntegrationAccountCertificatePrefix); + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + this.CreateIntegrationAccount(integrationAccountName)); - var client = this.GetIntegrationAccountClient(context); + var certificateName = TestUtilities.GenerateName(Constants.IntegrationAccountCertificatePrefix); + var certificate = this.CreateIntegrationAccountCertificate(certificateName); + certificate.Key = null; + var createdCertificate = client.IntegrationAccountCertificates.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + certificateName, + certificate); - var cert = new X509Certificate2(@"TestData/IntegrationAccountCertificate.cer"); + this.ValidateCertificate(certificate, createdCertificate); - var certificateInstance = new IntegrationAccountCertificate - { - Location = "brazilsouth", - PublicCertificate = Convert.ToBase64String(cert.RawData) - }; + client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); + } + } - var createdAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + [Fact] + public void IntegrationAccountCertificates_CreateWithPrivateKey_OK() + { + using (var context = MockContext.Start(this.TestClassName)) + { + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, integrationAccountName, - CreateIntegrationAccountInstance(integrationAccountName)); + this.CreateIntegrationAccount(integrationAccountName)); - var certificate = client.Certificates.CreateOrUpdate(Constants.DefaultResourceGroup, + var certificateName = TestUtilities.GenerateName(Constants.IntegrationAccountCertificatePrefix); + var certificate = this.CreateIntegrationAccountCertificate(certificateName); + certificate.PublicCertificate = null; + var createdCertificate = client.IntegrationAccountCertificates.CreateOrUpdate(Constants.DefaultResourceGroup, integrationAccountName, - integrationAccountCertificateName, - certificateInstance - ); + certificateName, + certificate); - Assert.Equal(certificate.Name, integrationAccountCertificateName); + this.ValidateCertificate(certificate, createdCertificate); - client.Certificates.Delete(Constants.DefaultResourceGroup, integrationAccountName, - integrationAccountCertificateName); client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); } } - /// - /// Tests the create and delete operations of the integration account certificate with private key. - /// - [Fact(Skip = "After upgrade to vs2017, starts failing. Needs investigation")] - public void CreateIntegrationAccountCertificateWithPrivateKey() + [Fact] + public void IntegrationAccountCertificates_Get_OK() { - using ( - MockContext context = MockContext.Start(className: this.testClassName)) + using (var context = MockContext.Start(this.TestClassName)) { - string integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); - string integrationAccountCertificateName = - TestUtilities.GenerateName(Constants.IntegrationAccountCertificatePrefix); + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + this.CreateIntegrationAccount(integrationAccountName)); - var client = this.GetIntegrationAccountClient(context); - var createdAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + var certificateName = TestUtilities.GenerateName(Constants.IntegrationAccountCertificatePrefix); + var certificate = this.CreateIntegrationAccountCertificate(certificateName); + var createdCertificate = client.IntegrationAccountCertificates.CreateOrUpdate(Constants.DefaultResourceGroup, integrationAccountName, - CreateIntegrationAccountInstance(integrationAccountName)); - - var certInstance = CreateIntegrationAccountCertificateInstance(integrationAccountCertificateName, - integrationAccountName); - certInstance.PublicCertificate = null; + certificateName, + certificate); - var certificate = client.Certificates.CreateOrUpdate(Constants.DefaultResourceGroup, + var retrievedCertificate = client.IntegrationAccountCertificates.Get(Constants.DefaultResourceGroup, integrationAccountName, - integrationAccountCertificateName, - certInstance - ); + certificateName); - Assert.Equal(certificate.Name, integrationAccountCertificateName); + this.ValidateCertificate(certificate, retrievedCertificate); - client.Certificates.Delete(Constants.DefaultResourceGroup, integrationAccountName, - integrationAccountCertificateName); client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); } } - /// - /// Tests the delete operations of the integration account certificate on account deletion. - /// - [Fact(Skip = "After upgrade to vs2017, starts failing. Needs investigation")] - public void DeleteIntegrationAccountCertificateOnAccountDeletion() + [Fact] + public void IntegrationAccountCertificates_List_OK() { - using ( - MockContext context = MockContext.Start(className: this.testClassName)) + using (var context = MockContext.Start(this.TestClassName)) { - string integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); - string integrationAccountCertificateName = - TestUtilities.GenerateName(Constants.IntegrationAccountCertificatePrefix); + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + this.CreateIntegrationAccount(integrationAccountName)); - var client = this.GetIntegrationAccountClient(context); - client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, integrationAccountName, - CreateIntegrationAccountInstance(integrationAccountName)); + var certificateName1 = TestUtilities.GenerateName(Constants.IntegrationAccountCertificatePrefix); + var certificate1 = this.CreateIntegrationAccountCertificate(certificateName1); + var createdCertificate1 = client.IntegrationAccountCertificates.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + certificateName1, + certificate1); - var certificate = client.Certificates.CreateOrUpdate(Constants.DefaultResourceGroup, + var certificateName2 = TestUtilities.GenerateName(Constants.IntegrationAccountCertificatePrefix); + var certificate2 = this.CreateIntegrationAccountCertificate(certificateName2); + var createdCertificate2 = client.IntegrationAccountCertificates.CreateOrUpdate(Constants.DefaultResourceGroup, integrationAccountName, - integrationAccountCertificateName, - CreateIntegrationAccountCertificateInstance(integrationAccountCertificateName, - integrationAccountName)); + certificateName2, + certificate2); - Assert.Equal(certificate.Name, integrationAccountCertificateName); + var certificateName3 = TestUtilities.GenerateName(Constants.IntegrationAccountCertificatePrefix); + var certificate3 = this.CreateIntegrationAccountCertificate(certificateName3); + var createdCertificate3 = client.IntegrationAccountCertificates.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + certificateName3, + certificate3); + + var certificates = client.IntegrationAccountCertificates.List(Constants.DefaultResourceGroup, integrationAccountName); + + Assert.Equal(3, certificates.Count()); + this.ValidateCertificate(certificate1, certificates.Single(x => x.Name == certificate1.Name)); + this.ValidateCertificate(certificate2, certificates.Single(x => x.Name == certificate2.Name)); + this.ValidateCertificate(certificate3, certificates.Single(x => x.Name == certificate3.Name)); client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); - Assert.Throws( - () => - client.Certificates.Get(Constants.DefaultResourceGroup, integrationAccountName, - integrationAccountCertificateName)); } } - /// - /// Tests the create and Update operations of the integration account certificate. - /// - [Fact(Skip = "After upgrade to vs2017, starts failing. Needs investigation")] - public void CreateAndUpdateIntegrationAccountCertificate() + [Fact] + public void IntegrationAccountCertificates_Update_OK() { - using ( - MockContext context = MockContext.Start(className: this.testClassName)) + using (var context = MockContext.Start(this.TestClassName)) { - string integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); - string integrationAccountCertificateName = - TestUtilities.GenerateName(Constants.IntegrationAccountCertificatePrefix); - - var client = this.GetIntegrationAccountClient(context); - client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, integrationAccountName, - CreateIntegrationAccountInstance(integrationAccountName)); - client.Certificates.CreateOrUpdate(Constants.DefaultResourceGroup, + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, integrationAccountName, - integrationAccountCertificateName, - CreateIntegrationAccountCertificateInstance(integrationAccountCertificateName, - integrationAccountName)); + this.CreateIntegrationAccount(integrationAccountName)); - var certificate2 = CreateIntegrationAccountCertificateInstance(integrationAccountCertificateName, - integrationAccountName); - - client.Certificates.CreateOrUpdate(Constants.DefaultResourceGroup, + var certificateName = TestUtilities.GenerateName(Constants.IntegrationAccountCertificatePrefix); + var certificate = this.CreateIntegrationAccountCertificate(certificateName); + var createdCertificate = client.IntegrationAccountCertificates.CreateOrUpdate(Constants.DefaultResourceGroup, integrationAccountName, - integrationAccountCertificateName, certificate2); + certificateName, + certificate); - var updatedCertificate = client.Certificates.Get(Constants.DefaultResourceGroup, + var newCertificate = this.CreateIntegrationAccountCertificate(certificateName); + var updatedCertificate = client.IntegrationAccountCertificates.CreateOrUpdate(Constants.DefaultResourceGroup, integrationAccountName, - integrationAccountCertificateName); + certificateName, + newCertificate); - Assert.Equal(updatedCertificate.Name, integrationAccountCertificateName); + this.ValidateCertificate(newCertificate, updatedCertificate); client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); } } - /// - /// Tests the create and get operations of the integration account certificate. - /// - [Fact(Skip = "After upgrade to vs2017, starts failing. Needs investigation")] - public void CreateAndGetIntegrationAccountCertificate() + [Fact] + public void IntegrationAccountCertificates_Delete_OK() { - using ( - MockContext context = MockContext.Start(className: this.testClassName)) + using (var context = MockContext.Start(this.TestClassName)) { - string integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); - string integrationAccountCertificateName = - TestUtilities.GenerateName(Constants.IntegrationAccountCertificatePrefix); - - var client = this.GetIntegrationAccountClient(context); - client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, integrationAccountName, - CreateIntegrationAccountInstance(integrationAccountName)); - var certificate = client.Certificates.CreateOrUpdate(Constants.DefaultResourceGroup, + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, integrationAccountName, - integrationAccountCertificateName, - CreateIntegrationAccountCertificateInstance(integrationAccountCertificateName, - integrationAccountName)); - - Assert.Equal(certificate.Name, integrationAccountCertificateName); + this.CreateIntegrationAccount(integrationAccountName)); - var getCertificate = client.Certificates.Get(Constants.DefaultResourceGroup, + var certificateName = TestUtilities.GenerateName(Constants.IntegrationAccountCertificatePrefix); + var certificate = this.CreateIntegrationAccountCertificate(certificateName); + var createdCertificate = client.IntegrationAccountCertificates.CreateOrUpdate(Constants.DefaultResourceGroup, integrationAccountName, - integrationAccountCertificateName); + certificateName, + certificate); - Assert.Equal(certificate.Name, getCertificate.Name); + client.IntegrationAccountCertificates.Delete(Constants.DefaultResourceGroup, integrationAccountName, certificateName); + Assert.Throws(() => client.IntegrationAccountCertificates.Get(Constants.DefaultResourceGroup, integrationAccountName, certificateName)); client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); } } - /// - /// Tests the create and list operations of the integration account certificate. - /// - [Fact(Skip = "After upgrade to vs2017, starts failing. Needs investigation")] - public void ListIntegrationAccountCertificates() + [Fact] + public void IntegrationAccountCertificates_DeleteWhenDeleteIntegrationAccount_OK() { - using ( - MockContext context = MockContext.Start(className: this.testClassName)) + using (var context = MockContext.Start(this.TestClassName)) { - string integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); - string integrationAccountCertificateName = - TestUtilities.GenerateName(Constants.IntegrationAccountCertificatePrefix); - - var client = this.GetIntegrationAccountClient(context); - client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, integrationAccountName, - CreateIntegrationAccountInstance(integrationAccountName)); - - client.Certificates.CreateOrUpdate(Constants.DefaultResourceGroup, + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, integrationAccountName, - integrationAccountCertificateName, - CreateIntegrationAccountCertificateInstance(integrationAccountCertificateName, - integrationAccountName)); - - var certificates = client.Certificates.ListByIntegrationAccounts(Constants.DefaultResourceGroup, - integrationAccountName); + this.CreateIntegrationAccount(integrationAccountName)); - Assert.True(certificates.Any()); + var certificateName = TestUtilities.GenerateName(Constants.IntegrationAccountCertificatePrefix); + var certificate = this.CreateIntegrationAccountCertificate(certificateName); + var createdCertificate = client.IntegrationAccountCertificates.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + certificateName, + certificate); client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); - + Assert.Throws(() => client.IntegrationAccountCertificates.Get(Constants.DefaultResourceGroup, integrationAccountName, certificateName)); } } #region Private - /// - /// Creates an Integration account certificate. - /// - /// Name of the certificate. - /// Integration account name. - /// Integration account certificate instance - private IntegrationAccountCertificate CreateIntegrationAccountCertificateInstance( - string integrationAccountCertificateName, string integrationAccountName) + private void ValidateCertificate(IntegrationAccountCertificate expected, IntegrationAccountCertificate actual) { + Assert.Equal(expected.Name, actual.Name); + Assert.NotNull(actual.CreatedTime); + Assert.NotNull(actual.ChangedTime); - var cert = new X509Certificate2(@"TestData/IntegrationAccountCertificate.cer"); + if (!string.IsNullOrEmpty(expected.PublicCertificate)) + { + Assert.Equal(expected.PublicCertificate, actual.PublicCertificate); + } + else + { + Assert.True(string.IsNullOrEmpty(actual.PublicCertificate)); + } - var certificate = new IntegrationAccountCertificate + if (expected.Key != null) + { + Assert.Equal(expected.Key.KeyName, actual.Key.KeyName); + Assert.Equal(expected.Key.KeyVault.Id, actual.Key.KeyVault.Id); + Assert.Equal(expected.Key.KeyVersion, actual.Key.KeyVersion); + } + else { - Location = "brazilsouth", - Key = new KeyVaultKeyReference + Assert.Null(actual.Key); + } + } + + private IntegrationAccountCertificate CreateIntegrationAccountCertificate(string certificateName) + { + var cert = new X509Certificate2(@"TestData/IntegrationAccountCertificate.cer"); + var certificate = new IntegrationAccountCertificate(name: certificateName, + location: Constants.DefaultLocation, + key: new KeyVaultKeyReference { KeyName = "PRIVATEKEY", - KeyVault = new KeyVaultKeyReferenceKeyVault() + KeyVault = new KeyVaultKeyReferenceKeyVault { - Id = - string.Format(CultureInfo.InvariantCulture, - "/subscriptions/{0}/resourcegroups/{1}/providers/microsoft.keyvault/vaults/AzureSdkTestKeyVault", - Constants.DefaultSubscription, Constants.DefaultResourceGroup) + Id = $"/subscriptions/{Constants.DefaultSubscription}/resourcegroups/{Constants.DefaultResourceGroup}/providers/microsoft.keyvault/vaults/AzureSdkTestKeyVault" }, KeyVersion = "87d9764197604449b9b8eb7bd8710868" }, - PublicCertificate = Convert.ToBase64String(cert.RawData) - }; + publicCertificate: Convert.ToBase64String(cert.RawData)); + return certificate; } diff --git a/src/SDKs/Logic/Logic.Tests/ScenarioTests/IntegrationAccountMaps.ScenarioTests.cs b/src/SDKs/Logic/Logic.Tests/ScenarioTests/IntegrationAccountMaps.ScenarioTests.cs index 8632d56bd53f1..76d2af3627701 100644 --- a/src/SDKs/Logic/Logic.Tests/ScenarioTests/IntegrationAccountMaps.ScenarioTests.cs +++ b/src/SDKs/Logic/Logic.Tests/ScenarioTests/IntegrationAccountMaps.ScenarioTests.cs @@ -4,8 +4,6 @@ namespace Test.Azure.Management.Logic { - using System.IO; - using System.Collections.Generic; using System.Linq; using Microsoft.Rest.ClientRuntime.Azure.TestFramework; using Xunit; @@ -13,216 +11,419 @@ namespace Test.Azure.Management.Logic using Microsoft.Azure.Management.Logic.Models; using Microsoft.Rest.Azure; - /// - /// Scenario tests for the integration accounts map. - /// [Collection("IntegrationAccountMapScenarioTests")] public class IntegrationAccountMapScenarioTests : ScenarioTestsBase { - /// - /// Map content in string format - /// - private string MapContent { get; set; } + [Fact] + public void IntegrationAccountMaps_CreateXslt_OK() + { + using (var context = MockContext.Start(this.TestClassName)) + { + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + this.CreateIntegrationAccount(integrationAccountName)); + + var mapName = TestUtilities.GenerateName(Constants.IntegrationAccountMapPrefix); + var map = this.CreateIntegrationAccountMap(mapName, MapType.Xslt); + var createdMap = client.IntegrationAccountMaps.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + mapName, + map); + + this.ValidateMap(map, createdMap); - /// - ///Initializes a new instance of the class. - /// - public IntegrationAccountMapScenarioTests() + client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); + } + } + + [Fact] + public void IntegrationAccountMaps_CreateXslt20_OK() { - this.MapContent = File.ReadAllText(@"TestData/SampleXsltMap.xsl"); + using (var context = MockContext.Start(this.TestClassName)) + { + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + this.CreateIntegrationAccount(integrationAccountName)); + + var mapName = TestUtilities.GenerateName(Constants.IntegrationAccountMapPrefix); + var map = this.CreateIntegrationAccountMap(mapName, MapType.Xslt20); + var createdMap = client.IntegrationAccountMaps.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + mapName, + map); + + this.ValidateMap(map, createdMap); + + client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); + } } - /// - /// Tests the create and delete operations of the integration account map. - /// - [Fact(Skip = "After upgrade to vs2017, starts failing. Needs investigation")] - public void CreateAndDeleteIntegrationAccountMap() + [Fact] + public void IntegrationAccountMaps_CreateXslt30_OK() { - using ( - MockContext context = MockContext.Start(className: this.testClassName)) + using (var context = MockContext.Start(this.TestClassName)) { - string integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); - string integrationAccountMapName = TestUtilities.GenerateName(Constants.IntegrationAccountMapPrefix); + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + this.CreateIntegrationAccount(integrationAccountName)); - var client = this.GetIntegrationAccountClient(context); - var createdAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + var mapName = TestUtilities.GenerateName(Constants.IntegrationAccountMapPrefix); + var map = this.CreateIntegrationAccountMap(mapName, MapType.Xslt30); + var createdMap = client.IntegrationAccountMaps.CreateOrUpdate(Constants.DefaultResourceGroup, integrationAccountName, - CreateIntegrationAccountInstance(integrationAccountName)); + mapName, + map); + + this.ValidateMap(map, createdMap); + + client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); + } + } - var map = client.Maps.CreateOrUpdate(Constants.DefaultResourceGroup, + [Fact] + public void IntegrationAccountMaps_CreateLiquid_OK() + { + using (var context = MockContext.Start(this.TestClassName)) + { + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + this.CreateIntegrationAccount(integrationAccountName)); + + var mapName = TestUtilities.GenerateName(Constants.IntegrationAccountMapPrefix); + var map = this.CreateIntegrationAccountMap(mapName, MapType.Liquid); + var createdMap = client.IntegrationAccountMaps.CreateOrUpdate(Constants.DefaultResourceGroup, integrationAccountName, - integrationAccountMapName, - CreateIntegrationAccountMapInstance(integrationAccountMapName, integrationAccountName)); + mapName, + map); - Assert.Equal(map.Name, integrationAccountMapName); - Assert.NotNull(map.ContentLink.Uri); + this.ValidateMap(map, createdMap); - client.Maps.Delete(Constants.DefaultResourceGroup, integrationAccountName, - integrationAccountMapName); client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); } } - /// - /// Tests the delete operations of the integration account map on account deletion. - /// - [Fact(Skip = "After upgrade to vs2017, starts failing. Needs investigation")] - public void DeleteIntegrationAccountMapOnAccountDeletion() + [Fact] + public void IntegrationAccountMaps_Get_OK() { - using ( - MockContext context = MockContext.Start(className: this.testClassName)) + using (var context = MockContext.Start(this.TestClassName)) { - string integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); - string integrationAccountMapName = TestUtilities.GenerateName(Constants.IntegrationAccountMapPrefix); + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + this.CreateIntegrationAccount(integrationAccountName)); - var client = this.GetIntegrationAccountClient(context); - client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, integrationAccountName, - CreateIntegrationAccountInstance(integrationAccountName)); + var mapName = TestUtilities.GenerateName(Constants.IntegrationAccountMapPrefix); + var map = this.CreateIntegrationAccountMap(mapName, MapType.Xslt); + var createdMap = client.IntegrationAccountMaps.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + mapName, + map); - var map = client.Maps.CreateOrUpdate(Constants.DefaultResourceGroup, + var retrievedMap = client.IntegrationAccountMaps.Get(Constants.DefaultResourceGroup, integrationAccountName, - integrationAccountMapName, - CreateIntegrationAccountMapInstance(integrationAccountMapName, integrationAccountName)); + mapName); - Assert.Equal(map.Name, integrationAccountMapName); - Assert.NotNull(map.ContentLink.Uri); + this.ValidateMap(map, retrievedMap); client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); - Assert.Throws( - () => - client.Maps.Get(Constants.DefaultResourceGroup, integrationAccountName, - integrationAccountMapName)); } } - /// - /// Tests the create and Update operations of the integration account map. - /// - [Fact(Skip = "After upgrade to vs2017, starts failing. Needs investigation")] - public void CreateAndUpdateIntegrationAccountMap() + [Fact] + public void IntegrationAccountMaps_List_OK() { - using ( - MockContext context = MockContext.Start(className: this.testClassName)) + using (var context = MockContext.Start(this.TestClassName)) { - string integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); - string integrationAccountMapName = TestUtilities.GenerateName(Constants.IntegrationAccountMapPrefix); - - var client = this.GetIntegrationAccountClient(context); - client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, integrationAccountName, - CreateIntegrationAccountInstance(integrationAccountName)); - client.Maps.CreateOrUpdate(Constants.DefaultResourceGroup, integrationAccountName, - integrationAccountMapName, - CreateIntegrationAccountMapInstance(integrationAccountMapName, integrationAccountName)); - - client.Maps.CreateOrUpdate(Constants.DefaultResourceGroup, integrationAccountName, - integrationAccountMapName, new IntegrationAccountMap - { - ContentType = "application/xml", - Location = Constants.DefaultLocation, - MapType = MapType.Xslt, - Content = this.MapContent, - Metadata = "meta-data" - }); + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + this.CreateIntegrationAccount(integrationAccountName)); - var updatedMap = client.Maps.Get(Constants.DefaultResourceGroup, + var mapName1 = TestUtilities.GenerateName(Constants.IntegrationAccountMapPrefix); + var map1 = this.CreateIntegrationAccountMap(mapName1, MapType.Xslt); + var createdMap1 = client.IntegrationAccountMaps.CreateOrUpdate(Constants.DefaultResourceGroup, integrationAccountName, - integrationAccountMapName); + mapName1, + map1); - Assert.Equal(updatedMap.Name, integrationAccountMapName); - Assert.NotNull(updatedMap.ContentLink.Uri); - Assert.Equal(updatedMap.Metadata, "meta-data"); + var mapName2 = TestUtilities.GenerateName(Constants.IntegrationAccountMapPrefix); + var map2 = this.CreateIntegrationAccountMap(mapName2, MapType.Xslt20); + var createdMap2 = client.IntegrationAccountMaps.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + mapName2, + map2); + + var mapName3 = TestUtilities.GenerateName(Constants.IntegrationAccountMapPrefix); + var map3 = this.CreateIntegrationAccountMap(mapName3, MapType.Liquid); + var createdMap3 = client.IntegrationAccountMaps.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + mapName3, + map3); + + var maps = client.IntegrationAccountMaps.List(Constants.DefaultResourceGroup, integrationAccountName); + + Assert.Equal(3, maps.Count()); + this.ValidateMap(map1, maps.Single(x => x.MapType == map1.MapType)); + this.ValidateMap(map2, maps.Single(x => x.MapType == map2.MapType)); + this.ValidateMap(map3, maps.Single(x => x.MapType == map3.MapType)); client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); } } - /// - /// Tests the create and get operations of the integration account map. - /// - [Fact(Skip = "After upgrade to vs2017, starts failing. Needs investigation")] - public void CreateAndGetIntegrationAccountMap() + [Fact] + public void IntegrationAccountMaps_Update_OK() { - using ( - MockContext context = MockContext.Start(className: this.testClassName)) + using (var context = MockContext.Start(this.TestClassName)) { - string integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); - string integrationAccountMapName = TestUtilities.GenerateName(Constants.IntegrationAccountMapPrefix); + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + this.CreateIntegrationAccount(integrationAccountName)); - var client = this.GetIntegrationAccountClient(context); - client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, integrationAccountName, - CreateIntegrationAccountInstance(integrationAccountName)); - var map = client.Maps.CreateOrUpdate(Constants.DefaultResourceGroup, + var mapName = TestUtilities.GenerateName(Constants.IntegrationAccountMapPrefix); + var map = this.CreateIntegrationAccountMap(mapName, MapType.Xslt); + var createdMap = client.IntegrationAccountMaps.CreateOrUpdate(Constants.DefaultResourceGroup, integrationAccountName, - integrationAccountMapName, - CreateIntegrationAccountMapInstance(integrationAccountMapName, integrationAccountName)); + mapName, + map); - Assert.Equal(map.Name, integrationAccountMapName); + var newMap = this.CreateIntegrationAccountMap(mapName, MapType.Xslt); - var getMap = client.Maps.Get(Constants.DefaultResourceGroup, integrationAccountName, - integrationAccountMapName); + var updatedMap = client.IntegrationAccountMaps.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + mapName, + newMap); - Assert.Equal(map.Name, getMap.Name); + this.ValidateMap(newMap, updatedMap); client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); } } - /// - /// Tests the create and List operations of the integration account map. - /// - [Fact(Skip = "After upgrade to vs2017, starts failing. Needs investigation")] - public void ListIntegrationAccountMaps() + [Fact] + public void IntegrationAccountMaps_Delete_OK() { - using ( - MockContext context = MockContext.Start(className: this.testClassName)) + using (var context = MockContext.Start(this.TestClassName)) { - string integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); - string integrationAccountMapName = TestUtilities.GenerateName(Constants.IntegrationAccountMapPrefix); + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + this.CreateIntegrationAccount(integrationAccountName)); - var client = this.GetIntegrationAccountClient(context); - client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, integrationAccountName, - CreateIntegrationAccountInstance(integrationAccountName)); + var mapName = TestUtilities.GenerateName(Constants.IntegrationAccountMapPrefix); + var map = this.CreateIntegrationAccountMap(mapName, MapType.Xslt); + var createdMap = client.IntegrationAccountMaps.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + mapName, + map); - client.Maps.CreateOrUpdate(Constants.DefaultResourceGroup, integrationAccountName, - integrationAccountMapName, - CreateIntegrationAccountMapInstance(integrationAccountMapName, integrationAccountName)); + client.IntegrationAccountMaps.Delete(Constants.DefaultResourceGroup, integrationAccountName, mapName); + Assert.Throws(() => client.IntegrationAccountMaps.Get(Constants.DefaultResourceGroup, integrationAccountName, mapName)); - var maps = client.Maps.ListByIntegrationAccounts(Constants.DefaultResourceGroup, integrationAccountName); + client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); + } + } + + [Fact] + public void IntegrationAccountMaps_DeleteWhenDeleteIntegrationAccount_OK() + { + using (var context = MockContext.Start(this.TestClassName)) + { + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + this.CreateIntegrationAccount(integrationAccountName)); + + var mapName = TestUtilities.GenerateName(Constants.IntegrationAccountMapPrefix); + var map = this.CreateIntegrationAccountMap(mapName, MapType.Xslt); + var createdMap = client.IntegrationAccountMaps.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + mapName, + map); - Assert.True(maps.Any()); client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); + Assert.Throws(() => client.IntegrationAccountMaps.Get(Constants.DefaultResourceGroup, integrationAccountName, mapName)); + } + } + + [Fact] + public void IntegrationAccountMaps_ListContentCallbackUrl_OK() + { + using (var context = MockContext.Start(this.TestClassName)) + { + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + this.CreateIntegrationAccount(integrationAccountName)); + + var mapName = TestUtilities.GenerateName(Constants.IntegrationAccountMapPrefix); + var map = this.CreateIntegrationAccountMap(mapName, MapType.Xslt); + var createdMap = client.IntegrationAccountMaps.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + mapName, + map); + var contentCallbackUrl = client.IntegrationAccountMaps.ListContentCallbackUrl(Constants.DefaultResourceGroup, + integrationAccountName, + mapName, + new GetCallbackUrlParameters + { + KeyType = "Primary" + }); + + Assert.Equal("GET", contentCallbackUrl.Method); + Assert.Contains(mapName, contentCallbackUrl.Value); + + client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); } } #region Private - /// - /// Creates an Integration account map. - /// - /// Name of the Map - /// Integration account name - /// Map instance - private IntegrationAccountMap CreateIntegrationAccountMapInstance(string integrationAccountMapName, - string integrationAccountName - ) - { - var map = new IntegrationAccountMap + private void ValidateMap(IntegrationAccountMap expected, IntegrationAccountMap actual) + { + Assert.Equal(expected.Name, actual.Name); + Assert.Equal(expected.MapType, actual.MapType); + Assert.NotNull(actual.ContentLink.ContentSize); + Assert.NotEmpty(actual.ContentLink.Uri); + Assert.NotNull(actual.CreatedTime); + Assert.NotNull(actual.ChangedTime); + } + + private IntegrationAccountMap CreateIntegrationAccountMap(string mapName, string mapType) + { + string contentType; + string mapContent; + + switch (mapType) { - ContentType = "application/xml", - Location = Constants.DefaultLocation, - Tags = new Dictionary() - { - {"integrationAccountMapName", integrationAccountMapName} - }, - MapType = MapType.Xslt, - Content = this.MapContent, - Metadata = integrationAccountMapName - }; + case MapType.Xslt: + contentType = "application/xml"; + mapContent = this.XsltMapContent; + break; + case MapType.Xslt20: + contentType = "application/xml"; + mapContent = this.Xslt20MapContent; + break; + case MapType.Xslt30: + contentType = "application/xml"; + mapContent = this.Xslt30MapContent; + break; + case MapType.Liquid: + default: + contentType = "text/plain"; + mapContent = this.LiquidMapContent; + break; + } + + var map = new IntegrationAccountMap(mapType, + name: mapName, + location: Constants.DefaultLocation, + content: mapContent, + contentType: contentType); + return map; } + private string XsltMapContent + { + get + { + return @" + + + + + </HEAD> + <BODY> + <H1> + <xsl:value-of select='greeting'/> + </H1> + <xsl:apply-templates select='greeter'/> + </BODY> + </HTML> + </xsl:template> + <xsl:template match='greeter'> + <DIV> + from + <I> + <xsl:value-of select='.'/> + </I> + </DIV> + </xsl:template> + </xsl:stylesheet>"; + } + } + + private string Xslt20MapContent + { + get + { + return @"<xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='2.0'> + <xsl:template match='@*|node()'> + <xsl:copy> + <xsl:apply-templates select='@*|node()'/> + </xsl:copy> + </xsl:template> + </xsl:stylesheet>"; + } + } + + private string Xslt30MapContent + { + get + { + return @"<xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform' xmlns:xs='http://www.w3.org/2001/XMLSchema' version='3.0'> + <xsl:output method='text'/> + <xsl:template match='/'> + <xsl:value-of select='company/employee/name'/> + <xsl:variable name='test'> + <xsl:text>company/employee/name</xsl:text> + </xsl:variable> + <xsl:evaluate xpath='$test'/> + </xsl:template> + </xsl:stylesheet>"; + } + } + + private string LiquidMapContent + { + get + { + return @"{% if user %} + Hello, {{ user.firstname }} + {% else %} + Hello World! + {% endif %}"; + } + } + #endregion Private } } \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/ScenarioTests/IntegrationAccountPartners.ScenarioTests.cs b/src/SDKs/Logic/Logic.Tests/ScenarioTests/IntegrationAccountPartners.ScenarioTests.cs index fd2619a333298..4679e97c31c4d 100644 --- a/src/SDKs/Logic/Logic.Tests/ScenarioTests/IntegrationAccountPartners.ScenarioTests.cs +++ b/src/SDKs/Logic/Logic.Tests/ScenarioTests/IntegrationAccountPartners.ScenarioTests.cs @@ -12,219 +12,254 @@ namespace Test.Azure.Management.Logic using Microsoft.Azure.Management.Logic.Models; using Microsoft.Rest.Azure; - /// <summary> - /// Scenario tests for the integration accounts partner. - /// </summary> [Collection("IntegrationAccountPartnerScenarioTests")] public class IntegrationAccountPartnerScenarioTests : ScenarioTestsBase { - /// <summary> - /// Tests the create and delete operations of the integration account partner. - /// </summary> - [Fact(Skip = "After upgrade to vs2017, starts failing. Needs investigation")] - public void CreateAndDeleteIntegrationAccountPartner() + [Fact] + public void IntegrationAccountPartners_Create_OK() { - using ( - MockContext context = MockContext.Start(className: this.testClassName)) + using (var context = MockContext.Start(this.TestClassName)) { - string integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); - string integrationAccountPartnerName = - TestUtilities.GenerateName(Constants.IntegrationAccountPartnerPrefix); - var client = this.GetIntegrationAccountClient(context); - var createdAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, integrationAccountName, - CreateIntegrationAccountInstance(integrationAccountName)); - var partner = client.Partners.CreateOrUpdate(Constants.DefaultResourceGroup, - integrationAccountName, integrationAccountPartnerName, - CreateIntegrationAccountPartnerInstance(integrationAccountPartnerName, integrationAccountName)); + this.CreateIntegrationAccount(integrationAccountName)); - Assert.Equal(partner.Name, integrationAccountPartnerName); + var partnerName = TestUtilities.GenerateName(Constants.IntegrationAccountPartnerPrefix); + var partner = this.CreateIntegrationAccountPartner(partnerName); + var createdPartner = client.IntegrationAccountPartners.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + partnerName, + partner); + + this.ValidatePartner(partner, createdPartner); - client.Partners.Delete(Constants.DefaultResourceGroup, integrationAccountName, - integrationAccountPartnerName); client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); } } - /// <summary> - /// Tests the delete operations of the integration account partner on integration account deletion. - /// </summary> - [Fact(Skip = "After upgrade to vs2017, starts failing. Needs investigation")] - public void DeleteIntegrationAccountPartnerOnAccountDeletion() + [Fact] + public void IntegrationAccountPartners_Get_OK() { - using ( - MockContext context = MockContext.Start(className: this.testClassName)) + using (var context = MockContext.Start(this.TestClassName)) { - string integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); - string integrationAccountPartnerName = - TestUtilities.GenerateName(Constants.IntegrationAccountPartnerPrefix); - var client = this.GetIntegrationAccountClient(context); - var createdAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, integrationAccountName, - CreateIntegrationAccountInstance(integrationAccountName)); - var partner = client.Partners.CreateOrUpdate(Constants.DefaultResourceGroup, - integrationAccountName, integrationAccountPartnerName, - CreateIntegrationAccountPartnerInstance(integrationAccountPartnerName, integrationAccountName)); + this.CreateIntegrationAccount(integrationAccountName)); - Assert.Equal(partner.Name, integrationAccountPartnerName); + var partnerName = TestUtilities.GenerateName(Constants.IntegrationAccountPartnerPrefix); + var partner = this.CreateIntegrationAccountPartner(partnerName); + var createdPartner = client.IntegrationAccountPartners.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + partnerName, + partner); + + var retrievedPartner = client.IntegrationAccountPartners.Get(Constants.DefaultResourceGroup, + integrationAccountName, + partnerName); + + this.ValidatePartner(partner, retrievedPartner); client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); - Assert.Throws<CloudException>( - () => - client.Partners.Get(Constants.DefaultResourceGroup, integrationAccountName, - integrationAccountPartnerName)); } } - /// <summary> - /// Tests the create and update operations of the integration account partner. - /// </summary> - [Fact(Skip = "After upgrade to vs2017, starts failing. Needs investigation")] - public void CreateAndUpdateIntegrationAccountPartner() + [Fact] + public void IntegrationAccountPartners_List_OK() { - using ( - MockContext context = MockContext.Start(className: this.testClassName)) + using (var context = MockContext.Start(this.TestClassName)) { - string integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); - string integrationAccountPartnerName = - TestUtilities.GenerateName(Constants.IntegrationAccountPartnerPrefix); + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + this.CreateIntegrationAccount(integrationAccountName)); - var client = this.GetIntegrationAccountClient(context); - client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + var partnerName1 = TestUtilities.GenerateName(Constants.IntegrationAccountPartnerPrefix); + var partner1 = this.CreateIntegrationAccountPartner(partnerName1); + var createdPartner = client.IntegrationAccountPartners.CreateOrUpdate(Constants.DefaultResourceGroup, integrationAccountName, - CreateIntegrationAccountInstance(integrationAccountName)); - client.Partners.CreateOrUpdate(Constants.DefaultResourceGroup, - integrationAccountName, integrationAccountPartnerName, - CreateIntegrationAccountPartnerInstance(integrationAccountPartnerName, integrationAccountName)); + partnerName1, + partner1); - var identities = new List<BusinessIdentity> - { - new BusinessIdentity() {Qualifier = "XX", Value = "DD"}, - new BusinessIdentity() {Qualifier = "XX", Value = "DD"} - }; + var partnerName2 = TestUtilities.GenerateName(Constants.IntegrationAccountPartnerPrefix); + var partner2 = this.CreateIntegrationAccountPartner(partnerName2); + var createdPartner2 = client.IntegrationAccountPartners.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + partnerName2, + partner2); - var updatedPartner = client.Partners.CreateOrUpdate(Constants.DefaultResourceGroup, + var partnerName3 = TestUtilities.GenerateName(Constants.IntegrationAccountPartnerPrefix); + var partner3 = this.CreateIntegrationAccountPartner(partnerName3); + var createdPartner3 = client.IntegrationAccountPartners.CreateOrUpdate(Constants.DefaultResourceGroup, integrationAccountName, - integrationAccountPartnerName, new IntegrationAccountPartner - { - Location = Constants.DefaultLocation, - Metadata = "updated", - PartnerType = PartnerType.B2B, - Content = new PartnerContent - { - B2b = new B2BPartnerContent - { - BusinessIdentities = identities - } - } - }); + partnerName3, + partner3); - Assert.Equal(updatedPartner.Name, integrationAccountPartnerName); + var partners = client.IntegrationAccountPartners.List(Constants.DefaultResourceGroup, integrationAccountName); + + Assert.Equal(3, partners.Count()); + this.ValidatePartner(partner1, partners.Single(x => x.Name == partner1.Name)); + this.ValidatePartner(partner2, partners.Single(x => x.Name == partner2.Name)); + this.ValidatePartner(partner3, partners.Single(x => x.Name == partner3.Name)); client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); } } - /// <summary> - /// Tests the create and get operations of the integration account partner. - /// </summary> - [Fact(Skip = "After upgrade to vs2017, starts failing. Needs investigation")] - public void CreateAndGetIntegrationAccountPartner() + [Fact] + public void IntegrationAccountPartners_Update_OK() { - using ( - MockContext context = MockContext.Start(className: this.testClassName)) + using (var context = MockContext.Start(this.TestClassName)) { - string integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); - string integrationAccountPartnerName = - TestUtilities.GenerateName(Constants.IntegrationAccountPartnerPrefix); - var client = this.GetIntegrationAccountClient(context); - var createdAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, integrationAccountName, - CreateIntegrationAccountInstance(integrationAccountName)); - var partner = client.Partners.CreateOrUpdate(Constants.DefaultResourceGroup, - integrationAccountName, integrationAccountPartnerName, - CreateIntegrationAccountPartnerInstance(integrationAccountPartnerName, integrationAccountName)); - + this.CreateIntegrationAccount(integrationAccountName)); - Assert.NotNull(partner); - Assert.Equal(partner.Name, integrationAccountPartnerName); + var partnerName = TestUtilities.GenerateName(Constants.IntegrationAccountPartnerPrefix); + var partner = this.CreateIntegrationAccountPartner(partnerName); + var createdPartner = client.IntegrationAccountPartners.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + partnerName, + partner); - var getPartner = client.Partners.Get(Constants.DefaultResourceGroup, + var newPartner = this.CreateIntegrationAccountPartner(partnerName); + var updatedPartner = client.IntegrationAccountPartners.CreateOrUpdate(Constants.DefaultResourceGroup, integrationAccountName, - integrationAccountPartnerName); + partnerName, + newPartner); - Assert.Equal(partner.Name, getPartner.Name); + this.ValidatePartner(newPartner, updatedPartner); client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); } } - /// <summary> - /// Tests the create and list operations of the integration account partner. - /// </summary> - [Fact(Skip = "After upgrade to vs2017, starts failing. Needs investigation")] - public void ListIntegrationAccountPartners() + [Fact] + public void IntegrationAccountPartners_Delete_OK() { - using ( - MockContext context = MockContext.Start(className: this.testClassName)) + using (var context = MockContext.Start(this.TestClassName)) { - string integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); - string integrationAccountPartnerName = - TestUtilities.GenerateName(Constants.IntegrationAccountPartnerPrefix); - var client = this.GetIntegrationAccountClient(context); - var createdAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + this.CreateIntegrationAccount(integrationAccountName)); + + var partnerName = TestUtilities.GenerateName(Constants.IntegrationAccountPartnerPrefix); + var partner = this.CreateIntegrationAccountPartner(partnerName); + var createdPartner = client.IntegrationAccountPartners.CreateOrUpdate(Constants.DefaultResourceGroup, integrationAccountName, - CreateIntegrationAccountInstance(integrationAccountName)); + partnerName, + partner); - var createdSchema = client.Partners.CreateOrUpdate(Constants.DefaultResourceGroup, - integrationAccountName, integrationAccountPartnerName, - CreateIntegrationAccountPartnerInstance(integrationAccountPartnerName, integrationAccountName)); + client.IntegrationAccountPartners.Delete(Constants.DefaultResourceGroup, integrationAccountName, partnerName); + Assert.Throws<CloudException>(() => client.IntegrationAccountPartners.Get(Constants.DefaultResourceGroup, integrationAccountName, partnerName)); - var partners = client.Partners.ListByIntegrationAccounts(Constants.DefaultResourceGroup, - integrationAccountName); + client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); + } + } + + [Fact] + public void IntegrationAccountPartners_DeleteWhenDeleteIntegrationAccount_OK() + { + using (var context = MockContext.Start(this.TestClassName)) + { + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + this.CreateIntegrationAccount(integrationAccountName)); - Assert.True(partners.Any()); + var partnerName = TestUtilities.GenerateName(Constants.IntegrationAccountPartnerPrefix); + var partner = this.CreateIntegrationAccountPartner(partnerName); + var createdPartner = client.IntegrationAccountPartners.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + partnerName, + partner); client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); + Assert.Throws<CloudException>(() => client.IntegrationAccountPartners.Get(Constants.DefaultResourceGroup, integrationAccountName, partnerName)); + } + } + + [Fact] + public void IntegrationAccountPartners_ListContentCallbackUrl_OK() + { + using (var context = MockContext.Start(this.TestClassName)) + { + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + this.CreateIntegrationAccount(integrationAccountName)); + + var partnerName = TestUtilities.GenerateName(Constants.IntegrationAccountPartnerPrefix); + var partner = this.CreateIntegrationAccountPartner(partnerName); + var createdPartner = client.IntegrationAccountPartners.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + partnerName, + partner); + + var contentCallbackUrl = client.IntegrationAccountPartners.ListContentCallbackUrl(Constants.DefaultResourceGroup, + integrationAccountName, + partnerName, + new GetCallbackUrlParameters + { + KeyType = "Primary" + }); + + Assert.Equal("GET", contentCallbackUrl.Method); + Assert.Contains(partnerName, contentCallbackUrl.Value); + client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); } } #region Private - /// <summary> - /// Creates an Integration account partner - /// </summary> - /// <param name="integrationAccountPartnerName">Name of the partner</param> - /// <param name="integrationAccountName">Name of the integration account</param> - /// <returns>Schema instance</returns> - private IntegrationAccountPartner CreateIntegrationAccountPartnerInstance(string integrationAccountPartnerName, - string integrationAccountName) + private void ValidatePartner(IntegrationAccountPartner expected, IntegrationAccountPartner actual) { - IDictionary<string, string> tags = new Dictionary<string, string>(); - tags.Add("integrationAccountPartnerName", integrationAccountPartnerName); - - var identities = new List<BusinessIdentity> - { - new BusinessIdentity() {Qualifier = "AA", Value = "ZZ"} - }; + Assert.Equal(expected.Name, actual.Name); + Assert.Equal(expected.PartnerType, actual.PartnerType); + Assert.Equal(expected.Content.B2b.BusinessIdentities.Count(), actual.Content.B2b.BusinessIdentities.Count()); + Assert.Equal(expected.Content.B2b.BusinessIdentities.First().Qualifier, actual.Content.B2b.BusinessIdentities.First().Qualifier); + Assert.Equal(expected.Content.B2b.BusinessIdentities.First().Value, actual.Content.B2b.BusinessIdentities.First().Value); + Assert.NotNull(actual.CreatedTime); + Assert.NotNull(actual.ChangedTime); + } - var partner = new IntegrationAccountPartner - { - Location = Constants.DefaultLocation, - Tags = tags, - PartnerType = PartnerType.B2B, - Metadata = integrationAccountPartnerName, - Content = new PartnerContent + private IntegrationAccountPartner CreateIntegrationAccountPartner(string partnerName) + { + return new IntegrationAccountPartner(PartnerType.B2B, + new PartnerContent { B2b = new B2BPartnerContent { - BusinessIdentities = identities + BusinessIdentities = new List<BusinessIdentity> + { + new BusinessIdentity + { + Qualifier = "AA", + Value = "ZZ" + } + } } - } - }; - - return partner; + }, + name: partnerName, + location: Constants.DefaultLocation); } #endregion Private diff --git a/src/SDKs/Logic/Logic.Tests/ScenarioTests/IntegrationAccountSchemas.ScenarioTests.cs b/src/SDKs/Logic/Logic.Tests/ScenarioTests/IntegrationAccountSchemas.ScenarioTests.cs index a9fbdc18b2fb3..63f3ea4b5a963 100644 --- a/src/SDKs/Logic/Logic.Tests/ScenarioTests/IntegrationAccountSchemas.ScenarioTests.cs +++ b/src/SDKs/Logic/Logic.Tests/ScenarioTests/IntegrationAccountSchemas.ScenarioTests.cs @@ -4,14 +4,13 @@ namespace Test.Azure.Management.Logic { - using System.IO; - using System.Collections.Generic; using System.Linq; using Microsoft.Rest.ClientRuntime.Azure.TestFramework; using Xunit; using Microsoft.Azure.Management.Logic; using Microsoft.Azure.Management.Logic.Models; using Microsoft.Rest.Azure; + using System.IO; /// <summary> /// Scenario tests for the integration accounts schema. @@ -19,215 +18,243 @@ namespace Test.Azure.Management.Logic [Collection("IntegrationAccountSchemaScenarioTests")] public class IntegrationAccountSchemaScenarioTests : ScenarioTestsBase { - /// <summary> - /// Schema content in string format - /// </summary> - private string SchemaContent { get; set; } - - /// <summary> - /// TargetNamespace of the schema - /// </summary> - private string SchemaTargetNamespace { get; set; } - - /// <summary> - ///Initializes a new instance of the <see cref="IntegrationAccountSchemaScenarioTests"/> class. - /// </summary> - public IntegrationAccountSchemaScenarioTests() + [Fact] + public void IntegrationAccountSchemas_Create_OK() { - this.SchemaContent = File.ReadAllText(@"TestData/OrderFile.xsd"); - this.SchemaTargetNamespace = "http://Inbound_EDI.OrderFile"; + using (var context = MockContext.Start(this.TestClassName)) + { + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + this.CreateIntegrationAccount(integrationAccountName)); + + var schemaName = TestUtilities.GenerateName(Constants.IntegrationAccountSchemaPrefix); + var schema = this.CreateIntegrationAccountSchema(schemaName); + var createdSchema = client.IntegrationAccountSchemas.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + schemaName, + schema); + + this.ValidateSchema(schema, createdSchema); + + client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); + } } - /// <summary> - /// Tests the create and delete operations of the integration account schema. - /// </summary> - [Fact(Skip = "After upgrade to vs2017, starts failing. Needs investigation")] - public void CreateAndDeleteIntegrationAccountSchema() + [Fact] + public void IntegrationAccountSchemas_Get_OK() { - using ( - MockContext context = MockContext.Start(className: this.testClassName)) + using (var context = MockContext.Start(this.TestClassName)) { - - string integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); - string integrationAccountSchemaName = TestUtilities.GenerateName(Constants.IntegrationAccountSchemaPrefix); - - var client = this.GetIntegrationAccountClient(context); - var createdAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, - integrationAccountName, - CreateIntegrationAccountInstance(integrationAccountName)); - var schema = client.Schemas.CreateOrUpdate(Constants.DefaultResourceGroup, - integrationAccountName, integrationAccountSchemaName, - CreateIntegrationAccountSchemaInstance(integrationAccountSchemaName, integrationAccountName)); - - Assert.Equal(schema.Name, integrationAccountSchemaName); - //Assert.Equal(schema.TargetNamespace, this.SchemaTargetNamespace); - Assert.NotNull(schema.ContentLink.Uri); - - client.Schemas.Delete(Constants.DefaultResourceGroup, integrationAccountName, - integrationAccountSchemaName); - Assert.Throws<CloudException>( - () => - client.Schemas.Get(Constants.DefaultResourceGroup, integrationAccountName, - integrationAccountSchemaName)); + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + this.CreateIntegrationAccount(integrationAccountName)); + + var schemaName = TestUtilities.GenerateName(Constants.IntegrationAccountSchemaPrefix); + var schema = this.CreateIntegrationAccountSchema(schemaName); + var createdSchema = client.IntegrationAccountSchemas.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + schemaName, + schema); + + var retrievedSchema = client.IntegrationAccountSchemas.Get(Constants.DefaultResourceGroup, + integrationAccountName, + schemaName); + + this.ValidateSchema(schema, retrievedSchema); + client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); } } - /// <summary> - /// Tests the deletion of the integration account schema on account deletion. - /// </summary> - [Fact(Skip = "After upgrade to vs2017, starts failing. Needs investigation")] - public void DeleteIntegrationAccountSchemaOnAccountDeletion() + [Fact] + public void IntegrationAccountSchemas_List_OK() { - using ( - MockContext context = MockContext.Start(className: this.testClassName)) + using (var context = MockContext.Start(this.TestClassName)) { - string integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); - string integrationAccountSchemaName = TestUtilities.GenerateName(Constants.IntegrationAccountSchemaPrefix); + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + this.CreateIntegrationAccount(integrationAccountName)); - var client = this.GetIntegrationAccountClient(context); - var createdAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + var schemaName1 = TestUtilities.GenerateName(Constants.IntegrationAccountSchemaPrefix); + var schema1 = this.CreateIntegrationAccountSchema(schemaName1); + var createdSchema = client.IntegrationAccountSchemas.CreateOrUpdate(Constants.DefaultResourceGroup, integrationAccountName, - CreateIntegrationAccountInstance(integrationAccountName)); - var schema = client.Schemas.CreateOrUpdate(Constants.DefaultResourceGroup, - integrationAccountName, integrationAccountSchemaName, - CreateIntegrationAccountSchemaInstance(integrationAccountSchemaName, integrationAccountName)); + schemaName1, + schema1); + + var schemaName2 = TestUtilities.GenerateName(Constants.IntegrationAccountSchemaPrefix); + var schema2 = this.CreateIntegrationAccountSchema(schemaName2); + var createdSchema2 = client.IntegrationAccountSchemas.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + schemaName2, + schema2); + + var schemaName3 = TestUtilities.GenerateName(Constants.IntegrationAccountSchemaPrefix); + var schema3 = this.CreateIntegrationAccountSchema(schemaName3); + var createdSchema3 = client.IntegrationAccountSchemas.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + schemaName3, + schema3); + + var schemas = client.IntegrationAccountSchemas.List(Constants.DefaultResourceGroup, integrationAccountName); - Assert.Equal(schema.Name, integrationAccountSchemaName); - //Assert.Equal(schema.TargetNamespace, this.SchemaTargetNamespace); - Assert.NotNull(schema.ContentLink.Uri); + Assert.Equal(3, schemas.Count()); + this.ValidateSchema(schema1, schemas.Single(x => x.Name == schema1.Name)); + this.ValidateSchema(schema2, schemas.Single(x => x.Name == schema2.Name)); + this.ValidateSchema(schema3, schemas.Single(x => x.Name == schema3.Name)); client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); - Assert.Throws<CloudException>( - () => - client.Schemas.Get(Constants.DefaultResourceGroup, integrationAccountName, - integrationAccountSchemaName)); } } - /// <summary> - /// Tests the create and Update operations of the integration account schema. - /// </summary> - [Fact(Skip = "After upgrade to vs2017, starts failing. Needs investigation")] - public void CreateAndUpdateIntegrationAccountSchema() + [Fact] + public void IntegrationAccountSchemas_Update_OK() { - using (MockContext context = MockContext.Start(className: this.testClassName)) + using (var context = MockContext.Start(this.TestClassName)) { - string integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); - string integrationAccountSchemaName =TestUtilities.GenerateName(Constants.IntegrationAccountSchemaPrefix); + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + this.CreateIntegrationAccount(integrationAccountName)); - var client = this.GetIntegrationAccountClient(context); - var createdAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + var schemaName = TestUtilities.GenerateName(Constants.IntegrationAccountSchemaPrefix); + var schema = this.CreateIntegrationAccountSchema(schemaName); + var createdSchema = client.IntegrationAccountSchemas.CreateOrUpdate(Constants.DefaultResourceGroup, integrationAccountName, - CreateIntegrationAccountInstance(integrationAccountName)); - var schema = client.Schemas.CreateOrUpdate(Constants.DefaultResourceGroup, - integrationAccountName, integrationAccountSchemaName, - CreateIntegrationAccountSchemaInstance(integrationAccountSchemaName, integrationAccountName)); + schemaName, + schema); - var updatedSchema = client.Schemas.CreateOrUpdate(Constants.DefaultResourceGroup, + var newSchema = this.CreateIntegrationAccountSchema(schemaName); + var updatedSchema = client.IntegrationAccountSchemas.CreateOrUpdate(Constants.DefaultResourceGroup, integrationAccountName, - integrationAccountSchemaName, new IntegrationAccountSchema - { - ContentType = "application/xml", - Location = Constants.DefaultLocation, - SchemaType = SchemaType.Xml, - Content = this.SchemaContent - }); + schemaName, + newSchema); - Assert.Equal(updatedSchema.Name, integrationAccountSchemaName); - Assert.NotNull(updatedSchema.ContentLink.Uri); + this.ValidateSchema(newSchema, updatedSchema); client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); } } - /// <summary> - /// Tests the create and get operations of the integration account schema. - /// </summary> - [Fact(Skip = "After upgrade to vs2017, starts failing. Needs investigation")] - public void CreateAndGetIntegrationAccountSchema() + [Fact] + public void IntegrationAccountSchemas_Delete_OK() { - using ( - MockContext context = MockContext.Start(className: this.testClassName)) + using (var context = MockContext.Start(this.TestClassName)) { - string integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); - string integrationAccountSchemaName = TestUtilities.GenerateName(Constants.IntegrationAccountSchemaPrefix); + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + this.CreateIntegrationAccount(integrationAccountName)); - var client = this.GetIntegrationAccountClient(context); - var createdAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + var schemaName = TestUtilities.GenerateName(Constants.IntegrationAccountSchemaPrefix); + var schema = this.CreateIntegrationAccountSchema(schemaName); + var createdSchema = client.IntegrationAccountSchemas.CreateOrUpdate(Constants.DefaultResourceGroup, integrationAccountName, - CreateIntegrationAccountInstance(integrationAccountName)); - var schema = client.Schemas.CreateOrUpdate(Constants.DefaultResourceGroup, - integrationAccountName, integrationAccountSchemaName, - CreateIntegrationAccountSchemaInstance(integrationAccountSchemaName, integrationAccountName)); + schemaName, + schema); - Assert.Equal(schema.Name, integrationAccountSchemaName); - //Assert.Equal(schema.TargetNamespace, this.SchemaTargetNamespace); + client.IntegrationAccountSchemas.Delete(Constants.DefaultResourceGroup, integrationAccountName, schemaName); + Assert.Throws<CloudException>(() => client.IntegrationAccountSchemas.Get(Constants.DefaultResourceGroup, integrationAccountName, schemaName)); - var getSchema = client.Schemas.Get(Constants.DefaultResourceGroup, + client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); + } + } + + [Fact] + public void IntegrationAccountSchemas_DeleteWhenDeleteIntegrationAccount_OK() + { + using (var context = MockContext.Start(this.TestClassName)) + { + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, integrationAccountName, - integrationAccountSchemaName); + this.CreateIntegrationAccount(integrationAccountName)); - Assert.Equal(schema.Name, getSchema.Name); + var schemaName = TestUtilities.GenerateName(Constants.IntegrationAccountSchemaPrefix); + var schema = this.CreateIntegrationAccountSchema(schemaName); + var createdSchema = client.IntegrationAccountSchemas.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + schemaName, + schema); client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); + Assert.Throws<CloudException>(() => client.IntegrationAccountSchemas.Get(Constants.DefaultResourceGroup, integrationAccountName, schemaName)); } } - /// <summary> - /// Tests the create and List operations of the integration account schema. - /// </summary> - [Fact(Skip = "After upgrade to vs2017, starts failing. Needs investigation")] - public void ListIntegrationAccountSchemas() + [Fact] + public void IntegrationAccountSchemas_ListContentCallbackUrl_OK() { - using ( - MockContext context = MockContext.Start(className: this.testClassName)) + using (var context = MockContext.Start(this.TestClassName)) { - string integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); - string integrationAccountSchemaName = TestUtilities.GenerateName(Constants.IntegrationAccountSchemaPrefix); - - var client = this.GetIntegrationAccountClient(context); - var createdAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, integrationAccountName, - CreateIntegrationAccountInstance(integrationAccountName)); + this.CreateIntegrationAccount(integrationAccountName)); - var createdSchema = client.Schemas.CreateOrUpdate(Constants.DefaultResourceGroup, - integrationAccountName, integrationAccountSchemaName, - CreateIntegrationAccountSchemaInstance(integrationAccountSchemaName, integrationAccountName)); + var schemaName = TestUtilities.GenerateName(Constants.IntegrationAccountSchemaPrefix); + var schema = this.CreateIntegrationAccountSchema(schemaName); + var createdSchema = client.IntegrationAccountSchemas.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + schemaName, + schema); - var schemas = client.Schemas.ListByIntegrationAccounts(Constants.DefaultResourceGroup, - integrationAccountName); + var contentCallbackUrl = client.IntegrationAccountSchemas.ListContentCallbackUrl(Constants.DefaultResourceGroup, + integrationAccountName, + schemaName, + new GetCallbackUrlParameters + { + KeyType = "Primary" + }); - Assert.True(schemas.Any()); + Assert.Equal("GET", contentCallbackUrl.Method); + Assert.Contains(schemaName, contentCallbackUrl.Value); client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); - } } - /// <summary> - /// Creates an Integration account schema - /// </summary> - /// <param name="integrationAccountSchemaName">Name of the schema</param> - /// <param name="integrationAccountName">Name of the integration account</param> - /// <returns>Schema instance</returns> - private IntegrationAccountSchema CreateIntegrationAccountSchemaInstance(string integrationAccountSchemaName, - string integrationAccountName) + #region Private + + private void ValidateSchema(IntegrationAccountSchema expected, IntegrationAccountSchema actual) { - IDictionary<string, string> tags = new Dictionary<string, string>(); - tags.Add("integrationAccountSchemaName", integrationAccountSchemaName); + Assert.Equal(expected.Name, actual.Name); + Assert.Equal(expected.SchemaType, actual.SchemaType); + Assert.Equal(expected.TargetNamespace, actual.TargetNamespace); + Assert.NotEmpty(actual.ContentLink.Uri); + Assert.NotNull(actual.ContentLink.ContentSize); + Assert.NotNull(actual.CreatedTime); + Assert.NotNull(actual.ChangedTime); + } - var schema = new IntegrationAccountSchema - { - ContentType = "application/xml", - Location = Constants.DefaultLocation, - Tags = tags, - SchemaType = SchemaType.Xml, - Content = this.SchemaContent, - Metadata = integrationAccountSchemaName - }; - - return schema; + private IntegrationAccountSchema CreateIntegrationAccountSchema(string schemaName) + { + return new IntegrationAccountSchema( + SchemaType.Xml, + name: schemaName, + location: Constants.DefaultLocation, + targetNamespace: "http://Inbound_EDI.OrderFile", + content: File.ReadAllText(@"TestData/OrderFile.xsd"), + contentType: "application/xml"); } + + #endregion } } \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/ScenarioTests/IntegrationAccountSessions.ScenarioTests.cs b/src/SDKs/Logic/Logic.Tests/ScenarioTests/IntegrationAccountSessions.ScenarioTests.cs index 96da0882fe0b0..b0ad272c9af0d 100644 --- a/src/SDKs/Logic/Logic.Tests/ScenarioTests/IntegrationAccountSessions.ScenarioTests.cs +++ b/src/SDKs/Logic/Logic.Tests/ScenarioTests/IntegrationAccountSessions.ScenarioTests.cs @@ -4,10 +4,10 @@ namespace Test.Azure.Management.Logic { - using System.Collections.Generic; using System.Linq; using Microsoft.Azure.Management.Logic; using Microsoft.Azure.Management.Logic.Models; + using Microsoft.Rest.Azure; using Microsoft.Rest.ClientRuntime.Azure.TestFramework; using Xunit; @@ -17,351 +17,201 @@ namespace Test.Azure.Management.Logic [Collection("IntegrationAccountPartnerScenarioTests")] public class IntegrationAccountSessionScenarioTests : ScenarioTestsBase { - /// <summary> - /// Tests the create and delete operations of the integration account session. - /// https://msazure.visualstudio.com/One/_workitems/edit/587947 - /// </summary> - [Fact(Skip = "After upgrade to vs2017, starts failing. Needs investigation")] - public void CreateAndDeleteIntegrationAccountSession() + [Fact] + public void IntegrationAccountSessions_Create_OK() { - using (var context = MockContext.Start(className: this.testClassName)) + using (var context = MockContext.Start(this.TestClassName)) { - var integrationAccountName = TestUtilities.GenerateName(prefix: Constants.IntegrationAccountPrefix); - var integrationAccountSessionName = TestUtilities.GenerateName(prefix: Constants.IntegrationAccountSessionPrefix); - var client = context.GetServiceClient<LogicManagementClient>(); - - var createdAccount = client.IntegrationAccounts.CreateOrUpdate( - resourceGroupName: Constants.DefaultResourceGroup, - integrationAccountName: integrationAccountName, - integrationAccount: this.CreateIntegrationAccountInstance(integrationAccountName: integrationAccountName)); - - var instance = this.CreateIntegrationAccountSessionInstanceWithoutLocation( - integrationAccountSessionName: integrationAccountSessionName, - integrationAccountName: integrationAccountName); - instance.Content = "256"; - - var session = client.Sessions.CreateOrUpdate( - resourceGroupName: Constants.DefaultResourceGroup, - integrationAccountName: integrationAccountName, - sessionName: integrationAccountSessionName, - session: instance); - - var getSession = client.Sessions.Get( - resourceGroupName: Constants.DefaultResourceGroup, - integrationAccountName: integrationAccountName, - sessionName: integrationAccountSessionName); - - Assert.Equal(expected: integrationAccountSessionName, actual: getSession.Name); - Assert.Equal(expected: "256", actual: getSession.Content); - - // Deleting an existing record should return 200 - client.Sessions.Delete( - resourceGroupName: Constants.DefaultResourceGroup, - integrationAccountName: integrationAccountName, - sessionName: integrationAccountSessionName); - - // Deleting an absent record should not throw, RP returns 204 - client.Sessions.Delete( - resourceGroupName: Constants.DefaultResourceGroup, - integrationAccountName: integrationAccountName, - sessionName: integrationAccountSessionName); - - // Getting an absent record should throw, RP returns 404 and error response - Assert.Throws<ErrorResponseException>(() => client.Sessions - .Get( - resourceGroupName: Constants.DefaultResourceGroup, - integrationAccountName: integrationAccountName, - sessionName: integrationAccountSessionName)); - - // Clean-up the integration account. - client.IntegrationAccounts.Delete( - resourceGroupName: Constants.DefaultResourceGroup, - integrationAccountName: integrationAccountName); + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + this.CreateIntegrationAccount(integrationAccountName)); + + var sessionName = TestUtilities.GenerateName(Constants.IntegrationAccountSessionPrefix); + var session = this.CreateIntegrationAccountSession(sessionName); + var createdSession = client.IntegrationAccountSessions.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + sessionName, + session); + + this.ValidateSession(session, createdSession); + + client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); } } - /// <summary> - /// Tests the create and update operations of the integration account session. - /// </summary> - [Fact(Skip = "After upgrade to vs2017, starts failing. Needs investigation")] - public void CreateAndUpdateIntegrationAccountSession() + [Fact] + public void IntegrationAccountSessions_Get_OK() { - using (var context = MockContext.Start(className: this.testClassName)) + using (var context = MockContext.Start(this.TestClassName)) { - var integrationAccountName = TestUtilities.GenerateName(prefix: Constants.IntegrationAccountPrefix); - var integrationAccountSessionName = TestUtilities.GenerateName(prefix: Constants.IntegrationAccountSessionPrefix); - var client = context.GetServiceClient<LogicManagementClient>(); - - var createdAccount = client.IntegrationAccounts.CreateOrUpdate( - resourceGroupName: Constants.DefaultResourceGroup, - integrationAccountName: integrationAccountName, - integrationAccount: this.CreateIntegrationAccountInstance(integrationAccountName: integrationAccountName)); - - var session = client.Sessions.CreateOrUpdate( - resourceGroupName: Constants.DefaultResourceGroup, - integrationAccountName: integrationAccountName, - sessionName: integrationAccountSessionName, - session: this.CreateIntegrationAccountSessionInstanceWithoutLocation( - integrationAccountSessionName: integrationAccountSessionName, - integrationAccountName: integrationAccountName)); - - var updateSession = this.CreateIntegrationAccountSessionInstanceWithoutLocation( - integrationAccountSessionName: integrationAccountSessionName, - integrationAccountName: integrationAccountName); - updateSession.Content = "foobar_update"; - - var updatedSession = client.Sessions.CreateOrUpdate( - resourceGroupName: Constants.DefaultResourceGroup, - integrationAccountName: integrationAccountName, - sessionName: integrationAccountSessionName, - session: updateSession); - - Assert.Equal(expected: integrationAccountSessionName, actual: updatedSession.Name); - Assert.Equal(expected: "foobar_update", actual: updateSession.Content); - - client.IntegrationAccounts.Delete( - resourceGroupName: Constants.DefaultResourceGroup, - integrationAccountName: integrationAccountName); + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + this.CreateIntegrationAccount(integrationAccountName)); + + var sessionName = TestUtilities.GenerateName(Constants.IntegrationAccountSessionPrefix); + var session = this.CreateIntegrationAccountSession(sessionName); + var createdSession = client.IntegrationAccountSessions.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + sessionName, + session); + + var retrievedSession = client.IntegrationAccountSessions.Get(Constants.DefaultResourceGroup, + integrationAccountName, + sessionName); + + this.ValidateSession(session, retrievedSession); + + client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); } } - /// <summary> - /// Tests the create and get operations of the integration account session. - /// https://msazure.visualstudio.com/One/_workitems/edit/587947 - /// </summary> - [Fact(Skip = "After upgrade to vs2017, starts failing. Needs investigation")] - public void CreateAndGetIntegrationAccountSession() + [Fact] + public void IntegrationAccountSessions_List_OK() { - using (var context = MockContext.Start(className: this.testClassName)) + using (var context = MockContext.Start(this.TestClassName)) { - var integrationAccountName = TestUtilities.GenerateName(prefix: Constants.IntegrationAccountPrefix); - var integrationAccountSessionName = TestUtilities.GenerateName(prefix: Constants.IntegrationAccountSessionPrefix); - var client = context.GetServiceClient<LogicManagementClient>(); - - var createdAccount = client.IntegrationAccounts.CreateOrUpdate( - resourceGroupName: Constants.DefaultResourceGroup, - integrationAccountName: integrationAccountName, - integrationAccount: this.CreateIntegrationAccountInstance(integrationAccountName: integrationAccountName)); - var instance = this.CreateIntegrationAccountSessionInstanceWithoutLocation( - integrationAccountSessionName: integrationAccountSessionName, - integrationAccountName: integrationAccountName); - instance.Content= "256"; - - var session = client.Sessions.CreateOrUpdate( - resourceGroupName: Constants.DefaultResourceGroup, - integrationAccountName: integrationAccountName, - sessionName: integrationAccountSessionName, - session: instance); - - Assert.Equal(actual: session.Name, expected: integrationAccountSessionName); - - var getSession = client.Sessions.Get( - resourceGroupName: Constants.DefaultResourceGroup, - integrationAccountName: integrationAccountName, - sessionName: integrationAccountSessionName); - - Assert.Equal(session.Name, getSession.Name); - Assert.Equal(session.Content, "256"); - - client.IntegrationAccounts.Delete( - resourceGroupName: Constants.DefaultResourceGroup, - integrationAccountName: integrationAccountName); + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + this.CreateIntegrationAccount(integrationAccountName)); + + var sessionName1 = TestUtilities.GenerateName(Constants.IntegrationAccountSessionPrefix); + var session1 = this.CreateIntegrationAccountSession(sessionName1); + var createdSession = client.IntegrationAccountSessions.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + sessionName1, + session1); + + var sessionName2 = TestUtilities.GenerateName(Constants.IntegrationAccountSessionPrefix); + var session2 = this.CreateIntegrationAccountSession(sessionName2); + var createdSession2 = client.IntegrationAccountSessions.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + sessionName2, + session2); + + var sessionName3 = TestUtilities.GenerateName(Constants.IntegrationAccountSessionPrefix); + var session3 = this.CreateIntegrationAccountSession(sessionName3); + var createdSession3 = client.IntegrationAccountSessions.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + sessionName3, + session3); + + var sessions = client.IntegrationAccountSessions.List(Constants.DefaultResourceGroup, integrationAccountName); + + Assert.Equal(3, sessions.Count()); + this.ValidateSession(session1, sessions.Single(x => x.Name == session1.Name)); + this.ValidateSession(session2, sessions.Single(x => x.Name == session2.Name)); + this.ValidateSession(session3, sessions.Single(x => x.Name == session3.Name)); + + client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); } } - /// <summary> - /// Tests the create and list operations of the integration account session. - /// </summary> - [Fact(Skip = "After upgrade to vs2017, starts failing. Needs investigation")] - public void ListIntegrationAccountSessions() + [Fact] + public void IntegrationAccountSessions_Update_OK() { - using (var context = MockContext.Start(className: this.testClassName)) + using (var context = MockContext.Start(this.TestClassName)) { - - var integrationAccountName = TestUtilities.GenerateName(prefix: Constants.IntegrationAccountPrefix); - - var integrationAccountSessionName1 = TestUtilities.GenerateName(prefix: Constants.IntegrationAccountSessionPrefix); - var integrationAccountSessionName2 = TestUtilities.GenerateName(prefix: Constants.IntegrationAccountSessionPrefix); - var integrationAccountSessionName3 = TestUtilities.GenerateName(prefix: Constants.IntegrationAccountSessionPrefix); - - var client = context.GetServiceClient<LogicManagementClient>(); - var createdAccount = client.IntegrationAccounts.CreateOrUpdate( - resourceGroupName: Constants.DefaultResourceGroup, - integrationAccountName: integrationAccountName, - integrationAccount: this.CreateIntegrationAccountInstance(integrationAccountName: integrationAccountName)); - - client.Sessions.CreateOrUpdate( - resourceGroupName: Constants.DefaultResourceGroup, - integrationAccountName: integrationAccountName, - sessionName: integrationAccountSessionName1, - session: this.CreateIntegrationAccountSessionInstanceWithoutLocation( - integrationAccountSessionName: integrationAccountSessionName1, - integrationAccountName: integrationAccountName)); - - client.Sessions.CreateOrUpdate( - resourceGroupName: Constants.DefaultResourceGroup, - integrationAccountName: integrationAccountName, - sessionName: integrationAccountSessionName2, - session: this.CreateIntegrationAccountSessionInstanceWithoutLocation( - integrationAccountSessionName: integrationAccountSessionName2, - integrationAccountName: integrationAccountName)); - - client.Sessions.CreateOrUpdate( - resourceGroupName: Constants.DefaultResourceGroup, - integrationAccountName: integrationAccountName, - sessionName: integrationAccountSessionName3, - session: this.CreateIntegrationAccountSessionInstanceWithoutLocation( - integrationAccountSessionName: integrationAccountSessionName3, - integrationAccountName: integrationAccountName)); - - var sessions = client.Sessions.ListByIntegrationAccounts( - resourceGroupName: Constants.DefaultResourceGroup, - integrationAccountName: integrationAccountName); - - Assert.True(sessions.Count() == 3); - - client.IntegrationAccounts.Delete( - resourceGroupName: Constants.DefaultResourceGroup, - integrationAccountName: integrationAccountName); + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + this.CreateIntegrationAccount(integrationAccountName)); + + var sessionName = TestUtilities.GenerateName(Constants.IntegrationAccountSessionPrefix); + var session = this.CreateIntegrationAccountSession(sessionName); + var createdSession = client.IntegrationAccountSessions.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + sessionName, + session); + + var newSession = this.CreateIntegrationAccountSession(sessionName); + var updatedSession = client.IntegrationAccountSessions.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + sessionName, + newSession); + + this.ValidateSession(newSession, updatedSession); + + client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); } } - /// <summary> - /// Tests the delete operations of the integration account session with integration account. - /// Session must be deleted with the integration account deletion. - /// </summary> - [Fact(Skip = "After upgrade to vs2017, starts failing. Needs investigation")] - public void DeleteIntegrationAccountSessionOnAccountDeletion() + [Fact] + public void IntegrationAccountSessions_Delete_OK() { - using (var context = MockContext.Start(className: this.testClassName)) + using (var context = MockContext.Start(this.TestClassName)) { + var client = this.GetClient(context); + this.CleanResourceGroup(client); var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); - var integrationAccountSessionName = TestUtilities.GenerateName(Constants.IntegrationAccountSessionPrefix); - var client = context.GetServiceClient<LogicManagementClient>(); - - var createdAccount = client.IntegrationAccounts.CreateOrUpdate( - resourceGroupName: Constants.DefaultResourceGroup, - integrationAccountName: integrationAccountName, - integrationAccount: this.CreateIntegrationAccountInstance(integrationAccountName: integrationAccountName)); - var session = client.Sessions.CreateOrUpdate( - resourceGroupName: Constants.DefaultResourceGroup, - integrationAccountName: integrationAccountName, - sessionName: integrationAccountSessionName, - session: this.CreateIntegrationAccountSessionInstanceWithoutLocation( - integrationAccountSessionName: integrationAccountSessionName, - integrationAccountName: integrationAccountName)); - - Assert.Equal(actual: session.Name, expected: integrationAccountSessionName); - - client.IntegrationAccounts.Delete( - resourceGroupName: Constants.DefaultResourceGroup, - integrationAccountName: integrationAccountName); - Assert.Throws<ErrorResponseException>(() => client.Sessions - .Get( - resourceGroupName: Constants.DefaultResourceGroup, - integrationAccountName: integrationAccountName, - sessionName: integrationAccountSessionName)); + var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + this.CreateIntegrationAccount(integrationAccountName)); + + var sessionName = TestUtilities.GenerateName(Constants.IntegrationAccountSessionPrefix); + var session = this.CreateIntegrationAccountSession(sessionName); + var createdSession = client.IntegrationAccountSessions.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + sessionName, + session); + + client.IntegrationAccountSessions.Delete(Constants.DefaultResourceGroup, integrationAccountName, sessionName); + Assert.Throws<CloudException>(() => client.IntegrationAccountSessions.Get(Constants.DefaultResourceGroup, integrationAccountName, sessionName)); + + client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); } } - /// <summary> - /// Tests the create operations of the integration account session using file input. - /// </summary> - [Fact(Skip = "After upgrade to vs2017, starts failing. Needs investigation")] - public void CreateIntegrationAccountSessionUsingFile() + [Fact] + public void IntegrationAccountSessions_DeleteWhenDeleteIntegrationAccount_OK() { - using (var context = MockContext.Start(className: this.testClassName)) + using (var context = MockContext.Start(this.TestClassName)) { - var integrationAccountName = TestUtilities.GenerateName(prefix: Constants.IntegrationAccountPrefix); - var integrationAs2AccountSessionName =TestUtilities.GenerateName(prefix: Constants.IntegrationAccountSessionPrefix); - var integrationX12AccountSessionName = TestUtilities.GenerateName(prefix: Constants.IntegrationAccountSessionPrefix); - var integrationEdifactAccountSessionName = TestUtilities.GenerateName(prefix: Constants.IntegrationAccountSessionPrefix); - var client = context.GetServiceClient<LogicManagementClient>(); - - var createdAccount = client.IntegrationAccounts.CreateOrUpdate( - resourceGroupName: Constants.DefaultResourceGroup, - integrationAccountName: integrationAccountName, - integrationAccount: this.CreateIntegrationAccountInstance(integrationAccountName: integrationAccountName)); - - var as2Session = client.Sessions.CreateOrUpdate( - resourceGroupName: Constants.DefaultResourceGroup, - integrationAccountName: integrationAccountName, - sessionName: integrationAs2AccountSessionName, - session: this.CreateIntegrationAccountSessionInstanceWithLocation( - integrationAccountSessionName: integrationAs2AccountSessionName, - integrationAccountName: integrationAccountName)); - - var edifactSession = client.Sessions.CreateOrUpdate( - resourceGroupName: Constants.DefaultResourceGroup, - integrationAccountName: integrationAccountName, - sessionName: integrationEdifactAccountSessionName, - session: this.CreateIntegrationAccountSessionInstanceWithLocation( - integrationAccountSessionName: integrationEdifactAccountSessionName, - integrationAccountName: integrationAccountName)); - - var x12Session = client.Sessions.CreateOrUpdate( - resourceGroupName: Constants.DefaultResourceGroup, - integrationAccountName: integrationAccountName, - sessionName: integrationX12AccountSessionName, - session: this.CreateIntegrationAccountSessionInstanceWithLocation( - integrationAccountSessionName: integrationX12AccountSessionName, - integrationAccountName: integrationAccountName)); - - Assert.Equal(actual: as2Session.Name, expected: integrationAs2AccountSessionName); - Assert.Equal(actual: edifactSession.Name, expected: integrationEdifactAccountSessionName); - Assert.Equal(actual: x12Session.Name, expected: integrationX12AccountSessionName); - - client.IntegrationAccounts.Delete( - resourceGroupName: Constants.DefaultResourceGroup, - integrationAccountName: integrationAccountName); + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var integrationAccountName = TestUtilities.GenerateName(Constants.IntegrationAccountPrefix); + var integrationAccount = client.IntegrationAccounts.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + this.CreateIntegrationAccount(integrationAccountName)); + + var sessionName = TestUtilities.GenerateName(Constants.IntegrationAccountSessionPrefix); + var session = this.CreateIntegrationAccountSession(sessionName); + var createdSession = client.IntegrationAccountSessions.CreateOrUpdate(Constants.DefaultResourceGroup, + integrationAccountName, + sessionName, + session); + + client.IntegrationAccounts.Delete(Constants.DefaultResourceGroup, integrationAccountName); + Assert.Throws<CloudException>(() => client.IntegrationAccountSessions.Get(Constants.DefaultResourceGroup, integrationAccountName, sessionName)); } } #region Private - /// <summary> - /// Creates an Integration account session without the location property - /// </summary> - /// <param name="integrationAccountSessionName">Name of the integration account session</param> - /// <param name="integrationAccountName">Name of the integration account</param> - /// <returns>Session instance</returns> - private IntegrationAccountSession CreateIntegrationAccountSessionInstanceWithoutLocation( - string integrationAccountSessionName, - string integrationAccountName) + private void ValidateSession(IntegrationAccountSession expected, IntegrationAccountSession actual) { - var tags = new Dictionary<string, string>(); - tags.Add("IntegrationAccountSession", integrationAccountSessionName); - - var session = new IntegrationAccountSession - { - Tags = tags, - Content = "123" - }; - - return session; + Assert.Equal(expected.Name, actual.Name); + Assert.Equal(expected.Content, actual.Content); + Assert.NotNull(actual.CreatedTime); + Assert.NotNull(actual.ChangedTime); } - /// <summary> - /// Creates an Integration account session with the location property - /// </summary> - /// <param name="integrationAccountSessionName">Name of the integration account session</param> - /// <param name="integrationAccountName">Name of the integration account</param> - /// <returns>Session instance</returns> - private IntegrationAccountSession CreateIntegrationAccountSessionInstanceWithLocation( - string integrationAccountSessionName, - string integrationAccountName) + private IntegrationAccountSession CreateIntegrationAccountSession(string sessionName) { - var tags = new Dictionary<string, string>(); - tags.Add("IntegrationAccountSession", integrationAccountSessionName); - - var session = new IntegrationAccountSession - { - Location = Constants.DefaultLocation, - Tags = tags, - Content = "456" - }; - - return session; + return new IntegrationAccountSession( + name: sessionName, + location: Constants.DefaultLocation, + content: "456"); } #endregion Private diff --git a/src/SDKs/Logic/Logic.Tests/ScenarioTests/Operations.ScenarioTests.cs b/src/SDKs/Logic/Logic.Tests/ScenarioTests/Operations.ScenarioTests.cs new file mode 100644 index 0000000000000..a5a1e8c465b2c --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/ScenarioTests/Operations.ScenarioTests.cs @@ -0,0 +1,27 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. + +namespace Test.Azure.Management.Logic +{ + using Microsoft.Rest.ClientRuntime.Azure.TestFramework; + using Xunit; + using Microsoft.Azure.Management.Logic; + + [Collection("OperationsScenarioTests")] + public class OperationsScenarioTests : ScenarioTestsBase + { + [Fact] + public void Operations_List_OK() + { + using (var context = MockContext.Start(this.TestClassName)) + { + var client = this.GetClient(context); + var operations = client.Operations.List(); + + Assert.NotEmpty(operations); + } + + } + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/ScenarioTests/ProviderOperationsTests.cs b/src/SDKs/Logic/Logic.Tests/ScenarioTests/ProviderOperationsTests.cs deleted file mode 100644 index 050d1e2be1d3e..0000000000000 --- a/src/SDKs/Logic/Logic.Tests/ScenarioTests/ProviderOperationsTests.cs +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. - -namespace Test.Azure.Management.Logic -{ - using System.Linq; - using Microsoft.Rest.ClientRuntime.Azure.TestFramework; - using Xunit; - using Microsoft.Azure.Management.Logic; - - /// <summary> - /// Scenario tests for the provider operations. - /// </summary> - [Collection("ProviderOperationsTests")] - public class ProviderOperationsTests : ScenarioTestsBase - { - /// <summary> - /// Tests the get operation of provider. - /// </summary> - [Fact(Skip = @"Missing recording file 'Message: System.ArgumentException : Unable to find recorded mock file '.\src\SDKs\Logic\Logic.Tests\bin\Debug\netcoreapp1.1\SessionRecords\Test.Azure.Management.Logic.WorkflowTriggersScenarioTests\GetProviderOperations.json'.' ")] - public void GetProviderOperations() - { - using ( - MockContext context = MockContext.Start(className: this.testClassName)) - { - var client = context.GetServiceClient<LogicManagementClient>(); - var operationList = client.ListOperations(); - Assert.True(operationList.Count() > 0); - } - } - } -} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/ScenarioTests/ScenarioTestsBase.cs b/src/SDKs/Logic/Logic.Tests/ScenarioTests/ScenarioTestsBase.cs index 74d2bab8c7afa..370d5315bc2f3 100644 --- a/src/SDKs/Logic/Logic.Tests/ScenarioTests/ScenarioTestsBase.cs +++ b/src/SDKs/Logic/Logic.Tests/ScenarioTests/ScenarioTestsBase.cs @@ -18,10 +18,10 @@ abstract public class ScenarioTestsBase : TestBase /// <summary> /// Name of the test class /// </summary> - protected string testClassName { get { return this.GetType().FullName; } } + protected string TestClassName => this.GetType().FullName; /// <summary> - /// Default serviceplan Resource id + /// Default Service Plan resource id /// </summary> protected string ServicePlanResourceId { @@ -37,195 +37,81 @@ protected string ServicePlanResourceId } } - /// <summary> - /// Default SKU reference. - /// </summary> - protected Sku Sku => new Sku + protected void CleanResourceGroup(LogicManagementClient client, string resourceGroup = Constants.DefaultResourceGroup) { - Name = SkuName.Standard, - Plan = new ResourceReference(id: ServicePlanResourceId) - }; + var integrationAccounts = client.IntegrationAccounts.ListByResourceGroup(resourceGroup); + foreach(var integrationAccount in integrationAccounts) + { + client.IntegrationAccounts.Delete(resourceGroup, integrationAccount.Name); + } + + var workflows = client.Workflows.ListByResourceGroup(resourceGroup); + foreach(var workflow in workflows) + { + client.Workflows.Delete(resourceGroup, workflow.Name); + } + } - protected LogicManagementClient GetIntegrationAccountClient(MockContext context) + protected LogicManagementClient GetClient(MockContext context) { - var client = context.GetServiceClient<LogicManagementClient>(); - return client; + return context.GetServiceClient<LogicManagementClient>(); } /// <summary> /// Creates an Integartion account. /// </summary> - /// <param name="integrationAccountName">Integration AccountName</param> - /// <returns>IntegrationAccount instance</returns> - protected IntegrationAccount CreateIntegrationAccountInstance(string integrationAccountName) + /// <param name="integrationAccountName">Integration Account name</param> + /// <returns>Integration Account instance</returns> + protected IntegrationAccount CreateIntegrationAccount(string integrationAccountName) { - var createdAccount = new IntegrationAccount - { - Sku = new IntegrationAccountSku() - { - Name = IntegrationAccountSkuName.Standard - }, - Properties = new JObject(), - Location = Constants.DefaultLocation - }; - return createdAccount; - } - - protected string resourceGroupName = "flowrg"; + var integrationAccount = new IntegrationAccount(name: integrationAccountName, + location: Constants.DefaultLocation, + properties: new JObject(), + sku: new IntegrationAccountSku(IntegrationAccountSkuName.Standard)); - protected string location = "westus"; - - protected LogicManagementClient GetWorkflowClient(MockContext context) - { - var client = context.GetServiceClient<LogicManagementClient>(); - return client; + return integrationAccount; } - #region Data + /// <summary> + /// Creates a workflow. + /// </summary> + /// <param name="workflowName">Workflow name</param> + /// <returns>a workflow</returns> + protected Workflow CreateWorkflow(string workflowName) + { + var workflow = new Workflow(name: workflowName, + location: Constants.DefaultLocation, + definition: this.WorkflowDefinition); - protected string definition = @"{ - '$schema':'http://schema.management.azure.com/providers/Microsoft.Logic/schemas/2014-12-01-preview/workflowdefinition.json#', - 'contentVersion':'1.0.0.0', - 'parameters':{ - 'runworkflowmanually':{ - 'defaultValue':true, - 'type':'Bool' - }, - 'subscription':{ - 'defaultValue':'1a66ce04-b633-4a0b-b2bc-a912ec8986a6', - 'type':'String' - }, - 'resourceGroup':{ - 'defaultValue':'logicapps-e2e', - 'type':'String' - }, - 'authentication':{ - 'defaultValue':{ - 'type':'ActiveDirectoryOAuth', - 'audience':'https://management.azure.com/', - 'tenant':'00000000-0000-0000-0000-000000000000', - 'clientId':'00000000-0000-0000-0000-000000000000', - 'secret':'Dummy' - }, - 'type':'Object' + return workflow; } - }, - 'triggers':{ - }, - 'actions':{ - 'listWorkflows':{ - 'type':'Http', - 'inputs':{ - 'method':'GET', - 'uri':'someUri', - 'authentication':'@parameters(\'authentication\')' - }, - 'conditions':[ - ] - } - }, - 'outputs':{ - } -}"; - protected string simpleDefinition = @"{ - '$schema':'http://schema.management.azure.com/providers/Microsoft.Logic/schemas/2014-12-01-preview/workflowdefinition.json#', - 'contentVersion':'1.0.0.0', - 'parameters':{ - }, - 'triggers':{ - }, - 'actions':{ - 'httpAction':{ - 'type':'Http', - 'inputs':{ - 'method':'GET', - 'uri':'invalidUri' + private JToken WorkflowDefinition => JToken.Parse(@" + { + '$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': {} + } + } }, - 'conditions':[ - ] - } - }, - 'outputs':{ - } -}"; - - protected string regenerateAccessKeyDefinition = @"{ - '$schema': 'http://json-schema.org/draft-04/schema/2016-06-01/workflowdefinition.json#', - 'triggers': { - 'manual': { - 'type':'request', - 'kind':'http' - }, - }, - 'actions': { - 'response': { - 'type': 'response', - 'inputs': { - 'statusCode': '200', - 'body': { - 'value': 'test', - }, - 'headers': { + 'actions': { + 'Response': { + 'runAfter': {}, + 'type': 'Response', + 'kind': 'Http', + 'inputs': { + 'statusCode': 200 + } } - } - } - } -}"; - - protected string listSwaggerDefinition = @"{ - '$schema': 'http://json-schema.org/draft-04/schema/2016-06-01', - 'triggers': { - 'request': { - 'type': 'Request', - 'kind': 'Http', - 'inputs': { - 'relativePath': 'abc/{xyz}', - 'method': 'get' - } - } - }, - 'actions': { - 'response': { - 'type': 'response', - 'inputs': { - 'statusCode': '200', - 'body': {}, - 'headers': {} - } - } - }, - 'outputs': {} -}"; - - protected string simpleTriggerDefinition = @"{ - '$schema':'http://schema.management.azure.com/providers/Microsoft.Logic/schemas/2014-12-01-preview/workflowdefinition.json#', - 'contentVersion':'1.0.0.0', - 'parameters':{ - }, - 'triggers':{ - 'httpTrigger':{ - 'type':'Http', - 'inputs':{ - 'method':'GET', - 'uri':'invalidUri' }, - 'recurrence':{ - 'frequency':'Minute', - 'interval':60 - } - } - }, - 'actions':{ - }, - 'outputs':{ - 'output1':{ - 'type':'string', - 'value':'@trigger().outputs', - } - } -}"; - #endregion + 'outputs': {} + }"); } } diff --git a/src/SDKs/Logic/Logic.Tests/ScenarioTests/WorkflowTriggerHistories.ScenarioTests.cs b/src/SDKs/Logic/Logic.Tests/ScenarioTests/WorkflowTriggerHistories.ScenarioTests.cs index d3cc0fc047fcf..dc818cc477849 100644 --- a/src/SDKs/Logic/Logic.Tests/ScenarioTests/WorkflowTriggerHistories.ScenarioTests.cs +++ b/src/SDKs/Logic/Logic.Tests/ScenarioTests/WorkflowTriggerHistories.ScenarioTests.cs @@ -4,85 +4,85 @@ namespace Test.Azure.Management.Logic { + using System; using System.Linq; using Microsoft.Azure.Management.Logic; using Microsoft.Azure.Management.Logic.Models; using Microsoft.Rest.ClientRuntime.Azure.TestFramework; - using Newtonsoft.Json.Linq; using Xunit; [Collection("WorkflowTriggerHistoriesScenarioTests")] public class WorkflowTriggerHistoriesScenarioTests : ScenarioTestsBase { - [Fact(Skip = "After upgrade to vs2017, starts failing. Needs investigation")] - public void ListHistory() + [Fact] + public void WorkflowTriggerHistories_Get_OK() { - using (MockContext context = MockContext.Start(className: this.testClassName)) + using (var context = MockContext.Start(this.TestClassName)) { - string workflowName = TestUtilities.GenerateName("logicwf"); - var client = this.GetWorkflowClient(context); - - // Create a workflow - var workflow = client.Workflows.CreateOrUpdate( - resourceGroupName: this.resourceGroupName, - workflowName: workflowName, - workflow: new Workflow - { - Location = this.location, - Sku = this.Sku, - Definition = JToken.Parse(this.simpleTriggerDefinition) - }); + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var workflowName = TestUtilities.GenerateName(Constants.WorkflowPrefix); + var workflow = this.CreateWorkflow(workflowName); + var createdWorkflow = client.Workflows.CreateOrUpdate(Constants.DefaultResourceGroup, + workflowName, + workflow); - // List the histories - var histories = client.WorkflowTriggerHistories.List(this.resourceGroupName, workflowName, "httpTrigger"); + var preHistories = client.WorkflowTriggerHistories.List(Constants.DefaultResourceGroup, workflowName, Constants.DefaultTriggerName); + Assert.Empty(preHistories); - // Run the trigger - client.WorkflowTriggers.Run(this.resourceGroupName, workflowName, "httpTrigger"); + client.WorkflowTriggers.Run(Constants.DefaultResourceGroup, workflowName, Constants.DefaultTriggerName); - // List the histories - histories = client.WorkflowTriggerHistories.List(this.resourceGroupName, workflowName, "httpTrigger"); - Assert.NotEmpty(histories); + var postHistories = client.WorkflowTriggerHistories.List(Constants.DefaultResourceGroup, workflowName, Constants.DefaultTriggerName); + var retrievedHistory = client.WorkflowTriggerHistories.Get(Constants.DefaultResourceGroup, + workflowName, + Constants.DefaultTriggerName, + postHistories.First().Name); - // Delete the workflow - client.Workflows.Delete(this.resourceGroupName, workflowName); + this.ValidateHistory(retrievedHistory); + + client.Workflows.Delete(Constants.DefaultResourceGroup, workflowName); } } - [Fact(Skip = "After upgrade to vs2017, starts failing. Needs investigation")] - public void GetHistory() + [Fact] + public void WorkflowTriggerHistories_List_OK() { - using (MockContext context = MockContext.Start(className: this.testClassName)) + using (var context = MockContext.Start(this.TestClassName)) { - string workflowName = TestUtilities.GenerateName("logicwf"); - var client = this.GetWorkflowClient(context); - - // Create a workflow - var workflow = client.Workflows.CreateOrUpdate( - resourceGroupName: this.resourceGroupName, - workflowName: workflowName, - workflow: new Workflow - { - Location = this.location, - Sku = this.Sku, - Definition = JToken.Parse(this.simpleTriggerDefinition) - }); + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var workflowName = TestUtilities.GenerateName(Constants.WorkflowPrefix); + var workflow = this.CreateWorkflow(workflowName); + var createdWorkflow = client.Workflows.CreateOrUpdate(Constants.DefaultResourceGroup, + workflowName, + workflow); - // Run the trigger - client.WorkflowTriggers.Run(this.resourceGroupName, workflowName, "httpTrigger"); + var preHistories = client.WorkflowTriggerHistories.List(Constants.DefaultResourceGroup, workflowName, Constants.DefaultTriggerName); + Assert.Empty(preHistories); - // List the histories - var histories = client.WorkflowTriggerHistories.List(this.resourceGroupName, workflowName, "httpTrigger"); - Assert.NotEmpty(histories); + client.WorkflowTriggers.Run(Constants.DefaultResourceGroup, workflowName, Constants.DefaultTriggerName); + client.WorkflowTriggers.Run(Constants.DefaultResourceGroup, workflowName, Constants.DefaultTriggerName); - // Get the history - var history = client.WorkflowTriggerHistories.Get(this.resourceGroupName, workflowName, "httpTrigger", histories.First().Name); + var postHistories = client.WorkflowTriggerHistories.List(Constants.DefaultResourceGroup, workflowName, Constants.DefaultTriggerName); - Assert.NotNull(history.StartTime); - Assert.NotNull(history.EndTime); + Assert.Equal(2, postHistories.Count()); + foreach (var history in postHistories) + { + this.ValidateHistory(history); + } - // Delete the workflow - client.Workflows.Delete(this.resourceGroupName, workflowName); + client.Workflows.Delete(Constants.DefaultResourceGroup, workflowName); } } + + private void ValidateHistory(WorkflowTriggerHistory actual) + { + Assert.NotEmpty(actual.Correlation.ClientTrackingId); + Assert.True(actual.Fired); + Assert.NotEmpty(actual.Id); + Assert.NotEmpty(actual.Run.Name); + Assert.NotNull(actual.StartTime); + Assert.NotNull(actual.EndTime); + } } } diff --git a/src/SDKs/Logic/Logic.Tests/ScenarioTests/WorkflowTriggers.ScenarioTests.cs b/src/SDKs/Logic/Logic.Tests/ScenarioTests/WorkflowTriggers.ScenarioTests.cs index b5890d4cee6c2..bddddb53b9768 100644 --- a/src/SDKs/Logic/Logic.Tests/ScenarioTests/WorkflowTriggers.ScenarioTests.cs +++ b/src/SDKs/Logic/Logic.Tests/ScenarioTests/WorkflowTriggers.ScenarioTests.cs @@ -7,101 +7,148 @@ namespace Test.Azure.Management.Logic using System.Linq; using Microsoft.Azure.Management.Logic; using Microsoft.Azure.Management.Logic.Models; + using Microsoft.Rest.Azure; using Microsoft.Rest.ClientRuntime.Azure.TestFramework; - using Newtonsoft.Json.Linq; using Xunit; [Collection("WorkflowTriggersScenarioTests")] public class WorkflowTriggersScenarioTests : ScenarioTestsBase { - [Fact(Skip = "After upgrade to vs2017, starts failing. Needs investigation")] - public void ListNoTrigger() + [Fact] + public void WorkflowTriggers_Get_OK() + { + using (var context = MockContext.Start(this.TestClassName)) + { + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var workflowName = TestUtilities.GenerateName(Constants.WorkflowPrefix); + var workflow = this.CreateWorkflow(workflowName); + var createdWorkflow = client.Workflows.CreateOrUpdate(Constants.DefaultResourceGroup, + workflowName, + workflow); + + var retrievedTrigger = client.WorkflowTriggers.Get(Constants.DefaultResourceGroup, + workflowName, + Constants.DefaultTriggerName); + + this.ValidateTrigger(retrievedTrigger); + + client.Workflows.Delete(Constants.DefaultResourceGroup, workflowName); + } + } + + [Fact] + public void WorkflowTriggers_List_OK() + { + using (var context = MockContext.Start(this.TestClassName)) + { + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var workflowName = TestUtilities.GenerateName(Constants.WorkflowPrefix); + var workflow = this.CreateWorkflow(workflowName); + var createdWorkflow = client.Workflows.CreateOrUpdate(Constants.DefaultResourceGroup, + workflowName, + workflow); + + var triggers = client.WorkflowTriggers.List(Constants.DefaultResourceGroup, workflowName, Constants.DefaultTriggerName); + + this.ValidateTrigger(triggers.First()); + + client.Workflows.Delete(Constants.DefaultResourceGroup, workflowName); + } + } + + [Fact] + public void WorkflowTriggers_GetJsonSchema_OK() { - using (MockContext context = MockContext.Start(className: this.testClassName)) + using (var context = MockContext.Start(this.TestClassName)) { - string workflowName = TestUtilities.GenerateName("logicwf"); - var client = this.GetWorkflowClient(context); - - // Create a workflow - var workflow = client.Workflows.CreateOrUpdate( - resourceGroupName: this.resourceGroupName, - workflowName: workflowName, - workflow: new Workflow - { - Location = this.location, - Sku = this.Sku, - Definition = JToken.Parse(this.definition) - }); - - // List the triggers - var triggers = client.WorkflowTriggers.List(this.resourceGroupName, workflowName); - - Assert.Equal(0, triggers.Count()); - - // Delete the workflow - client.Workflows.Delete(this.resourceGroupName, workflowName); + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var workflowName = TestUtilities.GenerateName(Constants.WorkflowPrefix); + var workflow = this.CreateWorkflow(workflowName); + var createdWorkflow = client.Workflows.CreateOrUpdate(Constants.DefaultResourceGroup, + workflowName, + workflow); + + var jsonSchema = client.WorkflowTriggers.GetSchemaJson(Constants.DefaultResourceGroup, + workflowName, + Constants.DefaultTriggerName); + + Assert.NotNull(jsonSchema); + + client.Workflows.Delete(Constants.DefaultResourceGroup, workflowName); } } [Fact] - public void GetAndListTriggers() + public void WorkflowTriggers_ListCallbackUrl_OK() { - using (MockContext context = MockContext.Start(className: this.testClassName)) + using (var context = MockContext.Start(this.TestClassName)) { - string workflowName = TestUtilities.GenerateName("logicwf"); - var client = this.GetWorkflowClient(context); - - // Create a workflow - var workflow = client.Workflows.CreateOrUpdate( - resourceGroupName: this.resourceGroupName, - workflowName: workflowName, - workflow: new Workflow - { - Location = this.location, - Sku = this.Sku, - Definition = JToken.Parse(this.simpleTriggerDefinition) - }); - - // List the triggers - var triggers = client.WorkflowTriggers.List(this.resourceGroupName, workflowName); - - Assert.Equal(1, triggers.Count()); - - var trigger = client.WorkflowTriggers.Get(this.resourceGroupName, workflowName, "httpTrigger"); - - Assert.NotNull(trigger.CreatedTime); - Assert.NotNull(trigger.ChangedTime); - - // Delete the workflow - client.Workflows.Delete(this.resourceGroupName, workflowName); + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var workflowName = TestUtilities.GenerateName(Constants.WorkflowPrefix); + var workflow = this.CreateWorkflow(workflowName); + var createdWorkflow = client.Workflows.CreateOrUpdate(Constants.DefaultResourceGroup, + workflowName, + workflow); + + var callbackUrl = client.WorkflowTriggers.ListCallbackUrl(Constants.DefaultResourceGroup, + workflowName, + Constants.DefaultTriggerName); + + Assert.NotEmpty(callbackUrl.BasePath); + + client.Workflows.Delete(Constants.DefaultResourceGroup, workflowName); } } [Fact] - public void RunTrigger() + public void WorkflowTriggers_Run_OK() { - using (MockContext context = MockContext.Start(className: this.testClassName)) + using (var context = MockContext.Start(this.TestClassName)) { - string workflowName = TestUtilities.GenerateName("logicwf"); - var client = this.GetWorkflowClient(context); - - // Create a workflow - var workflow = client.Workflows.CreateOrUpdate( - resourceGroupName: this.resourceGroupName, - workflowName: workflowName, - workflow: new Workflow - { - Location = this.location, - Sku = this.Sku, - Definition = JToken.Parse(this.simpleTriggerDefinition) - }); - - // Run the trigger - client.WorkflowTriggers.Run(this.resourceGroupName, workflowName, "httpTrigger"); - - // Delete the workflow - client.Workflows.Delete(this.resourceGroupName, workflowName); + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var workflowName = TestUtilities.GenerateName(Constants.WorkflowPrefix); + var workflow = this.CreateWorkflow(workflowName); + var createdWorkflow = client.Workflows.CreateOrUpdate(Constants.DefaultResourceGroup, + workflowName, + workflow); + + client.WorkflowTriggers.Run(Constants.DefaultResourceGroup, workflowName, Constants.DefaultTriggerName); + + client.Workflows.Delete(Constants.DefaultResourceGroup, workflowName); } } + + [Fact] + public void WorkflowTriggers_Reset_Exception() + { + using (var context = MockContext.Start(this.TestClassName)) + { + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var workflowName = TestUtilities.GenerateName(Constants.WorkflowPrefix); + var workflow = this.CreateWorkflow(workflowName); + var createdWorkflow = client.Workflows.CreateOrUpdate(Constants.DefaultResourceGroup, + workflowName, + workflow); + + Assert.Throws<CloudException>(() => client.WorkflowTriggers.Reset(Constants.DefaultResourceGroup, workflowName, Constants.DefaultTriggerName)); + + client.Workflows.Delete(Constants.DefaultResourceGroup, workflowName); + } + } + + private void ValidateTrigger(WorkflowTrigger actual) + { + Assert.Equal(Constants.DefaultTriggerName, actual.Name); + Assert.Equal("Succeeded", actual.ProvisioningState); + Assert.Equal("Enabled", actual.State); + Assert.NotNull(actual.CreatedTime); + Assert.NotNull(actual.ChangedTime); + } } } diff --git a/src/SDKs/Logic/Logic.Tests/ScenarioTests/WorkflowVersionTriggers.ScenarioTests.cs b/src/SDKs/Logic/Logic.Tests/ScenarioTests/WorkflowVersionTriggers.ScenarioTests.cs new file mode 100644 index 0000000000000..2463951cdb876 --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/ScenarioTests/WorkflowVersionTriggers.ScenarioTests.cs @@ -0,0 +1,43 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. + +namespace Test.Azure.Management.Logic +{ + using Microsoft.Azure.Management.Logic; + using Microsoft.Azure.Management.Logic.Models; + using Microsoft.Rest.ClientRuntime.Azure.TestFramework; + using Xunit; + + [Collection("WorkflowVersionTriggersScenarioTests")] + public class WorkflowVersionTriggersScenarioTests : ScenarioTestsBase + { + [Fact] + public void WorkflowVersionTriggers_ListCallbackUrl_OK() + { + using (var context = MockContext.Start(this.TestClassName)) + { + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var workflowName = TestUtilities.GenerateName(Constants.WorkflowPrefix); + var workflow = this.CreateWorkflow(workflowName); + var createdWorkflow = client.Workflows.CreateOrUpdate(Constants.DefaultResourceGroup, + workflowName, + workflow); + + var callbackUrl = client.WorkflowVersionTriggers.ListCallbackUrl(Constants.DefaultResourceGroup, + workflowName, + createdWorkflow.Version, + Constants.DefaultTriggerName, + new GetCallbackUrlParameters + { + KeyType = "Primary" + }); + + Assert.NotEmpty(callbackUrl.BasePath); + + client.Workflows.Delete(Constants.DefaultResourceGroup, workflowName); + } + } + } +} diff --git a/src/SDKs/Logic/Logic.Tests/ScenarioTests/WorkflowVersions.ScenarioTests.cs b/src/SDKs/Logic/Logic.Tests/ScenarioTests/WorkflowVersions.ScenarioTests.cs index ccbba8cf067d8..503c36833c4f2 100644 --- a/src/SDKs/Logic/Logic.Tests/ScenarioTests/WorkflowVersions.ScenarioTests.cs +++ b/src/SDKs/Logic/Logic.Tests/ScenarioTests/WorkflowVersions.ScenarioTests.cs @@ -7,39 +7,62 @@ namespace Test.Azure.Management.Logic using Microsoft.Azure.Management.Logic; using Microsoft.Azure.Management.Logic.Models; using Microsoft.Rest.ClientRuntime.Azure.TestFramework; - using Newtonsoft.Json.Linq; using Xunit; [Collection("WorkflowVersionsScenarioTests")] public class WorkflowVersionsScenarioTests : ScenarioTestsBase { - [Fact(Skip = "After upgrade to vs2017, starts failing. Needs investigation")] - public void CreateAndGetWorkflowVersion() + [Fact] + public void WorkflowVersions_Get_OK() { - using (MockContext context = MockContext.Start(className: this.testClassName)) + using (var context = MockContext.Start(this.TestClassName)) { - string workflowName = TestUtilities.GenerateName("logicwf"); - var client = this.GetWorkflowClient(context); - // Create a workflow - var workflow = client.Workflows.CreateOrUpdate( - resourceGroupName: this.resourceGroupName, - workflowName: workflowName, - workflow: new Workflow - { - Location = this.location, - Sku = this.Sku, - Definition = JToken.Parse(this.definition) - }); - - // Get the workflow version and verify the content - var version = client.WorkflowVersions.Get(this.resourceGroupName, workflowName, workflow.Version); - Assert.Equal(WorkflowState.Enabled, workflow.State); - Assert.Equal(this.Sku.Name, workflow.Sku.Name); - Assert.NotEmpty(workflow.Definition.ToString()); - - // Delete the workflow - client.Workflows.Delete(this.resourceGroupName, workflowName); + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var workflowName = TestUtilities.GenerateName(Constants.WorkflowPrefix); + var workflow = this.CreateWorkflow(workflowName); + var createdWorkflow = client.Workflows.CreateOrUpdate(Constants.DefaultResourceGroup, + workflowName, + workflow); + + var workflowVersion = client.WorkflowVersions.Get(Constants.DefaultResourceGroup, workflowName, createdWorkflow.Version); + + this.ValidateWorkflowVersion(workflow, workflowVersion); + + client.Workflows.Delete(Constants.DefaultResourceGroup, workflowName); + } + } + + [Fact] + public void WorkflowVersions_List_OK() + { + using (var context = MockContext.Start(this.TestClassName)) + { + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var workflowName = TestUtilities.GenerateName(Constants.WorkflowPrefix); + var workflow = this.CreateWorkflow(workflowName); + var createdWorkflow = client.Workflows.CreateOrUpdate(Constants.DefaultResourceGroup, + workflowName, + workflow); + + var workflowVersions = client.WorkflowVersions.List(Constants.DefaultResourceGroup, workflowName); + + foreach (var workflowVersion in workflowVersions) + { + this.ValidateWorkflowVersion(workflow, workflowVersion); + } + + client.Workflows.Delete(Constants.DefaultResourceGroup, workflowName); } } + + private void ValidateWorkflowVersion(Workflow expected, WorkflowVersion actual) + { + Assert.Equal(expected.Definition, actual.Definition); + Assert.Equal(expected.Tags, actual.Tags); + Assert.NotNull(actual.ChangedTime); + Assert.NotNull(actual.CreatedTime); + } } } diff --git a/src/SDKs/Logic/Logic.Tests/ScenarioTests/Workflows.ScenarioTests.cs b/src/SDKs/Logic/Logic.Tests/ScenarioTests/Workflows.ScenarioTests.cs index 7f919000bba18..c25ade0f9c6c9 100644 --- a/src/SDKs/Logic/Logic.Tests/ScenarioTests/Workflows.ScenarioTests.cs +++ b/src/SDKs/Logic/Logic.Tests/ScenarioTests/Workflows.ScenarioTests.cs @@ -17,309 +17,301 @@ namespace Test.Azure.Management.Logic [Collection("WorkflowsScenarioTests")] public class WorkflowsScenarioTests : ScenarioTestsBase { - [Fact(Skip = "After upgrade to vs2017, starts failing. Needs investigation")] - public void CreateAndDeleteWorkflow() + [Fact] + public void Workflows_Create_OK() { - using (MockContext context = MockContext.Start(className: this.testClassName)) + using (var context = MockContext.Start(this.TestClassName)) { - string workflowName = TestUtilities.GenerateName("logicwf"); - var client = this.GetWorkflowClient(context); - - // Create a workflow - client.Workflows.CreateOrUpdate( - resourceGroupName: this.resourceGroupName, - workflowName: workflowName, - workflow: new Workflow - { - Location = this.location, - Sku = this.Sku, - Definition = JToken.Parse(this.definition) - }); - - // Get the workflow and verify the content - var workflow = client.Workflows.Get(this.resourceGroupName, workflowName); - Assert.Equal(WorkflowState.Enabled, workflow.State); - Assert.Equal(this.location, workflow.Location); - Assert.Equal(this.Sku.Name, workflow.Sku.Name); - Assert.NotEmpty(workflow.Definition.ToString()); - - // Delete the workflow - client.Workflows.Delete(this.resourceGroupName, workflowName); + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var workflowName = TestUtilities.GenerateName(Constants.WorkflowPrefix); + var workflow = this.CreateWorkflow(workflowName); + var createdWorkflow = client.Workflows.CreateOrUpdate(Constants.DefaultResourceGroup, + workflowName, + workflow); + + this.ValidateWorkflow(workflow, createdWorkflow); + + client.Workflows.Delete(Constants.DefaultResourceGroup, workflowName); } } - [Fact(Skip = "After upgrade to vs2017, starts failing. Needs investigation")] - public void CreateAndEnableDisableWorkflow() + [Fact] + public void Workflows_Get_OK() { - using (MockContext context = MockContext.Start(className: this.testClassName)) + using (var context = MockContext.Start(this.TestClassName)) { - string workflowName = TestUtilities.GenerateName("logicwf"); - var client = this.GetWorkflowClient(context); - - // Create a workflow - var workflow = client.Workflows.CreateOrUpdate( - this.resourceGroupName, + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var workflowName = TestUtilities.GenerateName(Constants.WorkflowPrefix); + var workflow = this.CreateWorkflow(workflowName); + var createdWorkflow = client.Workflows.CreateOrUpdate(Constants.DefaultResourceGroup, workflowName, - new Workflow - { - Location = this.location, - Sku = this.Sku, - State = WorkflowState.Disabled, - Definition = JToken.Parse(this.definition) - }); + workflow); - // Verify the response - Assert.Equal(workflowName, workflow.Name); - Assert.Equal(WorkflowState.Disabled, workflow.State); + var retrievedWorkflow = client.Workflows.Get(Constants.DefaultResourceGroup, workflowName); - // Enable the workflow - client.Workflows.Enable(this.resourceGroupName, workflowName); + this.ValidateWorkflow(workflow, retrievedWorkflow); - // Get the workflow and verify it's enabled - workflow = client.Workflows.Get(this.resourceGroupName, workflowName); - Assert.Equal(WorkflowState.Enabled, workflow.State); + client.Workflows.Delete(Constants.DefaultResourceGroup, workflowName); + } + } - // Disable the workflow - client.Workflows.Disable(this.resourceGroupName, workflowName); + [Fact] + public void Workflows_List_OK() + { + using (var context = MockContext.Start(this.TestClassName)) + { + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var workflowName1 = TestUtilities.GenerateName(Constants.WorkflowPrefix); + var workflow1 = this.CreateWorkflow(workflowName1); + var createdWorkflow = client.Workflows.CreateOrUpdate(Constants.DefaultResourceGroup, + workflowName1, + workflow1); + + var workflowName2 = TestUtilities.GenerateName(Constants.WorkflowPrefix); + var workflow2 = this.CreateWorkflow(workflowName2); + workflow2.State = WorkflowState.Disabled; + var createdWorkflow2 = client.Workflows.CreateOrUpdate(Constants.DefaultResourceGroup, + workflowName2, + workflow2); + + var workflowName3 = TestUtilities.GenerateName(Constants.WorkflowPrefix); + var workflow3 = this.CreateWorkflow(workflowName3); + workflow3.State = WorkflowState.Disabled; + var createdWorkflow3 = client.Workflows.CreateOrUpdate(Constants.DefaultResourceGroup, + workflowName3, + workflow3); + + var workflows = client.Workflows.ListByResourceGroup(Constants.DefaultResourceGroup, new ODataQuery<WorkflowFilter>(f => f.State == WorkflowState.Disabled) { Top = 2 }); - // Get the workflow and verify it's disabled - workflow = client.Workflows.Get(this.resourceGroupName, workflowName); - Assert.Equal(WorkflowState.Disabled, workflow.State); + Assert.Equal(2, workflows.Count()); + this.ValidateWorkflow(workflow2, workflows.Single(x => x.Name == workflow2.Name)); + this.ValidateWorkflow(workflow3, workflows.Single(x => x.Name == workflow3.Name)); - // Delete the workflow - client.Workflows.Delete(this.resourceGroupName, workflowName); + client.Workflows.Delete(Constants.DefaultResourceGroup, workflowName1); + client.Workflows.Delete(Constants.DefaultResourceGroup, workflowName2); + client.Workflows.Delete(Constants.DefaultResourceGroup, workflowName3); } + } [Fact] - public void ListWorkflow() + public void Workflows_Update_OK() { - using (MockContext context = MockContext.Start(className: this.testClassName)) + using (var context = MockContext.Start(this.TestClassName)) { - string workflowName = TestUtilities.GenerateName("logicwf"); - string workflowName2 = TestUtilities.GenerateName("logicwf"); - var client = this.GetWorkflowClient(context); - - // Create a workflow - var workflow = client.Workflows.CreateOrUpdate( - this.resourceGroupName, + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var workflowName = TestUtilities.GenerateName(Constants.WorkflowPrefix); + var workflow = this.CreateWorkflow(workflowName); + var createdWorkflow = client.Workflows.CreateOrUpdate(Constants.DefaultResourceGroup, workflowName, - new Workflow - { - Location = this.location, - Sku = this.Sku, - State = WorkflowState.Disabled, - Definition = JToken.Parse(this.definition) - }); - - // Verify the response - Assert.Equal(workflowName, workflow.Name); - Assert.Equal(WorkflowState.Disabled, workflow.State); - - // Create another workflow - var workflow2 = client.Workflows.CreateOrUpdate( - this.resourceGroupName, - workflowName2, - new Workflow - { - Location = this.location, - Sku = this.Sku, - State = WorkflowState.Disabled, - Definition = JToken.Parse(this.definition) - }); - - // List the workflow in resource group - var lists = client.Workflows.ListByResourceGroup(this.resourceGroupName, new ODataQuery<WorkflowFilter>(f => f.State == WorkflowState.Disabled) { Top = 1 }); - - Assert.Equal(1, lists.Count()); - - // List the workflow in resource group - lists = client.Workflows.ListByResourceGroup(this.resourceGroupName); - - Assert.True(lists.Count() > 1); - workflow = lists.First(); - Assert.NotNull(workflow.Id); - Assert.NotNull(workflow.Name); - Assert.NotNull(workflow.Type); - - lists = client.Workflows.ListBySubscription(); - - Assert.NotEmpty(lists); - workflow = lists.First(); - Assert.NotNull(workflow.Id); - Assert.NotNull(workflow.Name); - Assert.NotNull(workflow.Type); - - // Delete the workflow - client.Workflows.Delete(this.resourceGroupName, workflowName); + workflow); + + var updatesToBeMade = new Workflow + { + Tags = new Dictionary<string, string> + { + { "abc", "def" } + } + }; + var updatedWorkflow = client.Workflows.Update(Constants.DefaultResourceGroup, workflowName, updatesToBeMade); + + Assert.Equal("def", updatedWorkflow.Tags["abc"]); + + client.Workflows.Delete(Constants.DefaultResourceGroup, workflowName); } } [Fact] - public void ValidateWorkflow() + public void Workflows_Delete_OK() { - using (MockContext context = MockContext.Start(className: this.testClassName)) + using (var context = MockContext.Start(this.TestClassName)) { - string workflowName = TestUtilities.GenerateName("logicwf"); - var client = this.GetWorkflowClient(context); - - // Create a workflow - client.Workflows.CreateOrUpdate( - resourceGroupName: this.resourceGroupName, - workflowName: workflowName, - workflow: new Workflow - { - Location = this.location, - Sku = this.Sku, - Definition = JToken.Parse(this.simpleTriggerDefinition) - }); - - // Validate a workflow - client.Workflows.Validate( - this.resourceGroupName, - this.location, + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var workflowName = TestUtilities.GenerateName(Constants.WorkflowPrefix); + var workflow = this.CreateWorkflow(workflowName); + var createdWorkflow = client.Workflows.CreateOrUpdate(Constants.DefaultResourceGroup, workflowName, - new Workflow - { - Location = this.location, - Sku = this.Sku, - Definition = JToken.Parse(this.definition) - }); + workflow); - Assert.Throws<CloudException>(() => - { - // Validate an invlaid workflow - client.Workflows.Validate( - this.resourceGroupName, - this.location, - workflowName, - new Workflow - { - Location = this.location, - Sku = this.Sku, - Definition = "invalid definition" - }); - }); + client.Workflows.Delete(Constants.DefaultResourceGroup, workflowName); + Assert.Throws<CloudException>(() => client.Workflows.Get(Constants.DefaultResourceGroup, workflowName)); + + client.Workflows.Delete(Constants.DefaultResourceGroup, workflowName); } } [Fact] - public void DeleteAllWorkflows() + public void Workflows_Disable_OK() { - using (MockContext context = MockContext.Start(className: this.testClassName)) + using (var context = MockContext.Start(this.TestClassName)) { - var client = this.GetWorkflowClient(context); - - var workflows = client.Workflows.ListByResourceGroup(this.resourceGroupName); + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var workflowName = TestUtilities.GenerateName(Constants.WorkflowPrefix); + var workflow = this.CreateWorkflow(workflowName); + var createdWorkflow = client.Workflows.CreateOrUpdate(Constants.DefaultResourceGroup, + workflowName, + workflow); - foreach (var workflow in workflows) - { - client.Workflows.Delete(this.resourceGroupName, workflow.Name); - } + client.Workflows.Disable(Constants.DefaultResourceGroup, workflowName); + var retrievedWorkflow = client.Workflows.Get(Constants.DefaultResourceGroup, workflowName); - while (!string.IsNullOrEmpty(workflows.NextPageLink)) - { - workflows = client.Workflows.ListByResourceGroupNext(workflows.NextPageLink); + Assert.Equal(WorkflowState.Disabled, retrievedWorkflow.State); - foreach (var workflow in workflows) - { - client.Workflows.Delete(this.resourceGroupName, workflow.Name); - } - } + client.Workflows.Delete(Constants.DefaultResourceGroup, workflowName); + } + } + + [Fact] + public void Workflows_Enable_OK() + { + using (var context = MockContext.Start(this.TestClassName)) + { + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var workflowName = TestUtilities.GenerateName(Constants.WorkflowPrefix); + var workflow = this.CreateWorkflow(workflowName); + var createdWorkflow = client.Workflows.CreateOrUpdate(Constants.DefaultResourceGroup, + workflowName, + workflow); + + client.Workflows.Enable(Constants.DefaultResourceGroup, workflowName); + var retrievedWorkflow = client.Workflows.Get(Constants.DefaultResourceGroup, workflowName); - workflows = client.Workflows.ListByResourceGroup(this.resourceGroupName); + Assert.Equal(WorkflowState.Enabled, retrievedWorkflow.State); - Assert.Equal(0, workflows.Count()); + client.Workflows.Delete(Constants.DefaultResourceGroup, workflowName); } } - [Fact(Skip = "After upgrade to vs2017, starts failing. Needs investigation")] - public void UpdateWorkflow() + [Fact] + public void Workflows_Validate_OK() { - using (MockContext context = MockContext.Start(className: this.testClassName)) + using (var context = MockContext.Start(this.TestClassName)) { - string workflowName = TestUtilities.GenerateName("logicwf"); - var client = this.GetWorkflowClient(context); - - // Create a workflow - var workflow = client.Workflows.CreateOrUpdate( - this.resourceGroupName, + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var workflowName = TestUtilities.GenerateName(Constants.WorkflowPrefix); + var workflow = this.CreateWorkflow(workflowName); + + client.Workflows.ValidateByLocation(Constants.DefaultResourceGroup, + Constants.DefaultLocation, + workflowName, + workflow); + } + } + + [Fact] + public void Workflows_Validate_Exception() + { + + using (var context = MockContext.Start(this.TestClassName)) + { + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var workflowName = TestUtilities.GenerateName(Constants.WorkflowPrefix); + var workflow = this.CreateWorkflow(workflowName); + workflow.Definition = "Invalid Definition"; + + Assert.Throws<CloudException>(() => client.Workflows.ValidateByLocation(Constants.DefaultResourceGroup, + Constants.DefaultLocation, workflowName, - new Workflow - { - Location = this.location, - Sku = this.Sku, - Definition = JToken.Parse(this.definition) - }); - - // Verify the response - Assert.Equal(workflowName, workflow.Name); - Assert.Equal(WorkflowState.Enabled, workflow.State); - Assert.Equal(null, workflow.Tags); - - // Update the workflow - workflow = new Workflow() - { - Tags = new Dictionary<string, string>() - }; - workflow.Tags.Add("abc", "def"); - workflow = client.Workflows.Update(this.resourceGroupName, workflowName, workflow); + workflow)); + } + } - Assert.Equal(1, workflow.Tags.Count); + [Fact] + public void Workflows_RegenerateAccessKey_OK() + { + using (var context = MockContext.Start(this.TestClassName)) + { + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var workflowName = TestUtilities.GenerateName(Constants.WorkflowPrefix); + var workflow = this.CreateWorkflow(workflowName); + var createdWorkflow = client.Workflows.CreateOrUpdate(Constants.DefaultResourceGroup, + workflowName, + workflow); + client.Workflows.RegenerateAccessKey(Constants.DefaultResourceGroup, workflowName, new RegenerateActionParameter(KeyType.Primary)); + var retrievedWorkflow = client.Workflows.Get(Constants.DefaultResourceGroup, workflowName); + + Assert.NotEqual(workflow.AccessEndpoint, retrievedWorkflow.AccessEndpoint); + + client.Workflows.Delete(Constants.DefaultResourceGroup, workflowName); } } [Fact] - public void RegenerateAccessKey() + public void Workflows_ListSwagger_OK() { - using (MockContext context = MockContext.Start(className: this.testClassName)) + using (var context = MockContext.Start(this.TestClassName)) { - string workflowName = TestUtilities.GenerateName("logicwf"); - var client = this.GetWorkflowClient(context); - - // Create a workflow - var workflow = client.Workflows.CreateOrUpdate( - resourceGroupName: this.resourceGroupName, - workflowName: workflowName, - workflow: new Workflow - { - Location = this.location, - Definition = JToken.Parse(this.regenerateAccessKeyDefinition) - }); + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var workflowName = TestUtilities.GenerateName(Constants.WorkflowPrefix); + var workflow = this.CreateWorkflow(workflowName); + var createdWorkflow = client.Workflows.CreateOrUpdate(Constants.DefaultResourceGroup, + workflowName, + workflow); - // Run the trigger - client.Workflows.RegenerateAccessKey(this.resourceGroupName, workflowName, new RegenerateActionParameter(KeyType.Primary)); + var retrievedSwagger = client.Workflows.ListSwagger(Constants.DefaultResourceGroup, workflowName) as JObject; - // Delete the workflow - client.Workflows.Delete(this.resourceGroupName, workflowName); + client.Workflows.Delete(Constants.DefaultResourceGroup, workflowName); } } [Fact] - public void ListSwagger() + public void Workflows_GenerateUpgradedDefinition_OK() { - using (MockContext context = MockContext.Start(className: this.testClassName)) + using (var context = MockContext.Start(this.TestClassName)) { - string workflowName = TestUtilities.GenerateName("logicwf"); - var client = this.GetWorkflowClient(context); - - // Create a workflow - var workflow = client.Workflows.CreateOrUpdate( - resourceGroupName: this.resourceGroupName, - workflowName: workflowName, - workflow: new Workflow + var client = this.GetClient(context); + this.CleanResourceGroup(client); + var workflowName = TestUtilities.GenerateName(Constants.WorkflowPrefix); + var workflow = this.CreateWorkflow(workflowName); + workflow.Definition = this.WorkflowToBeUpgradedDefinition; + var createdWorkflow = client.Workflows.CreateOrUpdate(Constants.DefaultResourceGroup, + workflowName, + workflow); + + var upgradedDefinition = client.Workflows.GenerateUpgradedDefinition(Constants.DefaultResourceGroup, + workflowName, + new GenerateUpgradedDefinitionParameters { - Location = this.location, - Definition = JToken.Parse(this.listSwaggerDefinition) - }); + TargetSchemaVersion = "2016-06-01" + }) as Workflow; - // Run the trigger - client.Workflows.ListSwagger(this.resourceGroupName, workflowName); + client.Workflows.Delete(Constants.DefaultResourceGroup, workflowName); + } + } - // Delete the workflow - client.Workflows.Delete(this.resourceGroupName, workflowName); + private void ValidateWorkflow(Workflow expected, Workflow actual) + { + // Freshly created workflows don't have a state yet + if(expected.State != null) + { + Assert.Equal(expected.State, actual.State); } + Assert.Equal(expected.Definition, actual.Definition); + Assert.Equal(expected.Tags, actual.Tags); + Assert.NotNull(actual.ChangedTime); + Assert.NotNull(actual.CreatedTime); } + + private JToken WorkflowToBeUpgradedDefinition => JToken.Parse(@" + { + '$schema': 'https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2015-08-01-preview/workflowdefinition.json#', + 'contentVersion': '1.0.0.0', + 'parameters': {}, + 'triggers': {}, + 'actions': {}, + 'outputs': {} + }"); } } diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAgreementScenarioTests/CreateAndGetIntegrationAccountAgreement.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAgreementScenarioTests/CreateAndGetIntegrationAccountAgreement.json deleted file mode 100644 index 5ea9b29d87849..0000000000000 --- a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAgreementScenarioTests/CreateAndGetIntegrationAccountAgreement.json +++ /dev/null @@ -1,246 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7013?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NzAxMz9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "91" - ], - "x-ms-client-request-id": [ - "9e129981-374e-4191-9300-155b498aa8d5" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7013\",\r\n \"name\": \"IntegrationAccount7013\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "290" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:56:38 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:5ac0e19d-158c-4e05-a8ef-0159409f100f" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1196" - ], - "x-ms-correlation-request-id": [ - "8ed30cf3-5f83-4ba8-ae98-0e682b431201" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215639Z:8ed30cf3-5f83-4ba8-ae98-0e682b431201" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7013/agreements/IntegrationAccountAgreement9800?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NzAxMy9hZ3JlZW1lbnRzL0ludGVncmF0aW9uQWNjb3VudEFncmVlbWVudDk4MDA/YXBpLXZlcnNpb249MjAxNi0wNi0wMQ==", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"metadata\": \"IntegrationAccountAgreement9800\",\r\n \"agreementType\": \"AS2\",\r\n \"hostPartner\": \"HostPartner\",\r\n \"guestPartner\": \"GuestPartner\",\r\n \"hostIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"guestIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"content\": {\r\n \"AS2\": {\r\n \"receiveAgreement\": {\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"protocolSettings\": {\r\n \"messageConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"acknowledgementConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"mdnSettings\": {\r\n \"needMdn\": true,\r\n \"signMdn\": true,\r\n \"sendMdnAsynchronously\": true,\r\n \"receiptDeliveryUrl\": \"http://tempuri.org\",\r\n \"dispositionNotificationTo\": \"http://tempuri.org\",\r\n \"signOutboundMdnIfOptional\": true,\r\n \"mdnText\": \"Sample\",\r\n \"sendInboundMdnToMessageBox\": true,\r\n \"micHashingAlgorithm\": \"SHA1\"\r\n },\r\n \"securitySettings\": {\r\n \"overrideGroupSigningCertificate\": false,\r\n \"enableNrrForInboundEncodedMessages\": true,\r\n \"enableNrrForInboundDecodedMessages\": true,\r\n \"enableNrrForOutboundMdn\": true,\r\n \"enableNrrForOutboundEncodedMessages\": true,\r\n \"enableNrrForOutboundDecodedMessages\": true,\r\n \"enableNrrForInboundMdn\": true\r\n },\r\n \"validationSettings\": {\r\n \"overrideMessageProperties\": true,\r\n \"encryptMessage\": false,\r\n \"signMessage\": false,\r\n \"compressMessage\": true,\r\n \"checkDuplicateMessage\": true,\r\n \"interchangeDuplicatesValidityDays\": 100,\r\n \"checkCertificateRevocationListOnSend\": true,\r\n \"checkCertificateRevocationListOnReceive\": true,\r\n \"encryptionAlgorithm\": \"AES128\"\r\n },\r\n \"envelopeSettings\": {\r\n \"messageContentType\": \"text/plain\",\r\n \"transmitFileNameInMimeHeader\": true,\r\n \"fileNameTemplate\": \"Test\",\r\n \"suspendMessageOnFileNameGenerationError\": true,\r\n \"autogenerateFileName\": true\r\n },\r\n \"errorSettings\": {\r\n \"suspendDuplicateMessage\": true,\r\n \"resendIfMdnNotReceived\": true\r\n }\r\n }\r\n },\r\n \"sendAgreement\": {\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"protocolSettings\": {\r\n \"messageConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"acknowledgementConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"mdnSettings\": {\r\n \"needMdn\": true,\r\n \"signMdn\": true,\r\n \"sendMdnAsynchronously\": true,\r\n \"receiptDeliveryUrl\": \"http://tempuri.org\",\r\n \"dispositionNotificationTo\": \"http://tempuri.org\",\r\n \"signOutboundMdnIfOptional\": true,\r\n \"mdnText\": \"Sample\",\r\n \"sendInboundMdnToMessageBox\": true,\r\n \"micHashingAlgorithm\": \"SHA1\"\r\n },\r\n \"securitySettings\": {\r\n \"overrideGroupSigningCertificate\": false,\r\n \"enableNrrForInboundEncodedMessages\": true,\r\n \"enableNrrForInboundDecodedMessages\": true,\r\n \"enableNrrForOutboundMdn\": true,\r\n \"enableNrrForOutboundEncodedMessages\": true,\r\n \"enableNrrForOutboundDecodedMessages\": true,\r\n \"enableNrrForInboundMdn\": true\r\n },\r\n \"validationSettings\": {\r\n \"overrideMessageProperties\": true,\r\n \"encryptMessage\": false,\r\n \"signMessage\": false,\r\n \"compressMessage\": true,\r\n \"checkDuplicateMessage\": true,\r\n \"interchangeDuplicatesValidityDays\": 100,\r\n \"checkCertificateRevocationListOnSend\": true,\r\n \"checkCertificateRevocationListOnReceive\": true,\r\n \"encryptionAlgorithm\": \"AES128\"\r\n },\r\n \"envelopeSettings\": {\r\n \"messageContentType\": \"text/plain\",\r\n \"transmitFileNameInMimeHeader\": true,\r\n \"fileNameTemplate\": \"Test\",\r\n \"suspendMessageOnFileNameGenerationError\": true,\r\n \"autogenerateFileName\": true\r\n },\r\n \"errorSettings\": {\r\n \"suspendDuplicateMessage\": true,\r\n \"resendIfMdnNotReceived\": true\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"IntegrationAccountAgreement\": \"IntegrationAccountAgreement9800\"\r\n }\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "5862" - ], - "x-ms-client-request-id": [ - "f27d95a3-93de-4cdd-9366-6a6b9d7ab0c7" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"hostPartner\": \"HostPartner\",\r\n \"guestPartner\": \"GuestPartner\",\r\n \"hostIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"guestIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"agreementType\": \"AS2\",\r\n \"content\": {\r\n \"aS2\": {\r\n \"receiveAgreement\": {\r\n \"protocolSettings\": {\r\n \"messageConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"acknowledgementConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"mdnSettings\": {\r\n \"needMDN\": true,\r\n \"signMDN\": true,\r\n \"sendMDNAsynchronously\": true,\r\n \"receiptDeliveryUrl\": \"http://tempuri.org\",\r\n \"dispositionNotificationTo\": \"http://tempuri.org\",\r\n \"signOutboundMDNIfOptional\": true,\r\n \"mdnText\": \"Sample\",\r\n \"sendInboundMDNToMessageBox\": true,\r\n \"micHashingAlgorithm\": \"SHA1\"\r\n },\r\n \"securitySettings\": {\r\n \"overrideGroupSigningCertificate\": false,\r\n \"enableNRRForInboundEncodedMessages\": true,\r\n \"enableNRRForInboundDecodedMessages\": true,\r\n \"enableNRRForOutboundMDN\": true,\r\n \"enableNRRForOutboundEncodedMessages\": true,\r\n \"enableNRRForOutboundDecodedMessages\": true,\r\n \"enableNRRForInboundMDN\": true\r\n },\r\n \"validationSettings\": {\r\n \"overrideMessageProperties\": true,\r\n \"encryptMessage\": false,\r\n \"signMessage\": false,\r\n \"compressMessage\": true,\r\n \"checkDuplicateMessage\": true,\r\n \"interchangeDuplicatesValidityDays\": 100,\r\n \"checkCertificateRevocationListOnSend\": true,\r\n \"checkCertificateRevocationListOnReceive\": true,\r\n \"encryptionAlgorithm\": \"AES128\"\r\n },\r\n \"envelopeSettings\": {\r\n \"messageContentType\": \"text/plain\",\r\n \"transmitFileNameInMimeHeader\": true,\r\n \"fileNameTemplate\": \"Test\",\r\n \"suspendMessageOnFileNameGenerationError\": true,\r\n \"autogenerateFileName\": true\r\n },\r\n \"errorSettings\": {\r\n \"suspendDuplicateMessage\": true,\r\n \"resendIfMDNNotReceived\": true\r\n }\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n }\r\n },\r\n \"sendAgreement\": {\r\n \"protocolSettings\": {\r\n \"messageConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"acknowledgementConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"mdnSettings\": {\r\n \"needMDN\": true,\r\n \"signMDN\": true,\r\n \"sendMDNAsynchronously\": true,\r\n \"receiptDeliveryUrl\": \"http://tempuri.org\",\r\n \"dispositionNotificationTo\": \"http://tempuri.org\",\r\n \"signOutboundMDNIfOptional\": true,\r\n \"mdnText\": \"Sample\",\r\n \"sendInboundMDNToMessageBox\": true,\r\n \"micHashingAlgorithm\": \"SHA1\"\r\n },\r\n \"securitySettings\": {\r\n \"overrideGroupSigningCertificate\": false,\r\n \"enableNRRForInboundEncodedMessages\": true,\r\n \"enableNRRForInboundDecodedMessages\": true,\r\n \"enableNRRForOutboundMDN\": true,\r\n \"enableNRRForOutboundEncodedMessages\": true,\r\n \"enableNRRForOutboundDecodedMessages\": true,\r\n \"enableNRRForInboundMDN\": true\r\n },\r\n \"validationSettings\": {\r\n \"overrideMessageProperties\": true,\r\n \"encryptMessage\": false,\r\n \"signMessage\": false,\r\n \"compressMessage\": true,\r\n \"checkDuplicateMessage\": true,\r\n \"interchangeDuplicatesValidityDays\": 100,\r\n \"checkCertificateRevocationListOnSend\": true,\r\n \"checkCertificateRevocationListOnReceive\": true,\r\n \"encryptionAlgorithm\": \"AES128\"\r\n },\r\n \"envelopeSettings\": {\r\n \"messageContentType\": \"text/plain\",\r\n \"transmitFileNameInMimeHeader\": true,\r\n \"fileNameTemplate\": \"Test\",\r\n \"suspendMessageOnFileNameGenerationError\": true,\r\n \"autogenerateFileName\": true\r\n },\r\n \"errorSettings\": {\r\n \"suspendDuplicateMessage\": true,\r\n \"resendIfMDNNotReceived\": true\r\n }\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n }\r\n }\r\n }\r\n },\r\n \"createdTime\": \"2017-03-01T21:56:39.422783Z\",\r\n \"changedTime\": \"2017-03-01T21:56:39.4237793Z\",\r\n \"metadata\": \"IntegrationAccountAgreement9800\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7013/agreements/IntegrationAccountAgreement9800\",\r\n \"name\": \"IntegrationAccountAgreement9800\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/agreements\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "3918" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:56:38 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:a4ed3e1a-e8a3-49fe-9118-89806862f06a" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1195" - ], - "x-ms-correlation-request-id": [ - "58b0c61a-8a36-4a2b-a729-d5643b8aa2bc" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215639Z:58b0c61a-8a36-4a2b-a729-d5643b8aa2bc" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7013/agreements/IntegrationAccountAgreement9800?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NzAxMy9hZ3JlZW1lbnRzL0ludGVncmF0aW9uQWNjb3VudEFncmVlbWVudDk4MDA/YXBpLXZlcnNpb249MjAxNi0wNi0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "a84efa8e-8274-4854-86cd-162e12fcd558" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"hostPartner\": \"HostPartner\",\r\n \"guestPartner\": \"GuestPartner\",\r\n \"hostIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"guestIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"agreementType\": \"AS2\",\r\n \"content\": {\r\n \"aS2\": {\r\n \"receiveAgreement\": {\r\n \"protocolSettings\": {\r\n \"messageConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"acknowledgementConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"mdnSettings\": {\r\n \"needMDN\": true,\r\n \"signMDN\": true,\r\n \"sendMDNAsynchronously\": true,\r\n \"receiptDeliveryUrl\": \"http://tempuri.org\",\r\n \"dispositionNotificationTo\": \"http://tempuri.org\",\r\n \"signOutboundMDNIfOptional\": true,\r\n \"mdnText\": \"Sample\",\r\n \"sendInboundMDNToMessageBox\": true,\r\n \"micHashingAlgorithm\": \"SHA1\"\r\n },\r\n \"securitySettings\": {\r\n \"overrideGroupSigningCertificate\": false,\r\n \"enableNRRForInboundEncodedMessages\": true,\r\n \"enableNRRForInboundDecodedMessages\": true,\r\n \"enableNRRForOutboundMDN\": true,\r\n \"enableNRRForOutboundEncodedMessages\": true,\r\n \"enableNRRForOutboundDecodedMessages\": true,\r\n \"enableNRRForInboundMDN\": true\r\n },\r\n \"validationSettings\": {\r\n \"overrideMessageProperties\": true,\r\n \"encryptMessage\": false,\r\n \"signMessage\": false,\r\n \"compressMessage\": true,\r\n \"checkDuplicateMessage\": true,\r\n \"interchangeDuplicatesValidityDays\": 100,\r\n \"checkCertificateRevocationListOnSend\": true,\r\n \"checkCertificateRevocationListOnReceive\": true,\r\n \"encryptionAlgorithm\": \"AES128\"\r\n },\r\n \"envelopeSettings\": {\r\n \"messageContentType\": \"text/plain\",\r\n \"transmitFileNameInMimeHeader\": true,\r\n \"fileNameTemplate\": \"Test\",\r\n \"suspendMessageOnFileNameGenerationError\": true,\r\n \"autogenerateFileName\": true\r\n },\r\n \"errorSettings\": {\r\n \"suspendDuplicateMessage\": true,\r\n \"resendIfMDNNotReceived\": true\r\n }\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n }\r\n },\r\n \"sendAgreement\": {\r\n \"protocolSettings\": {\r\n \"messageConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"acknowledgementConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"mdnSettings\": {\r\n \"needMDN\": true,\r\n \"signMDN\": true,\r\n \"sendMDNAsynchronously\": true,\r\n \"receiptDeliveryUrl\": \"http://tempuri.org\",\r\n \"dispositionNotificationTo\": \"http://tempuri.org\",\r\n \"signOutboundMDNIfOptional\": true,\r\n \"mdnText\": \"Sample\",\r\n \"sendInboundMDNToMessageBox\": true,\r\n \"micHashingAlgorithm\": \"SHA1\"\r\n },\r\n \"securitySettings\": {\r\n \"overrideGroupSigningCertificate\": false,\r\n \"enableNRRForInboundEncodedMessages\": true,\r\n \"enableNRRForInboundDecodedMessages\": true,\r\n \"enableNRRForOutboundMDN\": true,\r\n \"enableNRRForOutboundEncodedMessages\": true,\r\n \"enableNRRForOutboundDecodedMessages\": true,\r\n \"enableNRRForInboundMDN\": true\r\n },\r\n \"validationSettings\": {\r\n \"overrideMessageProperties\": true,\r\n \"encryptMessage\": false,\r\n \"signMessage\": false,\r\n \"compressMessage\": true,\r\n \"checkDuplicateMessage\": true,\r\n \"interchangeDuplicatesValidityDays\": 100,\r\n \"checkCertificateRevocationListOnSend\": true,\r\n \"checkCertificateRevocationListOnReceive\": true,\r\n \"encryptionAlgorithm\": \"AES128\"\r\n },\r\n \"envelopeSettings\": {\r\n \"messageContentType\": \"text/plain\",\r\n \"transmitFileNameInMimeHeader\": true,\r\n \"fileNameTemplate\": \"Test\",\r\n \"suspendMessageOnFileNameGenerationError\": true,\r\n \"autogenerateFileName\": true\r\n },\r\n \"errorSettings\": {\r\n \"suspendDuplicateMessage\": true,\r\n \"resendIfMDNNotReceived\": true\r\n }\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n }\r\n }\r\n }\r\n },\r\n \"createdTime\": \"2017-03-01T21:56:39.422783Z\",\r\n \"changedTime\": \"2017-03-01T21:56:39.4237793Z\",\r\n \"metadata\": \"IntegrationAccountAgreement9800\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7013/agreements/IntegrationAccountAgreement9800\",\r\n \"name\": \"IntegrationAccountAgreement9800\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/agreements\"\r\n}", - "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:56:38 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], - "x-ms-request-id": [ - "westus:7a943d17-9b01-4afe-bff7-bd2193b2007f" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14803" - ], - "x-ms-correlation-request-id": [ - "1ba0b195-f44e-4521-a81c-b14c84d91e23" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215639Z:1ba0b195-f44e-4521-a81c-b14c84d91e23" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7013?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NzAxMz9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "7befaf99-d6a1-4e7e-a9e0-b1644b58d7ab" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:56:38 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:1afe297e-f45d-455a-9364-f225ffd38ffe" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1194" - ], - "x-ms-correlation-request-id": [ - "296096d9-484a-4431-bad7-b144e9a3ceee" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215639Z:296096d9-484a-4431-bad7-b144e9a3ceee" - ] - }, - "StatusCode": 200 - } - ], - "Names": { - "CreateAndGetIntegrationAccountAgreement": [ - "IntegrationAccount7013", - "IntegrationAccountAgreement9800" - ] - }, - "Variables": { - "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" - } -} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAgreementScenarioTests/CreateAndUpdateIntegrationAccountAgreement.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAgreementScenarioTests/CreateAndUpdateIntegrationAccountAgreement.json deleted file mode 100644 index 8af25d1eb301c..0000000000000 --- a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAgreementScenarioTests/CreateAndUpdateIntegrationAccountAgreement.json +++ /dev/null @@ -1,252 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3964?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50Mzk2ND9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "91" - ], - "x-ms-client-request-id": [ - "4bb2454d-3cda-4fe2-8eb4-d3471e202282" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3964\",\r\n \"name\": \"IntegrationAccount3964\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "290" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:56:27 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:a6292d3a-af31-4c1e-8f2c-b9047448e5ad" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" - ], - "x-ms-correlation-request-id": [ - "db8464d2-5bfd-4f73-b447-d8e9104209eb" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215627Z:db8464d2-5bfd-4f73-b447-d8e9104209eb" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3964/agreements/IntegrationAccountAgreement1285?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50Mzk2NC9hZ3JlZW1lbnRzL0ludGVncmF0aW9uQWNjb3VudEFncmVlbWVudDEyODU/YXBpLXZlcnNpb249MjAxNi0wNi0wMQ==", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"metadata\": \"IntegrationAccountAgreement1285\",\r\n \"agreementType\": \"AS2\",\r\n \"hostPartner\": \"HostPartner\",\r\n \"guestPartner\": \"GuestPartner\",\r\n \"hostIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"guestIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"content\": {\r\n \"AS2\": {\r\n \"receiveAgreement\": {\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"protocolSettings\": {\r\n \"messageConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"acknowledgementConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"mdnSettings\": {\r\n \"needMdn\": true,\r\n \"signMdn\": true,\r\n \"sendMdnAsynchronously\": true,\r\n \"receiptDeliveryUrl\": \"http://tempuri.org\",\r\n \"dispositionNotificationTo\": \"http://tempuri.org\",\r\n \"signOutboundMdnIfOptional\": true,\r\n \"mdnText\": \"Sample\",\r\n \"sendInboundMdnToMessageBox\": true,\r\n \"micHashingAlgorithm\": \"None\"\r\n },\r\n \"securitySettings\": {\r\n \"overrideGroupSigningCertificate\": false,\r\n \"enableNrrForInboundEncodedMessages\": true,\r\n \"enableNrrForInboundDecodedMessages\": true,\r\n \"enableNrrForOutboundMdn\": true,\r\n \"enableNrrForOutboundEncodedMessages\": true,\r\n \"enableNrrForOutboundDecodedMessages\": true,\r\n \"enableNrrForInboundMdn\": true\r\n },\r\n \"validationSettings\": {\r\n \"overrideMessageProperties\": true,\r\n \"encryptMessage\": false,\r\n \"signMessage\": false,\r\n \"compressMessage\": true,\r\n \"checkDuplicateMessage\": true,\r\n \"interchangeDuplicatesValidityDays\": 100,\r\n \"checkCertificateRevocationListOnSend\": true,\r\n \"checkCertificateRevocationListOnReceive\": true,\r\n \"encryptionAlgorithm\": \"AES128\"\r\n },\r\n \"envelopeSettings\": {\r\n \"messageContentType\": \"text/plain\",\r\n \"transmitFileNameInMimeHeader\": true,\r\n \"fileNameTemplate\": \"Test\",\r\n \"suspendMessageOnFileNameGenerationError\": true,\r\n \"autogenerateFileName\": true\r\n },\r\n \"errorSettings\": {\r\n \"suspendDuplicateMessage\": true,\r\n \"resendIfMdnNotReceived\": true\r\n }\r\n }\r\n },\r\n \"sendAgreement\": {\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"protocolSettings\": {\r\n \"messageConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"acknowledgementConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"mdnSettings\": {\r\n \"needMdn\": true,\r\n \"signMdn\": true,\r\n \"sendMdnAsynchronously\": true,\r\n \"receiptDeliveryUrl\": \"http://tempuri.org\",\r\n \"dispositionNotificationTo\": \"http://tempuri.org\",\r\n \"signOutboundMdnIfOptional\": true,\r\n \"mdnText\": \"Sample\",\r\n \"sendInboundMdnToMessageBox\": true,\r\n \"micHashingAlgorithm\": \"None\"\r\n },\r\n \"securitySettings\": {\r\n \"overrideGroupSigningCertificate\": false,\r\n \"enableNrrForInboundEncodedMessages\": true,\r\n \"enableNrrForInboundDecodedMessages\": true,\r\n \"enableNrrForOutboundMdn\": true,\r\n \"enableNrrForOutboundEncodedMessages\": true,\r\n \"enableNrrForOutboundDecodedMessages\": true,\r\n \"enableNrrForInboundMdn\": true\r\n },\r\n \"validationSettings\": {\r\n \"overrideMessageProperties\": true,\r\n \"encryptMessage\": false,\r\n \"signMessage\": false,\r\n \"compressMessage\": true,\r\n \"checkDuplicateMessage\": true,\r\n \"interchangeDuplicatesValidityDays\": 100,\r\n \"checkCertificateRevocationListOnSend\": true,\r\n \"checkCertificateRevocationListOnReceive\": true,\r\n \"encryptionAlgorithm\": \"AES128\"\r\n },\r\n \"envelopeSettings\": {\r\n \"messageContentType\": \"text/plain\",\r\n \"transmitFileNameInMimeHeader\": true,\r\n \"fileNameTemplate\": \"Test\",\r\n \"suspendMessageOnFileNameGenerationError\": true,\r\n \"autogenerateFileName\": true\r\n },\r\n \"errorSettings\": {\r\n \"suspendDuplicateMessage\": true,\r\n \"resendIfMdnNotReceived\": true\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"IntegrationAccountAgreement\": \"IntegrationAccountAgreement1285\"\r\n }\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "5862" - ], - "x-ms-client-request-id": [ - "b7cb9579-3cd8-4f34-b224-9bac82ff20b2" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"hostPartner\": \"HostPartner\",\r\n \"guestPartner\": \"GuestPartner\",\r\n \"hostIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"guestIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"agreementType\": \"AS2\",\r\n \"content\": {\r\n \"aS2\": {\r\n \"receiveAgreement\": {\r\n \"protocolSettings\": {\r\n \"messageConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"acknowledgementConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"mdnSettings\": {\r\n \"needMDN\": true,\r\n \"signMDN\": true,\r\n \"sendMDNAsynchronously\": true,\r\n \"receiptDeliveryUrl\": \"http://tempuri.org\",\r\n \"dispositionNotificationTo\": \"http://tempuri.org\",\r\n \"signOutboundMDNIfOptional\": true,\r\n \"mdnText\": \"Sample\",\r\n \"sendInboundMDNToMessageBox\": true,\r\n \"micHashingAlgorithm\": \"None\"\r\n },\r\n \"securitySettings\": {\r\n \"overrideGroupSigningCertificate\": false,\r\n \"enableNRRForInboundEncodedMessages\": true,\r\n \"enableNRRForInboundDecodedMessages\": true,\r\n \"enableNRRForOutboundMDN\": true,\r\n \"enableNRRForOutboundEncodedMessages\": true,\r\n \"enableNRRForOutboundDecodedMessages\": true,\r\n \"enableNRRForInboundMDN\": true\r\n },\r\n \"validationSettings\": {\r\n \"overrideMessageProperties\": true,\r\n \"encryptMessage\": false,\r\n \"signMessage\": false,\r\n \"compressMessage\": true,\r\n \"checkDuplicateMessage\": true,\r\n \"interchangeDuplicatesValidityDays\": 100,\r\n \"checkCertificateRevocationListOnSend\": true,\r\n \"checkCertificateRevocationListOnReceive\": true,\r\n \"encryptionAlgorithm\": \"AES128\"\r\n },\r\n \"envelopeSettings\": {\r\n \"messageContentType\": \"text/plain\",\r\n \"transmitFileNameInMimeHeader\": true,\r\n \"fileNameTemplate\": \"Test\",\r\n \"suspendMessageOnFileNameGenerationError\": true,\r\n \"autogenerateFileName\": true\r\n },\r\n \"errorSettings\": {\r\n \"suspendDuplicateMessage\": true,\r\n \"resendIfMDNNotReceived\": true\r\n }\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n }\r\n },\r\n \"sendAgreement\": {\r\n \"protocolSettings\": {\r\n \"messageConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"acknowledgementConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"mdnSettings\": {\r\n \"needMDN\": true,\r\n \"signMDN\": true,\r\n \"sendMDNAsynchronously\": true,\r\n \"receiptDeliveryUrl\": \"http://tempuri.org\",\r\n \"dispositionNotificationTo\": \"http://tempuri.org\",\r\n \"signOutboundMDNIfOptional\": true,\r\n \"mdnText\": \"Sample\",\r\n \"sendInboundMDNToMessageBox\": true,\r\n \"micHashingAlgorithm\": \"None\"\r\n },\r\n \"securitySettings\": {\r\n \"overrideGroupSigningCertificate\": false,\r\n \"enableNRRForInboundEncodedMessages\": true,\r\n \"enableNRRForInboundDecodedMessages\": true,\r\n \"enableNRRForOutboundMDN\": true,\r\n \"enableNRRForOutboundEncodedMessages\": true,\r\n \"enableNRRForOutboundDecodedMessages\": true,\r\n \"enableNRRForInboundMDN\": true\r\n },\r\n \"validationSettings\": {\r\n \"overrideMessageProperties\": true,\r\n \"encryptMessage\": false,\r\n \"signMessage\": false,\r\n \"compressMessage\": true,\r\n \"checkDuplicateMessage\": true,\r\n \"interchangeDuplicatesValidityDays\": 100,\r\n \"checkCertificateRevocationListOnSend\": true,\r\n \"checkCertificateRevocationListOnReceive\": true,\r\n \"encryptionAlgorithm\": \"AES128\"\r\n },\r\n \"envelopeSettings\": {\r\n \"messageContentType\": \"text/plain\",\r\n \"transmitFileNameInMimeHeader\": true,\r\n \"fileNameTemplate\": \"Test\",\r\n \"suspendMessageOnFileNameGenerationError\": true,\r\n \"autogenerateFileName\": true\r\n },\r\n \"errorSettings\": {\r\n \"suspendDuplicateMessage\": true,\r\n \"resendIfMDNNotReceived\": true\r\n }\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n }\r\n }\r\n }\r\n },\r\n \"createdTime\": \"2017-03-01T21:56:27.8038375Z\",\r\n \"changedTime\": \"2017-03-01T21:56:27.8040402Z\",\r\n \"metadata\": \"IntegrationAccountAgreement1285\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3964/agreements/IntegrationAccountAgreement1285\",\r\n \"name\": \"IntegrationAccountAgreement1285\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/agreements\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "3919" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:56:27 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:fe0f9efb-68ea-4a94-be8e-04833d305b7f" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1197" - ], - "x-ms-correlation-request-id": [ - "90c9073f-991c-4fec-8242-c987cbe0af91" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215627Z:90c9073f-991c-4fec-8242-c987cbe0af91" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3964/agreements/IntegrationAccountAgreement1285?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50Mzk2NC9hZ3JlZW1lbnRzL0ludGVncmF0aW9uQWNjb3VudEFncmVlbWVudDEyODU/YXBpLXZlcnNpb249MjAxNi0wNi0wMQ==", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"metadata\": \"IntegrationAccountAgreement1285\",\r\n \"agreementType\": \"X12\",\r\n \"hostPartner\": \"HostPartner\",\r\n \"guestPartner\": \"GuestPartner\",\r\n \"hostIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"guestIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"content\": {\r\n \"X12\": {\r\n \"receiveAgreement\": {\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"protocolSettings\": {\r\n \"validationSettings\": {\r\n \"validateCharacterSet\": true,\r\n \"checkDuplicateInterchangeControlNumber\": false,\r\n \"interchangeControlNumberValidityDays\": 30,\r\n \"checkDuplicateGroupControlNumber\": false,\r\n \"checkDuplicateTransactionSetControlNumber\": false,\r\n \"validateEDITypes\": true,\r\n \"validateXSDTypes\": false,\r\n \"allowLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trimLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trailingSeparatorPolicy\": \"NotAllowed\"\r\n },\r\n \"framingSettings\": {\r\n \"dataElementSeparator\": 42,\r\n \"componentSeparator\": 58,\r\n \"replaceSeparatorsInPayload\": false,\r\n \"replaceCharacter\": 36,\r\n \"segmentTerminator\": 126,\r\n \"characterSet\": \"UTF8\",\r\n \"segmentTerminatorSuffix\": \"None\"\r\n },\r\n \"envelopeSettings\": {\r\n \"controlStandardsId\": 85,\r\n \"useControlStandardsIdAsRepetitionCharacter\": false,\r\n \"senderApplicationId\": \"BTS-SENDER\",\r\n \"receiverApplicationId\": \"RECEIVE-APP\",\r\n \"controlVersionNumber\": \"00401\",\r\n \"interchangeControlNumberLowerBound\": 1,\r\n \"interchangeControlNumberUpperBound\": 999999999,\r\n \"rolloverInterchangeControlNumber\": true,\r\n \"enableDefaultGroupHeaders\": true,\r\n \"groupControlNumberLowerBound\": 1,\r\n \"groupControlNumberUpperBound\": 999999999,\r\n \"rolloverGroupControlNumber\": true,\r\n \"groupHeaderAgencyCode\": \"T\",\r\n \"groupHeaderVersion\": \"00401\",\r\n \"transactionSetControlNumberLowerBound\": 1,\r\n \"transactionSetControlNumberUpperBound\": 999999999,\r\n \"rolloverTransactionSetControlNumber\": true,\r\n \"overwriteExistingTransactionSetControlNumber\": true,\r\n \"groupHeaderDateFormat\": \"CCYYMMDD\",\r\n \"groupHeaderTimeFormat\": \"HHMM\",\r\n \"usageIndicator\": \"Test\"\r\n },\r\n \"acknowledgementSettings\": {\r\n \"needTechnicalAcknowledgement\": false,\r\n \"batchTechnicalAcknowledgements\": true,\r\n \"needFunctionalAcknowledgement\": false,\r\n \"batchFunctionalAcknowledgements\": true,\r\n \"needImplementationAcknowledgement\": false,\r\n \"batchImplementationAcknowledgements\": false,\r\n \"needLoopForValidMessages\": false,\r\n \"sendSynchronousAcknowledgement\": true,\r\n \"acknowledgementControlNumberLowerBound\": 1,\r\n \"acknowledgementControlNumberUpperBound\": 999999999,\r\n \"rolloverAcknowledgementControlNumber\": true\r\n },\r\n \"messageFilter\": {\r\n \"messageFilterType\": \"Exclude\"\r\n },\r\n \"securitySettings\": {\r\n \"authorizationQualifier\": \"00\",\r\n \"securityQualifier\": \"00\"\r\n },\r\n \"processingSettings\": {\r\n \"maskSecurityInfo\": true,\r\n \"convertImpliedDecimal\": true,\r\n \"preserveInterchange\": true,\r\n \"suspendInterchangeOnError\": true,\r\n \"createEmptyXmlTagsForTrailingSeparators\": true,\r\n \"useDotAsDecimalSeparator\": true\r\n },\r\n \"schemaReferences\": []\r\n }\r\n },\r\n \"sendAgreement\": {\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"protocolSettings\": {\r\n \"validationSettings\": {\r\n \"validateCharacterSet\": true,\r\n \"checkDuplicateInterchangeControlNumber\": false,\r\n \"interchangeControlNumberValidityDays\": 30,\r\n \"checkDuplicateGroupControlNumber\": false,\r\n \"checkDuplicateTransactionSetControlNumber\": false,\r\n \"validateEDITypes\": true,\r\n \"validateXSDTypes\": false,\r\n \"allowLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trimLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trailingSeparatorPolicy\": \"NotAllowed\"\r\n },\r\n \"framingSettings\": {\r\n \"dataElementSeparator\": 42,\r\n \"componentSeparator\": 58,\r\n \"replaceSeparatorsInPayload\": false,\r\n \"replaceCharacter\": 36,\r\n \"segmentTerminator\": 126,\r\n \"characterSet\": \"UTF8\",\r\n \"segmentTerminatorSuffix\": \"None\"\r\n },\r\n \"envelopeSettings\": {\r\n \"controlStandardsId\": 100,\r\n \"useControlStandardsIdAsRepetitionCharacter\": true,\r\n \"senderApplicationId\": \"100\",\r\n \"receiverApplicationId\": \"100\",\r\n \"controlVersionNumber\": \"0.0\",\r\n \"interchangeControlNumberLowerBound\": 1,\r\n \"interchangeControlNumberUpperBound\": 999999999,\r\n \"rolloverInterchangeControlNumber\": true,\r\n \"enableDefaultGroupHeaders\": true,\r\n \"functionalGroupId\": \"1\",\r\n \"groupControlNumberLowerBound\": 1,\r\n \"groupControlNumberUpperBound\": 999999999,\r\n \"rolloverGroupControlNumber\": true,\r\n \"groupHeaderAgencyCode\": \"T\",\r\n \"groupHeaderVersion\": \"0.0\",\r\n \"transactionSetControlNumberLowerBound\": 1,\r\n \"transactionSetControlNumberUpperBound\": 999999999,\r\n \"rolloverTransactionSetControlNumber\": true,\r\n \"transactionSetControlNumberPrefix\": \"\",\r\n \"transactionSetControlNumberSuffix\": \"\",\r\n \"overwriteExistingTransactionSetControlNumber\": true,\r\n \"groupHeaderDateFormat\": \"CCYYMMDD\",\r\n \"groupHeaderTimeFormat\": \"HHMM\",\r\n \"usageIndicator\": \"Information\"\r\n },\r\n \"acknowledgementSettings\": {\r\n \"needTechnicalAcknowledgement\": false,\r\n \"batchTechnicalAcknowledgements\": true,\r\n \"needFunctionalAcknowledgement\": false,\r\n \"batchFunctionalAcknowledgements\": true,\r\n \"needImplementationAcknowledgement\": false,\r\n \"batchImplementationAcknowledgements\": false,\r\n \"needLoopForValidMessages\": false,\r\n \"sendSynchronousAcknowledgement\": true,\r\n \"acknowledgementControlNumberLowerBound\": 1,\r\n \"acknowledgementControlNumberUpperBound\": 999999999,\r\n \"rolloverAcknowledgementControlNumber\": true\r\n },\r\n \"messageFilter\": {\r\n \"messageFilterType\": \"Exclude\"\r\n },\r\n \"securitySettings\": {\r\n \"authorizationQualifier\": \"00\",\r\n \"securityQualifier\": \"00\"\r\n },\r\n \"processingSettings\": {\r\n \"maskSecurityInfo\": true,\r\n \"convertImpliedDecimal\": true,\r\n \"preserveInterchange\": true,\r\n \"suspendInterchangeOnError\": true,\r\n \"createEmptyXmlTagsForTrailingSeparators\": true,\r\n \"useDotAsDecimalSeparator\": true\r\n },\r\n \"schemaReferences\": []\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"IntegrationAccountAgreement\": \"IntegrationAccountAgreement1285\"\r\n }\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "8185" - ], - "x-ms-client-request-id": [ - "8277a1d3-f311-4908-96ae-761892d9b0de" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"hostPartner\": \"HostPartner\",\r\n \"guestPartner\": \"GuestPartner\",\r\n \"hostIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"guestIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"agreementType\": \"X12\",\r\n \"content\": {\r\n \"x12\": {\r\n \"receiveAgreement\": {\r\n \"protocolSettings\": {\r\n \"validationSettings\": {\r\n \"validateCharacterSet\": true,\r\n \"checkDuplicateInterchangeControlNumber\": false,\r\n \"interchangeControlNumberValidityDays\": 30,\r\n \"checkDuplicateGroupControlNumber\": false,\r\n \"checkDuplicateTransactionSetControlNumber\": false,\r\n \"validateEDITypes\": true,\r\n \"validateXSDTypes\": false,\r\n \"allowLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trimLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trailingSeparatorPolicy\": \"NotAllowed\"\r\n },\r\n \"framingSettings\": {\r\n \"dataElementSeparator\": 42,\r\n \"componentSeparator\": 58,\r\n \"replaceSeparatorsInPayload\": false,\r\n \"replaceCharacter\": 36,\r\n \"segmentTerminator\": 126,\r\n \"characterSet\": \"UTF8\",\r\n \"segmentTerminatorSuffix\": \"None\"\r\n },\r\n \"envelopeSettings\": {\r\n \"controlStandardsId\": 85,\r\n \"useControlStandardsIdAsRepetitionCharacter\": false,\r\n \"senderApplicationId\": \"BTS-SENDER\",\r\n \"receiverApplicationId\": \"RECEIVE-APP\",\r\n \"controlVersionNumber\": \"00401\",\r\n \"interchangeControlNumberLowerBound\": 1,\r\n \"interchangeControlNumberUpperBound\": 999999999,\r\n \"rolloverInterchangeControlNumber\": true,\r\n \"enableDefaultGroupHeaders\": true,\r\n \"groupControlNumberLowerBound\": 1,\r\n \"groupControlNumberUpperBound\": 999999999,\r\n \"rolloverGroupControlNumber\": true,\r\n \"groupHeaderAgencyCode\": \"T\",\r\n \"groupHeaderVersion\": \"00401\",\r\n \"transactionSetControlNumberLowerBound\": 1,\r\n \"transactionSetControlNumberUpperBound\": 999999999,\r\n \"rolloverTransactionSetControlNumber\": true,\r\n \"overwriteExistingTransactionSetControlNumber\": true,\r\n \"groupHeaderDateFormat\": \"CCYYMMDD\",\r\n \"groupHeaderTimeFormat\": \"HHMM\",\r\n \"usageIndicator\": \"Test\"\r\n },\r\n \"acknowledgementSettings\": {\r\n \"needTechnicalAcknowledgement\": false,\r\n \"batchTechnicalAcknowledgements\": true,\r\n \"needFunctionalAcknowledgement\": false,\r\n \"batchFunctionalAcknowledgements\": true,\r\n \"needImplementationAcknowledgement\": false,\r\n \"batchImplementationAcknowledgements\": false,\r\n \"needLoopForValidMessages\": false,\r\n \"sendSynchronousAcknowledgement\": true,\r\n \"acknowledgementControlNumberLowerBound\": 1,\r\n \"acknowledgementControlNumberUpperBound\": 999999999,\r\n \"rolloverAcknowledgementControlNumber\": true\r\n },\r\n \"messageFilter\": {\r\n \"messageFilterType\": \"Exclude\"\r\n },\r\n \"securitySettings\": {\r\n \"authorizationQualifier\": \"00\",\r\n \"securityQualifier\": \"00\"\r\n },\r\n \"processingSettings\": {\r\n \"maskSecurityInfo\": true,\r\n \"convertImpliedDecimal\": true,\r\n \"preserveInterchange\": true,\r\n \"suspendInterchangeOnError\": true,\r\n \"createEmptyXmlTagsForTrailingSeparators\": true,\r\n \"useDotAsDecimalSeparator\": true\r\n },\r\n \"schemaReferences\": []\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n }\r\n },\r\n \"sendAgreement\": {\r\n \"protocolSettings\": {\r\n \"validationSettings\": {\r\n \"validateCharacterSet\": true,\r\n \"checkDuplicateInterchangeControlNumber\": false,\r\n \"interchangeControlNumberValidityDays\": 30,\r\n \"checkDuplicateGroupControlNumber\": false,\r\n \"checkDuplicateTransactionSetControlNumber\": false,\r\n \"validateEDITypes\": true,\r\n \"validateXSDTypes\": false,\r\n \"allowLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trimLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trailingSeparatorPolicy\": \"NotAllowed\"\r\n },\r\n \"framingSettings\": {\r\n \"dataElementSeparator\": 42,\r\n \"componentSeparator\": 58,\r\n \"replaceSeparatorsInPayload\": false,\r\n \"replaceCharacter\": 36,\r\n \"segmentTerminator\": 126,\r\n \"characterSet\": \"UTF8\",\r\n \"segmentTerminatorSuffix\": \"None\"\r\n },\r\n \"envelopeSettings\": {\r\n \"controlStandardsId\": 100,\r\n \"useControlStandardsIdAsRepetitionCharacter\": true,\r\n \"senderApplicationId\": \"100\",\r\n \"receiverApplicationId\": \"100\",\r\n \"controlVersionNumber\": \"0.0\",\r\n \"interchangeControlNumberLowerBound\": 1,\r\n \"interchangeControlNumberUpperBound\": 999999999,\r\n \"rolloverInterchangeControlNumber\": true,\r\n \"enableDefaultGroupHeaders\": true,\r\n \"functionalGroupId\": \"1\",\r\n \"groupControlNumberLowerBound\": 1,\r\n \"groupControlNumberUpperBound\": 999999999,\r\n \"rolloverGroupControlNumber\": true,\r\n \"groupHeaderAgencyCode\": \"T\",\r\n \"groupHeaderVersion\": \"0.0\",\r\n \"transactionSetControlNumberLowerBound\": 1,\r\n \"transactionSetControlNumberUpperBound\": 999999999,\r\n \"rolloverTransactionSetControlNumber\": true,\r\n \"transactionSetControlNumberPrefix\": \"\",\r\n \"transactionSetControlNumberSuffix\": \"\",\r\n \"overwriteExistingTransactionSetControlNumber\": true,\r\n \"groupHeaderDateFormat\": \"CCYYMMDD\",\r\n \"groupHeaderTimeFormat\": \"HHMM\",\r\n \"usageIndicator\": \"Information\"\r\n },\r\n \"acknowledgementSettings\": {\r\n \"needTechnicalAcknowledgement\": false,\r\n \"batchTechnicalAcknowledgements\": true,\r\n \"needFunctionalAcknowledgement\": false,\r\n \"batchFunctionalAcknowledgements\": true,\r\n \"needImplementationAcknowledgement\": false,\r\n \"batchImplementationAcknowledgements\": false,\r\n \"needLoopForValidMessages\": false,\r\n \"sendSynchronousAcknowledgement\": true,\r\n \"acknowledgementControlNumberLowerBound\": 1,\r\n \"acknowledgementControlNumberUpperBound\": 999999999,\r\n \"rolloverAcknowledgementControlNumber\": true\r\n },\r\n \"messageFilter\": {\r\n \"messageFilterType\": \"Exclude\"\r\n },\r\n \"securitySettings\": {\r\n \"authorizationQualifier\": \"00\",\r\n \"securityQualifier\": \"00\"\r\n },\r\n \"processingSettings\": {\r\n \"maskSecurityInfo\": true,\r\n \"convertImpliedDecimal\": true,\r\n \"preserveInterchange\": true,\r\n \"suspendInterchangeOnError\": true,\r\n \"createEmptyXmlTagsForTrailingSeparators\": true,\r\n \"useDotAsDecimalSeparator\": true\r\n },\r\n \"schemaReferences\": []\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n }\r\n }\r\n }\r\n },\r\n \"createdTime\": \"2017-03-01T21:56:27.8038375Z\",\r\n \"changedTime\": \"2017-03-01T21:56:28.1680241Z\",\r\n \"metadata\": \"IntegrationAccountAgreement1285\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3964/agreements/IntegrationAccountAgreement1285\",\r\n \"name\": \"IntegrationAccountAgreement1285\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/agreements\"\r\n}", - "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:56:28 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], - "x-ms-request-id": [ - "westus:f4e69126-058c-424f-9017-5e4a1fc5d946" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1196" - ], - "x-ms-correlation-request-id": [ - "f4f35439-5c1f-4f24-8a5b-0ef8933116ff" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215628Z:f4f35439-5c1f-4f24-8a5b-0ef8933116ff" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3964?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50Mzk2ND9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "b76ae383-d335-47f3-add3-ce65253e951b" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:56:28 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:965990af-9d10-4e93-ac2b-932ee8fe1857" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1195" - ], - "x-ms-correlation-request-id": [ - "24758228-28c8-45f9-bf68-f807970cd0c6" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215628Z:24758228-28c8-45f9-bf68-f807970cd0c6" - ] - }, - "StatusCode": 200 - } - ], - "Names": { - "CreateAndUpdateIntegrationAccountAgreement": [ - "IntegrationAccount3964", - "IntegrationAccountAgreement1285" - ] - }, - "Variables": { - "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" - } -} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAgreementScenarioTests/CreateIntegrationAccountAgreementUsingFile.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAgreementScenarioTests/CreateIntegrationAccountAgreementUsingFile.json deleted file mode 100644 index 1835abf7b1322..0000000000000 --- a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAgreementScenarioTests/CreateIntegrationAccountAgreementUsingFile.json +++ /dev/null @@ -1,311 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2648?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MjY0OD9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "91" - ], - "x-ms-client-request-id": [ - "0cd23316-f0d3-4a0d-82d5-59e5a0a27d14" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2648\",\r\n \"name\": \"IntegrationAccount2648\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "290" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:56:30 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:e578c2e6-7f53-45b6-9508-0e07860ee743" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" - ], - "x-ms-correlation-request-id": [ - "27e83f8a-3593-4abc-8d08-7f9ee55799ec" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215631Z:27e83f8a-3593-4abc-8d08-7f9ee55799ec" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2648/agreements/IntegrationAccountAgreement8614?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MjY0OC9hZ3JlZW1lbnRzL0ludGVncmF0aW9uQWNjb3VudEFncmVlbWVudDg2MTQ/YXBpLXZlcnNpb249MjAxNi0wNi0wMQ==", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"metadata\": \"IntegrationAccountAgreement8614\",\r\n \"agreementType\": \"AS2\",\r\n \"hostPartner\": \"HostPartner\",\r\n \"guestPartner\": \"GuestPartner\",\r\n \"hostIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"guestIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"content\": {\r\n \"AS2\": {\r\n \"receiveAgreement\": {\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"protocolSettings\": {\r\n \"messageConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"acknowledgementConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"mdnSettings\": {\r\n \"needMdn\": false,\r\n \"signMdn\": false,\r\n \"sendMdnAsynchronously\": true,\r\n \"receiptDeliveryUrl\": \"http://tempuri.org\",\r\n \"dispositionNotificationTo\": \"http://tempuri.org\",\r\n \"signOutboundMdnIfOptional\": true,\r\n \"mdnText\": \"Sample\",\r\n \"sendInboundMdnToMessageBox\": true,\r\n \"micHashingAlgorithm\": \"None\"\r\n },\r\n \"securitySettings\": {\r\n \"overrideGroupSigningCertificate\": false,\r\n \"enableNrrForInboundEncodedMessages\": true,\r\n \"enableNrrForInboundDecodedMessages\": true,\r\n \"enableNrrForOutboundMdn\": true,\r\n \"enableNrrForOutboundEncodedMessages\": true,\r\n \"enableNrrForOutboundDecodedMessages\": true,\r\n \"enableNrrForInboundMdn\": true\r\n },\r\n \"validationSettings\": {\r\n \"overrideMessageProperties\": true,\r\n \"encryptMessage\": false,\r\n \"signMessage\": false,\r\n \"compressMessage\": true,\r\n \"checkDuplicateMessage\": true,\r\n \"interchangeDuplicatesValidityDays\": 100,\r\n \"checkCertificateRevocationListOnSend\": true,\r\n \"checkCertificateRevocationListOnReceive\": true,\r\n \"encryptionAlgorithm\": \"AES128\"\r\n },\r\n \"envelopeSettings\": {\r\n \"messageContentType\": \"text/plain\",\r\n \"transmitFileNameInMimeHeader\": true,\r\n \"fileNameTemplate\": \"Test\",\r\n \"suspendMessageOnFileNameGenerationError\": true,\r\n \"autogenerateFileName\": true\r\n },\r\n \"errorSettings\": {\r\n \"suspendDuplicateMessage\": true,\r\n \"resendIfMdnNotReceived\": true\r\n }\r\n }\r\n },\r\n \"sendAgreement\": {\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"protocolSettings\": {\r\n \"messageConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"acknowledgementConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"mdnSettings\": {\r\n \"needMdn\": true,\r\n \"signMdn\": true,\r\n \"sendMdnAsynchronously\": true,\r\n \"receiptDeliveryUrl\": \"http://tempuri.org\",\r\n \"dispositionNotificationTo\": \"http://tempuri.org\",\r\n \"signOutboundMdnIfOptional\": true,\r\n \"mdnText\": \"Sample\",\r\n \"sendInboundMdnToMessageBox\": true,\r\n \"micHashingAlgorithm\": \"None\"\r\n },\r\n \"securitySettings\": {\r\n \"overrideGroupSigningCertificate\": false,\r\n \"enableNrrForInboundEncodedMessages\": true,\r\n \"enableNrrForInboundDecodedMessages\": true,\r\n \"enableNrrForOutboundMdn\": true,\r\n \"enableNrrForOutboundEncodedMessages\": true,\r\n \"enableNrrForOutboundDecodedMessages\": true,\r\n \"enableNrrForInboundMdn\": true\r\n },\r\n \"validationSettings\": {\r\n \"overrideMessageProperties\": false,\r\n \"encryptMessage\": false,\r\n \"signMessage\": false,\r\n \"compressMessage\": true,\r\n \"checkDuplicateMessage\": true,\r\n \"interchangeDuplicatesValidityDays\": 100,\r\n \"checkCertificateRevocationListOnSend\": true,\r\n \"checkCertificateRevocationListOnReceive\": true,\r\n \"encryptionAlgorithm\": \"AES128\"\r\n },\r\n \"envelopeSettings\": {\r\n \"messageContentType\": \"text/plain\",\r\n \"transmitFileNameInMimeHeader\": true,\r\n \"fileNameTemplate\": \"Test\",\r\n \"suspendMessageOnFileNameGenerationError\": true,\r\n \"autogenerateFileName\": true\r\n },\r\n \"errorSettings\": {\r\n \"suspendDuplicateMessage\": true,\r\n \"resendIfMdnNotReceived\": true\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"IntegrationAccountAgreement\": \"IntegrationAccountAgreement8614\"\r\n }\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "5865" - ], - "x-ms-client-request-id": [ - "8126ca84-0c37-49cb-8c55-fa343e9e43b8" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"hostPartner\": \"HostPartner\",\r\n \"guestPartner\": \"GuestPartner\",\r\n \"hostIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"guestIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"agreementType\": \"AS2\",\r\n \"content\": {\r\n \"aS2\": {\r\n \"receiveAgreement\": {\r\n \"protocolSettings\": {\r\n \"messageConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"acknowledgementConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"mdnSettings\": {\r\n \"needMDN\": false,\r\n \"signMDN\": false,\r\n \"sendMDNAsynchronously\": true,\r\n \"receiptDeliveryUrl\": \"http://tempuri.org\",\r\n \"dispositionNotificationTo\": \"http://tempuri.org\",\r\n \"signOutboundMDNIfOptional\": true,\r\n \"mdnText\": \"Sample\",\r\n \"sendInboundMDNToMessageBox\": true,\r\n \"micHashingAlgorithm\": \"None\"\r\n },\r\n \"securitySettings\": {\r\n \"overrideGroupSigningCertificate\": false,\r\n \"enableNRRForInboundEncodedMessages\": true,\r\n \"enableNRRForInboundDecodedMessages\": true,\r\n \"enableNRRForOutboundMDN\": true,\r\n \"enableNRRForOutboundEncodedMessages\": true,\r\n \"enableNRRForOutboundDecodedMessages\": true,\r\n \"enableNRRForInboundMDN\": true\r\n },\r\n \"validationSettings\": {\r\n \"overrideMessageProperties\": true,\r\n \"encryptMessage\": false,\r\n \"signMessage\": false,\r\n \"compressMessage\": true,\r\n \"checkDuplicateMessage\": true,\r\n \"interchangeDuplicatesValidityDays\": 100,\r\n \"checkCertificateRevocationListOnSend\": true,\r\n \"checkCertificateRevocationListOnReceive\": true,\r\n \"encryptionAlgorithm\": \"AES128\"\r\n },\r\n \"envelopeSettings\": {\r\n \"messageContentType\": \"text/plain\",\r\n \"transmitFileNameInMimeHeader\": true,\r\n \"fileNameTemplate\": \"Test\",\r\n \"suspendMessageOnFileNameGenerationError\": true,\r\n \"autogenerateFileName\": true\r\n },\r\n \"errorSettings\": {\r\n \"suspendDuplicateMessage\": true,\r\n \"resendIfMDNNotReceived\": true\r\n }\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n }\r\n },\r\n \"sendAgreement\": {\r\n \"protocolSettings\": {\r\n \"messageConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"acknowledgementConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"mdnSettings\": {\r\n \"needMDN\": true,\r\n \"signMDN\": true,\r\n \"sendMDNAsynchronously\": true,\r\n \"receiptDeliveryUrl\": \"http://tempuri.org\",\r\n \"dispositionNotificationTo\": \"http://tempuri.org\",\r\n \"signOutboundMDNIfOptional\": true,\r\n \"mdnText\": \"Sample\",\r\n \"sendInboundMDNToMessageBox\": true,\r\n \"micHashingAlgorithm\": \"None\"\r\n },\r\n \"securitySettings\": {\r\n \"overrideGroupSigningCertificate\": false,\r\n \"enableNRRForInboundEncodedMessages\": true,\r\n \"enableNRRForInboundDecodedMessages\": true,\r\n \"enableNRRForOutboundMDN\": true,\r\n \"enableNRRForOutboundEncodedMessages\": true,\r\n \"enableNRRForOutboundDecodedMessages\": true,\r\n \"enableNRRForInboundMDN\": true\r\n },\r\n \"validationSettings\": {\r\n \"overrideMessageProperties\": false,\r\n \"encryptMessage\": false,\r\n \"signMessage\": false,\r\n \"compressMessage\": true,\r\n \"checkDuplicateMessage\": true,\r\n \"interchangeDuplicatesValidityDays\": 100,\r\n \"checkCertificateRevocationListOnSend\": true,\r\n \"checkCertificateRevocationListOnReceive\": true,\r\n \"encryptionAlgorithm\": \"AES128\"\r\n },\r\n \"envelopeSettings\": {\r\n \"messageContentType\": \"text/plain\",\r\n \"transmitFileNameInMimeHeader\": true,\r\n \"fileNameTemplate\": \"Test\",\r\n \"suspendMessageOnFileNameGenerationError\": true,\r\n \"autogenerateFileName\": true\r\n },\r\n \"errorSettings\": {\r\n \"suspendDuplicateMessage\": true,\r\n \"resendIfMDNNotReceived\": true\r\n }\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n }\r\n }\r\n }\r\n },\r\n \"createdTime\": \"2017-03-01T21:56:32.2578751Z\",\r\n \"changedTime\": \"2017-03-01T21:56:32.2580808Z\",\r\n \"metadata\": \"IntegrationAccountAgreement8614\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2648/agreements/IntegrationAccountAgreement8614\",\r\n \"name\": \"IntegrationAccountAgreement8614\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/agreements\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "3922" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:56:31 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:3467a2b4-a9ca-4055-9453-ce10c92f9f70" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1197" - ], - "x-ms-correlation-request-id": [ - "ef8fcba3-1ecf-4884-927d-e31790e447cf" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215632Z:ef8fcba3-1ecf-4884-927d-e31790e447cf" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2648/agreements/IntegrationAccountAgreement2962?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MjY0OC9hZ3JlZW1lbnRzL0ludGVncmF0aW9uQWNjb3VudEFncmVlbWVudDI5NjI/YXBpLXZlcnNpb249MjAxNi0wNi0wMQ==", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"metadata\": \"IntegrationAccountAgreement2962\",\r\n \"agreementType\": \"Edifact\",\r\n \"hostPartner\": \"HostPartner\",\r\n \"guestPartner\": \"GuestPartner\",\r\n \"hostIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"guestIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"content\": {\r\n \"Edifact\": {\r\n \"receiveAgreement\": {\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AAA\",\r\n \"value\": \"AAA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZZ\",\r\n \"value\": \"ZZZ\"\r\n },\r\n \"protocolSettings\": {\r\n \"validationSettings\": {\r\n \"validateCharacterSet\": true,\r\n \"checkDuplicateInterchangeControlNumber\": true,\r\n \"interchangeControlNumberValidityDays\": 100,\r\n \"checkDuplicateGroupControlNumber\": true,\r\n \"checkDuplicateTransactionSetControlNumber\": true,\r\n \"validateEDITypes\": true,\r\n \"validateXSDTypes\": true,\r\n \"allowLeadingAndTrailingSpacesAndZeroes\": true,\r\n \"trimLeadingAndTrailingSpacesAndZeroes\": true,\r\n \"trailingSeparatorPolicy\": \"Mandatory\"\r\n },\r\n \"framingSettings\": {\r\n \"characterEncoding\": \"UTF\",\r\n \"protocolVersion\": 4,\r\n \"dataElementSeparator\": 53,\r\n \"componentSeparator\": 58,\r\n \"segmentTerminator\": 39,\r\n \"releaseIndicator\": 63,\r\n \"repetitionSeparator\": 42,\r\n \"characterSet\": \"UNOC\",\r\n \"decimalPointIndicator\": \"Comma\",\r\n \"segmentTerminatorSuffix\": \"None\"\r\n },\r\n \"envelopeSettings\": {\r\n \"groupAssociationAssignedCode\": \"0\",\r\n \"communicationAgreementId\": \"0\",\r\n \"applyDelimiterStringAdvice\": true,\r\n \"createGroupingSegments\": true,\r\n \"enableDefaultGroupHeaders\": true,\r\n \"recipientReferencePasswordValue\": \"AAA\",\r\n \"recipientReferencePasswordQualifier\": \"ZZ\",\r\n \"applicationReferenceId\": \"0\",\r\n \"processingPriorityCode\": \"0\",\r\n \"interchangeControlNumberLowerBound\": 1,\r\n \"interchangeControlNumberUpperBound\": 2147483647,\r\n \"rolloverInterchangeControlNumber\": true,\r\n \"interchangeControlNumberPrefix\": \"CU\",\r\n \"interchangeControlNumberSuffix\": \"NUM\",\r\n \"functionalGroupId\": \"0\",\r\n \"groupControllingAgencyCode\": \"0\",\r\n \"groupMessageVersion\": \"0.0\",\r\n \"groupMessageRelease\": \"0.0\",\r\n \"groupControlNumberLowerBound\": 1,\r\n \"groupControlNumberUpperBound\": 2147483647,\r\n \"rolloverGroupControlNumber\": true,\r\n \"groupControlNumberPrefix\": \"CU\",\r\n \"groupControlNumberSuffix\": \"NUM\",\r\n \"groupApplicationReceiverQualifier\": \"ZZZ\",\r\n \"groupApplicationReceiverId\": \"0\",\r\n \"groupApplicationSenderQualifier\": \"ZZZ\",\r\n \"groupApplicationSenderId\": \"AAA\",\r\n \"groupApplicationPassword\": \"0\",\r\n \"overwriteExistingTransactionSetControlNumber\": true,\r\n \"transactionSetControlNumberPrefix\": \"A\",\r\n \"transactionSetControlNumberSuffix\": \"B\",\r\n \"transactionSetControlNumberLowerBound\": 1,\r\n \"transactionSetControlNumberUpperBound\": 2147483647,\r\n \"rolloverTransactionSetControlNumber\": true,\r\n \"isTestInterchange\": true,\r\n \"senderInternalIdentification\": \"AAA\",\r\n \"senderInternalSubIdentification\": \"AAA\",\r\n \"receiverInternalIdentification\": \"0\",\r\n \"receiverInternalSubIdentification\": \"0\"\r\n },\r\n \"acknowledgementSettings\": {\r\n \"needTechnicalAcknowledgement\": true,\r\n \"batchTechnicalAcknowledgements\": true,\r\n \"needFunctionalAcknowledgement\": true,\r\n \"batchFunctionalAcknowledgements\": true,\r\n \"needLoopForValidMessages\": true,\r\n \"sendSynchronousAcknowledgement\": true,\r\n \"acknowledgementControlNumberPrefix\": \"A\",\r\n \"acknowledgementControlNumberSuffix\": \"B\",\r\n \"acknowledgementControlNumberLowerBound\": 1,\r\n \"acknowledgementControlNumberUpperBound\": 2147483647,\r\n \"rolloverAcknowledgementControlNumber\": true\r\n },\r\n \"messageFilter\": {\r\n \"messageFilterType\": \"Exclude\"\r\n },\r\n \"processingSettings\": {\r\n \"maskSecurityInfo\": true,\r\n \"preserveInterchange\": true,\r\n \"suspendInterchangeOnError\": true,\r\n \"createEmptyXmlTagsForTrailingSeparators\": true,\r\n \"useDotAsDecimalSeparator\": true\r\n },\r\n \"schemaReferences\": []\r\n }\r\n },\r\n \"sendAgreement\": {\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AAA\",\r\n \"value\": \"AAA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZZ\",\r\n \"value\": \"ZZZ\"\r\n },\r\n \"protocolSettings\": {\r\n \"validationSettings\": {\r\n \"validateCharacterSet\": true,\r\n \"checkDuplicateInterchangeControlNumber\": true,\r\n \"interchangeControlNumberValidityDays\": 100,\r\n \"checkDuplicateGroupControlNumber\": true,\r\n \"checkDuplicateTransactionSetControlNumber\": true,\r\n \"validateEDITypes\": true,\r\n \"validateXSDTypes\": true,\r\n \"allowLeadingAndTrailingSpacesAndZeroes\": true,\r\n \"trimLeadingAndTrailingSpacesAndZeroes\": true,\r\n \"trailingSeparatorPolicy\": \"Mandatory\"\r\n },\r\n \"framingSettings\": {\r\n \"characterEncoding\": \"UTF\",\r\n \"protocolVersion\": 4,\r\n \"dataElementSeparator\": 53,\r\n \"componentSeparator\": 58,\r\n \"segmentTerminator\": 39,\r\n \"releaseIndicator\": 63,\r\n \"repetitionSeparator\": 42,\r\n \"characterSet\": \"UNOC\",\r\n \"decimalPointIndicator\": \"Comma\",\r\n \"segmentTerminatorSuffix\": \"None\"\r\n },\r\n \"envelopeSettings\": {\r\n \"groupAssociationAssignedCode\": \"0\",\r\n \"communicationAgreementId\": \"0\",\r\n \"applyDelimiterStringAdvice\": true,\r\n \"createGroupingSegments\": true,\r\n \"enableDefaultGroupHeaders\": true,\r\n \"recipientReferencePasswordValue\": \"AAA\",\r\n \"recipientReferencePasswordQualifier\": \"ZZ\",\r\n \"applicationReferenceId\": \"0\",\r\n \"processingPriorityCode\": \"0\",\r\n \"interchangeControlNumberLowerBound\": 1,\r\n \"interchangeControlNumberUpperBound\": 2147483647,\r\n \"rolloverInterchangeControlNumber\": true,\r\n \"interchangeControlNumberPrefix\": \"CU\",\r\n \"interchangeControlNumberSuffix\": \"NUM\",\r\n \"functionalGroupId\": \"0\",\r\n \"groupControllingAgencyCode\": \"0\",\r\n \"groupMessageVersion\": \"0.0\",\r\n \"groupMessageRelease\": \"0.0\",\r\n \"groupControlNumberLowerBound\": 1,\r\n \"groupControlNumberUpperBound\": 2147483647,\r\n \"rolloverGroupControlNumber\": true,\r\n \"groupControlNumberPrefix\": \"CU\",\r\n \"groupControlNumberSuffix\": \"NUM\",\r\n \"groupApplicationReceiverQualifier\": \"ZZZ\",\r\n \"groupApplicationReceiverId\": \"0\",\r\n \"groupApplicationSenderQualifier\": \"ZZZ\",\r\n \"groupApplicationSenderId\": \"AAA\",\r\n \"groupApplicationPassword\": \"0\",\r\n \"overwriteExistingTransactionSetControlNumber\": true,\r\n \"transactionSetControlNumberPrefix\": \"A\",\r\n \"transactionSetControlNumberSuffix\": \"B\",\r\n \"transactionSetControlNumberLowerBound\": 1,\r\n \"transactionSetControlNumberUpperBound\": 2147483647,\r\n \"rolloverTransactionSetControlNumber\": true,\r\n \"isTestInterchange\": true,\r\n \"senderInternalIdentification\": \"AAA\",\r\n \"senderInternalSubIdentification\": \"AAA\",\r\n \"receiverInternalIdentification\": \"0\",\r\n \"receiverInternalSubIdentification\": \"0\"\r\n },\r\n \"acknowledgementSettings\": {\r\n \"needTechnicalAcknowledgement\": true,\r\n \"batchTechnicalAcknowledgements\": true,\r\n \"needFunctionalAcknowledgement\": true,\r\n \"batchFunctionalAcknowledgements\": true,\r\n \"needLoopForValidMessages\": true,\r\n \"sendSynchronousAcknowledgement\": true,\r\n \"acknowledgementControlNumberPrefix\": \"A\",\r\n \"acknowledgementControlNumberSuffix\": \"B\",\r\n \"acknowledgementControlNumberLowerBound\": 1,\r\n \"acknowledgementControlNumberUpperBound\": 2147483647,\r\n \"rolloverAcknowledgementControlNumber\": true\r\n },\r\n \"messageFilter\": {\r\n \"messageFilterType\": \"Exclude\"\r\n },\r\n \"processingSettings\": {\r\n \"maskSecurityInfo\": true,\r\n \"preserveInterchange\": true,\r\n \"suspendInterchangeOnError\": true,\r\n \"createEmptyXmlTagsForTrailingSeparators\": true,\r\n \"useDotAsDecimalSeparator\": true\r\n },\r\n \"schemaReferences\": []\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"IntegrationAccountAgreement\": \"IntegrationAccountAgreement2962\"\r\n }\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "9796" - ], - "x-ms-client-request-id": [ - "4c214a7a-f8fc-4829-825d-acec289f053c" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"hostPartner\": \"HostPartner\",\r\n \"guestPartner\": \"GuestPartner\",\r\n \"hostIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"guestIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"agreementType\": \"EDIFACT\",\r\n \"content\": {\r\n \"edifact\": {\r\n \"receiveAgreement\": {\r\n \"protocolSettings\": {\r\n \"validationSettings\": {\r\n \"validateCharacterSet\": true,\r\n \"checkDuplicateInterchangeControlNumber\": true,\r\n \"interchangeControlNumberValidityDays\": 100,\r\n \"checkDuplicateGroupControlNumber\": true,\r\n \"checkDuplicateTransactionSetControlNumber\": true,\r\n \"validateEDITypes\": true,\r\n \"validateXSDTypes\": true,\r\n \"trimLeadingAndTrailingSpacesAndZeroes\": true,\r\n \"allowLeadingAndTrailingSpacesAndZeroes\": true,\r\n \"trailingSeparatorPolicy\": \"Mandatory\"\r\n },\r\n \"framingSettings\": {\r\n \"characterEncoding\": \"UTF\",\r\n \"protocolVersion\": 4,\r\n \"dataElementSeparator\": 53,\r\n \"componentSeparator\": 58,\r\n \"segmentTerminator\": 39,\r\n \"releaseIndicator\": 63,\r\n \"repetitionSeparator\": 42,\r\n \"characterSet\": \"UNOC\",\r\n \"decimalPointIndicator\": \"Comma\",\r\n \"segmentTerminatorSuffix\": \"None\"\r\n },\r\n \"envelopeSettings\": {\r\n \"groupAssociationAssignedCode\": \"0\",\r\n \"communicationAgreementId\": \"0\",\r\n \"applyDelimiterStringAdvice\": true,\r\n \"createGroupingSegments\": true,\r\n \"enableDefaultGroupHeaders\": true,\r\n \"recipientReferencePasswordValue\": \"AAA\",\r\n \"recipientReferencePasswordQualifier\": \"ZZ\",\r\n \"applicationReferenceId\": \"0\",\r\n \"processingPriorityCode\": \"0\",\r\n \"interchangeControlNumberLowerBound\": 1,\r\n \"interchangeControlNumberUpperBound\": 2147483647,\r\n \"rolloverInterchangeControlNumber\": true,\r\n \"interchangeControlNumberPrefix\": \"CU\",\r\n \"interchangeControlNumberSuffix\": \"NUM\",\r\n \"functionalGroupId\": \"0\",\r\n \"groupControllingAgencyCode\": \"0\",\r\n \"groupMessageVersion\": \"0.0\",\r\n \"groupMessageRelease\": \"0.0\",\r\n \"groupControlNumberLowerBound\": 1,\r\n \"groupControlNumberUpperBound\": 2147483647,\r\n \"rolloverGroupControlNumber\": true,\r\n \"groupControlNumberPrefix\": \"CU\",\r\n \"groupControlNumberSuffix\": \"NUM\",\r\n \"groupApplicationReceiverQualifier\": \"ZZZ\",\r\n \"groupApplicationReceiverId\": \"0\",\r\n \"groupApplicationSenderQualifier\": \"ZZZ\",\r\n \"groupApplicationSenderId\": \"AAA\",\r\n \"groupApplicationPassword\": \"0\",\r\n \"overwriteExistingTransactionSetControlNumber\": true,\r\n \"transactionSetControlNumberPrefix\": \"A\",\r\n \"transactionSetControlNumberSuffix\": \"B\",\r\n \"transactionSetControlNumberLowerBound\": 1,\r\n \"transactionSetControlNumberUpperBound\": 2147483647,\r\n \"rolloverTransactionSetControlNumber\": true,\r\n \"isTestInterchange\": true,\r\n \"senderInternalIdentification\": \"AAA\",\r\n \"senderInternalSubIdentification\": \"AAA\",\r\n \"receiverInternalIdentification\": \"0\",\r\n \"receiverInternalSubIdentification\": \"0\"\r\n },\r\n \"acknowledgementSettings\": {\r\n \"needTechnicalAcknowledgement\": true,\r\n \"batchTechnicalAcknowledgements\": true,\r\n \"needFunctionalAcknowledgement\": true,\r\n \"batchFunctionalAcknowledgements\": true,\r\n \"needLoopForValidMessages\": true,\r\n \"sendSynchronousAcknowledgement\": true,\r\n \"acknowledgementControlNumberPrefix\": \"A\",\r\n \"acknowledgementControlNumberSuffix\": \"B\",\r\n \"acknowledgementControlNumberLowerBound\": 1,\r\n \"acknowledgementControlNumberUpperBound\": 2147483647,\r\n \"rolloverAcknowledgementControlNumber\": true\r\n },\r\n \"messageFilter\": {\r\n \"messageFilterType\": \"Exclude\"\r\n },\r\n \"processingSettings\": {\r\n \"maskSecurityInfo\": true,\r\n \"preserveInterchange\": true,\r\n \"suspendInterchangeOnError\": true,\r\n \"createEmptyXmlTagsForTrailingSeparators\": true,\r\n \"useDotAsDecimalSeparator\": true\r\n },\r\n \"schemaReferences\": []\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AAA\",\r\n \"value\": \"AAA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZZ\",\r\n \"value\": \"ZZZ\"\r\n }\r\n },\r\n \"sendAgreement\": {\r\n \"protocolSettings\": {\r\n \"validationSettings\": {\r\n \"validateCharacterSet\": true,\r\n \"checkDuplicateInterchangeControlNumber\": true,\r\n \"interchangeControlNumberValidityDays\": 100,\r\n \"checkDuplicateGroupControlNumber\": true,\r\n \"checkDuplicateTransactionSetControlNumber\": true,\r\n \"validateEDITypes\": true,\r\n \"validateXSDTypes\": true,\r\n \"trimLeadingAndTrailingSpacesAndZeroes\": true,\r\n \"allowLeadingAndTrailingSpacesAndZeroes\": true,\r\n \"trailingSeparatorPolicy\": \"Mandatory\"\r\n },\r\n \"framingSettings\": {\r\n \"characterEncoding\": \"UTF\",\r\n \"protocolVersion\": 4,\r\n \"dataElementSeparator\": 53,\r\n \"componentSeparator\": 58,\r\n \"segmentTerminator\": 39,\r\n \"releaseIndicator\": 63,\r\n \"repetitionSeparator\": 42,\r\n \"characterSet\": \"UNOC\",\r\n \"decimalPointIndicator\": \"Comma\",\r\n \"segmentTerminatorSuffix\": \"None\"\r\n },\r\n \"envelopeSettings\": {\r\n \"groupAssociationAssignedCode\": \"0\",\r\n \"communicationAgreementId\": \"0\",\r\n \"applyDelimiterStringAdvice\": true,\r\n \"createGroupingSegments\": true,\r\n \"enableDefaultGroupHeaders\": true,\r\n \"recipientReferencePasswordValue\": \"AAA\",\r\n \"recipientReferencePasswordQualifier\": \"ZZ\",\r\n \"applicationReferenceId\": \"0\",\r\n \"processingPriorityCode\": \"0\",\r\n \"interchangeControlNumberLowerBound\": 1,\r\n \"interchangeControlNumberUpperBound\": 2147483647,\r\n \"rolloverInterchangeControlNumber\": true,\r\n \"interchangeControlNumberPrefix\": \"CU\",\r\n \"interchangeControlNumberSuffix\": \"NUM\",\r\n \"functionalGroupId\": \"0\",\r\n \"groupControllingAgencyCode\": \"0\",\r\n \"groupMessageVersion\": \"0.0\",\r\n \"groupMessageRelease\": \"0.0\",\r\n \"groupControlNumberLowerBound\": 1,\r\n \"groupControlNumberUpperBound\": 2147483647,\r\n \"rolloverGroupControlNumber\": true,\r\n \"groupControlNumberPrefix\": \"CU\",\r\n \"groupControlNumberSuffix\": \"NUM\",\r\n \"groupApplicationReceiverQualifier\": \"ZZZ\",\r\n \"groupApplicationReceiverId\": \"0\",\r\n \"groupApplicationSenderQualifier\": \"ZZZ\",\r\n \"groupApplicationSenderId\": \"AAA\",\r\n \"groupApplicationPassword\": \"0\",\r\n \"overwriteExistingTransactionSetControlNumber\": true,\r\n \"transactionSetControlNumberPrefix\": \"A\",\r\n \"transactionSetControlNumberSuffix\": \"B\",\r\n \"transactionSetControlNumberLowerBound\": 1,\r\n \"transactionSetControlNumberUpperBound\": 2147483647,\r\n \"rolloverTransactionSetControlNumber\": true,\r\n \"isTestInterchange\": true,\r\n \"senderInternalIdentification\": \"AAA\",\r\n \"senderInternalSubIdentification\": \"AAA\",\r\n \"receiverInternalIdentification\": \"0\",\r\n \"receiverInternalSubIdentification\": \"0\"\r\n },\r\n \"acknowledgementSettings\": {\r\n \"needTechnicalAcknowledgement\": true,\r\n \"batchTechnicalAcknowledgements\": true,\r\n \"needFunctionalAcknowledgement\": true,\r\n \"batchFunctionalAcknowledgements\": true,\r\n \"needLoopForValidMessages\": true,\r\n \"sendSynchronousAcknowledgement\": true,\r\n \"acknowledgementControlNumberPrefix\": \"A\",\r\n \"acknowledgementControlNumberSuffix\": \"B\",\r\n \"acknowledgementControlNumberLowerBound\": 1,\r\n \"acknowledgementControlNumberUpperBound\": 2147483647,\r\n \"rolloverAcknowledgementControlNumber\": true\r\n },\r\n \"messageFilter\": {\r\n \"messageFilterType\": \"Exclude\"\r\n },\r\n \"processingSettings\": {\r\n \"maskSecurityInfo\": true,\r\n \"preserveInterchange\": true,\r\n \"suspendInterchangeOnError\": true,\r\n \"createEmptyXmlTagsForTrailingSeparators\": true,\r\n \"useDotAsDecimalSeparator\": true\r\n },\r\n \"schemaReferences\": []\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AAA\",\r\n \"value\": \"AAA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZZ\",\r\n \"value\": \"ZZZ\"\r\n }\r\n }\r\n }\r\n },\r\n \"createdTime\": \"2017-03-01T21:56:32.6518232Z\",\r\n \"changedTime\": \"2017-03-01T21:56:32.6520486Z\",\r\n \"metadata\": \"IntegrationAccountAgreement2962\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2648/agreements/IntegrationAccountAgreement2962\",\r\n \"name\": \"IntegrationAccountAgreement2962\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/agreements\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "6657" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:56:31 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:90e0f43e-5d93-4d66-b2c8-5955b4df7b81" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1196" - ], - "x-ms-correlation-request-id": [ - "59d35536-8db0-459a-9ee9-ba1edd031dd0" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215632Z:59d35536-8db0-459a-9ee9-ba1edd031dd0" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2648/agreements/IntegrationAccountAgreement8620?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MjY0OC9hZ3JlZW1lbnRzL0ludGVncmF0aW9uQWNjb3VudEFncmVlbWVudDg2MjA/YXBpLXZlcnNpb249MjAxNi0wNi0wMQ==", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"metadata\": \"IntegrationAccountAgreement8620\",\r\n \"agreementType\": \"X12\",\r\n \"hostPartner\": \"HostPartner\",\r\n \"guestPartner\": \"GuestPartner\",\r\n \"hostIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"guestIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"content\": {\r\n \"X12\": {\r\n \"receiveAgreement\": {\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"protocolSettings\": {\r\n \"validationSettings\": {\r\n \"validateCharacterSet\": true,\r\n \"checkDuplicateInterchangeControlNumber\": false,\r\n \"interchangeControlNumberValidityDays\": 30,\r\n \"checkDuplicateGroupControlNumber\": false,\r\n \"checkDuplicateTransactionSetControlNumber\": false,\r\n \"validateEDITypes\": true,\r\n \"validateXSDTypes\": false,\r\n \"allowLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trimLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trailingSeparatorPolicy\": \"NotAllowed\"\r\n },\r\n \"framingSettings\": {\r\n \"dataElementSeparator\": 42,\r\n \"componentSeparator\": 58,\r\n \"replaceSeparatorsInPayload\": false,\r\n \"replaceCharacter\": 36,\r\n \"segmentTerminator\": 126,\r\n \"characterSet\": \"UTF8\",\r\n \"segmentTerminatorSuffix\": \"None\"\r\n },\r\n \"envelopeSettings\": {\r\n \"controlStandardsId\": 85,\r\n \"useControlStandardsIdAsRepetitionCharacter\": false,\r\n \"senderApplicationId\": \"BTS-SENDER\",\r\n \"receiverApplicationId\": \"RECEIVE-APP\",\r\n \"controlVersionNumber\": \"00401\",\r\n \"interchangeControlNumberLowerBound\": 1,\r\n \"interchangeControlNumberUpperBound\": 999999999,\r\n \"rolloverInterchangeControlNumber\": true,\r\n \"enableDefaultGroupHeaders\": true,\r\n \"groupControlNumberLowerBound\": 1,\r\n \"groupControlNumberUpperBound\": 999999999,\r\n \"rolloverGroupControlNumber\": true,\r\n \"groupHeaderAgencyCode\": \"T\",\r\n \"groupHeaderVersion\": \"00401\",\r\n \"transactionSetControlNumberLowerBound\": 1,\r\n \"transactionSetControlNumberUpperBound\": 999999999,\r\n \"rolloverTransactionSetControlNumber\": true,\r\n \"overwriteExistingTransactionSetControlNumber\": true,\r\n \"groupHeaderDateFormat\": \"CCYYMMDD\",\r\n \"groupHeaderTimeFormat\": \"HHMM\",\r\n \"usageIndicator\": \"Test\"\r\n },\r\n \"acknowledgementSettings\": {\r\n \"needTechnicalAcknowledgement\": false,\r\n \"batchTechnicalAcknowledgements\": true,\r\n \"needFunctionalAcknowledgement\": false,\r\n \"batchFunctionalAcknowledgements\": true,\r\n \"needImplementationAcknowledgement\": false,\r\n \"batchImplementationAcknowledgements\": false,\r\n \"needLoopForValidMessages\": false,\r\n \"sendSynchronousAcknowledgement\": true,\r\n \"acknowledgementControlNumberLowerBound\": 1,\r\n \"acknowledgementControlNumberUpperBound\": 999999999,\r\n \"rolloverAcknowledgementControlNumber\": true\r\n },\r\n \"messageFilter\": {\r\n \"messageFilterType\": \"Exclude\"\r\n },\r\n \"securitySettings\": {\r\n \"authorizationQualifier\": \"00\",\r\n \"securityQualifier\": \"00\"\r\n },\r\n \"processingSettings\": {\r\n \"maskSecurityInfo\": true,\r\n \"convertImpliedDecimal\": true,\r\n \"preserveInterchange\": true,\r\n \"suspendInterchangeOnError\": true,\r\n \"createEmptyXmlTagsForTrailingSeparators\": true,\r\n \"useDotAsDecimalSeparator\": true\r\n },\r\n \"schemaReferences\": []\r\n }\r\n },\r\n \"sendAgreement\": {\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"protocolSettings\": {\r\n \"validationSettings\": {\r\n \"validateCharacterSet\": true,\r\n \"checkDuplicateInterchangeControlNumber\": false,\r\n \"interchangeControlNumberValidityDays\": 30,\r\n \"checkDuplicateGroupControlNumber\": false,\r\n \"checkDuplicateTransactionSetControlNumber\": false,\r\n \"validateEDITypes\": true,\r\n \"validateXSDTypes\": false,\r\n \"allowLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trimLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trailingSeparatorPolicy\": \"NotAllowed\"\r\n },\r\n \"framingSettings\": {\r\n \"dataElementSeparator\": 42,\r\n \"componentSeparator\": 58,\r\n \"replaceSeparatorsInPayload\": false,\r\n \"replaceCharacter\": 36,\r\n \"segmentTerminator\": 126,\r\n \"characterSet\": \"UTF8\",\r\n \"segmentTerminatorSuffix\": \"None\"\r\n },\r\n \"envelopeSettings\": {\r\n \"controlStandardsId\": 100,\r\n \"useControlStandardsIdAsRepetitionCharacter\": true,\r\n \"senderApplicationId\": \"100\",\r\n \"receiverApplicationId\": \"100\",\r\n \"controlVersionNumber\": \"0.0\",\r\n \"interchangeControlNumberLowerBound\": 1,\r\n \"interchangeControlNumberUpperBound\": 999999999,\r\n \"rolloverInterchangeControlNumber\": true,\r\n \"enableDefaultGroupHeaders\": true,\r\n \"functionalGroupId\": \"1\",\r\n \"groupControlNumberLowerBound\": 1,\r\n \"groupControlNumberUpperBound\": 999999999,\r\n \"rolloverGroupControlNumber\": true,\r\n \"groupHeaderAgencyCode\": \"T\",\r\n \"groupHeaderVersion\": \"0.0\",\r\n \"transactionSetControlNumberLowerBound\": 1,\r\n \"transactionSetControlNumberUpperBound\": 999999999,\r\n \"rolloverTransactionSetControlNumber\": true,\r\n \"transactionSetControlNumberPrefix\": \"\",\r\n \"transactionSetControlNumberSuffix\": \"\",\r\n \"overwriteExistingTransactionSetControlNumber\": true,\r\n \"groupHeaderDateFormat\": \"CCYYMMDD\",\r\n \"groupHeaderTimeFormat\": \"HHMM\",\r\n \"usageIndicator\": \"Information\"\r\n },\r\n \"acknowledgementSettings\": {\r\n \"needTechnicalAcknowledgement\": false,\r\n \"batchTechnicalAcknowledgements\": true,\r\n \"needFunctionalAcknowledgement\": false,\r\n \"batchFunctionalAcknowledgements\": true,\r\n \"needImplementationAcknowledgement\": false,\r\n \"batchImplementationAcknowledgements\": false,\r\n \"needLoopForValidMessages\": false,\r\n \"sendSynchronousAcknowledgement\": true,\r\n \"acknowledgementControlNumberLowerBound\": 1,\r\n \"acknowledgementControlNumberUpperBound\": 999999999,\r\n \"rolloverAcknowledgementControlNumber\": true\r\n },\r\n \"messageFilter\": {\r\n \"messageFilterType\": \"Exclude\"\r\n },\r\n \"securitySettings\": {\r\n \"authorizationQualifier\": \"00\",\r\n \"securityQualifier\": \"00\"\r\n },\r\n \"processingSettings\": {\r\n \"maskSecurityInfo\": true,\r\n \"convertImpliedDecimal\": true,\r\n \"preserveInterchange\": true,\r\n \"suspendInterchangeOnError\": true,\r\n \"createEmptyXmlTagsForTrailingSeparators\": true,\r\n \"useDotAsDecimalSeparator\": true\r\n },\r\n \"schemaReferences\": []\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"IntegrationAccountAgreement\": \"IntegrationAccountAgreement8620\"\r\n }\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "8185" - ], - "x-ms-client-request-id": [ - "ef3eb459-2b82-43b8-9ffb-ab3c6870e8ec" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"hostPartner\": \"HostPartner\",\r\n \"guestPartner\": \"GuestPartner\",\r\n \"hostIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"guestIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"agreementType\": \"X12\",\r\n \"content\": {\r\n \"x12\": {\r\n \"receiveAgreement\": {\r\n \"protocolSettings\": {\r\n \"validationSettings\": {\r\n \"validateCharacterSet\": true,\r\n \"checkDuplicateInterchangeControlNumber\": false,\r\n \"interchangeControlNumberValidityDays\": 30,\r\n \"checkDuplicateGroupControlNumber\": false,\r\n \"checkDuplicateTransactionSetControlNumber\": false,\r\n \"validateEDITypes\": true,\r\n \"validateXSDTypes\": false,\r\n \"allowLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trimLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trailingSeparatorPolicy\": \"NotAllowed\"\r\n },\r\n \"framingSettings\": {\r\n \"dataElementSeparator\": 42,\r\n \"componentSeparator\": 58,\r\n \"replaceSeparatorsInPayload\": false,\r\n \"replaceCharacter\": 36,\r\n \"segmentTerminator\": 126,\r\n \"characterSet\": \"UTF8\",\r\n \"segmentTerminatorSuffix\": \"None\"\r\n },\r\n \"envelopeSettings\": {\r\n \"controlStandardsId\": 85,\r\n \"useControlStandardsIdAsRepetitionCharacter\": false,\r\n \"senderApplicationId\": \"BTS-SENDER\",\r\n \"receiverApplicationId\": \"RECEIVE-APP\",\r\n \"controlVersionNumber\": \"00401\",\r\n \"interchangeControlNumberLowerBound\": 1,\r\n \"interchangeControlNumberUpperBound\": 999999999,\r\n \"rolloverInterchangeControlNumber\": true,\r\n \"enableDefaultGroupHeaders\": true,\r\n \"groupControlNumberLowerBound\": 1,\r\n \"groupControlNumberUpperBound\": 999999999,\r\n \"rolloverGroupControlNumber\": true,\r\n \"groupHeaderAgencyCode\": \"T\",\r\n \"groupHeaderVersion\": \"00401\",\r\n \"transactionSetControlNumberLowerBound\": 1,\r\n \"transactionSetControlNumberUpperBound\": 999999999,\r\n \"rolloverTransactionSetControlNumber\": true,\r\n \"overwriteExistingTransactionSetControlNumber\": true,\r\n \"groupHeaderDateFormat\": \"CCYYMMDD\",\r\n \"groupHeaderTimeFormat\": \"HHMM\",\r\n \"usageIndicator\": \"Test\"\r\n },\r\n \"acknowledgementSettings\": {\r\n \"needTechnicalAcknowledgement\": false,\r\n \"batchTechnicalAcknowledgements\": true,\r\n \"needFunctionalAcknowledgement\": false,\r\n \"batchFunctionalAcknowledgements\": true,\r\n \"needImplementationAcknowledgement\": false,\r\n \"batchImplementationAcknowledgements\": false,\r\n \"needLoopForValidMessages\": false,\r\n \"sendSynchronousAcknowledgement\": true,\r\n \"acknowledgementControlNumberLowerBound\": 1,\r\n \"acknowledgementControlNumberUpperBound\": 999999999,\r\n \"rolloverAcknowledgementControlNumber\": true\r\n },\r\n \"messageFilter\": {\r\n \"messageFilterType\": \"Exclude\"\r\n },\r\n \"securitySettings\": {\r\n \"authorizationQualifier\": \"00\",\r\n \"securityQualifier\": \"00\"\r\n },\r\n \"processingSettings\": {\r\n \"maskSecurityInfo\": true,\r\n \"convertImpliedDecimal\": true,\r\n \"preserveInterchange\": true,\r\n \"suspendInterchangeOnError\": true,\r\n \"createEmptyXmlTagsForTrailingSeparators\": true,\r\n \"useDotAsDecimalSeparator\": true\r\n },\r\n \"schemaReferences\": []\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n }\r\n },\r\n \"sendAgreement\": {\r\n \"protocolSettings\": {\r\n \"validationSettings\": {\r\n \"validateCharacterSet\": true,\r\n \"checkDuplicateInterchangeControlNumber\": false,\r\n \"interchangeControlNumberValidityDays\": 30,\r\n \"checkDuplicateGroupControlNumber\": false,\r\n \"checkDuplicateTransactionSetControlNumber\": false,\r\n \"validateEDITypes\": true,\r\n \"validateXSDTypes\": false,\r\n \"allowLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trimLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trailingSeparatorPolicy\": \"NotAllowed\"\r\n },\r\n \"framingSettings\": {\r\n \"dataElementSeparator\": 42,\r\n \"componentSeparator\": 58,\r\n \"replaceSeparatorsInPayload\": false,\r\n \"replaceCharacter\": 36,\r\n \"segmentTerminator\": 126,\r\n \"characterSet\": \"UTF8\",\r\n \"segmentTerminatorSuffix\": \"None\"\r\n },\r\n \"envelopeSettings\": {\r\n \"controlStandardsId\": 100,\r\n \"useControlStandardsIdAsRepetitionCharacter\": true,\r\n \"senderApplicationId\": \"100\",\r\n \"receiverApplicationId\": \"100\",\r\n \"controlVersionNumber\": \"0.0\",\r\n \"interchangeControlNumberLowerBound\": 1,\r\n \"interchangeControlNumberUpperBound\": 999999999,\r\n \"rolloverInterchangeControlNumber\": true,\r\n \"enableDefaultGroupHeaders\": true,\r\n \"functionalGroupId\": \"1\",\r\n \"groupControlNumberLowerBound\": 1,\r\n \"groupControlNumberUpperBound\": 999999999,\r\n \"rolloverGroupControlNumber\": true,\r\n \"groupHeaderAgencyCode\": \"T\",\r\n \"groupHeaderVersion\": \"0.0\",\r\n \"transactionSetControlNumberLowerBound\": 1,\r\n \"transactionSetControlNumberUpperBound\": 999999999,\r\n \"rolloverTransactionSetControlNumber\": true,\r\n \"transactionSetControlNumberPrefix\": \"\",\r\n \"transactionSetControlNumberSuffix\": \"\",\r\n \"overwriteExistingTransactionSetControlNumber\": true,\r\n \"groupHeaderDateFormat\": \"CCYYMMDD\",\r\n \"groupHeaderTimeFormat\": \"HHMM\",\r\n \"usageIndicator\": \"Information\"\r\n },\r\n \"acknowledgementSettings\": {\r\n \"needTechnicalAcknowledgement\": false,\r\n \"batchTechnicalAcknowledgements\": true,\r\n \"needFunctionalAcknowledgement\": false,\r\n \"batchFunctionalAcknowledgements\": true,\r\n \"needImplementationAcknowledgement\": false,\r\n \"batchImplementationAcknowledgements\": false,\r\n \"needLoopForValidMessages\": false,\r\n \"sendSynchronousAcknowledgement\": true,\r\n \"acknowledgementControlNumberLowerBound\": 1,\r\n \"acknowledgementControlNumberUpperBound\": 999999999,\r\n \"rolloverAcknowledgementControlNumber\": true\r\n },\r\n \"messageFilter\": {\r\n \"messageFilterType\": \"Exclude\"\r\n },\r\n \"securitySettings\": {\r\n \"authorizationQualifier\": \"00\",\r\n \"securityQualifier\": \"00\"\r\n },\r\n \"processingSettings\": {\r\n \"maskSecurityInfo\": true,\r\n \"convertImpliedDecimal\": true,\r\n \"preserveInterchange\": true,\r\n \"suspendInterchangeOnError\": true,\r\n \"createEmptyXmlTagsForTrailingSeparators\": true,\r\n \"useDotAsDecimalSeparator\": true\r\n },\r\n \"schemaReferences\": []\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n }\r\n }\r\n }\r\n },\r\n \"createdTime\": \"2017-03-01T21:56:33.0132695Z\",\r\n \"changedTime\": \"2017-03-01T21:56:33.0137785Z\",\r\n \"metadata\": \"IntegrationAccountAgreement8620\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2648/agreements/IntegrationAccountAgreement8620\",\r\n \"name\": \"IntegrationAccountAgreement8620\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/agreements\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "5549" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:56:32 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:c604cb02-ff20-4457-8830-6ff15bf8eb23" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1195" - ], - "x-ms-correlation-request-id": [ - "054d877f-d87f-42e3-ba6c-5fb799bb4859" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215633Z:054d877f-d87f-42e3-ba6c-5fb799bb4859" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2648?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MjY0OD9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "3ae909b4-ab31-49c3-95ce-1f941ae12eeb" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:56:32 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:2baf5810-5d38-45a4-be33-a5f07fc1c071" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1194" - ], - "x-ms-correlation-request-id": [ - "e82a66b9-6851-47af-813a-0d6ab2331796" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215633Z:e82a66b9-6851-47af-813a-0d6ab2331796" - ] - }, - "StatusCode": 200 - } - ], - "Names": { - "CreateIntegrationAccountAgreementUsingFile": [ - "IntegrationAccount2648", - "IntegrationAccountAgreement8614", - "IntegrationAccountAgreement8620", - "IntegrationAccountAgreement2962" - ] - }, - "Variables": { - "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" - } -} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAgreementScenarioTests/CreateIntegrationAccountAgreementWithEnvelopeOverride.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAgreementScenarioTests/CreateIntegrationAccountAgreementWithEnvelopeOverride.json deleted file mode 100644 index 88d7263397dab..0000000000000 --- a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAgreementScenarioTests/CreateIntegrationAccountAgreementWithEnvelopeOverride.json +++ /dev/null @@ -1,246 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount842?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50ODQyP2FwaS12ZXJzaW9uPTIwMTYtMDYtMDE=", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "91" - ], - "x-ms-client-request-id": [ - "6c686c2d-0e35-45d6-ada9-e9e2611f4591" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount842\",\r\n \"name\": \"IntegrationAccount842\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "288" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:56:35 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:e38edc60-cab3-4b6e-a309-4a529f10fbed" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1190" - ], - "x-ms-correlation-request-id": [ - "645db8fd-ce54-4f43-8012-db8714bb305f" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215636Z:645db8fd-ce54-4f43-8012-db8714bb305f" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount842/agreements/IntegrationAccountAgreement7432?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50ODQyL2FncmVlbWVudHMvSW50ZWdyYXRpb25BY2NvdW50QWdyZWVtZW50NzQzMj9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"metadata\": \"IntegrationAccountAgreement7432\",\r\n \"agreementType\": \"X12\",\r\n \"hostPartner\": \"HostPartner\",\r\n \"guestPartner\": \"GuestPartner\",\r\n \"hostIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"guestIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"content\": {\r\n \"X12\": {\r\n \"receiveAgreement\": {\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"protocolSettings\": {\r\n \"validationSettings\": {\r\n \"validateCharacterSet\": true,\r\n \"checkDuplicateInterchangeControlNumber\": false,\r\n \"interchangeControlNumberValidityDays\": 30,\r\n \"checkDuplicateGroupControlNumber\": false,\r\n \"checkDuplicateTransactionSetControlNumber\": false,\r\n \"validateEDITypes\": true,\r\n \"validateXSDTypes\": false,\r\n \"allowLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trimLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trailingSeparatorPolicy\": \"NotAllowed\"\r\n },\r\n \"framingSettings\": {\r\n \"dataElementSeparator\": 42,\r\n \"componentSeparator\": 58,\r\n \"replaceSeparatorsInPayload\": false,\r\n \"replaceCharacter\": 36,\r\n \"segmentTerminator\": 126,\r\n \"characterSet\": \"UTF8\",\r\n \"segmentTerminatorSuffix\": \"None\"\r\n },\r\n \"envelopeSettings\": {\r\n \"controlStandardsId\": 85,\r\n \"useControlStandardsIdAsRepetitionCharacter\": false,\r\n \"senderApplicationId\": \"BTS-SENDER\",\r\n \"receiverApplicationId\": \"RECEIVE-APP\",\r\n \"controlVersionNumber\": \"00401\",\r\n \"interchangeControlNumberLowerBound\": 1,\r\n \"interchangeControlNumberUpperBound\": 999999999,\r\n \"rolloverInterchangeControlNumber\": true,\r\n \"enableDefaultGroupHeaders\": true,\r\n \"groupControlNumberLowerBound\": 1,\r\n \"groupControlNumberUpperBound\": 999999999,\r\n \"rolloverGroupControlNumber\": true,\r\n \"groupHeaderAgencyCode\": \"T\",\r\n \"groupHeaderVersion\": \"00401\",\r\n \"transactionSetControlNumberLowerBound\": 1,\r\n \"transactionSetControlNumberUpperBound\": 999999999,\r\n \"rolloverTransactionSetControlNumber\": true,\r\n \"overwriteExistingTransactionSetControlNumber\": true,\r\n \"groupHeaderDateFormat\": \"CCYYMMDD\",\r\n \"groupHeaderTimeFormat\": \"HHMM\",\r\n \"usageIndicator\": \"Test\"\r\n },\r\n \"acknowledgementSettings\": {\r\n \"needTechnicalAcknowledgement\": false,\r\n \"batchTechnicalAcknowledgements\": true,\r\n \"needFunctionalAcknowledgement\": false,\r\n \"batchFunctionalAcknowledgements\": true,\r\n \"needImplementationAcknowledgement\": false,\r\n \"batchImplementationAcknowledgements\": false,\r\n \"needLoopForValidMessages\": false,\r\n \"sendSynchronousAcknowledgement\": true,\r\n \"acknowledgementControlNumberLowerBound\": 1,\r\n \"acknowledgementControlNumberUpperBound\": 999999999,\r\n \"rolloverAcknowledgementControlNumber\": true\r\n },\r\n \"messageFilter\": {\r\n \"messageFilterType\": \"Exclude\"\r\n },\r\n \"securitySettings\": {\r\n \"authorizationQualifier\": \"00\",\r\n \"securityQualifier\": \"00\"\r\n },\r\n \"processingSettings\": {\r\n \"maskSecurityInfo\": true,\r\n \"convertImpliedDecimal\": true,\r\n \"preserveInterchange\": true,\r\n \"suspendInterchangeOnError\": true,\r\n \"createEmptyXmlTagsForTrailingSeparators\": true,\r\n \"useDotAsDecimalSeparator\": true\r\n },\r\n \"envelopeOverrides\": [\r\n {\r\n \"targetNamespace\": \"test\",\r\n \"protocolVersion\": \"1\",\r\n \"messageId\": \"100\",\r\n \"responsibleAgencyCode\": \"X\",\r\n \"headerVersion\": \"1\",\r\n \"senderApplicationId\": \"89459\",\r\n \"receiverApplicationId\": \"93494\",\r\n \"functionalIdentifierCode\": \"x\",\r\n \"dateFormat\": \"CCYYMMDD\",\r\n \"timeFormat\": \"HHMM\"\r\n }\r\n ],\r\n \"schemaReferences\": []\r\n }\r\n },\r\n \"sendAgreement\": {\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"protocolSettings\": {\r\n \"validationSettings\": {\r\n \"validateCharacterSet\": true,\r\n \"checkDuplicateInterchangeControlNumber\": false,\r\n \"interchangeControlNumberValidityDays\": 30,\r\n \"checkDuplicateGroupControlNumber\": false,\r\n \"checkDuplicateTransactionSetControlNumber\": false,\r\n \"validateEDITypes\": true,\r\n \"validateXSDTypes\": false,\r\n \"allowLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trimLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trailingSeparatorPolicy\": \"NotAllowed\"\r\n },\r\n \"framingSettings\": {\r\n \"dataElementSeparator\": 42,\r\n \"componentSeparator\": 58,\r\n \"replaceSeparatorsInPayload\": false,\r\n \"replaceCharacter\": 36,\r\n \"segmentTerminator\": 126,\r\n \"characterSet\": \"UTF8\",\r\n \"segmentTerminatorSuffix\": \"None\"\r\n },\r\n \"envelopeSettings\": {\r\n \"controlStandardsId\": 100,\r\n \"useControlStandardsIdAsRepetitionCharacter\": true,\r\n \"senderApplicationId\": \"100\",\r\n \"receiverApplicationId\": \"100\",\r\n \"controlVersionNumber\": \"0.0\",\r\n \"interchangeControlNumberLowerBound\": 1,\r\n \"interchangeControlNumberUpperBound\": 999999999,\r\n \"rolloverInterchangeControlNumber\": true,\r\n \"enableDefaultGroupHeaders\": true,\r\n \"functionalGroupId\": \"1\",\r\n \"groupControlNumberLowerBound\": 1,\r\n \"groupControlNumberUpperBound\": 999999999,\r\n \"rolloverGroupControlNumber\": true,\r\n \"groupHeaderAgencyCode\": \"T\",\r\n \"groupHeaderVersion\": \"0.0\",\r\n \"transactionSetControlNumberLowerBound\": 1,\r\n \"transactionSetControlNumberUpperBound\": 999999999,\r\n \"rolloverTransactionSetControlNumber\": true,\r\n \"transactionSetControlNumberPrefix\": \"\",\r\n \"transactionSetControlNumberSuffix\": \"\",\r\n \"overwriteExistingTransactionSetControlNumber\": true,\r\n \"groupHeaderDateFormat\": \"CCYYMMDD\",\r\n \"groupHeaderTimeFormat\": \"HHMM\",\r\n \"usageIndicator\": \"Information\"\r\n },\r\n \"acknowledgementSettings\": {\r\n \"needTechnicalAcknowledgement\": false,\r\n \"batchTechnicalAcknowledgements\": true,\r\n \"needFunctionalAcknowledgement\": false,\r\n \"batchFunctionalAcknowledgements\": true,\r\n \"needImplementationAcknowledgement\": false,\r\n \"batchImplementationAcknowledgements\": false,\r\n \"needLoopForValidMessages\": false,\r\n \"sendSynchronousAcknowledgement\": true,\r\n \"acknowledgementControlNumberLowerBound\": 1,\r\n \"acknowledgementControlNumberUpperBound\": 999999999,\r\n \"rolloverAcknowledgementControlNumber\": true\r\n },\r\n \"messageFilter\": {\r\n \"messageFilterType\": \"Exclude\"\r\n },\r\n \"securitySettings\": {\r\n \"authorizationQualifier\": \"00\",\r\n \"securityQualifier\": \"00\"\r\n },\r\n \"processingSettings\": {\r\n \"maskSecurityInfo\": true,\r\n \"convertImpliedDecimal\": true,\r\n \"preserveInterchange\": true,\r\n \"suspendInterchangeOnError\": true,\r\n \"createEmptyXmlTagsForTrailingSeparators\": true,\r\n \"useDotAsDecimalSeparator\": true\r\n },\r\n \"schemaReferences\": []\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"IntegrationAccountAgreement\": \"IntegrationAccountAgreement7432\"\r\n }\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "8710" - ], - "x-ms-client-request-id": [ - "9ec827ff-71de-4c8e-b8a6-fb40bf3af93f" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"hostPartner\": \"HostPartner\",\r\n \"guestPartner\": \"GuestPartner\",\r\n \"hostIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"guestIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"agreementType\": \"X12\",\r\n \"content\": {\r\n \"x12\": {\r\n \"receiveAgreement\": {\r\n \"protocolSettings\": {\r\n \"validationSettings\": {\r\n \"validateCharacterSet\": true,\r\n \"checkDuplicateInterchangeControlNumber\": false,\r\n \"interchangeControlNumberValidityDays\": 30,\r\n \"checkDuplicateGroupControlNumber\": false,\r\n \"checkDuplicateTransactionSetControlNumber\": false,\r\n \"validateEDITypes\": true,\r\n \"validateXSDTypes\": false,\r\n \"allowLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trimLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trailingSeparatorPolicy\": \"NotAllowed\"\r\n },\r\n \"framingSettings\": {\r\n \"dataElementSeparator\": 42,\r\n \"componentSeparator\": 58,\r\n \"replaceSeparatorsInPayload\": false,\r\n \"replaceCharacter\": 36,\r\n \"segmentTerminator\": 126,\r\n \"characterSet\": \"UTF8\",\r\n \"segmentTerminatorSuffix\": \"None\"\r\n },\r\n \"envelopeSettings\": {\r\n \"controlStandardsId\": 85,\r\n \"useControlStandardsIdAsRepetitionCharacter\": false,\r\n \"senderApplicationId\": \"BTS-SENDER\",\r\n \"receiverApplicationId\": \"RECEIVE-APP\",\r\n \"controlVersionNumber\": \"00401\",\r\n \"interchangeControlNumberLowerBound\": 1,\r\n \"interchangeControlNumberUpperBound\": 999999999,\r\n \"rolloverInterchangeControlNumber\": true,\r\n \"enableDefaultGroupHeaders\": true,\r\n \"groupControlNumberLowerBound\": 1,\r\n \"groupControlNumberUpperBound\": 999999999,\r\n \"rolloverGroupControlNumber\": true,\r\n \"groupHeaderAgencyCode\": \"T\",\r\n \"groupHeaderVersion\": \"00401\",\r\n \"transactionSetControlNumberLowerBound\": 1,\r\n \"transactionSetControlNumberUpperBound\": 999999999,\r\n \"rolloverTransactionSetControlNumber\": true,\r\n \"overwriteExistingTransactionSetControlNumber\": true,\r\n \"groupHeaderDateFormat\": \"CCYYMMDD\",\r\n \"groupHeaderTimeFormat\": \"HHMM\",\r\n \"usageIndicator\": \"Test\"\r\n },\r\n \"acknowledgementSettings\": {\r\n \"needTechnicalAcknowledgement\": false,\r\n \"batchTechnicalAcknowledgements\": true,\r\n \"needFunctionalAcknowledgement\": false,\r\n \"batchFunctionalAcknowledgements\": true,\r\n \"needImplementationAcknowledgement\": false,\r\n \"batchImplementationAcknowledgements\": false,\r\n \"needLoopForValidMessages\": false,\r\n \"sendSynchronousAcknowledgement\": true,\r\n \"acknowledgementControlNumberLowerBound\": 1,\r\n \"acknowledgementControlNumberUpperBound\": 999999999,\r\n \"rolloverAcknowledgementControlNumber\": true\r\n },\r\n \"messageFilter\": {\r\n \"messageFilterType\": \"Exclude\"\r\n },\r\n \"securitySettings\": {\r\n \"authorizationQualifier\": \"00\",\r\n \"securityQualifier\": \"00\"\r\n },\r\n \"processingSettings\": {\r\n \"maskSecurityInfo\": true,\r\n \"convertImpliedDecimal\": true,\r\n \"preserveInterchange\": true,\r\n \"suspendInterchangeOnError\": true,\r\n \"createEmptyXmlTagsForTrailingSeparators\": true,\r\n \"useDotAsDecimalSeparator\": true\r\n },\r\n \"envelopeOverrides\": [\r\n {\r\n \"targetNamespace\": \"test\",\r\n \"protocolVersion\": \"1\",\r\n \"messageId\": \"100\",\r\n \"responsibleAgencyCode\": \"X\",\r\n \"headerVersion\": \"1\",\r\n \"senderApplicationId\": \"89459\",\r\n \"receiverApplicationId\": \"93494\",\r\n \"functionalIdentifierCode\": \"x\",\r\n \"dateFormat\": \"CCYYMMDD\",\r\n \"timeFormat\": \"HHMM\"\r\n }\r\n ],\r\n \"schemaReferences\": []\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n }\r\n },\r\n \"sendAgreement\": {\r\n \"protocolSettings\": {\r\n \"validationSettings\": {\r\n \"validateCharacterSet\": true,\r\n \"checkDuplicateInterchangeControlNumber\": false,\r\n \"interchangeControlNumberValidityDays\": 30,\r\n \"checkDuplicateGroupControlNumber\": false,\r\n \"checkDuplicateTransactionSetControlNumber\": false,\r\n \"validateEDITypes\": true,\r\n \"validateXSDTypes\": false,\r\n \"allowLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trimLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trailingSeparatorPolicy\": \"NotAllowed\"\r\n },\r\n \"framingSettings\": {\r\n \"dataElementSeparator\": 42,\r\n \"componentSeparator\": 58,\r\n \"replaceSeparatorsInPayload\": false,\r\n \"replaceCharacter\": 36,\r\n \"segmentTerminator\": 126,\r\n \"characterSet\": \"UTF8\",\r\n \"segmentTerminatorSuffix\": \"None\"\r\n },\r\n \"envelopeSettings\": {\r\n \"controlStandardsId\": 100,\r\n \"useControlStandardsIdAsRepetitionCharacter\": true,\r\n \"senderApplicationId\": \"100\",\r\n \"receiverApplicationId\": \"100\",\r\n \"controlVersionNumber\": \"0.0\",\r\n \"interchangeControlNumberLowerBound\": 1,\r\n \"interchangeControlNumberUpperBound\": 999999999,\r\n \"rolloverInterchangeControlNumber\": true,\r\n \"enableDefaultGroupHeaders\": true,\r\n \"functionalGroupId\": \"1\",\r\n \"groupControlNumberLowerBound\": 1,\r\n \"groupControlNumberUpperBound\": 999999999,\r\n \"rolloverGroupControlNumber\": true,\r\n \"groupHeaderAgencyCode\": \"T\",\r\n \"groupHeaderVersion\": \"0.0\",\r\n \"transactionSetControlNumberLowerBound\": 1,\r\n \"transactionSetControlNumberUpperBound\": 999999999,\r\n \"rolloverTransactionSetControlNumber\": true,\r\n \"transactionSetControlNumberPrefix\": \"\",\r\n \"transactionSetControlNumberSuffix\": \"\",\r\n \"overwriteExistingTransactionSetControlNumber\": true,\r\n \"groupHeaderDateFormat\": \"CCYYMMDD\",\r\n \"groupHeaderTimeFormat\": \"HHMM\",\r\n \"usageIndicator\": \"Information\"\r\n },\r\n \"acknowledgementSettings\": {\r\n \"needTechnicalAcknowledgement\": false,\r\n \"batchTechnicalAcknowledgements\": true,\r\n \"needFunctionalAcknowledgement\": false,\r\n \"batchFunctionalAcknowledgements\": true,\r\n \"needImplementationAcknowledgement\": false,\r\n \"batchImplementationAcknowledgements\": false,\r\n \"needLoopForValidMessages\": false,\r\n \"sendSynchronousAcknowledgement\": true,\r\n \"acknowledgementControlNumberLowerBound\": 1,\r\n \"acknowledgementControlNumberUpperBound\": 999999999,\r\n \"rolloverAcknowledgementControlNumber\": true\r\n },\r\n \"messageFilter\": {\r\n \"messageFilterType\": \"Exclude\"\r\n },\r\n \"securitySettings\": {\r\n \"authorizationQualifier\": \"00\",\r\n \"securityQualifier\": \"00\"\r\n },\r\n \"processingSettings\": {\r\n \"maskSecurityInfo\": true,\r\n \"convertImpliedDecimal\": true,\r\n \"preserveInterchange\": true,\r\n \"suspendInterchangeOnError\": true,\r\n \"createEmptyXmlTagsForTrailingSeparators\": true,\r\n \"useDotAsDecimalSeparator\": true\r\n },\r\n \"schemaReferences\": []\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n }\r\n }\r\n }\r\n },\r\n \"createdTime\": \"2017-03-01T21:56:36.9101689Z\",\r\n \"changedTime\": \"2017-03-01T21:56:36.9103832Z\",\r\n \"metadata\": \"IntegrationAccountAgreement7432\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount842/agreements/IntegrationAccountAgreement7432\",\r\n \"name\": \"IntegrationAccountAgreement7432\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/agreements\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "5822" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:56:36 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:54b71da8-b56c-4252-802b-22e29dbef76b" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1189" - ], - "x-ms-correlation-request-id": [ - "a45d3feb-9372-4e79-bd4a-2bad302aeabf" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215636Z:a45d3feb-9372-4e79-bd4a-2bad302aeabf" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount842/agreements/IntegrationAccountAgreement7432?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50ODQyL2FncmVlbWVudHMvSW50ZWdyYXRpb25BY2NvdW50QWdyZWVtZW50NzQzMj9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "c3d088fa-5248-429d-8d0b-a01bebcd0454" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"hostPartner\": \"HostPartner\",\r\n \"guestPartner\": \"GuestPartner\",\r\n \"hostIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"guestIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"agreementType\": \"X12\",\r\n \"content\": {\r\n \"x12\": {\r\n \"receiveAgreement\": {\r\n \"protocolSettings\": {\r\n \"validationSettings\": {\r\n \"validateCharacterSet\": true,\r\n \"checkDuplicateInterchangeControlNumber\": false,\r\n \"interchangeControlNumberValidityDays\": 30,\r\n \"checkDuplicateGroupControlNumber\": false,\r\n \"checkDuplicateTransactionSetControlNumber\": false,\r\n \"validateEDITypes\": true,\r\n \"validateXSDTypes\": false,\r\n \"allowLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trimLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trailingSeparatorPolicy\": \"NotAllowed\"\r\n },\r\n \"framingSettings\": {\r\n \"dataElementSeparator\": 42,\r\n \"componentSeparator\": 58,\r\n \"replaceSeparatorsInPayload\": false,\r\n \"replaceCharacter\": 36,\r\n \"segmentTerminator\": 126,\r\n \"characterSet\": \"UTF8\",\r\n \"segmentTerminatorSuffix\": \"None\"\r\n },\r\n \"envelopeSettings\": {\r\n \"controlStandardsId\": 85,\r\n \"useControlStandardsIdAsRepetitionCharacter\": false,\r\n \"senderApplicationId\": \"BTS-SENDER\",\r\n \"receiverApplicationId\": \"RECEIVE-APP\",\r\n \"controlVersionNumber\": \"00401\",\r\n \"interchangeControlNumberLowerBound\": 1,\r\n \"interchangeControlNumberUpperBound\": 999999999,\r\n \"rolloverInterchangeControlNumber\": true,\r\n \"enableDefaultGroupHeaders\": true,\r\n \"groupControlNumberLowerBound\": 1,\r\n \"groupControlNumberUpperBound\": 999999999,\r\n \"rolloverGroupControlNumber\": true,\r\n \"groupHeaderAgencyCode\": \"T\",\r\n \"groupHeaderVersion\": \"00401\",\r\n \"transactionSetControlNumberLowerBound\": 1,\r\n \"transactionSetControlNumberUpperBound\": 999999999,\r\n \"rolloverTransactionSetControlNumber\": true,\r\n \"overwriteExistingTransactionSetControlNumber\": true,\r\n \"groupHeaderDateFormat\": \"CCYYMMDD\",\r\n \"groupHeaderTimeFormat\": \"HHMM\",\r\n \"usageIndicator\": \"Test\"\r\n },\r\n \"acknowledgementSettings\": {\r\n \"needTechnicalAcknowledgement\": false,\r\n \"batchTechnicalAcknowledgements\": true,\r\n \"needFunctionalAcknowledgement\": false,\r\n \"batchFunctionalAcknowledgements\": true,\r\n \"needImplementationAcknowledgement\": false,\r\n \"batchImplementationAcknowledgements\": false,\r\n \"needLoopForValidMessages\": false,\r\n \"sendSynchronousAcknowledgement\": true,\r\n \"acknowledgementControlNumberLowerBound\": 1,\r\n \"acknowledgementControlNumberUpperBound\": 999999999,\r\n \"rolloverAcknowledgementControlNumber\": true\r\n },\r\n \"messageFilter\": {\r\n \"messageFilterType\": \"Exclude\"\r\n },\r\n \"securitySettings\": {\r\n \"authorizationQualifier\": \"00\",\r\n \"securityQualifier\": \"00\"\r\n },\r\n \"processingSettings\": {\r\n \"maskSecurityInfo\": true,\r\n \"convertImpliedDecimal\": true,\r\n \"preserveInterchange\": true,\r\n \"suspendInterchangeOnError\": true,\r\n \"createEmptyXmlTagsForTrailingSeparators\": true,\r\n \"useDotAsDecimalSeparator\": true\r\n },\r\n \"envelopeOverrides\": [\r\n {\r\n \"targetNamespace\": \"test\",\r\n \"protocolVersion\": \"1\",\r\n \"messageId\": \"100\",\r\n \"responsibleAgencyCode\": \"X\",\r\n \"headerVersion\": \"1\",\r\n \"senderApplicationId\": \"89459\",\r\n \"receiverApplicationId\": \"93494\",\r\n \"functionalIdentifierCode\": \"x\",\r\n \"dateFormat\": \"CCYYMMDD\",\r\n \"timeFormat\": \"HHMM\"\r\n }\r\n ],\r\n \"schemaReferences\": []\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n }\r\n },\r\n \"sendAgreement\": {\r\n \"protocolSettings\": {\r\n \"validationSettings\": {\r\n \"validateCharacterSet\": true,\r\n \"checkDuplicateInterchangeControlNumber\": false,\r\n \"interchangeControlNumberValidityDays\": 30,\r\n \"checkDuplicateGroupControlNumber\": false,\r\n \"checkDuplicateTransactionSetControlNumber\": false,\r\n \"validateEDITypes\": true,\r\n \"validateXSDTypes\": false,\r\n \"allowLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trimLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trailingSeparatorPolicy\": \"NotAllowed\"\r\n },\r\n \"framingSettings\": {\r\n \"dataElementSeparator\": 42,\r\n \"componentSeparator\": 58,\r\n \"replaceSeparatorsInPayload\": false,\r\n \"replaceCharacter\": 36,\r\n \"segmentTerminator\": 126,\r\n \"characterSet\": \"UTF8\",\r\n \"segmentTerminatorSuffix\": \"None\"\r\n },\r\n \"envelopeSettings\": {\r\n \"controlStandardsId\": 100,\r\n \"useControlStandardsIdAsRepetitionCharacter\": true,\r\n \"senderApplicationId\": \"100\",\r\n \"receiverApplicationId\": \"100\",\r\n \"controlVersionNumber\": \"0.0\",\r\n \"interchangeControlNumberLowerBound\": 1,\r\n \"interchangeControlNumberUpperBound\": 999999999,\r\n \"rolloverInterchangeControlNumber\": true,\r\n \"enableDefaultGroupHeaders\": true,\r\n \"functionalGroupId\": \"1\",\r\n \"groupControlNumberLowerBound\": 1,\r\n \"groupControlNumberUpperBound\": 999999999,\r\n \"rolloverGroupControlNumber\": true,\r\n \"groupHeaderAgencyCode\": \"T\",\r\n \"groupHeaderVersion\": \"0.0\",\r\n \"transactionSetControlNumberLowerBound\": 1,\r\n \"transactionSetControlNumberUpperBound\": 999999999,\r\n \"rolloverTransactionSetControlNumber\": true,\r\n \"transactionSetControlNumberPrefix\": \"\",\r\n \"transactionSetControlNumberSuffix\": \"\",\r\n \"overwriteExistingTransactionSetControlNumber\": true,\r\n \"groupHeaderDateFormat\": \"CCYYMMDD\",\r\n \"groupHeaderTimeFormat\": \"HHMM\",\r\n \"usageIndicator\": \"Information\"\r\n },\r\n \"acknowledgementSettings\": {\r\n \"needTechnicalAcknowledgement\": false,\r\n \"batchTechnicalAcknowledgements\": true,\r\n \"needFunctionalAcknowledgement\": false,\r\n \"batchFunctionalAcknowledgements\": true,\r\n \"needImplementationAcknowledgement\": false,\r\n \"batchImplementationAcknowledgements\": false,\r\n \"needLoopForValidMessages\": false,\r\n \"sendSynchronousAcknowledgement\": true,\r\n \"acknowledgementControlNumberLowerBound\": 1,\r\n \"acknowledgementControlNumberUpperBound\": 999999999,\r\n \"rolloverAcknowledgementControlNumber\": true\r\n },\r\n \"messageFilter\": {\r\n \"messageFilterType\": \"Exclude\"\r\n },\r\n \"securitySettings\": {\r\n \"authorizationQualifier\": \"00\",\r\n \"securityQualifier\": \"00\"\r\n },\r\n \"processingSettings\": {\r\n \"maskSecurityInfo\": true,\r\n \"convertImpliedDecimal\": true,\r\n \"preserveInterchange\": true,\r\n \"suspendInterchangeOnError\": true,\r\n \"createEmptyXmlTagsForTrailingSeparators\": true,\r\n \"useDotAsDecimalSeparator\": true\r\n },\r\n \"schemaReferences\": []\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n }\r\n }\r\n }\r\n },\r\n \"createdTime\": \"2017-03-01T21:56:36.9101689Z\",\r\n \"changedTime\": \"2017-03-01T21:56:36.9103832Z\",\r\n \"metadata\": \"IntegrationAccountAgreement7432\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount842/agreements/IntegrationAccountAgreement7432\",\r\n \"name\": \"IntegrationAccountAgreement7432\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/agreements\"\r\n}", - "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:56:36 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], - "x-ms-request-id": [ - "westus:a8488657-b218-47b1-b8ca-b024cdf82bca" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14743" - ], - "x-ms-correlation-request-id": [ - "a87b3c8b-5e8b-451b-a95e-c5793e3c0bbd" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215637Z:a87b3c8b-5e8b-451b-a95e-c5793e3c0bbd" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount842?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50ODQyP2FwaS12ZXJzaW9uPTIwMTYtMDYtMDE=", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "59cef0d0-3e99-4ef3-a2a4-3ae8f8f96992" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:56:37 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:1c1be22b-149c-45db-8728-f9ac1d263d4a" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1188" - ], - "x-ms-correlation-request-id": [ - "9e71a8e0-4282-4ee2-b1c0-ed0b5657d464" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215637Z:9e71a8e0-4282-4ee2-b1c0-ed0b5657d464" - ] - }, - "StatusCode": 200 - } - ], - "Names": { - "CreateIntegrationAccountAgreementWithEnvelopeOverride": [ - "IntegrationAccount842", - "IntegrationAccountAgreement7432" - ] - }, - "Variables": { - "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" - } -} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAgreementScenarioTests/ListIntegrationAccountAgreements.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAgreementScenarioTests/ListIntegrationAccountAgreements.json deleted file mode 100644 index b57ed7827602e..0000000000000 --- a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAgreementScenarioTests/ListIntegrationAccountAgreements.json +++ /dev/null @@ -1,370 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9207?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50OTIwNz9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "91" - ], - "x-ms-client-request-id": [ - "e28a87b2-0bce-47e6-a2c3-5d5e76652364" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9207\",\r\n \"name\": \"IntegrationAccount9207\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "290" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:56:45 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:3328681e-4599-4969-9818-19841b85035b" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1196" - ], - "x-ms-correlation-request-id": [ - "d1d94af8-1d60-4563-bcfa-fad2a6787daf" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215646Z:d1d94af8-1d60-4563-bcfa-fad2a6787daf" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9207/agreements/IntegrationAccountAgreement8993?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50OTIwNy9hZ3JlZW1lbnRzL0ludGVncmF0aW9uQWNjb3VudEFncmVlbWVudDg5OTM/YXBpLXZlcnNpb249MjAxNi0wNi0wMQ==", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"metadata\": \"IntegrationAccountAgreement8993\",\r\n \"agreementType\": \"AS2\",\r\n \"hostPartner\": \"HostPartner\",\r\n \"guestPartner\": \"GuestPartner\",\r\n \"hostIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"guestIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"content\": {\r\n \"AS2\": {\r\n \"receiveAgreement\": {\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"protocolSettings\": {\r\n \"messageConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"acknowledgementConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"mdnSettings\": {\r\n \"needMdn\": true,\r\n \"signMdn\": true,\r\n \"sendMdnAsynchronously\": true,\r\n \"receiptDeliveryUrl\": \"http://tempuri.org\",\r\n \"dispositionNotificationTo\": \"http://tempuri.org\",\r\n \"signOutboundMdnIfOptional\": true,\r\n \"mdnText\": \"Sample\",\r\n \"sendInboundMdnToMessageBox\": true,\r\n \"micHashingAlgorithm\": \"None\"\r\n },\r\n \"securitySettings\": {\r\n \"overrideGroupSigningCertificate\": false,\r\n \"enableNrrForInboundEncodedMessages\": true,\r\n \"enableNrrForInboundDecodedMessages\": true,\r\n \"enableNrrForOutboundMdn\": true,\r\n \"enableNrrForOutboundEncodedMessages\": true,\r\n \"enableNrrForOutboundDecodedMessages\": true,\r\n \"enableNrrForInboundMdn\": true\r\n },\r\n \"validationSettings\": {\r\n \"overrideMessageProperties\": true,\r\n \"encryptMessage\": false,\r\n \"signMessage\": false,\r\n \"compressMessage\": true,\r\n \"checkDuplicateMessage\": true,\r\n \"interchangeDuplicatesValidityDays\": 100,\r\n \"checkCertificateRevocationListOnSend\": true,\r\n \"checkCertificateRevocationListOnReceive\": true,\r\n \"encryptionAlgorithm\": \"AES128\"\r\n },\r\n \"envelopeSettings\": {\r\n \"messageContentType\": \"text/plain\",\r\n \"transmitFileNameInMimeHeader\": true,\r\n \"fileNameTemplate\": \"Test\",\r\n \"suspendMessageOnFileNameGenerationError\": true,\r\n \"autogenerateFileName\": true\r\n },\r\n \"errorSettings\": {\r\n \"suspendDuplicateMessage\": true,\r\n \"resendIfMdnNotReceived\": true\r\n }\r\n }\r\n },\r\n \"sendAgreement\": {\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"protocolSettings\": {\r\n \"messageConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"acknowledgementConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"mdnSettings\": {\r\n \"needMdn\": true,\r\n \"signMdn\": true,\r\n \"sendMdnAsynchronously\": true,\r\n \"receiptDeliveryUrl\": \"http://tempuri.org\",\r\n \"dispositionNotificationTo\": \"http://tempuri.org\",\r\n \"signOutboundMdnIfOptional\": true,\r\n \"mdnText\": \"Sample\",\r\n \"sendInboundMdnToMessageBox\": true,\r\n \"micHashingAlgorithm\": \"None\"\r\n },\r\n \"securitySettings\": {\r\n \"overrideGroupSigningCertificate\": false,\r\n \"enableNrrForInboundEncodedMessages\": true,\r\n \"enableNrrForInboundDecodedMessages\": true,\r\n \"enableNrrForOutboundMdn\": true,\r\n \"enableNrrForOutboundEncodedMessages\": true,\r\n \"enableNrrForOutboundDecodedMessages\": true,\r\n \"enableNrrForInboundMdn\": true\r\n },\r\n \"validationSettings\": {\r\n \"overrideMessageProperties\": true,\r\n \"encryptMessage\": false,\r\n \"signMessage\": false,\r\n \"compressMessage\": true,\r\n \"checkDuplicateMessage\": true,\r\n \"interchangeDuplicatesValidityDays\": 100,\r\n \"checkCertificateRevocationListOnSend\": true,\r\n \"checkCertificateRevocationListOnReceive\": true,\r\n \"encryptionAlgorithm\": \"AES128\"\r\n },\r\n \"envelopeSettings\": {\r\n \"messageContentType\": \"text/plain\",\r\n \"transmitFileNameInMimeHeader\": true,\r\n \"fileNameTemplate\": \"Test\",\r\n \"suspendMessageOnFileNameGenerationError\": true,\r\n \"autogenerateFileName\": true\r\n },\r\n \"errorSettings\": {\r\n \"suspendDuplicateMessage\": true,\r\n \"resendIfMdnNotReceived\": true\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"IntegrationAccountAgreement\": \"IntegrationAccountAgreement8993\"\r\n }\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "5862" - ], - "x-ms-client-request-id": [ - "40cf9829-fd40-4fe2-be22-0662ae8aaccd" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"hostPartner\": \"HostPartner\",\r\n \"guestPartner\": \"GuestPartner\",\r\n \"hostIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"guestIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"agreementType\": \"AS2\",\r\n \"content\": {\r\n \"aS2\": {\r\n \"receiveAgreement\": {\r\n \"protocolSettings\": {\r\n \"messageConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"acknowledgementConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"mdnSettings\": {\r\n \"needMDN\": true,\r\n \"signMDN\": true,\r\n \"sendMDNAsynchronously\": true,\r\n \"receiptDeliveryUrl\": \"http://tempuri.org\",\r\n \"dispositionNotificationTo\": \"http://tempuri.org\",\r\n \"signOutboundMDNIfOptional\": true,\r\n \"mdnText\": \"Sample\",\r\n \"sendInboundMDNToMessageBox\": true,\r\n \"micHashingAlgorithm\": \"None\"\r\n },\r\n \"securitySettings\": {\r\n \"overrideGroupSigningCertificate\": false,\r\n \"enableNRRForInboundEncodedMessages\": true,\r\n \"enableNRRForInboundDecodedMessages\": true,\r\n \"enableNRRForOutboundMDN\": true,\r\n \"enableNRRForOutboundEncodedMessages\": true,\r\n \"enableNRRForOutboundDecodedMessages\": true,\r\n \"enableNRRForInboundMDN\": true\r\n },\r\n \"validationSettings\": {\r\n \"overrideMessageProperties\": true,\r\n \"encryptMessage\": false,\r\n \"signMessage\": false,\r\n \"compressMessage\": true,\r\n \"checkDuplicateMessage\": true,\r\n \"interchangeDuplicatesValidityDays\": 100,\r\n \"checkCertificateRevocationListOnSend\": true,\r\n \"checkCertificateRevocationListOnReceive\": true,\r\n \"encryptionAlgorithm\": \"AES128\"\r\n },\r\n \"envelopeSettings\": {\r\n \"messageContentType\": \"text/plain\",\r\n \"transmitFileNameInMimeHeader\": true,\r\n \"fileNameTemplate\": \"Test\",\r\n \"suspendMessageOnFileNameGenerationError\": true,\r\n \"autogenerateFileName\": true\r\n },\r\n \"errorSettings\": {\r\n \"suspendDuplicateMessage\": true,\r\n \"resendIfMDNNotReceived\": true\r\n }\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n }\r\n },\r\n \"sendAgreement\": {\r\n \"protocolSettings\": {\r\n \"messageConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"acknowledgementConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"mdnSettings\": {\r\n \"needMDN\": true,\r\n \"signMDN\": true,\r\n \"sendMDNAsynchronously\": true,\r\n \"receiptDeliveryUrl\": \"http://tempuri.org\",\r\n \"dispositionNotificationTo\": \"http://tempuri.org\",\r\n \"signOutboundMDNIfOptional\": true,\r\n \"mdnText\": \"Sample\",\r\n \"sendInboundMDNToMessageBox\": true,\r\n \"micHashingAlgorithm\": \"None\"\r\n },\r\n \"securitySettings\": {\r\n \"overrideGroupSigningCertificate\": false,\r\n \"enableNRRForInboundEncodedMessages\": true,\r\n \"enableNRRForInboundDecodedMessages\": true,\r\n \"enableNRRForOutboundMDN\": true,\r\n \"enableNRRForOutboundEncodedMessages\": true,\r\n \"enableNRRForOutboundDecodedMessages\": true,\r\n \"enableNRRForInboundMDN\": true\r\n },\r\n \"validationSettings\": {\r\n \"overrideMessageProperties\": true,\r\n \"encryptMessage\": false,\r\n \"signMessage\": false,\r\n \"compressMessage\": true,\r\n \"checkDuplicateMessage\": true,\r\n \"interchangeDuplicatesValidityDays\": 100,\r\n \"checkCertificateRevocationListOnSend\": true,\r\n \"checkCertificateRevocationListOnReceive\": true,\r\n \"encryptionAlgorithm\": \"AES128\"\r\n },\r\n \"envelopeSettings\": {\r\n \"messageContentType\": \"text/plain\",\r\n \"transmitFileNameInMimeHeader\": true,\r\n \"fileNameTemplate\": \"Test\",\r\n \"suspendMessageOnFileNameGenerationError\": true,\r\n \"autogenerateFileName\": true\r\n },\r\n \"errorSettings\": {\r\n \"suspendDuplicateMessage\": true,\r\n \"resendIfMDNNotReceived\": true\r\n }\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n }\r\n }\r\n }\r\n },\r\n \"createdTime\": \"2017-03-01T21:56:46.6788677Z\",\r\n \"changedTime\": \"2017-03-01T21:56:46.6798601Z\",\r\n \"metadata\": \"IntegrationAccountAgreement8993\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9207/agreements/IntegrationAccountAgreement8993\",\r\n \"name\": \"IntegrationAccountAgreement8993\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/agreements\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "3919" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:56:45 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:1be52cad-1659-4f3e-a30a-5284ded4d897" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1195" - ], - "x-ms-correlation-request-id": [ - "6c840091-a365-43d3-8463-e54bfdebe8bd" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215646Z:6c840091-a365-43d3-8463-e54bfdebe8bd" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9207/agreements/IntegrationAccountAgreement5372?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50OTIwNy9hZ3JlZW1lbnRzL0ludGVncmF0aW9uQWNjb3VudEFncmVlbWVudDUzNzI/YXBpLXZlcnNpb249MjAxNi0wNi0wMQ==", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"metadata\": \"IntegrationAccountAgreement5372\",\r\n \"agreementType\": \"Edifact\",\r\n \"hostPartner\": \"HostPartner\",\r\n \"guestPartner\": \"GuestPartner\",\r\n \"hostIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"guestIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"content\": {\r\n \"Edifact\": {\r\n \"receiveAgreement\": {\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"protocolSettings\": {\r\n \"validationSettings\": {\r\n \"validateCharacterSet\": true,\r\n \"checkDuplicateInterchangeControlNumber\": true,\r\n \"interchangeControlNumberValidityDays\": 30,\r\n \"checkDuplicateGroupControlNumber\": true,\r\n \"checkDuplicateTransactionSetControlNumber\": true,\r\n \"validateEDITypes\": true,\r\n \"validateXSDTypes\": true,\r\n \"allowLeadingAndTrailingSpacesAndZeroes\": true,\r\n \"trimLeadingAndTrailingSpacesAndZeroes\": true,\r\n \"trailingSeparatorPolicy\": \"Optional\"\r\n },\r\n \"framingSettings\": {\r\n \"characterEncoding\": \"UTF\",\r\n \"protocolVersion\": 4,\r\n \"dataElementSeparator\": 53,\r\n \"componentSeparator\": 58,\r\n \"segmentTerminator\": 39,\r\n \"releaseIndicator\": 63,\r\n \"repetitionSeparator\": 42,\r\n \"characterSet\": \"UNOC\",\r\n \"decimalPointIndicator\": \"Comma\",\r\n \"segmentTerminatorSuffix\": \"None\"\r\n },\r\n \"envelopeSettings\": {\r\n \"groupAssociationAssignedCode\": \"0\",\r\n \"communicationAgreementId\": \"0\",\r\n \"applyDelimiterStringAdvice\": true,\r\n \"createGroupingSegments\": true,\r\n \"enableDefaultGroupHeaders\": true,\r\n \"recipientReferencePasswordValue\": \"AA\",\r\n \"recipientReferencePasswordQualifier\": \"ZZ\",\r\n \"applicationReferenceId\": \"0\",\r\n \"processingPriorityCode\": \"0\",\r\n \"interchangeControlNumberLowerBound\": 1,\r\n \"interchangeControlNumberUpperBound\": 99999999,\r\n \"rolloverInterchangeControlNumber\": true,\r\n \"interchangeControlNumberPrefix\": \"CU\",\r\n \"interchangeControlNumberSuffix\": \"NUM\",\r\n \"functionalGroupId\": \"0\",\r\n \"groupControllingAgencyCode\": \"0\",\r\n \"groupMessageVersion\": \"0.0\",\r\n \"groupMessageRelease\": \"0.0\",\r\n \"groupControlNumberLowerBound\": 1,\r\n \"groupControlNumberUpperBound\": 99999999,\r\n \"rolloverGroupControlNumber\": true,\r\n \"groupControlNumberPrefix\": \"CU\",\r\n \"groupControlNumberSuffix\": \"NUM\",\r\n \"groupApplicationReceiverQualifier\": \"ZZZ\",\r\n \"groupApplicationReceiverId\": \"0\",\r\n \"groupApplicationSenderQualifier\": \"ZZZ\",\r\n \"groupApplicationSenderId\": \"AAA\",\r\n \"groupApplicationPassword\": \"0\",\r\n \"overwriteExistingTransactionSetControlNumber\": true,\r\n \"transactionSetControlNumberPrefix\": \"\",\r\n \"transactionSetControlNumberSuffix\": \"\",\r\n \"transactionSetControlNumberLowerBound\": 1,\r\n \"transactionSetControlNumberUpperBound\": 99999999,\r\n \"rolloverTransactionSetControlNumber\": true,\r\n \"isTestInterchange\": true,\r\n \"senderInternalIdentification\": \"AA\",\r\n \"senderInternalSubIdentification\": \"AA\",\r\n \"receiverInternalIdentification\": \"0\",\r\n \"receiverInternalSubIdentification\": \"0\"\r\n },\r\n \"acknowledgementSettings\": {\r\n \"needTechnicalAcknowledgement\": true,\r\n \"batchTechnicalAcknowledgements\": true,\r\n \"needFunctionalAcknowledgement\": false,\r\n \"batchFunctionalAcknowledgements\": true,\r\n \"needLoopForValidMessages\": false,\r\n \"sendSynchronousAcknowledgement\": true,\r\n \"acknowledgementControlNumberPrefix\": \"\",\r\n \"acknowledgementControlNumberSuffix\": \"\",\r\n \"acknowledgementControlNumberLowerBound\": 1,\r\n \"acknowledgementControlNumberUpperBound\": 99999999,\r\n \"rolloverAcknowledgementControlNumber\": true\r\n },\r\n \"messageFilter\": {\r\n \"messageFilterType\": \"Exclude\"\r\n },\r\n \"processingSettings\": {\r\n \"maskSecurityInfo\": true,\r\n \"preserveInterchange\": true,\r\n \"suspendInterchangeOnError\": true,\r\n \"createEmptyXmlTagsForTrailingSeparators\": true,\r\n \"useDotAsDecimalSeparator\": true\r\n },\r\n \"schemaReferences\": []\r\n }\r\n },\r\n \"sendAgreement\": {\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"protocolSettings\": {\r\n \"validationSettings\": {\r\n \"validateCharacterSet\": true,\r\n \"checkDuplicateInterchangeControlNumber\": true,\r\n \"interchangeControlNumberValidityDays\": 30,\r\n \"checkDuplicateGroupControlNumber\": true,\r\n \"checkDuplicateTransactionSetControlNumber\": true,\r\n \"validateEDITypes\": true,\r\n \"validateXSDTypes\": true,\r\n \"allowLeadingAndTrailingSpacesAndZeroes\": true,\r\n \"trimLeadingAndTrailingSpacesAndZeroes\": true,\r\n \"trailingSeparatorPolicy\": \"Optional\"\r\n },\r\n \"framingSettings\": {\r\n \"characterEncoding\": \"UTF\",\r\n \"protocolVersion\": 4,\r\n \"dataElementSeparator\": 53,\r\n \"componentSeparator\": 58,\r\n \"segmentTerminator\": 39,\r\n \"releaseIndicator\": 63,\r\n \"repetitionSeparator\": 42,\r\n \"characterSet\": \"UNOC\",\r\n \"decimalPointIndicator\": \"Comma\",\r\n \"segmentTerminatorSuffix\": \"None\"\r\n },\r\n \"envelopeSettings\": {\r\n \"groupAssociationAssignedCode\": \"0\",\r\n \"communicationAgreementId\": \"0\",\r\n \"applyDelimiterStringAdvice\": true,\r\n \"createGroupingSegments\": true,\r\n \"enableDefaultGroupHeaders\": true,\r\n \"recipientReferencePasswordValue\": \"AA\",\r\n \"recipientReferencePasswordQualifier\": \"ZZ\",\r\n \"applicationReferenceId\": \"0\",\r\n \"processingPriorityCode\": \"0\",\r\n \"interchangeControlNumberLowerBound\": 1,\r\n \"interchangeControlNumberUpperBound\": 999999999,\r\n \"rolloverInterchangeControlNumber\": true,\r\n \"interchangeControlNumberPrefix\": \"CU\",\r\n \"interchangeControlNumberSuffix\": \"NUM\",\r\n \"functionalGroupId\": \"0\",\r\n \"groupControllingAgencyCode\": \"0\",\r\n \"groupMessageVersion\": \"0.0\",\r\n \"groupMessageRelease\": \"0.0\",\r\n \"groupControlNumberLowerBound\": 1,\r\n \"groupControlNumberUpperBound\": 999999999,\r\n \"rolloverGroupControlNumber\": true,\r\n \"groupControlNumberPrefix\": \"\",\r\n \"groupControlNumberSuffix\": \"\",\r\n \"groupApplicationReceiverQualifier\": \"ZZ\",\r\n \"groupApplicationReceiverId\": \"0\",\r\n \"groupApplicationSenderQualifier\": \"ZZ\",\r\n \"groupApplicationSenderId\": \"AA\",\r\n \"groupApplicationPassword\": \"0\",\r\n \"overwriteExistingTransactionSetControlNumber\": true,\r\n \"transactionSetControlNumberPrefix\": \"\",\r\n \"transactionSetControlNumberSuffix\": \"\",\r\n \"transactionSetControlNumberLowerBound\": 1,\r\n \"transactionSetControlNumberUpperBound\": 999999999,\r\n \"rolloverTransactionSetControlNumber\": true,\r\n \"isTestInterchange\": true,\r\n \"senderInternalIdentification\": \"AA\",\r\n \"senderInternalSubIdentification\": \"AA\",\r\n \"receiverInternalIdentification\": \"0\",\r\n \"receiverInternalSubIdentification\": \"0\"\r\n },\r\n \"acknowledgementSettings\": {\r\n \"needTechnicalAcknowledgement\": true,\r\n \"batchTechnicalAcknowledgements\": true,\r\n \"needFunctionalAcknowledgement\": true,\r\n \"batchFunctionalAcknowledgements\": true,\r\n \"needLoopForValidMessages\": true,\r\n \"sendSynchronousAcknowledgement\": true,\r\n \"acknowledgementControlNumberPrefix\": \"CN\",\r\n \"acknowledgementControlNumberSuffix\": \"NUM\",\r\n \"acknowledgementControlNumberLowerBound\": 1,\r\n \"acknowledgementControlNumberUpperBound\": 999999999,\r\n \"rolloverAcknowledgementControlNumber\": true\r\n },\r\n \"messageFilter\": {\r\n \"messageFilterType\": \"Exclude\"\r\n },\r\n \"processingSettings\": {\r\n \"maskSecurityInfo\": true,\r\n \"preserveInterchange\": true,\r\n \"suspendInterchangeOnError\": true,\r\n \"createEmptyXmlTagsForTrailingSeparators\": true,\r\n \"useDotAsDecimalSeparator\": true\r\n },\r\n \"schemaReferences\": []\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"IntegrationAccountAgreement\": \"IntegrationAccountAgreement5372\"\r\n }\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "9757" - ], - "x-ms-client-request-id": [ - "b9f9744f-82a3-4019-9f2d-beb2d35a5553" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"hostPartner\": \"HostPartner\",\r\n \"guestPartner\": \"GuestPartner\",\r\n \"hostIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"guestIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"agreementType\": \"EDIFACT\",\r\n \"content\": {\r\n \"edifact\": {\r\n \"receiveAgreement\": {\r\n \"protocolSettings\": {\r\n \"validationSettings\": {\r\n \"validateCharacterSet\": true,\r\n \"checkDuplicateInterchangeControlNumber\": true,\r\n \"interchangeControlNumberValidityDays\": 30,\r\n \"checkDuplicateGroupControlNumber\": true,\r\n \"checkDuplicateTransactionSetControlNumber\": true,\r\n \"validateEDITypes\": true,\r\n \"validateXSDTypes\": true,\r\n \"trimLeadingAndTrailingSpacesAndZeroes\": true,\r\n \"allowLeadingAndTrailingSpacesAndZeroes\": true,\r\n \"trailingSeparatorPolicy\": \"Optional\"\r\n },\r\n \"framingSettings\": {\r\n \"characterEncoding\": \"UTF\",\r\n \"protocolVersion\": 4,\r\n \"dataElementSeparator\": 53,\r\n \"componentSeparator\": 58,\r\n \"segmentTerminator\": 39,\r\n \"releaseIndicator\": 63,\r\n \"repetitionSeparator\": 42,\r\n \"characterSet\": \"UNOC\",\r\n \"decimalPointIndicator\": \"Comma\",\r\n \"segmentTerminatorSuffix\": \"None\"\r\n },\r\n \"envelopeSettings\": {\r\n \"groupAssociationAssignedCode\": \"0\",\r\n \"communicationAgreementId\": \"0\",\r\n \"applyDelimiterStringAdvice\": true,\r\n \"createGroupingSegments\": true,\r\n \"enableDefaultGroupHeaders\": true,\r\n \"recipientReferencePasswordValue\": \"AA\",\r\n \"recipientReferencePasswordQualifier\": \"ZZ\",\r\n \"applicationReferenceId\": \"0\",\r\n \"processingPriorityCode\": \"0\",\r\n \"interchangeControlNumberLowerBound\": 1,\r\n \"interchangeControlNumberUpperBound\": 99999999,\r\n \"rolloverInterchangeControlNumber\": true,\r\n \"interchangeControlNumberPrefix\": \"CU\",\r\n \"interchangeControlNumberSuffix\": \"NUM\",\r\n \"functionalGroupId\": \"0\",\r\n \"groupControllingAgencyCode\": \"0\",\r\n \"groupMessageVersion\": \"0.0\",\r\n \"groupMessageRelease\": \"0.0\",\r\n \"groupControlNumberLowerBound\": 1,\r\n \"groupControlNumberUpperBound\": 99999999,\r\n \"rolloverGroupControlNumber\": true,\r\n \"groupControlNumberPrefix\": \"CU\",\r\n \"groupControlNumberSuffix\": \"NUM\",\r\n \"groupApplicationReceiverQualifier\": \"ZZZ\",\r\n \"groupApplicationReceiverId\": \"0\",\r\n \"groupApplicationSenderQualifier\": \"ZZZ\",\r\n \"groupApplicationSenderId\": \"AAA\",\r\n \"groupApplicationPassword\": \"0\",\r\n \"overwriteExistingTransactionSetControlNumber\": true,\r\n \"transactionSetControlNumberPrefix\": \"\",\r\n \"transactionSetControlNumberSuffix\": \"\",\r\n \"transactionSetControlNumberLowerBound\": 1,\r\n \"transactionSetControlNumberUpperBound\": 99999999,\r\n \"rolloverTransactionSetControlNumber\": true,\r\n \"isTestInterchange\": true,\r\n \"senderInternalIdentification\": \"AA\",\r\n \"senderInternalSubIdentification\": \"AA\",\r\n \"receiverInternalIdentification\": \"0\",\r\n \"receiverInternalSubIdentification\": \"0\"\r\n },\r\n \"acknowledgementSettings\": {\r\n \"needTechnicalAcknowledgement\": true,\r\n \"batchTechnicalAcknowledgements\": true,\r\n \"needFunctionalAcknowledgement\": false,\r\n \"batchFunctionalAcknowledgements\": true,\r\n \"needLoopForValidMessages\": false,\r\n \"sendSynchronousAcknowledgement\": true,\r\n \"acknowledgementControlNumberPrefix\": \"\",\r\n \"acknowledgementControlNumberSuffix\": \"\",\r\n \"acknowledgementControlNumberLowerBound\": 1,\r\n \"acknowledgementControlNumberUpperBound\": 99999999,\r\n \"rolloverAcknowledgementControlNumber\": true\r\n },\r\n \"messageFilter\": {\r\n \"messageFilterType\": \"Exclude\"\r\n },\r\n \"processingSettings\": {\r\n \"maskSecurityInfo\": true,\r\n \"preserveInterchange\": true,\r\n \"suspendInterchangeOnError\": true,\r\n \"createEmptyXmlTagsForTrailingSeparators\": true,\r\n \"useDotAsDecimalSeparator\": true\r\n },\r\n \"schemaReferences\": []\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n }\r\n },\r\n \"sendAgreement\": {\r\n \"protocolSettings\": {\r\n \"validationSettings\": {\r\n \"validateCharacterSet\": true,\r\n \"checkDuplicateInterchangeControlNumber\": true,\r\n \"interchangeControlNumberValidityDays\": 30,\r\n \"checkDuplicateGroupControlNumber\": true,\r\n \"checkDuplicateTransactionSetControlNumber\": true,\r\n \"validateEDITypes\": true,\r\n \"validateXSDTypes\": true,\r\n \"trimLeadingAndTrailingSpacesAndZeroes\": true,\r\n \"allowLeadingAndTrailingSpacesAndZeroes\": true,\r\n \"trailingSeparatorPolicy\": \"Optional\"\r\n },\r\n \"framingSettings\": {\r\n \"characterEncoding\": \"UTF\",\r\n \"protocolVersion\": 4,\r\n \"dataElementSeparator\": 53,\r\n \"componentSeparator\": 58,\r\n \"segmentTerminator\": 39,\r\n \"releaseIndicator\": 63,\r\n \"repetitionSeparator\": 42,\r\n \"characterSet\": \"UNOC\",\r\n \"decimalPointIndicator\": \"Comma\",\r\n \"segmentTerminatorSuffix\": \"None\"\r\n },\r\n \"envelopeSettings\": {\r\n \"groupAssociationAssignedCode\": \"0\",\r\n \"communicationAgreementId\": \"0\",\r\n \"applyDelimiterStringAdvice\": true,\r\n \"createGroupingSegments\": true,\r\n \"enableDefaultGroupHeaders\": true,\r\n \"recipientReferencePasswordValue\": \"AA\",\r\n \"recipientReferencePasswordQualifier\": \"ZZ\",\r\n \"applicationReferenceId\": \"0\",\r\n \"processingPriorityCode\": \"0\",\r\n \"interchangeControlNumberLowerBound\": 1,\r\n \"interchangeControlNumberUpperBound\": 999999999,\r\n \"rolloverInterchangeControlNumber\": true,\r\n \"interchangeControlNumberPrefix\": \"CU\",\r\n \"interchangeControlNumberSuffix\": \"NUM\",\r\n \"functionalGroupId\": \"0\",\r\n \"groupControllingAgencyCode\": \"0\",\r\n \"groupMessageVersion\": \"0.0\",\r\n \"groupMessageRelease\": \"0.0\",\r\n \"groupControlNumberLowerBound\": 1,\r\n \"groupControlNumberUpperBound\": 999999999,\r\n \"rolloverGroupControlNumber\": true,\r\n \"groupControlNumberPrefix\": \"\",\r\n \"groupControlNumberSuffix\": \"\",\r\n \"groupApplicationReceiverQualifier\": \"ZZ\",\r\n \"groupApplicationReceiverId\": \"0\",\r\n \"groupApplicationSenderQualifier\": \"ZZ\",\r\n \"groupApplicationSenderId\": \"AA\",\r\n \"groupApplicationPassword\": \"0\",\r\n \"overwriteExistingTransactionSetControlNumber\": true,\r\n \"transactionSetControlNumberPrefix\": \"\",\r\n \"transactionSetControlNumberSuffix\": \"\",\r\n \"transactionSetControlNumberLowerBound\": 1,\r\n \"transactionSetControlNumberUpperBound\": 999999999,\r\n \"rolloverTransactionSetControlNumber\": true,\r\n \"isTestInterchange\": true,\r\n \"senderInternalIdentification\": \"AA\",\r\n \"senderInternalSubIdentification\": \"AA\",\r\n \"receiverInternalIdentification\": \"0\",\r\n \"receiverInternalSubIdentification\": \"0\"\r\n },\r\n \"acknowledgementSettings\": {\r\n \"needTechnicalAcknowledgement\": true,\r\n \"batchTechnicalAcknowledgements\": true,\r\n \"needFunctionalAcknowledgement\": true,\r\n \"batchFunctionalAcknowledgements\": true,\r\n \"needLoopForValidMessages\": true,\r\n \"sendSynchronousAcknowledgement\": true,\r\n \"acknowledgementControlNumberPrefix\": \"CN\",\r\n \"acknowledgementControlNumberSuffix\": \"NUM\",\r\n \"acknowledgementControlNumberLowerBound\": 1,\r\n \"acknowledgementControlNumberUpperBound\": 999999999,\r\n \"rolloverAcknowledgementControlNumber\": true\r\n },\r\n \"messageFilter\": {\r\n \"messageFilterType\": \"Exclude\"\r\n },\r\n \"processingSettings\": {\r\n \"maskSecurityInfo\": true,\r\n \"preserveInterchange\": true,\r\n \"suspendInterchangeOnError\": true,\r\n \"createEmptyXmlTagsForTrailingSeparators\": true,\r\n \"useDotAsDecimalSeparator\": true\r\n },\r\n \"schemaReferences\": []\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n }\r\n }\r\n }\r\n },\r\n \"createdTime\": \"2017-03-01T21:56:46.9849153Z\",\r\n \"changedTime\": \"2017-03-01T21:56:46.9851084Z\",\r\n \"metadata\": \"IntegrationAccountAgreement5372\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9207/agreements/IntegrationAccountAgreement5372\",\r\n \"name\": \"IntegrationAccountAgreement5372\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/agreements\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "6618" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:56:46 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:25c26db9-e04a-46b0-9b2e-77dec03ddc63" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1194" - ], - "x-ms-correlation-request-id": [ - "b3374e62-f923-4bcb-9cde-57b1a0c5d3e9" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215647Z:b3374e62-f923-4bcb-9cde-57b1a0c5d3e9" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9207/agreements/IntegrationAccountAgreement7262?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50OTIwNy9hZ3JlZW1lbnRzL0ludGVncmF0aW9uQWNjb3VudEFncmVlbWVudDcyNjI/YXBpLXZlcnNpb249MjAxNi0wNi0wMQ==", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"metadata\": \"IntegrationAccountAgreement7262\",\r\n \"agreementType\": \"X12\",\r\n \"hostPartner\": \"HostPartner\",\r\n \"guestPartner\": \"GuestPartner\",\r\n \"hostIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"guestIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"content\": {\r\n \"X12\": {\r\n \"receiveAgreement\": {\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"protocolSettings\": {\r\n \"validationSettings\": {\r\n \"validateCharacterSet\": true,\r\n \"checkDuplicateInterchangeControlNumber\": false,\r\n \"interchangeControlNumberValidityDays\": 30,\r\n \"checkDuplicateGroupControlNumber\": false,\r\n \"checkDuplicateTransactionSetControlNumber\": false,\r\n \"validateEDITypes\": true,\r\n \"validateXSDTypes\": false,\r\n \"allowLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trimLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trailingSeparatorPolicy\": \"NotAllowed\"\r\n },\r\n \"framingSettings\": {\r\n \"dataElementSeparator\": 42,\r\n \"componentSeparator\": 58,\r\n \"replaceSeparatorsInPayload\": false,\r\n \"replaceCharacter\": 36,\r\n \"segmentTerminator\": 126,\r\n \"characterSet\": \"UTF8\",\r\n \"segmentTerminatorSuffix\": \"None\"\r\n },\r\n \"envelopeSettings\": {\r\n \"controlStandardsId\": 85,\r\n \"useControlStandardsIdAsRepetitionCharacter\": false,\r\n \"senderApplicationId\": \"BTS-SENDER\",\r\n \"receiverApplicationId\": \"RECEIVE-APP\",\r\n \"controlVersionNumber\": \"00401\",\r\n \"interchangeControlNumberLowerBound\": 1,\r\n \"interchangeControlNumberUpperBound\": 999999999,\r\n \"rolloverInterchangeControlNumber\": true,\r\n \"enableDefaultGroupHeaders\": true,\r\n \"groupControlNumberLowerBound\": 1,\r\n \"groupControlNumberUpperBound\": 999999999,\r\n \"rolloverGroupControlNumber\": true,\r\n \"groupHeaderAgencyCode\": \"T\",\r\n \"groupHeaderVersion\": \"00401\",\r\n \"transactionSetControlNumberLowerBound\": 1,\r\n \"transactionSetControlNumberUpperBound\": 999999999,\r\n \"rolloverTransactionSetControlNumber\": true,\r\n \"overwriteExistingTransactionSetControlNumber\": true,\r\n \"groupHeaderDateFormat\": \"CCYYMMDD\",\r\n \"groupHeaderTimeFormat\": \"HHMM\",\r\n \"usageIndicator\": \"Test\"\r\n },\r\n \"acknowledgementSettings\": {\r\n \"needTechnicalAcknowledgement\": false,\r\n \"batchTechnicalAcknowledgements\": true,\r\n \"needFunctionalAcknowledgement\": false,\r\n \"batchFunctionalAcknowledgements\": true,\r\n \"needImplementationAcknowledgement\": false,\r\n \"batchImplementationAcknowledgements\": false,\r\n \"needLoopForValidMessages\": false,\r\n \"sendSynchronousAcknowledgement\": true,\r\n \"acknowledgementControlNumberLowerBound\": 1,\r\n \"acknowledgementControlNumberUpperBound\": 999999999,\r\n \"rolloverAcknowledgementControlNumber\": true\r\n },\r\n \"messageFilter\": {\r\n \"messageFilterType\": \"Exclude\"\r\n },\r\n \"securitySettings\": {\r\n \"authorizationQualifier\": \"00\",\r\n \"securityQualifier\": \"00\"\r\n },\r\n \"processingSettings\": {\r\n \"maskSecurityInfo\": true,\r\n \"convertImpliedDecimal\": true,\r\n \"preserveInterchange\": true,\r\n \"suspendInterchangeOnError\": true,\r\n \"createEmptyXmlTagsForTrailingSeparators\": true,\r\n \"useDotAsDecimalSeparator\": true\r\n },\r\n \"schemaReferences\": []\r\n }\r\n },\r\n \"sendAgreement\": {\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"protocolSettings\": {\r\n \"validationSettings\": {\r\n \"validateCharacterSet\": true,\r\n \"checkDuplicateInterchangeControlNumber\": false,\r\n \"interchangeControlNumberValidityDays\": 30,\r\n \"checkDuplicateGroupControlNumber\": false,\r\n \"checkDuplicateTransactionSetControlNumber\": false,\r\n \"validateEDITypes\": true,\r\n \"validateXSDTypes\": false,\r\n \"allowLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trimLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trailingSeparatorPolicy\": \"NotAllowed\"\r\n },\r\n \"framingSettings\": {\r\n \"dataElementSeparator\": 42,\r\n \"componentSeparator\": 58,\r\n \"replaceSeparatorsInPayload\": false,\r\n \"replaceCharacter\": 36,\r\n \"segmentTerminator\": 126,\r\n \"characterSet\": \"UTF8\",\r\n \"segmentTerminatorSuffix\": \"None\"\r\n },\r\n \"envelopeSettings\": {\r\n \"controlStandardsId\": 100,\r\n \"useControlStandardsIdAsRepetitionCharacter\": true,\r\n \"senderApplicationId\": \"100\",\r\n \"receiverApplicationId\": \"100\",\r\n \"controlVersionNumber\": \"0.0\",\r\n \"interchangeControlNumberLowerBound\": 1,\r\n \"interchangeControlNumberUpperBound\": 999999999,\r\n \"rolloverInterchangeControlNumber\": true,\r\n \"enableDefaultGroupHeaders\": true,\r\n \"functionalGroupId\": \"1\",\r\n \"groupControlNumberLowerBound\": 1,\r\n \"groupControlNumberUpperBound\": 999999999,\r\n \"rolloverGroupControlNumber\": true,\r\n \"groupHeaderAgencyCode\": \"T\",\r\n \"groupHeaderVersion\": \"0.0\",\r\n \"transactionSetControlNumberLowerBound\": 1,\r\n \"transactionSetControlNumberUpperBound\": 999999999,\r\n \"rolloverTransactionSetControlNumber\": true,\r\n \"transactionSetControlNumberPrefix\": \"\",\r\n \"transactionSetControlNumberSuffix\": \"\",\r\n \"overwriteExistingTransactionSetControlNumber\": true,\r\n \"groupHeaderDateFormat\": \"CCYYMMDD\",\r\n \"groupHeaderTimeFormat\": \"HHMM\",\r\n \"usageIndicator\": \"Information\"\r\n },\r\n \"acknowledgementSettings\": {\r\n \"needTechnicalAcknowledgement\": false,\r\n \"batchTechnicalAcknowledgements\": true,\r\n \"needFunctionalAcknowledgement\": false,\r\n \"batchFunctionalAcknowledgements\": true,\r\n \"needImplementationAcknowledgement\": false,\r\n \"batchImplementationAcknowledgements\": false,\r\n \"needLoopForValidMessages\": false,\r\n \"sendSynchronousAcknowledgement\": true,\r\n \"acknowledgementControlNumberLowerBound\": 1,\r\n \"acknowledgementControlNumberUpperBound\": 999999999,\r\n \"rolloverAcknowledgementControlNumber\": true\r\n },\r\n \"messageFilter\": {\r\n \"messageFilterType\": \"Exclude\"\r\n },\r\n \"securitySettings\": {\r\n \"authorizationQualifier\": \"00\",\r\n \"securityQualifier\": \"00\"\r\n },\r\n \"processingSettings\": {\r\n \"maskSecurityInfo\": true,\r\n \"convertImpliedDecimal\": true,\r\n \"preserveInterchange\": true,\r\n \"suspendInterchangeOnError\": true,\r\n \"createEmptyXmlTagsForTrailingSeparators\": true,\r\n \"useDotAsDecimalSeparator\": true\r\n },\r\n \"schemaReferences\": []\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"IntegrationAccountAgreement\": \"IntegrationAccountAgreement7262\"\r\n }\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "8185" - ], - "x-ms-client-request-id": [ - "bc8b5cb0-e62e-423d-8091-0845a7cd3610" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"hostPartner\": \"HostPartner\",\r\n \"guestPartner\": \"GuestPartner\",\r\n \"hostIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"guestIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"agreementType\": \"X12\",\r\n \"content\": {\r\n \"x12\": {\r\n \"receiveAgreement\": {\r\n \"protocolSettings\": {\r\n \"validationSettings\": {\r\n \"validateCharacterSet\": true,\r\n \"checkDuplicateInterchangeControlNumber\": false,\r\n \"interchangeControlNumberValidityDays\": 30,\r\n \"checkDuplicateGroupControlNumber\": false,\r\n \"checkDuplicateTransactionSetControlNumber\": false,\r\n \"validateEDITypes\": true,\r\n \"validateXSDTypes\": false,\r\n \"allowLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trimLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trailingSeparatorPolicy\": \"NotAllowed\"\r\n },\r\n \"framingSettings\": {\r\n \"dataElementSeparator\": 42,\r\n \"componentSeparator\": 58,\r\n \"replaceSeparatorsInPayload\": false,\r\n \"replaceCharacter\": 36,\r\n \"segmentTerminator\": 126,\r\n \"characterSet\": \"UTF8\",\r\n \"segmentTerminatorSuffix\": \"None\"\r\n },\r\n \"envelopeSettings\": {\r\n \"controlStandardsId\": 85,\r\n \"useControlStandardsIdAsRepetitionCharacter\": false,\r\n \"senderApplicationId\": \"BTS-SENDER\",\r\n \"receiverApplicationId\": \"RECEIVE-APP\",\r\n \"controlVersionNumber\": \"00401\",\r\n \"interchangeControlNumberLowerBound\": 1,\r\n \"interchangeControlNumberUpperBound\": 999999999,\r\n \"rolloverInterchangeControlNumber\": true,\r\n \"enableDefaultGroupHeaders\": true,\r\n \"groupControlNumberLowerBound\": 1,\r\n \"groupControlNumberUpperBound\": 999999999,\r\n \"rolloverGroupControlNumber\": true,\r\n \"groupHeaderAgencyCode\": \"T\",\r\n \"groupHeaderVersion\": \"00401\",\r\n \"transactionSetControlNumberLowerBound\": 1,\r\n \"transactionSetControlNumberUpperBound\": 999999999,\r\n \"rolloverTransactionSetControlNumber\": true,\r\n \"overwriteExistingTransactionSetControlNumber\": true,\r\n \"groupHeaderDateFormat\": \"CCYYMMDD\",\r\n \"groupHeaderTimeFormat\": \"HHMM\",\r\n \"usageIndicator\": \"Test\"\r\n },\r\n \"acknowledgementSettings\": {\r\n \"needTechnicalAcknowledgement\": false,\r\n \"batchTechnicalAcknowledgements\": true,\r\n \"needFunctionalAcknowledgement\": false,\r\n \"batchFunctionalAcknowledgements\": true,\r\n \"needImplementationAcknowledgement\": false,\r\n \"batchImplementationAcknowledgements\": false,\r\n \"needLoopForValidMessages\": false,\r\n \"sendSynchronousAcknowledgement\": true,\r\n \"acknowledgementControlNumberLowerBound\": 1,\r\n \"acknowledgementControlNumberUpperBound\": 999999999,\r\n \"rolloverAcknowledgementControlNumber\": true\r\n },\r\n \"messageFilter\": {\r\n \"messageFilterType\": \"Exclude\"\r\n },\r\n \"securitySettings\": {\r\n \"authorizationQualifier\": \"00\",\r\n \"securityQualifier\": \"00\"\r\n },\r\n \"processingSettings\": {\r\n \"maskSecurityInfo\": true,\r\n \"convertImpliedDecimal\": true,\r\n \"preserveInterchange\": true,\r\n \"suspendInterchangeOnError\": true,\r\n \"createEmptyXmlTagsForTrailingSeparators\": true,\r\n \"useDotAsDecimalSeparator\": true\r\n },\r\n \"schemaReferences\": []\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n }\r\n },\r\n \"sendAgreement\": {\r\n \"protocolSettings\": {\r\n \"validationSettings\": {\r\n \"validateCharacterSet\": true,\r\n \"checkDuplicateInterchangeControlNumber\": false,\r\n \"interchangeControlNumberValidityDays\": 30,\r\n \"checkDuplicateGroupControlNumber\": false,\r\n \"checkDuplicateTransactionSetControlNumber\": false,\r\n \"validateEDITypes\": true,\r\n \"validateXSDTypes\": false,\r\n \"allowLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trimLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trailingSeparatorPolicy\": \"NotAllowed\"\r\n },\r\n \"framingSettings\": {\r\n \"dataElementSeparator\": 42,\r\n \"componentSeparator\": 58,\r\n \"replaceSeparatorsInPayload\": false,\r\n \"replaceCharacter\": 36,\r\n \"segmentTerminator\": 126,\r\n \"characterSet\": \"UTF8\",\r\n \"segmentTerminatorSuffix\": \"None\"\r\n },\r\n \"envelopeSettings\": {\r\n \"controlStandardsId\": 100,\r\n \"useControlStandardsIdAsRepetitionCharacter\": true,\r\n \"senderApplicationId\": \"100\",\r\n \"receiverApplicationId\": \"100\",\r\n \"controlVersionNumber\": \"0.0\",\r\n \"interchangeControlNumberLowerBound\": 1,\r\n \"interchangeControlNumberUpperBound\": 999999999,\r\n \"rolloverInterchangeControlNumber\": true,\r\n \"enableDefaultGroupHeaders\": true,\r\n \"functionalGroupId\": \"1\",\r\n \"groupControlNumberLowerBound\": 1,\r\n \"groupControlNumberUpperBound\": 999999999,\r\n \"rolloverGroupControlNumber\": true,\r\n \"groupHeaderAgencyCode\": \"T\",\r\n \"groupHeaderVersion\": \"0.0\",\r\n \"transactionSetControlNumberLowerBound\": 1,\r\n \"transactionSetControlNumberUpperBound\": 999999999,\r\n \"rolloverTransactionSetControlNumber\": true,\r\n \"transactionSetControlNumberPrefix\": \"\",\r\n \"transactionSetControlNumberSuffix\": \"\",\r\n \"overwriteExistingTransactionSetControlNumber\": true,\r\n \"groupHeaderDateFormat\": \"CCYYMMDD\",\r\n \"groupHeaderTimeFormat\": \"HHMM\",\r\n \"usageIndicator\": \"Information\"\r\n },\r\n \"acknowledgementSettings\": {\r\n \"needTechnicalAcknowledgement\": false,\r\n \"batchTechnicalAcknowledgements\": true,\r\n \"needFunctionalAcknowledgement\": false,\r\n \"batchFunctionalAcknowledgements\": true,\r\n \"needImplementationAcknowledgement\": false,\r\n \"batchImplementationAcknowledgements\": false,\r\n \"needLoopForValidMessages\": false,\r\n \"sendSynchronousAcknowledgement\": true,\r\n \"acknowledgementControlNumberLowerBound\": 1,\r\n \"acknowledgementControlNumberUpperBound\": 999999999,\r\n \"rolloverAcknowledgementControlNumber\": true\r\n },\r\n \"messageFilter\": {\r\n \"messageFilterType\": \"Exclude\"\r\n },\r\n \"securitySettings\": {\r\n \"authorizationQualifier\": \"00\",\r\n \"securityQualifier\": \"00\"\r\n },\r\n \"processingSettings\": {\r\n \"maskSecurityInfo\": true,\r\n \"convertImpliedDecimal\": true,\r\n \"preserveInterchange\": true,\r\n \"suspendInterchangeOnError\": true,\r\n \"createEmptyXmlTagsForTrailingSeparators\": true,\r\n \"useDotAsDecimalSeparator\": true\r\n },\r\n \"schemaReferences\": []\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n }\r\n }\r\n }\r\n },\r\n \"createdTime\": \"2017-03-01T21:56:47.264692Z\",\r\n \"changedTime\": \"2017-03-01T21:56:47.2652019Z\",\r\n \"metadata\": \"IntegrationAccountAgreement7262\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9207/agreements/IntegrationAccountAgreement7262\",\r\n \"name\": \"IntegrationAccountAgreement7262\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/agreements\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "5548" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:56:46 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:ad81d64d-ade0-4d76-a347-ff3f0c54d61b" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1193" - ], - "x-ms-correlation-request-id": [ - "7fb6f9c3-92fc-40cc-9954-c79563c76c36" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215647Z:7fb6f9c3-92fc-40cc-9954-c79563c76c36" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9207/agreements?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50OTIwNy9hZ3JlZW1lbnRzP2FwaS12ZXJzaW9uPTIwMTYtMDYtMDE=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "b7082dd8-abd9-456a-aa2a-c2f7dde917aa" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"hostPartner\": \"HostPartner\",\r\n \"guestPartner\": \"GuestPartner\",\r\n \"hostIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"guestIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"agreementType\": \"EDIFACT\",\r\n \"content\": {\r\n \"edifact\": {\r\n \"receiveAgreement\": {\r\n \"protocolSettings\": {\r\n \"validationSettings\": {\r\n \"validateCharacterSet\": true,\r\n \"checkDuplicateInterchangeControlNumber\": true,\r\n \"interchangeControlNumberValidityDays\": 30,\r\n \"checkDuplicateGroupControlNumber\": true,\r\n \"checkDuplicateTransactionSetControlNumber\": true,\r\n \"validateEDITypes\": true,\r\n \"validateXSDTypes\": true,\r\n \"trimLeadingAndTrailingSpacesAndZeroes\": true,\r\n \"allowLeadingAndTrailingSpacesAndZeroes\": true,\r\n \"trailingSeparatorPolicy\": \"Optional\"\r\n },\r\n \"framingSettings\": {\r\n \"characterEncoding\": \"UTF\",\r\n \"protocolVersion\": 4,\r\n \"dataElementSeparator\": 53,\r\n \"componentSeparator\": 58,\r\n \"segmentTerminator\": 39,\r\n \"releaseIndicator\": 63,\r\n \"repetitionSeparator\": 42,\r\n \"characterSet\": \"UNOC\",\r\n \"decimalPointIndicator\": \"Comma\",\r\n \"segmentTerminatorSuffix\": \"None\"\r\n },\r\n \"envelopeSettings\": {\r\n \"groupAssociationAssignedCode\": \"0\",\r\n \"communicationAgreementId\": \"0\",\r\n \"applyDelimiterStringAdvice\": true,\r\n \"createGroupingSegments\": true,\r\n \"enableDefaultGroupHeaders\": true,\r\n \"recipientReferencePasswordValue\": \"AA\",\r\n \"recipientReferencePasswordQualifier\": \"ZZ\",\r\n \"applicationReferenceId\": \"0\",\r\n \"processingPriorityCode\": \"0\",\r\n \"interchangeControlNumberLowerBound\": 1,\r\n \"interchangeControlNumberUpperBound\": 99999999,\r\n \"rolloverInterchangeControlNumber\": true,\r\n \"interchangeControlNumberPrefix\": \"CU\",\r\n \"interchangeControlNumberSuffix\": \"NUM\",\r\n \"functionalGroupId\": \"0\",\r\n \"groupControllingAgencyCode\": \"0\",\r\n \"groupMessageVersion\": \"0.0\",\r\n \"groupMessageRelease\": \"0.0\",\r\n \"groupControlNumberLowerBound\": 1,\r\n \"groupControlNumberUpperBound\": 99999999,\r\n \"rolloverGroupControlNumber\": true,\r\n \"groupControlNumberPrefix\": \"CU\",\r\n \"groupControlNumberSuffix\": \"NUM\",\r\n \"groupApplicationReceiverQualifier\": \"ZZZ\",\r\n \"groupApplicationReceiverId\": \"0\",\r\n \"groupApplicationSenderQualifier\": \"ZZZ\",\r\n \"groupApplicationSenderId\": \"AAA\",\r\n \"groupApplicationPassword\": \"0\",\r\n \"overwriteExistingTransactionSetControlNumber\": true,\r\n \"transactionSetControlNumberPrefix\": \"\",\r\n \"transactionSetControlNumberSuffix\": \"\",\r\n \"transactionSetControlNumberLowerBound\": 1,\r\n \"transactionSetControlNumberUpperBound\": 99999999,\r\n \"rolloverTransactionSetControlNumber\": true,\r\n \"isTestInterchange\": true,\r\n \"senderInternalIdentification\": \"AA\",\r\n \"senderInternalSubIdentification\": \"AA\",\r\n \"receiverInternalIdentification\": \"0\",\r\n \"receiverInternalSubIdentification\": \"0\"\r\n },\r\n \"acknowledgementSettings\": {\r\n \"needTechnicalAcknowledgement\": true,\r\n \"batchTechnicalAcknowledgements\": true,\r\n \"needFunctionalAcknowledgement\": false,\r\n \"batchFunctionalAcknowledgements\": true,\r\n \"needLoopForValidMessages\": false,\r\n \"sendSynchronousAcknowledgement\": true,\r\n \"acknowledgementControlNumberPrefix\": \"\",\r\n \"acknowledgementControlNumberSuffix\": \"\",\r\n \"acknowledgementControlNumberLowerBound\": 1,\r\n \"acknowledgementControlNumberUpperBound\": 99999999,\r\n \"rolloverAcknowledgementControlNumber\": true\r\n },\r\n \"messageFilter\": {\r\n \"messageFilterType\": \"Exclude\"\r\n },\r\n \"processingSettings\": {\r\n \"maskSecurityInfo\": true,\r\n \"preserveInterchange\": true,\r\n \"suspendInterchangeOnError\": true,\r\n \"createEmptyXmlTagsForTrailingSeparators\": true,\r\n \"useDotAsDecimalSeparator\": true\r\n },\r\n \"schemaReferences\": []\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n }\r\n },\r\n \"sendAgreement\": {\r\n \"protocolSettings\": {\r\n \"validationSettings\": {\r\n \"validateCharacterSet\": true,\r\n \"checkDuplicateInterchangeControlNumber\": true,\r\n \"interchangeControlNumberValidityDays\": 30,\r\n \"checkDuplicateGroupControlNumber\": true,\r\n \"checkDuplicateTransactionSetControlNumber\": true,\r\n \"validateEDITypes\": true,\r\n \"validateXSDTypes\": true,\r\n \"trimLeadingAndTrailingSpacesAndZeroes\": true,\r\n \"allowLeadingAndTrailingSpacesAndZeroes\": true,\r\n \"trailingSeparatorPolicy\": \"Optional\"\r\n },\r\n \"framingSettings\": {\r\n \"characterEncoding\": \"UTF\",\r\n \"protocolVersion\": 4,\r\n \"dataElementSeparator\": 53,\r\n \"componentSeparator\": 58,\r\n \"segmentTerminator\": 39,\r\n \"releaseIndicator\": 63,\r\n \"repetitionSeparator\": 42,\r\n \"characterSet\": \"UNOC\",\r\n \"decimalPointIndicator\": \"Comma\",\r\n \"segmentTerminatorSuffix\": \"None\"\r\n },\r\n \"envelopeSettings\": {\r\n \"groupAssociationAssignedCode\": \"0\",\r\n \"communicationAgreementId\": \"0\",\r\n \"applyDelimiterStringAdvice\": true,\r\n \"createGroupingSegments\": true,\r\n \"enableDefaultGroupHeaders\": true,\r\n \"recipientReferencePasswordValue\": \"AA\",\r\n \"recipientReferencePasswordQualifier\": \"ZZ\",\r\n \"applicationReferenceId\": \"0\",\r\n \"processingPriorityCode\": \"0\",\r\n \"interchangeControlNumberLowerBound\": 1,\r\n \"interchangeControlNumberUpperBound\": 999999999,\r\n \"rolloverInterchangeControlNumber\": true,\r\n \"interchangeControlNumberPrefix\": \"CU\",\r\n \"interchangeControlNumberSuffix\": \"NUM\",\r\n \"functionalGroupId\": \"0\",\r\n \"groupControllingAgencyCode\": \"0\",\r\n \"groupMessageVersion\": \"0.0\",\r\n \"groupMessageRelease\": \"0.0\",\r\n \"groupControlNumberLowerBound\": 1,\r\n \"groupControlNumberUpperBound\": 999999999,\r\n \"rolloverGroupControlNumber\": true,\r\n \"groupControlNumberPrefix\": \"\",\r\n \"groupControlNumberSuffix\": \"\",\r\n \"groupApplicationReceiverQualifier\": \"ZZ\",\r\n \"groupApplicationReceiverId\": \"0\",\r\n \"groupApplicationSenderQualifier\": \"ZZ\",\r\n \"groupApplicationSenderId\": \"AA\",\r\n \"groupApplicationPassword\": \"0\",\r\n \"overwriteExistingTransactionSetControlNumber\": true,\r\n \"transactionSetControlNumberPrefix\": \"\",\r\n \"transactionSetControlNumberSuffix\": \"\",\r\n \"transactionSetControlNumberLowerBound\": 1,\r\n \"transactionSetControlNumberUpperBound\": 999999999,\r\n \"rolloverTransactionSetControlNumber\": true,\r\n \"isTestInterchange\": true,\r\n \"senderInternalIdentification\": \"AA\",\r\n \"senderInternalSubIdentification\": \"AA\",\r\n \"receiverInternalIdentification\": \"0\",\r\n \"receiverInternalSubIdentification\": \"0\"\r\n },\r\n \"acknowledgementSettings\": {\r\n \"needTechnicalAcknowledgement\": true,\r\n \"batchTechnicalAcknowledgements\": true,\r\n \"needFunctionalAcknowledgement\": true,\r\n \"batchFunctionalAcknowledgements\": true,\r\n \"needLoopForValidMessages\": true,\r\n \"sendSynchronousAcknowledgement\": true,\r\n \"acknowledgementControlNumberPrefix\": \"CN\",\r\n \"acknowledgementControlNumberSuffix\": \"NUM\",\r\n \"acknowledgementControlNumberLowerBound\": 1,\r\n \"acknowledgementControlNumberUpperBound\": 999999999,\r\n \"rolloverAcknowledgementControlNumber\": true\r\n },\r\n \"messageFilter\": {\r\n \"messageFilterType\": \"Exclude\"\r\n },\r\n \"processingSettings\": {\r\n \"maskSecurityInfo\": true,\r\n \"preserveInterchange\": true,\r\n \"suspendInterchangeOnError\": true,\r\n \"createEmptyXmlTagsForTrailingSeparators\": true,\r\n \"useDotAsDecimalSeparator\": true\r\n },\r\n \"schemaReferences\": []\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n }\r\n }\r\n }\r\n },\r\n \"createdTime\": \"2017-03-01T21:56:46.9849153Z\",\r\n \"changedTime\": \"2017-03-01T21:56:46.9851084Z\",\r\n \"metadata\": \"IntegrationAccountAgreement5372\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9207/agreements/IntegrationAccountAgreement5372\",\r\n \"name\": \"IntegrationAccountAgreement5372\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/agreements\"\r\n },\r\n {\r\n \"properties\": {\r\n \"hostPartner\": \"HostPartner\",\r\n \"guestPartner\": \"GuestPartner\",\r\n \"hostIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"guestIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"agreementType\": \"X12\",\r\n \"content\": {\r\n \"x12\": {\r\n \"receiveAgreement\": {\r\n \"protocolSettings\": {\r\n \"validationSettings\": {\r\n \"validateCharacterSet\": true,\r\n \"checkDuplicateInterchangeControlNumber\": false,\r\n \"interchangeControlNumberValidityDays\": 30,\r\n \"checkDuplicateGroupControlNumber\": false,\r\n \"checkDuplicateTransactionSetControlNumber\": false,\r\n \"validateEDITypes\": true,\r\n \"validateXSDTypes\": false,\r\n \"allowLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trimLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trailingSeparatorPolicy\": \"NotAllowed\"\r\n },\r\n \"framingSettings\": {\r\n \"dataElementSeparator\": 42,\r\n \"componentSeparator\": 58,\r\n \"replaceSeparatorsInPayload\": false,\r\n \"replaceCharacter\": 36,\r\n \"segmentTerminator\": 126,\r\n \"characterSet\": \"UTF8\",\r\n \"segmentTerminatorSuffix\": \"None\"\r\n },\r\n \"envelopeSettings\": {\r\n \"controlStandardsId\": 85,\r\n \"useControlStandardsIdAsRepetitionCharacter\": false,\r\n \"senderApplicationId\": \"BTS-SENDER\",\r\n \"receiverApplicationId\": \"RECEIVE-APP\",\r\n \"controlVersionNumber\": \"00401\",\r\n \"interchangeControlNumberLowerBound\": 1,\r\n \"interchangeControlNumberUpperBound\": 999999999,\r\n \"rolloverInterchangeControlNumber\": true,\r\n \"enableDefaultGroupHeaders\": true,\r\n \"groupControlNumberLowerBound\": 1,\r\n \"groupControlNumberUpperBound\": 999999999,\r\n \"rolloverGroupControlNumber\": true,\r\n \"groupHeaderAgencyCode\": \"T\",\r\n \"groupHeaderVersion\": \"00401\",\r\n \"transactionSetControlNumberLowerBound\": 1,\r\n \"transactionSetControlNumberUpperBound\": 999999999,\r\n \"rolloverTransactionSetControlNumber\": true,\r\n \"overwriteExistingTransactionSetControlNumber\": true,\r\n \"groupHeaderDateFormat\": \"CCYYMMDD\",\r\n \"groupHeaderTimeFormat\": \"HHMM\",\r\n \"usageIndicator\": \"Test\"\r\n },\r\n \"acknowledgementSettings\": {\r\n \"needTechnicalAcknowledgement\": false,\r\n \"batchTechnicalAcknowledgements\": true,\r\n \"needFunctionalAcknowledgement\": false,\r\n \"batchFunctionalAcknowledgements\": true,\r\n \"needImplementationAcknowledgement\": false,\r\n \"batchImplementationAcknowledgements\": false,\r\n \"needLoopForValidMessages\": false,\r\n \"sendSynchronousAcknowledgement\": true,\r\n \"acknowledgementControlNumberLowerBound\": 1,\r\n \"acknowledgementControlNumberUpperBound\": 999999999,\r\n \"rolloverAcknowledgementControlNumber\": true\r\n },\r\n \"messageFilter\": {\r\n \"messageFilterType\": \"Exclude\"\r\n },\r\n \"securitySettings\": {\r\n \"authorizationQualifier\": \"00\",\r\n \"securityQualifier\": \"00\"\r\n },\r\n \"processingSettings\": {\r\n \"maskSecurityInfo\": true,\r\n \"convertImpliedDecimal\": true,\r\n \"preserveInterchange\": true,\r\n \"suspendInterchangeOnError\": true,\r\n \"createEmptyXmlTagsForTrailingSeparators\": true,\r\n \"useDotAsDecimalSeparator\": true\r\n },\r\n \"schemaReferences\": []\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n }\r\n },\r\n \"sendAgreement\": {\r\n \"protocolSettings\": {\r\n \"validationSettings\": {\r\n \"validateCharacterSet\": true,\r\n \"checkDuplicateInterchangeControlNumber\": false,\r\n \"interchangeControlNumberValidityDays\": 30,\r\n \"checkDuplicateGroupControlNumber\": false,\r\n \"checkDuplicateTransactionSetControlNumber\": false,\r\n \"validateEDITypes\": true,\r\n \"validateXSDTypes\": false,\r\n \"allowLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trimLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trailingSeparatorPolicy\": \"NotAllowed\"\r\n },\r\n \"framingSettings\": {\r\n \"dataElementSeparator\": 42,\r\n \"componentSeparator\": 58,\r\n \"replaceSeparatorsInPayload\": false,\r\n \"replaceCharacter\": 36,\r\n \"segmentTerminator\": 126,\r\n \"characterSet\": \"UTF8\",\r\n \"segmentTerminatorSuffix\": \"None\"\r\n },\r\n \"envelopeSettings\": {\r\n \"controlStandardsId\": 100,\r\n \"useControlStandardsIdAsRepetitionCharacter\": true,\r\n \"senderApplicationId\": \"100\",\r\n \"receiverApplicationId\": \"100\",\r\n \"controlVersionNumber\": \"0.0\",\r\n \"interchangeControlNumberLowerBound\": 1,\r\n \"interchangeControlNumberUpperBound\": 999999999,\r\n \"rolloverInterchangeControlNumber\": true,\r\n \"enableDefaultGroupHeaders\": true,\r\n \"functionalGroupId\": \"1\",\r\n \"groupControlNumberLowerBound\": 1,\r\n \"groupControlNumberUpperBound\": 999999999,\r\n \"rolloverGroupControlNumber\": true,\r\n \"groupHeaderAgencyCode\": \"T\",\r\n \"groupHeaderVersion\": \"0.0\",\r\n \"transactionSetControlNumberLowerBound\": 1,\r\n \"transactionSetControlNumberUpperBound\": 999999999,\r\n \"rolloverTransactionSetControlNumber\": true,\r\n \"transactionSetControlNumberPrefix\": \"\",\r\n \"transactionSetControlNumberSuffix\": \"\",\r\n \"overwriteExistingTransactionSetControlNumber\": true,\r\n \"groupHeaderDateFormat\": \"CCYYMMDD\",\r\n \"groupHeaderTimeFormat\": \"HHMM\",\r\n \"usageIndicator\": \"Information\"\r\n },\r\n \"acknowledgementSettings\": {\r\n \"needTechnicalAcknowledgement\": false,\r\n \"batchTechnicalAcknowledgements\": true,\r\n \"needFunctionalAcknowledgement\": false,\r\n \"batchFunctionalAcknowledgements\": true,\r\n \"needImplementationAcknowledgement\": false,\r\n \"batchImplementationAcknowledgements\": false,\r\n \"needLoopForValidMessages\": false,\r\n \"sendSynchronousAcknowledgement\": true,\r\n \"acknowledgementControlNumberLowerBound\": 1,\r\n \"acknowledgementControlNumberUpperBound\": 999999999,\r\n \"rolloverAcknowledgementControlNumber\": true\r\n },\r\n \"messageFilter\": {\r\n \"messageFilterType\": \"Exclude\"\r\n },\r\n \"securitySettings\": {\r\n \"authorizationQualifier\": \"00\",\r\n \"securityQualifier\": \"00\"\r\n },\r\n \"processingSettings\": {\r\n \"maskSecurityInfo\": true,\r\n \"convertImpliedDecimal\": true,\r\n \"preserveInterchange\": true,\r\n \"suspendInterchangeOnError\": true,\r\n \"createEmptyXmlTagsForTrailingSeparators\": true,\r\n \"useDotAsDecimalSeparator\": true\r\n },\r\n \"schemaReferences\": []\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n }\r\n }\r\n }\r\n },\r\n \"createdTime\": \"2017-03-01T21:56:47.264692Z\",\r\n \"changedTime\": \"2017-03-01T21:56:47.2652019Z\",\r\n \"metadata\": \"IntegrationAccountAgreement7262\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9207/agreements/IntegrationAccountAgreement7262\",\r\n \"name\": \"IntegrationAccountAgreement7262\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/agreements\"\r\n },\r\n {\r\n \"properties\": {\r\n \"hostPartner\": \"HostPartner\",\r\n \"guestPartner\": \"GuestPartner\",\r\n \"hostIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"guestIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"agreementType\": \"AS2\",\r\n \"content\": {\r\n \"aS2\": {\r\n \"receiveAgreement\": {\r\n \"protocolSettings\": {\r\n \"messageConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"acknowledgementConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"mdnSettings\": {\r\n \"needMDN\": true,\r\n \"signMDN\": true,\r\n \"sendMDNAsynchronously\": true,\r\n \"receiptDeliveryUrl\": \"http://tempuri.org\",\r\n \"dispositionNotificationTo\": \"http://tempuri.org\",\r\n \"signOutboundMDNIfOptional\": true,\r\n \"mdnText\": \"Sample\",\r\n \"sendInboundMDNToMessageBox\": true,\r\n \"micHashingAlgorithm\": \"None\"\r\n },\r\n \"securitySettings\": {\r\n \"overrideGroupSigningCertificate\": false,\r\n \"enableNRRForInboundEncodedMessages\": true,\r\n \"enableNRRForInboundDecodedMessages\": true,\r\n \"enableNRRForOutboundMDN\": true,\r\n \"enableNRRForOutboundEncodedMessages\": true,\r\n \"enableNRRForOutboundDecodedMessages\": true,\r\n \"enableNRRForInboundMDN\": true\r\n },\r\n \"validationSettings\": {\r\n \"overrideMessageProperties\": true,\r\n \"encryptMessage\": false,\r\n \"signMessage\": false,\r\n \"compressMessage\": true,\r\n \"checkDuplicateMessage\": true,\r\n \"interchangeDuplicatesValidityDays\": 100,\r\n \"checkCertificateRevocationListOnSend\": true,\r\n \"checkCertificateRevocationListOnReceive\": true,\r\n \"encryptionAlgorithm\": \"AES128\"\r\n },\r\n \"envelopeSettings\": {\r\n \"messageContentType\": \"text/plain\",\r\n \"transmitFileNameInMimeHeader\": true,\r\n \"fileNameTemplate\": \"Test\",\r\n \"suspendMessageOnFileNameGenerationError\": true,\r\n \"autogenerateFileName\": true\r\n },\r\n \"errorSettings\": {\r\n \"suspendDuplicateMessage\": true,\r\n \"resendIfMDNNotReceived\": true\r\n }\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n }\r\n },\r\n \"sendAgreement\": {\r\n \"protocolSettings\": {\r\n \"messageConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"acknowledgementConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"mdnSettings\": {\r\n \"needMDN\": true,\r\n \"signMDN\": true,\r\n \"sendMDNAsynchronously\": true,\r\n \"receiptDeliveryUrl\": \"http://tempuri.org\",\r\n \"dispositionNotificationTo\": \"http://tempuri.org\",\r\n \"signOutboundMDNIfOptional\": true,\r\n \"mdnText\": \"Sample\",\r\n \"sendInboundMDNToMessageBox\": true,\r\n \"micHashingAlgorithm\": \"None\"\r\n },\r\n \"securitySettings\": {\r\n \"overrideGroupSigningCertificate\": false,\r\n \"enableNRRForInboundEncodedMessages\": true,\r\n \"enableNRRForInboundDecodedMessages\": true,\r\n \"enableNRRForOutboundMDN\": true,\r\n \"enableNRRForOutboundEncodedMessages\": true,\r\n \"enableNRRForOutboundDecodedMessages\": true,\r\n \"enableNRRForInboundMDN\": true\r\n },\r\n \"validationSettings\": {\r\n \"overrideMessageProperties\": true,\r\n \"encryptMessage\": false,\r\n \"signMessage\": false,\r\n \"compressMessage\": true,\r\n \"checkDuplicateMessage\": true,\r\n \"interchangeDuplicatesValidityDays\": 100,\r\n \"checkCertificateRevocationListOnSend\": true,\r\n \"checkCertificateRevocationListOnReceive\": true,\r\n \"encryptionAlgorithm\": \"AES128\"\r\n },\r\n \"envelopeSettings\": {\r\n \"messageContentType\": \"text/plain\",\r\n \"transmitFileNameInMimeHeader\": true,\r\n \"fileNameTemplate\": \"Test\",\r\n \"suspendMessageOnFileNameGenerationError\": true,\r\n \"autogenerateFileName\": true\r\n },\r\n \"errorSettings\": {\r\n \"suspendDuplicateMessage\": true,\r\n \"resendIfMDNNotReceived\": true\r\n }\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n }\r\n }\r\n }\r\n },\r\n \"createdTime\": \"2017-03-01T21:56:46.6788677Z\",\r\n \"changedTime\": \"2017-03-01T21:56:46.6798601Z\",\r\n \"metadata\": \"IntegrationAccountAgreement8993\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9207/agreements/IntegrationAccountAgreement8993\",\r\n \"name\": \"IntegrationAccountAgreement8993\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/agreements\"\r\n }\r\n ]\r\n}", - "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:56:46 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], - "x-ms-request-id": [ - "westus:ba9c2449-7cd4-473b-b0ef-99cd1670b8c6" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14817" - ], - "x-ms-correlation-request-id": [ - "57516ea5-7354-4858-b00c-9644d5c06230" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215647Z:57516ea5-7354-4858-b00c-9644d5c06230" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9207?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50OTIwNz9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "07831f0a-2091-4b27-b341-3f1b90857a2c" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:56:47 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:f029dc90-666c-440c-a91f-9e62a1ad8ac5" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1192" - ], - "x-ms-correlation-request-id": [ - "30434256-0851-477c-871c-58ca000a51e4" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215647Z:30434256-0851-477c-871c-58ca000a51e4" - ] - }, - "StatusCode": 200 - } - ], - "Names": { - "ListIntegrationAccountAgreements": [ - "IntegrationAccount9207", - "IntegrationAccountAgreement8993", - "IntegrationAccountAgreement5372", - "IntegrationAccountAgreement7262" - ] - }, - "Variables": { - "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" - } -} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAgreementsScenarioTests/IntegrationAccountAgreements_CreateAs2_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAgreementsScenarioTests/IntegrationAccountAgreements_CreateAs2_OK.json new file mode 100644 index 0000000000000..744a9c5576386 --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAgreementsScenarioTests/IntegrationAccountAgreements_CreateAs2_OK.json @@ -0,0 +1,312 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "3a79e16a-3c92-417c-b46d-92bd766dac7f" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:52:57 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-request-id": [ + "f6ecfff0-cbae-42a3-adaf-d3d1b5d2ac31" + ], + "x-ms-correlation-request-id": [ + "f6ecfff0-cbae-42a3-adaf-d3d1b5d2ac31" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225258Z:f6ecfff0-cbae-42a3-adaf-d3d1b5d2ac31" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "e2d049f5-548a-4a87-9d58-d2db8841bb11" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:52:57 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19999" + ], + "x-ms-request-id": [ + "c7212636-24ad-4950-9ae7-13a03e5a9a6a" + ], + "x-ms-correlation-request-id": [ + "c7212636-24ad-4950-9ae7-13a03e5a9a6a" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225258Z:c7212636-24ad-4950-9ae7-13a03e5a9a6a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2976?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50Mjk3Nj9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "500e4580-ee4f-4e07-bfd1-c25b3411aa09" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:52:58 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:1b253bbc-f065-488a-ba43-e201f920541f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "297a57d7-3ca1-4d5b-a9b6-36e04c4cfb6e" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225259Z:297a57d7-3ca1-4d5b-a9b6-36e04c4cfb6e" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "307" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2976\",\r\n \"name\": \"IntegrationAccount2976\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2976/agreements/IntegrationAccountAgreement3732?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50Mjk3Ni9hZ3JlZW1lbnRzL0ludGVncmF0aW9uQWNjb3VudEFncmVlbWVudDM3MzI/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"agreementType\": \"AS2\",\r\n \"hostPartner\": \"HostPartner\",\r\n \"guestPartner\": \"GuestPartner\",\r\n \"hostIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"guestIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"content\": {\r\n \"aS2\": {\r\n \"receiveAgreement\": {\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"protocolSettings\": {\r\n \"messageConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"acknowledgementConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"mdnSettings\": {\r\n \"needMdn\": true,\r\n \"signMdn\": true,\r\n \"sendMdnAsynchronously\": true,\r\n \"receiptDeliveryUrl\": \"http://tempuri.org\",\r\n \"dispositionNotificationTo\": \"http://tempuri.org\",\r\n \"signOutboundMdnIfOptional\": true,\r\n \"mdnText\": \"Sample\",\r\n \"sendInboundMdnToMessageBox\": true,\r\n \"micHashingAlgorithm\": \"MD5\"\r\n },\r\n \"securitySettings\": {\r\n \"overrideGroupSigningCertificate\": false,\r\n \"enableNrrForInboundEncodedMessages\": true,\r\n \"enableNrrForInboundDecodedMessages\": true,\r\n \"enableNrrForOutboundMdn\": true,\r\n \"enableNrrForOutboundEncodedMessages\": true,\r\n \"enableNrrForOutboundDecodedMessages\": true,\r\n \"enableNrrForInboundMdn\": true\r\n },\r\n \"validationSettings\": {\r\n \"overrideMessageProperties\": true,\r\n \"encryptMessage\": false,\r\n \"signMessage\": false,\r\n \"compressMessage\": true,\r\n \"checkDuplicateMessage\": true,\r\n \"interchangeDuplicatesValidityDays\": 100,\r\n \"checkCertificateRevocationListOnSend\": true,\r\n \"checkCertificateRevocationListOnReceive\": true,\r\n \"encryptionAlgorithm\": \"AES128\"\r\n },\r\n \"envelopeSettings\": {\r\n \"messageContentType\": \"text/plain\",\r\n \"transmitFileNameInMimeHeader\": true,\r\n \"fileNameTemplate\": \"Test\",\r\n \"suspendMessageOnFileNameGenerationError\": true,\r\n \"autogenerateFileName\": true\r\n },\r\n \"errorSettings\": {\r\n \"suspendDuplicateMessage\": true,\r\n \"resendIfMdnNotReceived\": true\r\n }\r\n }\r\n },\r\n \"sendAgreement\": {\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"protocolSettings\": {\r\n \"messageConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"acknowledgementConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"mdnSettings\": {\r\n \"needMdn\": true,\r\n \"signMdn\": true,\r\n \"sendMdnAsynchronously\": true,\r\n \"receiptDeliveryUrl\": \"http://tempuri.org\",\r\n \"dispositionNotificationTo\": \"http://tempuri.org\",\r\n \"signOutboundMdnIfOptional\": true,\r\n \"mdnText\": \"Sample\",\r\n \"sendInboundMdnToMessageBox\": true,\r\n \"micHashingAlgorithm\": \"MD5\"\r\n },\r\n \"securitySettings\": {\r\n \"overrideGroupSigningCertificate\": false,\r\n \"enableNrrForInboundEncodedMessages\": true,\r\n \"enableNrrForInboundDecodedMessages\": true,\r\n \"enableNrrForOutboundMdn\": true,\r\n \"enableNrrForOutboundEncodedMessages\": true,\r\n \"enableNrrForOutboundDecodedMessages\": true,\r\n \"enableNrrForInboundMdn\": true\r\n },\r\n \"validationSettings\": {\r\n \"overrideMessageProperties\": true,\r\n \"encryptMessage\": false,\r\n \"signMessage\": false,\r\n \"compressMessage\": true,\r\n \"checkDuplicateMessage\": true,\r\n \"interchangeDuplicatesValidityDays\": 100,\r\n \"checkCertificateRevocationListOnSend\": true,\r\n \"checkCertificateRevocationListOnReceive\": true,\r\n \"encryptionAlgorithm\": \"AES128\"\r\n },\r\n \"envelopeSettings\": {\r\n \"messageContentType\": \"text/plain\",\r\n \"transmitFileNameInMimeHeader\": true,\r\n \"fileNameTemplate\": \"Test\",\r\n \"suspendMessageOnFileNameGenerationError\": true,\r\n \"autogenerateFileName\": true\r\n },\r\n \"errorSettings\": {\r\n \"suspendDuplicateMessage\": true,\r\n \"resendIfMdnNotReceived\": true\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "a461002e-5780-4348-b3a0-9ac6996649cb" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "5694" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:52:59 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:9f5e4e4e-a464-463c-80e8-412ce3d8b7af" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "491bea4b-a498-4d5f-b352-887243fec5be" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225259Z:491bea4b-a498-4d5f-b352-887243fec5be" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "3872" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"hostPartner\": \"HostPartner\",\r\n \"guestPartner\": \"GuestPartner\",\r\n \"hostIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"guestIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"agreementType\": \"AS2\",\r\n \"content\": {\r\n \"aS2\": {\r\n \"receiveAgreement\": {\r\n \"protocolSettings\": {\r\n \"messageConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"acknowledgementConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"mdnSettings\": {\r\n \"needMDN\": true,\r\n \"signMDN\": true,\r\n \"sendMDNAsynchronously\": true,\r\n \"receiptDeliveryUrl\": \"http://tempuri.org\",\r\n \"dispositionNotificationTo\": \"http://tempuri.org\",\r\n \"signOutboundMDNIfOptional\": true,\r\n \"mdnText\": \"Sample\",\r\n \"sendInboundMDNToMessageBox\": true,\r\n \"micHashingAlgorithm\": \"MD5\"\r\n },\r\n \"securitySettings\": {\r\n \"overrideGroupSigningCertificate\": false,\r\n \"enableNRRForInboundEncodedMessages\": true,\r\n \"enableNRRForInboundDecodedMessages\": true,\r\n \"enableNRRForOutboundMDN\": true,\r\n \"enableNRRForOutboundEncodedMessages\": true,\r\n \"enableNRRForOutboundDecodedMessages\": true,\r\n \"enableNRRForInboundMDN\": true\r\n },\r\n \"validationSettings\": {\r\n \"overrideMessageProperties\": true,\r\n \"encryptMessage\": false,\r\n \"signMessage\": false,\r\n \"compressMessage\": true,\r\n \"checkDuplicateMessage\": true,\r\n \"interchangeDuplicatesValidityDays\": 100,\r\n \"checkCertificateRevocationListOnSend\": true,\r\n \"checkCertificateRevocationListOnReceive\": true,\r\n \"encryptionAlgorithm\": \"AES128\"\r\n },\r\n \"envelopeSettings\": {\r\n \"messageContentType\": \"text/plain\",\r\n \"transmitFileNameInMimeHeader\": true,\r\n \"fileNameTemplate\": \"Test\",\r\n \"suspendMessageOnFileNameGenerationError\": true,\r\n \"autogenerateFileName\": true\r\n },\r\n \"errorSettings\": {\r\n \"suspendDuplicateMessage\": true,\r\n \"resendIfMDNNotReceived\": true\r\n }\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n }\r\n },\r\n \"sendAgreement\": {\r\n \"protocolSettings\": {\r\n \"messageConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"acknowledgementConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"mdnSettings\": {\r\n \"needMDN\": true,\r\n \"signMDN\": true,\r\n \"sendMDNAsynchronously\": true,\r\n \"receiptDeliveryUrl\": \"http://tempuri.org\",\r\n \"dispositionNotificationTo\": \"http://tempuri.org\",\r\n \"signOutboundMDNIfOptional\": true,\r\n \"mdnText\": \"Sample\",\r\n \"sendInboundMDNToMessageBox\": true,\r\n \"micHashingAlgorithm\": \"MD5\"\r\n },\r\n \"securitySettings\": {\r\n \"overrideGroupSigningCertificate\": false,\r\n \"enableNRRForInboundEncodedMessages\": true,\r\n \"enableNRRForInboundDecodedMessages\": true,\r\n \"enableNRRForOutboundMDN\": true,\r\n \"enableNRRForOutboundEncodedMessages\": true,\r\n \"enableNRRForOutboundDecodedMessages\": true,\r\n \"enableNRRForInboundMDN\": true\r\n },\r\n \"validationSettings\": {\r\n \"overrideMessageProperties\": true,\r\n \"encryptMessage\": false,\r\n \"signMessage\": false,\r\n \"compressMessage\": true,\r\n \"checkDuplicateMessage\": true,\r\n \"interchangeDuplicatesValidityDays\": 100,\r\n \"checkCertificateRevocationListOnSend\": true,\r\n \"checkCertificateRevocationListOnReceive\": true,\r\n \"encryptionAlgorithm\": \"AES128\"\r\n },\r\n \"envelopeSettings\": {\r\n \"messageContentType\": \"text/plain\",\r\n \"transmitFileNameInMimeHeader\": true,\r\n \"fileNameTemplate\": \"Test\",\r\n \"suspendMessageOnFileNameGenerationError\": true,\r\n \"autogenerateFileName\": true\r\n },\r\n \"errorSettings\": {\r\n \"suspendDuplicateMessage\": true,\r\n \"resendIfMDNNotReceived\": true\r\n }\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n }\r\n }\r\n }\r\n },\r\n \"createdTime\": \"2018-09-19T22:52:59.6308601Z\",\r\n \"changedTime\": \"2018-09-19T22:52:59.6309287Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2976/agreements/IntegrationAccountAgreement3732\",\r\n \"name\": \"IntegrationAccountAgreement3732\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/agreements\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2976?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50Mjk3Nj9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "3e61a6ff-61d6-4afe-8441-1c9c87577483" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:00 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:db16b489-5df4-490b-830e-d61f223d3137" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "93c2c7cb-26a2-429c-b256-36dcfaa36991" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225300Z:93c2c7cb-26a2-429c-b256-36dcfaa36991" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "IntegrationAccountAgreements_CreateAs2_OK": [ + "IntegrationAccount2976", + "IntegrationAccountAgreement3732" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAgreementsScenarioTests/IntegrationAccountAgreements_CreateEdifact_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAgreementsScenarioTests/IntegrationAccountAgreements_CreateEdifact_OK.json new file mode 100644 index 0000000000000..aa975729c54a4 --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAgreementsScenarioTests/IntegrationAccountAgreements_CreateEdifact_OK.json @@ -0,0 +1,312 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0fca32f4-b449-47b3-a9ab-70a0d2cb7ff6" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:24 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-request-id": [ + "08355ec2-a6e5-45e0-8a56-14811fefc22e" + ], + "x-ms-correlation-request-id": [ + "08355ec2-a6e5-45e0-8a56-14811fefc22e" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225325Z:08355ec2-a6e5-45e0-8a56-14811fefc22e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0ed510e3-0c8b-46a4-8873-823b676048d1" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:24 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19996" + ], + "x-ms-request-id": [ + "e278d5e1-b784-4b6d-b6a8-3f891abe86c8" + ], + "x-ms-correlation-request-id": [ + "e278d5e1-b784-4b6d-b6a8-3f891abe86c8" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225325Z:e278d5e1-b784-4b6d-b6a8-3f891abe86c8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4150?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NDE1MD9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "2640eb2f-2df2-4e57-bdab-ce2e0bf3de91" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:25 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:0f2666b6-6df5-4cc7-98b6-4dee3a907786" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], + "x-ms-correlation-request-id": [ + "5e1d7e61-f7cf-4d78-a22e-1ec5b5bd96fe" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225325Z:5e1d7e61-f7cf-4d78-a22e-1ec5b5bd96fe" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "307" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4150\",\r\n \"name\": \"IntegrationAccount4150\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4150/agreements/IntegrationAccountAgreement6563?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NDE1MC9hZ3JlZW1lbnRzL0ludGVncmF0aW9uQWNjb3VudEFncmVlbWVudDY1NjM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"agreementType\": \"Edifact\",\r\n \"hostPartner\": \"HostPartner\",\r\n \"guestPartner\": \"GuestPartner\",\r\n \"hostIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"guestIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"content\": {\r\n \"edifact\": {\r\n \"receiveAgreement\": {\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"protocolSettings\": {\r\n \"validationSettings\": {\r\n \"validateCharacterSet\": true,\r\n \"checkDuplicateInterchangeControlNumber\": true,\r\n \"interchangeControlNumberValidityDays\": 30,\r\n \"checkDuplicateGroupControlNumber\": true,\r\n \"checkDuplicateTransactionSetControlNumber\": true,\r\n \"validateEdiTypes\": true,\r\n \"validateXsdTypes\": true,\r\n \"allowLeadingAndTrailingSpacesAndZeroes\": true,\r\n \"trimLeadingAndTrailingSpacesAndZeroes\": true,\r\n \"trailingSeparatorPolicy\": \"Optional\"\r\n },\r\n \"framingSettings\": {\r\n \"characterEncoding\": \"UTF\",\r\n \"protocolVersion\": 4,\r\n \"dataElementSeparator\": 53,\r\n \"componentSeparator\": 58,\r\n \"segmentTerminator\": 39,\r\n \"releaseIndicator\": 63,\r\n \"repetitionSeparator\": 42,\r\n \"characterSet\": \"UNOC\",\r\n \"decimalPointIndicator\": \"Comma\",\r\n \"segmentTerminatorSuffix\": \"None\"\r\n },\r\n \"envelopeSettings\": {\r\n \"groupAssociationAssignedCode\": \"0\",\r\n \"communicationAgreementId\": \"0\",\r\n \"applyDelimiterStringAdvice\": true,\r\n \"createGroupingSegments\": true,\r\n \"enableDefaultGroupHeaders\": true,\r\n \"recipientReferencePasswordValue\": \"AA\",\r\n \"recipientReferencePasswordQualifier\": \"ZZ\",\r\n \"applicationReferenceId\": \"0\",\r\n \"processingPriorityCode\": \"0\",\r\n \"interchangeControlNumberLowerBound\": 1,\r\n \"interchangeControlNumberUpperBound\": 99999999,\r\n \"rolloverInterchangeControlNumber\": true,\r\n \"interchangeControlNumberPrefix\": \"CU\",\r\n \"interchangeControlNumberSuffix\": \"NUM\",\r\n \"functionalGroupId\": \"0\",\r\n \"groupControllingAgencyCode\": \"0\",\r\n \"groupMessageVersion\": \"0.0\",\r\n \"groupMessageRelease\": \"0.0\",\r\n \"groupControlNumberLowerBound\": 1,\r\n \"groupControlNumberUpperBound\": 99999999,\r\n \"rolloverGroupControlNumber\": true,\r\n \"groupControlNumberPrefix\": \"CU\",\r\n \"groupControlNumberSuffix\": \"NUM\",\r\n \"groupApplicationReceiverQualifier\": \"ZZZ\",\r\n \"groupApplicationReceiverId\": \"0\",\r\n \"groupApplicationSenderQualifier\": \"ZZZ\",\r\n \"groupApplicationSenderId\": \"AAA\",\r\n \"groupApplicationPassword\": \"0\",\r\n \"overwriteExistingTransactionSetControlNumber\": true,\r\n \"transactionSetControlNumberPrefix\": \"\",\r\n \"transactionSetControlNumberSuffix\": \"\",\r\n \"transactionSetControlNumberLowerBound\": 1,\r\n \"transactionSetControlNumberUpperBound\": 99999999,\r\n \"rolloverTransactionSetControlNumber\": true,\r\n \"isTestInterchange\": true,\r\n \"senderInternalIdentification\": \"AA\",\r\n \"senderInternalSubIdentification\": \"AA\",\r\n \"receiverInternalIdentification\": \"0\",\r\n \"receiverInternalSubIdentification\": \"0\"\r\n },\r\n \"acknowledgementSettings\": {\r\n \"needTechnicalAcknowledgement\": true,\r\n \"batchTechnicalAcknowledgements\": true,\r\n \"needFunctionalAcknowledgement\": false,\r\n \"batchFunctionalAcknowledgements\": true,\r\n \"needLoopForValidMessages\": false,\r\n \"sendSynchronousAcknowledgement\": true,\r\n \"acknowledgementControlNumberPrefix\": \"\",\r\n \"acknowledgementControlNumberSuffix\": \"\",\r\n \"acknowledgementControlNumberLowerBound\": 1,\r\n \"acknowledgementControlNumberUpperBound\": 99999999,\r\n \"rolloverAcknowledgementControlNumber\": true\r\n },\r\n \"messageFilter\": {\r\n \"messageFilterType\": \"Exclude\"\r\n },\r\n \"processingSettings\": {\r\n \"maskSecurityInfo\": true,\r\n \"preserveInterchange\": true,\r\n \"suspendInterchangeOnError\": true,\r\n \"createEmptyXmlTagsForTrailingSeparators\": true,\r\n \"useDotAsDecimalSeparator\": true\r\n },\r\n \"schemaReferences\": []\r\n }\r\n },\r\n \"sendAgreement\": {\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"protocolSettings\": {\r\n \"validationSettings\": {\r\n \"validateCharacterSet\": true,\r\n \"checkDuplicateInterchangeControlNumber\": true,\r\n \"interchangeControlNumberValidityDays\": 30,\r\n \"checkDuplicateGroupControlNumber\": true,\r\n \"checkDuplicateTransactionSetControlNumber\": true,\r\n \"validateEdiTypes\": true,\r\n \"validateXsdTypes\": true,\r\n \"allowLeadingAndTrailingSpacesAndZeroes\": true,\r\n \"trimLeadingAndTrailingSpacesAndZeroes\": true,\r\n \"trailingSeparatorPolicy\": \"Optional\"\r\n },\r\n \"framingSettings\": {\r\n \"characterEncoding\": \"UTF\",\r\n \"protocolVersion\": 4,\r\n \"dataElementSeparator\": 53,\r\n \"componentSeparator\": 58,\r\n \"segmentTerminator\": 39,\r\n \"releaseIndicator\": 63,\r\n \"repetitionSeparator\": 42,\r\n \"characterSet\": \"UNOC\",\r\n \"decimalPointIndicator\": \"Comma\",\r\n \"segmentTerminatorSuffix\": \"None\"\r\n },\r\n \"envelopeSettings\": {\r\n \"groupAssociationAssignedCode\": \"0\",\r\n \"communicationAgreementId\": \"0\",\r\n \"applyDelimiterStringAdvice\": true,\r\n \"createGroupingSegments\": true,\r\n \"enableDefaultGroupHeaders\": true,\r\n \"recipientReferencePasswordValue\": \"AA\",\r\n \"recipientReferencePasswordQualifier\": \"ZZ\",\r\n \"applicationReferenceId\": \"0\",\r\n \"processingPriorityCode\": \"0\",\r\n \"interchangeControlNumberLowerBound\": 1,\r\n \"interchangeControlNumberUpperBound\": 999999999,\r\n \"rolloverInterchangeControlNumber\": true,\r\n \"interchangeControlNumberPrefix\": \"CU\",\r\n \"interchangeControlNumberSuffix\": \"NUM\",\r\n \"functionalGroupId\": \"0\",\r\n \"groupControllingAgencyCode\": \"0\",\r\n \"groupMessageVersion\": \"0.0\",\r\n \"groupMessageRelease\": \"0.0\",\r\n \"groupControlNumberLowerBound\": 1,\r\n \"groupControlNumberUpperBound\": 999999999,\r\n \"rolloverGroupControlNumber\": true,\r\n \"groupControlNumberPrefix\": \"\",\r\n \"groupControlNumberSuffix\": \"\",\r\n \"groupApplicationReceiverQualifier\": \"ZZ\",\r\n \"groupApplicationReceiverId\": \"0\",\r\n \"groupApplicationSenderQualifier\": \"ZZ\",\r\n \"groupApplicationSenderId\": \"AA\",\r\n \"groupApplicationPassword\": \"0\",\r\n \"overwriteExistingTransactionSetControlNumber\": true,\r\n \"transactionSetControlNumberPrefix\": \"\",\r\n \"transactionSetControlNumberSuffix\": \"\",\r\n \"transactionSetControlNumberLowerBound\": 1,\r\n \"transactionSetControlNumberUpperBound\": 999999999,\r\n \"rolloverTransactionSetControlNumber\": true,\r\n \"isTestInterchange\": true,\r\n \"senderInternalIdentification\": \"AA\",\r\n \"senderInternalSubIdentification\": \"AA\",\r\n \"receiverInternalIdentification\": \"0\",\r\n \"receiverInternalSubIdentification\": \"0\"\r\n },\r\n \"acknowledgementSettings\": {\r\n \"needTechnicalAcknowledgement\": true,\r\n \"batchTechnicalAcknowledgements\": true,\r\n \"needFunctionalAcknowledgement\": true,\r\n \"batchFunctionalAcknowledgements\": true,\r\n \"needLoopForValidMessages\": true,\r\n \"sendSynchronousAcknowledgement\": true,\r\n \"acknowledgementControlNumberPrefix\": \"CN\",\r\n \"acknowledgementControlNumberSuffix\": \"NUM\",\r\n \"acknowledgementControlNumberLowerBound\": 1,\r\n \"acknowledgementControlNumberUpperBound\": 999999999,\r\n \"rolloverAcknowledgementControlNumber\": true\r\n },\r\n \"messageFilter\": {\r\n \"messageFilterType\": \"Exclude\"\r\n },\r\n \"processingSettings\": {\r\n \"maskSecurityInfo\": true,\r\n \"preserveInterchange\": true,\r\n \"suspendInterchangeOnError\": true,\r\n \"createEmptyXmlTagsForTrailingSeparators\": true,\r\n \"useDotAsDecimalSeparator\": true\r\n },\r\n \"schemaReferences\": []\r\n }\r\n }\r\n }\r\n }\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "04329653-1ff5-4c80-89a7-f2f40711f4f9" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "9591" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:25 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:b47a6850-7053-4443-86c8-0b11a70d716e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1193" + ], + "x-ms-correlation-request-id": [ + "86f3a670-ffad-4006-8851-2a422174958c" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225326Z:86f3a670-ffad-4006-8851-2a422174958c" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "6573" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"hostPartner\": \"HostPartner\",\r\n \"guestPartner\": \"GuestPartner\",\r\n \"hostIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"guestIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"agreementType\": \"EDIFACT\",\r\n \"content\": {\r\n \"edifact\": {\r\n \"receiveAgreement\": {\r\n \"protocolSettings\": {\r\n \"validationSettings\": {\r\n \"validateCharacterSet\": true,\r\n \"checkDuplicateInterchangeControlNumber\": true,\r\n \"interchangeControlNumberValidityDays\": 30,\r\n \"checkDuplicateGroupControlNumber\": true,\r\n \"checkDuplicateTransactionSetControlNumber\": true,\r\n \"validateEDITypes\": true,\r\n \"validateXSDTypes\": true,\r\n \"trimLeadingAndTrailingSpacesAndZeroes\": true,\r\n \"allowLeadingAndTrailingSpacesAndZeroes\": true,\r\n \"trailingSeparatorPolicy\": \"Optional\"\r\n },\r\n \"framingSettings\": {\r\n \"characterEncoding\": \"UTF\",\r\n \"protocolVersion\": 4,\r\n \"dataElementSeparator\": 53,\r\n \"componentSeparator\": 58,\r\n \"segmentTerminator\": 39,\r\n \"releaseIndicator\": 63,\r\n \"repetitionSeparator\": 42,\r\n \"characterSet\": \"UNOC\",\r\n \"decimalPointIndicator\": \"Comma\",\r\n \"segmentTerminatorSuffix\": \"None\"\r\n },\r\n \"envelopeSettings\": {\r\n \"groupAssociationAssignedCode\": \"0\",\r\n \"communicationAgreementId\": \"0\",\r\n \"applyDelimiterStringAdvice\": true,\r\n \"createGroupingSegments\": true,\r\n \"enableDefaultGroupHeaders\": true,\r\n \"recipientReferencePasswordValue\": \"AA\",\r\n \"recipientReferencePasswordQualifier\": \"ZZ\",\r\n \"applicationReferenceId\": \"0\",\r\n \"processingPriorityCode\": \"0\",\r\n \"interchangeControlNumberLowerBound\": 1,\r\n \"interchangeControlNumberUpperBound\": 99999999,\r\n \"rolloverInterchangeControlNumber\": true,\r\n \"interchangeControlNumberPrefix\": \"CU\",\r\n \"interchangeControlNumberSuffix\": \"NUM\",\r\n \"functionalGroupId\": \"0\",\r\n \"groupControllingAgencyCode\": \"0\",\r\n \"groupMessageVersion\": \"0.0\",\r\n \"groupMessageRelease\": \"0.0\",\r\n \"groupControlNumberLowerBound\": 1,\r\n \"groupControlNumberUpperBound\": 99999999,\r\n \"rolloverGroupControlNumber\": true,\r\n \"groupControlNumberPrefix\": \"CU\",\r\n \"groupControlNumberSuffix\": \"NUM\",\r\n \"groupApplicationReceiverQualifier\": \"ZZZ\",\r\n \"groupApplicationReceiverId\": \"0\",\r\n \"groupApplicationSenderQualifier\": \"ZZZ\",\r\n \"groupApplicationSenderId\": \"AAA\",\r\n \"groupApplicationPassword\": \"0\",\r\n \"overwriteExistingTransactionSetControlNumber\": true,\r\n \"transactionSetControlNumberPrefix\": \"\",\r\n \"transactionSetControlNumberSuffix\": \"\",\r\n \"transactionSetControlNumberLowerBound\": 1,\r\n \"transactionSetControlNumberUpperBound\": 99999999,\r\n \"rolloverTransactionSetControlNumber\": true,\r\n \"isTestInterchange\": true,\r\n \"senderInternalIdentification\": \"AA\",\r\n \"senderInternalSubIdentification\": \"AA\",\r\n \"receiverInternalIdentification\": \"0\",\r\n \"receiverInternalSubIdentification\": \"0\"\r\n },\r\n \"acknowledgementSettings\": {\r\n \"needTechnicalAcknowledgement\": true,\r\n \"batchTechnicalAcknowledgements\": true,\r\n \"needFunctionalAcknowledgement\": false,\r\n \"batchFunctionalAcknowledgements\": true,\r\n \"needLoopForValidMessages\": false,\r\n \"sendSynchronousAcknowledgement\": true,\r\n \"acknowledgementControlNumberPrefix\": \"\",\r\n \"acknowledgementControlNumberSuffix\": \"\",\r\n \"acknowledgementControlNumberLowerBound\": 1,\r\n \"acknowledgementControlNumberUpperBound\": 99999999,\r\n \"rolloverAcknowledgementControlNumber\": true\r\n },\r\n \"messageFilter\": {\r\n \"messageFilterType\": \"Exclude\"\r\n },\r\n \"processingSettings\": {\r\n \"maskSecurityInfo\": true,\r\n \"preserveInterchange\": true,\r\n \"suspendInterchangeOnError\": true,\r\n \"createEmptyXmlTagsForTrailingSeparators\": true,\r\n \"useDotAsDecimalSeparator\": true\r\n },\r\n \"schemaReferences\": []\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n }\r\n },\r\n \"sendAgreement\": {\r\n \"protocolSettings\": {\r\n \"validationSettings\": {\r\n \"validateCharacterSet\": true,\r\n \"checkDuplicateInterchangeControlNumber\": true,\r\n \"interchangeControlNumberValidityDays\": 30,\r\n \"checkDuplicateGroupControlNumber\": true,\r\n \"checkDuplicateTransactionSetControlNumber\": true,\r\n \"validateEDITypes\": true,\r\n \"validateXSDTypes\": true,\r\n \"trimLeadingAndTrailingSpacesAndZeroes\": true,\r\n \"allowLeadingAndTrailingSpacesAndZeroes\": true,\r\n \"trailingSeparatorPolicy\": \"Optional\"\r\n },\r\n \"framingSettings\": {\r\n \"characterEncoding\": \"UTF\",\r\n \"protocolVersion\": 4,\r\n \"dataElementSeparator\": 53,\r\n \"componentSeparator\": 58,\r\n \"segmentTerminator\": 39,\r\n \"releaseIndicator\": 63,\r\n \"repetitionSeparator\": 42,\r\n \"characterSet\": \"UNOC\",\r\n \"decimalPointIndicator\": \"Comma\",\r\n \"segmentTerminatorSuffix\": \"None\"\r\n },\r\n \"envelopeSettings\": {\r\n \"groupAssociationAssignedCode\": \"0\",\r\n \"communicationAgreementId\": \"0\",\r\n \"applyDelimiterStringAdvice\": true,\r\n \"createGroupingSegments\": true,\r\n \"enableDefaultGroupHeaders\": true,\r\n \"recipientReferencePasswordValue\": \"AA\",\r\n \"recipientReferencePasswordQualifier\": \"ZZ\",\r\n \"applicationReferenceId\": \"0\",\r\n \"processingPriorityCode\": \"0\",\r\n \"interchangeControlNumberLowerBound\": 1,\r\n \"interchangeControlNumberUpperBound\": 999999999,\r\n \"rolloverInterchangeControlNumber\": true,\r\n \"interchangeControlNumberPrefix\": \"CU\",\r\n \"interchangeControlNumberSuffix\": \"NUM\",\r\n \"functionalGroupId\": \"0\",\r\n \"groupControllingAgencyCode\": \"0\",\r\n \"groupMessageVersion\": \"0.0\",\r\n \"groupMessageRelease\": \"0.0\",\r\n \"groupControlNumberLowerBound\": 1,\r\n \"groupControlNumberUpperBound\": 999999999,\r\n \"rolloverGroupControlNumber\": true,\r\n \"groupControlNumberPrefix\": \"\",\r\n \"groupControlNumberSuffix\": \"\",\r\n \"groupApplicationReceiverQualifier\": \"ZZ\",\r\n \"groupApplicationReceiverId\": \"0\",\r\n \"groupApplicationSenderQualifier\": \"ZZ\",\r\n \"groupApplicationSenderId\": \"AA\",\r\n \"groupApplicationPassword\": \"0\",\r\n \"overwriteExistingTransactionSetControlNumber\": true,\r\n \"transactionSetControlNumberPrefix\": \"\",\r\n \"transactionSetControlNumberSuffix\": \"\",\r\n \"transactionSetControlNumberLowerBound\": 1,\r\n \"transactionSetControlNumberUpperBound\": 999999999,\r\n \"rolloverTransactionSetControlNumber\": true,\r\n \"isTestInterchange\": true,\r\n \"senderInternalIdentification\": \"AA\",\r\n \"senderInternalSubIdentification\": \"AA\",\r\n \"receiverInternalIdentification\": \"0\",\r\n \"receiverInternalSubIdentification\": \"0\"\r\n },\r\n \"acknowledgementSettings\": {\r\n \"needTechnicalAcknowledgement\": true,\r\n \"batchTechnicalAcknowledgements\": true,\r\n \"needFunctionalAcknowledgement\": true,\r\n \"batchFunctionalAcknowledgements\": true,\r\n \"needLoopForValidMessages\": true,\r\n \"sendSynchronousAcknowledgement\": true,\r\n \"acknowledgementControlNumberPrefix\": \"CN\",\r\n \"acknowledgementControlNumberSuffix\": \"NUM\",\r\n \"acknowledgementControlNumberLowerBound\": 1,\r\n \"acknowledgementControlNumberUpperBound\": 999999999,\r\n \"rolloverAcknowledgementControlNumber\": true\r\n },\r\n \"messageFilter\": {\r\n \"messageFilterType\": \"Exclude\"\r\n },\r\n \"processingSettings\": {\r\n \"maskSecurityInfo\": true,\r\n \"preserveInterchange\": true,\r\n \"suspendInterchangeOnError\": true,\r\n \"createEmptyXmlTagsForTrailingSeparators\": true,\r\n \"useDotAsDecimalSeparator\": true\r\n },\r\n \"schemaReferences\": []\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n }\r\n }\r\n }\r\n },\r\n \"createdTime\": \"2018-09-19T22:53:26.4363818Z\",\r\n \"changedTime\": \"2018-09-19T22:53:26.4371443Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4150/agreements/IntegrationAccountAgreement6563\",\r\n \"name\": \"IntegrationAccountAgreement6563\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/agreements\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4150?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NDE1MD9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "239a3317-5848-4601-b29f-5282c132e9c2" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:26 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:1072bd1f-d29c-4db7-bd9c-3aef99c4a3fc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14996" + ], + "x-ms-correlation-request-id": [ + "4fb9696f-b7e6-4dad-8d41-989ef4134097" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225327Z:4fb9696f-b7e6-4dad-8d41-989ef4134097" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "IntegrationAccountAgreements_CreateEdifact_OK": [ + "IntegrationAccount4150", + "IntegrationAccountAgreement6563" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAgreementsScenarioTests/IntegrationAccountAgreements_CreateWithEnvelopeOverride_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAgreementsScenarioTests/IntegrationAccountAgreements_CreateWithEnvelopeOverride_OK.json new file mode 100644 index 0000000000000..d00fcd9afe7a7 --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAgreementsScenarioTests/IntegrationAccountAgreements_CreateWithEnvelopeOverride_OK.json @@ -0,0 +1,373 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "c614d033-2c1e-4947-84cb-d60ad6ce8aa7" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:15 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11990" + ], + "x-ms-request-id": [ + "5297f24c-7344-4466-bdea-7b09f39fec0c" + ], + "x-ms-correlation-request-id": [ + "5297f24c-7344-4466-bdea-7b09f39fec0c" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225316Z:5297f24c-7344-4466-bdea-7b09f39fec0c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "26b8bf73-f1c3-4477-9938-72fa155f8935" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:15 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19998" + ], + "x-ms-request-id": [ + "6ac2352a-1da8-46d6-a55e-1bbc67bb2a7e" + ], + "x-ms-correlation-request-id": [ + "6ac2352a-1da8-46d6-a55e-1bbc67bb2a7e" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225316Z:6ac2352a-1da8-46d6-a55e-1bbc67bb2a7e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount871?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50ODcxP2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "83a75da3-312f-4ef3-9d99-e7f05031c0a1" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:16 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:86ed65e5-1a4c-4765-bc96-39e3028752d1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "6b0184f4-7334-4d3e-8f76-218046e5e99d" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225317Z:6b0184f4-7334-4d3e-8f76-218046e5e99d" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "305" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount871\",\r\n \"name\": \"IntegrationAccount871\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount871/agreements/IntegrationAccountAgreement4583?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50ODcxL2FncmVlbWVudHMvSW50ZWdyYXRpb25BY2NvdW50QWdyZWVtZW50NDU4Mz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"agreementType\": \"X12\",\r\n \"hostPartner\": \"HostPartner\",\r\n \"guestPartner\": \"GuestPartner\",\r\n \"hostIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"guestIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"content\": {\r\n \"x12\": {\r\n \"receiveAgreement\": {\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"protocolSettings\": {\r\n \"validationSettings\": {\r\n \"validateCharacterSet\": true,\r\n \"checkDuplicateInterchangeControlNumber\": false,\r\n \"interchangeControlNumberValidityDays\": 30,\r\n \"checkDuplicateGroupControlNumber\": false,\r\n \"checkDuplicateTransactionSetControlNumber\": false,\r\n \"validateEdiTypes\": true,\r\n \"validateXsdTypes\": false,\r\n \"allowLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trimLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trailingSeparatorPolicy\": \"NotAllowed\"\r\n },\r\n \"framingSettings\": {\r\n \"dataElementSeparator\": 42,\r\n \"componentSeparator\": 58,\r\n \"replaceSeparatorsInPayload\": false,\r\n \"replaceCharacter\": 36,\r\n \"segmentTerminator\": 126,\r\n \"characterSet\": \"UTF8\",\r\n \"segmentTerminatorSuffix\": \"None\"\r\n },\r\n \"envelopeSettings\": {\r\n \"controlStandardsId\": 85,\r\n \"useControlStandardsIdAsRepetitionCharacter\": false,\r\n \"senderApplicationId\": \"BTS-SENDER\",\r\n \"receiverApplicationId\": \"RECEIVE-APP\",\r\n \"controlVersionNumber\": \"00401\",\r\n \"interchangeControlNumberLowerBound\": 1,\r\n \"interchangeControlNumberUpperBound\": 999999999,\r\n \"rolloverInterchangeControlNumber\": true,\r\n \"enableDefaultGroupHeaders\": true,\r\n \"groupControlNumberLowerBound\": 1,\r\n \"groupControlNumberUpperBound\": 999999999,\r\n \"rolloverGroupControlNumber\": true,\r\n \"groupHeaderAgencyCode\": \"T\",\r\n \"groupHeaderVersion\": \"00401\",\r\n \"transactionSetControlNumberLowerBound\": 1,\r\n \"transactionSetControlNumberUpperBound\": 999999999,\r\n \"rolloverTransactionSetControlNumber\": true,\r\n \"overwriteExistingTransactionSetControlNumber\": true,\r\n \"groupHeaderDateFormat\": \"CCYYMMDD\",\r\n \"groupHeaderTimeFormat\": \"HHMM\",\r\n \"usageIndicator\": \"Test\"\r\n },\r\n \"acknowledgementSettings\": {\r\n \"needTechnicalAcknowledgement\": false,\r\n \"batchTechnicalAcknowledgements\": true,\r\n \"needFunctionalAcknowledgement\": false,\r\n \"batchFunctionalAcknowledgements\": true,\r\n \"needImplementationAcknowledgement\": false,\r\n \"batchImplementationAcknowledgements\": false,\r\n \"needLoopForValidMessages\": false,\r\n \"sendSynchronousAcknowledgement\": true,\r\n \"acknowledgementControlNumberLowerBound\": 1,\r\n \"acknowledgementControlNumberUpperBound\": 999999999,\r\n \"rolloverAcknowledgementControlNumber\": true\r\n },\r\n \"messageFilter\": {\r\n \"messageFilterType\": \"Exclude\"\r\n },\r\n \"securitySettings\": {\r\n \"authorizationQualifier\": \"00\",\r\n \"securityQualifier\": \"00\"\r\n },\r\n \"processingSettings\": {\r\n \"maskSecurityInfo\": true,\r\n \"convertImpliedDecimal\": true,\r\n \"preserveInterchange\": true,\r\n \"suspendInterchangeOnError\": true,\r\n \"createEmptyXmlTagsForTrailingSeparators\": true,\r\n \"useDotAsDecimalSeparator\": true\r\n },\r\n \"envelopeOverrides\": [\r\n {\r\n \"targetNamespace\": \"http://tempuri.org\",\r\n \"protocolVersion\": \"1\",\r\n \"messageId\": \"100\",\r\n \"responsibleAgencyCode\": \"X\",\r\n \"headerVersion\": \"1\",\r\n \"senderApplicationId\": \"89459\",\r\n \"receiverApplicationId\": \"93494\",\r\n \"functionalIdentifierCode\": \"x\",\r\n \"dateFormat\": \"CCYYMMDD\",\r\n \"timeFormat\": \"HHMM\"\r\n }\r\n ],\r\n \"schemaReferences\": []\r\n }\r\n },\r\n \"sendAgreement\": {\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"protocolSettings\": {\r\n \"validationSettings\": {\r\n \"validateCharacterSet\": true,\r\n \"checkDuplicateInterchangeControlNumber\": false,\r\n \"interchangeControlNumberValidityDays\": 30,\r\n \"checkDuplicateGroupControlNumber\": false,\r\n \"checkDuplicateTransactionSetControlNumber\": false,\r\n \"validateEdiTypes\": true,\r\n \"validateXsdTypes\": false,\r\n \"allowLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trimLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trailingSeparatorPolicy\": \"NotAllowed\"\r\n },\r\n \"framingSettings\": {\r\n \"dataElementSeparator\": 42,\r\n \"componentSeparator\": 58,\r\n \"replaceSeparatorsInPayload\": false,\r\n \"replaceCharacter\": 36,\r\n \"segmentTerminator\": 126,\r\n \"characterSet\": \"UTF8\",\r\n \"segmentTerminatorSuffix\": \"None\"\r\n },\r\n \"envelopeSettings\": {\r\n \"controlStandardsId\": 100,\r\n \"useControlStandardsIdAsRepetitionCharacter\": true,\r\n \"senderApplicationId\": \"100\",\r\n \"receiverApplicationId\": \"100\",\r\n \"controlVersionNumber\": \"0.0\",\r\n \"interchangeControlNumberLowerBound\": 1,\r\n \"interchangeControlNumberUpperBound\": 999999999,\r\n \"rolloverInterchangeControlNumber\": true,\r\n \"enableDefaultGroupHeaders\": true,\r\n \"functionalGroupId\": \"1\",\r\n \"groupControlNumberLowerBound\": 1,\r\n \"groupControlNumberUpperBound\": 999999999,\r\n \"rolloverGroupControlNumber\": true,\r\n \"groupHeaderAgencyCode\": \"T\",\r\n \"groupHeaderVersion\": \"0.0\",\r\n \"transactionSetControlNumberLowerBound\": 1,\r\n \"transactionSetControlNumberUpperBound\": 999999999,\r\n \"rolloverTransactionSetControlNumber\": true,\r\n \"transactionSetControlNumberPrefix\": \"\",\r\n \"transactionSetControlNumberSuffix\": \"\",\r\n \"overwriteExistingTransactionSetControlNumber\": true,\r\n \"groupHeaderDateFormat\": \"CCYYMMDD\",\r\n \"groupHeaderTimeFormat\": \"HHMM\",\r\n \"usageIndicator\": \"Information\"\r\n },\r\n \"acknowledgementSettings\": {\r\n \"needTechnicalAcknowledgement\": false,\r\n \"batchTechnicalAcknowledgements\": true,\r\n \"needFunctionalAcknowledgement\": false,\r\n \"batchFunctionalAcknowledgements\": true,\r\n \"needImplementationAcknowledgement\": false,\r\n \"batchImplementationAcknowledgements\": false,\r\n \"needLoopForValidMessages\": false,\r\n \"sendSynchronousAcknowledgement\": true,\r\n \"acknowledgementControlNumberLowerBound\": 1,\r\n \"acknowledgementControlNumberUpperBound\": 999999999,\r\n \"rolloverAcknowledgementControlNumber\": true\r\n },\r\n \"messageFilter\": {\r\n \"messageFilterType\": \"Exclude\"\r\n },\r\n \"securitySettings\": {\r\n \"authorizationQualifier\": \"00\",\r\n \"securityQualifier\": \"00\"\r\n },\r\n \"processingSettings\": {\r\n \"maskSecurityInfo\": true,\r\n \"convertImpliedDecimal\": true,\r\n \"preserveInterchange\": true,\r\n \"suspendInterchangeOnError\": true,\r\n \"createEmptyXmlTagsForTrailingSeparators\": true,\r\n \"useDotAsDecimalSeparator\": true\r\n },\r\n \"schemaReferences\": []\r\n }\r\n }\r\n }\r\n }\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "b1d4c7e7-0796-48eb-aea2-3fa89d940424" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "8558" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:17 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:d00389e9-e736-4676-af1d-c93d30e1e0b5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "a49f350c-8a36-437d-8592-3673b3274672" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225317Z:a49f350c-8a36-437d-8592-3673b3274672" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "5790" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"hostPartner\": \"HostPartner\",\r\n \"guestPartner\": \"GuestPartner\",\r\n \"hostIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"guestIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"agreementType\": \"X12\",\r\n \"content\": {\r\n \"x12\": {\r\n \"receiveAgreement\": {\r\n \"protocolSettings\": {\r\n \"validationSettings\": {\r\n \"validateCharacterSet\": true,\r\n \"checkDuplicateInterchangeControlNumber\": false,\r\n \"interchangeControlNumberValidityDays\": 30,\r\n \"checkDuplicateGroupControlNumber\": false,\r\n \"checkDuplicateTransactionSetControlNumber\": false,\r\n \"validateEDITypes\": true,\r\n \"validateXSDTypes\": false,\r\n \"allowLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trimLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trailingSeparatorPolicy\": \"NotAllowed\"\r\n },\r\n \"framingSettings\": {\r\n \"dataElementSeparator\": 42,\r\n \"componentSeparator\": 58,\r\n \"replaceSeparatorsInPayload\": false,\r\n \"replaceCharacter\": 36,\r\n \"segmentTerminator\": 126,\r\n \"characterSet\": \"UTF8\",\r\n \"segmentTerminatorSuffix\": \"None\"\r\n },\r\n \"envelopeSettings\": {\r\n \"controlStandardsId\": 85,\r\n \"useControlStandardsIdAsRepetitionCharacter\": false,\r\n \"senderApplicationId\": \"BTS-SENDER\",\r\n \"receiverApplicationId\": \"RECEIVE-APP\",\r\n \"controlVersionNumber\": \"00401\",\r\n \"interchangeControlNumberLowerBound\": 1,\r\n \"interchangeControlNumberUpperBound\": 999999999,\r\n \"rolloverInterchangeControlNumber\": true,\r\n \"enableDefaultGroupHeaders\": true,\r\n \"groupControlNumberLowerBound\": 1,\r\n \"groupControlNumberUpperBound\": 999999999,\r\n \"rolloverGroupControlNumber\": true,\r\n \"groupHeaderAgencyCode\": \"T\",\r\n \"groupHeaderVersion\": \"00401\",\r\n \"transactionSetControlNumberLowerBound\": 1,\r\n \"transactionSetControlNumberUpperBound\": 999999999,\r\n \"rolloverTransactionSetControlNumber\": true,\r\n \"overwriteExistingTransactionSetControlNumber\": true,\r\n \"groupHeaderDateFormat\": \"CCYYMMDD\",\r\n \"groupHeaderTimeFormat\": \"HHMM\",\r\n \"usageIndicator\": \"Test\"\r\n },\r\n \"acknowledgementSettings\": {\r\n \"needTechnicalAcknowledgement\": false,\r\n \"batchTechnicalAcknowledgements\": true,\r\n \"needFunctionalAcknowledgement\": false,\r\n \"batchFunctionalAcknowledgements\": true,\r\n \"needImplementationAcknowledgement\": false,\r\n \"batchImplementationAcknowledgements\": false,\r\n \"needLoopForValidMessages\": false,\r\n \"sendSynchronousAcknowledgement\": true,\r\n \"acknowledgementControlNumberLowerBound\": 1,\r\n \"acknowledgementControlNumberUpperBound\": 999999999,\r\n \"rolloverAcknowledgementControlNumber\": true\r\n },\r\n \"messageFilter\": {\r\n \"messageFilterType\": \"Exclude\"\r\n },\r\n \"securitySettings\": {\r\n \"authorizationQualifier\": \"00\",\r\n \"securityQualifier\": \"00\"\r\n },\r\n \"processingSettings\": {\r\n \"maskSecurityInfo\": true,\r\n \"convertImpliedDecimal\": true,\r\n \"preserveInterchange\": true,\r\n \"suspendInterchangeOnError\": true,\r\n \"createEmptyXmlTagsForTrailingSeparators\": true,\r\n \"useDotAsDecimalSeparator\": true\r\n },\r\n \"envelopeOverrides\": [\r\n {\r\n \"targetNamespace\": \"http://tempuri.org\",\r\n \"protocolVersion\": \"1\",\r\n \"messageId\": \"100\",\r\n \"responsibleAgencyCode\": \"X\",\r\n \"headerVersion\": \"1\",\r\n \"senderApplicationId\": \"89459\",\r\n \"receiverApplicationId\": \"93494\",\r\n \"functionalIdentifierCode\": \"x\",\r\n \"dateFormat\": \"CCYYMMDD\",\r\n \"timeFormat\": \"HHMM\"\r\n }\r\n ],\r\n \"schemaReferences\": []\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n }\r\n },\r\n \"sendAgreement\": {\r\n \"protocolSettings\": {\r\n \"validationSettings\": {\r\n \"validateCharacterSet\": true,\r\n \"checkDuplicateInterchangeControlNumber\": false,\r\n \"interchangeControlNumberValidityDays\": 30,\r\n \"checkDuplicateGroupControlNumber\": false,\r\n \"checkDuplicateTransactionSetControlNumber\": false,\r\n \"validateEDITypes\": true,\r\n \"validateXSDTypes\": false,\r\n \"allowLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trimLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trailingSeparatorPolicy\": \"NotAllowed\"\r\n },\r\n \"framingSettings\": {\r\n \"dataElementSeparator\": 42,\r\n \"componentSeparator\": 58,\r\n \"replaceSeparatorsInPayload\": false,\r\n \"replaceCharacter\": 36,\r\n \"segmentTerminator\": 126,\r\n \"characterSet\": \"UTF8\",\r\n \"segmentTerminatorSuffix\": \"None\"\r\n },\r\n \"envelopeSettings\": {\r\n \"controlStandardsId\": 100,\r\n \"useControlStandardsIdAsRepetitionCharacter\": true,\r\n \"senderApplicationId\": \"100\",\r\n \"receiverApplicationId\": \"100\",\r\n \"controlVersionNumber\": \"0.0\",\r\n \"interchangeControlNumberLowerBound\": 1,\r\n \"interchangeControlNumberUpperBound\": 999999999,\r\n \"rolloverInterchangeControlNumber\": true,\r\n \"enableDefaultGroupHeaders\": true,\r\n \"functionalGroupId\": \"1\",\r\n \"groupControlNumberLowerBound\": 1,\r\n \"groupControlNumberUpperBound\": 999999999,\r\n \"rolloverGroupControlNumber\": true,\r\n \"groupHeaderAgencyCode\": \"T\",\r\n \"groupHeaderVersion\": \"0.0\",\r\n \"transactionSetControlNumberLowerBound\": 1,\r\n \"transactionSetControlNumberUpperBound\": 999999999,\r\n \"rolloverTransactionSetControlNumber\": true,\r\n \"transactionSetControlNumberPrefix\": \"\",\r\n \"transactionSetControlNumberSuffix\": \"\",\r\n \"overwriteExistingTransactionSetControlNumber\": true,\r\n \"groupHeaderDateFormat\": \"CCYYMMDD\",\r\n \"groupHeaderTimeFormat\": \"HHMM\",\r\n \"usageIndicator\": \"Information\"\r\n },\r\n \"acknowledgementSettings\": {\r\n \"needTechnicalAcknowledgement\": false,\r\n \"batchTechnicalAcknowledgements\": true,\r\n \"needFunctionalAcknowledgement\": false,\r\n \"batchFunctionalAcknowledgements\": true,\r\n \"needImplementationAcknowledgement\": false,\r\n \"batchImplementationAcknowledgements\": false,\r\n \"needLoopForValidMessages\": false,\r\n \"sendSynchronousAcknowledgement\": true,\r\n \"acknowledgementControlNumberLowerBound\": 1,\r\n \"acknowledgementControlNumberUpperBound\": 999999999,\r\n \"rolloverAcknowledgementControlNumber\": true\r\n },\r\n \"messageFilter\": {\r\n \"messageFilterType\": \"Exclude\"\r\n },\r\n \"securitySettings\": {\r\n \"authorizationQualifier\": \"00\",\r\n \"securityQualifier\": \"00\"\r\n },\r\n \"processingSettings\": {\r\n \"maskSecurityInfo\": true,\r\n \"convertImpliedDecimal\": true,\r\n \"preserveInterchange\": true,\r\n \"suspendInterchangeOnError\": true,\r\n \"createEmptyXmlTagsForTrailingSeparators\": true,\r\n \"useDotAsDecimalSeparator\": true\r\n },\r\n \"schemaReferences\": []\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n }\r\n }\r\n }\r\n },\r\n \"createdTime\": \"2018-09-19T22:53:17.8381175Z\",\r\n \"changedTime\": \"2018-09-19T22:53:17.839079Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount871/agreements/IntegrationAccountAgreement4583\",\r\n \"name\": \"IntegrationAccountAgreement4583\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/agreements\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount871/agreements/IntegrationAccountAgreement4583?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50ODcxL2FncmVlbWVudHMvSW50ZWdyYXRpb25BY2NvdW50QWdyZWVtZW50NDU4Mz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "bfe73756-b15e-4e9a-a143-c3ce0d2d9b47" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:17 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:21866c69-a8b5-4650-b03c-6c729b269e00" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11989" + ], + "x-ms-correlation-request-id": [ + "506215e3-fc1a-478e-9107-d2905a90a9d7" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225318Z:506215e3-fc1a-478e-9107-d2905a90a9d7" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "5790" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"hostPartner\": \"HostPartner\",\r\n \"guestPartner\": \"GuestPartner\",\r\n \"hostIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"guestIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"agreementType\": \"X12\",\r\n \"content\": {\r\n \"x12\": {\r\n \"receiveAgreement\": {\r\n \"protocolSettings\": {\r\n \"validationSettings\": {\r\n \"validateCharacterSet\": true,\r\n \"checkDuplicateInterchangeControlNumber\": false,\r\n \"interchangeControlNumberValidityDays\": 30,\r\n \"checkDuplicateGroupControlNumber\": false,\r\n \"checkDuplicateTransactionSetControlNumber\": false,\r\n \"validateEDITypes\": true,\r\n \"validateXSDTypes\": false,\r\n \"allowLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trimLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trailingSeparatorPolicy\": \"NotAllowed\"\r\n },\r\n \"framingSettings\": {\r\n \"dataElementSeparator\": 42,\r\n \"componentSeparator\": 58,\r\n \"replaceSeparatorsInPayload\": false,\r\n \"replaceCharacter\": 36,\r\n \"segmentTerminator\": 126,\r\n \"characterSet\": \"UTF8\",\r\n \"segmentTerminatorSuffix\": \"None\"\r\n },\r\n \"envelopeSettings\": {\r\n \"controlStandardsId\": 85,\r\n \"useControlStandardsIdAsRepetitionCharacter\": false,\r\n \"senderApplicationId\": \"BTS-SENDER\",\r\n \"receiverApplicationId\": \"RECEIVE-APP\",\r\n \"controlVersionNumber\": \"00401\",\r\n \"interchangeControlNumberLowerBound\": 1,\r\n \"interchangeControlNumberUpperBound\": 999999999,\r\n \"rolloverInterchangeControlNumber\": true,\r\n \"enableDefaultGroupHeaders\": true,\r\n \"groupControlNumberLowerBound\": 1,\r\n \"groupControlNumberUpperBound\": 999999999,\r\n \"rolloverGroupControlNumber\": true,\r\n \"groupHeaderAgencyCode\": \"T\",\r\n \"groupHeaderVersion\": \"00401\",\r\n \"transactionSetControlNumberLowerBound\": 1,\r\n \"transactionSetControlNumberUpperBound\": 999999999,\r\n \"rolloverTransactionSetControlNumber\": true,\r\n \"overwriteExistingTransactionSetControlNumber\": true,\r\n \"groupHeaderDateFormat\": \"CCYYMMDD\",\r\n \"groupHeaderTimeFormat\": \"HHMM\",\r\n \"usageIndicator\": \"Test\"\r\n },\r\n \"acknowledgementSettings\": {\r\n \"needTechnicalAcknowledgement\": false,\r\n \"batchTechnicalAcknowledgements\": true,\r\n \"needFunctionalAcknowledgement\": false,\r\n \"batchFunctionalAcknowledgements\": true,\r\n \"needImplementationAcknowledgement\": false,\r\n \"batchImplementationAcknowledgements\": false,\r\n \"needLoopForValidMessages\": false,\r\n \"sendSynchronousAcknowledgement\": true,\r\n \"acknowledgementControlNumberLowerBound\": 1,\r\n \"acknowledgementControlNumberUpperBound\": 999999999,\r\n \"rolloverAcknowledgementControlNumber\": true\r\n },\r\n \"messageFilter\": {\r\n \"messageFilterType\": \"Exclude\"\r\n },\r\n \"securitySettings\": {\r\n \"authorizationQualifier\": \"00\",\r\n \"securityQualifier\": \"00\"\r\n },\r\n \"processingSettings\": {\r\n \"maskSecurityInfo\": true,\r\n \"convertImpliedDecimal\": true,\r\n \"preserveInterchange\": true,\r\n \"suspendInterchangeOnError\": true,\r\n \"createEmptyXmlTagsForTrailingSeparators\": true,\r\n \"useDotAsDecimalSeparator\": true\r\n },\r\n \"envelopeOverrides\": [\r\n {\r\n \"targetNamespace\": \"http://tempuri.org\",\r\n \"protocolVersion\": \"1\",\r\n \"messageId\": \"100\",\r\n \"responsibleAgencyCode\": \"X\",\r\n \"headerVersion\": \"1\",\r\n \"senderApplicationId\": \"89459\",\r\n \"receiverApplicationId\": \"93494\",\r\n \"functionalIdentifierCode\": \"x\",\r\n \"dateFormat\": \"CCYYMMDD\",\r\n \"timeFormat\": \"HHMM\"\r\n }\r\n ],\r\n \"schemaReferences\": []\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n }\r\n },\r\n \"sendAgreement\": {\r\n \"protocolSettings\": {\r\n \"validationSettings\": {\r\n \"validateCharacterSet\": true,\r\n \"checkDuplicateInterchangeControlNumber\": false,\r\n \"interchangeControlNumberValidityDays\": 30,\r\n \"checkDuplicateGroupControlNumber\": false,\r\n \"checkDuplicateTransactionSetControlNumber\": false,\r\n \"validateEDITypes\": true,\r\n \"validateXSDTypes\": false,\r\n \"allowLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trimLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trailingSeparatorPolicy\": \"NotAllowed\"\r\n },\r\n \"framingSettings\": {\r\n \"dataElementSeparator\": 42,\r\n \"componentSeparator\": 58,\r\n \"replaceSeparatorsInPayload\": false,\r\n \"replaceCharacter\": 36,\r\n \"segmentTerminator\": 126,\r\n \"characterSet\": \"UTF8\",\r\n \"segmentTerminatorSuffix\": \"None\"\r\n },\r\n \"envelopeSettings\": {\r\n \"controlStandardsId\": 100,\r\n \"useControlStandardsIdAsRepetitionCharacter\": true,\r\n \"senderApplicationId\": \"100\",\r\n \"receiverApplicationId\": \"100\",\r\n \"controlVersionNumber\": \"0.0\",\r\n \"interchangeControlNumberLowerBound\": 1,\r\n \"interchangeControlNumberUpperBound\": 999999999,\r\n \"rolloverInterchangeControlNumber\": true,\r\n \"enableDefaultGroupHeaders\": true,\r\n \"functionalGroupId\": \"1\",\r\n \"groupControlNumberLowerBound\": 1,\r\n \"groupControlNumberUpperBound\": 999999999,\r\n \"rolloverGroupControlNumber\": true,\r\n \"groupHeaderAgencyCode\": \"T\",\r\n \"groupHeaderVersion\": \"0.0\",\r\n \"transactionSetControlNumberLowerBound\": 1,\r\n \"transactionSetControlNumberUpperBound\": 999999999,\r\n \"rolloverTransactionSetControlNumber\": true,\r\n \"transactionSetControlNumberPrefix\": \"\",\r\n \"transactionSetControlNumberSuffix\": \"\",\r\n \"overwriteExistingTransactionSetControlNumber\": true,\r\n \"groupHeaderDateFormat\": \"CCYYMMDD\",\r\n \"groupHeaderTimeFormat\": \"HHMM\",\r\n \"usageIndicator\": \"Information\"\r\n },\r\n \"acknowledgementSettings\": {\r\n \"needTechnicalAcknowledgement\": false,\r\n \"batchTechnicalAcknowledgements\": true,\r\n \"needFunctionalAcknowledgement\": false,\r\n \"batchFunctionalAcknowledgements\": true,\r\n \"needImplementationAcknowledgement\": false,\r\n \"batchImplementationAcknowledgements\": false,\r\n \"needLoopForValidMessages\": false,\r\n \"sendSynchronousAcknowledgement\": true,\r\n \"acknowledgementControlNumberLowerBound\": 1,\r\n \"acknowledgementControlNumberUpperBound\": 999999999,\r\n \"rolloverAcknowledgementControlNumber\": true\r\n },\r\n \"messageFilter\": {\r\n \"messageFilterType\": \"Exclude\"\r\n },\r\n \"securitySettings\": {\r\n \"authorizationQualifier\": \"00\",\r\n \"securityQualifier\": \"00\"\r\n },\r\n \"processingSettings\": {\r\n \"maskSecurityInfo\": true,\r\n \"convertImpliedDecimal\": true,\r\n \"preserveInterchange\": true,\r\n \"suspendInterchangeOnError\": true,\r\n \"createEmptyXmlTagsForTrailingSeparators\": true,\r\n \"useDotAsDecimalSeparator\": true\r\n },\r\n \"schemaReferences\": []\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n }\r\n }\r\n }\r\n },\r\n \"createdTime\": \"2018-09-19T22:53:17.8381175Z\",\r\n \"changedTime\": \"2018-09-19T22:53:17.839079Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount871/agreements/IntegrationAccountAgreement4583\",\r\n \"name\": \"IntegrationAccountAgreement4583\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/agreements\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount871?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50ODcxP2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "07ff144f-14c4-483b-9d72-3ee322918cad" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:17 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:da69831f-3e99-450a-bd25-1b4c04d9d028" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "2b9413e2-d15e-4cc9-87db-a9058da083f4" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225318Z:2b9413e2-d15e-4cc9-87db-a9058da083f4" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "IntegrationAccountAgreements_CreateWithEnvelopeOverride_OK": [ + "IntegrationAccount871", + "IntegrationAccountAgreement4583" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAgreementScenarioTests/DeleteIntegrationAccountAgreementOnAccountDeletion.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAgreementsScenarioTests/IntegrationAccountAgreements_CreateX12_OK.json similarity index 50% rename from src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAgreementScenarioTests/DeleteIntegrationAccountAgreementOnAccountDeletion.json rename to src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAgreementsScenarioTests/IntegrationAccountAgreements_CreateX12_OK.json index 151ff3b5ce7b1..339014990718c 100644 --- a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAgreementScenarioTests/DeleteIntegrationAccountAgreementOnAccountDeletion.json +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAgreementsScenarioTests/IntegrationAccountAgreements_CreateX12_OK.json @@ -1,239 +1,309 @@ { "Entries": [ { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5036?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NTAzNj9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "91" - ], "x-ms-client-request-id": [ - "67c383d3-7d5e-441e-8d1d-4ea1f87e9bbc" + "5f95c518-958d-4466-8e60-05290808d01d" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ] }, - "ResponseBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5036\",\r\n \"name\": \"IntegrationAccount5036\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:11 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-request-id": [ + "92303487-6760-4ba6-b214-592cb2bb29f4" + ], + "x-ms-correlation-request-id": [ + "92303487-6760-4ba6-b214-592cb2bb29f4" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225311Z:92303487-6760-4ba6-b214-592cb2bb29f4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], "Content-Length": [ - "290" + "12" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "4370a737-25bf-42a3-bc89-54f0e880ddfc" + ], + "accept-language": [ + "en-US" ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:56:41 GMT" + "Wed, 19 Sep 2018 22:53:11 GMT" ], "Pragma": [ "no-cache" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19999" + ], "x-ms-request-id": [ - "westus:496bef92-9dae-49dc-b15e-7cc246b34bcb" + "3180bdd3-f3a2-44d7-a309-2732af1aace3" + ], + "x-ms-correlation-request-id": [ + "3180bdd3-f3a2-44d7-a309-2732af1aace3" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225311Z:3180bdd3-f3a2-44d7-a309-2732af1aace3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1195" + "X-Content-Type-Options": [ + "nosniff" ], - "x-ms-correlation-request-id": [ - "27935857-992c-441a-85b1-0d7ce178cc04" + "Content-Length": [ + "12" ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215641Z:27935857-992c-441a-85b1-0d7ce178cc04" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 201 + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5036/agreements/IntegrationAccountAgreement9682?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NTAzNi9hZ3JlZW1lbnRzL0ludGVncmF0aW9uQWNjb3VudEFncmVlbWVudDk2ODI/YXBpLXZlcnNpb249MjAxNi0wNi0wMQ==", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7336?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NzMzNj9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"metadata\": \"IntegrationAccountAgreement9682\",\r\n \"agreementType\": \"X12\",\r\n \"hostPartner\": \"HostPartner\",\r\n \"guestPartner\": \"GuestPartner\",\r\n \"hostIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"guestIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"content\": {\r\n \"X12\": {\r\n \"receiveAgreement\": {\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"protocolSettings\": {\r\n \"validationSettings\": {\r\n \"validateCharacterSet\": true,\r\n \"checkDuplicateInterchangeControlNumber\": false,\r\n \"interchangeControlNumberValidityDays\": 30,\r\n \"checkDuplicateGroupControlNumber\": false,\r\n \"checkDuplicateTransactionSetControlNumber\": false,\r\n \"validateEDITypes\": true,\r\n \"validateXSDTypes\": false,\r\n \"allowLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trimLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trailingSeparatorPolicy\": \"NotAllowed\"\r\n },\r\n \"framingSettings\": {\r\n \"dataElementSeparator\": 42,\r\n \"componentSeparator\": 58,\r\n \"replaceSeparatorsInPayload\": false,\r\n \"replaceCharacter\": 36,\r\n \"segmentTerminator\": 126,\r\n \"characterSet\": \"UTF8\",\r\n \"segmentTerminatorSuffix\": \"None\"\r\n },\r\n \"envelopeSettings\": {\r\n \"controlStandardsId\": 85,\r\n \"useControlStandardsIdAsRepetitionCharacter\": false,\r\n \"senderApplicationId\": \"BTS-SENDER\",\r\n \"receiverApplicationId\": \"RECEIVE-APP\",\r\n \"controlVersionNumber\": \"00401\",\r\n \"interchangeControlNumberLowerBound\": 1,\r\n \"interchangeControlNumberUpperBound\": 999999999,\r\n \"rolloverInterchangeControlNumber\": true,\r\n \"enableDefaultGroupHeaders\": true,\r\n \"groupControlNumberLowerBound\": 1,\r\n \"groupControlNumberUpperBound\": 999999999,\r\n \"rolloverGroupControlNumber\": true,\r\n \"groupHeaderAgencyCode\": \"T\",\r\n \"groupHeaderVersion\": \"00401\",\r\n \"transactionSetControlNumberLowerBound\": 1,\r\n \"transactionSetControlNumberUpperBound\": 999999999,\r\n \"rolloverTransactionSetControlNumber\": true,\r\n \"overwriteExistingTransactionSetControlNumber\": true,\r\n \"groupHeaderDateFormat\": \"CCYYMMDD\",\r\n \"groupHeaderTimeFormat\": \"HHMM\",\r\n \"usageIndicator\": \"Test\"\r\n },\r\n \"acknowledgementSettings\": {\r\n \"needTechnicalAcknowledgement\": false,\r\n \"batchTechnicalAcknowledgements\": true,\r\n \"needFunctionalAcknowledgement\": false,\r\n \"batchFunctionalAcknowledgements\": true,\r\n \"needImplementationAcknowledgement\": false,\r\n \"batchImplementationAcknowledgements\": false,\r\n \"needLoopForValidMessages\": false,\r\n \"sendSynchronousAcknowledgement\": true,\r\n \"acknowledgementControlNumberLowerBound\": 1,\r\n \"acknowledgementControlNumberUpperBound\": 999999999,\r\n \"rolloverAcknowledgementControlNumber\": true\r\n },\r\n \"messageFilter\": {\r\n \"messageFilterType\": \"Exclude\"\r\n },\r\n \"securitySettings\": {\r\n \"authorizationQualifier\": \"00\",\r\n \"securityQualifier\": \"00\"\r\n },\r\n \"processingSettings\": {\r\n \"maskSecurityInfo\": true,\r\n \"convertImpliedDecimal\": true,\r\n \"preserveInterchange\": true,\r\n \"suspendInterchangeOnError\": true,\r\n \"createEmptyXmlTagsForTrailingSeparators\": true,\r\n \"useDotAsDecimalSeparator\": true\r\n },\r\n \"schemaReferences\": []\r\n }\r\n },\r\n \"sendAgreement\": {\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"protocolSettings\": {\r\n \"validationSettings\": {\r\n \"validateCharacterSet\": true,\r\n \"checkDuplicateInterchangeControlNumber\": false,\r\n \"interchangeControlNumberValidityDays\": 30,\r\n \"checkDuplicateGroupControlNumber\": false,\r\n \"checkDuplicateTransactionSetControlNumber\": false,\r\n \"validateEDITypes\": true,\r\n \"validateXSDTypes\": false,\r\n \"allowLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trimLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trailingSeparatorPolicy\": \"NotAllowed\"\r\n },\r\n \"framingSettings\": {\r\n \"dataElementSeparator\": 42,\r\n \"componentSeparator\": 58,\r\n \"replaceSeparatorsInPayload\": false,\r\n \"replaceCharacter\": 36,\r\n \"segmentTerminator\": 126,\r\n \"characterSet\": \"UTF8\",\r\n \"segmentTerminatorSuffix\": \"None\"\r\n },\r\n \"envelopeSettings\": {\r\n \"controlStandardsId\": 100,\r\n \"useControlStandardsIdAsRepetitionCharacter\": true,\r\n \"senderApplicationId\": \"100\",\r\n \"receiverApplicationId\": \"100\",\r\n \"controlVersionNumber\": \"0.0\",\r\n \"interchangeControlNumberLowerBound\": 1,\r\n \"interchangeControlNumberUpperBound\": 999999999,\r\n \"rolloverInterchangeControlNumber\": true,\r\n \"enableDefaultGroupHeaders\": true,\r\n \"functionalGroupId\": \"1\",\r\n \"groupControlNumberLowerBound\": 1,\r\n \"groupControlNumberUpperBound\": 999999999,\r\n \"rolloverGroupControlNumber\": true,\r\n \"groupHeaderAgencyCode\": \"T\",\r\n \"groupHeaderVersion\": \"0.0\",\r\n \"transactionSetControlNumberLowerBound\": 1,\r\n \"transactionSetControlNumberUpperBound\": 999999999,\r\n \"rolloverTransactionSetControlNumber\": true,\r\n \"transactionSetControlNumberPrefix\": \"\",\r\n \"transactionSetControlNumberSuffix\": \"\",\r\n \"overwriteExistingTransactionSetControlNumber\": true,\r\n \"groupHeaderDateFormat\": \"CCYYMMDD\",\r\n \"groupHeaderTimeFormat\": \"HHMM\",\r\n \"usageIndicator\": \"Information\"\r\n },\r\n \"acknowledgementSettings\": {\r\n \"needTechnicalAcknowledgement\": false,\r\n \"batchTechnicalAcknowledgements\": true,\r\n \"needFunctionalAcknowledgement\": false,\r\n \"batchFunctionalAcknowledgements\": true,\r\n \"needImplementationAcknowledgement\": false,\r\n \"batchImplementationAcknowledgements\": false,\r\n \"needLoopForValidMessages\": false,\r\n \"sendSynchronousAcknowledgement\": true,\r\n \"acknowledgementControlNumberLowerBound\": 1,\r\n \"acknowledgementControlNumberUpperBound\": 999999999,\r\n \"rolloverAcknowledgementControlNumber\": true\r\n },\r\n \"messageFilter\": {\r\n \"messageFilterType\": \"Exclude\"\r\n },\r\n \"securitySettings\": {\r\n \"authorizationQualifier\": \"00\",\r\n \"securityQualifier\": \"00\"\r\n },\r\n \"processingSettings\": {\r\n \"maskSecurityInfo\": true,\r\n \"convertImpliedDecimal\": true,\r\n \"preserveInterchange\": true,\r\n \"suspendInterchangeOnError\": true,\r\n \"createEmptyXmlTagsForTrailingSeparators\": true,\r\n \"useDotAsDecimalSeparator\": true\r\n },\r\n \"schemaReferences\": []\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"IntegrationAccountAgreement\": \"IntegrationAccountAgreement9682\"\r\n }\r\n}", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "8185" - ], "x-ms-client-request-id": [ - "e7b895f4-c648-477b-90eb-3fb3cb93fdab" + "80e77183-7f8d-4223-8b4a-812eeeaa1b02" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"hostPartner\": \"HostPartner\",\r\n \"guestPartner\": \"GuestPartner\",\r\n \"hostIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"guestIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"agreementType\": \"X12\",\r\n \"content\": {\r\n \"x12\": {\r\n \"receiveAgreement\": {\r\n \"protocolSettings\": {\r\n \"validationSettings\": {\r\n \"validateCharacterSet\": true,\r\n \"checkDuplicateInterchangeControlNumber\": false,\r\n \"interchangeControlNumberValidityDays\": 30,\r\n \"checkDuplicateGroupControlNumber\": false,\r\n \"checkDuplicateTransactionSetControlNumber\": false,\r\n \"validateEDITypes\": true,\r\n \"validateXSDTypes\": false,\r\n \"allowLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trimLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trailingSeparatorPolicy\": \"NotAllowed\"\r\n },\r\n \"framingSettings\": {\r\n \"dataElementSeparator\": 42,\r\n \"componentSeparator\": 58,\r\n \"replaceSeparatorsInPayload\": false,\r\n \"replaceCharacter\": 36,\r\n \"segmentTerminator\": 126,\r\n \"characterSet\": \"UTF8\",\r\n \"segmentTerminatorSuffix\": \"None\"\r\n },\r\n \"envelopeSettings\": {\r\n \"controlStandardsId\": 85,\r\n \"useControlStandardsIdAsRepetitionCharacter\": false,\r\n \"senderApplicationId\": \"BTS-SENDER\",\r\n \"receiverApplicationId\": \"RECEIVE-APP\",\r\n \"controlVersionNumber\": \"00401\",\r\n \"interchangeControlNumberLowerBound\": 1,\r\n \"interchangeControlNumberUpperBound\": 999999999,\r\n \"rolloverInterchangeControlNumber\": true,\r\n \"enableDefaultGroupHeaders\": true,\r\n \"groupControlNumberLowerBound\": 1,\r\n \"groupControlNumberUpperBound\": 999999999,\r\n \"rolloverGroupControlNumber\": true,\r\n \"groupHeaderAgencyCode\": \"T\",\r\n \"groupHeaderVersion\": \"00401\",\r\n \"transactionSetControlNumberLowerBound\": 1,\r\n \"transactionSetControlNumberUpperBound\": 999999999,\r\n \"rolloverTransactionSetControlNumber\": true,\r\n \"overwriteExistingTransactionSetControlNumber\": true,\r\n \"groupHeaderDateFormat\": \"CCYYMMDD\",\r\n \"groupHeaderTimeFormat\": \"HHMM\",\r\n \"usageIndicator\": \"Test\"\r\n },\r\n \"acknowledgementSettings\": {\r\n \"needTechnicalAcknowledgement\": false,\r\n \"batchTechnicalAcknowledgements\": true,\r\n \"needFunctionalAcknowledgement\": false,\r\n \"batchFunctionalAcknowledgements\": true,\r\n \"needImplementationAcknowledgement\": false,\r\n \"batchImplementationAcknowledgements\": false,\r\n \"needLoopForValidMessages\": false,\r\n \"sendSynchronousAcknowledgement\": true,\r\n \"acknowledgementControlNumberLowerBound\": 1,\r\n \"acknowledgementControlNumberUpperBound\": 999999999,\r\n \"rolloverAcknowledgementControlNumber\": true\r\n },\r\n \"messageFilter\": {\r\n \"messageFilterType\": \"Exclude\"\r\n },\r\n \"securitySettings\": {\r\n \"authorizationQualifier\": \"00\",\r\n \"securityQualifier\": \"00\"\r\n },\r\n \"processingSettings\": {\r\n \"maskSecurityInfo\": true,\r\n \"convertImpliedDecimal\": true,\r\n \"preserveInterchange\": true,\r\n \"suspendInterchangeOnError\": true,\r\n \"createEmptyXmlTagsForTrailingSeparators\": true,\r\n \"useDotAsDecimalSeparator\": true\r\n },\r\n \"schemaReferences\": []\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n }\r\n },\r\n \"sendAgreement\": {\r\n \"protocolSettings\": {\r\n \"validationSettings\": {\r\n \"validateCharacterSet\": true,\r\n \"checkDuplicateInterchangeControlNumber\": false,\r\n \"interchangeControlNumberValidityDays\": 30,\r\n \"checkDuplicateGroupControlNumber\": false,\r\n \"checkDuplicateTransactionSetControlNumber\": false,\r\n \"validateEDITypes\": true,\r\n \"validateXSDTypes\": false,\r\n \"allowLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trimLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trailingSeparatorPolicy\": \"NotAllowed\"\r\n },\r\n \"framingSettings\": {\r\n \"dataElementSeparator\": 42,\r\n \"componentSeparator\": 58,\r\n \"replaceSeparatorsInPayload\": false,\r\n \"replaceCharacter\": 36,\r\n \"segmentTerminator\": 126,\r\n \"characterSet\": \"UTF8\",\r\n \"segmentTerminatorSuffix\": \"None\"\r\n },\r\n \"envelopeSettings\": {\r\n \"controlStandardsId\": 100,\r\n \"useControlStandardsIdAsRepetitionCharacter\": true,\r\n \"senderApplicationId\": \"100\",\r\n \"receiverApplicationId\": \"100\",\r\n \"controlVersionNumber\": \"0.0\",\r\n \"interchangeControlNumberLowerBound\": 1,\r\n \"interchangeControlNumberUpperBound\": 999999999,\r\n \"rolloverInterchangeControlNumber\": true,\r\n \"enableDefaultGroupHeaders\": true,\r\n \"functionalGroupId\": \"1\",\r\n \"groupControlNumberLowerBound\": 1,\r\n \"groupControlNumberUpperBound\": 999999999,\r\n \"rolloverGroupControlNumber\": true,\r\n \"groupHeaderAgencyCode\": \"T\",\r\n \"groupHeaderVersion\": \"0.0\",\r\n \"transactionSetControlNumberLowerBound\": 1,\r\n \"transactionSetControlNumberUpperBound\": 999999999,\r\n \"rolloverTransactionSetControlNumber\": true,\r\n \"transactionSetControlNumberPrefix\": \"\",\r\n \"transactionSetControlNumberSuffix\": \"\",\r\n \"overwriteExistingTransactionSetControlNumber\": true,\r\n \"groupHeaderDateFormat\": \"CCYYMMDD\",\r\n \"groupHeaderTimeFormat\": \"HHMM\",\r\n \"usageIndicator\": \"Information\"\r\n },\r\n \"acknowledgementSettings\": {\r\n \"needTechnicalAcknowledgement\": false,\r\n \"batchTechnicalAcknowledgements\": true,\r\n \"needFunctionalAcknowledgement\": false,\r\n \"batchFunctionalAcknowledgements\": true,\r\n \"needImplementationAcknowledgement\": false,\r\n \"batchImplementationAcknowledgements\": false,\r\n \"needLoopForValidMessages\": false,\r\n \"sendSynchronousAcknowledgement\": true,\r\n \"acknowledgementControlNumberLowerBound\": 1,\r\n \"acknowledgementControlNumberUpperBound\": 999999999,\r\n \"rolloverAcknowledgementControlNumber\": true\r\n },\r\n \"messageFilter\": {\r\n \"messageFilterType\": \"Exclude\"\r\n },\r\n \"securitySettings\": {\r\n \"authorizationQualifier\": \"00\",\r\n \"securityQualifier\": \"00\"\r\n },\r\n \"processingSettings\": {\r\n \"maskSecurityInfo\": true,\r\n \"convertImpliedDecimal\": true,\r\n \"preserveInterchange\": true,\r\n \"suspendInterchangeOnError\": true,\r\n \"createEmptyXmlTagsForTrailingSeparators\": true,\r\n \"useDotAsDecimalSeparator\": true\r\n },\r\n \"schemaReferences\": []\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n }\r\n }\r\n }\r\n },\r\n \"createdTime\": \"2017-03-01T21:56:41.8457102Z\",\r\n \"changedTime\": \"2017-03-01T21:56:41.8464847Z\",\r\n \"metadata\": \"IntegrationAccountAgreement9682\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5036/agreements/IntegrationAccountAgreement9682\",\r\n \"name\": \"IntegrationAccountAgreement9682\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/agreements\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "5549" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:56:41 GMT" + "Wed, 19 Sep 2018 22:53:12 GMT" ], "Pragma": [ "no-cache" ], "x-ms-request-id": [ - "westus:e2cec432-35a1-4101-b992-3bc6df295cca" + "westus:378ea269-7fa7-4616-9465-b64ab8113d5f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1194" + "1196" ], "x-ms-correlation-request-id": [ - "e09fdc6d-d15a-4b46-8729-6f1cd4b93097" + "8fac2104-45b3-4370-a0f4-804e19420c80" ], "x-ms-routing-request-id": [ - "WESTUS2:20170301T215641Z:e09fdc6d-d15a-4b46-8729-6f1cd4b93097" + "WESTUS2:20180919T225312Z:8fac2104-45b3-4370-a0f4-804e19420c80" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "307" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7336\",\r\n \"name\": \"IntegrationAccount7336\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", "StatusCode": 201 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5036?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NTAzNj9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "DELETE", - "RequestBody": "", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7336/agreements/IntegrationAccountAgreement7047?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NzMzNi9hZ3JlZW1lbnRzL0ludGVncmF0aW9uQWNjb3VudEFncmVlbWVudDcwNDc/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"agreementType\": \"X12\",\r\n \"hostPartner\": \"HostPartner\",\r\n \"guestPartner\": \"GuestPartner\",\r\n \"hostIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"guestIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"content\": {\r\n \"x12\": {\r\n \"receiveAgreement\": {\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"protocolSettings\": {\r\n \"validationSettings\": {\r\n \"validateCharacterSet\": true,\r\n \"checkDuplicateInterchangeControlNumber\": false,\r\n \"interchangeControlNumberValidityDays\": 30,\r\n \"checkDuplicateGroupControlNumber\": false,\r\n \"checkDuplicateTransactionSetControlNumber\": false,\r\n \"validateEdiTypes\": true,\r\n \"validateXsdTypes\": false,\r\n \"allowLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trimLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trailingSeparatorPolicy\": \"NotAllowed\"\r\n },\r\n \"framingSettings\": {\r\n \"dataElementSeparator\": 42,\r\n \"componentSeparator\": 58,\r\n \"replaceSeparatorsInPayload\": false,\r\n \"replaceCharacter\": 36,\r\n \"segmentTerminator\": 126,\r\n \"characterSet\": \"UTF8\",\r\n \"segmentTerminatorSuffix\": \"None\"\r\n },\r\n \"envelopeSettings\": {\r\n \"controlStandardsId\": 85,\r\n \"useControlStandardsIdAsRepetitionCharacter\": false,\r\n \"senderApplicationId\": \"BTS-SENDER\",\r\n \"receiverApplicationId\": \"RECEIVE-APP\",\r\n \"controlVersionNumber\": \"00401\",\r\n \"interchangeControlNumberLowerBound\": 1,\r\n \"interchangeControlNumberUpperBound\": 999999999,\r\n \"rolloverInterchangeControlNumber\": true,\r\n \"enableDefaultGroupHeaders\": true,\r\n \"groupControlNumberLowerBound\": 1,\r\n \"groupControlNumberUpperBound\": 999999999,\r\n \"rolloverGroupControlNumber\": true,\r\n \"groupHeaderAgencyCode\": \"T\",\r\n \"groupHeaderVersion\": \"00401\",\r\n \"transactionSetControlNumberLowerBound\": 1,\r\n \"transactionSetControlNumberUpperBound\": 999999999,\r\n \"rolloverTransactionSetControlNumber\": true,\r\n \"overwriteExistingTransactionSetControlNumber\": true,\r\n \"groupHeaderDateFormat\": \"CCYYMMDD\",\r\n \"groupHeaderTimeFormat\": \"HHMM\",\r\n \"usageIndicator\": \"Test\"\r\n },\r\n \"acknowledgementSettings\": {\r\n \"needTechnicalAcknowledgement\": false,\r\n \"batchTechnicalAcknowledgements\": true,\r\n \"needFunctionalAcknowledgement\": false,\r\n \"batchFunctionalAcknowledgements\": true,\r\n \"needImplementationAcknowledgement\": false,\r\n \"batchImplementationAcknowledgements\": false,\r\n \"needLoopForValidMessages\": false,\r\n \"sendSynchronousAcknowledgement\": true,\r\n \"acknowledgementControlNumberLowerBound\": 1,\r\n \"acknowledgementControlNumberUpperBound\": 999999999,\r\n \"rolloverAcknowledgementControlNumber\": true\r\n },\r\n \"messageFilter\": {\r\n \"messageFilterType\": \"Exclude\"\r\n },\r\n \"securitySettings\": {\r\n \"authorizationQualifier\": \"00\",\r\n \"securityQualifier\": \"00\"\r\n },\r\n \"processingSettings\": {\r\n \"maskSecurityInfo\": true,\r\n \"convertImpliedDecimal\": true,\r\n \"preserveInterchange\": true,\r\n \"suspendInterchangeOnError\": true,\r\n \"createEmptyXmlTagsForTrailingSeparators\": true,\r\n \"useDotAsDecimalSeparator\": true\r\n },\r\n \"schemaReferences\": []\r\n }\r\n },\r\n \"sendAgreement\": {\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"protocolSettings\": {\r\n \"validationSettings\": {\r\n \"validateCharacterSet\": true,\r\n \"checkDuplicateInterchangeControlNumber\": false,\r\n \"interchangeControlNumberValidityDays\": 30,\r\n \"checkDuplicateGroupControlNumber\": false,\r\n \"checkDuplicateTransactionSetControlNumber\": false,\r\n \"validateEdiTypes\": true,\r\n \"validateXsdTypes\": false,\r\n \"allowLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trimLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trailingSeparatorPolicy\": \"NotAllowed\"\r\n },\r\n \"framingSettings\": {\r\n \"dataElementSeparator\": 42,\r\n \"componentSeparator\": 58,\r\n \"replaceSeparatorsInPayload\": false,\r\n \"replaceCharacter\": 36,\r\n \"segmentTerminator\": 126,\r\n \"characterSet\": \"UTF8\",\r\n \"segmentTerminatorSuffix\": \"None\"\r\n },\r\n \"envelopeSettings\": {\r\n \"controlStandardsId\": 100,\r\n \"useControlStandardsIdAsRepetitionCharacter\": true,\r\n \"senderApplicationId\": \"100\",\r\n \"receiverApplicationId\": \"100\",\r\n \"controlVersionNumber\": \"0.0\",\r\n \"interchangeControlNumberLowerBound\": 1,\r\n \"interchangeControlNumberUpperBound\": 999999999,\r\n \"rolloverInterchangeControlNumber\": true,\r\n \"enableDefaultGroupHeaders\": true,\r\n \"functionalGroupId\": \"1\",\r\n \"groupControlNumberLowerBound\": 1,\r\n \"groupControlNumberUpperBound\": 999999999,\r\n \"rolloverGroupControlNumber\": true,\r\n \"groupHeaderAgencyCode\": \"T\",\r\n \"groupHeaderVersion\": \"0.0\",\r\n \"transactionSetControlNumberLowerBound\": 1,\r\n \"transactionSetControlNumberUpperBound\": 999999999,\r\n \"rolloverTransactionSetControlNumber\": true,\r\n \"transactionSetControlNumberPrefix\": \"\",\r\n \"transactionSetControlNumberSuffix\": \"\",\r\n \"overwriteExistingTransactionSetControlNumber\": true,\r\n \"groupHeaderDateFormat\": \"CCYYMMDD\",\r\n \"groupHeaderTimeFormat\": \"HHMM\",\r\n \"usageIndicator\": \"Information\"\r\n },\r\n \"acknowledgementSettings\": {\r\n \"needTechnicalAcknowledgement\": false,\r\n \"batchTechnicalAcknowledgements\": true,\r\n \"needFunctionalAcknowledgement\": false,\r\n \"batchFunctionalAcknowledgements\": true,\r\n \"needImplementationAcknowledgement\": false,\r\n \"batchImplementationAcknowledgements\": false,\r\n \"needLoopForValidMessages\": false,\r\n \"sendSynchronousAcknowledgement\": true,\r\n \"acknowledgementControlNumberLowerBound\": 1,\r\n \"acknowledgementControlNumberUpperBound\": 999999999,\r\n \"rolloverAcknowledgementControlNumber\": true\r\n },\r\n \"messageFilter\": {\r\n \"messageFilterType\": \"Exclude\"\r\n },\r\n \"securitySettings\": {\r\n \"authorizationQualifier\": \"00\",\r\n \"securityQualifier\": \"00\"\r\n },\r\n \"processingSettings\": {\r\n \"maskSecurityInfo\": true,\r\n \"convertImpliedDecimal\": true,\r\n \"preserveInterchange\": true,\r\n \"suspendInterchangeOnError\": true,\r\n \"createEmptyXmlTagsForTrailingSeparators\": true,\r\n \"useDotAsDecimalSeparator\": true\r\n },\r\n \"schemaReferences\": []\r\n }\r\n }\r\n }\r\n }\r\n }\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "c7f0237b-8888-48ba-aab2-8346a12aa0ea" + "1d77dfb0-79e7-4dfd-b022-2dc53094c320" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "8019" ] }, - "ResponseBody": "", "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:56:42 GMT" + "Wed, 19 Sep 2018 22:53:13 GMT" ], "Pragma": [ "no-cache" ], "x-ms-request-id": [ - "westus:b791e8fb-8960-44fc-9035-896a09b0bc5b" + "westus:42ff4bb3-c41e-4d86-86a3-9574b1b64e59" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1193" + "1195" ], "x-ms-correlation-request-id": [ - "236e95a0-5a83-4c97-bb5e-23a6f168a05a" + "c28e7ec8-11a3-4023-9207-35c0ca247131" ], "x-ms-routing-request-id": [ - "WESTUS2:20170301T215642Z:236e95a0-5a83-4c97-bb5e-23a6f168a05a" + "WESTUS2:20180919T225313Z:c28e7ec8-11a3-4023-9207-35c0ca247131" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "5503" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 200 + "ResponseBody": "{\r\n \"properties\": {\r\n \"hostPartner\": \"HostPartner\",\r\n \"guestPartner\": \"GuestPartner\",\r\n \"hostIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"guestIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"agreementType\": \"X12\",\r\n \"content\": {\r\n \"x12\": {\r\n \"receiveAgreement\": {\r\n \"protocolSettings\": {\r\n \"validationSettings\": {\r\n \"validateCharacterSet\": true,\r\n \"checkDuplicateInterchangeControlNumber\": false,\r\n \"interchangeControlNumberValidityDays\": 30,\r\n \"checkDuplicateGroupControlNumber\": false,\r\n \"checkDuplicateTransactionSetControlNumber\": false,\r\n \"validateEDITypes\": true,\r\n \"validateXSDTypes\": false,\r\n \"allowLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trimLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trailingSeparatorPolicy\": \"NotAllowed\"\r\n },\r\n \"framingSettings\": {\r\n \"dataElementSeparator\": 42,\r\n \"componentSeparator\": 58,\r\n \"replaceSeparatorsInPayload\": false,\r\n \"replaceCharacter\": 36,\r\n \"segmentTerminator\": 126,\r\n \"characterSet\": \"UTF8\",\r\n \"segmentTerminatorSuffix\": \"None\"\r\n },\r\n \"envelopeSettings\": {\r\n \"controlStandardsId\": 85,\r\n \"useControlStandardsIdAsRepetitionCharacter\": false,\r\n \"senderApplicationId\": \"BTS-SENDER\",\r\n \"receiverApplicationId\": \"RECEIVE-APP\",\r\n \"controlVersionNumber\": \"00401\",\r\n \"interchangeControlNumberLowerBound\": 1,\r\n \"interchangeControlNumberUpperBound\": 999999999,\r\n \"rolloverInterchangeControlNumber\": true,\r\n \"enableDefaultGroupHeaders\": true,\r\n \"groupControlNumberLowerBound\": 1,\r\n \"groupControlNumberUpperBound\": 999999999,\r\n \"rolloverGroupControlNumber\": true,\r\n \"groupHeaderAgencyCode\": \"T\",\r\n \"groupHeaderVersion\": \"00401\",\r\n \"transactionSetControlNumberLowerBound\": 1,\r\n \"transactionSetControlNumberUpperBound\": 999999999,\r\n \"rolloverTransactionSetControlNumber\": true,\r\n \"overwriteExistingTransactionSetControlNumber\": true,\r\n \"groupHeaderDateFormat\": \"CCYYMMDD\",\r\n \"groupHeaderTimeFormat\": \"HHMM\",\r\n \"usageIndicator\": \"Test\"\r\n },\r\n \"acknowledgementSettings\": {\r\n \"needTechnicalAcknowledgement\": false,\r\n \"batchTechnicalAcknowledgements\": true,\r\n \"needFunctionalAcknowledgement\": false,\r\n \"batchFunctionalAcknowledgements\": true,\r\n \"needImplementationAcknowledgement\": false,\r\n \"batchImplementationAcknowledgements\": false,\r\n \"needLoopForValidMessages\": false,\r\n \"sendSynchronousAcknowledgement\": true,\r\n \"acknowledgementControlNumberLowerBound\": 1,\r\n \"acknowledgementControlNumberUpperBound\": 999999999,\r\n \"rolloverAcknowledgementControlNumber\": true\r\n },\r\n \"messageFilter\": {\r\n \"messageFilterType\": \"Exclude\"\r\n },\r\n \"securitySettings\": {\r\n \"authorizationQualifier\": \"00\",\r\n \"securityQualifier\": \"00\"\r\n },\r\n \"processingSettings\": {\r\n \"maskSecurityInfo\": true,\r\n \"convertImpliedDecimal\": true,\r\n \"preserveInterchange\": true,\r\n \"suspendInterchangeOnError\": true,\r\n \"createEmptyXmlTagsForTrailingSeparators\": true,\r\n \"useDotAsDecimalSeparator\": true\r\n },\r\n \"schemaReferences\": []\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n }\r\n },\r\n \"sendAgreement\": {\r\n \"protocolSettings\": {\r\n \"validationSettings\": {\r\n \"validateCharacterSet\": true,\r\n \"checkDuplicateInterchangeControlNumber\": false,\r\n \"interchangeControlNumberValidityDays\": 30,\r\n \"checkDuplicateGroupControlNumber\": false,\r\n \"checkDuplicateTransactionSetControlNumber\": false,\r\n \"validateEDITypes\": true,\r\n \"validateXSDTypes\": false,\r\n \"allowLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trimLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trailingSeparatorPolicy\": \"NotAllowed\"\r\n },\r\n \"framingSettings\": {\r\n \"dataElementSeparator\": 42,\r\n \"componentSeparator\": 58,\r\n \"replaceSeparatorsInPayload\": false,\r\n \"replaceCharacter\": 36,\r\n \"segmentTerminator\": 126,\r\n \"characterSet\": \"UTF8\",\r\n \"segmentTerminatorSuffix\": \"None\"\r\n },\r\n \"envelopeSettings\": {\r\n \"controlStandardsId\": 100,\r\n \"useControlStandardsIdAsRepetitionCharacter\": true,\r\n \"senderApplicationId\": \"100\",\r\n \"receiverApplicationId\": \"100\",\r\n \"controlVersionNumber\": \"0.0\",\r\n \"interchangeControlNumberLowerBound\": 1,\r\n \"interchangeControlNumberUpperBound\": 999999999,\r\n \"rolloverInterchangeControlNumber\": true,\r\n \"enableDefaultGroupHeaders\": true,\r\n \"functionalGroupId\": \"1\",\r\n \"groupControlNumberLowerBound\": 1,\r\n \"groupControlNumberUpperBound\": 999999999,\r\n \"rolloverGroupControlNumber\": true,\r\n \"groupHeaderAgencyCode\": \"T\",\r\n \"groupHeaderVersion\": \"0.0\",\r\n \"transactionSetControlNumberLowerBound\": 1,\r\n \"transactionSetControlNumberUpperBound\": 999999999,\r\n \"rolloverTransactionSetControlNumber\": true,\r\n \"transactionSetControlNumberPrefix\": \"\",\r\n \"transactionSetControlNumberSuffix\": \"\",\r\n \"overwriteExistingTransactionSetControlNumber\": true,\r\n \"groupHeaderDateFormat\": \"CCYYMMDD\",\r\n \"groupHeaderTimeFormat\": \"HHMM\",\r\n \"usageIndicator\": \"Information\"\r\n },\r\n \"acknowledgementSettings\": {\r\n \"needTechnicalAcknowledgement\": false,\r\n \"batchTechnicalAcknowledgements\": true,\r\n \"needFunctionalAcknowledgement\": false,\r\n \"batchFunctionalAcknowledgements\": true,\r\n \"needImplementationAcknowledgement\": false,\r\n \"batchImplementationAcknowledgements\": false,\r\n \"needLoopForValidMessages\": false,\r\n \"sendSynchronousAcknowledgement\": true,\r\n \"acknowledgementControlNumberLowerBound\": 1,\r\n \"acknowledgementControlNumberUpperBound\": 999999999,\r\n \"rolloverAcknowledgementControlNumber\": true\r\n },\r\n \"messageFilter\": {\r\n \"messageFilterType\": \"Exclude\"\r\n },\r\n \"securitySettings\": {\r\n \"authorizationQualifier\": \"00\",\r\n \"securityQualifier\": \"00\"\r\n },\r\n \"processingSettings\": {\r\n \"maskSecurityInfo\": true,\r\n \"convertImpliedDecimal\": true,\r\n \"preserveInterchange\": true,\r\n \"suspendInterchangeOnError\": true,\r\n \"createEmptyXmlTagsForTrailingSeparators\": true,\r\n \"useDotAsDecimalSeparator\": true\r\n },\r\n \"schemaReferences\": []\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n }\r\n }\r\n }\r\n },\r\n \"createdTime\": \"2018-09-19T22:53:13.2062656Z\",\r\n \"changedTime\": \"2018-09-19T22:53:13.206904Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7336/agreements/IntegrationAccountAgreement7047\",\r\n \"name\": \"IntegrationAccountAgreement7047\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/agreements\"\r\n}", + "StatusCode": 201 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5036/agreements/IntegrationAccountAgreement9682?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NTAzNi9hZ3JlZW1lbnRzL0ludGVncmF0aW9uQWNjb3VudEFncmVlbWVudDk2ODI/YXBpLXZlcnNpb249MjAxNi0wNi0wMQ==", - "RequestMethod": "GET", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7336?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NzMzNj9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "c9bcbc69-cd11-4177-9448-ade3ac62c609" + "dc0db0b1-6b5c-4bb1-8080-e4fa9eb6875a" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ] }, - "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Logic/integrationAccounts/IntegrationAccount5036' under resource group 'flowrg' was not found.\"\r\n }\r\n}", "ResponseHeaders": { - "Content-Length": [ - "168" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:56:42 GMT" + "Wed, 19 Sep 2018 22:53:13 GMT" ], "Pragma": [ "no-cache" ], - "x-ms-failure-cause": [ - "gateway" - ], "x-ms-request-id": [ - "bffef9f3-8cb9-422d-bf46-4b3c2da3a61f" + "westus:dc1a9838-e473-432a-86c8-f9bc4c8469ab" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14998" ], "x-ms-correlation-request-id": [ - "bffef9f3-8cb9-422d-bf46-4b3c2da3a61f" + "3670d505-a11f-4d91-b856-bc614e90880a" ], "x-ms-routing-request-id": [ - "WESTUS2:20170301T215642Z:bffef9f3-8cb9-422d-bf46-4b3c2da3a61f" + "WESTUS2:20180919T225314Z:3670d505-a11f-4d91-b856-bc614e90880a" ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 404 + "ResponseBody": "", + "StatusCode": 200 } ], "Names": { - "DeleteIntegrationAccountAgreementOnAccountDeletion": [ - "IntegrationAccount5036", - "IntegrationAccountAgreement9682" + "IntegrationAccountAgreements_CreateX12_OK": [ + "IntegrationAccount7336", + "IntegrationAccountAgreement7047" ] }, "Variables": { diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAgreementsScenarioTests/IntegrationAccountAgreements_DeleteWhenDeleteIntegrationAccount_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAgreementsScenarioTests/IntegrationAccountAgreements_DeleteWhenDeleteIntegrationAccount_OK.json new file mode 100644 index 0000000000000..a8c6b4b29ddc9 --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAgreementsScenarioTests/IntegrationAccountAgreements_DeleteWhenDeleteIntegrationAccount_OK.json @@ -0,0 +1,370 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "6d4ea90d-30da-4c82-84a3-9e32920b0798" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:20 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11991" + ], + "x-ms-request-id": [ + "7b74f71c-87b4-4f60-9837-676765be62d2" + ], + "x-ms-correlation-request-id": [ + "7b74f71c-87b4-4f60-9837-676765be62d2" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225320Z:7b74f71c-87b4-4f60-9837-676765be62d2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "e9b1336c-f922-4cb4-85f8-2a6fbb84d5c7" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:20 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19996" + ], + "x-ms-request-id": [ + "1bed673b-be99-4df4-ae7b-9b155b2006a8" + ], + "x-ms-correlation-request-id": [ + "1bed673b-be99-4df4-ae7b-9b155b2006a8" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225320Z:1bed673b-be99-4df4-ae7b-9b155b2006a8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7081?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NzA4MT9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "2c7e2903-92eb-47b9-99c6-67bf0169f067" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:21 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:f8c5dc34-5260-4cb7-a601-65dc0729d1c3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], + "x-ms-correlation-request-id": [ + "565195fe-0bec-44d7-84dd-5123349302d4" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225321Z:565195fe-0bec-44d7-84dd-5123349302d4" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "307" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7081\",\r\n \"name\": \"IntegrationAccount7081\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7081/agreements/IntegrationAccountAgreement904?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NzA4MS9hZ3JlZW1lbnRzL0ludGVncmF0aW9uQWNjb3VudEFncmVlbWVudDkwND9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"agreementType\": \"AS2\",\r\n \"hostPartner\": \"HostPartner\",\r\n \"guestPartner\": \"GuestPartner\",\r\n \"hostIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"guestIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"content\": {\r\n \"aS2\": {\r\n \"receiveAgreement\": {\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"protocolSettings\": {\r\n \"messageConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"acknowledgementConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"mdnSettings\": {\r\n \"needMdn\": true,\r\n \"signMdn\": true,\r\n \"sendMdnAsynchronously\": true,\r\n \"receiptDeliveryUrl\": \"http://tempuri.org\",\r\n \"dispositionNotificationTo\": \"http://tempuri.org\",\r\n \"signOutboundMdnIfOptional\": true,\r\n \"mdnText\": \"Sample\",\r\n \"sendInboundMdnToMessageBox\": true,\r\n \"micHashingAlgorithm\": \"MD5\"\r\n },\r\n \"securitySettings\": {\r\n \"overrideGroupSigningCertificate\": false,\r\n \"enableNrrForInboundEncodedMessages\": true,\r\n \"enableNrrForInboundDecodedMessages\": true,\r\n \"enableNrrForOutboundMdn\": true,\r\n \"enableNrrForOutboundEncodedMessages\": true,\r\n \"enableNrrForOutboundDecodedMessages\": true,\r\n \"enableNrrForInboundMdn\": true\r\n },\r\n \"validationSettings\": {\r\n \"overrideMessageProperties\": true,\r\n \"encryptMessage\": false,\r\n \"signMessage\": false,\r\n \"compressMessage\": true,\r\n \"checkDuplicateMessage\": true,\r\n \"interchangeDuplicatesValidityDays\": 100,\r\n \"checkCertificateRevocationListOnSend\": true,\r\n \"checkCertificateRevocationListOnReceive\": true,\r\n \"encryptionAlgorithm\": \"AES128\"\r\n },\r\n \"envelopeSettings\": {\r\n \"messageContentType\": \"text/plain\",\r\n \"transmitFileNameInMimeHeader\": true,\r\n \"fileNameTemplate\": \"Test\",\r\n \"suspendMessageOnFileNameGenerationError\": true,\r\n \"autogenerateFileName\": true\r\n },\r\n \"errorSettings\": {\r\n \"suspendDuplicateMessage\": true,\r\n \"resendIfMdnNotReceived\": true\r\n }\r\n }\r\n },\r\n \"sendAgreement\": {\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"protocolSettings\": {\r\n \"messageConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"acknowledgementConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"mdnSettings\": {\r\n \"needMdn\": true,\r\n \"signMdn\": true,\r\n \"sendMdnAsynchronously\": true,\r\n \"receiptDeliveryUrl\": \"http://tempuri.org\",\r\n \"dispositionNotificationTo\": \"http://tempuri.org\",\r\n \"signOutboundMdnIfOptional\": true,\r\n \"mdnText\": \"Sample\",\r\n \"sendInboundMdnToMessageBox\": true,\r\n \"micHashingAlgorithm\": \"MD5\"\r\n },\r\n \"securitySettings\": {\r\n \"overrideGroupSigningCertificate\": false,\r\n \"enableNrrForInboundEncodedMessages\": true,\r\n \"enableNrrForInboundDecodedMessages\": true,\r\n \"enableNrrForOutboundMdn\": true,\r\n \"enableNrrForOutboundEncodedMessages\": true,\r\n \"enableNrrForOutboundDecodedMessages\": true,\r\n \"enableNrrForInboundMdn\": true\r\n },\r\n \"validationSettings\": {\r\n \"overrideMessageProperties\": true,\r\n \"encryptMessage\": false,\r\n \"signMessage\": false,\r\n \"compressMessage\": true,\r\n \"checkDuplicateMessage\": true,\r\n \"interchangeDuplicatesValidityDays\": 100,\r\n \"checkCertificateRevocationListOnSend\": true,\r\n \"checkCertificateRevocationListOnReceive\": true,\r\n \"encryptionAlgorithm\": \"AES128\"\r\n },\r\n \"envelopeSettings\": {\r\n \"messageContentType\": \"text/plain\",\r\n \"transmitFileNameInMimeHeader\": true,\r\n \"fileNameTemplate\": \"Test\",\r\n \"suspendMessageOnFileNameGenerationError\": true,\r\n \"autogenerateFileName\": true\r\n },\r\n \"errorSettings\": {\r\n \"suspendDuplicateMessage\": true,\r\n \"resendIfMdnNotReceived\": true\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "24c47d0d-9913-4de5-b047-359dd7843823" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "5694" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:21 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:21bd7bd8-f7da-45e6-a29e-876a5d1a1986" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1193" + ], + "x-ms-correlation-request-id": [ + "a9435205-27ca-4db0-9382-b3d56c706162" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225322Z:a9435205-27ca-4db0-9382-b3d56c706162" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "3870" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"hostPartner\": \"HostPartner\",\r\n \"guestPartner\": \"GuestPartner\",\r\n \"hostIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"guestIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"agreementType\": \"AS2\",\r\n \"content\": {\r\n \"aS2\": {\r\n \"receiveAgreement\": {\r\n \"protocolSettings\": {\r\n \"messageConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"acknowledgementConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"mdnSettings\": {\r\n \"needMDN\": true,\r\n \"signMDN\": true,\r\n \"sendMDNAsynchronously\": true,\r\n \"receiptDeliveryUrl\": \"http://tempuri.org\",\r\n \"dispositionNotificationTo\": \"http://tempuri.org\",\r\n \"signOutboundMDNIfOptional\": true,\r\n \"mdnText\": \"Sample\",\r\n \"sendInboundMDNToMessageBox\": true,\r\n \"micHashingAlgorithm\": \"MD5\"\r\n },\r\n \"securitySettings\": {\r\n \"overrideGroupSigningCertificate\": false,\r\n \"enableNRRForInboundEncodedMessages\": true,\r\n \"enableNRRForInboundDecodedMessages\": true,\r\n \"enableNRRForOutboundMDN\": true,\r\n \"enableNRRForOutboundEncodedMessages\": true,\r\n \"enableNRRForOutboundDecodedMessages\": true,\r\n \"enableNRRForInboundMDN\": true\r\n },\r\n \"validationSettings\": {\r\n \"overrideMessageProperties\": true,\r\n \"encryptMessage\": false,\r\n \"signMessage\": false,\r\n \"compressMessage\": true,\r\n \"checkDuplicateMessage\": true,\r\n \"interchangeDuplicatesValidityDays\": 100,\r\n \"checkCertificateRevocationListOnSend\": true,\r\n \"checkCertificateRevocationListOnReceive\": true,\r\n \"encryptionAlgorithm\": \"AES128\"\r\n },\r\n \"envelopeSettings\": {\r\n \"messageContentType\": \"text/plain\",\r\n \"transmitFileNameInMimeHeader\": true,\r\n \"fileNameTemplate\": \"Test\",\r\n \"suspendMessageOnFileNameGenerationError\": true,\r\n \"autogenerateFileName\": true\r\n },\r\n \"errorSettings\": {\r\n \"suspendDuplicateMessage\": true,\r\n \"resendIfMDNNotReceived\": true\r\n }\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n }\r\n },\r\n \"sendAgreement\": {\r\n \"protocolSettings\": {\r\n \"messageConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"acknowledgementConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"mdnSettings\": {\r\n \"needMDN\": true,\r\n \"signMDN\": true,\r\n \"sendMDNAsynchronously\": true,\r\n \"receiptDeliveryUrl\": \"http://tempuri.org\",\r\n \"dispositionNotificationTo\": \"http://tempuri.org\",\r\n \"signOutboundMDNIfOptional\": true,\r\n \"mdnText\": \"Sample\",\r\n \"sendInboundMDNToMessageBox\": true,\r\n \"micHashingAlgorithm\": \"MD5\"\r\n },\r\n \"securitySettings\": {\r\n \"overrideGroupSigningCertificate\": false,\r\n \"enableNRRForInboundEncodedMessages\": true,\r\n \"enableNRRForInboundDecodedMessages\": true,\r\n \"enableNRRForOutboundMDN\": true,\r\n \"enableNRRForOutboundEncodedMessages\": true,\r\n \"enableNRRForOutboundDecodedMessages\": true,\r\n \"enableNRRForInboundMDN\": true\r\n },\r\n \"validationSettings\": {\r\n \"overrideMessageProperties\": true,\r\n \"encryptMessage\": false,\r\n \"signMessage\": false,\r\n \"compressMessage\": true,\r\n \"checkDuplicateMessage\": true,\r\n \"interchangeDuplicatesValidityDays\": 100,\r\n \"checkCertificateRevocationListOnSend\": true,\r\n \"checkCertificateRevocationListOnReceive\": true,\r\n \"encryptionAlgorithm\": \"AES128\"\r\n },\r\n \"envelopeSettings\": {\r\n \"messageContentType\": \"text/plain\",\r\n \"transmitFileNameInMimeHeader\": true,\r\n \"fileNameTemplate\": \"Test\",\r\n \"suspendMessageOnFileNameGenerationError\": true,\r\n \"autogenerateFileName\": true\r\n },\r\n \"errorSettings\": {\r\n \"suspendDuplicateMessage\": true,\r\n \"resendIfMDNNotReceived\": true\r\n }\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n }\r\n }\r\n }\r\n },\r\n \"createdTime\": \"2018-09-19T22:53:21.9730294Z\",\r\n \"changedTime\": \"2018-09-19T22:53:21.9733304Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7081/agreements/IntegrationAccountAgreement904\",\r\n \"name\": \"IntegrationAccountAgreement904\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/agreements\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7081?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NzA4MT9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "b1eef748-f9fb-47f8-bef6-590c85e44e71" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:22 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:06e5dacd-d7ed-42ee-aeb8-636dd7ac5191" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14996" + ], + "x-ms-correlation-request-id": [ + "7a129a39-ed7a-4cf6-9648-35703d088b89" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225322Z:7a129a39-ed7a-4cf6-9648-35703d088b89" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7081/agreements/IntegrationAccountAgreement904?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NzA4MS9hZ3JlZW1lbnRzL0ludGVncmF0aW9uQWNjb3VudEFncmVlbWVudDkwND9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "d8597a7c-81a2-4fef-b28d-f5023453a422" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:22 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "3ef0654b-a91d-4b72-8b69-174fd4a107cd" + ], + "x-ms-correlation-request-id": [ + "3ef0654b-a91d-4b72-8b69-174fd4a107cd" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225322Z:3ef0654b-a91d-4b72-8b69-174fd4a107cd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "168" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Logic/integrationAccounts/IntegrationAccount7081' under resource group 'flowrg' was not found.\"\r\n }\r\n}", + "StatusCode": 404 + } + ], + "Names": { + "IntegrationAccountAgreements_DeleteWhenDeleteIntegrationAccount_OK": [ + "IntegrationAccount7081", + "IntegrationAccountAgreement904" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAgreementsScenarioTests/IntegrationAccountAgreements_Delete_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAgreementsScenarioTests/IntegrationAccountAgreements_Delete_OK.json new file mode 100644 index 0000000000000..eb3ae96b34854 --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAgreementsScenarioTests/IntegrationAccountAgreements_Delete_OK.json @@ -0,0 +1,425 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "2adf4c06-2d6c-4a27-8707-7b4e4d8651b5" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:36 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-request-id": [ + "b847c913-ab88-4352-845f-068914427ae7" + ], + "x-ms-correlation-request-id": [ + "b847c913-ab88-4352-845f-068914427ae7" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225336Z:b847c913-ab88-4352-845f-068914427ae7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "b3639299-8355-4d90-913a-39ca607a12f4" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:36 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19998" + ], + "x-ms-request-id": [ + "a6718ffd-0051-4fb2-8da1-2cc52b4e94f7" + ], + "x-ms-correlation-request-id": [ + "a6718ffd-0051-4fb2-8da1-2cc52b4e94f7" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225336Z:a6718ffd-0051-4fb2-8da1-2cc52b4e94f7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount976?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50OTc2P2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "e4bb1319-44c7-4fb1-a921-ce3637008c47" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:37 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:37892287-c919-49d1-81ab-aefca49108cc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-correlation-request-id": [ + "3365ef8c-e762-4a73-96d7-812a00f71592" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225337Z:3365ef8c-e762-4a73-96d7-812a00f71592" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "305" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount976\",\r\n \"name\": \"IntegrationAccount976\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount976/agreements/IntegrationAccountAgreement2982?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50OTc2L2FncmVlbWVudHMvSW50ZWdyYXRpb25BY2NvdW50QWdyZWVtZW50Mjk4Mj9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"agreementType\": \"AS2\",\r\n \"hostPartner\": \"HostPartner\",\r\n \"guestPartner\": \"GuestPartner\",\r\n \"hostIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"guestIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"content\": {\r\n \"aS2\": {\r\n \"receiveAgreement\": {\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"protocolSettings\": {\r\n \"messageConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"acknowledgementConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"mdnSettings\": {\r\n \"needMdn\": true,\r\n \"signMdn\": true,\r\n \"sendMdnAsynchronously\": true,\r\n \"receiptDeliveryUrl\": \"http://tempuri.org\",\r\n \"dispositionNotificationTo\": \"http://tempuri.org\",\r\n \"signOutboundMdnIfOptional\": true,\r\n \"mdnText\": \"Sample\",\r\n \"sendInboundMdnToMessageBox\": true,\r\n \"micHashingAlgorithm\": \"MD5\"\r\n },\r\n \"securitySettings\": {\r\n \"overrideGroupSigningCertificate\": false,\r\n \"enableNrrForInboundEncodedMessages\": true,\r\n \"enableNrrForInboundDecodedMessages\": true,\r\n \"enableNrrForOutboundMdn\": true,\r\n \"enableNrrForOutboundEncodedMessages\": true,\r\n \"enableNrrForOutboundDecodedMessages\": true,\r\n \"enableNrrForInboundMdn\": true\r\n },\r\n \"validationSettings\": {\r\n \"overrideMessageProperties\": true,\r\n \"encryptMessage\": false,\r\n \"signMessage\": false,\r\n \"compressMessage\": true,\r\n \"checkDuplicateMessage\": true,\r\n \"interchangeDuplicatesValidityDays\": 100,\r\n \"checkCertificateRevocationListOnSend\": true,\r\n \"checkCertificateRevocationListOnReceive\": true,\r\n \"encryptionAlgorithm\": \"AES128\"\r\n },\r\n \"envelopeSettings\": {\r\n \"messageContentType\": \"text/plain\",\r\n \"transmitFileNameInMimeHeader\": true,\r\n \"fileNameTemplate\": \"Test\",\r\n \"suspendMessageOnFileNameGenerationError\": true,\r\n \"autogenerateFileName\": true\r\n },\r\n \"errorSettings\": {\r\n \"suspendDuplicateMessage\": true,\r\n \"resendIfMdnNotReceived\": true\r\n }\r\n }\r\n },\r\n \"sendAgreement\": {\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"protocolSettings\": {\r\n \"messageConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"acknowledgementConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"mdnSettings\": {\r\n \"needMdn\": true,\r\n \"signMdn\": true,\r\n \"sendMdnAsynchronously\": true,\r\n \"receiptDeliveryUrl\": \"http://tempuri.org\",\r\n \"dispositionNotificationTo\": \"http://tempuri.org\",\r\n \"signOutboundMdnIfOptional\": true,\r\n \"mdnText\": \"Sample\",\r\n \"sendInboundMdnToMessageBox\": true,\r\n \"micHashingAlgorithm\": \"MD5\"\r\n },\r\n \"securitySettings\": {\r\n \"overrideGroupSigningCertificate\": false,\r\n \"enableNrrForInboundEncodedMessages\": true,\r\n \"enableNrrForInboundDecodedMessages\": true,\r\n \"enableNrrForOutboundMdn\": true,\r\n \"enableNrrForOutboundEncodedMessages\": true,\r\n \"enableNrrForOutboundDecodedMessages\": true,\r\n \"enableNrrForInboundMdn\": true\r\n },\r\n \"validationSettings\": {\r\n \"overrideMessageProperties\": true,\r\n \"encryptMessage\": false,\r\n \"signMessage\": false,\r\n \"compressMessage\": true,\r\n \"checkDuplicateMessage\": true,\r\n \"interchangeDuplicatesValidityDays\": 100,\r\n \"checkCertificateRevocationListOnSend\": true,\r\n \"checkCertificateRevocationListOnReceive\": true,\r\n \"encryptionAlgorithm\": \"AES128\"\r\n },\r\n \"envelopeSettings\": {\r\n \"messageContentType\": \"text/plain\",\r\n \"transmitFileNameInMimeHeader\": true,\r\n \"fileNameTemplate\": \"Test\",\r\n \"suspendMessageOnFileNameGenerationError\": true,\r\n \"autogenerateFileName\": true\r\n },\r\n \"errorSettings\": {\r\n \"suspendDuplicateMessage\": true,\r\n \"resendIfMdnNotReceived\": true\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "65e80409-05b1-44b1-bc8f-353dfa653772" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "5694" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:37 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:45b5ded6-5083-4424-a047-553322ce4a40" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-correlation-request-id": [ + "de8bdbad-9506-46e2-b317-9506675ecbc7" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225337Z:de8bdbad-9506-46e2-b317-9506675ecbc7" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "3871" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"hostPartner\": \"HostPartner\",\r\n \"guestPartner\": \"GuestPartner\",\r\n \"hostIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"guestIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"agreementType\": \"AS2\",\r\n \"content\": {\r\n \"aS2\": {\r\n \"receiveAgreement\": {\r\n \"protocolSettings\": {\r\n \"messageConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"acknowledgementConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"mdnSettings\": {\r\n \"needMDN\": true,\r\n \"signMDN\": true,\r\n \"sendMDNAsynchronously\": true,\r\n \"receiptDeliveryUrl\": \"http://tempuri.org\",\r\n \"dispositionNotificationTo\": \"http://tempuri.org\",\r\n \"signOutboundMDNIfOptional\": true,\r\n \"mdnText\": \"Sample\",\r\n \"sendInboundMDNToMessageBox\": true,\r\n \"micHashingAlgorithm\": \"MD5\"\r\n },\r\n \"securitySettings\": {\r\n \"overrideGroupSigningCertificate\": false,\r\n \"enableNRRForInboundEncodedMessages\": true,\r\n \"enableNRRForInboundDecodedMessages\": true,\r\n \"enableNRRForOutboundMDN\": true,\r\n \"enableNRRForOutboundEncodedMessages\": true,\r\n \"enableNRRForOutboundDecodedMessages\": true,\r\n \"enableNRRForInboundMDN\": true\r\n },\r\n \"validationSettings\": {\r\n \"overrideMessageProperties\": true,\r\n \"encryptMessage\": false,\r\n \"signMessage\": false,\r\n \"compressMessage\": true,\r\n \"checkDuplicateMessage\": true,\r\n \"interchangeDuplicatesValidityDays\": 100,\r\n \"checkCertificateRevocationListOnSend\": true,\r\n \"checkCertificateRevocationListOnReceive\": true,\r\n \"encryptionAlgorithm\": \"AES128\"\r\n },\r\n \"envelopeSettings\": {\r\n \"messageContentType\": \"text/plain\",\r\n \"transmitFileNameInMimeHeader\": true,\r\n \"fileNameTemplate\": \"Test\",\r\n \"suspendMessageOnFileNameGenerationError\": true,\r\n \"autogenerateFileName\": true\r\n },\r\n \"errorSettings\": {\r\n \"suspendDuplicateMessage\": true,\r\n \"resendIfMDNNotReceived\": true\r\n }\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n }\r\n },\r\n \"sendAgreement\": {\r\n \"protocolSettings\": {\r\n \"messageConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"acknowledgementConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"mdnSettings\": {\r\n \"needMDN\": true,\r\n \"signMDN\": true,\r\n \"sendMDNAsynchronously\": true,\r\n \"receiptDeliveryUrl\": \"http://tempuri.org\",\r\n \"dispositionNotificationTo\": \"http://tempuri.org\",\r\n \"signOutboundMDNIfOptional\": true,\r\n \"mdnText\": \"Sample\",\r\n \"sendInboundMDNToMessageBox\": true,\r\n \"micHashingAlgorithm\": \"MD5\"\r\n },\r\n \"securitySettings\": {\r\n \"overrideGroupSigningCertificate\": false,\r\n \"enableNRRForInboundEncodedMessages\": true,\r\n \"enableNRRForInboundDecodedMessages\": true,\r\n \"enableNRRForOutboundMDN\": true,\r\n \"enableNRRForOutboundEncodedMessages\": true,\r\n \"enableNRRForOutboundDecodedMessages\": true,\r\n \"enableNRRForInboundMDN\": true\r\n },\r\n \"validationSettings\": {\r\n \"overrideMessageProperties\": true,\r\n \"encryptMessage\": false,\r\n \"signMessage\": false,\r\n \"compressMessage\": true,\r\n \"checkDuplicateMessage\": true,\r\n \"interchangeDuplicatesValidityDays\": 100,\r\n \"checkCertificateRevocationListOnSend\": true,\r\n \"checkCertificateRevocationListOnReceive\": true,\r\n \"encryptionAlgorithm\": \"AES128\"\r\n },\r\n \"envelopeSettings\": {\r\n \"messageContentType\": \"text/plain\",\r\n \"transmitFileNameInMimeHeader\": true,\r\n \"fileNameTemplate\": \"Test\",\r\n \"suspendMessageOnFileNameGenerationError\": true,\r\n \"autogenerateFileName\": true\r\n },\r\n \"errorSettings\": {\r\n \"suspendDuplicateMessage\": true,\r\n \"resendIfMDNNotReceived\": true\r\n }\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n }\r\n }\r\n }\r\n },\r\n \"createdTime\": \"2018-09-19T22:53:37.5573201Z\",\r\n \"changedTime\": \"2018-09-19T22:53:37.5588638Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount976/agreements/IntegrationAccountAgreement2982\",\r\n \"name\": \"IntegrationAccountAgreement2982\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/agreements\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount976/agreements/IntegrationAccountAgreement2982?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50OTc2L2FncmVlbWVudHMvSW50ZWdyYXRpb25BY2NvdW50QWdyZWVtZW50Mjk4Mj9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "e07d132d-48b1-4145-99c0-237dd2461338" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:37 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:298545c9-8e73-4f07-898e-469d96c3a580" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "c1abf19b-7f4a-43b8-9c71-a7e3b6b630ba" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225337Z:c1abf19b-7f4a-43b8-9c71-a7e3b6b630ba" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount976/agreements/IntegrationAccountAgreement2982?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50OTc2L2FncmVlbWVudHMvSW50ZWdyYXRpb25BY2NvdW50QWdyZWVtZW50Mjk4Mj9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "fac152e5-33f9-4952-b35c-7d447f4f72ef" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:37 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:84f4785e-c7d3-4f25-ac9c-b2024f486f14" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-correlation-request-id": [ + "0432d99a-2d72-4261-a164-53f4e70f2071" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225338Z:0432d99a-2d72-4261-a164-53f4e70f2071" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "165" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"AgreementNotFound\",\r\n \"message\": \"The agreement 'IntegrationAccountAgreement2982' could not be found in integration account 'IntegrationAccount976'.\"\r\n }\r\n}", + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount976?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50OTc2P2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "3eed014f-c03f-4d1e-aad2-b96a9d1c7d53" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:38 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:516c275b-63a4-4e32-854e-0a763bd299ee" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14997" + ], + "x-ms-correlation-request-id": [ + "20f7fa7c-4d72-4d5f-9596-81b42300771a" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225338Z:20f7fa7c-4d72-4d5f-9596-81b42300771a" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "IntegrationAccountAgreements_Delete_OK": [ + "IntegrationAccount976", + "IntegrationAccountAgreement2982" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAgreementScenarioTests/CreateAndDeleteIntegrationAccountAgreement.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAgreementsScenarioTests/IntegrationAccountAgreements_Get_OK.json similarity index 60% rename from src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAgreementScenarioTests/CreateAndDeleteIntegrationAccountAgreement.json rename to src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAgreementsScenarioTests/IntegrationAccountAgreements_Get_OK.json index 8cfae670083ae..1e8ceb366c497 100644 --- a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAgreementScenarioTests/CreateAndDeleteIntegrationAccountAgreement.json +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAgreementsScenarioTests/IntegrationAccountAgreements_Get_OK.json @@ -1,295 +1,370 @@ { "Entries": [ { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5142?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NTE0Mj9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "91" - ], "x-ms-client-request-id": [ - "0a365d6b-8745-4ae7-81e6-cf8fe26e6360" + "1f41ea81-6a2d-4566-8508-d2f4c0af229c" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ] }, - "ResponseBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5142\",\r\n \"name\": \"IntegrationAccount5142\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:02 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-request-id": [ + "e191aa64-dc93-4277-93ba-b288097e5ef6" + ], + "x-ms-correlation-request-id": [ + "e191aa64-dc93-4277-93ba-b288097e5ef6" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225302Z:e191aa64-dc93-4277-93ba-b288097e5ef6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], "Content-Length": [ - "290" + "12" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "4c5c222f-e701-4d63-b773-ba8a7dc9df3a" + ], + "accept-language": [ + "en-US" ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:56:43 GMT" + "Wed, 19 Sep 2018 22:53:02 GMT" ], "Pragma": [ "no-cache" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19992" + ], "x-ms-request-id": [ - "westus:67ff2ffb-1252-43de-b589-5ddc19ab1466" + "e3f1e419-283d-4974-87f0-cce129369c78" + ], + "x-ms-correlation-request-id": [ + "e3f1e419-283d-4974-87f0-cce129369c78" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225302Z:e3f1e419-283d-4974-87f0-cce129369c78" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1194" + "X-Content-Type-Options": [ + "nosniff" ], - "x-ms-correlation-request-id": [ - "d3840975-6d28-4874-b011-773dadfea513" + "Content-Length": [ + "12" ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215644Z:d3840975-6d28-4874-b011-773dadfea513" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 201 + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5142/agreements/IntegrationAccountAgreement8124?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NTE0Mi9hZ3JlZW1lbnRzL0ludGVncmF0aW9uQWNjb3VudEFncmVlbWVudDgxMjQ/YXBpLXZlcnNpb249MjAxNi0wNi0wMQ==", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2794?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50Mjc5ND9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"metadata\": \"IntegrationAccountAgreement8124\",\r\n \"agreementType\": \"AS2\",\r\n \"hostPartner\": \"HostPartner\",\r\n \"guestPartner\": \"GuestPartner\",\r\n \"hostIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"guestIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"content\": {\r\n \"AS2\": {\r\n \"receiveAgreement\": {\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"protocolSettings\": {\r\n \"messageConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"acknowledgementConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"mdnSettings\": {\r\n \"needMdn\": true,\r\n \"signMdn\": true,\r\n \"sendMdnAsynchronously\": true,\r\n \"receiptDeliveryUrl\": \"http://tempuri.org\",\r\n \"dispositionNotificationTo\": \"http://tempuri.org\",\r\n \"signOutboundMdnIfOptional\": true,\r\n \"mdnText\": \"Sample\",\r\n \"sendInboundMdnToMessageBox\": true,\r\n \"micHashingAlgorithm\": \"MD5\"\r\n },\r\n \"securitySettings\": {\r\n \"overrideGroupSigningCertificate\": false,\r\n \"enableNrrForInboundEncodedMessages\": true,\r\n \"enableNrrForInboundDecodedMessages\": true,\r\n \"enableNrrForOutboundMdn\": true,\r\n \"enableNrrForOutboundEncodedMessages\": true,\r\n \"enableNrrForOutboundDecodedMessages\": true,\r\n \"enableNrrForInboundMdn\": true\r\n },\r\n \"validationSettings\": {\r\n \"overrideMessageProperties\": true,\r\n \"encryptMessage\": false,\r\n \"signMessage\": false,\r\n \"compressMessage\": true,\r\n \"checkDuplicateMessage\": true,\r\n \"interchangeDuplicatesValidityDays\": 100,\r\n \"checkCertificateRevocationListOnSend\": true,\r\n \"checkCertificateRevocationListOnReceive\": true,\r\n \"encryptionAlgorithm\": \"AES128\"\r\n },\r\n \"envelopeSettings\": {\r\n \"messageContentType\": \"text/plain\",\r\n \"transmitFileNameInMimeHeader\": true,\r\n \"fileNameTemplate\": \"Test\",\r\n \"suspendMessageOnFileNameGenerationError\": true,\r\n \"autogenerateFileName\": true\r\n },\r\n \"errorSettings\": {\r\n \"suspendDuplicateMessage\": true,\r\n \"resendIfMdnNotReceived\": true\r\n }\r\n }\r\n },\r\n \"sendAgreement\": {\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"protocolSettings\": {\r\n \"messageConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"acknowledgementConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"mdnSettings\": {\r\n \"needMdn\": true,\r\n \"signMdn\": true,\r\n \"sendMdnAsynchronously\": true,\r\n \"receiptDeliveryUrl\": \"http://tempuri.org\",\r\n \"dispositionNotificationTo\": \"http://tempuri.org\",\r\n \"signOutboundMdnIfOptional\": true,\r\n \"mdnText\": \"Sample\",\r\n \"sendInboundMdnToMessageBox\": true,\r\n \"micHashingAlgorithm\": \"MD5\"\r\n },\r\n \"securitySettings\": {\r\n \"overrideGroupSigningCertificate\": false,\r\n \"enableNrrForInboundEncodedMessages\": true,\r\n \"enableNrrForInboundDecodedMessages\": true,\r\n \"enableNrrForOutboundMdn\": true,\r\n \"enableNrrForOutboundEncodedMessages\": true,\r\n \"enableNrrForOutboundDecodedMessages\": true,\r\n \"enableNrrForInboundMdn\": true\r\n },\r\n \"validationSettings\": {\r\n \"overrideMessageProperties\": true,\r\n \"encryptMessage\": false,\r\n \"signMessage\": false,\r\n \"compressMessage\": true,\r\n \"checkDuplicateMessage\": true,\r\n \"interchangeDuplicatesValidityDays\": 100,\r\n \"checkCertificateRevocationListOnSend\": true,\r\n \"checkCertificateRevocationListOnReceive\": true,\r\n \"encryptionAlgorithm\": \"AES128\"\r\n },\r\n \"envelopeSettings\": {\r\n \"messageContentType\": \"text/plain\",\r\n \"transmitFileNameInMimeHeader\": true,\r\n \"fileNameTemplate\": \"Test\",\r\n \"suspendMessageOnFileNameGenerationError\": true,\r\n \"autogenerateFileName\": true\r\n },\r\n \"errorSettings\": {\r\n \"suspendDuplicateMessage\": true,\r\n \"resendIfMdnNotReceived\": true\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"IntegrationAccountAgreement\": \"IntegrationAccountAgreement8124\"\r\n }\r\n}", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "5860" - ], "x-ms-client-request-id": [ - "bad0819a-d0d8-45e7-85fe-d66c1ff4027e" + "0b3a730f-4b2f-4cc3-83f6-c337ef031d47" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"hostPartner\": \"HostPartner\",\r\n \"guestPartner\": \"GuestPartner\",\r\n \"hostIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"guestIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"agreementType\": \"AS2\",\r\n \"content\": {\r\n \"aS2\": {\r\n \"receiveAgreement\": {\r\n \"protocolSettings\": {\r\n \"messageConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"acknowledgementConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"mdnSettings\": {\r\n \"needMDN\": true,\r\n \"signMDN\": true,\r\n \"sendMDNAsynchronously\": true,\r\n \"receiptDeliveryUrl\": \"http://tempuri.org\",\r\n \"dispositionNotificationTo\": \"http://tempuri.org\",\r\n \"signOutboundMDNIfOptional\": true,\r\n \"mdnText\": \"Sample\",\r\n \"sendInboundMDNToMessageBox\": true,\r\n \"micHashingAlgorithm\": \"MD5\"\r\n },\r\n \"securitySettings\": {\r\n \"overrideGroupSigningCertificate\": false,\r\n \"enableNRRForInboundEncodedMessages\": true,\r\n \"enableNRRForInboundDecodedMessages\": true,\r\n \"enableNRRForOutboundMDN\": true,\r\n \"enableNRRForOutboundEncodedMessages\": true,\r\n \"enableNRRForOutboundDecodedMessages\": true,\r\n \"enableNRRForInboundMDN\": true\r\n },\r\n \"validationSettings\": {\r\n \"overrideMessageProperties\": true,\r\n \"encryptMessage\": false,\r\n \"signMessage\": false,\r\n \"compressMessage\": true,\r\n \"checkDuplicateMessage\": true,\r\n \"interchangeDuplicatesValidityDays\": 100,\r\n \"checkCertificateRevocationListOnSend\": true,\r\n \"checkCertificateRevocationListOnReceive\": true,\r\n \"encryptionAlgorithm\": \"AES128\"\r\n },\r\n \"envelopeSettings\": {\r\n \"messageContentType\": \"text/plain\",\r\n \"transmitFileNameInMimeHeader\": true,\r\n \"fileNameTemplate\": \"Test\",\r\n \"suspendMessageOnFileNameGenerationError\": true,\r\n \"autogenerateFileName\": true\r\n },\r\n \"errorSettings\": {\r\n \"suspendDuplicateMessage\": true,\r\n \"resendIfMDNNotReceived\": true\r\n }\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n }\r\n },\r\n \"sendAgreement\": {\r\n \"protocolSettings\": {\r\n \"messageConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"acknowledgementConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"mdnSettings\": {\r\n \"needMDN\": true,\r\n \"signMDN\": true,\r\n \"sendMDNAsynchronously\": true,\r\n \"receiptDeliveryUrl\": \"http://tempuri.org\",\r\n \"dispositionNotificationTo\": \"http://tempuri.org\",\r\n \"signOutboundMDNIfOptional\": true,\r\n \"mdnText\": \"Sample\",\r\n \"sendInboundMDNToMessageBox\": true,\r\n \"micHashingAlgorithm\": \"MD5\"\r\n },\r\n \"securitySettings\": {\r\n \"overrideGroupSigningCertificate\": false,\r\n \"enableNRRForInboundEncodedMessages\": true,\r\n \"enableNRRForInboundDecodedMessages\": true,\r\n \"enableNRRForOutboundMDN\": true,\r\n \"enableNRRForOutboundEncodedMessages\": true,\r\n \"enableNRRForOutboundDecodedMessages\": true,\r\n \"enableNRRForInboundMDN\": true\r\n },\r\n \"validationSettings\": {\r\n \"overrideMessageProperties\": true,\r\n \"encryptMessage\": false,\r\n \"signMessage\": false,\r\n \"compressMessage\": true,\r\n \"checkDuplicateMessage\": true,\r\n \"interchangeDuplicatesValidityDays\": 100,\r\n \"checkCertificateRevocationListOnSend\": true,\r\n \"checkCertificateRevocationListOnReceive\": true,\r\n \"encryptionAlgorithm\": \"AES128\"\r\n },\r\n \"envelopeSettings\": {\r\n \"messageContentType\": \"text/plain\",\r\n \"transmitFileNameInMimeHeader\": true,\r\n \"fileNameTemplate\": \"Test\",\r\n \"suspendMessageOnFileNameGenerationError\": true,\r\n \"autogenerateFileName\": true\r\n },\r\n \"errorSettings\": {\r\n \"suspendDuplicateMessage\": true,\r\n \"resendIfMDNNotReceived\": true\r\n }\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n }\r\n }\r\n }\r\n },\r\n \"createdTime\": \"2017-03-01T21:56:44.2301383Z\",\r\n \"changedTime\": \"2017-03-01T21:56:44.2310296Z\",\r\n \"metadata\": \"IntegrationAccountAgreement8124\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5142/agreements/IntegrationAccountAgreement8124\",\r\n \"name\": \"IntegrationAccountAgreement8124\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/agreements\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "3917" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:56:43 GMT" + "Wed, 19 Sep 2018 22:53:03 GMT" ], "Pragma": [ "no-cache" ], "x-ms-request-id": [ - "westus:6bfd5ffe-2a51-46f5-9385-d4278a9f4d27" + "westus:e48ac536-bcb1-496e-978c-bc8d2b97b4d0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1193" + "1198" ], "x-ms-correlation-request-id": [ - "fb8dc6b9-c0d0-4288-8f92-3b02660bda52" + "bfa71e9c-cf2d-4139-a955-9a534ff951ce" ], "x-ms-routing-request-id": [ - "WESTUS2:20170301T215644Z:fb8dc6b9-c0d0-4288-8f92-3b02660bda52" + "WESTUS2:20180919T225303Z:bfa71e9c-cf2d-4139-a955-9a534ff951ce" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "307" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2794\",\r\n \"name\": \"IntegrationAccount2794\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", "StatusCode": 201 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5142/agreements/IntegrationAccountAgreement8124?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NTE0Mi9hZ3JlZW1lbnRzL0ludGVncmF0aW9uQWNjb3VudEFncmVlbWVudDgxMjQ/YXBpLXZlcnNpb249MjAxNi0wNi0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2794/agreements/IntegrationAccountAgreement9192?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50Mjc5NC9hZ3JlZW1lbnRzL0ludGVncmF0aW9uQWNjb3VudEFncmVlbWVudDkxOTI/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"agreementType\": \"AS2\",\r\n \"hostPartner\": \"HostPartner\",\r\n \"guestPartner\": \"GuestPartner\",\r\n \"hostIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"guestIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"content\": {\r\n \"aS2\": {\r\n \"receiveAgreement\": {\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"protocolSettings\": {\r\n \"messageConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"acknowledgementConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"mdnSettings\": {\r\n \"needMdn\": true,\r\n \"signMdn\": true,\r\n \"sendMdnAsynchronously\": true,\r\n \"receiptDeliveryUrl\": \"http://tempuri.org\",\r\n \"dispositionNotificationTo\": \"http://tempuri.org\",\r\n \"signOutboundMdnIfOptional\": true,\r\n \"mdnText\": \"Sample\",\r\n \"sendInboundMdnToMessageBox\": true,\r\n \"micHashingAlgorithm\": \"MD5\"\r\n },\r\n \"securitySettings\": {\r\n \"overrideGroupSigningCertificate\": false,\r\n \"enableNrrForInboundEncodedMessages\": true,\r\n \"enableNrrForInboundDecodedMessages\": true,\r\n \"enableNrrForOutboundMdn\": true,\r\n \"enableNrrForOutboundEncodedMessages\": true,\r\n \"enableNrrForOutboundDecodedMessages\": true,\r\n \"enableNrrForInboundMdn\": true\r\n },\r\n \"validationSettings\": {\r\n \"overrideMessageProperties\": true,\r\n \"encryptMessage\": false,\r\n \"signMessage\": false,\r\n \"compressMessage\": true,\r\n \"checkDuplicateMessage\": true,\r\n \"interchangeDuplicatesValidityDays\": 100,\r\n \"checkCertificateRevocationListOnSend\": true,\r\n \"checkCertificateRevocationListOnReceive\": true,\r\n \"encryptionAlgorithm\": \"AES128\"\r\n },\r\n \"envelopeSettings\": {\r\n \"messageContentType\": \"text/plain\",\r\n \"transmitFileNameInMimeHeader\": true,\r\n \"fileNameTemplate\": \"Test\",\r\n \"suspendMessageOnFileNameGenerationError\": true,\r\n \"autogenerateFileName\": true\r\n },\r\n \"errorSettings\": {\r\n \"suspendDuplicateMessage\": true,\r\n \"resendIfMdnNotReceived\": true\r\n }\r\n }\r\n },\r\n \"sendAgreement\": {\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"protocolSettings\": {\r\n \"messageConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"acknowledgementConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"mdnSettings\": {\r\n \"needMdn\": true,\r\n \"signMdn\": true,\r\n \"sendMdnAsynchronously\": true,\r\n \"receiptDeliveryUrl\": \"http://tempuri.org\",\r\n \"dispositionNotificationTo\": \"http://tempuri.org\",\r\n \"signOutboundMdnIfOptional\": true,\r\n \"mdnText\": \"Sample\",\r\n \"sendInboundMdnToMessageBox\": true,\r\n \"micHashingAlgorithm\": \"MD5\"\r\n },\r\n \"securitySettings\": {\r\n \"overrideGroupSigningCertificate\": false,\r\n \"enableNrrForInboundEncodedMessages\": true,\r\n \"enableNrrForInboundDecodedMessages\": true,\r\n \"enableNrrForOutboundMdn\": true,\r\n \"enableNrrForOutboundEncodedMessages\": true,\r\n \"enableNrrForOutboundDecodedMessages\": true,\r\n \"enableNrrForInboundMdn\": true\r\n },\r\n \"validationSettings\": {\r\n \"overrideMessageProperties\": true,\r\n \"encryptMessage\": false,\r\n \"signMessage\": false,\r\n \"compressMessage\": true,\r\n \"checkDuplicateMessage\": true,\r\n \"interchangeDuplicatesValidityDays\": 100,\r\n \"checkCertificateRevocationListOnSend\": true,\r\n \"checkCertificateRevocationListOnReceive\": true,\r\n \"encryptionAlgorithm\": \"AES128\"\r\n },\r\n \"envelopeSettings\": {\r\n \"messageContentType\": \"text/plain\",\r\n \"transmitFileNameInMimeHeader\": true,\r\n \"fileNameTemplate\": \"Test\",\r\n \"suspendMessageOnFileNameGenerationError\": true,\r\n \"autogenerateFileName\": true\r\n },\r\n \"errorSettings\": {\r\n \"suspendDuplicateMessage\": true,\r\n \"resendIfMdnNotReceived\": true\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "4c5aa1f6-d720-48de-80ed-03b09c9fbfce" + "d7587e54-1453-43f4-bf06-781147ec413d" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"hostPartner\": \"HostPartner\",\r\n \"guestPartner\": \"GuestPartner\",\r\n \"hostIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"guestIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"agreementType\": \"AS2\",\r\n \"content\": {\r\n \"aS2\": {\r\n \"receiveAgreement\": {\r\n \"protocolSettings\": {\r\n \"messageConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"acknowledgementConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"mdnSettings\": {\r\n \"needMDN\": true,\r\n \"signMDN\": true,\r\n \"sendMDNAsynchronously\": true,\r\n \"receiptDeliveryUrl\": \"http://tempuri.org\",\r\n \"dispositionNotificationTo\": \"http://tempuri.org\",\r\n \"signOutboundMDNIfOptional\": true,\r\n \"mdnText\": \"Sample\",\r\n \"sendInboundMDNToMessageBox\": true,\r\n \"micHashingAlgorithm\": \"MD5\"\r\n },\r\n \"securitySettings\": {\r\n \"overrideGroupSigningCertificate\": false,\r\n \"enableNRRForInboundEncodedMessages\": true,\r\n \"enableNRRForInboundDecodedMessages\": true,\r\n \"enableNRRForOutboundMDN\": true,\r\n \"enableNRRForOutboundEncodedMessages\": true,\r\n \"enableNRRForOutboundDecodedMessages\": true,\r\n \"enableNRRForInboundMDN\": true\r\n },\r\n \"validationSettings\": {\r\n \"overrideMessageProperties\": true,\r\n \"encryptMessage\": false,\r\n \"signMessage\": false,\r\n \"compressMessage\": true,\r\n \"checkDuplicateMessage\": true,\r\n \"interchangeDuplicatesValidityDays\": 100,\r\n \"checkCertificateRevocationListOnSend\": true,\r\n \"checkCertificateRevocationListOnReceive\": true,\r\n \"encryptionAlgorithm\": \"AES128\"\r\n },\r\n \"envelopeSettings\": {\r\n \"messageContentType\": \"text/plain\",\r\n \"transmitFileNameInMimeHeader\": true,\r\n \"fileNameTemplate\": \"Test\",\r\n \"suspendMessageOnFileNameGenerationError\": true,\r\n \"autogenerateFileName\": true\r\n },\r\n \"errorSettings\": {\r\n \"suspendDuplicateMessage\": true,\r\n \"resendIfMDNNotReceived\": true\r\n }\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n }\r\n },\r\n \"sendAgreement\": {\r\n \"protocolSettings\": {\r\n \"messageConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"acknowledgementConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"mdnSettings\": {\r\n \"needMDN\": true,\r\n \"signMDN\": true,\r\n \"sendMDNAsynchronously\": true,\r\n \"receiptDeliveryUrl\": \"http://tempuri.org\",\r\n \"dispositionNotificationTo\": \"http://tempuri.org\",\r\n \"signOutboundMDNIfOptional\": true,\r\n \"mdnText\": \"Sample\",\r\n \"sendInboundMDNToMessageBox\": true,\r\n \"micHashingAlgorithm\": \"MD5\"\r\n },\r\n \"securitySettings\": {\r\n \"overrideGroupSigningCertificate\": false,\r\n \"enableNRRForInboundEncodedMessages\": true,\r\n \"enableNRRForInboundDecodedMessages\": true,\r\n \"enableNRRForOutboundMDN\": true,\r\n \"enableNRRForOutboundEncodedMessages\": true,\r\n \"enableNRRForOutboundDecodedMessages\": true,\r\n \"enableNRRForInboundMDN\": true\r\n },\r\n \"validationSettings\": {\r\n \"overrideMessageProperties\": true,\r\n \"encryptMessage\": false,\r\n \"signMessage\": false,\r\n \"compressMessage\": true,\r\n \"checkDuplicateMessage\": true,\r\n \"interchangeDuplicatesValidityDays\": 100,\r\n \"checkCertificateRevocationListOnSend\": true,\r\n \"checkCertificateRevocationListOnReceive\": true,\r\n \"encryptionAlgorithm\": \"AES128\"\r\n },\r\n \"envelopeSettings\": {\r\n \"messageContentType\": \"text/plain\",\r\n \"transmitFileNameInMimeHeader\": true,\r\n \"fileNameTemplate\": \"Test\",\r\n \"suspendMessageOnFileNameGenerationError\": true,\r\n \"autogenerateFileName\": true\r\n },\r\n \"errorSettings\": {\r\n \"suspendDuplicateMessage\": true,\r\n \"resendIfMDNNotReceived\": true\r\n }\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n }\r\n }\r\n }\r\n },\r\n \"createdTime\": \"2017-03-01T21:56:44.2301383Z\",\r\n \"changedTime\": \"2017-03-01T21:56:44.2310296Z\",\r\n \"metadata\": \"IntegrationAccountAgreement8124\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5142/agreements/IntegrationAccountAgreement8124\",\r\n \"name\": \"IntegrationAccountAgreement8124\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/agreements\"\r\n}", - "ResponseHeaders": { + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ], + "Content-Length": [ + "5694" + ] + }, + "ResponseHeaders": { "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:56:43 GMT" + "Wed, 19 Sep 2018 22:53:04 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" - ], - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], "x-ms-request-id": [ - "westus:436a9ba3-030f-46a2-99db-8dcaf12444dd" + "westus:2f7d7f39-f4b5-4f56-b416-6f62715e3545" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14739" + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" ], "x-ms-correlation-request-id": [ - "b19f5223-69ad-4dac-85a2-56b2dc17a683" + "9d3ea893-eaca-416d-8a4d-862ef395510e" ], "x-ms-routing-request-id": [ - "WESTUS2:20170301T215644Z:b19f5223-69ad-4dac-85a2-56b2dc17a683" + "WESTUS2:20180919T225304Z:9d3ea893-eaca-416d-8a4d-862ef395510e" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "3872" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 200 + "ResponseBody": "{\r\n \"properties\": {\r\n \"hostPartner\": \"HostPartner\",\r\n \"guestPartner\": \"GuestPartner\",\r\n \"hostIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"guestIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"agreementType\": \"AS2\",\r\n \"content\": {\r\n \"aS2\": {\r\n \"receiveAgreement\": {\r\n \"protocolSettings\": {\r\n \"messageConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"acknowledgementConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"mdnSettings\": {\r\n \"needMDN\": true,\r\n \"signMDN\": true,\r\n \"sendMDNAsynchronously\": true,\r\n \"receiptDeliveryUrl\": \"http://tempuri.org\",\r\n \"dispositionNotificationTo\": \"http://tempuri.org\",\r\n \"signOutboundMDNIfOptional\": true,\r\n \"mdnText\": \"Sample\",\r\n \"sendInboundMDNToMessageBox\": true,\r\n \"micHashingAlgorithm\": \"MD5\"\r\n },\r\n \"securitySettings\": {\r\n \"overrideGroupSigningCertificate\": false,\r\n \"enableNRRForInboundEncodedMessages\": true,\r\n \"enableNRRForInboundDecodedMessages\": true,\r\n \"enableNRRForOutboundMDN\": true,\r\n \"enableNRRForOutboundEncodedMessages\": true,\r\n \"enableNRRForOutboundDecodedMessages\": true,\r\n \"enableNRRForInboundMDN\": true\r\n },\r\n \"validationSettings\": {\r\n \"overrideMessageProperties\": true,\r\n \"encryptMessage\": false,\r\n \"signMessage\": false,\r\n \"compressMessage\": true,\r\n \"checkDuplicateMessage\": true,\r\n \"interchangeDuplicatesValidityDays\": 100,\r\n \"checkCertificateRevocationListOnSend\": true,\r\n \"checkCertificateRevocationListOnReceive\": true,\r\n \"encryptionAlgorithm\": \"AES128\"\r\n },\r\n \"envelopeSettings\": {\r\n \"messageContentType\": \"text/plain\",\r\n \"transmitFileNameInMimeHeader\": true,\r\n \"fileNameTemplate\": \"Test\",\r\n \"suspendMessageOnFileNameGenerationError\": true,\r\n \"autogenerateFileName\": true\r\n },\r\n \"errorSettings\": {\r\n \"suspendDuplicateMessage\": true,\r\n \"resendIfMDNNotReceived\": true\r\n }\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n }\r\n },\r\n \"sendAgreement\": {\r\n \"protocolSettings\": {\r\n \"messageConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"acknowledgementConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"mdnSettings\": {\r\n \"needMDN\": true,\r\n \"signMDN\": true,\r\n \"sendMDNAsynchronously\": true,\r\n \"receiptDeliveryUrl\": \"http://tempuri.org\",\r\n \"dispositionNotificationTo\": \"http://tempuri.org\",\r\n \"signOutboundMDNIfOptional\": true,\r\n \"mdnText\": \"Sample\",\r\n \"sendInboundMDNToMessageBox\": true,\r\n \"micHashingAlgorithm\": \"MD5\"\r\n },\r\n \"securitySettings\": {\r\n \"overrideGroupSigningCertificate\": false,\r\n \"enableNRRForInboundEncodedMessages\": true,\r\n \"enableNRRForInboundDecodedMessages\": true,\r\n \"enableNRRForOutboundMDN\": true,\r\n \"enableNRRForOutboundEncodedMessages\": true,\r\n \"enableNRRForOutboundDecodedMessages\": true,\r\n \"enableNRRForInboundMDN\": true\r\n },\r\n \"validationSettings\": {\r\n \"overrideMessageProperties\": true,\r\n \"encryptMessage\": false,\r\n \"signMessage\": false,\r\n \"compressMessage\": true,\r\n \"checkDuplicateMessage\": true,\r\n \"interchangeDuplicatesValidityDays\": 100,\r\n \"checkCertificateRevocationListOnSend\": true,\r\n \"checkCertificateRevocationListOnReceive\": true,\r\n \"encryptionAlgorithm\": \"AES128\"\r\n },\r\n \"envelopeSettings\": {\r\n \"messageContentType\": \"text/plain\",\r\n \"transmitFileNameInMimeHeader\": true,\r\n \"fileNameTemplate\": \"Test\",\r\n \"suspendMessageOnFileNameGenerationError\": true,\r\n \"autogenerateFileName\": true\r\n },\r\n \"errorSettings\": {\r\n \"suspendDuplicateMessage\": true,\r\n \"resendIfMDNNotReceived\": true\r\n }\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n }\r\n }\r\n }\r\n },\r\n \"createdTime\": \"2018-09-19T22:53:04.1363374Z\",\r\n \"changedTime\": \"2018-09-19T22:53:04.1369553Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2794/agreements/IntegrationAccountAgreement9192\",\r\n \"name\": \"IntegrationAccountAgreement9192\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/agreements\"\r\n}", + "StatusCode": 201 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5142/agreements/IntegrationAccountAgreement8124?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NTE0Mi9hZ3JlZW1lbnRzL0ludGVncmF0aW9uQWNjb3VudEFncmVlbWVudDgxMjQ/YXBpLXZlcnNpb249MjAxNi0wNi0wMQ==", - "RequestMethod": "DELETE", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2794/agreements/IntegrationAccountAgreement9192?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50Mjc5NC9hZ3JlZW1lbnRzL0ludGVncmF0aW9uQWNjb3VudEFncmVlbWVudDkxOTI/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "5faac5a6-b43d-4bc1-af26-fd1ebf28cd78" + "ef146e86-6a8a-48f4-b91f-24d84cd3dc04" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ] }, - "ResponseBody": "", "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:56:44 GMT" + "Wed, 19 Sep 2018 22:53:04 GMT" ], "Pragma": [ "no-cache" ], + "Vary": [ + "Accept-Encoding" + ], "x-ms-request-id": [ - "westus:69b146a0-0055-4ec7-8528-3907d5c351bb" + "westus:a3e2785e-3804-47b6-9558-ed7ee2a2f3d3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1192" + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" ], "x-ms-correlation-request-id": [ - "66626951-9f2f-4820-9b82-e490ae87bf3e" + "c354b179-4fc6-4bda-b688-4f82c7e6ba79" ], "x-ms-routing-request-id": [ - "WESTUS2:20170301T215644Z:66626951-9f2f-4820-9b82-e490ae87bf3e" + "WESTUS2:20180919T225304Z:c354b179-4fc6-4bda-b688-4f82c7e6ba79" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "3872" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"hostPartner\": \"HostPartner\",\r\n \"guestPartner\": \"GuestPartner\",\r\n \"hostIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"guestIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"agreementType\": \"AS2\",\r\n \"content\": {\r\n \"aS2\": {\r\n \"receiveAgreement\": {\r\n \"protocolSettings\": {\r\n \"messageConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"acknowledgementConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"mdnSettings\": {\r\n \"needMDN\": true,\r\n \"signMDN\": true,\r\n \"sendMDNAsynchronously\": true,\r\n \"receiptDeliveryUrl\": \"http://tempuri.org\",\r\n \"dispositionNotificationTo\": \"http://tempuri.org\",\r\n \"signOutboundMDNIfOptional\": true,\r\n \"mdnText\": \"Sample\",\r\n \"sendInboundMDNToMessageBox\": true,\r\n \"micHashingAlgorithm\": \"MD5\"\r\n },\r\n \"securitySettings\": {\r\n \"overrideGroupSigningCertificate\": false,\r\n \"enableNRRForInboundEncodedMessages\": true,\r\n \"enableNRRForInboundDecodedMessages\": true,\r\n \"enableNRRForOutboundMDN\": true,\r\n \"enableNRRForOutboundEncodedMessages\": true,\r\n \"enableNRRForOutboundDecodedMessages\": true,\r\n \"enableNRRForInboundMDN\": true\r\n },\r\n \"validationSettings\": {\r\n \"overrideMessageProperties\": true,\r\n \"encryptMessage\": false,\r\n \"signMessage\": false,\r\n \"compressMessage\": true,\r\n \"checkDuplicateMessage\": true,\r\n \"interchangeDuplicatesValidityDays\": 100,\r\n \"checkCertificateRevocationListOnSend\": true,\r\n \"checkCertificateRevocationListOnReceive\": true,\r\n \"encryptionAlgorithm\": \"AES128\"\r\n },\r\n \"envelopeSettings\": {\r\n \"messageContentType\": \"text/plain\",\r\n \"transmitFileNameInMimeHeader\": true,\r\n \"fileNameTemplate\": \"Test\",\r\n \"suspendMessageOnFileNameGenerationError\": true,\r\n \"autogenerateFileName\": true\r\n },\r\n \"errorSettings\": {\r\n \"suspendDuplicateMessage\": true,\r\n \"resendIfMDNNotReceived\": true\r\n }\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n }\r\n },\r\n \"sendAgreement\": {\r\n \"protocolSettings\": {\r\n \"messageConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"acknowledgementConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"mdnSettings\": {\r\n \"needMDN\": true,\r\n \"signMDN\": true,\r\n \"sendMDNAsynchronously\": true,\r\n \"receiptDeliveryUrl\": \"http://tempuri.org\",\r\n \"dispositionNotificationTo\": \"http://tempuri.org\",\r\n \"signOutboundMDNIfOptional\": true,\r\n \"mdnText\": \"Sample\",\r\n \"sendInboundMDNToMessageBox\": true,\r\n \"micHashingAlgorithm\": \"MD5\"\r\n },\r\n \"securitySettings\": {\r\n \"overrideGroupSigningCertificate\": false,\r\n \"enableNRRForInboundEncodedMessages\": true,\r\n \"enableNRRForInboundDecodedMessages\": true,\r\n \"enableNRRForOutboundMDN\": true,\r\n \"enableNRRForOutboundEncodedMessages\": true,\r\n \"enableNRRForOutboundDecodedMessages\": true,\r\n \"enableNRRForInboundMDN\": true\r\n },\r\n \"validationSettings\": {\r\n \"overrideMessageProperties\": true,\r\n \"encryptMessage\": false,\r\n \"signMessage\": false,\r\n \"compressMessage\": true,\r\n \"checkDuplicateMessage\": true,\r\n \"interchangeDuplicatesValidityDays\": 100,\r\n \"checkCertificateRevocationListOnSend\": true,\r\n \"checkCertificateRevocationListOnReceive\": true,\r\n \"encryptionAlgorithm\": \"AES128\"\r\n },\r\n \"envelopeSettings\": {\r\n \"messageContentType\": \"text/plain\",\r\n \"transmitFileNameInMimeHeader\": true,\r\n \"fileNameTemplate\": \"Test\",\r\n \"suspendMessageOnFileNameGenerationError\": true,\r\n \"autogenerateFileName\": true\r\n },\r\n \"errorSettings\": {\r\n \"suspendDuplicateMessage\": true,\r\n \"resendIfMDNNotReceived\": true\r\n }\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n }\r\n }\r\n }\r\n },\r\n \"createdTime\": \"2018-09-19T22:53:04.1363374Z\",\r\n \"changedTime\": \"2018-09-19T22:53:04.1369553Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2794/agreements/IntegrationAccountAgreement9192\",\r\n \"name\": \"IntegrationAccountAgreement9192\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/agreements\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5142?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NTE0Mj9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2794?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50Mjc5ND9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "0daacd2a-2346-42e0-8f82-8f23b29647aa" + "fcd6931c-fbde-41c2-a78b-c99c54802f5b" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ] }, - "ResponseBody": "", "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:56:44 GMT" + "Wed, 19 Sep 2018 22:53:04 GMT" ], "Pragma": [ "no-cache" ], "x-ms-request-id": [ - "westus:84b673eb-24ef-47c1-8344-18414d35052f" + "westus:f3c9cd10-94c9-4473-9f3c-796896aa5957" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1191" + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14998" ], "x-ms-correlation-request-id": [ - "766fcb36-6df3-456e-badf-bda312de2c1d" + "88bb013b-7689-4d2e-b245-4a5ef9f6f370" ], "x-ms-routing-request-id": [ - "WESTUS2:20170301T215645Z:766fcb36-6df3-456e-badf-bda312de2c1d" + "WESTUS2:20180919T225304Z:88bb013b-7689-4d2e-b245-4a5ef9f6f370" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "", "StatusCode": 200 } ], "Names": { - "CreateAndDeleteIntegrationAccountAgreement": [ - "IntegrationAccount5142", - "IntegrationAccountAgreement8124" + "IntegrationAccountAgreements_Get_OK": [ + "IntegrationAccount2794", + "IntegrationAccountAgreement9192" ] }, "Variables": { diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAgreementsScenarioTests/IntegrationAccountAgreements_ListContentCallbackUrl_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAgreementsScenarioTests/IntegrationAccountAgreements_ListContentCallbackUrl_OK.json new file mode 100644 index 0000000000000..bebbf2a47cfc4 --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAgreementsScenarioTests/IntegrationAccountAgreements_ListContentCallbackUrl_OK.json @@ -0,0 +1,379 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "6776df7e-24db-483f-95ca-1144354bf961" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:28 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-request-id": [ + "f2dfefc7-982d-44a0-88de-a32ba43c875c" + ], + "x-ms-correlation-request-id": [ + "f2dfefc7-982d-44a0-88de-a32ba43c875c" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225329Z:f2dfefc7-982d-44a0-88de-a32ba43c875c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "c795118e-07d8-4309-b5c0-a053c00d95d9" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:28 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19994" + ], + "x-ms-request-id": [ + "60995c83-b091-4b29-8336-54ed882560c8" + ], + "x-ms-correlation-request-id": [ + "60995c83-b091-4b29-8336-54ed882560c8" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225329Z:60995c83-b091-4b29-8336-54ed882560c8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2989?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50Mjk4OT9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "e1d989d7-daf4-4b83-92a2-9392c84c7dc5" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:28 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:d9430cda-4c32-40c9-b06f-bdc8b8bf06e5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1193" + ], + "x-ms-correlation-request-id": [ + "bdc1db8f-4ab2-48d9-aa75-32b214f78cc5" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225329Z:bdc1db8f-4ab2-48d9-aa75-32b214f78cc5" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "307" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2989\",\r\n \"name\": \"IntegrationAccount2989\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2989/agreements/IntegrationAccountAgreement2865?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50Mjk4OS9hZ3JlZW1lbnRzL0ludGVncmF0aW9uQWNjb3VudEFncmVlbWVudDI4NjU/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"agreementType\": \"AS2\",\r\n \"hostPartner\": \"HostPartner\",\r\n \"guestPartner\": \"GuestPartner\",\r\n \"hostIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"guestIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"content\": {\r\n \"aS2\": {\r\n \"receiveAgreement\": {\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"protocolSettings\": {\r\n \"messageConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"acknowledgementConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"mdnSettings\": {\r\n \"needMdn\": true,\r\n \"signMdn\": true,\r\n \"sendMdnAsynchronously\": true,\r\n \"receiptDeliveryUrl\": \"http://tempuri.org\",\r\n \"dispositionNotificationTo\": \"http://tempuri.org\",\r\n \"signOutboundMdnIfOptional\": true,\r\n \"mdnText\": \"Sample\",\r\n \"sendInboundMdnToMessageBox\": true,\r\n \"micHashingAlgorithm\": \"MD5\"\r\n },\r\n \"securitySettings\": {\r\n \"overrideGroupSigningCertificate\": false,\r\n \"enableNrrForInboundEncodedMessages\": true,\r\n \"enableNrrForInboundDecodedMessages\": true,\r\n \"enableNrrForOutboundMdn\": true,\r\n \"enableNrrForOutboundEncodedMessages\": true,\r\n \"enableNrrForOutboundDecodedMessages\": true,\r\n \"enableNrrForInboundMdn\": true\r\n },\r\n \"validationSettings\": {\r\n \"overrideMessageProperties\": true,\r\n \"encryptMessage\": false,\r\n \"signMessage\": false,\r\n \"compressMessage\": true,\r\n \"checkDuplicateMessage\": true,\r\n \"interchangeDuplicatesValidityDays\": 100,\r\n \"checkCertificateRevocationListOnSend\": true,\r\n \"checkCertificateRevocationListOnReceive\": true,\r\n \"encryptionAlgorithm\": \"AES128\"\r\n },\r\n \"envelopeSettings\": {\r\n \"messageContentType\": \"text/plain\",\r\n \"transmitFileNameInMimeHeader\": true,\r\n \"fileNameTemplate\": \"Test\",\r\n \"suspendMessageOnFileNameGenerationError\": true,\r\n \"autogenerateFileName\": true\r\n },\r\n \"errorSettings\": {\r\n \"suspendDuplicateMessage\": true,\r\n \"resendIfMdnNotReceived\": true\r\n }\r\n }\r\n },\r\n \"sendAgreement\": {\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"protocolSettings\": {\r\n \"messageConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"acknowledgementConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"mdnSettings\": {\r\n \"needMdn\": true,\r\n \"signMdn\": true,\r\n \"sendMdnAsynchronously\": true,\r\n \"receiptDeliveryUrl\": \"http://tempuri.org\",\r\n \"dispositionNotificationTo\": \"http://tempuri.org\",\r\n \"signOutboundMdnIfOptional\": true,\r\n \"mdnText\": \"Sample\",\r\n \"sendInboundMdnToMessageBox\": true,\r\n \"micHashingAlgorithm\": \"MD5\"\r\n },\r\n \"securitySettings\": {\r\n \"overrideGroupSigningCertificate\": false,\r\n \"enableNrrForInboundEncodedMessages\": true,\r\n \"enableNrrForInboundDecodedMessages\": true,\r\n \"enableNrrForOutboundMdn\": true,\r\n \"enableNrrForOutboundEncodedMessages\": true,\r\n \"enableNrrForOutboundDecodedMessages\": true,\r\n \"enableNrrForInboundMdn\": true\r\n },\r\n \"validationSettings\": {\r\n \"overrideMessageProperties\": true,\r\n \"encryptMessage\": false,\r\n \"signMessage\": false,\r\n \"compressMessage\": true,\r\n \"checkDuplicateMessage\": true,\r\n \"interchangeDuplicatesValidityDays\": 100,\r\n \"checkCertificateRevocationListOnSend\": true,\r\n \"checkCertificateRevocationListOnReceive\": true,\r\n \"encryptionAlgorithm\": \"AES128\"\r\n },\r\n \"envelopeSettings\": {\r\n \"messageContentType\": \"text/plain\",\r\n \"transmitFileNameInMimeHeader\": true,\r\n \"fileNameTemplate\": \"Test\",\r\n \"suspendMessageOnFileNameGenerationError\": true,\r\n \"autogenerateFileName\": true\r\n },\r\n \"errorSettings\": {\r\n \"suspendDuplicateMessage\": true,\r\n \"resendIfMdnNotReceived\": true\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "c58d3a3c-bfe9-425e-a440-e8e3fa998b95" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "5694" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:29 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:ce0cbf32-b7bc-44d0-b351-e0e4bc8ca026" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1192" + ], + "x-ms-correlation-request-id": [ + "dc825094-31d1-4e0c-93b0-2bc7b4f53d2e" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225330Z:dc825094-31d1-4e0c-93b0-2bc7b4f53d2e" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "3871" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"hostPartner\": \"HostPartner\",\r\n \"guestPartner\": \"GuestPartner\",\r\n \"hostIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"guestIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"agreementType\": \"AS2\",\r\n \"content\": {\r\n \"aS2\": {\r\n \"receiveAgreement\": {\r\n \"protocolSettings\": {\r\n \"messageConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"acknowledgementConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"mdnSettings\": {\r\n \"needMDN\": true,\r\n \"signMDN\": true,\r\n \"sendMDNAsynchronously\": true,\r\n \"receiptDeliveryUrl\": \"http://tempuri.org\",\r\n \"dispositionNotificationTo\": \"http://tempuri.org\",\r\n \"signOutboundMDNIfOptional\": true,\r\n \"mdnText\": \"Sample\",\r\n \"sendInboundMDNToMessageBox\": true,\r\n \"micHashingAlgorithm\": \"MD5\"\r\n },\r\n \"securitySettings\": {\r\n \"overrideGroupSigningCertificate\": false,\r\n \"enableNRRForInboundEncodedMessages\": true,\r\n \"enableNRRForInboundDecodedMessages\": true,\r\n \"enableNRRForOutboundMDN\": true,\r\n \"enableNRRForOutboundEncodedMessages\": true,\r\n \"enableNRRForOutboundDecodedMessages\": true,\r\n \"enableNRRForInboundMDN\": true\r\n },\r\n \"validationSettings\": {\r\n \"overrideMessageProperties\": true,\r\n \"encryptMessage\": false,\r\n \"signMessage\": false,\r\n \"compressMessage\": true,\r\n \"checkDuplicateMessage\": true,\r\n \"interchangeDuplicatesValidityDays\": 100,\r\n \"checkCertificateRevocationListOnSend\": true,\r\n \"checkCertificateRevocationListOnReceive\": true,\r\n \"encryptionAlgorithm\": \"AES128\"\r\n },\r\n \"envelopeSettings\": {\r\n \"messageContentType\": \"text/plain\",\r\n \"transmitFileNameInMimeHeader\": true,\r\n \"fileNameTemplate\": \"Test\",\r\n \"suspendMessageOnFileNameGenerationError\": true,\r\n \"autogenerateFileName\": true\r\n },\r\n \"errorSettings\": {\r\n \"suspendDuplicateMessage\": true,\r\n \"resendIfMDNNotReceived\": true\r\n }\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n }\r\n },\r\n \"sendAgreement\": {\r\n \"protocolSettings\": {\r\n \"messageConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"acknowledgementConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"mdnSettings\": {\r\n \"needMDN\": true,\r\n \"signMDN\": true,\r\n \"sendMDNAsynchronously\": true,\r\n \"receiptDeliveryUrl\": \"http://tempuri.org\",\r\n \"dispositionNotificationTo\": \"http://tempuri.org\",\r\n \"signOutboundMDNIfOptional\": true,\r\n \"mdnText\": \"Sample\",\r\n \"sendInboundMDNToMessageBox\": true,\r\n \"micHashingAlgorithm\": \"MD5\"\r\n },\r\n \"securitySettings\": {\r\n \"overrideGroupSigningCertificate\": false,\r\n \"enableNRRForInboundEncodedMessages\": true,\r\n \"enableNRRForInboundDecodedMessages\": true,\r\n \"enableNRRForOutboundMDN\": true,\r\n \"enableNRRForOutboundEncodedMessages\": true,\r\n \"enableNRRForOutboundDecodedMessages\": true,\r\n \"enableNRRForInboundMDN\": true\r\n },\r\n \"validationSettings\": {\r\n \"overrideMessageProperties\": true,\r\n \"encryptMessage\": false,\r\n \"signMessage\": false,\r\n \"compressMessage\": true,\r\n \"checkDuplicateMessage\": true,\r\n \"interchangeDuplicatesValidityDays\": 100,\r\n \"checkCertificateRevocationListOnSend\": true,\r\n \"checkCertificateRevocationListOnReceive\": true,\r\n \"encryptionAlgorithm\": \"AES128\"\r\n },\r\n \"envelopeSettings\": {\r\n \"messageContentType\": \"text/plain\",\r\n \"transmitFileNameInMimeHeader\": true,\r\n \"fileNameTemplate\": \"Test\",\r\n \"suspendMessageOnFileNameGenerationError\": true,\r\n \"autogenerateFileName\": true\r\n },\r\n \"errorSettings\": {\r\n \"suspendDuplicateMessage\": true,\r\n \"resendIfMDNNotReceived\": true\r\n }\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n }\r\n }\r\n }\r\n },\r\n \"createdTime\": \"2018-09-19T22:53:30.1761171Z\",\r\n \"changedTime\": \"2018-09-19T22:53:30.176178Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2989/agreements/IntegrationAccountAgreement2865\",\r\n \"name\": \"IntegrationAccountAgreement2865\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/agreements\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2989/agreements/IntegrationAccountAgreement2865/listContentCallbackUrl?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50Mjk4OS9hZ3JlZW1lbnRzL0ludGVncmF0aW9uQWNjb3VudEFncmVlbWVudDI4NjUvbGlzdENvbnRlbnRDYWxsYmFja1VybD9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"keyType\": \"Primary\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "2ff4b8dd-132f-40ae-a373-e1f7e837e239" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:29 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:e94faa33-9d9c-487e-b613-6f38d3b8fbbf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1191" + ], + "x-ms-correlation-request-id": [ + "dd18a08b-7604-45b7-97bc-fdc7e5f0ed58" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225330Z:dd18a08b-7604-45b7-97bc-fdc7e5f0ed58" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "534" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": \"https://prod-41.westus.logic.azure.com:443/integrationAccounts/e0926bb30f0b42e0b50a38d8072fb1a9/agreements/IntegrationAccountAgreement2865/contents/Value?api-version=2015-08-01-preview&sp=%2Fagreements%2FIntegrationAccountAgreement2865%2Fread&sv=1.0&sig=-LGeJR1lXewxQ2YlCERN_utFM5rT0P11XDcaart8nnU\",\r\n \"method\": \"GET\",\r\n \"basePath\": \"https://prod-41.westus.logic.azure.com/integrationAccounts/e0926bb30f0b42e0b50a38d8072fb1a9/agreements/IntegrationAccountAgreement2865/contents/Value\",\r\n \"queries\": {\r\n \"api-version\": \"2015-08-01-preview\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2989?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50Mjk4OT9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "49953ed1-83fa-4186-bce2-217b17d149dd" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:29 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:414da30f-2e67-4eab-8da0-7ee7e695a0f6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14996" + ], + "x-ms-correlation-request-id": [ + "9a4686b0-1587-4557-a00c-d02473f0c4a0" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225330Z:9a4686b0-1587-4557-a00c-d02473f0c4a0" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "IntegrationAccountAgreements_ListContentCallbackUrl_OK": [ + "IntegrationAccount2989", + "IntegrationAccountAgreement2865" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAgreementsScenarioTests/IntegrationAccountAgreements_List_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAgreementsScenarioTests/IntegrationAccountAgreements_List_OK.json new file mode 100644 index 0000000000000..99ba844cd491a --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAgreementsScenarioTests/IntegrationAccountAgreements_List_OK.json @@ -0,0 +1,503 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "28fd2aca-14d9-4203-b5ad-d8584770eed2" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:07 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11992" + ], + "x-ms-request-id": [ + "ef99cad9-3376-43d5-a388-1db1335564d0" + ], + "x-ms-correlation-request-id": [ + "ef99cad9-3376-43d5-a388-1db1335564d0" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225307Z:ef99cad9-3376-43d5-a388-1db1335564d0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "714e842b-ff7a-4fed-9048-977740285874" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:07 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19995" + ], + "x-ms-request-id": [ + "5de2db37-24f2-4ef6-a069-75c43b93d1ae" + ], + "x-ms-correlation-request-id": [ + "5de2db37-24f2-4ef6-a069-75c43b93d1ae" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225307Z:5de2db37-24f2-4ef6-a069-75c43b93d1ae" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4595?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NDU5NT9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0c7d7c5d-946c-43d3-bf71-dd8d8e56c6a4" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:08 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:478049fd-8186-4f90-881f-ca19e31d3976" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "18dceac9-fa90-4162-8154-5d08deb7ef31" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225308Z:18dceac9-fa90-4162-8154-5d08deb7ef31" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "307" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4595\",\r\n \"name\": \"IntegrationAccount4595\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4595/agreements/IntegrationAccountAgreement424?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NDU5NS9hZ3JlZW1lbnRzL0ludGVncmF0aW9uQWNjb3VudEFncmVlbWVudDQyND9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"agreementType\": \"AS2\",\r\n \"hostPartner\": \"HostPartner\",\r\n \"guestPartner\": \"GuestPartner\",\r\n \"hostIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"guestIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"content\": {\r\n \"aS2\": {\r\n \"receiveAgreement\": {\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"protocolSettings\": {\r\n \"messageConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"acknowledgementConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"mdnSettings\": {\r\n \"needMdn\": true,\r\n \"signMdn\": true,\r\n \"sendMdnAsynchronously\": true,\r\n \"receiptDeliveryUrl\": \"http://tempuri.org\",\r\n \"dispositionNotificationTo\": \"http://tempuri.org\",\r\n \"signOutboundMdnIfOptional\": true,\r\n \"mdnText\": \"Sample\",\r\n \"sendInboundMdnToMessageBox\": true,\r\n \"micHashingAlgorithm\": \"MD5\"\r\n },\r\n \"securitySettings\": {\r\n \"overrideGroupSigningCertificate\": false,\r\n \"enableNrrForInboundEncodedMessages\": true,\r\n \"enableNrrForInboundDecodedMessages\": true,\r\n \"enableNrrForOutboundMdn\": true,\r\n \"enableNrrForOutboundEncodedMessages\": true,\r\n \"enableNrrForOutboundDecodedMessages\": true,\r\n \"enableNrrForInboundMdn\": true\r\n },\r\n \"validationSettings\": {\r\n \"overrideMessageProperties\": true,\r\n \"encryptMessage\": false,\r\n \"signMessage\": false,\r\n \"compressMessage\": true,\r\n \"checkDuplicateMessage\": true,\r\n \"interchangeDuplicatesValidityDays\": 100,\r\n \"checkCertificateRevocationListOnSend\": true,\r\n \"checkCertificateRevocationListOnReceive\": true,\r\n \"encryptionAlgorithm\": \"AES128\"\r\n },\r\n \"envelopeSettings\": {\r\n \"messageContentType\": \"text/plain\",\r\n \"transmitFileNameInMimeHeader\": true,\r\n \"fileNameTemplate\": \"Test\",\r\n \"suspendMessageOnFileNameGenerationError\": true,\r\n \"autogenerateFileName\": true\r\n },\r\n \"errorSettings\": {\r\n \"suspendDuplicateMessage\": true,\r\n \"resendIfMdnNotReceived\": true\r\n }\r\n }\r\n },\r\n \"sendAgreement\": {\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"protocolSettings\": {\r\n \"messageConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"acknowledgementConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"mdnSettings\": {\r\n \"needMdn\": true,\r\n \"signMdn\": true,\r\n \"sendMdnAsynchronously\": true,\r\n \"receiptDeliveryUrl\": \"http://tempuri.org\",\r\n \"dispositionNotificationTo\": \"http://tempuri.org\",\r\n \"signOutboundMdnIfOptional\": true,\r\n \"mdnText\": \"Sample\",\r\n \"sendInboundMdnToMessageBox\": true,\r\n \"micHashingAlgorithm\": \"MD5\"\r\n },\r\n \"securitySettings\": {\r\n \"overrideGroupSigningCertificate\": false,\r\n \"enableNrrForInboundEncodedMessages\": true,\r\n \"enableNrrForInboundDecodedMessages\": true,\r\n \"enableNrrForOutboundMdn\": true,\r\n \"enableNrrForOutboundEncodedMessages\": true,\r\n \"enableNrrForOutboundDecodedMessages\": true,\r\n \"enableNrrForInboundMdn\": true\r\n },\r\n \"validationSettings\": {\r\n \"overrideMessageProperties\": true,\r\n \"encryptMessage\": false,\r\n \"signMessage\": false,\r\n \"compressMessage\": true,\r\n \"checkDuplicateMessage\": true,\r\n \"interchangeDuplicatesValidityDays\": 100,\r\n \"checkCertificateRevocationListOnSend\": true,\r\n \"checkCertificateRevocationListOnReceive\": true,\r\n \"encryptionAlgorithm\": \"AES128\"\r\n },\r\n \"envelopeSettings\": {\r\n \"messageContentType\": \"text/plain\",\r\n \"transmitFileNameInMimeHeader\": true,\r\n \"fileNameTemplate\": \"Test\",\r\n \"suspendMessageOnFileNameGenerationError\": true,\r\n \"autogenerateFileName\": true\r\n },\r\n \"errorSettings\": {\r\n \"suspendDuplicateMessage\": true,\r\n \"resendIfMdnNotReceived\": true\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "9684da7f-1cff-456b-a729-2da166c524ff" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "5694" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:08 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:605e9217-1502-4636-87b4-26fc2e05a69b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "eab48dfc-f4ed-463c-9b8a-b919a2515c95" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225308Z:eab48dfc-f4ed-463c-9b8a-b919a2515c95" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "3870" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"hostPartner\": \"HostPartner\",\r\n \"guestPartner\": \"GuestPartner\",\r\n \"hostIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"guestIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"agreementType\": \"AS2\",\r\n \"content\": {\r\n \"aS2\": {\r\n \"receiveAgreement\": {\r\n \"protocolSettings\": {\r\n \"messageConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"acknowledgementConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"mdnSettings\": {\r\n \"needMDN\": true,\r\n \"signMDN\": true,\r\n \"sendMDNAsynchronously\": true,\r\n \"receiptDeliveryUrl\": \"http://tempuri.org\",\r\n \"dispositionNotificationTo\": \"http://tempuri.org\",\r\n \"signOutboundMDNIfOptional\": true,\r\n \"mdnText\": \"Sample\",\r\n \"sendInboundMDNToMessageBox\": true,\r\n \"micHashingAlgorithm\": \"MD5\"\r\n },\r\n \"securitySettings\": {\r\n \"overrideGroupSigningCertificate\": false,\r\n \"enableNRRForInboundEncodedMessages\": true,\r\n \"enableNRRForInboundDecodedMessages\": true,\r\n \"enableNRRForOutboundMDN\": true,\r\n \"enableNRRForOutboundEncodedMessages\": true,\r\n \"enableNRRForOutboundDecodedMessages\": true,\r\n \"enableNRRForInboundMDN\": true\r\n },\r\n \"validationSettings\": {\r\n \"overrideMessageProperties\": true,\r\n \"encryptMessage\": false,\r\n \"signMessage\": false,\r\n \"compressMessage\": true,\r\n \"checkDuplicateMessage\": true,\r\n \"interchangeDuplicatesValidityDays\": 100,\r\n \"checkCertificateRevocationListOnSend\": true,\r\n \"checkCertificateRevocationListOnReceive\": true,\r\n \"encryptionAlgorithm\": \"AES128\"\r\n },\r\n \"envelopeSettings\": {\r\n \"messageContentType\": \"text/plain\",\r\n \"transmitFileNameInMimeHeader\": true,\r\n \"fileNameTemplate\": \"Test\",\r\n \"suspendMessageOnFileNameGenerationError\": true,\r\n \"autogenerateFileName\": true\r\n },\r\n \"errorSettings\": {\r\n \"suspendDuplicateMessage\": true,\r\n \"resendIfMDNNotReceived\": true\r\n }\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n }\r\n },\r\n \"sendAgreement\": {\r\n \"protocolSettings\": {\r\n \"messageConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"acknowledgementConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"mdnSettings\": {\r\n \"needMDN\": true,\r\n \"signMDN\": true,\r\n \"sendMDNAsynchronously\": true,\r\n \"receiptDeliveryUrl\": \"http://tempuri.org\",\r\n \"dispositionNotificationTo\": \"http://tempuri.org\",\r\n \"signOutboundMDNIfOptional\": true,\r\n \"mdnText\": \"Sample\",\r\n \"sendInboundMDNToMessageBox\": true,\r\n \"micHashingAlgorithm\": \"MD5\"\r\n },\r\n \"securitySettings\": {\r\n \"overrideGroupSigningCertificate\": false,\r\n \"enableNRRForInboundEncodedMessages\": true,\r\n \"enableNRRForInboundDecodedMessages\": true,\r\n \"enableNRRForOutboundMDN\": true,\r\n \"enableNRRForOutboundEncodedMessages\": true,\r\n \"enableNRRForOutboundDecodedMessages\": true,\r\n \"enableNRRForInboundMDN\": true\r\n },\r\n \"validationSettings\": {\r\n \"overrideMessageProperties\": true,\r\n \"encryptMessage\": false,\r\n \"signMessage\": false,\r\n \"compressMessage\": true,\r\n \"checkDuplicateMessage\": true,\r\n \"interchangeDuplicatesValidityDays\": 100,\r\n \"checkCertificateRevocationListOnSend\": true,\r\n \"checkCertificateRevocationListOnReceive\": true,\r\n \"encryptionAlgorithm\": \"AES128\"\r\n },\r\n \"envelopeSettings\": {\r\n \"messageContentType\": \"text/plain\",\r\n \"transmitFileNameInMimeHeader\": true,\r\n \"fileNameTemplate\": \"Test\",\r\n \"suspendMessageOnFileNameGenerationError\": true,\r\n \"autogenerateFileName\": true\r\n },\r\n \"errorSettings\": {\r\n \"suspendDuplicateMessage\": true,\r\n \"resendIfMDNNotReceived\": true\r\n }\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n }\r\n }\r\n }\r\n },\r\n \"createdTime\": \"2018-09-19T22:53:08.6015566Z\",\r\n \"changedTime\": \"2018-09-19T22:53:08.6024288Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4595/agreements/IntegrationAccountAgreement424\",\r\n \"name\": \"IntegrationAccountAgreement424\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/agreements\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4595/agreements/IntegrationAccountAgreement8289?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NDU5NS9hZ3JlZW1lbnRzL0ludGVncmF0aW9uQWNjb3VudEFncmVlbWVudDgyODk/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"agreementType\": \"Edifact\",\r\n \"hostPartner\": \"HostPartner\",\r\n \"guestPartner\": \"GuestPartner\",\r\n \"hostIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"guestIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"content\": {\r\n \"edifact\": {\r\n \"receiveAgreement\": {\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"protocolSettings\": {\r\n \"validationSettings\": {\r\n \"validateCharacterSet\": true,\r\n \"checkDuplicateInterchangeControlNumber\": true,\r\n \"interchangeControlNumberValidityDays\": 30,\r\n \"checkDuplicateGroupControlNumber\": true,\r\n \"checkDuplicateTransactionSetControlNumber\": true,\r\n \"validateEdiTypes\": true,\r\n \"validateXsdTypes\": true,\r\n \"allowLeadingAndTrailingSpacesAndZeroes\": true,\r\n \"trimLeadingAndTrailingSpacesAndZeroes\": true,\r\n \"trailingSeparatorPolicy\": \"Optional\"\r\n },\r\n \"framingSettings\": {\r\n \"characterEncoding\": \"UTF\",\r\n \"protocolVersion\": 4,\r\n \"dataElementSeparator\": 53,\r\n \"componentSeparator\": 58,\r\n \"segmentTerminator\": 39,\r\n \"releaseIndicator\": 63,\r\n \"repetitionSeparator\": 42,\r\n \"characterSet\": \"UNOC\",\r\n \"decimalPointIndicator\": \"Comma\",\r\n \"segmentTerminatorSuffix\": \"None\"\r\n },\r\n \"envelopeSettings\": {\r\n \"groupAssociationAssignedCode\": \"0\",\r\n \"communicationAgreementId\": \"0\",\r\n \"applyDelimiterStringAdvice\": true,\r\n \"createGroupingSegments\": true,\r\n \"enableDefaultGroupHeaders\": true,\r\n \"recipientReferencePasswordValue\": \"AA\",\r\n \"recipientReferencePasswordQualifier\": \"ZZ\",\r\n \"applicationReferenceId\": \"0\",\r\n \"processingPriorityCode\": \"0\",\r\n \"interchangeControlNumberLowerBound\": 1,\r\n \"interchangeControlNumberUpperBound\": 99999999,\r\n \"rolloverInterchangeControlNumber\": true,\r\n \"interchangeControlNumberPrefix\": \"CU\",\r\n \"interchangeControlNumberSuffix\": \"NUM\",\r\n \"functionalGroupId\": \"0\",\r\n \"groupControllingAgencyCode\": \"0\",\r\n \"groupMessageVersion\": \"0.0\",\r\n \"groupMessageRelease\": \"0.0\",\r\n \"groupControlNumberLowerBound\": 1,\r\n \"groupControlNumberUpperBound\": 99999999,\r\n \"rolloverGroupControlNumber\": true,\r\n \"groupControlNumberPrefix\": \"CU\",\r\n \"groupControlNumberSuffix\": \"NUM\",\r\n \"groupApplicationReceiverQualifier\": \"ZZZ\",\r\n \"groupApplicationReceiverId\": \"0\",\r\n \"groupApplicationSenderQualifier\": \"ZZZ\",\r\n \"groupApplicationSenderId\": \"AAA\",\r\n \"groupApplicationPassword\": \"0\",\r\n \"overwriteExistingTransactionSetControlNumber\": true,\r\n \"transactionSetControlNumberPrefix\": \"\",\r\n \"transactionSetControlNumberSuffix\": \"\",\r\n \"transactionSetControlNumberLowerBound\": 1,\r\n \"transactionSetControlNumberUpperBound\": 99999999,\r\n \"rolloverTransactionSetControlNumber\": true,\r\n \"isTestInterchange\": true,\r\n \"senderInternalIdentification\": \"AA\",\r\n \"senderInternalSubIdentification\": \"AA\",\r\n \"receiverInternalIdentification\": \"0\",\r\n \"receiverInternalSubIdentification\": \"0\"\r\n },\r\n \"acknowledgementSettings\": {\r\n \"needTechnicalAcknowledgement\": true,\r\n \"batchTechnicalAcknowledgements\": true,\r\n \"needFunctionalAcknowledgement\": false,\r\n \"batchFunctionalAcknowledgements\": true,\r\n \"needLoopForValidMessages\": false,\r\n \"sendSynchronousAcknowledgement\": true,\r\n \"acknowledgementControlNumberPrefix\": \"\",\r\n \"acknowledgementControlNumberSuffix\": \"\",\r\n \"acknowledgementControlNumberLowerBound\": 1,\r\n \"acknowledgementControlNumberUpperBound\": 99999999,\r\n \"rolloverAcknowledgementControlNumber\": true\r\n },\r\n \"messageFilter\": {\r\n \"messageFilterType\": \"Exclude\"\r\n },\r\n \"processingSettings\": {\r\n \"maskSecurityInfo\": true,\r\n \"preserveInterchange\": true,\r\n \"suspendInterchangeOnError\": true,\r\n \"createEmptyXmlTagsForTrailingSeparators\": true,\r\n \"useDotAsDecimalSeparator\": true\r\n },\r\n \"schemaReferences\": []\r\n }\r\n },\r\n \"sendAgreement\": {\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"protocolSettings\": {\r\n \"validationSettings\": {\r\n \"validateCharacterSet\": true,\r\n \"checkDuplicateInterchangeControlNumber\": true,\r\n \"interchangeControlNumberValidityDays\": 30,\r\n \"checkDuplicateGroupControlNumber\": true,\r\n \"checkDuplicateTransactionSetControlNumber\": true,\r\n \"validateEdiTypes\": true,\r\n \"validateXsdTypes\": true,\r\n \"allowLeadingAndTrailingSpacesAndZeroes\": true,\r\n \"trimLeadingAndTrailingSpacesAndZeroes\": true,\r\n \"trailingSeparatorPolicy\": \"Optional\"\r\n },\r\n \"framingSettings\": {\r\n \"characterEncoding\": \"UTF\",\r\n \"protocolVersion\": 4,\r\n \"dataElementSeparator\": 53,\r\n \"componentSeparator\": 58,\r\n \"segmentTerminator\": 39,\r\n \"releaseIndicator\": 63,\r\n \"repetitionSeparator\": 42,\r\n \"characterSet\": \"UNOC\",\r\n \"decimalPointIndicator\": \"Comma\",\r\n \"segmentTerminatorSuffix\": \"None\"\r\n },\r\n \"envelopeSettings\": {\r\n \"groupAssociationAssignedCode\": \"0\",\r\n \"communicationAgreementId\": \"0\",\r\n \"applyDelimiterStringAdvice\": true,\r\n \"createGroupingSegments\": true,\r\n \"enableDefaultGroupHeaders\": true,\r\n \"recipientReferencePasswordValue\": \"AA\",\r\n \"recipientReferencePasswordQualifier\": \"ZZ\",\r\n \"applicationReferenceId\": \"0\",\r\n \"processingPriorityCode\": \"0\",\r\n \"interchangeControlNumberLowerBound\": 1,\r\n \"interchangeControlNumberUpperBound\": 999999999,\r\n \"rolloverInterchangeControlNumber\": true,\r\n \"interchangeControlNumberPrefix\": \"CU\",\r\n \"interchangeControlNumberSuffix\": \"NUM\",\r\n \"functionalGroupId\": \"0\",\r\n \"groupControllingAgencyCode\": \"0\",\r\n \"groupMessageVersion\": \"0.0\",\r\n \"groupMessageRelease\": \"0.0\",\r\n \"groupControlNumberLowerBound\": 1,\r\n \"groupControlNumberUpperBound\": 999999999,\r\n \"rolloverGroupControlNumber\": true,\r\n \"groupControlNumberPrefix\": \"\",\r\n \"groupControlNumberSuffix\": \"\",\r\n \"groupApplicationReceiverQualifier\": \"ZZ\",\r\n \"groupApplicationReceiverId\": \"0\",\r\n \"groupApplicationSenderQualifier\": \"ZZ\",\r\n \"groupApplicationSenderId\": \"AA\",\r\n \"groupApplicationPassword\": \"0\",\r\n \"overwriteExistingTransactionSetControlNumber\": true,\r\n \"transactionSetControlNumberPrefix\": \"\",\r\n \"transactionSetControlNumberSuffix\": \"\",\r\n \"transactionSetControlNumberLowerBound\": 1,\r\n \"transactionSetControlNumberUpperBound\": 999999999,\r\n \"rolloverTransactionSetControlNumber\": true,\r\n \"isTestInterchange\": true,\r\n \"senderInternalIdentification\": \"AA\",\r\n \"senderInternalSubIdentification\": \"AA\",\r\n \"receiverInternalIdentification\": \"0\",\r\n \"receiverInternalSubIdentification\": \"0\"\r\n },\r\n \"acknowledgementSettings\": {\r\n \"needTechnicalAcknowledgement\": true,\r\n \"batchTechnicalAcknowledgements\": true,\r\n \"needFunctionalAcknowledgement\": true,\r\n \"batchFunctionalAcknowledgements\": true,\r\n \"needLoopForValidMessages\": true,\r\n \"sendSynchronousAcknowledgement\": true,\r\n \"acknowledgementControlNumberPrefix\": \"CN\",\r\n \"acknowledgementControlNumberSuffix\": \"NUM\",\r\n \"acknowledgementControlNumberLowerBound\": 1,\r\n \"acknowledgementControlNumberUpperBound\": 999999999,\r\n \"rolloverAcknowledgementControlNumber\": true\r\n },\r\n \"messageFilter\": {\r\n \"messageFilterType\": \"Exclude\"\r\n },\r\n \"processingSettings\": {\r\n \"maskSecurityInfo\": true,\r\n \"preserveInterchange\": true,\r\n \"suspendInterchangeOnError\": true,\r\n \"createEmptyXmlTagsForTrailingSeparators\": true,\r\n \"useDotAsDecimalSeparator\": true\r\n },\r\n \"schemaReferences\": []\r\n }\r\n }\r\n }\r\n }\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "52379c59-2b8b-43cc-ba73-73909d6666d2" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "9591" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:08 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:106e450d-dada-4d4d-830a-561a91b13beb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "54400f8c-cdc0-4ec4-a04b-6f59b7ded121" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225308Z:54400f8c-cdc0-4ec4-a04b-6f59b7ded121" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "6573" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"hostPartner\": \"HostPartner\",\r\n \"guestPartner\": \"GuestPartner\",\r\n \"hostIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"guestIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"agreementType\": \"EDIFACT\",\r\n \"content\": {\r\n \"edifact\": {\r\n \"receiveAgreement\": {\r\n \"protocolSettings\": {\r\n \"validationSettings\": {\r\n \"validateCharacterSet\": true,\r\n \"checkDuplicateInterchangeControlNumber\": true,\r\n \"interchangeControlNumberValidityDays\": 30,\r\n \"checkDuplicateGroupControlNumber\": true,\r\n \"checkDuplicateTransactionSetControlNumber\": true,\r\n \"validateEDITypes\": true,\r\n \"validateXSDTypes\": true,\r\n \"trimLeadingAndTrailingSpacesAndZeroes\": true,\r\n \"allowLeadingAndTrailingSpacesAndZeroes\": true,\r\n \"trailingSeparatorPolicy\": \"Optional\"\r\n },\r\n \"framingSettings\": {\r\n \"characterEncoding\": \"UTF\",\r\n \"protocolVersion\": 4,\r\n \"dataElementSeparator\": 53,\r\n \"componentSeparator\": 58,\r\n \"segmentTerminator\": 39,\r\n \"releaseIndicator\": 63,\r\n \"repetitionSeparator\": 42,\r\n \"characterSet\": \"UNOC\",\r\n \"decimalPointIndicator\": \"Comma\",\r\n \"segmentTerminatorSuffix\": \"None\"\r\n },\r\n \"envelopeSettings\": {\r\n \"groupAssociationAssignedCode\": \"0\",\r\n \"communicationAgreementId\": \"0\",\r\n \"applyDelimiterStringAdvice\": true,\r\n \"createGroupingSegments\": true,\r\n \"enableDefaultGroupHeaders\": true,\r\n \"recipientReferencePasswordValue\": \"AA\",\r\n \"recipientReferencePasswordQualifier\": \"ZZ\",\r\n \"applicationReferenceId\": \"0\",\r\n \"processingPriorityCode\": \"0\",\r\n \"interchangeControlNumberLowerBound\": 1,\r\n \"interchangeControlNumberUpperBound\": 99999999,\r\n \"rolloverInterchangeControlNumber\": true,\r\n \"interchangeControlNumberPrefix\": \"CU\",\r\n \"interchangeControlNumberSuffix\": \"NUM\",\r\n \"functionalGroupId\": \"0\",\r\n \"groupControllingAgencyCode\": \"0\",\r\n \"groupMessageVersion\": \"0.0\",\r\n \"groupMessageRelease\": \"0.0\",\r\n \"groupControlNumberLowerBound\": 1,\r\n \"groupControlNumberUpperBound\": 99999999,\r\n \"rolloverGroupControlNumber\": true,\r\n \"groupControlNumberPrefix\": \"CU\",\r\n \"groupControlNumberSuffix\": \"NUM\",\r\n \"groupApplicationReceiverQualifier\": \"ZZZ\",\r\n \"groupApplicationReceiverId\": \"0\",\r\n \"groupApplicationSenderQualifier\": \"ZZZ\",\r\n \"groupApplicationSenderId\": \"AAA\",\r\n \"groupApplicationPassword\": \"0\",\r\n \"overwriteExistingTransactionSetControlNumber\": true,\r\n \"transactionSetControlNumberPrefix\": \"\",\r\n \"transactionSetControlNumberSuffix\": \"\",\r\n \"transactionSetControlNumberLowerBound\": 1,\r\n \"transactionSetControlNumberUpperBound\": 99999999,\r\n \"rolloverTransactionSetControlNumber\": true,\r\n \"isTestInterchange\": true,\r\n \"senderInternalIdentification\": \"AA\",\r\n \"senderInternalSubIdentification\": \"AA\",\r\n \"receiverInternalIdentification\": \"0\",\r\n \"receiverInternalSubIdentification\": \"0\"\r\n },\r\n \"acknowledgementSettings\": {\r\n \"needTechnicalAcknowledgement\": true,\r\n \"batchTechnicalAcknowledgements\": true,\r\n \"needFunctionalAcknowledgement\": false,\r\n \"batchFunctionalAcknowledgements\": true,\r\n \"needLoopForValidMessages\": false,\r\n \"sendSynchronousAcknowledgement\": true,\r\n \"acknowledgementControlNumberPrefix\": \"\",\r\n \"acknowledgementControlNumberSuffix\": \"\",\r\n \"acknowledgementControlNumberLowerBound\": 1,\r\n \"acknowledgementControlNumberUpperBound\": 99999999,\r\n \"rolloverAcknowledgementControlNumber\": true\r\n },\r\n \"messageFilter\": {\r\n \"messageFilterType\": \"Exclude\"\r\n },\r\n \"processingSettings\": {\r\n \"maskSecurityInfo\": true,\r\n \"preserveInterchange\": true,\r\n \"suspendInterchangeOnError\": true,\r\n \"createEmptyXmlTagsForTrailingSeparators\": true,\r\n \"useDotAsDecimalSeparator\": true\r\n },\r\n \"schemaReferences\": []\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n }\r\n },\r\n \"sendAgreement\": {\r\n \"protocolSettings\": {\r\n \"validationSettings\": {\r\n \"validateCharacterSet\": true,\r\n \"checkDuplicateInterchangeControlNumber\": true,\r\n \"interchangeControlNumberValidityDays\": 30,\r\n \"checkDuplicateGroupControlNumber\": true,\r\n \"checkDuplicateTransactionSetControlNumber\": true,\r\n \"validateEDITypes\": true,\r\n \"validateXSDTypes\": true,\r\n \"trimLeadingAndTrailingSpacesAndZeroes\": true,\r\n \"allowLeadingAndTrailingSpacesAndZeroes\": true,\r\n \"trailingSeparatorPolicy\": \"Optional\"\r\n },\r\n \"framingSettings\": {\r\n \"characterEncoding\": \"UTF\",\r\n \"protocolVersion\": 4,\r\n \"dataElementSeparator\": 53,\r\n \"componentSeparator\": 58,\r\n \"segmentTerminator\": 39,\r\n \"releaseIndicator\": 63,\r\n \"repetitionSeparator\": 42,\r\n \"characterSet\": \"UNOC\",\r\n \"decimalPointIndicator\": \"Comma\",\r\n \"segmentTerminatorSuffix\": \"None\"\r\n },\r\n \"envelopeSettings\": {\r\n \"groupAssociationAssignedCode\": \"0\",\r\n \"communicationAgreementId\": \"0\",\r\n \"applyDelimiterStringAdvice\": true,\r\n \"createGroupingSegments\": true,\r\n \"enableDefaultGroupHeaders\": true,\r\n \"recipientReferencePasswordValue\": \"AA\",\r\n \"recipientReferencePasswordQualifier\": \"ZZ\",\r\n \"applicationReferenceId\": \"0\",\r\n \"processingPriorityCode\": \"0\",\r\n \"interchangeControlNumberLowerBound\": 1,\r\n \"interchangeControlNumberUpperBound\": 999999999,\r\n \"rolloverInterchangeControlNumber\": true,\r\n \"interchangeControlNumberPrefix\": \"CU\",\r\n \"interchangeControlNumberSuffix\": \"NUM\",\r\n \"functionalGroupId\": \"0\",\r\n \"groupControllingAgencyCode\": \"0\",\r\n \"groupMessageVersion\": \"0.0\",\r\n \"groupMessageRelease\": \"0.0\",\r\n \"groupControlNumberLowerBound\": 1,\r\n \"groupControlNumberUpperBound\": 999999999,\r\n \"rolloverGroupControlNumber\": true,\r\n \"groupControlNumberPrefix\": \"\",\r\n \"groupControlNumberSuffix\": \"\",\r\n \"groupApplicationReceiverQualifier\": \"ZZ\",\r\n \"groupApplicationReceiverId\": \"0\",\r\n \"groupApplicationSenderQualifier\": \"ZZ\",\r\n \"groupApplicationSenderId\": \"AA\",\r\n \"groupApplicationPassword\": \"0\",\r\n \"overwriteExistingTransactionSetControlNumber\": true,\r\n \"transactionSetControlNumberPrefix\": \"\",\r\n \"transactionSetControlNumberSuffix\": \"\",\r\n \"transactionSetControlNumberLowerBound\": 1,\r\n \"transactionSetControlNumberUpperBound\": 999999999,\r\n \"rolloverTransactionSetControlNumber\": true,\r\n \"isTestInterchange\": true,\r\n \"senderInternalIdentification\": \"AA\",\r\n \"senderInternalSubIdentification\": \"AA\",\r\n \"receiverInternalIdentification\": \"0\",\r\n \"receiverInternalSubIdentification\": \"0\"\r\n },\r\n \"acknowledgementSettings\": {\r\n \"needTechnicalAcknowledgement\": true,\r\n \"batchTechnicalAcknowledgements\": true,\r\n \"needFunctionalAcknowledgement\": true,\r\n \"batchFunctionalAcknowledgements\": true,\r\n \"needLoopForValidMessages\": true,\r\n \"sendSynchronousAcknowledgement\": true,\r\n \"acknowledgementControlNumberPrefix\": \"CN\",\r\n \"acknowledgementControlNumberSuffix\": \"NUM\",\r\n \"acknowledgementControlNumberLowerBound\": 1,\r\n \"acknowledgementControlNumberUpperBound\": 999999999,\r\n \"rolloverAcknowledgementControlNumber\": true\r\n },\r\n \"messageFilter\": {\r\n \"messageFilterType\": \"Exclude\"\r\n },\r\n \"processingSettings\": {\r\n \"maskSecurityInfo\": true,\r\n \"preserveInterchange\": true,\r\n \"suspendInterchangeOnError\": true,\r\n \"createEmptyXmlTagsForTrailingSeparators\": true,\r\n \"useDotAsDecimalSeparator\": true\r\n },\r\n \"schemaReferences\": []\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n }\r\n }\r\n }\r\n },\r\n \"createdTime\": \"2018-09-19T22:53:08.8922133Z\",\r\n \"changedTime\": \"2018-09-19T22:53:08.8927032Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4595/agreements/IntegrationAccountAgreement8289\",\r\n \"name\": \"IntegrationAccountAgreement8289\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/agreements\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4595/agreements/IntegrationAccountAgreement2810?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NDU5NS9hZ3JlZW1lbnRzL0ludGVncmF0aW9uQWNjb3VudEFncmVlbWVudDI4MTA/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"agreementType\": \"X12\",\r\n \"hostPartner\": \"HostPartner\",\r\n \"guestPartner\": \"GuestPartner\",\r\n \"hostIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"guestIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"content\": {\r\n \"x12\": {\r\n \"receiveAgreement\": {\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"protocolSettings\": {\r\n \"validationSettings\": {\r\n \"validateCharacterSet\": true,\r\n \"checkDuplicateInterchangeControlNumber\": false,\r\n \"interchangeControlNumberValidityDays\": 30,\r\n \"checkDuplicateGroupControlNumber\": false,\r\n \"checkDuplicateTransactionSetControlNumber\": false,\r\n \"validateEdiTypes\": true,\r\n \"validateXsdTypes\": false,\r\n \"allowLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trimLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trailingSeparatorPolicy\": \"NotAllowed\"\r\n },\r\n \"framingSettings\": {\r\n \"dataElementSeparator\": 42,\r\n \"componentSeparator\": 58,\r\n \"replaceSeparatorsInPayload\": false,\r\n \"replaceCharacter\": 36,\r\n \"segmentTerminator\": 126,\r\n \"characterSet\": \"UTF8\",\r\n \"segmentTerminatorSuffix\": \"None\"\r\n },\r\n \"envelopeSettings\": {\r\n \"controlStandardsId\": 85,\r\n \"useControlStandardsIdAsRepetitionCharacter\": false,\r\n \"senderApplicationId\": \"BTS-SENDER\",\r\n \"receiverApplicationId\": \"RECEIVE-APP\",\r\n \"controlVersionNumber\": \"00401\",\r\n \"interchangeControlNumberLowerBound\": 1,\r\n \"interchangeControlNumberUpperBound\": 999999999,\r\n \"rolloverInterchangeControlNumber\": true,\r\n \"enableDefaultGroupHeaders\": true,\r\n \"groupControlNumberLowerBound\": 1,\r\n \"groupControlNumberUpperBound\": 999999999,\r\n \"rolloverGroupControlNumber\": true,\r\n \"groupHeaderAgencyCode\": \"T\",\r\n \"groupHeaderVersion\": \"00401\",\r\n \"transactionSetControlNumberLowerBound\": 1,\r\n \"transactionSetControlNumberUpperBound\": 999999999,\r\n \"rolloverTransactionSetControlNumber\": true,\r\n \"overwriteExistingTransactionSetControlNumber\": true,\r\n \"groupHeaderDateFormat\": \"CCYYMMDD\",\r\n \"groupHeaderTimeFormat\": \"HHMM\",\r\n \"usageIndicator\": \"Test\"\r\n },\r\n \"acknowledgementSettings\": {\r\n \"needTechnicalAcknowledgement\": false,\r\n \"batchTechnicalAcknowledgements\": true,\r\n \"needFunctionalAcknowledgement\": false,\r\n \"batchFunctionalAcknowledgements\": true,\r\n \"needImplementationAcknowledgement\": false,\r\n \"batchImplementationAcknowledgements\": false,\r\n \"needLoopForValidMessages\": false,\r\n \"sendSynchronousAcknowledgement\": true,\r\n \"acknowledgementControlNumberLowerBound\": 1,\r\n \"acknowledgementControlNumberUpperBound\": 999999999,\r\n \"rolloverAcknowledgementControlNumber\": true\r\n },\r\n \"messageFilter\": {\r\n \"messageFilterType\": \"Exclude\"\r\n },\r\n \"securitySettings\": {\r\n \"authorizationQualifier\": \"00\",\r\n \"securityQualifier\": \"00\"\r\n },\r\n \"processingSettings\": {\r\n \"maskSecurityInfo\": true,\r\n \"convertImpliedDecimal\": true,\r\n \"preserveInterchange\": true,\r\n \"suspendInterchangeOnError\": true,\r\n \"createEmptyXmlTagsForTrailingSeparators\": true,\r\n \"useDotAsDecimalSeparator\": true\r\n },\r\n \"schemaReferences\": []\r\n }\r\n },\r\n \"sendAgreement\": {\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"protocolSettings\": {\r\n \"validationSettings\": {\r\n \"validateCharacterSet\": true,\r\n \"checkDuplicateInterchangeControlNumber\": false,\r\n \"interchangeControlNumberValidityDays\": 30,\r\n \"checkDuplicateGroupControlNumber\": false,\r\n \"checkDuplicateTransactionSetControlNumber\": false,\r\n \"validateEdiTypes\": true,\r\n \"validateXsdTypes\": false,\r\n \"allowLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trimLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trailingSeparatorPolicy\": \"NotAllowed\"\r\n },\r\n \"framingSettings\": {\r\n \"dataElementSeparator\": 42,\r\n \"componentSeparator\": 58,\r\n \"replaceSeparatorsInPayload\": false,\r\n \"replaceCharacter\": 36,\r\n \"segmentTerminator\": 126,\r\n \"characterSet\": \"UTF8\",\r\n \"segmentTerminatorSuffix\": \"None\"\r\n },\r\n \"envelopeSettings\": {\r\n \"controlStandardsId\": 100,\r\n \"useControlStandardsIdAsRepetitionCharacter\": true,\r\n \"senderApplicationId\": \"100\",\r\n \"receiverApplicationId\": \"100\",\r\n \"controlVersionNumber\": \"0.0\",\r\n \"interchangeControlNumberLowerBound\": 1,\r\n \"interchangeControlNumberUpperBound\": 999999999,\r\n \"rolloverInterchangeControlNumber\": true,\r\n \"enableDefaultGroupHeaders\": true,\r\n \"functionalGroupId\": \"1\",\r\n \"groupControlNumberLowerBound\": 1,\r\n \"groupControlNumberUpperBound\": 999999999,\r\n \"rolloverGroupControlNumber\": true,\r\n \"groupHeaderAgencyCode\": \"T\",\r\n \"groupHeaderVersion\": \"0.0\",\r\n \"transactionSetControlNumberLowerBound\": 1,\r\n \"transactionSetControlNumberUpperBound\": 999999999,\r\n \"rolloverTransactionSetControlNumber\": true,\r\n \"transactionSetControlNumberPrefix\": \"\",\r\n \"transactionSetControlNumberSuffix\": \"\",\r\n \"overwriteExistingTransactionSetControlNumber\": true,\r\n \"groupHeaderDateFormat\": \"CCYYMMDD\",\r\n \"groupHeaderTimeFormat\": \"HHMM\",\r\n \"usageIndicator\": \"Information\"\r\n },\r\n \"acknowledgementSettings\": {\r\n \"needTechnicalAcknowledgement\": false,\r\n \"batchTechnicalAcknowledgements\": true,\r\n \"needFunctionalAcknowledgement\": false,\r\n \"batchFunctionalAcknowledgements\": true,\r\n \"needImplementationAcknowledgement\": false,\r\n \"batchImplementationAcknowledgements\": false,\r\n \"needLoopForValidMessages\": false,\r\n \"sendSynchronousAcknowledgement\": true,\r\n \"acknowledgementControlNumberLowerBound\": 1,\r\n \"acknowledgementControlNumberUpperBound\": 999999999,\r\n \"rolloverAcknowledgementControlNumber\": true\r\n },\r\n \"messageFilter\": {\r\n \"messageFilterType\": \"Exclude\"\r\n },\r\n \"securitySettings\": {\r\n \"authorizationQualifier\": \"00\",\r\n \"securityQualifier\": \"00\"\r\n },\r\n \"processingSettings\": {\r\n \"maskSecurityInfo\": true,\r\n \"convertImpliedDecimal\": true,\r\n \"preserveInterchange\": true,\r\n \"suspendInterchangeOnError\": true,\r\n \"createEmptyXmlTagsForTrailingSeparators\": true,\r\n \"useDotAsDecimalSeparator\": true\r\n },\r\n \"schemaReferences\": []\r\n }\r\n }\r\n }\r\n }\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "83240bdc-1df9-4700-b3a1-dfee78b1f782" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "8019" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:09 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:a08fbb9e-c5a5-498f-a2c9-69fff442bba6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-correlation-request-id": [ + "26d1f68e-376a-4e13-b1d3-fb85966c3bba" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225309Z:26d1f68e-376a-4e13-b1d3-fb85966c3bba" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "5504" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"hostPartner\": \"HostPartner\",\r\n \"guestPartner\": \"GuestPartner\",\r\n \"hostIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"guestIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"agreementType\": \"X12\",\r\n \"content\": {\r\n \"x12\": {\r\n \"receiveAgreement\": {\r\n \"protocolSettings\": {\r\n \"validationSettings\": {\r\n \"validateCharacterSet\": true,\r\n \"checkDuplicateInterchangeControlNumber\": false,\r\n \"interchangeControlNumberValidityDays\": 30,\r\n \"checkDuplicateGroupControlNumber\": false,\r\n \"checkDuplicateTransactionSetControlNumber\": false,\r\n \"validateEDITypes\": true,\r\n \"validateXSDTypes\": false,\r\n \"allowLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trimLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trailingSeparatorPolicy\": \"NotAllowed\"\r\n },\r\n \"framingSettings\": {\r\n \"dataElementSeparator\": 42,\r\n \"componentSeparator\": 58,\r\n \"replaceSeparatorsInPayload\": false,\r\n \"replaceCharacter\": 36,\r\n \"segmentTerminator\": 126,\r\n \"characterSet\": \"UTF8\",\r\n \"segmentTerminatorSuffix\": \"None\"\r\n },\r\n \"envelopeSettings\": {\r\n \"controlStandardsId\": 85,\r\n \"useControlStandardsIdAsRepetitionCharacter\": false,\r\n \"senderApplicationId\": \"BTS-SENDER\",\r\n \"receiverApplicationId\": \"RECEIVE-APP\",\r\n \"controlVersionNumber\": \"00401\",\r\n \"interchangeControlNumberLowerBound\": 1,\r\n \"interchangeControlNumberUpperBound\": 999999999,\r\n \"rolloverInterchangeControlNumber\": true,\r\n \"enableDefaultGroupHeaders\": true,\r\n \"groupControlNumberLowerBound\": 1,\r\n \"groupControlNumberUpperBound\": 999999999,\r\n \"rolloverGroupControlNumber\": true,\r\n \"groupHeaderAgencyCode\": \"T\",\r\n \"groupHeaderVersion\": \"00401\",\r\n \"transactionSetControlNumberLowerBound\": 1,\r\n \"transactionSetControlNumberUpperBound\": 999999999,\r\n \"rolloverTransactionSetControlNumber\": true,\r\n \"overwriteExistingTransactionSetControlNumber\": true,\r\n \"groupHeaderDateFormat\": \"CCYYMMDD\",\r\n \"groupHeaderTimeFormat\": \"HHMM\",\r\n \"usageIndicator\": \"Test\"\r\n },\r\n \"acknowledgementSettings\": {\r\n \"needTechnicalAcknowledgement\": false,\r\n \"batchTechnicalAcknowledgements\": true,\r\n \"needFunctionalAcknowledgement\": false,\r\n \"batchFunctionalAcknowledgements\": true,\r\n \"needImplementationAcknowledgement\": false,\r\n \"batchImplementationAcknowledgements\": false,\r\n \"needLoopForValidMessages\": false,\r\n \"sendSynchronousAcknowledgement\": true,\r\n \"acknowledgementControlNumberLowerBound\": 1,\r\n \"acknowledgementControlNumberUpperBound\": 999999999,\r\n \"rolloverAcknowledgementControlNumber\": true\r\n },\r\n \"messageFilter\": {\r\n \"messageFilterType\": \"Exclude\"\r\n },\r\n \"securitySettings\": {\r\n \"authorizationQualifier\": \"00\",\r\n \"securityQualifier\": \"00\"\r\n },\r\n \"processingSettings\": {\r\n \"maskSecurityInfo\": true,\r\n \"convertImpliedDecimal\": true,\r\n \"preserveInterchange\": true,\r\n \"suspendInterchangeOnError\": true,\r\n \"createEmptyXmlTagsForTrailingSeparators\": true,\r\n \"useDotAsDecimalSeparator\": true\r\n },\r\n \"schemaReferences\": []\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n }\r\n },\r\n \"sendAgreement\": {\r\n \"protocolSettings\": {\r\n \"validationSettings\": {\r\n \"validateCharacterSet\": true,\r\n \"checkDuplicateInterchangeControlNumber\": false,\r\n \"interchangeControlNumberValidityDays\": 30,\r\n \"checkDuplicateGroupControlNumber\": false,\r\n \"checkDuplicateTransactionSetControlNumber\": false,\r\n \"validateEDITypes\": true,\r\n \"validateXSDTypes\": false,\r\n \"allowLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trimLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trailingSeparatorPolicy\": \"NotAllowed\"\r\n },\r\n \"framingSettings\": {\r\n \"dataElementSeparator\": 42,\r\n \"componentSeparator\": 58,\r\n \"replaceSeparatorsInPayload\": false,\r\n \"replaceCharacter\": 36,\r\n \"segmentTerminator\": 126,\r\n \"characterSet\": \"UTF8\",\r\n \"segmentTerminatorSuffix\": \"None\"\r\n },\r\n \"envelopeSettings\": {\r\n \"controlStandardsId\": 100,\r\n \"useControlStandardsIdAsRepetitionCharacter\": true,\r\n \"senderApplicationId\": \"100\",\r\n \"receiverApplicationId\": \"100\",\r\n \"controlVersionNumber\": \"0.0\",\r\n \"interchangeControlNumberLowerBound\": 1,\r\n \"interchangeControlNumberUpperBound\": 999999999,\r\n \"rolloverInterchangeControlNumber\": true,\r\n \"enableDefaultGroupHeaders\": true,\r\n \"functionalGroupId\": \"1\",\r\n \"groupControlNumberLowerBound\": 1,\r\n \"groupControlNumberUpperBound\": 999999999,\r\n \"rolloverGroupControlNumber\": true,\r\n \"groupHeaderAgencyCode\": \"T\",\r\n \"groupHeaderVersion\": \"0.0\",\r\n \"transactionSetControlNumberLowerBound\": 1,\r\n \"transactionSetControlNumberUpperBound\": 999999999,\r\n \"rolloverTransactionSetControlNumber\": true,\r\n \"transactionSetControlNumberPrefix\": \"\",\r\n \"transactionSetControlNumberSuffix\": \"\",\r\n \"overwriteExistingTransactionSetControlNumber\": true,\r\n \"groupHeaderDateFormat\": \"CCYYMMDD\",\r\n \"groupHeaderTimeFormat\": \"HHMM\",\r\n \"usageIndicator\": \"Information\"\r\n },\r\n \"acknowledgementSettings\": {\r\n \"needTechnicalAcknowledgement\": false,\r\n \"batchTechnicalAcknowledgements\": true,\r\n \"needFunctionalAcknowledgement\": false,\r\n \"batchFunctionalAcknowledgements\": true,\r\n \"needImplementationAcknowledgement\": false,\r\n \"batchImplementationAcknowledgements\": false,\r\n \"needLoopForValidMessages\": false,\r\n \"sendSynchronousAcknowledgement\": true,\r\n \"acknowledgementControlNumberLowerBound\": 1,\r\n \"acknowledgementControlNumberUpperBound\": 999999999,\r\n \"rolloverAcknowledgementControlNumber\": true\r\n },\r\n \"messageFilter\": {\r\n \"messageFilterType\": \"Exclude\"\r\n },\r\n \"securitySettings\": {\r\n \"authorizationQualifier\": \"00\",\r\n \"securityQualifier\": \"00\"\r\n },\r\n \"processingSettings\": {\r\n \"maskSecurityInfo\": true,\r\n \"convertImpliedDecimal\": true,\r\n \"preserveInterchange\": true,\r\n \"suspendInterchangeOnError\": true,\r\n \"createEmptyXmlTagsForTrailingSeparators\": true,\r\n \"useDotAsDecimalSeparator\": true\r\n },\r\n \"schemaReferences\": []\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n }\r\n }\r\n }\r\n },\r\n \"createdTime\": \"2018-09-19T22:53:09.0677243Z\",\r\n \"changedTime\": \"2018-09-19T22:53:09.0678081Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4595/agreements/IntegrationAccountAgreement2810\",\r\n \"name\": \"IntegrationAccountAgreement2810\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/agreements\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4595/agreements?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NDU5NS9hZ3JlZW1lbnRzP2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "98cbe811-ccf6-41c1-9f3c-df4b7cdf2649" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:09 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:614fe3b0-040c-47ef-8fe0-5b29322bbb03" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11991" + ], + "x-ms-correlation-request-id": [ + "43acce33-b93a-485d-bf66-e883a8d019e2" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225309Z:43acce33-b93a-485d-bf66-e883a8d019e2" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "15961" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"hostPartner\": \"HostPartner\",\r\n \"guestPartner\": \"GuestPartner\",\r\n \"hostIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"guestIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"agreementType\": \"X12\",\r\n \"content\": {\r\n \"x12\": {\r\n \"receiveAgreement\": {\r\n \"protocolSettings\": {\r\n \"validationSettings\": {\r\n \"validateCharacterSet\": true,\r\n \"checkDuplicateInterchangeControlNumber\": false,\r\n \"interchangeControlNumberValidityDays\": 30,\r\n \"checkDuplicateGroupControlNumber\": false,\r\n \"checkDuplicateTransactionSetControlNumber\": false,\r\n \"validateEDITypes\": true,\r\n \"validateXSDTypes\": false,\r\n \"allowLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trimLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trailingSeparatorPolicy\": \"NotAllowed\"\r\n },\r\n \"framingSettings\": {\r\n \"dataElementSeparator\": 42,\r\n \"componentSeparator\": 58,\r\n \"replaceSeparatorsInPayload\": false,\r\n \"replaceCharacter\": 36,\r\n \"segmentTerminator\": 126,\r\n \"characterSet\": \"UTF8\",\r\n \"segmentTerminatorSuffix\": \"None\"\r\n },\r\n \"envelopeSettings\": {\r\n \"controlStandardsId\": 85,\r\n \"useControlStandardsIdAsRepetitionCharacter\": false,\r\n \"senderApplicationId\": \"BTS-SENDER\",\r\n \"receiverApplicationId\": \"RECEIVE-APP\",\r\n \"controlVersionNumber\": \"00401\",\r\n \"interchangeControlNumberLowerBound\": 1,\r\n \"interchangeControlNumberUpperBound\": 999999999,\r\n \"rolloverInterchangeControlNumber\": true,\r\n \"enableDefaultGroupHeaders\": true,\r\n \"groupControlNumberLowerBound\": 1,\r\n \"groupControlNumberUpperBound\": 999999999,\r\n \"rolloverGroupControlNumber\": true,\r\n \"groupHeaderAgencyCode\": \"T\",\r\n \"groupHeaderVersion\": \"00401\",\r\n \"transactionSetControlNumberLowerBound\": 1,\r\n \"transactionSetControlNumberUpperBound\": 999999999,\r\n \"rolloverTransactionSetControlNumber\": true,\r\n \"overwriteExistingTransactionSetControlNumber\": true,\r\n \"groupHeaderDateFormat\": \"CCYYMMDD\",\r\n \"groupHeaderTimeFormat\": \"HHMM\",\r\n \"usageIndicator\": \"Test\"\r\n },\r\n \"acknowledgementSettings\": {\r\n \"needTechnicalAcknowledgement\": false,\r\n \"batchTechnicalAcknowledgements\": true,\r\n \"needFunctionalAcknowledgement\": false,\r\n \"batchFunctionalAcknowledgements\": true,\r\n \"needImplementationAcknowledgement\": false,\r\n \"batchImplementationAcknowledgements\": false,\r\n \"needLoopForValidMessages\": false,\r\n \"sendSynchronousAcknowledgement\": true,\r\n \"acknowledgementControlNumberLowerBound\": 1,\r\n \"acknowledgementControlNumberUpperBound\": 999999999,\r\n \"rolloverAcknowledgementControlNumber\": true\r\n },\r\n \"messageFilter\": {\r\n \"messageFilterType\": \"Exclude\"\r\n },\r\n \"securitySettings\": {\r\n \"authorizationQualifier\": \"00\",\r\n \"securityQualifier\": \"00\"\r\n },\r\n \"processingSettings\": {\r\n \"maskSecurityInfo\": true,\r\n \"convertImpliedDecimal\": true,\r\n \"preserveInterchange\": true,\r\n \"suspendInterchangeOnError\": true,\r\n \"createEmptyXmlTagsForTrailingSeparators\": true,\r\n \"useDotAsDecimalSeparator\": true\r\n },\r\n \"schemaReferences\": []\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n }\r\n },\r\n \"sendAgreement\": {\r\n \"protocolSettings\": {\r\n \"validationSettings\": {\r\n \"validateCharacterSet\": true,\r\n \"checkDuplicateInterchangeControlNumber\": false,\r\n \"interchangeControlNumberValidityDays\": 30,\r\n \"checkDuplicateGroupControlNumber\": false,\r\n \"checkDuplicateTransactionSetControlNumber\": false,\r\n \"validateEDITypes\": true,\r\n \"validateXSDTypes\": false,\r\n \"allowLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trimLeadingAndTrailingSpacesAndZeroes\": false,\r\n \"trailingSeparatorPolicy\": \"NotAllowed\"\r\n },\r\n \"framingSettings\": {\r\n \"dataElementSeparator\": 42,\r\n \"componentSeparator\": 58,\r\n \"replaceSeparatorsInPayload\": false,\r\n \"replaceCharacter\": 36,\r\n \"segmentTerminator\": 126,\r\n \"characterSet\": \"UTF8\",\r\n \"segmentTerminatorSuffix\": \"None\"\r\n },\r\n \"envelopeSettings\": {\r\n \"controlStandardsId\": 100,\r\n \"useControlStandardsIdAsRepetitionCharacter\": true,\r\n \"senderApplicationId\": \"100\",\r\n \"receiverApplicationId\": \"100\",\r\n \"controlVersionNumber\": \"0.0\",\r\n \"interchangeControlNumberLowerBound\": 1,\r\n \"interchangeControlNumberUpperBound\": 999999999,\r\n \"rolloverInterchangeControlNumber\": true,\r\n \"enableDefaultGroupHeaders\": true,\r\n \"functionalGroupId\": \"1\",\r\n \"groupControlNumberLowerBound\": 1,\r\n \"groupControlNumberUpperBound\": 999999999,\r\n \"rolloverGroupControlNumber\": true,\r\n \"groupHeaderAgencyCode\": \"T\",\r\n \"groupHeaderVersion\": \"0.0\",\r\n \"transactionSetControlNumberLowerBound\": 1,\r\n \"transactionSetControlNumberUpperBound\": 999999999,\r\n \"rolloverTransactionSetControlNumber\": true,\r\n \"transactionSetControlNumberPrefix\": \"\",\r\n \"transactionSetControlNumberSuffix\": \"\",\r\n \"overwriteExistingTransactionSetControlNumber\": true,\r\n \"groupHeaderDateFormat\": \"CCYYMMDD\",\r\n \"groupHeaderTimeFormat\": \"HHMM\",\r\n \"usageIndicator\": \"Information\"\r\n },\r\n \"acknowledgementSettings\": {\r\n \"needTechnicalAcknowledgement\": false,\r\n \"batchTechnicalAcknowledgements\": true,\r\n \"needFunctionalAcknowledgement\": false,\r\n \"batchFunctionalAcknowledgements\": true,\r\n \"needImplementationAcknowledgement\": false,\r\n \"batchImplementationAcknowledgements\": false,\r\n \"needLoopForValidMessages\": false,\r\n \"sendSynchronousAcknowledgement\": true,\r\n \"acknowledgementControlNumberLowerBound\": 1,\r\n \"acknowledgementControlNumberUpperBound\": 999999999,\r\n \"rolloverAcknowledgementControlNumber\": true\r\n },\r\n \"messageFilter\": {\r\n \"messageFilterType\": \"Exclude\"\r\n },\r\n \"securitySettings\": {\r\n \"authorizationQualifier\": \"00\",\r\n \"securityQualifier\": \"00\"\r\n },\r\n \"processingSettings\": {\r\n \"maskSecurityInfo\": true,\r\n \"convertImpliedDecimal\": true,\r\n \"preserveInterchange\": true,\r\n \"suspendInterchangeOnError\": true,\r\n \"createEmptyXmlTagsForTrailingSeparators\": true,\r\n \"useDotAsDecimalSeparator\": true\r\n },\r\n \"schemaReferences\": []\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n }\r\n }\r\n }\r\n },\r\n \"createdTime\": \"2018-09-19T22:53:09.0677243Z\",\r\n \"changedTime\": \"2018-09-19T22:53:09.0678081Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4595/agreements/IntegrationAccountAgreement2810\",\r\n \"name\": \"IntegrationAccountAgreement2810\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/agreements\"\r\n },\r\n {\r\n \"properties\": {\r\n \"hostPartner\": \"HostPartner\",\r\n \"guestPartner\": \"GuestPartner\",\r\n \"hostIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"guestIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"agreementType\": \"AS2\",\r\n \"content\": {\r\n \"aS2\": {\r\n \"receiveAgreement\": {\r\n \"protocolSettings\": {\r\n \"messageConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"acknowledgementConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"mdnSettings\": {\r\n \"needMDN\": true,\r\n \"signMDN\": true,\r\n \"sendMDNAsynchronously\": true,\r\n \"receiptDeliveryUrl\": \"http://tempuri.org\",\r\n \"dispositionNotificationTo\": \"http://tempuri.org\",\r\n \"signOutboundMDNIfOptional\": true,\r\n \"mdnText\": \"Sample\",\r\n \"sendInboundMDNToMessageBox\": true,\r\n \"micHashingAlgorithm\": \"MD5\"\r\n },\r\n \"securitySettings\": {\r\n \"overrideGroupSigningCertificate\": false,\r\n \"enableNRRForInboundEncodedMessages\": true,\r\n \"enableNRRForInboundDecodedMessages\": true,\r\n \"enableNRRForOutboundMDN\": true,\r\n \"enableNRRForOutboundEncodedMessages\": true,\r\n \"enableNRRForOutboundDecodedMessages\": true,\r\n \"enableNRRForInboundMDN\": true\r\n },\r\n \"validationSettings\": {\r\n \"overrideMessageProperties\": true,\r\n \"encryptMessage\": false,\r\n \"signMessage\": false,\r\n \"compressMessage\": true,\r\n \"checkDuplicateMessage\": true,\r\n \"interchangeDuplicatesValidityDays\": 100,\r\n \"checkCertificateRevocationListOnSend\": true,\r\n \"checkCertificateRevocationListOnReceive\": true,\r\n \"encryptionAlgorithm\": \"AES128\"\r\n },\r\n \"envelopeSettings\": {\r\n \"messageContentType\": \"text/plain\",\r\n \"transmitFileNameInMimeHeader\": true,\r\n \"fileNameTemplate\": \"Test\",\r\n \"suspendMessageOnFileNameGenerationError\": true,\r\n \"autogenerateFileName\": true\r\n },\r\n \"errorSettings\": {\r\n \"suspendDuplicateMessage\": true,\r\n \"resendIfMDNNotReceived\": true\r\n }\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n }\r\n },\r\n \"sendAgreement\": {\r\n \"protocolSettings\": {\r\n \"messageConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"acknowledgementConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"mdnSettings\": {\r\n \"needMDN\": true,\r\n \"signMDN\": true,\r\n \"sendMDNAsynchronously\": true,\r\n \"receiptDeliveryUrl\": \"http://tempuri.org\",\r\n \"dispositionNotificationTo\": \"http://tempuri.org\",\r\n \"signOutboundMDNIfOptional\": true,\r\n \"mdnText\": \"Sample\",\r\n \"sendInboundMDNToMessageBox\": true,\r\n \"micHashingAlgorithm\": \"MD5\"\r\n },\r\n \"securitySettings\": {\r\n \"overrideGroupSigningCertificate\": false,\r\n \"enableNRRForInboundEncodedMessages\": true,\r\n \"enableNRRForInboundDecodedMessages\": true,\r\n \"enableNRRForOutboundMDN\": true,\r\n \"enableNRRForOutboundEncodedMessages\": true,\r\n \"enableNRRForOutboundDecodedMessages\": true,\r\n \"enableNRRForInboundMDN\": true\r\n },\r\n \"validationSettings\": {\r\n \"overrideMessageProperties\": true,\r\n \"encryptMessage\": false,\r\n \"signMessage\": false,\r\n \"compressMessage\": true,\r\n \"checkDuplicateMessage\": true,\r\n \"interchangeDuplicatesValidityDays\": 100,\r\n \"checkCertificateRevocationListOnSend\": true,\r\n \"checkCertificateRevocationListOnReceive\": true,\r\n \"encryptionAlgorithm\": \"AES128\"\r\n },\r\n \"envelopeSettings\": {\r\n \"messageContentType\": \"text/plain\",\r\n \"transmitFileNameInMimeHeader\": true,\r\n \"fileNameTemplate\": \"Test\",\r\n \"suspendMessageOnFileNameGenerationError\": true,\r\n \"autogenerateFileName\": true\r\n },\r\n \"errorSettings\": {\r\n \"suspendDuplicateMessage\": true,\r\n \"resendIfMDNNotReceived\": true\r\n }\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n }\r\n }\r\n }\r\n },\r\n \"createdTime\": \"2018-09-19T22:53:08.6015566Z\",\r\n \"changedTime\": \"2018-09-19T22:53:08.6024288Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4595/agreements/IntegrationAccountAgreement424\",\r\n \"name\": \"IntegrationAccountAgreement424\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/agreements\"\r\n },\r\n {\r\n \"properties\": {\r\n \"hostPartner\": \"HostPartner\",\r\n \"guestPartner\": \"GuestPartner\",\r\n \"hostIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"guestIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"agreementType\": \"EDIFACT\",\r\n \"content\": {\r\n \"edifact\": {\r\n \"receiveAgreement\": {\r\n \"protocolSettings\": {\r\n \"validationSettings\": {\r\n \"validateCharacterSet\": true,\r\n \"checkDuplicateInterchangeControlNumber\": true,\r\n \"interchangeControlNumberValidityDays\": 30,\r\n \"checkDuplicateGroupControlNumber\": true,\r\n \"checkDuplicateTransactionSetControlNumber\": true,\r\n \"validateEDITypes\": true,\r\n \"validateXSDTypes\": true,\r\n \"trimLeadingAndTrailingSpacesAndZeroes\": true,\r\n \"allowLeadingAndTrailingSpacesAndZeroes\": true,\r\n \"trailingSeparatorPolicy\": \"Optional\"\r\n },\r\n \"framingSettings\": {\r\n \"characterEncoding\": \"UTF\",\r\n \"protocolVersion\": 4,\r\n \"dataElementSeparator\": 53,\r\n \"componentSeparator\": 58,\r\n \"segmentTerminator\": 39,\r\n \"releaseIndicator\": 63,\r\n \"repetitionSeparator\": 42,\r\n \"characterSet\": \"UNOC\",\r\n \"decimalPointIndicator\": \"Comma\",\r\n \"segmentTerminatorSuffix\": \"None\"\r\n },\r\n \"envelopeSettings\": {\r\n \"groupAssociationAssignedCode\": \"0\",\r\n \"communicationAgreementId\": \"0\",\r\n \"applyDelimiterStringAdvice\": true,\r\n \"createGroupingSegments\": true,\r\n \"enableDefaultGroupHeaders\": true,\r\n \"recipientReferencePasswordValue\": \"AA\",\r\n \"recipientReferencePasswordQualifier\": \"ZZ\",\r\n \"applicationReferenceId\": \"0\",\r\n \"processingPriorityCode\": \"0\",\r\n \"interchangeControlNumberLowerBound\": 1,\r\n \"interchangeControlNumberUpperBound\": 99999999,\r\n \"rolloverInterchangeControlNumber\": true,\r\n \"interchangeControlNumberPrefix\": \"CU\",\r\n \"interchangeControlNumberSuffix\": \"NUM\",\r\n \"functionalGroupId\": \"0\",\r\n \"groupControllingAgencyCode\": \"0\",\r\n \"groupMessageVersion\": \"0.0\",\r\n \"groupMessageRelease\": \"0.0\",\r\n \"groupControlNumberLowerBound\": 1,\r\n \"groupControlNumberUpperBound\": 99999999,\r\n \"rolloverGroupControlNumber\": true,\r\n \"groupControlNumberPrefix\": \"CU\",\r\n \"groupControlNumberSuffix\": \"NUM\",\r\n \"groupApplicationReceiverQualifier\": \"ZZZ\",\r\n \"groupApplicationReceiverId\": \"0\",\r\n \"groupApplicationSenderQualifier\": \"ZZZ\",\r\n \"groupApplicationSenderId\": \"AAA\",\r\n \"groupApplicationPassword\": \"0\",\r\n \"overwriteExistingTransactionSetControlNumber\": true,\r\n \"transactionSetControlNumberPrefix\": \"\",\r\n \"transactionSetControlNumberSuffix\": \"\",\r\n \"transactionSetControlNumberLowerBound\": 1,\r\n \"transactionSetControlNumberUpperBound\": 99999999,\r\n \"rolloverTransactionSetControlNumber\": true,\r\n \"isTestInterchange\": true,\r\n \"senderInternalIdentification\": \"AA\",\r\n \"senderInternalSubIdentification\": \"AA\",\r\n \"receiverInternalIdentification\": \"0\",\r\n \"receiverInternalSubIdentification\": \"0\"\r\n },\r\n \"acknowledgementSettings\": {\r\n \"needTechnicalAcknowledgement\": true,\r\n \"batchTechnicalAcknowledgements\": true,\r\n \"needFunctionalAcknowledgement\": false,\r\n \"batchFunctionalAcknowledgements\": true,\r\n \"needLoopForValidMessages\": false,\r\n \"sendSynchronousAcknowledgement\": true,\r\n \"acknowledgementControlNumberPrefix\": \"\",\r\n \"acknowledgementControlNumberSuffix\": \"\",\r\n \"acknowledgementControlNumberLowerBound\": 1,\r\n \"acknowledgementControlNumberUpperBound\": 99999999,\r\n \"rolloverAcknowledgementControlNumber\": true\r\n },\r\n \"messageFilter\": {\r\n \"messageFilterType\": \"Exclude\"\r\n },\r\n \"processingSettings\": {\r\n \"maskSecurityInfo\": true,\r\n \"preserveInterchange\": true,\r\n \"suspendInterchangeOnError\": true,\r\n \"createEmptyXmlTagsForTrailingSeparators\": true,\r\n \"useDotAsDecimalSeparator\": true\r\n },\r\n \"schemaReferences\": []\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n }\r\n },\r\n \"sendAgreement\": {\r\n \"protocolSettings\": {\r\n \"validationSettings\": {\r\n \"validateCharacterSet\": true,\r\n \"checkDuplicateInterchangeControlNumber\": true,\r\n \"interchangeControlNumberValidityDays\": 30,\r\n \"checkDuplicateGroupControlNumber\": true,\r\n \"checkDuplicateTransactionSetControlNumber\": true,\r\n \"validateEDITypes\": true,\r\n \"validateXSDTypes\": true,\r\n \"trimLeadingAndTrailingSpacesAndZeroes\": true,\r\n \"allowLeadingAndTrailingSpacesAndZeroes\": true,\r\n \"trailingSeparatorPolicy\": \"Optional\"\r\n },\r\n \"framingSettings\": {\r\n \"characterEncoding\": \"UTF\",\r\n \"protocolVersion\": 4,\r\n \"dataElementSeparator\": 53,\r\n \"componentSeparator\": 58,\r\n \"segmentTerminator\": 39,\r\n \"releaseIndicator\": 63,\r\n \"repetitionSeparator\": 42,\r\n \"characterSet\": \"UNOC\",\r\n \"decimalPointIndicator\": \"Comma\",\r\n \"segmentTerminatorSuffix\": \"None\"\r\n },\r\n \"envelopeSettings\": {\r\n \"groupAssociationAssignedCode\": \"0\",\r\n \"communicationAgreementId\": \"0\",\r\n \"applyDelimiterStringAdvice\": true,\r\n \"createGroupingSegments\": true,\r\n \"enableDefaultGroupHeaders\": true,\r\n \"recipientReferencePasswordValue\": \"AA\",\r\n \"recipientReferencePasswordQualifier\": \"ZZ\",\r\n \"applicationReferenceId\": \"0\",\r\n \"processingPriorityCode\": \"0\",\r\n \"interchangeControlNumberLowerBound\": 1,\r\n \"interchangeControlNumberUpperBound\": 999999999,\r\n \"rolloverInterchangeControlNumber\": true,\r\n \"interchangeControlNumberPrefix\": \"CU\",\r\n \"interchangeControlNumberSuffix\": \"NUM\",\r\n \"functionalGroupId\": \"0\",\r\n \"groupControllingAgencyCode\": \"0\",\r\n \"groupMessageVersion\": \"0.0\",\r\n \"groupMessageRelease\": \"0.0\",\r\n \"groupControlNumberLowerBound\": 1,\r\n \"groupControlNumberUpperBound\": 999999999,\r\n \"rolloverGroupControlNumber\": true,\r\n \"groupControlNumberPrefix\": \"\",\r\n \"groupControlNumberSuffix\": \"\",\r\n \"groupApplicationReceiverQualifier\": \"ZZ\",\r\n \"groupApplicationReceiverId\": \"0\",\r\n \"groupApplicationSenderQualifier\": \"ZZ\",\r\n \"groupApplicationSenderId\": \"AA\",\r\n \"groupApplicationPassword\": \"0\",\r\n \"overwriteExistingTransactionSetControlNumber\": true,\r\n \"transactionSetControlNumberPrefix\": \"\",\r\n \"transactionSetControlNumberSuffix\": \"\",\r\n \"transactionSetControlNumberLowerBound\": 1,\r\n \"transactionSetControlNumberUpperBound\": 999999999,\r\n \"rolloverTransactionSetControlNumber\": true,\r\n \"isTestInterchange\": true,\r\n \"senderInternalIdentification\": \"AA\",\r\n \"senderInternalSubIdentification\": \"AA\",\r\n \"receiverInternalIdentification\": \"0\",\r\n \"receiverInternalSubIdentification\": \"0\"\r\n },\r\n \"acknowledgementSettings\": {\r\n \"needTechnicalAcknowledgement\": true,\r\n \"batchTechnicalAcknowledgements\": true,\r\n \"needFunctionalAcknowledgement\": true,\r\n \"batchFunctionalAcknowledgements\": true,\r\n \"needLoopForValidMessages\": true,\r\n \"sendSynchronousAcknowledgement\": true,\r\n \"acknowledgementControlNumberPrefix\": \"CN\",\r\n \"acknowledgementControlNumberSuffix\": \"NUM\",\r\n \"acknowledgementControlNumberLowerBound\": 1,\r\n \"acknowledgementControlNumberUpperBound\": 999999999,\r\n \"rolloverAcknowledgementControlNumber\": true\r\n },\r\n \"messageFilter\": {\r\n \"messageFilterType\": \"Exclude\"\r\n },\r\n \"processingSettings\": {\r\n \"maskSecurityInfo\": true,\r\n \"preserveInterchange\": true,\r\n \"suspendInterchangeOnError\": true,\r\n \"createEmptyXmlTagsForTrailingSeparators\": true,\r\n \"useDotAsDecimalSeparator\": true\r\n },\r\n \"schemaReferences\": []\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n }\r\n }\r\n }\r\n },\r\n \"createdTime\": \"2018-09-19T22:53:08.8922133Z\",\r\n \"changedTime\": \"2018-09-19T22:53:08.8927032Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4595/agreements/IntegrationAccountAgreement8289\",\r\n \"name\": \"IntegrationAccountAgreement8289\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/agreements\"\r\n }\r\n ]\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4595?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NDU5NT9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "c6da4990-192f-40c9-ba1f-1108785ed45a" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:09 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:e307e3fa-978b-426c-a6c7-12ee652c9679" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "c24720b8-794b-4f92-9f55-d9e1782cdcc0" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225309Z:c24720b8-794b-4f92-9f55-d9e1782cdcc0" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "IntegrationAccountAgreements_List_OK": [ + "IntegrationAccount4595", + "IntegrationAccountAgreement424", + "IntegrationAccountAgreement8289", + "IntegrationAccountAgreement2810" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAgreementsScenarioTests/IntegrationAccountAgreements_Update_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAgreementsScenarioTests/IntegrationAccountAgreements_Update_OK.json new file mode 100644 index 0000000000000..6d59e0f3257ce --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAgreementsScenarioTests/IntegrationAccountAgreements_Update_OK.json @@ -0,0 +1,379 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "ebb6a520-20fa-44dc-bed6-6c8bbda33d8c" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:33 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11988" + ], + "x-ms-request-id": [ + "33ec8818-a4b1-453d-9d86-f314b61cf3e2" + ], + "x-ms-correlation-request-id": [ + "33ec8818-a4b1-453d-9d86-f314b61cf3e2" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225333Z:33ec8818-a4b1-453d-9d86-f314b61cf3e2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "a8c1765c-313a-4038-a677-c1b7e01ae279" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:33 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19995" + ], + "x-ms-request-id": [ + "010a25a0-9ba3-494a-a8f7-87b8c2f7938b" + ], + "x-ms-correlation-request-id": [ + "010a25a0-9ba3-494a-a8f7-87b8c2f7938b" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225333Z:010a25a0-9ba3-494a-a8f7-87b8c2f7938b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1623?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTYyMz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "1cdb179c-ddfd-44c1-8aed-06d97615bf46" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:33 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:474cf974-fde0-4b9b-bb59-4d0adeaa539d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1192" + ], + "x-ms-correlation-request-id": [ + "7d648e06-0d77-4842-a6d1-795e66e0edfa" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225333Z:7d648e06-0d77-4842-a6d1-795e66e0edfa" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "307" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1623\",\r\n \"name\": \"IntegrationAccount1623\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1623/agreements/IntegrationAccountAgreement2212?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTYyMy9hZ3JlZW1lbnRzL0ludGVncmF0aW9uQWNjb3VudEFncmVlbWVudDIyMTI/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"agreementType\": \"AS2\",\r\n \"hostPartner\": \"HostPartner\",\r\n \"guestPartner\": \"GuestPartner\",\r\n \"hostIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"guestIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"content\": {\r\n \"aS2\": {\r\n \"receiveAgreement\": {\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"protocolSettings\": {\r\n \"messageConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"acknowledgementConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"mdnSettings\": {\r\n \"needMdn\": true,\r\n \"signMdn\": true,\r\n \"sendMdnAsynchronously\": true,\r\n \"receiptDeliveryUrl\": \"http://tempuri.org\",\r\n \"dispositionNotificationTo\": \"http://tempuri.org\",\r\n \"signOutboundMdnIfOptional\": true,\r\n \"mdnText\": \"Sample\",\r\n \"sendInboundMdnToMessageBox\": true,\r\n \"micHashingAlgorithm\": \"MD5\"\r\n },\r\n \"securitySettings\": {\r\n \"overrideGroupSigningCertificate\": false,\r\n \"enableNrrForInboundEncodedMessages\": true,\r\n \"enableNrrForInboundDecodedMessages\": true,\r\n \"enableNrrForOutboundMdn\": true,\r\n \"enableNrrForOutboundEncodedMessages\": true,\r\n \"enableNrrForOutboundDecodedMessages\": true,\r\n \"enableNrrForInboundMdn\": true\r\n },\r\n \"validationSettings\": {\r\n \"overrideMessageProperties\": true,\r\n \"encryptMessage\": false,\r\n \"signMessage\": false,\r\n \"compressMessage\": true,\r\n \"checkDuplicateMessage\": true,\r\n \"interchangeDuplicatesValidityDays\": 100,\r\n \"checkCertificateRevocationListOnSend\": true,\r\n \"checkCertificateRevocationListOnReceive\": true,\r\n \"encryptionAlgorithm\": \"AES128\"\r\n },\r\n \"envelopeSettings\": {\r\n \"messageContentType\": \"text/plain\",\r\n \"transmitFileNameInMimeHeader\": true,\r\n \"fileNameTemplate\": \"Test\",\r\n \"suspendMessageOnFileNameGenerationError\": true,\r\n \"autogenerateFileName\": true\r\n },\r\n \"errorSettings\": {\r\n \"suspendDuplicateMessage\": true,\r\n \"resendIfMdnNotReceived\": true\r\n }\r\n }\r\n },\r\n \"sendAgreement\": {\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"protocolSettings\": {\r\n \"messageConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"acknowledgementConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"mdnSettings\": {\r\n \"needMdn\": true,\r\n \"signMdn\": true,\r\n \"sendMdnAsynchronously\": true,\r\n \"receiptDeliveryUrl\": \"http://tempuri.org\",\r\n \"dispositionNotificationTo\": \"http://tempuri.org\",\r\n \"signOutboundMdnIfOptional\": true,\r\n \"mdnText\": \"Sample\",\r\n \"sendInboundMdnToMessageBox\": true,\r\n \"micHashingAlgorithm\": \"MD5\"\r\n },\r\n \"securitySettings\": {\r\n \"overrideGroupSigningCertificate\": false,\r\n \"enableNrrForInboundEncodedMessages\": true,\r\n \"enableNrrForInboundDecodedMessages\": true,\r\n \"enableNrrForOutboundMdn\": true,\r\n \"enableNrrForOutboundEncodedMessages\": true,\r\n \"enableNrrForOutboundDecodedMessages\": true,\r\n \"enableNrrForInboundMdn\": true\r\n },\r\n \"validationSettings\": {\r\n \"overrideMessageProperties\": true,\r\n \"encryptMessage\": false,\r\n \"signMessage\": false,\r\n \"compressMessage\": true,\r\n \"checkDuplicateMessage\": true,\r\n \"interchangeDuplicatesValidityDays\": 100,\r\n \"checkCertificateRevocationListOnSend\": true,\r\n \"checkCertificateRevocationListOnReceive\": true,\r\n \"encryptionAlgorithm\": \"AES128\"\r\n },\r\n \"envelopeSettings\": {\r\n \"messageContentType\": \"text/plain\",\r\n \"transmitFileNameInMimeHeader\": true,\r\n \"fileNameTemplate\": \"Test\",\r\n \"suspendMessageOnFileNameGenerationError\": true,\r\n \"autogenerateFileName\": true\r\n },\r\n \"errorSettings\": {\r\n \"suspendDuplicateMessage\": true,\r\n \"resendIfMdnNotReceived\": true\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "494d2277-ce31-469f-9478-f6933c7d90de" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "5694" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:33 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:2628553b-95a1-4c6c-bdc1-9364db2ac586" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1191" + ], + "x-ms-correlation-request-id": [ + "5aa575a7-269a-4b8f-ad88-4d9ebba60317" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225333Z:5aa575a7-269a-4b8f-ad88-4d9ebba60317" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "3872" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"hostPartner\": \"HostPartner\",\r\n \"guestPartner\": \"GuestPartner\",\r\n \"hostIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"guestIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"agreementType\": \"AS2\",\r\n \"content\": {\r\n \"aS2\": {\r\n \"receiveAgreement\": {\r\n \"protocolSettings\": {\r\n \"messageConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"acknowledgementConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"mdnSettings\": {\r\n \"needMDN\": true,\r\n \"signMDN\": true,\r\n \"sendMDNAsynchronously\": true,\r\n \"receiptDeliveryUrl\": \"http://tempuri.org\",\r\n \"dispositionNotificationTo\": \"http://tempuri.org\",\r\n \"signOutboundMDNIfOptional\": true,\r\n \"mdnText\": \"Sample\",\r\n \"sendInboundMDNToMessageBox\": true,\r\n \"micHashingAlgorithm\": \"MD5\"\r\n },\r\n \"securitySettings\": {\r\n \"overrideGroupSigningCertificate\": false,\r\n \"enableNRRForInboundEncodedMessages\": true,\r\n \"enableNRRForInboundDecodedMessages\": true,\r\n \"enableNRRForOutboundMDN\": true,\r\n \"enableNRRForOutboundEncodedMessages\": true,\r\n \"enableNRRForOutboundDecodedMessages\": true,\r\n \"enableNRRForInboundMDN\": true\r\n },\r\n \"validationSettings\": {\r\n \"overrideMessageProperties\": true,\r\n \"encryptMessage\": false,\r\n \"signMessage\": false,\r\n \"compressMessage\": true,\r\n \"checkDuplicateMessage\": true,\r\n \"interchangeDuplicatesValidityDays\": 100,\r\n \"checkCertificateRevocationListOnSend\": true,\r\n \"checkCertificateRevocationListOnReceive\": true,\r\n \"encryptionAlgorithm\": \"AES128\"\r\n },\r\n \"envelopeSettings\": {\r\n \"messageContentType\": \"text/plain\",\r\n \"transmitFileNameInMimeHeader\": true,\r\n \"fileNameTemplate\": \"Test\",\r\n \"suspendMessageOnFileNameGenerationError\": true,\r\n \"autogenerateFileName\": true\r\n },\r\n \"errorSettings\": {\r\n \"suspendDuplicateMessage\": true,\r\n \"resendIfMDNNotReceived\": true\r\n }\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n }\r\n },\r\n \"sendAgreement\": {\r\n \"protocolSettings\": {\r\n \"messageConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"acknowledgementConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"mdnSettings\": {\r\n \"needMDN\": true,\r\n \"signMDN\": true,\r\n \"sendMDNAsynchronously\": true,\r\n \"receiptDeliveryUrl\": \"http://tempuri.org\",\r\n \"dispositionNotificationTo\": \"http://tempuri.org\",\r\n \"signOutboundMDNIfOptional\": true,\r\n \"mdnText\": \"Sample\",\r\n \"sendInboundMDNToMessageBox\": true,\r\n \"micHashingAlgorithm\": \"MD5\"\r\n },\r\n \"securitySettings\": {\r\n \"overrideGroupSigningCertificate\": false,\r\n \"enableNRRForInboundEncodedMessages\": true,\r\n \"enableNRRForInboundDecodedMessages\": true,\r\n \"enableNRRForOutboundMDN\": true,\r\n \"enableNRRForOutboundEncodedMessages\": true,\r\n \"enableNRRForOutboundDecodedMessages\": true,\r\n \"enableNRRForInboundMDN\": true\r\n },\r\n \"validationSettings\": {\r\n \"overrideMessageProperties\": true,\r\n \"encryptMessage\": false,\r\n \"signMessage\": false,\r\n \"compressMessage\": true,\r\n \"checkDuplicateMessage\": true,\r\n \"interchangeDuplicatesValidityDays\": 100,\r\n \"checkCertificateRevocationListOnSend\": true,\r\n \"checkCertificateRevocationListOnReceive\": true,\r\n \"encryptionAlgorithm\": \"AES128\"\r\n },\r\n \"envelopeSettings\": {\r\n \"messageContentType\": \"text/plain\",\r\n \"transmitFileNameInMimeHeader\": true,\r\n \"fileNameTemplate\": \"Test\",\r\n \"suspendMessageOnFileNameGenerationError\": true,\r\n \"autogenerateFileName\": true\r\n },\r\n \"errorSettings\": {\r\n \"suspendDuplicateMessage\": true,\r\n \"resendIfMDNNotReceived\": true\r\n }\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n }\r\n }\r\n }\r\n },\r\n \"createdTime\": \"2018-09-19T22:53:33.5670702Z\",\r\n \"changedTime\": \"2018-09-19T22:53:33.5679892Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1623/agreements/IntegrationAccountAgreement2212\",\r\n \"name\": \"IntegrationAccountAgreement2212\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/agreements\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1623/agreements/IntegrationAccountAgreement2212?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTYyMy9hZ3JlZW1lbnRzL0ludGVncmF0aW9uQWNjb3VudEFncmVlbWVudDIyMTI/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"agreementType\": \"AS2\",\r\n \"hostPartner\": \"HostPartner\",\r\n \"guestPartner\": \"GuestPartner\",\r\n \"hostIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"guestIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"content\": {\r\n \"aS2\": {\r\n \"receiveAgreement\": {\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"protocolSettings\": {\r\n \"messageConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"acknowledgementConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"mdnSettings\": {\r\n \"needMdn\": true,\r\n \"signMdn\": true,\r\n \"sendMdnAsynchronously\": true,\r\n \"receiptDeliveryUrl\": \"http://tempuri.org\",\r\n \"dispositionNotificationTo\": \"http://tempuri.org\",\r\n \"signOutboundMdnIfOptional\": true,\r\n \"mdnText\": \"Sample\",\r\n \"sendInboundMdnToMessageBox\": true,\r\n \"micHashingAlgorithm\": \"MD5\"\r\n },\r\n \"securitySettings\": {\r\n \"overrideGroupSigningCertificate\": false,\r\n \"enableNrrForInboundEncodedMessages\": true,\r\n \"enableNrrForInboundDecodedMessages\": true,\r\n \"enableNrrForOutboundMdn\": true,\r\n \"enableNrrForOutboundEncodedMessages\": true,\r\n \"enableNrrForOutboundDecodedMessages\": true,\r\n \"enableNrrForInboundMdn\": true\r\n },\r\n \"validationSettings\": {\r\n \"overrideMessageProperties\": true,\r\n \"encryptMessage\": false,\r\n \"signMessage\": false,\r\n \"compressMessage\": true,\r\n \"checkDuplicateMessage\": true,\r\n \"interchangeDuplicatesValidityDays\": 100,\r\n \"checkCertificateRevocationListOnSend\": true,\r\n \"checkCertificateRevocationListOnReceive\": true,\r\n \"encryptionAlgorithm\": \"AES128\"\r\n },\r\n \"envelopeSettings\": {\r\n \"messageContentType\": \"text/plain\",\r\n \"transmitFileNameInMimeHeader\": true,\r\n \"fileNameTemplate\": \"Test\",\r\n \"suspendMessageOnFileNameGenerationError\": true,\r\n \"autogenerateFileName\": true\r\n },\r\n \"errorSettings\": {\r\n \"suspendDuplicateMessage\": true,\r\n \"resendIfMdnNotReceived\": true\r\n }\r\n }\r\n },\r\n \"sendAgreement\": {\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"protocolSettings\": {\r\n \"messageConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"acknowledgementConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"mdnSettings\": {\r\n \"needMdn\": true,\r\n \"signMdn\": true,\r\n \"sendMdnAsynchronously\": true,\r\n \"receiptDeliveryUrl\": \"http://tempuri.org\",\r\n \"dispositionNotificationTo\": \"http://tempuri.org\",\r\n \"signOutboundMdnIfOptional\": true,\r\n \"mdnText\": \"Sample\",\r\n \"sendInboundMdnToMessageBox\": true,\r\n \"micHashingAlgorithm\": \"MD5\"\r\n },\r\n \"securitySettings\": {\r\n \"overrideGroupSigningCertificate\": false,\r\n \"enableNrrForInboundEncodedMessages\": true,\r\n \"enableNrrForInboundDecodedMessages\": true,\r\n \"enableNrrForOutboundMdn\": true,\r\n \"enableNrrForOutboundEncodedMessages\": true,\r\n \"enableNrrForOutboundDecodedMessages\": true,\r\n \"enableNrrForInboundMdn\": true\r\n },\r\n \"validationSettings\": {\r\n \"overrideMessageProperties\": true,\r\n \"encryptMessage\": false,\r\n \"signMessage\": false,\r\n \"compressMessage\": true,\r\n \"checkDuplicateMessage\": true,\r\n \"interchangeDuplicatesValidityDays\": 100,\r\n \"checkCertificateRevocationListOnSend\": true,\r\n \"checkCertificateRevocationListOnReceive\": true,\r\n \"encryptionAlgorithm\": \"AES128\"\r\n },\r\n \"envelopeSettings\": {\r\n \"messageContentType\": \"text/plain\",\r\n \"transmitFileNameInMimeHeader\": true,\r\n \"fileNameTemplate\": \"Test\",\r\n \"suspendMessageOnFileNameGenerationError\": true,\r\n \"autogenerateFileName\": true\r\n },\r\n \"errorSettings\": {\r\n \"suspendDuplicateMessage\": true,\r\n \"resendIfMdnNotReceived\": true\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "d87cf01d-d27c-44cf-9deb-92fe76a31f82" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "5694" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:33 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:7a8d5a3b-58c1-4f2d-9caa-ec935292b1fd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1190" + ], + "x-ms-correlation-request-id": [ + "63f52164-a30f-4893-9b75-9a947d1a45dd" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225333Z:63f52164-a30f-4893-9b75-9a947d1a45dd" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "3872" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"hostPartner\": \"HostPartner\",\r\n \"guestPartner\": \"GuestPartner\",\r\n \"hostIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"guestIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"agreementType\": \"AS2\",\r\n \"content\": {\r\n \"aS2\": {\r\n \"receiveAgreement\": {\r\n \"protocolSettings\": {\r\n \"messageConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"acknowledgementConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"mdnSettings\": {\r\n \"needMDN\": true,\r\n \"signMDN\": true,\r\n \"sendMDNAsynchronously\": true,\r\n \"receiptDeliveryUrl\": \"http://tempuri.org\",\r\n \"dispositionNotificationTo\": \"http://tempuri.org\",\r\n \"signOutboundMDNIfOptional\": true,\r\n \"mdnText\": \"Sample\",\r\n \"sendInboundMDNToMessageBox\": true,\r\n \"micHashingAlgorithm\": \"MD5\"\r\n },\r\n \"securitySettings\": {\r\n \"overrideGroupSigningCertificate\": false,\r\n \"enableNRRForInboundEncodedMessages\": true,\r\n \"enableNRRForInboundDecodedMessages\": true,\r\n \"enableNRRForOutboundMDN\": true,\r\n \"enableNRRForOutboundEncodedMessages\": true,\r\n \"enableNRRForOutboundDecodedMessages\": true,\r\n \"enableNRRForInboundMDN\": true\r\n },\r\n \"validationSettings\": {\r\n \"overrideMessageProperties\": true,\r\n \"encryptMessage\": false,\r\n \"signMessage\": false,\r\n \"compressMessage\": true,\r\n \"checkDuplicateMessage\": true,\r\n \"interchangeDuplicatesValidityDays\": 100,\r\n \"checkCertificateRevocationListOnSend\": true,\r\n \"checkCertificateRevocationListOnReceive\": true,\r\n \"encryptionAlgorithm\": \"AES128\"\r\n },\r\n \"envelopeSettings\": {\r\n \"messageContentType\": \"text/plain\",\r\n \"transmitFileNameInMimeHeader\": true,\r\n \"fileNameTemplate\": \"Test\",\r\n \"suspendMessageOnFileNameGenerationError\": true,\r\n \"autogenerateFileName\": true\r\n },\r\n \"errorSettings\": {\r\n \"suspendDuplicateMessage\": true,\r\n \"resendIfMDNNotReceived\": true\r\n }\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n }\r\n },\r\n \"sendAgreement\": {\r\n \"protocolSettings\": {\r\n \"messageConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"acknowledgementConnectionSettings\": {\r\n \"ignoreCertificateNameMismatch\": true,\r\n \"supportHttpStatusCodeContinue\": true,\r\n \"keepHttpConnectionAlive\": true,\r\n \"unfoldHttpHeaders\": true\r\n },\r\n \"mdnSettings\": {\r\n \"needMDN\": true,\r\n \"signMDN\": true,\r\n \"sendMDNAsynchronously\": true,\r\n \"receiptDeliveryUrl\": \"http://tempuri.org\",\r\n \"dispositionNotificationTo\": \"http://tempuri.org\",\r\n \"signOutboundMDNIfOptional\": true,\r\n \"mdnText\": \"Sample\",\r\n \"sendInboundMDNToMessageBox\": true,\r\n \"micHashingAlgorithm\": \"MD5\"\r\n },\r\n \"securitySettings\": {\r\n \"overrideGroupSigningCertificate\": false,\r\n \"enableNRRForInboundEncodedMessages\": true,\r\n \"enableNRRForInboundDecodedMessages\": true,\r\n \"enableNRRForOutboundMDN\": true,\r\n \"enableNRRForOutboundEncodedMessages\": true,\r\n \"enableNRRForOutboundDecodedMessages\": true,\r\n \"enableNRRForInboundMDN\": true\r\n },\r\n \"validationSettings\": {\r\n \"overrideMessageProperties\": true,\r\n \"encryptMessage\": false,\r\n \"signMessage\": false,\r\n \"compressMessage\": true,\r\n \"checkDuplicateMessage\": true,\r\n \"interchangeDuplicatesValidityDays\": 100,\r\n \"checkCertificateRevocationListOnSend\": true,\r\n \"checkCertificateRevocationListOnReceive\": true,\r\n \"encryptionAlgorithm\": \"AES128\"\r\n },\r\n \"envelopeSettings\": {\r\n \"messageContentType\": \"text/plain\",\r\n \"transmitFileNameInMimeHeader\": true,\r\n \"fileNameTemplate\": \"Test\",\r\n \"suspendMessageOnFileNameGenerationError\": true,\r\n \"autogenerateFileName\": true\r\n },\r\n \"errorSettings\": {\r\n \"suspendDuplicateMessage\": true,\r\n \"resendIfMDNNotReceived\": true\r\n }\r\n },\r\n \"senderBusinessIdentity\": {\r\n \"qualifier\": \"ZZ\",\r\n \"value\": \"ZZ\"\r\n },\r\n \"receiverBusinessIdentity\": {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"AA\"\r\n }\r\n }\r\n }\r\n },\r\n \"createdTime\": \"2018-09-19T22:53:33.5670702Z\",\r\n \"changedTime\": \"2018-09-19T22:53:33.8175348Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1623/agreements/IntegrationAccountAgreement2212\",\r\n \"name\": \"IntegrationAccountAgreement2212\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/agreements\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1623?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTYyMz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "e30f3e59-10d8-4c26-a631-c05c47eb2bb0" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:34 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:ce161f16-25ad-46d4-89f4-676036d00e9c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14995" + ], + "x-ms-correlation-request-id": [ + "9445f824-22dd-44de-9bb5-4bef347e9012" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225334Z:9445f824-22dd-44de-9bb5-4bef347e9012" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "IntegrationAccountAgreements_Update_OK": [ + "IntegrationAccount1623", + "IntegrationAccountAgreement2212" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAssembliesScenarioTests/IntegrationAccountAssemblies_Create_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAssembliesScenarioTests/IntegrationAccountAssemblies_Create_OK.json new file mode 100644 index 0000000000000..baf4575829c92 --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAssembliesScenarioTests/IntegrationAccountAssemblies_Create_OK.json @@ -0,0 +1,312 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "6802523f-9151-4686-bc9c-4a18b03288e0" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:13 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-request-id": [ + "f691acd2-58a7-4d2c-84bc-0606c1a483dc" + ], + "x-ms-correlation-request-id": [ + "f691acd2-58a7-4d2c-84bc-0606c1a483dc" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224813Z:f691acd2-58a7-4d2c-84bc-0606c1a483dc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "571212d2-2d49-4e26-9c1d-51e633fb0c6e" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:13 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19997" + ], + "x-ms-request-id": [ + "41a22a64-c556-4a37-9ff2-e09d4483d4a9" + ], + "x-ms-correlation-request-id": [ + "41a22a64-c556-4a37-9ff2-e09d4483d4a9" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224813Z:41a22a64-c556-4a37-9ff2-e09d4483d4a9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8198?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50ODE5OD9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "064c0fc6-e971-454d-8b15-edceffce4eb1" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:14 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:14dfa5e2-2233-4b55-9a4c-ba284b07db03" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "a337c518-89f7-4831-9c7f-be2d3c439c77" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224814Z:a337c518-89f7-4831-9c7f-be2d3c439c77" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "307" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8198\",\r\n \"name\": \"IntegrationAccount8198\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8198/assemblies/IntegrationAccountAssembly1068?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50ODE5OC9hc3NlbWJsaWVzL0ludGVncmF0aW9uQWNjb3VudEFzc2VtYmx5MTA2OD9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"assemblyName\": \"IntegrationAccountAssembly1068\",\r\n \"content\": \"TVqQAAMAAAAEAAAA//8AALgAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAA4fug4AtAnNIbgBTM0hVGhpcyBwcm9ncmFtIGNhbm5vdCBiZSBydW4gaW4gRE9TIG1vZGUuDQ0KJAAAAAAAAABQRQAATAEDAP6YCVsAAAAAAAAAAOAAAiELAQsAABoAAAAIAAAAAAAAbjkAAAAgAAAAQAAAAAAAEAAgAAAAAgAABAAAAAAAAAAEAAAAAAAAAACAAAAAAgAAp54AAAMAYIUAABAAABAAAAAAEAAAEAAAAAAAABAAAAAAAAAAAAAAABg5AABTAAAAAEAAAFAFAAAAAAAAAAAAAAAkAADIPgAAAGAAAAwAAADgNwAAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAACAAAAAAAAAAAAAAACCAAAEgAAAAAAAAAAAAAAC50ZXh0AAAAdBkAAAAgAAAAGgAAA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ggL1MIIC8QIBATCBkzB8MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNyb3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMAITMwAAAKyKIbx60pty9AAAAAAArDANBglghkgBZQMEAgEFAKCCATIwGgYJKoZIhvcNAQkDMQ0GCyqGSIb3DQEJEAEEMC8GCSqGSIb3DQEJBDEiBCAJGlRM3ftyVHE4qmqAIdrZvGHJ144P0WB0/496rKHb2jCB4gYLKoZIhvcNAQkQAgwxgdIwgc8wgcwwgbEEFDlwJYsUyHndXwxd6Yucs5SZ9xy3MIGYMIGApH4wfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIwMTACEzMAAACsiiG8etKbcvQAAAAAAKwwFgQUUczj7EpO2/cMcOabxlRsdeOeNRowDQYJKoZIhvcNAQELBQAEggEAFMIrbCodie3zQbZaU8i3emRH3VBH3VSIE0lZuM1URrPNAr8mZXYZDZXydk0Zx7FAsSbErCDE3vgWONm8RCuQJVahK9NdnQVE126c7248jG6nGd8SwI5QSxFB5lqtOH/OKLfRpfNW8mvmKBF5G3SaGS883fQ2DcByE8C5Beg9+QVyYjCcJAZKkp3zriqqmP0reddKz+EUu5kk5vV4cF72y/BzFJ5GucTJQNJ87jcL+Ky5GCIvpoSyYQTVPGQdvGqSozprMraG8rIDfB+cNFZTTpBEBgt2Ya86msRhWbeot4BrtKlKOap+l56VCVecyxygT0GYhUfwdJPdqaeDSVffXg==\",\r\n \"contentType\": \"application/octet-stream\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "483ae289-3c5a-480f-a210-b4eb3704e4e8" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "33895" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:15 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:5d09a50a-5292-4ddf-9265-3392f74a91cc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-correlation-request-id": [ + "76c4c079-3b47-4072-bef5-cf9f349477fc" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224815Z:76c4c079-3b47-4072-bef5-cf9f349477fc" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "846" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"assemblyName\": \"IntegrationAccountAssembly1068\",\r\n \"assemblyVersion\": \"0.0.0.0\",\r\n \"contentLink\": {\r\n \"uri\": \"https://prod-20.westus.logic.azure.com:443/integrationAccounts/eed0cfb0fd194278a1be10bee81e94cd/assemblies/IntegrationAccountAssembly1068/contents/Value?api-version=2015-08-01-preview&se=2018-09-20T02%3A48%3A15.9326662Z&sp=%2Fassemblies%2FIntegrationAccountAssembly1068%2Fread&sv=1.0&sig=DOguFfkcuM-h6yPkHwrWiD8UQEsChkAjDggwym5vEyQ\",\r\n \"contentSize\": 25288\r\n },\r\n \"createdTime\": \"2018-09-19T22:48:15.7780066Z\",\r\n \"changedTime\": \"2018-09-19T22:48:15.7780066Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8198/assemblies/IntegrationAccountAssembly1068\",\r\n \"name\": \"IntegrationAccountAssembly1068\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/assemblies\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8198?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50ODE5OD9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "145f310f-45eb-4b83-8fd8-a10ab053adf3" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:16 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:5dd194c9-7baf-4663-addd-50112d69b053" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "31dd5ee5-d48e-443c-a495-47556c9767ab" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224816Z:31dd5ee5-d48e-443c-a495-47556c9767ab" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "IntegrationAccountAssemblies_Create_OK": [ + "IntegrationAccount8198", + "IntegrationAccountAssembly1068" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAssembliesScenarioTests/IntegrationAccountAssemblies_DeleteWhenDeleteIntegrationAccount_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAssembliesScenarioTests/IntegrationAccountAssemblies_DeleteWhenDeleteIntegrationAccount_OK.json new file mode 100644 index 0000000000000..e3605b41b0320 --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAssembliesScenarioTests/IntegrationAccountAssemblies_DeleteWhenDeleteIntegrationAccount_OK.json @@ -0,0 +1,370 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "923ab52a-af82-4064-ad9a-c775b91dafb8" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:47:57 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11987" + ], + "x-ms-request-id": [ + "2a5e6c00-0624-4613-b4de-6f47bf5903cb" + ], + "x-ms-correlation-request-id": [ + "2a5e6c00-0624-4613-b4de-6f47bf5903cb" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224758Z:2a5e6c00-0624-4613-b4de-6f47bf5903cb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "a94cf642-aac9-4b41-968f-8967224e74e0" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:47:57 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19998" + ], + "x-ms-request-id": [ + "e9d20013-cf93-4186-b86b-3593fa9e0d82" + ], + "x-ms-correlation-request-id": [ + "e9d20013-cf93-4186-b86b-3593fa9e0d82" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224758Z:e9d20013-cf93-4186-b86b-3593fa9e0d82" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7876?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50Nzg3Nj9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "b705db82-e719-420d-a036-59e7dce271f7" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:47:58 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:50d2b9d7-2a62-446e-8ded-1844a4e14780" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "4c8ce706-fe3d-4b51-93f2-239ea7291e8a" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224759Z:4c8ce706-fe3d-4b51-93f2-239ea7291e8a" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "307" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7876\",\r\n \"name\": \"IntegrationAccount7876\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7876/assemblies/IntegrationAccountAssembly4684?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50Nzg3Ni9hc3NlbWJsaWVzL0ludGVncmF0aW9uQWNjb3VudEFzc2VtYmx5NDY4ND9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"assemblyName\": \"Integr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ADUAMQBlADgAOAA5AGMAYwAxADMAZgAxADQAMQA1AGUAYgBiADUAMwBmAGEAYwAxADEAMwAxAGEAZQAwAGIAZAAzADMAMwBjADUAZQBlADYAMAAyADEANgA3ADIAZAA5ADcAMQA4AGUAYQAzADEAYQA4AGEAZQBiAGQAMABkAGEAMAAwADcAMgBmADIANQBkADgANwBkAGIAYQA2AGYAYwA5ADAAZgBmAGQANQA5ADgAZQBkADQAZABhADMANQBlADQANABjADMAOQA4AGMANAA1ADQAMwAwADcAZQA4AGUAMwAzAGIAOAA0ADIANgAxADQAMwBkAGEAZQBjADkAZgA1ADkANgA4ADMANgBmADkANwBjADgAZgA3ADQANwA1ADAAZQA1ADkANwA1AGMANgA0AGUAMgAxADgAOQBmADQANQBkAGUAZgA0ADYAYgAyAGEAMgBiADEAMgA0ADcAYQBkAGMAMwA2ADUAMgBiAGYANQBjADMAMAA4ADAANQA1AGQAYQA5AIKYLAAgAFAAdQBiAGwAaQBjAEsAZQB5AD0AMAAwADIANAAwADAAMAAwADAANAA4ADAAMAAwADAAMAA5ADQAMAAwADAAMAAwADAAMAA2ADAAMgAwADAAMAAwADAAMAAyADQAMAAwADAAMAA1ADIANQAzADQAMQAzADEAMAAwADAANAAwADAAMAAwADAAMQAwADAAMAAxADAAMAAxADkANwBjADIANQBkADAAYQAwADQAZgA3ADMAYwBiADIANwAxAGUAOAAxADgAMQBkAGIAYQAxAGMAMABjADcAMQAzAGQAZgA4AGQAZQBlAGIAYgAyADUAOAA2ADQANQA0ADEAYQA2ADYANgA3ADAANQAwADAAZgAzADQAOAA5ADYAZAAyADgAMAA0ADgANABiADQANQBmAGUAMQBmAGYANgBjADIAOQBmADIAZQBlADcAYQBhADEANwA1AGQAOABiAGMAYgBkADAAYwA4ADMAYwBjADIAMwA5ADAAMQBhADgAOQA0AGEAOAA2ADkAOQA2ADAAMwAwAGYANgAyADkAMgBjAGUANgBlAGQAYQA2AGUANgBmADMAZQA2AGMANwA0AGIAMwBjADUAYQAzAGQ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c29mdCBDb3Jwb3JhdGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIwMTACEzMAAACsiiG8etKbcvQAAAAAAKwwFgQUUczj7EpO2/cMcOabxlRsdeOeNRowDQYJKoZIhvcNAQELBQAEggEAFMIrbCodie3zQbZaU8i3emRH3VBH3VSIE0lZuM1URrPNAr8mZXYZDZXydk0Zx7FAsSbErCDE3vgWONm8RCuQJVahK9NdnQVE126c7248jG6nGd8SwI5QSxFB5lqtOH/OKLfRpfNW8mvmKBF5G3SaGS883fQ2DcByE8C5Beg9+QVyYjCcJAZKkp3zriqqmP0reddKz+EUu5kk5vV4cF72y/BzFJ5GucTJQNJ87jcL+Ky5GCIvpoSyYQTVPGQdvGqSozprMraG8rIDfB+cNFZTTpBEBgt2Ya86msRhWbeot4BrtKlKOap+l56VCVecyxygT0GYhUfwdJPdqaeDSVffXg==\",\r\n \"contentType\": \"application/octet-stream\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "dfe49ca7-415e-495e-8170-a700297b53b0" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "33895" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:47:59 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:e5a5cdd0-e88c-44c2-a0c2-51b050694d37" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "da377a09-6a8f-4e64-8982-6bfc93c92a66" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224800Z:da377a09-6a8f-4e64-8982-6bfc93c92a66" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "846" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"assemblyName\": \"IntegrationAccountAssembly4684\",\r\n \"assemblyVersion\": \"0.0.0.0\",\r\n \"contentLink\": {\r\n \"uri\": \"https://prod-93.westus.logic.azure.com:443/integrationAccounts/d0ae5613702c4908ba51e9c755473cc1/assemblies/IntegrationAccountAssembly4684/contents/Value?api-version=2015-08-01-preview&se=2018-09-20T02%3A48%3A00.0094325Z&sp=%2Fassemblies%2FIntegrationAccountAssembly4684%2Fread&sv=1.0&sig=J036x5_kEadJ7kxElhZ8FDmitLZrFHEiSFkyJgaVo9Y\",\r\n \"contentSize\": 25288\r\n },\r\n \"createdTime\": \"2018-09-19T22:47:59.8680293Z\",\r\n \"changedTime\": \"2018-09-19T22:47:59.8680293Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7876/assemblies/IntegrationAccountAssembly4684\",\r\n \"name\": \"IntegrationAccountAssembly4684\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/assemblies\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7876?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50Nzg3Nj9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "69c6de4b-5f47-409f-9b51-a36a5923e13f" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:00 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:83986da7-98df-41d1-bf00-57734bd0d207" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "955bcf43-f6d2-4d19-9809-8d7e3189f2fd" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224800Z:955bcf43-f6d2-4d19-9809-8d7e3189f2fd" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7876/assemblies/IntegrationAccountAssembly4684?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50Nzg3Ni9hc3NlbWJsaWVzL0ludGVncmF0aW9uQWNjb3VudEFzc2VtYmx5NDY4ND9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "61dbbd89-b7e5-4bc0-9786-14aa44cbf454" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:00 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "c033bd59-1fde-4221-be23-6a61b5b81fe9" + ], + "x-ms-correlation-request-id": [ + "c033bd59-1fde-4221-be23-6a61b5b81fe9" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224800Z:c033bd59-1fde-4221-be23-6a61b5b81fe9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "168" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Logic/integrationAccounts/IntegrationAccount7876' under resource group 'flowrg' was not found.\"\r\n }\r\n}", + "StatusCode": 404 + } + ], + "Names": { + "IntegrationAccountAssemblies_DeleteWhenDeleteIntegrationAccount_OK": [ + "IntegrationAccount7876", + "IntegrationAccountAssembly4684" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAssembliesScenarioTests/IntegrationAccountAssemblies_Delete_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAssembliesScenarioTests/IntegrationAccountAssemblies_Delete_OK.json new file mode 100644 index 0000000000000..b6a52a4b11c73 --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAssembliesScenarioTests/IntegrationAccountAssemblies_Delete_OK.json @@ -0,0 +1,425 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "8b51486f-4df4-4db3-aa36-66d55a92038d" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:47:48 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-request-id": [ + "c86365b2-d7ff-4631-929c-12be6e04c3c3" + ], + "x-ms-correlation-request-id": [ + "c86365b2-d7ff-4631-929c-12be6e04c3c3" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224748Z:c86365b2-d7ff-4631-929c-12be6e04c3c3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "d5185977-72e7-4fdb-af88-de9242b130d9" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:47:48 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19995" + ], + "x-ms-request-id": [ + "64cb1edd-023d-4afe-a8f5-e4ce0cc41832" + ], + "x-ms-correlation-request-id": [ + "64cb1edd-023d-4afe-a8f5-e4ce0cc41832" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224748Z:64cb1edd-023d-4afe-a8f5-e4ce0cc41832" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7399?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NzM5OT9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "01511efe-c271-4c35-b1b6-6d12291ece91" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:47:48 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:983dd5b1-10c0-4084-89b2-a9adb2a92570" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "2b31348e-6a42-4c71-bd59-19312a1d492b" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224749Z:2b31348e-6a42-4c71-bd59-19312a1d492b" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "307" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7399\",\r\n \"name\": \"IntegrationAccount7399\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7399/assemblies/IntegrationAccountAssembly1317?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NzM5OS9hc3NlbWJsaWVzL0ludGVncmF0aW9uQWNjb3VudEFzc2VtYmx5MTMxNz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"assemblyName\": \"IntegrationAccountAssembly1317\",\r\n \"content\": \"TVqQAAMAAAAEAAAA//8AALgAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAA4fug4AtAnNIbgBTM0hVGhpcyBwcm9ncmFtIGNhbm5vdCBiZSBydW4gaW4gRE9TIG1vZGUuDQ0KJAAAAAAAAABQRQAATAEDAP6YCVsAAAAAAAAAAOAAAiELAQsAABoAAAAIAAAAAAAAbjkAAAAgAAAAQAAAAAAAEAAgAAAAAgAABAAAAAAAAAAEAAAAAAAAAACAAAAAAgAAp54AAAMAYIUAABAAABAAAAAAEAAAEAAAAAAAABAAAAAAAAAAAAAAABg5AABTAAAAAEAAAFAFAAAAAAAAAAAAAAAkAADIPgAAAGAAAAwAAADgNwAAHAAAAAAAAAAAAAAAAAAAAA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BrtKlKOap+l56VCVecyxygT0GYhUfwdJPdqaeDSVffXg==\",\r\n \"contentType\": \"application/octet-stream\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "798800a2-e73f-485c-a7e7-b7e46a944789" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "33895" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:47:49 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:8939594e-2faf-49fc-8f97-d86057176a03" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "ceba10eb-d443-4e74-8a59-6b037f898094" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224750Z:ceba10eb-d443-4e74-8a59-6b037f898094" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "846" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"assemblyName\": \"IntegrationAccountAssembly1317\",\r\n \"assemblyVersion\": \"0.0.0.0\",\r\n \"contentLink\": {\r\n \"uri\": \"https://prod-07.westus.logic.azure.com:443/integrationAccounts/92054ec0f3314515b3dc3745f6196052/assemblies/IntegrationAccountAssembly1317/contents/Value?api-version=2015-08-01-preview&se=2018-09-20T02%3A47%3A50.0947501Z&sp=%2Fassemblies%2FIntegrationAccountAssembly1317%2Fread&sv=1.0&sig=oz7V6qAt83wTNpB05KGFMKVWTbkF6iFEcLtF6in2Vrk\",\r\n \"contentSize\": 25288\r\n },\r\n \"createdTime\": \"2018-09-19T22:47:50.0560246Z\",\r\n \"changedTime\": \"2018-09-19T22:47:50.0560246Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7399/assemblies/IntegrationAccountAssembly1317\",\r\n \"name\": \"IntegrationAccountAssembly1317\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/assemblies\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7399/assemblies/IntegrationAccountAssembly1317?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NzM5OS9hc3NlbWJsaWVzL0ludGVncmF0aW9uQWNjb3VudEFzc2VtYmx5MTMxNz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "37bbd094-8bfa-4e50-b470-15ccb282ddb4" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:47:50 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:8977d2d6-a17a-43ae-b85b-6a4d33cff6c2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "190f76d8-262a-4b1a-af80-c54337b313ba" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224750Z:190f76d8-262a-4b1a-af80-c54337b313ba" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7399/assemblies/IntegrationAccountAssembly1317?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NzM5OS9hc3NlbWJsaWVzL0ludGVncmF0aW9uQWNjb3VudEFzc2VtYmx5MTMxNz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "5be4aa71-3c8a-4e75-99da-ad4e933c02d8" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:47:50 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:4d14a7d4-242d-4600-bc12-cad19e7a73b1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-correlation-request-id": [ + "056382d7-1406-48c5-b99d-fefd4bca6bd5" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224750Z:056382d7-1406-48c5-b99d-fefd4bca6bd5" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "163" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"AssemblyNotFound\",\r\n \"message\": \"The assembly 'IntegrationAccountAssembly1317' could not be found in integration account 'IntegrationAccount7399'.\"\r\n }\r\n}", + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7399?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NzM5OT9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "d696fad6-49b8-492f-ae09-983844d7909e" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:47:50 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:26a331f6-f2d5-4430-bd02-b0f47c97d273" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "def4a961-d458-43b7-867d-bc82c54a2932" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224751Z:def4a961-d458-43b7-867d-bc82c54a2932" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "IntegrationAccountAssemblies_Delete_OK": [ + "IntegrationAccount7399", + "IntegrationAccountAssembly1317" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAssembliesScenarioTests/IntegrationAccountAssemblies_Get_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAssembliesScenarioTests/IntegrationAccountAssemblies_Get_OK.json new file mode 100644 index 0000000000000..1f3df051977aa --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAssembliesScenarioTests/IntegrationAccountAssemblies_Get_OK.json @@ -0,0 +1,373 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "97021795-328e-48b3-a250-db676789cb0d" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:47:53 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-request-id": [ + "a4be5bda-0076-4afc-8965-b41feb9f056e" + ], + "x-ms-correlation-request-id": [ + "a4be5bda-0076-4afc-8965-b41feb9f056e" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224753Z:a4be5bda-0076-4afc-8965-b41feb9f056e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "65b68d66-0fc8-49b5-8f00-d315812a2f77" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:47:53 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19999" + ], + "x-ms-request-id": [ + "fb1c6ac7-f4d5-438c-a2ae-e328a5ac3037" + ], + "x-ms-correlation-request-id": [ + "fb1c6ac7-f4d5-438c-a2ae-e328a5ac3037" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224753Z:fb1c6ac7-f4d5-438c-a2ae-e328a5ac3037" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2130?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MjEzMD9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "04bc613c-959c-4a34-a14f-fb874eb4fc82" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:47:54 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:cef550f0-db1f-43d0-b8f1-6c73d785351e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "84546960-8337-4f38-968a-dac5e17431d1" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224754Z:84546960-8337-4f38-968a-dac5e17431d1" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "307" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2130\",\r\n \"name\": \"IntegrationAccount2130\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2130/assemblies/IntegrationAccountAssembly1319?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MjEzMC9hc3NlbWJsaWVzL0ludGVncmF0aW9uQWNjb3VudEFzc2VtYmx5MTMxOT9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"assemblyName\": \"IntegrationAccountAssembly1319\",\r\n \"content\": \"TVqQAAMAAAAEAAAA//8AALgAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAA4fug4AtAnNIbgBTM0hVGhpcyBwcm9ncmFtIGNhbm5vdCBiZSBydW4gaW4gRE9TIG1vZGUuDQ0KJAAAAAAAAABQRQAATAEDAP6YCVsAAAAAAAAAAOAAAiELAQsAABoAAAAIAAAAAAAAbjkAAAAgAAAAQAAAAAAAEAAgAAAAAgAABAAAAAAAAAAEAAAAAAAAAACAAAAAAgAAp54AAAMAYIUAABAAABAAAAAAEAAAEAAAAAAAABAAAAAAAAAAAAAAABg5AABTAAAAAEAAAFAFAAAAAAAAAAAAAAAkAADIPgAAAGAAAAwAAADgNwAAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAACAAAAAAAAAAAAAAACCAAAEgAAAAAAAAAAAAAAC50ZXh0AAAAdBkAAAAgAAAAGgAAAAIAAAAAAAAAAAAAAAAAACAAAGAucnNyYwAAAFAFAAAAQAAAAAYAAAAcAAAAAAAAAAAAAAAAAABAAABALnJlbG9jAAAMAAAAAGAAAAACAAAAIgAAAAAAAAAAAAAAAAAAQAAAQgAAAAAAAAAAAAAAAAAAAABQOQAAAAAAAEgAAAACAAUAjCIAAFQVAAAJAAAAAAAAAAAAAAAAAAAAUCAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAWGUS9Q3u17q3yi1DVt4eD6XH2IvznHygMHjI8GvC0zyBMriHS7KcesATQzoT5uvVlZsJ8Dpn0ijGL4e4TD8z8HiSi+hGGnbgtrXgXId6KjbzEdbX5VYxe1J7UftudKJIyXQsNi7lPtD62JVNsmScrWD90b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AZgBkAGUAOAA5ADMAOABjADgAMQBkAGQANAAwADIAYgBhADYANQBiADkAMgAwADEAZAA2ADAANQA5ADMAZQA5ADYAYwA0ADkAMgA2ADUAMQBlADgAOAA5AGMAYwAxADMAZgAxADQAMQA1AGUAYgBiADUAMwBmAGEAYwAxADEAMwAxAGEAZQAwAGIAZAAzADMAMwBjADUAZQBlADYAMAAyADEANgA3ADIAZAA5ADcAMQA4AGUAYQAzADEAYQA4AGEAZQBiAGQAMABkAGEAMAAwADcAMgBmADIANQBkADgANwBkAGIAYQA2AGYAYwA5ADAAZgBmAGQANQA5ADgAZQBkADQAZABhADMANQBlADQANABjADMAOQA4AGMANAA1ADQAMwAwADcAZQA4AGUAMwAzAGIAOAA0ADIANgAxADQAMwBkAGEAZQBjADkAZgA1ADkANgA4ADMANgBmADkANwBjADgAZgA3ADQANwA1ADAAZQA1ADkANwA1AGMANgA0AGUAMgAxADgAOQBmADQANQBkAGUAZgA0ADYAYgAyAGEAMgBiADEAMgA0ADcAYQBkAGMAMwA2ADUAMgBiAGYANQBjADMAMAA4ADAANQA1AGQAYQA5AIKYLAAgAFAAdQBiAGwAaQBjAEsAZQB5AD0AMAAwADIANAAwADAAMAAwADAANAA4ADAAMAAwADAAMAA5ADQAMAAwADAAMAAwADAAMAA2ADAAMgAwADAAMAAwADAAMAAyADQAMAAwADAAMAA1ADIANQAzADQAMQAzADEAMAAwADAANAAwADAAMAAwADAAMQAwADAAMAAxADAAMAAxADkANwBjADIANQBkADAAYQAwADQAZgA3ADMAYwBiADIANwAxAGUAOAAxADgAMQBkAGIAYQAxAGMAMABjADcAMQAzAGQAZgA4AGQAZQBlAGIAYgAyADUAOAA2ADQANQA0ADEAYQA2ADYANgA3ADAANQAwADAAZgAzADQAOAA5ADYAZAAyADgAMAA0ADgANABiADQANQBmAGUAMQBmAGYANgBjADIAOQBmADIAZQBlADcAYQBhADEANwA1AGQAOABiAGMAYgBkADAAYwA4ADMAYwBjADIAMwA5ADAAMQBhADgAOQA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ApH4wfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIwMTACEzMAAACsiiG8etKbcvQAAAAAAKwwFgQUUczj7EpO2/cMcOabxlRsdeOeNRowDQYJKoZIhvcNAQELBQAEggEAFMIrbCodie3zQbZaU8i3emRH3VBH3VSIE0lZuM1URrPNAr8mZXYZDZXydk0Zx7FAsSbErCDE3vgWONm8RCuQJVahK9NdnQVE126c7248jG6nGd8SwI5QSxFB5lqtOH/OKLfRpfNW8mvmKBF5G3SaGS883fQ2DcByE8C5Beg9+QVyYjCcJAZKkp3zriqqmP0reddKz+EUu5kk5vV4cF72y/BzFJ5GucTJQNJ87jcL+Ky5GCIvpoSyYQTVPGQdvGqSozprMraG8rIDfB+cNFZTTpBEBgt2Ya86msRhWbeot4BrtKlKOap+l56VCVecyxygT0GYhUfwdJPdqaeDSVffXg==\",\r\n \"contentType\": \"application/octet-stream\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "d514a676-d495-49db-b9b5-cb655db0b796" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "33895" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:47:55 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:d63464b3-cbde-47ed-9625-d7efbc4bc3ad" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "d4433aac-0104-4daa-a1f7-8c93f54a6378" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224755Z:d4433aac-0104-4daa-a1f7-8c93f54a6378" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "846" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"assemblyName\": \"IntegrationAccountAssembly1319\",\r\n \"assemblyVersion\": \"0.0.0.0\",\r\n \"contentLink\": {\r\n \"uri\": \"https://prod-51.westus.logic.azure.com:443/integrationAccounts/91c6a4fde6d54f2d92a9faadf40ee714/assemblies/IntegrationAccountAssembly1319/contents/Value?api-version=2015-08-01-preview&se=2018-09-20T02%3A47%3A55.1654429Z&sp=%2Fassemblies%2FIntegrationAccountAssembly1319%2Fread&sv=1.0&sig=XJhGNBLSeTWz41YyXJs28_u5LRqUj0wk1ML0OihidzI\",\r\n \"contentSize\": 25288\r\n },\r\n \"createdTime\": \"2018-09-19T22:47:55.0580399Z\",\r\n \"changedTime\": \"2018-09-19T22:47:55.0580399Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2130/assemblies/IntegrationAccountAssembly1319\",\r\n \"name\": \"IntegrationAccountAssembly1319\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/assemblies\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2130/assemblies/IntegrationAccountAssembly1319?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MjEzMC9hc3NlbWJsaWVzL0ludGVncmF0aW9uQWNjb3VudEFzc2VtYmx5MTMxOT9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "1974c09c-0905-45b7-a713-d53c889c93c9" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:47:55 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:e96d89b1-4f7e-4a54-b0d1-d31bb3f8e1e4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-correlation-request-id": [ + "e1d3e025-aa58-4780-80c5-8ba99a13fb6f" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224755Z:e1d3e025-aa58-4780-80c5-8ba99a13fb6f" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "846" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"assemblyName\": \"IntegrationAccountAssembly1319\",\r\n \"assemblyVersion\": \"0.0.0.0\",\r\n \"contentLink\": {\r\n \"uri\": \"https://prod-51.westus.logic.azure.com:443/integrationAccounts/91c6a4fde6d54f2d92a9faadf40ee714/assemblies/IntegrationAccountAssembly1319/contents/Value?api-version=2015-08-01-preview&se=2018-09-20T02%3A47%3A55.2279670Z&sp=%2Fassemblies%2FIntegrationAccountAssembly1319%2Fread&sv=1.0&sig=_XeON59Uz-nar96aoSK4tx8D_-lrhmxMI3z73rTPy8A\",\r\n \"contentSize\": 25288\r\n },\r\n \"createdTime\": \"2018-09-19T22:47:55.0580399Z\",\r\n \"changedTime\": \"2018-09-19T22:47:55.0585287Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2130/assemblies/IntegrationAccountAssembly1319\",\r\n \"name\": \"IntegrationAccountAssembly1319\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/assemblies\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2130?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MjEzMD9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "a5957e9a-207c-4c25-8d64-0f51b847c89c" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:47:55 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:e9331b2c-bd24-4bf9-bd79-384fad4d1acd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "a4f86a98-1728-45f9-b951-87e59f154a7b" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224755Z:a4f86a98-1728-45f9-b951-87e59f154a7b" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "IntegrationAccountAssemblies_Get_OK": [ + "IntegrationAccount2130", + "IntegrationAccountAssembly1319" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAssembliesScenarioTests/IntegrationAccountAssemblies_ListContentCallbackUrl_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAssembliesScenarioTests/IntegrationAccountAssemblies_ListContentCallbackUrl_OK.json new file mode 100644 index 0000000000000..07439cf6a21b1 --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAssembliesScenarioTests/IntegrationAccountAssemblies_ListContentCallbackUrl_OK.json @@ -0,0 +1,373 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "cd4e8aab-7353-4516-9049-2168c926c1a8" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:07 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-request-id": [ + "a4839459-b085-4321-86cb-38c9a920ee05" + ], + "x-ms-correlation-request-id": [ + "a4839459-b085-4321-86cb-38c9a920ee05" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224808Z:a4839459-b085-4321-86cb-38c9a920ee05" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "25ecce0e-be19-4401-85c1-e7f4828ce9d6" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:07 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19998" + ], + "x-ms-request-id": [ + "59db99ac-a10a-4dd6-b4bb-a70ee8265b5d" + ], + "x-ms-correlation-request-id": [ + "59db99ac-a10a-4dd6-b4bb-a70ee8265b5d" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224808Z:59db99ac-a10a-4dd6-b4bb-a70ee8265b5d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9171?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50OTE3MT9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "4f9b7978-79b8-4c6b-a1d0-75d2f02007f5" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:08 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:6136bca8-c4ef-4b9c-901f-c5d25a860d4a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "098003f3-ba8e-46e2-a7c0-f22051fd26dc" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224809Z:098003f3-ba8e-46e2-a7c0-f22051fd26dc" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "307" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9171\",\r\n \"name\": \"IntegrationAccount9171\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9171/assemblies/IntegrationAccountAssembly3973?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50OTE3MS9hc3NlbWJsaWVzL0ludGVncmF0aW9uQWNjb3VudEFzc2VtYmx5Mzk3Mz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"assemblyName\": \"IntegrationAccountAssembly3973\",\r\n \"content\": \"TVqQAAMAAAAEAAAA//8AALgAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAA4fug4AtAnNIbgBTM0hVGhpcyBwcm9ncmFtIGNhbm5vdCBiZSBydW4gaW4gRE9TIG1vZGUuDQ0KJAAAAAAAAABQRQAATAEDAP6YCVsAAAAAAAAAAOAAAiELAQsAABoAAAAIAAAAAAAAbjkAAAAgAAAAQAAAAAAAEAAgAAAAAgAABAAAAAAAAAAEAAAAAAAAAACAAAAAAgAAp54AAAMAYIUAABAAABAAAAAAEAAAEAAAAAAAABAAAAAAAAAAAAAAABg5AABTAAAAAEAAAFAFAAAAAAAAAAAAAAAkAADIPgAAAGAAAAwAAADgNwAAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAACAAAAAAAAAAAAAAACCAAAEgAAAAAAAAAAAAAAC50ZXh0AAAAdBkAAAAgAAAAGgAAAAIAAAAAAAAAAAAAAAAAACAAAGAucnNyYwAAAFAFAAAAQAAAAAYAAAAcAAAAAAAAAAAAAAAAAABAAABALnJlbG9jAAAMAAAAAGAAAAACAAAAIgAAAAAAAAAAAAAAAAAAQAAAQgAAAAAAAAAAAAAAAAAAAABQOQAAAAAAAEgAAAACAAUAjCIAAFQVAAAJAAAAAAAAAAAAAAAAAAAAUCAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAWGUS9Q3u17q3yi1DVt4eD6XH2IvznHygMHjI8GvC0zyBMriHS7KcesATQzoT5uvVlZs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AAwADAAMAAwADAAMQAwADAAMAAxADAAMABiADUAZgBjADkAMABlADcAMAAyADcAZgA2ADcAOAA3ADEAZQA3ADcAMwBhADgAZgBkAGUAOAA5ADMAOABjADgAMQBkAGQANAAwADIAYgBhADYANQBiADkAMgAwADEAZAA2ADAANQA5ADMAZQA5ADYAYwA0ADkAMgA2ADUAMQBlADgAOAA5AGMAYwAxADMAZgAxADQAMQA1AGUAYgBiADUAMwBmAGEAYwAxADEAMwAxAGEAZQAwAGIAZAAzADMAMwBjADUAZQBlADYAMAAyADEANgA3ADIAZAA5ADcAMQA4AGUAYQAzADEAYQA4AGEAZQBiAGQAMABkAGEAMAAwADcAMgBmADIANQBkADgANwBkAGIAYQA2AGYAYwA5ADAAZgBmAGQANQA5ADgAZQBkADQAZABhADMANQBlADQANABjADMAOQA4AGMANAA1ADQAMwAwADcAZQA4AGUAMwAzAGIAOAA0ADIANgAxADQAMwBkAGEAZQBjADkAZgA1ADkANgA4ADMANgBmADkANwBjADgAZgA3ADQANwA1ADAAZQA1ADkANwA1AGMANgA0AGUAMgAxADgAOQBmADQANQBkAGUAZgA0ADYAYgAyAGEAMgBiADEAMgA0ADcAYQBkAGMAMwA2ADUAMgBiAGYANQBjADMAMAA4ADAANQA1AGQAYQA5AIKYLAAgAFAAdQBiAGwAaQBjAEsAZQB5AD0AMAAwADIANAAwADAAMAAwADAANAA4ADAAMAAwADAAMAA5ADQAMAAwADAAMAAwADAAMAA2ADAAMgAwADAAMAAwADAAMAAyADQAMAAwADAAMAA1ADIANQAzADQAMQAzADEAMAAwADAANAAwADAAMAAwADAAMQAwADAAMAAxADAAMAAxADkANwBjADIANQBkADAAYQAwADQAZgA3ADMAYwBiADIANwAxAGUAOAAxADgAMQBkAGIAYQAxAGMAMABjADcAMQAzAGQAZgA4AGQAZQBlAGIAYgAyADUAOAA2ADQANQA0ADEAYQA2ADYANgA3ADAANQAwADAAZgAzADQAOAA5ADYAZAAyADgAMAA0ADgANABiADQANQBmAGUAMQBmAG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B0/496rKHb2jCB4gYLKoZIhvcNAQkQAgwxgdIwgc8wgcwwgbEEFDlwJYsUyHndXwxd6Yucs5SZ9xy3MIGYMIGApH4wfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIwMTACEzMAAACsiiG8etKbcvQAAAAAAKwwFgQUUczj7EpO2/cMcOabxlRsdeOeNRowDQYJKoZIhvcNAQELBQAEggEAFMIrbCodie3zQbZaU8i3emRH3VBH3VSIE0lZuM1URrPNAr8mZXYZDZXydk0Zx7FAsSbErCDE3vgWONm8RCuQJVahK9NdnQVE126c7248jG6nGd8SwI5QSxFB5lqtOH/OKLfRpfNW8mvmKBF5G3SaGS883fQ2DcByE8C5Beg9+QVyYjCcJAZKkp3zriqqmP0reddKz+EUu5kk5vV4cF72y/BzFJ5GucTJQNJ87jcL+Ky5GCIvpoSyYQTVPGQdvGqSozprMraG8rIDfB+cNFZTTpBEBgt2Ya86msRhWbeot4BrtKlKOap+l56VCVecyxygT0GYhUfwdJPdqaeDSVffXg==\",\r\n \"contentType\": \"application/octet-stream\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "8b69c21d-8b0e-4b0f-828c-9c7ae8a103ee" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "33895" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:09 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:f29fe3e0-2432-41f4-8d32-3e4dd581a31c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "1b56a961-bf62-40d4-be8a-f21b8f37b368" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224810Z:1b56a961-bf62-40d4-be8a-f21b8f37b368" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "846" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"assemblyName\": \"IntegrationAccountAssembly3973\",\r\n \"assemblyVersion\": \"0.0.0.0\",\r\n \"contentLink\": {\r\n \"uri\": \"https://prod-76.westus.logic.azure.com:443/integrationAccounts/d0af3a3a97a6462fa27d74d443b5c06e/assemblies/IntegrationAccountAssembly3973/contents/Value?api-version=2015-08-01-preview&se=2018-09-20T02%3A48%3A10.6510820Z&sp=%2Fassemblies%2FIntegrationAccountAssembly3973%2Fread&sv=1.0&sig=bTEIGRBYqxIOZRi28qDDs66NowCqBRkyZ_klEnpW510\",\r\n \"contentSize\": 25288\r\n },\r\n \"createdTime\": \"2018-09-19T22:48:10.5459929Z\",\r\n \"changedTime\": \"2018-09-19T22:48:10.5459929Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9171/assemblies/IntegrationAccountAssembly3973\",\r\n \"name\": \"IntegrationAccountAssembly3973\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/assemblies\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9171/assemblies/IntegrationAccountAssembly3973/listContentCallbackUrl?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50OTE3MS9hc3NlbWJsaWVzL0ludGVncmF0aW9uQWNjb3VudEFzc2VtYmx5Mzk3My9saXN0Q29udGVudENhbGxiYWNrVXJsP2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "bef5bd34-36cb-4674-8bd1-6534213fe365" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:09 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:6f836b57-9396-4d0a-829f-f5bcd001400d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "2c749300-0db6-43d7-8b4a-478e20cbb7e6" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224810Z:2c749300-0db6-43d7-8b4a-478e20cbb7e6" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "531" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": \"https://prod-76.westus.logic.azure.com:443/integrationAccounts/d0af3a3a97a6462fa27d74d443b5c06e/assemblies/IntegrationAccountAssembly3973/contents/Value?api-version=2015-08-01-preview&sp=%2Fassemblies%2FIntegrationAccountAssembly3973%2Fread&sv=1.0&sig=tCUhf9GUVMhIS0ey8WJ9CpiYxyprrsHC_wc7QcdRGVw\",\r\n \"method\": \"GET\",\r\n \"basePath\": \"https://prod-76.westus.logic.azure.com/integrationAccounts/d0af3a3a97a6462fa27d74d443b5c06e/assemblies/IntegrationAccountAssembly3973/contents/Value\",\r\n \"queries\": {\r\n \"api-version\": \"2015-08-01-preview\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9171?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50OTE3MT9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "b7764fbd-566c-4800-91fb-f5f64c61d43d" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:10 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:9435a911-6c45-4914-b271-a79acb073a4d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "ebd1b2b2-6028-4776-bb7f-b33348930d8e" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224811Z:ebd1b2b2-6028-4776-bb7f-b33348930d8e" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "IntegrationAccountAssemblies_ListContentCallbackUrl_OK": [ + "IntegrationAccount9171", + "IntegrationAccountAssembly3973" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAssembliesScenarioTests/IntegrationAccountAssemblies_List_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAssembliesScenarioTests/IntegrationAccountAssemblies_List_OK.json new file mode 100644 index 0000000000000..445b2bc903174 --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountAssembliesScenarioTests/IntegrationAccountAssemblies_List_OK.json @@ -0,0 +1,503 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "180e6e02-9dc1-471b-b66a-86a961574520" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:02 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "x-ms-request-id": [ + "2c99bdb2-32a1-4c38-bec9-e8cbc09a4ab1" + ], + "x-ms-correlation-request-id": [ + "2c99bdb2-32a1-4c38-bec9-e8cbc09a4ab1" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224802Z:2c99bdb2-32a1-4c38-bec9-e8cbc09a4ab1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "2fa0fce4-03d4-4063-b41f-975ef92969cc" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:02 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19998" + ], + "x-ms-request-id": [ + "da449d90-18c4-4905-8a9a-f31affdd81c3" + ], + "x-ms-correlation-request-id": [ + "da449d90-18c4-4905-8a9a-f31affdd81c3" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224802Z:da449d90-18c4-4905-8a9a-f31affdd81c3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3059?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MzA1OT9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "f99d0cb3-d2ae-40e2-b2e5-cbc9f7e3cdb8" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:03 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:883a0b27-2eec-40d3-9405-997fa5d9e8ce" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1193" + ], + "x-ms-correlation-request-id": [ + "f98741bc-e579-4a7b-a1ed-762f8e732469" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224803Z:f98741bc-e579-4a7b-a1ed-762f8e732469" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "307" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3059\",\r\n \"name\": \"IntegrationAccount3059\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3059/assemblies/IntegrationAccountAssembly216?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MzA1OS9hc3NlbWJsaWVzL0ludGVncmF0aW9uQWNjb3VudEFzc2VtYmx5MjE2P2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"assemblyName\": \"IntegrationAccountAssembly216\",\r\n \"content\": \"TVqQAAMAAAAEAAAA//8AALgAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAA4fug4AtAnNIbgBTM0hVGhpcyBwcm9ncmFtIGNhbm5vdCBiZSBydW4gaW4gRE9TIG1vZGUuDQ0KJAAAAAAAAABQRQAATAEDAP6YCVsAAAAAAAAAAOAAAiELAQsAABoAAAAIAAAAAAAAbjkAAAAgAAAAQAAAAAAAEAAgAAAAAgAABAAAAAAAAAAEAAAAAAAAAACAAAAAAgAAp54AAAMAYIUAABAAABAAAAAAEAAAEAAAAAAAABAAAAAAAAAAAAAAABg5AABTAAAAAEAAAFAFAAAAAAAAAAAAAAAkAADIPgAAAGAAAAwAAADgNwAAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAACAAAAAAAAAAAAAAACCAAAEgAAAAAAAAAAAAAAC50ZXh0AAAAdBkAAAAgAAAAGgAAAAIAAAAAAAAAAAAAAAAAACAAAGAucnNyYwAAAFAFAAAAQAAAAAYAAAAcAAAAAAAAAAAAAAAAAABAAABALnJlbG9jAAAMAAAAAGAAAAACAAAAIgAAAAAAAAAAAAAAAAAAQAAAQgAAAAAAAAAAAAAAAAAAAABQOQAAAAAAAEgAAAACAAUAjCIAAFQVAAAJAAAAAAAAAAAAAAAAAAAAUCAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAWGUS9Q3u17q3yi1DVt4eD6XH2IvznHygMHjI8GvC0zyBMriHS7KcesATQzoT5uvVlZsJ8Dpn0ijGL4e4TD8z8HiSi+hGGnbgtrXgXId6KjbzEdbX5VYxe1J7UftudKJIyXQsNi7lPtD62JVNsmScrWD90b3DAFWTZKVxDPTcwqMnMOAAAKAigPAAAKKh4CKAIAAAY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YANQBiADkAMgAwADEAZAA2ADAANQA5ADMAZQA5ADYAYwA0ADkAMgA2ADUAMQBlADgAOAA5AGMAYwAxADMAZgAxADQAMQA1AGUAYgBiADUAMwBmAGEAYwAxADEAMwAxAGEAZQAwAGIAZAAzADMAMwBjADUAZQBlADYAMAAyADEANgA3ADIAZAA5ADcAMQA4AGUAYQAzADEAYQA4AGEAZQBiAGQAMABkAGEAMAAwADcAMgBmADIANQBkADgANwBkAGIAYQA2AGYAYwA5ADAAZgBmAGQANQA5ADgAZQBkADQAZABhADMANQBlADQANABjADMAOQA4AGMANAA1ADQAMwAwADcAZQA4AGUAMwAzAGIAOAA0ADIANgAxADQAMwBkAGEAZQBjADkAZgA1ADkANgA4ADMANgBmADkANwBjADgAZgA3ADQANwA1ADAAZQA1ADkANwA1AGMANgA0AGUAMgAxADgAOQBmADQANQBkAGUAZgA0ADYAYgAyAGEAMgBiADEAMgA0ADcAYQBkAGMAMwA2ADUAMgBiAGYANQBjADMAMAA4ADAANQA1AGQAYQA5AIKYLAAgAFAAdQBiAGwAaQBjAEsAZQB5AD0AMAAwADIANAAwADAAMAAwADAANAA4ADAAMAAwADAAMAA5ADQAMAAwADAAMAAwADAAMAA2ADAAMgAwADAAMAAwADAAMAAyADQAMAAwADAAMAA1ADIANQAzADQAMQAzADEAMAAwADAANAAwADAAMAAwADAAMQAwADAAMAAxADAAMAAxADkANwBjADIANQBkADAAYQAwADQAZgA3ADMAYwBiADIANwAxAGUAOAAxADgAMQBkAGIAYQAxAGMAMABjADcAMQAzAGQAZgA4AGQAZQBlAGIAYgAyADUAOAA2ADQANQA0ADEAYQA2ADYANgA3ADAANQAwADAAZgAzADQAOAA5ADYAZAAyADgAMAA0ADgANABiADQANQBmAGUAMQBmAGYANgBjADIAOQBmADIAZQBlADcAYQBhADEANwA1AGQAOABiAGMAYgBkADAAYwA4ADMAYwBjADIAMwA5ADAAMQBhADgAOQA0AGEAOAA2ADkAOQA2ADAAMwAwAGYANgAyADkAMgBjAGU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md0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIwMTACEzMAAACsiiG8etKbcvQAAAAAAKwwFgQUUczj7EpO2/cMcOabxlRsdeOeNRowDQYJKoZIhvcNAQELBQAEggEAFMIrbCodie3zQbZaU8i3emRH3VBH3VSIE0lZuM1URrPNAr8mZXYZDZXydk0Zx7FAsSbErCDE3vgWONm8RCuQJVahK9NdnQVE126c7248jG6nGd8SwI5QSxFB5lqtOH/OKLfRpfNW8mvmKBF5G3SaGS883fQ2DcByE8C5Beg9+QVyYjCcJAZKkp3zriqqmP0reddKz+EUu5kk5vV4cF72y/BzFJ5GucTJQNJ87jcL+Ky5GCIvpoSyYQTVPGQdvGqSozprMraG8rIDfB+cNFZTTpBEBgt2Ya86msRhWbeot4BrtKlKOap+l56VCVecyxygT0GYhUfwdJPdqaeDSVffXg==\",\r\n \"contentType\": \"application/octet-stream\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "c0e095dc-6221-4707-98cd-71ce51b81ec3" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "33894" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:04 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:012832ea-c8f0-44fe-aca4-d437eb72d902" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1192" + ], + "x-ms-correlation-request-id": [ + "f65f9e1d-c8ce-4a5c-b489-4431c7532e29" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224804Z:f65f9e1d-c8ce-4a5c-b489-4431c7532e29" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "841" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"assemblyName\": \"IntegrationAccountAssembly216\",\r\n \"assemblyVersion\": \"0.0.0.0\",\r\n \"contentLink\": {\r\n \"uri\": \"https://prod-34.westus.logic.azure.com:443/integrationAccounts/79388d27cfb64faab5f3bcbf8682d816/assemblies/IntegrationAccountAssembly216/contents/Value?api-version=2015-08-01-preview&se=2018-09-20T02%3A48%3A04.5522662Z&sp=%2Fassemblies%2FIntegrationAccountAssembly216%2Fread&sv=1.0&sig=RivKrUpPT17e2cve9_mBNW80RARcNGTEi-RuGZhIJZ0\",\r\n \"contentSize\": 25288\r\n },\r\n \"createdTime\": \"2018-09-19T22:48:04.4820955Z\",\r\n \"changedTime\": \"2018-09-19T22:48:04.4820955Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3059/assemblies/IntegrationAccountAssembly216\",\r\n \"name\": \"IntegrationAccountAssembly216\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/assemblies\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3059/assemblies/IntegrationAccountAssembly6430?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MzA1OS9hc3NlbWJsaWVzL0ludGVncmF0aW9uQWNjb3VudEFzc2VtYmx5NjQzMD9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"assemblyName\": \"IntegrationAccountAssembly6430\",\r\n \"content\": \"TVqQAAMAAAAEAAAA//8AALgAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAA4fug4AtAnNIbgBTM0hVGhpcyBwcm9ncmFtIGNhbm5vdCBiZSBydW4gaW4gRE9TIG1vZGUuDQ0KJAAAAAAAAABQRQAATAEDAP6YCVsAAAAAAAAAAOAAAiELAQsAABoAAAAIAAAAAAAAbjkAAAAgAAAAQAAAAAAAEAAgAAAAAgAABAAAAAAAAAAEAAAAAAAAAACAAAAAAgAAp54AAAMAYIUAABAAABAAAAAAEAAAEAAAAAAAABAAAAAAAAAAAAAAABg5AABTAAAAAEAAAFAFAAAAAAAAAAAAAAAkAADIPgAAAGAAAAwAAADgNwAAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAACAAAAAAAAAAAAAAACCAAAEgAAAAAAAAAAAAAAC50ZXh0AAAAdBkAAAAgAAAAGgAAAAIAAAAAAAAAAAAAAAAAACAAAGAucnNyYwAAAFAFAAAAQAAAAAYAAAAcAAAAAAAAAAAAAAAAAABAAABALnJlbG9jAAAMAAAAAGAAAAACAAAAIgAAAAAAAAAAAAAAAAAAQAAAQgAAAAAAAAAAAAAAAAAAAABQOQAAAAAAAEgAAAACAAUAjCIAAFQVAAAJAAAAAAAAAAAAAAAAAAAAUCAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAWGUS9Q3u17q3yi1DVt4eD6XH2IvznHygMHjI8GvC0zyBMriHS7KcesATQzoT5uvVlZsJ8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ADAAMAAwADAAMQAwADAAMAAxADAAMABiADUAZgBjADkAMABlADcAMAAyADcAZgA2ADcAOAA3ADEAZQA3ADcAMwBhADgAZgBkAGUAOAA5ADMAOABjADgAMQBkAGQANAAwADIAYgBhADYANQBiADkAMgAwADEAZAA2ADAANQA5ADMAZQA5ADYAYwA0ADkAMgA2ADUAMQBlADgAOAA5AGMAYwAxADMAZgAxADQAMQA1AGUAYgBiADUAMwBmAGEAYwAxADEAMwAxAGEAZQAwAGIAZAAzADMAMwBjADUAZQBlADYAMAAyADEANgA3ADIAZAA5ADcAMQA4AGUAYQAzADEAYQA4AGEAZQBiAGQAMABkAGEAMAAwADcAMgBmADIANQBkADgANwBkAGIAYQA2AGYAYwA5ADAAZgBmAGQANQA5ADgAZQBkADQAZABhADMANQBlADQANABjADMAOQA4AGMANAA1ADQAMwAwADcAZQA4AGUAMwAzAGIAOAA0ADIANgAxADQAMwBkAGEAZQBjADkAZgA1ADkANgA4ADMANgBmADkANwBjADgAZgA3ADQANwA1ADAAZQA1ADkANwA1AGMANgA0AGUAMgAxADgAOQBmADQANQBkAGUAZgA0ADYAYgAyAGEAMgBiADEAMgA0ADcAYQBkAGMAMwA2ADUAMgBiAGYANQBjADMAMAA4ADAANQA1AGQAYQA5AIKYLAAgAFAAdQBiAGwAaQBjAEsAZQB5AD0AMAAwADIANAAwADAAMAAwADAANAA4ADAAMAAwADAAMAA5ADQAMAAwADAAMAAwADAAMAA2ADAAMgAwADAAMAAwADAAMAAyADQAMAAwADAAMAA1ADIANQAzADQAMQAzADEAMAAwADAANAAwADAAMAAwADAAMQAwADAAMAAxADAAMAAxADkANwBjADIANQBkADAAYQAwADQAZgA3ADMAYwBiADIANwAxAGUAOAAxADgAMQBkAGIAYQAxAGMAMABjADcAMQAzAGQAZgA4AGQAZQBlAGIAYgAyADUAOAA2ADQANQA0ADEAYQA2ADYANgA3ADAANQAwADAAZgAzADQAOAA5ADYAZAAyADgAMAA0ADgANABiADQANQBmAGUAMQBmAGYANg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496rKHb2jCB4gYLKoZIhvcNAQkQAgwxgdIwgc8wgcwwgbEEFDlwJYsUyHndXwxd6Yucs5SZ9xy3MIGYMIGApH4wfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIwMTACEzMAAACsiiG8etKbcvQAAAAAAKwwFgQUUczj7EpO2/cMcOabxlRsdeOeNRowDQYJKoZIhvcNAQELBQAEggEAFMIrbCodie3zQbZaU8i3emRH3VBH3VSIE0lZuM1URrPNAr8mZXYZDZXydk0Zx7FAsSbErCDE3vgWONm8RCuQJVahK9NdnQVE126c7248jG6nGd8SwI5QSxFB5lqtOH/OKLfRpfNW8mvmKBF5G3SaGS883fQ2DcByE8C5Beg9+QVyYjCcJAZKkp3zriqqmP0reddKz+EUu5kk5vV4cF72y/BzFJ5GucTJQNJ87jcL+Ky5GCIvpoSyYQTVPGQdvGqSozprMraG8rIDfB+cNFZTTpBEBgt2Ya86msRhWbeot4BrtKlKOap+l56VCVecyxygT0GYhUfwdJPdqaeDSVffXg==\",\r\n \"contentType\": \"application/octet-stream\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "fcff098b-4145-4037-af34-97c1a8db932e" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "33895" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:04 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:8b279d36-005c-40ce-b53b-25399b2a9e65" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1191" + ], + "x-ms-correlation-request-id": [ + "5995a791-e166-483a-997d-f7d48a921b69" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224804Z:5995a791-e166-483a-997d-f7d48a921b69" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "846" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"assemblyName\": \"IntegrationAccountAssembly6430\",\r\n \"assemblyVersion\": \"0.0.0.0\",\r\n \"contentLink\": {\r\n \"uri\": \"https://prod-34.westus.logic.azure.com:443/integrationAccounts/79388d27cfb64faab5f3bcbf8682d816/assemblies/IntegrationAccountAssembly6430/contents/Value?api-version=2015-08-01-preview&se=2018-09-20T02%3A48%3A04.7397944Z&sp=%2Fassemblies%2FIntegrationAccountAssembly6430%2Fread&sv=1.0&sig=QpFYmqpqj7LWMiyq37vc7TDt444nrVckRK4gRx4a2VM\",\r\n \"contentSize\": 25288\r\n },\r\n \"createdTime\": \"2018-09-19T22:48:04.7465072Z\",\r\n \"changedTime\": \"2018-09-19T22:48:04.7465072Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3059/assemblies/IntegrationAccountAssembly6430\",\r\n \"name\": \"IntegrationAccountAssembly6430\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/assemblies\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3059/assemblies/IntegrationAccountAssembly6670?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MzA1OS9hc3NlbWJsaWVzL0ludGVncmF0aW9uQWNjb3VudEFzc2VtYmx5NjY3MD9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"assemblyName\": \"IntegrationAccountAssembly6670\",\r\n \"content\": \"TVqQAAMAAAAEAAAA//8AALgAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAA4fug4AtAnNIbgBTM0hVGhpcyBwcm9ncmFtIGNhbm5vdCBiZSBydW4gaW4gRE9TIG1vZGUuDQ0KJAAAAAAAAABQRQAATAEDAP6YCVsAAAAAAAAAAOAAAiELAQsAABoAAAAIAAAAAAAAbjkAAAAgAAAAQAAAAAAAEAAgAAAAAgAABAAAAAAAAAAEAAAAAAAAAACAAAAAAgAAp54AAAMAYIUAABAAABAAAAAAEAAAEAAAAAAAABAAAAAAAAAAAAAAABg5AABTAAAAAEAAAFAFAAAAAAAAAAAAAAAkAADIPgAAAGAAAAwAAADgNwAAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAACAAAAAAAAAAAAAAACCAAAEgAAAAAAAAAAAAAAC50ZXh0AAAAdBkAAAAgAAAAGgAAAAIAAAAAAAAAAAAAAAAAACAAAGAucnNyYwAAAFAFAAAAQAAAAAYAAAAcAAAAAAAAAAAAAAAAAABAAABALnJlbG9jAAAMAAAAAGAAAAACAAAAIgAAAAAAAAAAAAAAAAAAQAAAQgAAAAAAAAAAAAAAAAAAAABQOQAAAAAAAEgAAAACAAUAjCIAAFQVAAAJAAAAAAAAAAAAAAAAAAAAUCAAAIA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AAMAAwADAANAA4ADAAMAAwADAAMAA5ADQAMAAwADAAMAAwADAAMAA2ADAAMgAwADAAMAAwADAAMAAyADQAMAAwADAAMAA1ADIANQAzADQAMQAzADEAMAAwADAANAAwADAAMAAwADAAMQAwADAAMAAxADAAMABiADUAZgBjADkAMABlADcAMAAyADcAZgA2ADcAOAA3ADEAZQA3ADcAMwBhADgAZgBkAGUAOAA5ADMAOABjADgAMQBkAGQANAAwADIAYgBhADYANQBiADkAMgAwADEAZAA2ADAANQA5ADMAZQA5ADYAYwA0ADkAMgA2ADUAMQBlADgAOAA5AGMAYwAxADMAZgAxADQAMQA1AGUAYgBiADUAMwBmAGEAYwAxADEAMwAxAGEAZQAwAGIAZAAzADMAMwBjADUAZQBlADYAMAAyADEANgA3ADIAZAA5ADcAMQA4AGUAYQAzADEAYQA4AGEAZQBiAGQAMABkAGEAMAAwADcAMgBmADIANQBkADgANwBkAGIAYQA2AGYAYwA5ADAAZgBmAGQANQA5ADgAZQBkADQAZABhADMANQBlADQANABjADMAOQA4AGMANAA1ADQAMwAwADcAZQA4AGUAMwAzAGIAOAA0ADIANgAxADQAMwBkAGEAZQBjADkAZgA1ADkANgA4ADMANgBmADkANwBjADgAZgA3ADQANwA1ADAAZQA1ADkANwA1AGMANgA0AGUAMgAxADgAOQBmADQANQBkAGUAZgA0ADYAYgAyAGEAMgBiADEAMgA0ADcAYQBkAGMAMwA2ADUAMgBiAGYANQBjADMAMAA4ADAANQA1AGQAYQA5AIKYLAAgAFAAdQBiAGwAaQBjAEsAZQB5AD0AMAAwADIANAAwADAAMAAwADAANAA4ADAAMAAwADAAMAA5ADQAMAAwADAAMAAwADAAMAA2ADAAMgAwADAAMAAwADAAMAAyADQAMAAwADAAMAA1ADIANQAzADQAMQAzADEAMAAwADAANAAwADAAMAAwADAAMQAwADAAMAAxADAAMAAxADkANwBjADIANQBkADAAYQAwADQAZgA3ADMAYwBiADIANwAxAGUAOAAxADgAMQBkAGIAYQAxAGMAMABjADcAMQAzAG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ghkgBZQMEAgEFAKCCATIwGgYJKoZIhvcNAQkDMQ0GCyqGSIb3DQEJEAEEMC8GCSqGSIb3DQEJBDEiBCAJGlRM3ftyVHE4qmqAIdrZvGHJ144P0WB0/496rKHb2jCB4gYLKoZIhvcNAQkQAgwxgdIwgc8wgcwwgbEEFDlwJYsUyHndXwxd6Yucs5SZ9xy3MIGYMIGApH4wfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIwMTACEzMAAACsiiG8etKbcvQAAAAAAKwwFgQUUczj7EpO2/cMcOabxlRsdeOeNRowDQYJKoZIhvcNAQELBQAEggEAFMIrbCodie3zQbZaU8i3emRH3VBH3VSIE0lZuM1URrPNAr8mZXYZDZXydk0Zx7FAsSbErCDE3vgWONm8RCuQJVahK9NdnQVE126c7248jG6nGd8SwI5QSxFB5lqtOH/OKLfRpfNW8mvmKBF5G3SaGS883fQ2DcByE8C5Beg9+QVyYjCcJAZKkp3zriqqmP0reddKz+EUu5kk5vV4cF72y/BzFJ5GucTJQNJ87jcL+Ky5GCIvpoSyYQTVPGQdvGqSozprMraG8rIDfB+cNFZTTpBEBgt2Ya86msRhWbeot4BrtKlKOap+l56VCVecyxygT0GYhUfwdJPdqaeDSVffXg==\",\r\n \"contentType\": \"application/octet-stream\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "6260caef-c783-4aa0-961a-6ed88663467a" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "33895" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:04 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:1f4b9281-d701-4d52-af88-ad3b17f4f50f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1190" + ], + "x-ms-correlation-request-id": [ + "ab6174f7-ddd6-4f32-b75d-a05ed3cb4369" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224804Z:ab6174f7-ddd6-4f32-b75d-a05ed3cb4369" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "846" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"assemblyName\": \"IntegrationAccountAssembly6670\",\r\n \"assemblyVersion\": \"0.0.0.0\",\r\n \"contentLink\": {\r\n \"uri\": \"https://prod-34.westus.logic.azure.com:443/integrationAccounts/79388d27cfb64faab5f3bcbf8682d816/assemblies/IntegrationAccountAssembly6670/contents/Value?api-version=2015-08-01-preview&se=2018-09-20T02%3A48%3A04.8491779Z&sp=%2Fassemblies%2FIntegrationAccountAssembly6670%2Fread&sv=1.0&sig=fZ9iBioZSVZpFUP19ogBC5vy5waY0H5WtjhC6jZMgWA\",\r\n \"contentSize\": 25288\r\n },\r\n \"createdTime\": \"2018-09-19T22:48:04.8534317Z\",\r\n \"changedTime\": \"2018-09-19T22:48:04.8534317Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3059/assemblies/IntegrationAccountAssembly6670\",\r\n \"name\": \"IntegrationAccountAssembly6670\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/assemblies\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3059/assemblies?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MzA1OS9hc3NlbWJsaWVzP2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "98782863-377f-4c4d-b868-f9a7f236fc0c" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:04 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:11f8036e-9d6f-47a6-8de7-6a216634c6c5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11993" + ], + "x-ms-correlation-request-id": [ + "5cea442b-bd89-4ca9-ac58-ba4de01bb0c7" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224805Z:5cea442b-bd89-4ca9-ac58-ba4de01bb0c7" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "2546" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"assemblyName\": \"IntegrationAccountAssembly216\",\r\n \"assemblyVersion\": \"0.0.0.0\",\r\n \"contentLink\": {\r\n \"uri\": \"https://prod-34.westus.logic.azure.com:443/integrationAccounts/79388d27cfb64faab5f3bcbf8682d816/assemblies/IntegrationAccountAssembly216/contents/Value?api-version=2015-08-01-preview&se=2018-09-20T02%3A48%3A05.0054307Z&sp=%2Fassemblies%2FIntegrationAccountAssembly216%2Fread&sv=1.0&sig=uaTMytbLM5VIcTHLZ7N61MKyBS3X7nvqL1aeI8lh988\",\r\n \"contentSize\": 25288\r\n },\r\n \"createdTime\": \"2018-09-19T22:48:04.4820955Z\",\r\n \"changedTime\": \"2018-09-19T22:48:04.482756Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3059/assemblies/IntegrationAccountAssembly216\",\r\n \"name\": \"IntegrationAccountAssembly216\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/assemblies\"\r\n },\r\n {\r\n \"properties\": {\r\n \"assemblyName\": \"IntegrationAccountAssembly6430\",\r\n \"assemblyVersion\": \"0.0.0.0\",\r\n \"contentLink\": {\r\n \"uri\": \"https://prod-34.westus.logic.azure.com:443/integrationAccounts/79388d27cfb64faab5f3bcbf8682d816/assemblies/IntegrationAccountAssembly6430/contents/Value?api-version=2015-08-01-preview&se=2018-09-20T02%3A48%3A05.0210336Z&sp=%2Fassemblies%2FIntegrationAccountAssembly6430%2Fread&sv=1.0&sig=R_7GgQDJzG3ajpgsMe9bCIONyjPndMUKFPXd2ako6cA\",\r\n \"contentSize\": 25288\r\n },\r\n \"createdTime\": \"2018-09-19T22:48:04.7465072Z\",\r\n \"changedTime\": \"2018-09-19T22:48:04.7467777Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3059/assemblies/IntegrationAccountAssembly6430\",\r\n \"name\": \"IntegrationAccountAssembly6430\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/assemblies\"\r\n },\r\n {\r\n \"properties\": {\r\n \"assemblyName\": \"IntegrationAccountAssembly6670\",\r\n \"assemblyVersion\": \"0.0.0.0\",\r\n \"contentLink\": {\r\n \"uri\": \"https://prod-34.westus.logic.azure.com:443/integrationAccounts/79388d27cfb64faab5f3bcbf8682d816/assemblies/IntegrationAccountAssembly6670/contents/Value?api-version=2015-08-01-preview&se=2018-09-20T02%3A48%3A05.0210336Z&sp=%2Fassemblies%2FIntegrationAccountAssembly6670%2Fread&sv=1.0&sig=c8_RR9OlBfMOdrJwk61bTMLJc70v3rkQcvT8XVZQJ1s\",\r\n \"contentSize\": 25288\r\n },\r\n \"createdTime\": \"2018-09-19T22:48:04.8534317Z\",\r\n \"changedTime\": \"2018-09-19T22:48:04.8543691Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3059/assemblies/IntegrationAccountAssembly6670\",\r\n \"name\": \"IntegrationAccountAssembly6670\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/assemblies\"\r\n }\r\n ]\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3059?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MzA1OT9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "867e4651-23a8-4821-a456-be250ea3119d" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:05 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:52959959-ff8d-45d7-849d-f3e13fe0ebb0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14996" + ], + "x-ms-correlation-request-id": [ + "437093d2-8c70-42bf-a475-583f1fbae2b4" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224805Z:437093d2-8c70-42bf-a475-583f1fbae2b4" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "IntegrationAccountAssemblies_List_OK": [ + "IntegrationAccount3059", + "IntegrationAccountAssembly216", + "IntegrationAccountAssembly6430", + "IntegrationAccountAssembly6670" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountBatchConfigurationsScenarioTests/IntegrationAccountBatchConfigurations_Create_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountBatchConfigurationsScenarioTests/IntegrationAccountBatchConfigurations_Create_OK.json new file mode 100644 index 0000000000000..f4a8f018cbff4 --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountBatchConfigurationsScenarioTests/IntegrationAccountBatchConfigurations_Create_OK.json @@ -0,0 +1,312 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "e015ab84-b5ef-43aa-ad3b-1b9f5ccb15e7" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:51:22 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-request-id": [ + "f05b2b63-9807-467b-a9f0-a68a23430d6c" + ], + "x-ms-correlation-request-id": [ + "f05b2b63-9807-467b-a9f0-a68a23430d6c" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225123Z:f05b2b63-9807-467b-a9f0-a68a23430d6c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "91e5988d-1600-4c0e-8ebb-f3d0396151d0" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:51:23 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19998" + ], + "x-ms-request-id": [ + "9a66c928-4a39-46c6-8595-abfa4244d66a" + ], + "x-ms-correlation-request-id": [ + "9a66c928-4a39-46c6-8595-abfa4244d66a" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225123Z:9a66c928-4a39-46c6-8595-abfa4244d66a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount100?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTAwP2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "f1107127-23e1-4171-a8b6-35d4e77b95ac" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:51:23 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:7bbd4a31-2bdf-4e3d-b962-1c2216c7ded4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "04d5dcf7-dada-4ff4-a836-4f530cd73d7f" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225124Z:04d5dcf7-dada-4ff4-a836-4f530cd73d7f" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "305" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount100\",\r\n \"name\": \"IntegrationAccount100\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount100/batchConfigurations/IABatchConfig1548?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTAwL2JhdGNoQ29uZmlndXJhdGlvbnMvSUFCYXRjaENvbmZpZzE1NDg/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"batchGroupName\": \"batchGroupName\",\r\n \"releaseCriteria\": {\r\n \"batchSize\": 10\r\n }\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "5b210ce4-f604-49f1-a666-f75357fc2242" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "150" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:51:24 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:25ecf3b4-bc1d-4042-9636-1d838f16b4ca" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "aa9b18f8-519d-4a5b-9448-d17356072d39" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225125Z:aa9b18f8-519d-4a5b-9448-d17356072d39" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "454" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"batchGroupName\": \"batchGroupName\",\r\n \"releaseCriteria\": {\r\n \"batchSize\": 10\r\n },\r\n \"createdTime\": \"2018-09-19T22:51:24.8728029Z\",\r\n \"changedTime\": \"2018-09-19T22:51:24.8890291Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount100/batchConfigurations/IABatchConfig1548\",\r\n \"name\": \"IABatchConfig1548\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/batchConfigurations\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount100?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTAwP2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "181395e9-4b90-441e-8f6c-97fa0dd08871" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:51:25 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:44c5a09f-3323-4161-9e8f-ba0e89a523b0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "3eab2c46-e681-4f92-aeda-b6564ae675cd" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225125Z:3eab2c46-e681-4f92-aeda-b6564ae675cd" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "IntegrationAccountBatchConfigurations_Create_OK": [ + "IntegrationAccount100", + "IABatchConfig1548" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountBatchConfigurationsScenarioTests/IntegrationAccountBatchConfigurations_DeleteWhenDeleteIntegrationAccount_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountBatchConfigurationsScenarioTests/IntegrationAccountBatchConfigurations_DeleteWhenDeleteIntegrationAccount_OK.json new file mode 100644 index 0000000000000..2bcbb07f217df --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountBatchConfigurationsScenarioTests/IntegrationAccountBatchConfigurations_DeleteWhenDeleteIntegrationAccount_OK.json @@ -0,0 +1,370 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "29d4c0b0-592d-4b49-b87c-4dbba4bcef3b" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:51:29 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-request-id": [ + "8a07f5ba-76fe-4f8f-919b-e6aec1531baf" + ], + "x-ms-correlation-request-id": [ + "8a07f5ba-76fe-4f8f-919b-e6aec1531baf" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225129Z:8a07f5ba-76fe-4f8f-919b-e6aec1531baf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "d9cf4afb-d4ff-4883-b789-e1f7fac9dcc8" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:51:29 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19996" + ], + "x-ms-request-id": [ + "81f49c16-6b7b-4b51-a5f5-55609b64e504" + ], + "x-ms-correlation-request-id": [ + "81f49c16-6b7b-4b51-a5f5-55609b64e504" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225129Z:81f49c16-6b7b-4b51-a5f5-55609b64e504" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7897?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50Nzg5Nz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "f3656f52-40ab-46b7-aa2b-c02db79e0ddc" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:51:29 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:e6bf0446-a9be-4f47-9710-06c360c63794" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1193" + ], + "x-ms-correlation-request-id": [ + "fc70625d-351e-4bb2-b54a-ef6fe1bab307" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225130Z:fc70625d-351e-4bb2-b54a-ef6fe1bab307" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "307" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7897\",\r\n \"name\": \"IntegrationAccount7897\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7897/batchConfigurations/IABatchConfig4776?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50Nzg5Ny9iYXRjaENvbmZpZ3VyYXRpb25zL0lBQmF0Y2hDb25maWc0Nzc2P2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"batchGroupName\": \"batchGroupName\",\r\n \"releaseCriteria\": {\r\n \"batchSize\": 10\r\n }\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "16f4215a-e1a2-43bd-90bf-a87b42125ef1" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "150" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:51:30 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:b016a23c-5e5f-4a57-9119-17c86354014f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1192" + ], + "x-ms-correlation-request-id": [ + "89104e0c-730f-4c62-8d8a-cf6d53111117" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225130Z:89104e0c-730f-4c62-8d8a-cf6d53111117" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "455" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"batchGroupName\": \"batchGroupName\",\r\n \"releaseCriteria\": {\r\n \"batchSize\": 10\r\n },\r\n \"createdTime\": \"2018-09-19T22:51:30.8488338Z\",\r\n \"changedTime\": \"2018-09-19T22:51:30.8741018Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7897/batchConfigurations/IABatchConfig4776\",\r\n \"name\": \"IABatchConfig4776\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/batchConfigurations\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7897?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50Nzg5Nz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "b5b273ab-7752-46cf-b74a-8d6e7fcd7dfa" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:51:31 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:86b40778-19e4-45f5-a129-48d8cb3dd4a1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14997" + ], + "x-ms-correlation-request-id": [ + "7821b57f-9e63-4d59-b215-ccff799aa4a5" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225131Z:7821b57f-9e63-4d59-b215-ccff799aa4a5" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7897/batchConfigurations/IABatchConfig4776?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50Nzg5Ny9iYXRjaENvbmZpZ3VyYXRpb25zL0lBQmF0Y2hDb25maWc0Nzc2P2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "489724e0-1384-414d-9624-09749380b2ec" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:51:31 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "e270e409-f17a-4a47-97fb-b43ac0bd78e1" + ], + "x-ms-correlation-request-id": [ + "e270e409-f17a-4a47-97fb-b43ac0bd78e1" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225131Z:e270e409-f17a-4a47-97fb-b43ac0bd78e1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "168" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Logic/integrationAccounts/IntegrationAccount7897' under resource group 'flowrg' was not found.\"\r\n }\r\n}", + "StatusCode": 404 + } + ], + "Names": { + "IntegrationAccountBatchConfigurations_DeleteWhenDeleteIntegrationAccount_OK": [ + "IntegrationAccount7897", + "IABatchConfig4776" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountScenarioTests/ListIntegrationAccountCallbackUrl.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountBatchConfigurationsScenarioTests/IntegrationAccountBatchConfigurations_Delete_OK.json similarity index 51% rename from src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountScenarioTests/ListIntegrationAccountCallbackUrl.json rename to src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountBatchConfigurationsScenarioTests/IntegrationAccountBatchConfigurations_Delete_OK.json index 8a9170520a74a..74a979a8a1f5d 100644 --- a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountScenarioTests/ListIntegrationAccountCallbackUrl.json +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountBatchConfigurationsScenarioTests/IntegrationAccountBatchConfigurations_Delete_OK.json @@ -1,447 +1,422 @@ { "Entries": [ { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3396?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MzM5Nj9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "91" - ], "x-ms-client-request-id": [ - "bbdd935b-a40e-43e1-bb15-37b342fd093b" + "462f1b4f-6804-4b38-8370-5bf0aaee020d" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ] }, - "ResponseBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3396\",\r\n \"name\": \"IntegrationAccount3396\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", "ResponseHeaders": { - "Content-Length": [ - "290" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:46 GMT" + "Wed, 19 Sep 2018 22:51:33 GMT" ], "Pragma": [ "no-cache" ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11993" + ], "x-ms-request-id": [ - "westus:22530e86-875a-45f1-9e4c-915b5acad13a" + "13f17c77-e9d6-4f3f-89e9-1fd3a4f297cd" + ], + "x-ms-correlation-request-id": [ + "13f17c77-e9d6-4f3f-89e9-1fd3a4f297cd" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225134Z:13f17c77-e9d6-4f3f-89e9-1fd3a4f297cd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" + "X-Content-Type-Options": [ + "nosniff" ], - "x-ms-correlation-request-id": [ - "c5cd9c1d-b110-40f6-ae87-196db4607ae0" + "Content-Length": [ + "12" ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215747Z:c5cd9c1d-b110-40f6-ae87-196db4607ae0" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 201 + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3396/listCallbackUrl?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MzM5Ni9saXN0Q2FsbGJhY2tVcmw/YXBpLXZlcnNpb249MjAxNi0wNi0wMQ==", - "RequestMethod": "POST", - "RequestBody": "{}", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "2" - ], "x-ms-client-request-id": [ - "e2e50d95-8d11-4fca-b6ea-c4d1b2b2c1d3" + "f59f7130-cb9c-4207-8822-6fe9830708cd" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": \"https://prod-02.westus.logic.azure.com:443/integrationAccounts/1163c1aec3df452f8156123d4dea6acf?api-version=2015-08-01-preview&sp=%2F%2F%2A&sv=1.0&sig=OM1sWv75OViE4HgBgFR699Vc8KHSWRK1DWHmcnh2MWY\",\r\n \"basePath\": \"https://prod-02.westus.logic.azure.com/integrationAccounts/1163c1aec3df452f8156123d4dea6acf\",\r\n \"queries\": {\r\n \"api-version\": \"2015-08-01-preview\"\r\n }\r\n}", "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:46 GMT" + "Wed, 19 Sep 2018 22:51:33 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" - ], - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19994" ], "x-ms-request-id": [ - "westus:0321f1ce-2357-486a-a866-c737a4bed27b" + "ff12dde7-afe7-4c43-bf65-6e2f1e61bbca" + ], + "x-ms-correlation-request-id": [ + "ff12dde7-afe7-4c43-bf65-6e2f1e61bbca" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225134Z:ff12dde7-afe7-4c43-bf65-6e2f1e61bbca" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1197" + "X-Content-Type-Options": [ + "nosniff" ], - "x-ms-correlation-request-id": [ - "20d9dec1-7b34-493d-aed3-074ff4fa8be0" + "Content-Length": [ + "12" ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215747Z:20d9dec1-7b34-493d-aed3-074ff4fa8be0" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "{\r\n \"value\": []\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3396/listCallbackUrl?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MzM5Ni9saXN0Q2FsbGJhY2tVcmw/YXBpLXZlcnNpb249MjAxNi0wNi0wMQ==", - "RequestMethod": "POST", - "RequestBody": "{}", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2328?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MjMyOD9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "2" - ], "x-ms-client-request-id": [ - "a41c13c8-38db-4536-abce-383795a29be9" + "d781fedf-1efd-4ef7-9ac8-7bb535e1ee65" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"value\": \"https://prod-02.westus.logic.azure.com:443/integrationAccounts/1163c1aec3df452f8156123d4dea6acf?api-version=2015-08-01-preview&sp=%2F%2F%2A&sv=1.0&sig=OM1sWv75OViE4HgBgFR699Vc8KHSWRK1DWHmcnh2MWY\",\r\n \"basePath\": \"https://prod-02.westus.logic.azure.com/integrationAccounts/1163c1aec3df452f8156123d4dea6acf\",\r\n \"queries\": {\r\n \"api-version\": \"2015-08-01-preview\"\r\n }\r\n}", - "ResponseHeaders": { + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:46 GMT" + "Wed, 19 Sep 2018 22:51:34 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" - ], - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], "x-ms-request-id": [ - "westus:51731047-1d26-4a6b-b81d-28f17fbcf379" + "westus:bfb14d99-857d-4403-b719-ea51d61fc562" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1196" + "1194" ], "x-ms-correlation-request-id": [ - "b936d86a-b433-4bb9-9569-8ecf128c088a" + "24339d79-fb56-4b9e-840a-d1a44cb10320" ], "x-ms-routing-request-id": [ - "WESTUS2:20170301T215747Z:b936d86a-b433-4bb9-9569-8ecf128c088a" + "WESTUS2:20180919T225134Z:24339d79-fb56-4b9e-840a-d1a44cb10320" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "307" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 200 + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2328\",\r\n \"name\": \"IntegrationAccount2328\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3396/listCallbackUrl?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MzM5Ni9saXN0Q2FsbGJhY2tVcmw/YXBpLXZlcnNpb249MjAxNi0wNi0wMQ==", - "RequestMethod": "POST", - "RequestBody": "{\r\n \"notAfter\": \"2017-03-11T08:00:00Z\",\r\n \"keyType\": \"Primary\"\r\n}", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2328/batchConfigurations/IABatchConfig5810?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MjMyOC9iYXRjaENvbmZpZ3VyYXRpb25zL0lBQmF0Y2hDb25maWc1ODEwP2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"batchGroupName\": \"batchGroupName\",\r\n \"releaseCriteria\": {\r\n \"batchSize\": 10\r\n }\r\n },\r\n \"location\": \"westus\"\r\n}", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "67" - ], "x-ms-client-request-id": [ - "cef27347-b3cc-4eee-9050-793198b840ad" + "0c2f7dc9-b630-43bc-9ec9-a66e71a0960e" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"value\": \"https://prod-02.westus.logic.azure.com:443/integrationAccounts/1163c1aec3df452f8156123d4dea6acf?api-version=2015-08-01-preview&se=2017-03-11T08%3A00%3A00.0000000Z&sp=%2F%2F%2A&sv=1.0&sig=iBnPxqFtGAHNld0zOqiOKZpUP2Z-XJ4Pq_ofKtiQjwM\",\r\n \"basePath\": \"https://prod-02.westus.logic.azure.com/integrationAccounts/1163c1aec3df452f8156123d4dea6acf\",\r\n \"queries\": {\r\n \"api-version\": \"2015-08-01-preview\"\r\n }\r\n}", - "ResponseHeaders": { + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ], + "Content-Length": [ + "150" + ] + }, + "ResponseHeaders": { "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:47 GMT" + "Wed, 19 Sep 2018 22:51:34 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" - ], - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], "x-ms-request-id": [ - "westus:679420d6-4baf-43c1-89ed-6435cfb15018" + "westus:c0f20cae-3c30-4603-ad7e-b6225cdf5998" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1195" + "1193" ], "x-ms-correlation-request-id": [ - "c9efaf60-4414-49fc-a754-72e07440b6f5" + "023495b0-9355-49ba-855a-40d5cc667e8d" ], "x-ms-routing-request-id": [ - "WESTUS2:20170301T215747Z:c9efaf60-4414-49fc-a754-72e07440b6f5" + "WESTUS2:20180919T225135Z:023495b0-9355-49ba-855a-40d5cc667e8d" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "455" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 200 + "ResponseBody": "{\r\n \"properties\": {\r\n \"batchGroupName\": \"batchGroupName\",\r\n \"releaseCriteria\": {\r\n \"batchSize\": 10\r\n },\r\n \"createdTime\": \"2018-09-19T22:51:35.1287769Z\",\r\n \"changedTime\": \"2018-09-19T22:51:35.1412423Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2328/batchConfigurations/IABatchConfig5810\",\r\n \"name\": \"IABatchConfig5810\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/batchConfigurations\"\r\n}", + "StatusCode": 201 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3396/listCallbackUrl?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MzM5Ni9saXN0Q2FsbGJhY2tVcmw/YXBpLXZlcnNpb249MjAxNi0wNi0wMQ==", - "RequestMethod": "POST", - "RequestBody": "{\r\n \"keyType\": \"Primary\"\r\n}", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2328/batchConfigurations/IABatchConfig5810?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MjMyOC9iYXRjaENvbmZpZ3VyYXRpb25zL0lBQmF0Y2hDb25maWc1ODEwP2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", + "RequestMethod": "DELETE", + "RequestBody": "", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "28" - ], "x-ms-client-request-id": [ - "46dc2426-48a7-430e-90ed-965c1b8f34e9" + "d1526016-0902-46ad-9914-30b2515e2e08" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": \"https://prod-02.westus.logic.azure.com:443/integrationAccounts/1163c1aec3df452f8156123d4dea6acf?api-version=2015-08-01-preview&sp=%2F%2F%2A&sv=1.0&sig=OM1sWv75OViE4HgBgFR699Vc8KHSWRK1DWHmcnh2MWY\",\r\n \"basePath\": \"https://prod-02.westus.logic.azure.com/integrationAccounts/1163c1aec3df452f8156123d4dea6acf\",\r\n \"queries\": {\r\n \"api-version\": \"2015-08-01-preview\"\r\n }\r\n}", "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:47 GMT" + "Wed, 19 Sep 2018 22:51:34 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" - ], - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], "x-ms-request-id": [ - "westus:d56d0d1c-ee38-4c83-8ebd-f6a87f60b4ee" + "westus:896d1a1d-965e-477c-a8b6-035a85bbd54b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1194" + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14994" ], "x-ms-correlation-request-id": [ - "5d9cefd8-f87e-48cb-a1ee-5e1aa5c9e4bd" + "029f7cfc-483e-42be-a404-077e92b38030" ], "x-ms-routing-request-id": [ - "WESTUS2:20170301T215747Z:5d9cefd8-f87e-48cb-a1ee-5e1aa5c9e4bd" + "WESTUS2:20180919T225135Z:029f7cfc-483e-42be-a404-077e92b38030" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3396/listCallbackUrl?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MzM5Ni9saXN0Q2FsbGJhY2tVcmw/YXBpLXZlcnNpb249MjAxNi0wNi0wMQ==", - "RequestMethod": "POST", - "RequestBody": "{\r\n \"notAfter\": \"2017-03-11T08:00:00Z\"\r\n}", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2328/batchConfigurations/IABatchConfig5810?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MjMyOC9iYXRjaENvbmZpZ3VyYXRpb25zL0lBQmF0Y2hDb25maWc1ODEwP2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "42" - ], "x-ms-client-request-id": [ - "1cb4e725-0bad-42eb-8269-09028c75e513" + "c2d9195a-7561-4f74-9cb7-777a873ed1de" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": \"https://prod-02.westus.logic.azure.com:443/integrationAccounts/1163c1aec3df452f8156123d4dea6acf?api-version=2015-08-01-preview&se=2017-03-11T08%3A00%3A00.0000000Z&sp=%2F%2F%2A&sv=1.0&sig=iBnPxqFtGAHNld0zOqiOKZpUP2Z-XJ4Pq_ofKtiQjwM\",\r\n \"basePath\": \"https://prod-02.westus.logic.azure.com/integrationAccounts/1163c1aec3df452f8156123d4dea6acf\",\r\n \"queries\": {\r\n \"api-version\": \"2015-08-01-preview\"\r\n }\r\n}", "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:47 GMT" + "Wed, 19 Sep 2018 22:51:34 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" - ], - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], "x-ms-request-id": [ - "westus:1bc7035e-8fc5-41a3-87a5-21be7a2b7062" + "westus:9f9eaa87-62fb-4102-b48d-da5673ebdb4a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1193" + "x-ms-ratelimit-remaining-subscription-reads": [ + "11992" ], "x-ms-correlation-request-id": [ - "ce236b3b-3b41-4d12-85b9-ccab0ceda38c" + "2ba85846-0f72-4ec7-b957-6dbf1561d46a" ], "x-ms-routing-request-id": [ - "WESTUS2:20170301T215747Z:ce236b3b-3b41-4d12-85b9-ccab0ceda38c" + "WESTUS2:20180919T225135Z:2ba85846-0f72-4ec7-b957-6dbf1561d46a" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "171" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 200 + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"BatchConfigurationNotFound\",\r\n \"message\": \"The batch configuration 'IABatchConfig5810' could not be found in integration account 'IntegrationAccount2328'.\"\r\n }\r\n}", + "StatusCode": 404 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3396?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MzM5Nj9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2328?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MjMyOD9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "dcdf3e3f-30fc-4452-90dd-91ff38640bec" + "b31ae26f-9d7b-4369-8da0-041b90069962" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ] }, - "ResponseBody": "", "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:47 GMT" + "Wed, 19 Sep 2018 22:51:35 GMT" ], "Pragma": [ "no-cache" ], "x-ms-request-id": [ - "westus:14a4e443-e26c-4561-84d0-b41d063cc425" + "westus:c421ca82-8181-478f-b923-f5d034a2e917" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1192" + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14993" ], "x-ms-correlation-request-id": [ - "a4cd9cf2-8376-4f69-986b-64616bd75efc" + "79f5d3b7-ef3f-4ad9-85db-26fa2ef91f32" ], "x-ms-routing-request-id": [ - "WESTUS2:20170301T215747Z:a4cd9cf2-8376-4f69-986b-64616bd75efc" + "WESTUS2:20180919T225136Z:79f5d3b7-ef3f-4ad9-85db-26fa2ef91f32" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "", "StatusCode": 200 } ], "Names": { - "ListIntegrationAccountCallbackUrl": [ - "IntegrationAccount3396" + "IntegrationAccountBatchConfigurations_Delete_OK": [ + "IntegrationAccount2328", + "IABatchConfig5810" ] }, "Variables": { diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountBatchConfigurationsScenarioTests/IntegrationAccountBatchConfigurations_Get_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountBatchConfigurationsScenarioTests/IntegrationAccountBatchConfigurations_Get_OK.json new file mode 100644 index 0000000000000..ef08eded1625d --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountBatchConfigurationsScenarioTests/IntegrationAccountBatchConfigurations_Get_OK.json @@ -0,0 +1,373 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "4f52af03-7fda-4548-8426-bfff5c31c6eb" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:51:37 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11993" + ], + "x-ms-request-id": [ + "e72ce353-7aa2-4295-8971-6c0308a8f385" + ], + "x-ms-correlation-request-id": [ + "e72ce353-7aa2-4295-8971-6c0308a8f385" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225138Z:e72ce353-7aa2-4295-8971-6c0308a8f385" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "eb22c0e1-db41-405e-a7e2-eba88b607e94" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:51:37 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19996" + ], + "x-ms-request-id": [ + "33841ce4-565c-450c-ab37-e02705085cf2" + ], + "x-ms-correlation-request-id": [ + "33841ce4-565c-450c-ab37-e02705085cf2" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225138Z:33841ce4-565c-450c-ab37-e02705085cf2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount6889?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50Njg4OT9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "2806e345-8292-4acc-8340-abc51d534cab" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:51:38 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:fd0b7928-8e2f-4b57-832a-1672a50e03d0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1193" + ], + "x-ms-correlation-request-id": [ + "498726e2-a7cb-430e-89a6-567d9bca2fc6" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225138Z:498726e2-a7cb-430e-89a6-567d9bca2fc6" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "307" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount6889\",\r\n \"name\": \"IntegrationAccount6889\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount6889/batchConfigurations/IABatchConfig8316?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50Njg4OS9iYXRjaENvbmZpZ3VyYXRpb25zL0lBQmF0Y2hDb25maWc4MzE2P2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"batchGroupName\": \"batchGroupName\",\r\n \"releaseCriteria\": {\r\n \"batchSize\": 10\r\n }\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "b8e8733c-cee8-4ad4-b5dc-93aff30cad1d" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "150" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:51:39 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:01162371-8ff6-4f12-a0df-861eef1fe82b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1192" + ], + "x-ms-correlation-request-id": [ + "883553d5-9721-4976-823e-7efa90ffa6a9" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225139Z:883553d5-9721-4976-823e-7efa90ffa6a9" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "455" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"batchGroupName\": \"batchGroupName\",\r\n \"releaseCriteria\": {\r\n \"batchSize\": 10\r\n },\r\n \"createdTime\": \"2018-09-19T22:51:39.3474569Z\",\r\n \"changedTime\": \"2018-09-19T22:51:39.3784077Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount6889/batchConfigurations/IABatchConfig8316\",\r\n \"name\": \"IABatchConfig8316\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/batchConfigurations\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount6889/batchConfigurations/IABatchConfig8316?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50Njg4OS9iYXRjaENvbmZpZ3VyYXRpb25zL0lBQmF0Y2hDb25maWc4MzE2P2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "4917f7ce-288c-4089-a61f-d6cde8101a40" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:51:39 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:1bd56812-59ee-4fee-8955-af8a8e033c88" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11992" + ], + "x-ms-correlation-request-id": [ + "72840009-7294-4c8d-803e-95706f8aaa39" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225139Z:72840009-7294-4c8d-803e-95706f8aaa39" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "455" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"batchGroupName\": \"batchGroupName\",\r\n \"releaseCriteria\": {\r\n \"batchSize\": 10\r\n },\r\n \"createdTime\": \"2018-09-19T22:51:39.3474569Z\",\r\n \"changedTime\": \"2018-09-19T22:51:39.3784077Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount6889/batchConfigurations/IABatchConfig8316\",\r\n \"name\": \"IABatchConfig8316\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/batchConfigurations\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount6889?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50Njg4OT9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "282b61b2-45c1-4c0e-9de7-f3c76ba99131" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:51:39 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:b9439fd8-d5e7-4d71-8b8c-339a1bc9c591" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14995" + ], + "x-ms-correlation-request-id": [ + "34304357-67ca-4e0d-a8c6-6a6954a8710e" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225140Z:34304357-67ca-4e0d-a8c6-6a6954a8710e" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "IntegrationAccountBatchConfigurations_Get_OK": [ + "IntegrationAccount6889", + "IABatchConfig8316" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountBatchConfigurationsScenarioTests/IntegrationAccountBatchConfigurations_List_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountBatchConfigurationsScenarioTests/IntegrationAccountBatchConfigurations_List_OK.json new file mode 100644 index 0000000000000..a1ebfdcfd3268 --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountBatchConfigurationsScenarioTests/IntegrationAccountBatchConfigurations_List_OK.json @@ -0,0 +1,503 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "c69b07aa-10c5-4a56-aff8-2d7829d22b16" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:51:16 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-request-id": [ + "f873440c-fbc8-45db-b728-7e4173050a51" + ], + "x-ms-correlation-request-id": [ + "f873440c-fbc8-45db-b728-7e4173050a51" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225117Z:f873440c-fbc8-45db-b728-7e4173050a51" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "675adc13-ffd0-4115-9220-66e9da623315" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:51:16 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19991" + ], + "x-ms-request-id": [ + "0afdc812-cd80-4a99-9bb3-142cffb5e2b3" + ], + "x-ms-correlation-request-id": [ + "0afdc812-cd80-4a99-9bb3-142cffb5e2b3" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225117Z:0afdc812-cd80-4a99-9bb3-142cffb5e2b3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3107?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MzEwNz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "a8243de7-299d-4618-89f9-4082c3650f41" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:51:17 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:250d0b6f-107a-4cb8-b57d-1164418c4353" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], + "x-ms-correlation-request-id": [ + "d8fb0cfa-546d-4c7f-9fe8-2aa8366c02a6" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225118Z:d8fb0cfa-546d-4c7f-9fe8-2aa8366c02a6" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "307" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3107\",\r\n \"name\": \"IntegrationAccount3107\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3107/batchConfigurations/IABatchConfig2377?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MzEwNy9iYXRjaENvbmZpZ3VyYXRpb25zL0lBQmF0Y2hDb25maWcyMzc3P2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"batchGroupName\": \"batchGroupName\",\r\n \"releaseCriteria\": {\r\n \"batchSize\": 10\r\n }\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "7b82a482-282f-4261-b137-f2115a96e34f" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "150" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:51:18 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:80680e2f-5439-4714-a4b6-2f91b6f5abba" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1193" + ], + "x-ms-correlation-request-id": [ + "6038d995-7ab0-4a51-9caa-4b830cdaf898" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225118Z:6038d995-7ab0-4a51-9caa-4b830cdaf898" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "455" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"batchGroupName\": \"batchGroupName\",\r\n \"releaseCriteria\": {\r\n \"batchSize\": 10\r\n },\r\n \"createdTime\": \"2018-09-19T22:51:18.4685232Z\",\r\n \"changedTime\": \"2018-09-19T22:51:18.6018375Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3107/batchConfigurations/IABatchConfig2377\",\r\n \"name\": \"IABatchConfig2377\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/batchConfigurations\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3107/batchConfigurations/IABatchConfig1475?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MzEwNy9iYXRjaENvbmZpZ3VyYXRpb25zL0lBQmF0Y2hDb25maWcxNDc1P2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"batchGroupName\": \"batchGroupName\",\r\n \"releaseCriteria\": {\r\n \"batchSize\": 10\r\n }\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "43756241-9b1c-4105-aeac-d068772ad1a9" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "150" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:51:18 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:cb446e00-08f7-4d3f-b1a4-184accc6c341" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1192" + ], + "x-ms-correlation-request-id": [ + "04a57631-dddc-416d-81de-d1202648378b" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225119Z:04a57631-dddc-416d-81de-d1202648378b" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "455" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"batchGroupName\": \"batchGroupName\",\r\n \"releaseCriteria\": {\r\n \"batchSize\": 10\r\n },\r\n \"createdTime\": \"2018-09-19T22:51:19.0971388Z\",\r\n \"changedTime\": \"2018-09-19T22:51:19.1967307Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3107/batchConfigurations/IABatchConfig1475\",\r\n \"name\": \"IABatchConfig1475\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/batchConfigurations\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3107/batchConfigurations/IABatchConfig4426?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MzEwNy9iYXRjaENvbmZpZ3VyYXRpb25zL0lBQmF0Y2hDb25maWc0NDI2P2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"batchGroupName\": \"batchGroupName\",\r\n \"releaseCriteria\": {\r\n \"batchSize\": 10\r\n }\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "da25e313-fb04-4d49-adbe-e72a97bfc7f4" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "150" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:51:18 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:9ed8b660-5116-4cbc-8c76-b206b1d2f164" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1191" + ], + "x-ms-correlation-request-id": [ + "4adb4e50-03b7-4969-9574-5f4ca56a87a4" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225119Z:4adb4e50-03b7-4969-9574-5f4ca56a87a4" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "455" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"batchGroupName\": \"batchGroupName\",\r\n \"releaseCriteria\": {\r\n \"batchSize\": 10\r\n },\r\n \"createdTime\": \"2018-09-19T22:51:19.3707369Z\",\r\n \"changedTime\": \"2018-09-19T22:51:19.4183672Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3107/batchConfigurations/IABatchConfig4426\",\r\n \"name\": \"IABatchConfig4426\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/batchConfigurations\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3107/batchConfigurations?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MzEwNy9iYXRjaENvbmZpZ3VyYXRpb25zP2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "2f64cca4-a85d-49bf-9747-b7ba07869025" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:51:18 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:99a75175-336c-457e-b994-0a07efdab52a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-correlation-request-id": [ + "f95a235b-8c67-454b-9fa9-2db84e606fbe" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225119Z:f95a235b-8c67-454b-9fa9-2db84e606fbe" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "1379" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"batchGroupName\": \"batchGroupName\",\r\n \"releaseCriteria\": {\r\n \"batchSize\": 10\r\n },\r\n \"createdTime\": \"2018-09-19T22:51:19.0971388Z\",\r\n \"changedTime\": \"2018-09-19T22:51:19.1967307Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3107/batchConfigurations/IABatchConfig1475\",\r\n \"name\": \"IABatchConfig1475\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/batchConfigurations\"\r\n },\r\n {\r\n \"properties\": {\r\n \"batchGroupName\": \"batchGroupName\",\r\n \"releaseCriteria\": {\r\n \"batchSize\": 10\r\n },\r\n \"createdTime\": \"2018-09-19T22:51:18.4685232Z\",\r\n \"changedTime\": \"2018-09-19T22:51:18.6018375Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3107/batchConfigurations/IABatchConfig2377\",\r\n \"name\": \"IABatchConfig2377\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/batchConfigurations\"\r\n },\r\n {\r\n \"properties\": {\r\n \"batchGroupName\": \"batchGroupName\",\r\n \"releaseCriteria\": {\r\n \"batchSize\": 10\r\n },\r\n \"createdTime\": \"2018-09-19T22:51:19.3707369Z\",\r\n \"changedTime\": \"2018-09-19T22:51:19.4183672Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3107/batchConfigurations/IABatchConfig4426\",\r\n \"name\": \"IABatchConfig4426\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/batchConfigurations\"\r\n }\r\n ]\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3107?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MzEwNz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "df42c2e7-eade-4bd4-b2ca-7bc80a1c4f4f" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:51:19 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:9f6837a7-f496-41c9-9683-aa6f6608a3e1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14997" + ], + "x-ms-correlation-request-id": [ + "3a65896f-fed8-426a-9014-24e17104782b" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225120Z:3a65896f-fed8-426a-9014-24e17104782b" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "IntegrationAccountBatchConfigurations_List_OK": [ + "IntegrationAccount3107", + "IABatchConfig2377", + "IABatchConfig1475", + "IABatchConfig4426" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountCertificateScenarioTests/CreateAndDeleteIntegrationAccountCertificate.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountCertificateScenarioTests/CreateAndDeleteIntegrationAccountCertificate.json deleted file mode 100644 index 730f0b7c7cf7c..0000000000000 --- a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountCertificateScenarioTests/CreateAndDeleteIntegrationAccountCertificate.json +++ /dev/null @@ -1,241 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4960?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NDk2MD9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "91" - ], - "x-ms-client-request-id": [ - "0f646afc-ea22-4e93-b083-aeac0c03e08e" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4960\",\r\n \"name\": \"IntegrationAccount4960\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "290" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:57:39 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:096f30c2-f8c2-4744-af06-6e96b59b1cf0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1196" - ], - "x-ms-correlation-request-id": [ - "89698452-7405-47a3-aca6-0b425fd67c18" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215740Z:89698452-7405-47a3-aca6-0b425fd67c18" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4960/certificates/IntegrationAccountCertificate9352?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NDk2MC9jZXJ0aWZpY2F0ZXMvSW50ZWdyYXRpb25BY2NvdW50Q2VydGlmaWNhdGU5MzUyP2FwaS12ZXJzaW9uPTIwMTYtMDYtMDE=", - "RequestMethod": "PUT", - //[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")] - "RequestBody": "{\r\n \"properties\": {\r\n \"key\": {\r\n \"keyVault\": {\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourcegroups/flowrg/providers/microsoft.keyvault/vaults/AzureSdkTestKeyVault\"\r\n },\r\n \"keyName\": \"PRIVATEKEY\",\r\n \"keyVersion\": \"87d9764197604449b9b8eb7bd8710868\"\r\n },\r\n \"publicCertificate\": \"MIICETCCAXqgAwIBAgIQdUqkudmAXbJILn+rDmyOlzANBgkqhkiG9w0BAQQFADAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwHhcNMTYwMzMwMjExMTQ5WhcNMzkxMjMxMjM1OTU5WjAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMY+zUpOLPysqXEVW+EVaf6RNHTPh/Vb6/YK68AgDyowtDzoY2HO1VzDZrZau//FR8VcZkyc5xAkD3shqQK6mFOoQs0DMjAWBGGRze44kSU1eRba+Uk2Gbaa9HUY4RJ3ocKan4NekrN/O7qbBfobyBw91aKvGfwHUzCs0kVZNek3AgMBAAGjUjBQME4GA1UdAQRHMEWAEG34ZgwE5HRjrifRifoSvC2hHzAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnSCEHVKpLnZgF2ySC5/qw5sjpcwDQYJKoZIhvcNAQEEBQADgYEAUvVqnoCP2aHmI+9lJhaG2LDYdKEUs+POpFawQZABT4kkykKpxmfxzG3aEcA0eZ67MZ7gaJTuVo8wlGjv37cVODsRxeeo4XvcdcepYxnFUEgIkRaCDF0KKzu5jdSYaMshp16i4XlR4dl2mRhW/6H19FyjhCa6dEoIUxcDCrfrl80=\"\r\n },\r\n \"location\": \"brazilsouth\"\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "1088" - ], - "x-ms-client-request-id": [ - "0e3c252c-550f-47ea-8350-2689c3a6d7a0" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - //[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")] - "ResponseBody": "{\r\n \"properties\": {\r\n \"key\": {\r\n \"keyVault\": {\r\n \"name\": \"AzureSdkTestKeyVault\",\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourcegroups/flowrg/providers/microsoft.keyvault/vaults/AzureSdkTestKeyVault\",\r\n \"type\": \"Microsoft.KeyVault/vaults\"\r\n },\r\n \"keyName\": \"PRIVATEKEY\",\r\n \"keyVersion\": \"87d9764197604449b9b8eb7bd8710868\"\r\n },\r\n \"publicCertificate\": \"MIICETCCAXqgAwIBAgIQdUqkudmAXbJILn+rDmyOlzANBgkqhkiG9w0BAQQFADAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwHhcNMTYwMzMwMjExMTQ5WhcNMzkxMjMxMjM1OTU5WjAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMY+zUpOLPysqXEVW+EVaf6RNHTPh/Vb6/YK68AgDyowtDzoY2HO1VzDZrZau//FR8VcZkyc5xAkD3shqQK6mFOoQs0DMjAWBGGRze44kSU1eRba+Uk2Gbaa9HUY4RJ3ocKan4NekrN/O7qbBfobyBw91aKvGfwHUzCs0kVZNek3AgMBAAGjUjBQME4GA1UdAQRHMEWAEG34ZgwE5HRjrifRifoSvC2hHzAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnSCEHVKpLnZgF2ySC5/qw5sjpcwDQYJKoZIhvcNAQEEBQADgYEAUvVqnoCP2aHmI+9lJhaG2LDYdKEUs+POpFawQZABT4kkykKpxmfxzG3aEcA0eZ67MZ7gaJTuVo8wlGjv37cVODsRxeeo4XvcdcepYxnFUEgIkRaCDF0KKzu5jdSYaMshp16i4XlR4dl2mRhW/6H19FyjhCa6dEoIUxcDCrfrl80=\",\r\n \"createdTime\": \"2017-03-01T21:57:40.7372974Z\",\r\n \"changedTime\": \"2017-03-01T21:57:40.7379025Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4960/certificates/IntegrationAccountCertificate9352\",\r\n \"name\": \"IntegrationAccountCertificate9352\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/certificates\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "1434" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:57:39 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:e00a62fc-722a-470c-8965-0bea665bc2ba" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1195" - ], - "x-ms-correlation-request-id": [ - "d29881ab-0fa9-48dd-ac76-f6300e4c820c" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215740Z:d29881ab-0fa9-48dd-ac76-f6300e4c820c" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4960/certificates/IntegrationAccountCertificate9352?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NDk2MC9jZXJ0aWZpY2F0ZXMvSW50ZWdyYXRpb25BY2NvdW50Q2VydGlmaWNhdGU5MzUyP2FwaS12ZXJzaW9uPTIwMTYtMDYtMDE=", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "943bc6c0-2750-492e-a888-16ec067a11b8" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:57:40 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:8944de0d-a79f-4d46-ae73-3178fe3f1926" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1194" - ], - "x-ms-correlation-request-id": [ - "f0d4dc20-19d2-4ba7-9847-009f831230f5" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215740Z:f0d4dc20-19d2-4ba7-9847-009f831230f5" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4960?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NDk2MD9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "5855db2d-fde9-4433-9cef-10f39324b073" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:57:40 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:1063b35a-9849-4412-88cd-333141a655eb" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1193" - ], - "x-ms-correlation-request-id": [ - "9b5aa0c2-2699-400a-a8d3-52da41048c48" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215741Z:9b5aa0c2-2699-400a-a8d3-52da41048c48" - ] - }, - "StatusCode": 200 - } - ], - "Names": { - "CreateAndDeleteIntegrationAccountCertificate": [ - "IntegrationAccount4960", - "IntegrationAccountCertificate9352" - ] - }, - "Variables": { - "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" - } -} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountCertificateScenarioTests/CreateIntegrationAccountCertificateWithPrivateKey.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountCertificateScenarioTests/IntegrationAccountCertificates_CreateWithPrivateKey_OK.json similarity index 53% rename from src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountCertificateScenarioTests/CreateIntegrationAccountCertificateWithPrivateKey.json rename to src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountCertificateScenarioTests/IntegrationAccountCertificates_CreateWithPrivateKey_OK.json index be03705d86d24..d6c12780d87a2 100644 --- a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountCertificateScenarioTests/CreateIntegrationAccountCertificateWithPrivateKey.json +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountCertificateScenarioTests/IntegrationAccountCertificates_CreateWithPrivateKey_OK.json @@ -1,238 +1,309 @@ { "Entries": [ { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1854?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTg1ND9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "91" - ], "x-ms-client-request-id": [ - "6b59b20d-3ed2-4192-bd91-c03a60d37e22" + "dde872e2-e1b0-45dd-b3fa-1629fbb73c86" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ] }, - "ResponseBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1854\",\r\n \"name\": \"IntegrationAccount1854\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:52:03 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "x-ms-request-id": [ + "9041de7f-099b-41f2-ab94-bc0b881fbafe" + ], + "x-ms-correlation-request-id": [ + "9041de7f-099b-41f2-ab94-bc0b881fbafe" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225204Z:9041de7f-099b-41f2-ab94-bc0b881fbafe" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], "Content-Length": [ - "290" + "12" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "65a3bbf2-085f-403e-bacc-198f26d0c92f" + ], + "accept-language": [ + "en-US" ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:42 GMT" + "Wed, 19 Sep 2018 22:52:03 GMT" ], "Pragma": [ "no-cache" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19998" + ], "x-ms-request-id": [ - "westus:d495098f-6d79-45a2-a9c0-297b96d4645b" + "3bae3d1b-7382-461e-8633-024b68b21186" + ], + "x-ms-correlation-request-id": [ + "3bae3d1b-7382-461e-8633-024b68b21186" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225204Z:3bae3d1b-7382-461e-8633-024b68b21186" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1199" + "X-Content-Type-Options": [ + "nosniff" ], - "x-ms-correlation-request-id": [ - "b7a7ca63-b548-4783-a18d-4f593daa54cf" + "Content-Length": [ + "12" ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215743Z:b7a7ca63-b548-4783-a18d-4f593daa54cf" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 201 + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1854/certificates/IntegrationAccountCertificate3099?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTg1NC9jZXJ0aWZpY2F0ZXMvSW50ZWdyYXRpb25BY2NvdW50Q2VydGlmaWNhdGUzMDk5P2FwaS12ZXJzaW9uPTIwMTYtMDYtMDE=", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5813?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NTgxMz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", "RequestMethod": "PUT", - //[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")] - "RequestBody": "{\r\n \"properties\": {\r\n \"key\": {\r\n \"keyVault\": {\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourcegroups/flowrg/providers/microsoft.keyvault/vaults/AzureSdkTestKeyVault\"\r\n },\r\n \"keyName\": \"PRIVATEKEY\",\r\n \"keyVersion\": \"87d9764197604449b9b8eb7bd8710868\"\r\n }\r\n },\r\n \"location\": \"brazilsouth\"\r\n}", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "346" - ], "x-ms-client-request-id": [ - "63424568-b823-4235-b2e3-f4cc296e6748" + "802d9947-4dd0-41be-8e95-ec1eebb58d8d" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - //[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")] - "ResponseBody": "{\r\n \"properties\": {\r\n \"key\": {\r\n \"keyVault\": {\r\n \"name\": \"AzureSdkTestKeyVault\",\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourcegroups/flowrg/providers/microsoft.keyvault/vaults/AzureSdkTestKeyVault\",\r\n \"type\": \"Microsoft.KeyVault/vaults\"\r\n },\r\n \"keyName\": \"PRIVATEKEY\",\r\n \"keyVersion\": \"87d9764197604449b9b8eb7bd8710868\"\r\n },\r\n \"createdTime\": \"2017-03-01T21:57:43.7046679Z\",\r\n \"changedTime\": \"2017-03-01T21:57:43.7053686Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1854/certificates/IntegrationAccountCertificate3099\",\r\n \"name\": \"IntegrationAccountCertificate3099\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/certificates\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "699" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:43 GMT" + "Wed, 19 Sep 2018 22:52:04 GMT" ], "Pragma": [ "no-cache" ], "x-ms-request-id": [ - "westus:b8ced6d1-6ae6-45b3-b744-83cd91f9cee2" + "westus:15e7dc69-2197-4838-a6d1-e5b06c997bc3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" + "1197" ], "x-ms-correlation-request-id": [ - "fb63834d-9727-4657-b94b-2a9f5e57a471" + "ccc08237-5198-41f7-931c-2c521f301fb9" ], "x-ms-routing-request-id": [ - "WESTUS2:20170301T215743Z:fb63834d-9727-4657-b94b-2a9f5e57a471" + "WESTUS2:20180919T225205Z:ccc08237-5198-41f7-931c-2c521f301fb9" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "307" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5813\",\r\n \"name\": \"IntegrationAccount5813\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", "StatusCode": 201 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1854/certificates/IntegrationAccountCertificate3099?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTg1NC9jZXJ0aWZpY2F0ZXMvSW50ZWdyYXRpb25BY2NvdW50Q2VydGlmaWNhdGUzMDk5P2FwaS12ZXJzaW9uPTIwMTYtMDYtMDE=", - "RequestMethod": "DELETE", - "RequestBody": "", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5813/certificates/IntegrationAccountCertificate8484?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NTgxMy9jZXJ0aWZpY2F0ZXMvSW50ZWdyYXRpb25BY2NvdW50Q2VydGlmaWNhdGU4NDg0P2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"key\": {\r\n \"keyVault\": {\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourcegroups/flowrg/providers/microsoft.keyvault/vaults/AzureSdkTestKeyVault\"\r\n },\r\n \"keyName\": \"PRIVATEKEY\",\r\n \"keyVersion\": \"87d9764197604449b9b8eb7bd8710868\"\r\n }\r\n },\r\n \"location\": \"westus\"\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "d77095ba-7e64-4af5-9dd3-5603ba4fa401" + "228fcccd-b9d3-4562-b9d9-6eef899efd1b" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "341" ] }, - "ResponseBody": "", "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:43 GMT" + "Wed, 19 Sep 2018 22:52:05 GMT" ], "Pragma": [ "no-cache" ], "x-ms-request-id": [ - "westus:6b98d570-70ff-4d5d-b7e5-28ffd966993e" + "westus:22be37d6-078c-4036-92e7-36908085674e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1197" + "1196" ], "x-ms-correlation-request-id": [ - "73302a96-5989-4003-9924-a9d423fb8f11" + "328c9c04-e387-4fa4-af78-43692043f71a" ], "x-ms-routing-request-id": [ - "WESTUS2:20170301T215743Z:73302a96-5989-4003-9924-a9d423fb8f11" + "WESTUS2:20180919T225206Z:328c9c04-e387-4fa4-af78-43692043f71a" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "699" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 200 + "ResponseBody": "{\r\n \"properties\": {\r\n \"key\": {\r\n \"keyVault\": {\r\n \"name\": \"AzureSdkTestKeyVault\",\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourcegroups/flowrg/providers/microsoft.keyvault/vaults/AzureSdkTestKeyVault\",\r\n \"type\": \"Microsoft.KeyVault/vaults\"\r\n },\r\n \"keyName\": \"PRIVATEKEY\",\r\n \"keyVersion\": \"87d9764197604449b9b8eb7bd8710868\"\r\n },\r\n \"createdTime\": \"2018-09-19T22:52:06.0429105Z\",\r\n \"changedTime\": \"2018-09-19T22:52:06.0431391Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5813/certificates/IntegrationAccountCertificate8484\",\r\n \"name\": \"IntegrationAccountCertificate8484\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/certificates\"\r\n}", + "StatusCode": 201 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1854?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTg1ND9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5813?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NTgxMz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "4eb3ca50-b8a1-4828-89f5-1d90150e6349" + "e959a028-abdc-4bc5-93b2-f2bb19145ce4" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ] }, - "ResponseBody": "", "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:43 GMT" + "Wed, 19 Sep 2018 22:52:05 GMT" ], "Pragma": [ "no-cache" ], "x-ms-request-id": [ - "westus:ad123123-6f98-4cc8-90db-ae868951ba3e" + "westus:ce555443-79c4-40ff-a02e-d2d885ac54c3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1196" + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14998" ], "x-ms-correlation-request-id": [ - "6ae5b3d4-c4ad-4c4b-bb42-052234a820fd" + "7005b4de-0c9d-4f3e-af4e-7283f9b0f9af" ], "x-ms-routing-request-id": [ - "WESTUS2:20170301T215744Z:6ae5b3d4-c4ad-4c4b-bb42-052234a820fd" + "WESTUS2:20180919T225206Z:7005b4de-0c9d-4f3e-af4e-7283f9b0f9af" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "", "StatusCode": 200 } ], "Names": { - "CreateIntegrationAccountCertificateWithPrivateKey": [ - "IntegrationAccount1854", - "IntegrationAccountCertificate3099" + "IntegrationAccountCertificates_CreateWithPrivateKey_OK": [ + "IntegrationAccount5813", + "IntegrationAccountCertificate8484" ] }, "Variables": { diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountCertificateScenarioTests/CreateIntegrationAccountCertificateWithPublicKey.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountCertificateScenarioTests/IntegrationAccountCertificates_CreateWithPublicKey_OK.json similarity index 55% rename from src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountCertificateScenarioTests/CreateIntegrationAccountCertificateWithPublicKey.json rename to src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountCertificateScenarioTests/IntegrationAccountCertificates_CreateWithPublicKey_OK.json index 9df846271e6d4..e7bf457e19998 100644 --- a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountCertificateScenarioTests/CreateIntegrationAccountCertificateWithPublicKey.json +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountCertificateScenarioTests/IntegrationAccountCertificates_CreateWithPublicKey_OK.json @@ -1,238 +1,309 @@ { "Entries": [ { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1871?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTg3MT9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "91" - ], "x-ms-client-request-id": [ - "f4b9fc7b-2d2a-4327-92f1-500aa212823e" + "d387e9b3-8815-4e7b-8253-91fc3d701948" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ] }, - "ResponseBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1871\",\r\n \"name\": \"IntegrationAccount1871\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:51:47 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11991" + ], + "x-ms-request-id": [ + "8395dbb8-76fa-487e-bb94-73052d7399ce" + ], + "x-ms-correlation-request-id": [ + "8395dbb8-76fa-487e-bb94-73052d7399ce" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225147Z:8395dbb8-76fa-487e-bb94-73052d7399ce" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], "Content-Length": [ - "290" + "12" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "89c1508e-3109-40aa-92a6-a6c7228cc2b5" ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:26 GMT" + "Wed, 19 Sep 2018 22:51:47 GMT" ], "Pragma": [ "no-cache" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19991" + ], "x-ms-request-id": [ - "westus:e9e0c9ab-0351-4633-82fb-d8d61ba62429" + "52f06226-35a4-465b-9a81-e20aaec28794" + ], + "x-ms-correlation-request-id": [ + "52f06226-35a4-465b-9a81-e20aaec28794" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225147Z:52f06226-35a4-465b-9a81-e20aaec28794" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1191" + "X-Content-Type-Options": [ + "nosniff" ], - "x-ms-correlation-request-id": [ - "8a016d17-dd83-4500-b8fc-d692b1ceeeab" + "Content-Length": [ + "12" ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215726Z:8a016d17-dd83-4500-b8fc-d692b1ceeeab" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 201 + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1871/certificates/IntegrationAccountCertificate1271?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTg3MS9jZXJ0aWZpY2F0ZXMvSW50ZWdyYXRpb25BY2NvdW50Q2VydGlmaWNhdGUxMjcxP2FwaS12ZXJzaW9uPTIwMTYtMDYtMDE=", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4868?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NDg2OD9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", "RequestMethod": "PUT", - //[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")] - "RequestBody": "{\r\n \"properties\": {\r\n \"publicCertificate\": \"MIICETCCAXqgAwIBAgIQdUqkudmAXbJILn+rDmyOlzANBgkqhkiG9w0BAQQFADAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwHhcNMTYwMzMwMjExMTQ5WhcNMzkxMjMxMjM1OTU5WjAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMY+zUpOLPysqXEVW+EVaf6RNHTPh/Vb6/YK68AgDyowtDzoY2HO1VzDZrZau//FR8VcZkyc5xAkD3shqQK6mFOoQs0DMjAWBGGRze44kSU1eRba+Uk2Gbaa9HUY4RJ3ocKan4NekrN/O7qbBfobyBw91aKvGfwHUzCs0kVZNek3AgMBAAGjUjBQME4GA1UdAQRHMEWAEG34ZgwE5HRjrifRifoSvC2hHzAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnSCEHVKpLnZgF2ySC5/qw5sjpcwDQYJKoZIhvcNAQEEBQADgYEAUvVqnoCP2aHmI+9lJhaG2LDYdKEUs+POpFawQZABT4kkykKpxmfxzG3aEcA0eZ67MZ7gaJTuVo8wlGjv37cVODsRxeeo4XvcdcepYxnFUEgIkRaCDF0KKzu5jdSYaMshp16i4XlR4dl2mRhW/6H19FyjhCa6dEoIUxcDCrfrl80=\"\r\n },\r\n \"location\": \"brazilsouth\"\r\n}", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "799" - ], "x-ms-client-request-id": [ - "429366ff-8990-4e62-a7f8-44478e5e6186" + "1edf5917-773b-4100-aa1f-549bd0dfecf3" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - //[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")] - "ResponseBody": "{\r\n \"properties\": {\r\n \"publicCertificate\": \"MIICETCCAXqgAwIBAgIQdUqkudmAXbJILn+rDmyOlzANBgkqhkiG9w0BAQQFADAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwHhcNMTYwMzMwMjExMTQ5WhcNMzkxMjMxMjM1OTU5WjAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMY+zUpOLPysqXEVW+EVaf6RNHTPh/Vb6/YK68AgDyowtDzoY2HO1VzDZrZau//FR8VcZkyc5xAkD3shqQK6mFOoQs0DMjAWBGGRze44kSU1eRba+Uk2Gbaa9HUY4RJ3ocKan4NekrN/O7qbBfobyBw91aKvGfwHUzCs0kVZNek3AgMBAAGjUjBQME4GA1UdAQRHMEWAEG34ZgwE5HRjrifRifoSvC2hHzAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnSCEHVKpLnZgF2ySC5/qw5sjpcwDQYJKoZIhvcNAQEEBQADgYEAUvVqnoCP2aHmI+9lJhaG2LDYdKEUs+POpFawQZABT4kkykKpxmfxzG3aEcA0eZ67MZ7gaJTuVo8wlGjv37cVODsRxeeo4XvcdcepYxnFUEgIkRaCDF0KKzu5jdSYaMshp16i4XlR4dl2mRhW/6H19FyjhCa6dEoIUxcDCrfrl80=\",\r\n \"createdTime\": \"2017-03-01T21:57:26.6833864Z\",\r\n \"changedTime\": \"2017-03-01T21:57:26.683582Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1871/certificates/IntegrationAccountCertificate1271\",\r\n \"name\": \"IntegrationAccountCertificate1271\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/certificates\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "1138" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:26 GMT" + "Wed, 19 Sep 2018 22:51:47 GMT" ], "Pragma": [ "no-cache" ], "x-ms-request-id": [ - "westus:f53ad484-1648-40b7-9d4d-dbeb38667268" + "westus:8f417192-3967-4422-b4ca-de6e2c8a7adb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1190" + "1187" ], "x-ms-correlation-request-id": [ - "070d3097-81ea-4925-bb3e-f0201efb0945" + "51aaceff-b007-4561-9466-3dd60b26e991" ], "x-ms-routing-request-id": [ - "WESTUS2:20170301T215726Z:070d3097-81ea-4925-bb3e-f0201efb0945" + "WESTUS2:20180919T225148Z:51aaceff-b007-4561-9466-3dd60b26e991" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "307" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4868\",\r\n \"name\": \"IntegrationAccount4868\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", "StatusCode": 201 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1871/certificates/IntegrationAccountCertificate1271?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTg3MS9jZXJ0aWZpY2F0ZXMvSW50ZWdyYXRpb25BY2NvdW50Q2VydGlmaWNhdGUxMjcxP2FwaS12ZXJzaW9uPTIwMTYtMDYtMDE=", - "RequestMethod": "DELETE", - "RequestBody": "", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4868/certificates/IntegrationAccountCertificate2309?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NDg2OC9jZXJ0aWZpY2F0ZXMvSW50ZWdyYXRpb25BY2NvdW50Q2VydGlmaWNhdGUyMzA5P2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"publicCertificate\": \"MIICETCCAXqgAwIBAgIQdUqkudmAXbJILn+rDmyOlzANBgkqhkiG9w0BAQQFADAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwHhcNMTYwMzMwMjExMTQ5WhcNMzkxMjMxMjM1OTU5WjAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMY+zUpOLPysqXEVW+EVaf6RNHTPh/Vb6/YK68AgDyowtDzoY2HO1VzDZrZau//FR8VcZkyc5xAkD3shqQK6mFOoQs0DMjAWBGGRze44kSU1eRba+Uk2Gbaa9HUY4RJ3ocKan4NekrN/O7qbBfobyBw91aKvGfwHUzCs0kVZNek3AgMBAAGjUjBQME4GA1UdAQRHMEWAEG34ZgwE5HRjrifRifoSvC2hHzAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnSCEHVKpLnZgF2ySC5/qw5sjpcwDQYJKoZIhvcNAQEEBQADgYEAUvVqnoCP2aHmI+9lJhaG2LDYdKEUs+POpFawQZABT4kkykKpxmfxzG3aEcA0eZ67MZ7gaJTuVo8wlGjv37cVODsRxeeo4XvcdcepYxnFUEgIkRaCDF0KKzu5jdSYaMshp16i4XlR4dl2mRhW/6H19FyjhCa6dEoIUxcDCrfrl80=\"\r\n },\r\n \"location\": \"westus\"\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "de09e850-22fa-4be7-b9a9-aca45c7b0fdc" + "30e802bb-104b-4e06-b46d-b7ab70e3c8a6" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "794" ] }, - "ResponseBody": "", "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:26 GMT" + "Wed, 19 Sep 2018 22:51:48 GMT" ], "Pragma": [ "no-cache" ], "x-ms-request-id": [ - "westus:314c604e-edb0-48c4-af2f-ec804d14afd3" + "westus:de7fb460-e118-4a56-8593-085097acc48d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1189" + "1186" ], "x-ms-correlation-request-id": [ - "7dbf00c3-0723-4b2e-b3d3-293fb2c190d0" + "afd59306-3147-4b28-893b-f3242444e69f" ], "x-ms-routing-request-id": [ - "WESTUS2:20170301T215726Z:7dbf00c3-0723-4b2e-b3d3-293fb2c190d0" + "WESTUS2:20180919T225148Z:afd59306-3147-4b28-893b-f3242444e69f" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "1139" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 200 + "ResponseBody": "{\r\n \"properties\": {\r\n \"publicCertificate\": \"MIICETCCAXqgAwIBAgIQdUqkudmAXbJILn+rDmyOlzANBgkqhkiG9w0BAQQFADAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwHhcNMTYwMzMwMjExMTQ5WhcNMzkxMjMxMjM1OTU5WjAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMY+zUpOLPysqXEVW+EVaf6RNHTPh/Vb6/YK68AgDyowtDzoY2HO1VzDZrZau//FR8VcZkyc5xAkD3shqQK6mFOoQs0DMjAWBGGRze44kSU1eRba+Uk2Gbaa9HUY4RJ3ocKan4NekrN/O7qbBfobyBw91aKvGfwHUzCs0kVZNek3AgMBAAGjUjBQME4GA1UdAQRHMEWAEG34ZgwE5HRjrifRifoSvC2hHzAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnSCEHVKpLnZgF2ySC5/qw5sjpcwDQYJKoZIhvcNAQEEBQADgYEAUvVqnoCP2aHmI+9lJhaG2LDYdKEUs+POpFawQZABT4kkykKpxmfxzG3aEcA0eZ67MZ7gaJTuVo8wlGjv37cVODsRxeeo4XvcdcepYxnFUEgIkRaCDF0KKzu5jdSYaMshp16i4XlR4dl2mRhW/6H19FyjhCa6dEoIUxcDCrfrl80=\",\r\n \"createdTime\": \"2018-09-19T22:51:48.6926433Z\",\r\n \"changedTime\": \"2018-09-19T22:51:48.6935258Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4868/certificates/IntegrationAccountCertificate2309\",\r\n \"name\": \"IntegrationAccountCertificate2309\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/certificates\"\r\n}", + "StatusCode": 201 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1871?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTg3MT9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4868?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NDg2OD9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "2761f16f-25a9-427c-a10e-4e6aa8f4df59" + "b49a6f22-a5cc-460d-9b5c-981d3d566421" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ] }, - "ResponseBody": "", "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:26 GMT" + "Wed, 19 Sep 2018 22:51:48 GMT" ], "Pragma": [ "no-cache" ], "x-ms-request-id": [ - "westus:176fc1d5-a3cd-4b7a-809c-5addc58845b6" + "westus:938e9538-2787-47d3-9442-00a8eca8e21b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1188" + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14993" ], "x-ms-correlation-request-id": [ - "b8fe04c9-faea-49f8-a7a1-cb6b9efe1881" + "183dcafc-754d-46c9-91d3-96a3d6910bc3" ], "x-ms-routing-request-id": [ - "WESTUS2:20170301T215727Z:b8fe04c9-faea-49f8-a7a1-cb6b9efe1881" + "WESTUS2:20180919T225149Z:183dcafc-754d-46c9-91d3-96a3d6910bc3" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "", "StatusCode": 200 } ], "Names": { - "CreateIntegrationAccountCertificateWithPublicKey": [ - "IntegrationAccount1871", - "IntegrationAccountCertificate1271" + "IntegrationAccountCertificates_CreateWithPublicKey_OK": [ + "IntegrationAccount4868", + "IntegrationAccountCertificate2309" ] }, "Variables": { diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountCertificateScenarioTests/CreateAndGetIntegrationAccountCertificate.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountCertificateScenarioTests/IntegrationAccountCertificates_Create_OK.json similarity index 60% rename from src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountCertificateScenarioTests/CreateAndGetIntegrationAccountCertificate.json rename to src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountCertificateScenarioTests/IntegrationAccountCertificates_Create_OK.json index 4c2ce38d021a3..8fe4563bebd3c 100644 --- a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountCertificateScenarioTests/CreateAndGetIntegrationAccountCertificate.json +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountCertificateScenarioTests/IntegrationAccountCertificates_Create_OK.json @@ -1,246 +1,309 @@ { "Entries": [ { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8629?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50ODYyOT9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "91" - ], "x-ms-client-request-id": [ - "6baf5bbc-0e46-424b-a927-ceea3c943b3c" + "d875a307-f1ad-476c-82cc-13a32e155632" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ] }, - "ResponseBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8629\",\r\n \"name\": \"IntegrationAccount8629\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:52:00 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-request-id": [ + "54ae652d-eaee-42f1-9519-882003adbc44" + ], + "x-ms-correlation-request-id": [ + "54ae652d-eaee-42f1-9519-882003adbc44" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225200Z:54ae652d-eaee-42f1-9519-882003adbc44" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], "Content-Length": [ - "290" + "12" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "b5478458-1f31-467a-bf10-abcbcc18ae44" ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:27 GMT" + "Wed, 19 Sep 2018 22:52:00 GMT" ], "Pragma": [ "no-cache" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19996" + ], "x-ms-request-id": [ - "westus:e19757cd-1cfe-4cc5-b064-0e7aa73045b1" + "7d9c29ea-4b38-4bc6-929c-cc01f8698b1b" + ], + "x-ms-correlation-request-id": [ + "7d9c29ea-4b38-4bc6-929c-cc01f8698b1b" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225200Z:7d9c29ea-4b38-4bc6-929c-cc01f8698b1b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1186" + "X-Content-Type-Options": [ + "nosniff" ], - "x-ms-correlation-request-id": [ - "2b5eab27-02d3-467d-9437-c9785ab8a9a2" + "Content-Length": [ + "12" ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215728Z:2b5eab27-02d3-467d-9437-c9785ab8a9a2" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 201 + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8629/certificates/IntegrationAccountCertificate4793?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50ODYyOS9jZXJ0aWZpY2F0ZXMvSW50ZWdyYXRpb25BY2NvdW50Q2VydGlmaWNhdGU0NzkzP2FwaS12ZXJzaW9uPTIwMTYtMDYtMDE=", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount862?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50ODYyP2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", "RequestMethod": "PUT", - //[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")] - "RequestBody": "{\r\n \"properties\": {\r\n \"key\": {\r\n \"keyVault\": {\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourcegroups/flowrg/providers/microsoft.keyvault/vaults/AzureSdkTestKeyVault\"\r\n },\r\n \"keyName\": \"PRIVATEKEY\",\r\n \"keyVersion\": \"87d9764197604449b9b8eb7bd8710868\"\r\n },\r\n \"publicCertificate\": \"MIICETCCAXqgAwIBAgIQdUqkudmAXbJILn+rDmyOlzANBgkqhkiG9w0BAQQFADAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwHhcNMTYwMzMwMjExMTQ5WhcNMzkxMjMxMjM1OTU5WjAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMY+zUpOLPysqXEVW+EVaf6RNHTPh/Vb6/YK68AgDyowtDzoY2HO1VzDZrZau//FR8VcZkyc5xAkD3shqQK6mFOoQs0DMjAWBGGRze44kSU1eRba+Uk2Gbaa9HUY4RJ3ocKan4NekrN/O7qbBfobyBw91aKvGfwHUzCs0kVZNek3AgMBAAGjUjBQME4GA1UdAQRHMEWAEG34ZgwE5HRjrifRifoSvC2hHzAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnSCEHVKpLnZgF2ySC5/qw5sjpcwDQYJKoZIhvcNAQEEBQADgYEAUvVqnoCP2aHmI+9lJhaG2LDYdKEUs+POpFawQZABT4kkykKpxmfxzG3aEcA0eZ67MZ7gaJTuVo8wlGjv37cVODsRxeeo4XvcdcepYxnFUEgIkRaCDF0KKzu5jdSYaMshp16i4XlR4dl2mRhW/6H19FyjhCa6dEoIUxcDCrfrl80=\"\r\n },\r\n \"location\": \"brazilsouth\"\r\n}", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "1088" - ], "x-ms-client-request-id": [ - "b80f9203-bbbf-4274-acc0-0dcc4c6a07b3" + "da8f2b5e-8840-4357-b624-5706eae156b7" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - //[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")] - "ResponseBody": "{\r\n \"properties\": {\r\n \"key\": {\r\n \"keyVault\": {\r\n \"name\": \"AzureSdkTestKeyVault\",\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourcegroups/flowrg/providers/microsoft.keyvault/vaults/AzureSdkTestKeyVault\",\r\n \"type\": \"Microsoft.KeyVault/vaults\"\r\n },\r\n \"keyName\": \"PRIVATEKEY\",\r\n \"keyVersion\": \"87d9764197604449b9b8eb7bd8710868\"\r\n },\r\n \"publicCertificate\": \"MIICETCCAXqgAwIBAgIQdUqkudmAXbJILn+rDmyOlzANBgkqhkiG9w0BAQQFADAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwHhcNMTYwMzMwMjExMTQ5WhcNMzkxMjMxMjM1OTU5WjAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMY+zUpOLPysqXEVW+EVaf6RNHTPh/Vb6/YK68AgDyowtDzoY2HO1VzDZrZau//FR8VcZkyc5xAkD3shqQK6mFOoQs0DMjAWBGGRze44kSU1eRba+Uk2Gbaa9HUY4RJ3ocKan4NekrN/O7qbBfobyBw91aKvGfwHUzCs0kVZNek3AgMBAAGjUjBQME4GA1UdAQRHMEWAEG34ZgwE5HRjrifRifoSvC2hHzAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnSCEHVKpLnZgF2ySC5/qw5sjpcwDQYJKoZIhvcNAQEEBQADgYEAUvVqnoCP2aHmI+9lJhaG2LDYdKEUs+POpFawQZABT4kkykKpxmfxzG3aEcA0eZ67MZ7gaJTuVo8wlGjv37cVODsRxeeo4XvcdcepYxnFUEgIkRaCDF0KKzu5jdSYaMshp16i4XlR4dl2mRhW/6H19FyjhCa6dEoIUxcDCrfrl80=\",\r\n \"createdTime\": \"2017-03-01T21:57:28.9498567Z\",\r\n \"changedTime\": \"2017-03-01T21:57:28.9500506Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8629/certificates/IntegrationAccountCertificate4793\",\r\n \"name\": \"IntegrationAccountCertificate4793\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/certificates\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "1434" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:28 GMT" + "Wed, 19 Sep 2018 22:52:01 GMT" ], "Pragma": [ "no-cache" ], "x-ms-request-id": [ - "westus:a752f910-e47b-43b0-98a7-f854acb853a4" + "westus:b1150905-1dc0-4a47-a463-def8104cb8de" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1185" + "1198" ], "x-ms-correlation-request-id": [ - "ae308c53-4467-4358-a5ab-42bebde64577" + "11f293de-d5b3-4a5e-a5ae-fe14e061e4d9" ], "x-ms-routing-request-id": [ - "WESTUS2:20170301T215728Z:ae308c53-4467-4358-a5ab-42bebde64577" + "WESTUS2:20180919T225201Z:11f293de-d5b3-4a5e-a5ae-fe14e061e4d9" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "305" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount862\",\r\n \"name\": \"IntegrationAccount862\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", "StatusCode": 201 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8629/certificates/IntegrationAccountCertificate4793?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50ODYyOS9jZXJ0aWZpY2F0ZXMvSW50ZWdyYXRpb25BY2NvdW50Q2VydGlmaWNhdGU0NzkzP2FwaS12ZXJzaW9uPTIwMTYtMDYtMDE=", - "RequestMethod": "GET", - "RequestBody": "", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount862/certificates/IntegrationAccountCertificate8955?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50ODYyL2NlcnRpZmljYXRlcy9JbnRlZ3JhdGlvbkFjY291bnRDZXJ0aWZpY2F0ZTg5NTU/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"key\": {\r\n \"keyVault\": {\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourcegroups/flowrg/providers/microsoft.keyvault/vaults/AzureSdkTestKeyVault\"\r\n },\r\n \"keyName\": \"PRIVATEKEY\",\r\n \"keyVersion\": \"87d9764197604449b9b8eb7bd8710868\"\r\n },\r\n \"publicCertificate\": \"MIICETCCAXqgAwIBAgIQdUqkudmAXbJILn+rDmyOlzANBgkqhkiG9w0BAQQFADAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwHhcNMTYwMzMwMjExMTQ5WhcNMzkxMjMxMjM1OTU5WjAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMY+zUpOLPysqXEVW+EVaf6RNHTPh/Vb6/YK68AgDyowtDzoY2HO1VzDZrZau//FR8VcZkyc5xAkD3shqQK6mFOoQs0DMjAWBGGRze44kSU1eRba+Uk2Gbaa9HUY4RJ3ocKan4NekrN/O7qbBfobyBw91aKvGfwHUzCs0kVZNek3AgMBAAGjUjBQME4GA1UdAQRHMEWAEG34ZgwE5HRjrifRifoSvC2hHzAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnSCEHVKpLnZgF2ySC5/qw5sjpcwDQYJKoZIhvcNAQEEBQADgYEAUvVqnoCP2aHmI+9lJhaG2LDYdKEUs+POpFawQZABT4kkykKpxmfxzG3aEcA0eZ67MZ7gaJTuVo8wlGjv37cVODsRxeeo4XvcdcepYxnFUEgIkRaCDF0KKzu5jdSYaMshp16i4XlR4dl2mRhW/6H19FyjhCa6dEoIUxcDCrfrl80=\"\r\n },\r\n \"location\": \"westus\"\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "d74fa1f4-7718-46d7-b427-05fcb9148e99" + "c370fcc3-8092-4bf2-ba3b-5c75db8345d2" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - //[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")] - "ResponseBody": "{\r\n \"properties\": {\r\n \"key\": {\r\n \"keyVault\": {\r\n \"name\": \"AzureSdkTestKeyVault\",\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourcegroups/flowrg/providers/microsoft.keyvault/vaults/AzureSdkTestKeyVault\",\r\n \"type\": \"Microsoft.KeyVault/vaults\"\r\n },\r\n \"keyName\": \"PRIVATEKEY\",\r\n \"keyVersion\": \"87d9764197604449b9b8eb7bd8710868\"\r\n },\r\n \"publicCertificate\": \"MIICETCCAXqgAwIBAgIQdUqkudmAXbJILn+rDmyOlzANBgkqhkiG9w0BAQQFADAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwHhcNMTYwMzMwMjExMTQ5WhcNMzkxMjMxMjM1OTU5WjAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMY+zUpOLPysqXEVW+EVaf6RNHTPh/Vb6/YK68AgDyowtDzoY2HO1VzDZrZau//FR8VcZkyc5xAkD3shqQK6mFOoQs0DMjAWBGGRze44kSU1eRba+Uk2Gbaa9HUY4RJ3ocKan4NekrN/O7qbBfobyBw91aKvGfwHUzCs0kVZNek3AgMBAAGjUjBQME4GA1UdAQRHMEWAEG34ZgwE5HRjrifRifoSvC2hHzAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnSCEHVKpLnZgF2ySC5/qw5sjpcwDQYJKoZIhvcNAQEEBQADgYEAUvVqnoCP2aHmI+9lJhaG2LDYdKEUs+POpFawQZABT4kkykKpxmfxzG3aEcA0eZ67MZ7gaJTuVo8wlGjv37cVODsRxeeo4XvcdcepYxnFUEgIkRaCDF0KKzu5jdSYaMshp16i4XlR4dl2mRhW/6H19FyjhCa6dEoIUxcDCrfrl80=\",\r\n \"createdTime\": \"2017-03-01T21:57:28.9498567Z\",\r\n \"changedTime\": \"2017-03-01T21:57:28.9500506Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8629/certificates/IntegrationAccountCertificate4793\",\r\n \"name\": \"IntegrationAccountCertificate4793\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/certificates\"\r\n}", - "ResponseHeaders": { + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ], + "Content-Length": [ + "1083" + ] + }, + "ResponseHeaders": { "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:28 GMT" + "Wed, 19 Sep 2018 22:52:02 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" - ], - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], "x-ms-request-id": [ - "westus:ceba4388-98fe-4c46-aaa8-959badf1e1f0" + "westus:1bc5d8bb-0349-45fe-9221-3a56a95f8a69" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14795" + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" ], "x-ms-correlation-request-id": [ - "c173fe56-d7fb-4778-a1dc-23040f1be56c" + "c9c3dc5e-2f1d-4a5a-a627-ff8912b77ae4" ], "x-ms-routing-request-id": [ - "WESTUS2:20170301T215729Z:c173fe56-d7fb-4778-a1dc-23040f1be56c" + "WESTUS2:20180919T225202Z:c9c3dc5e-2f1d-4a5a-a627-ff8912b77ae4" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "1433" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 200 + "ResponseBody": "{\r\n \"properties\": {\r\n \"key\": {\r\n \"keyVault\": {\r\n \"name\": \"AzureSdkTestKeyVault\",\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourcegroups/flowrg/providers/microsoft.keyvault/vaults/AzureSdkTestKeyVault\",\r\n \"type\": \"Microsoft.KeyVault/vaults\"\r\n },\r\n \"keyName\": \"PRIVATEKEY\",\r\n \"keyVersion\": \"87d9764197604449b9b8eb7bd8710868\"\r\n },\r\n \"publicCertificate\": \"MIICETCCAXqgAwIBAgIQdUqkudmAXbJILn+rDmyOlzANBgkqhkiG9w0BAQQFADAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwHhcNMTYwMzMwMjExMTQ5WhcNMzkxMjMxMjM1OTU5WjAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMY+zUpOLPysqXEVW+EVaf6RNHTPh/Vb6/YK68AgDyowtDzoY2HO1VzDZrZau//FR8VcZkyc5xAkD3shqQK6mFOoQs0DMjAWBGGRze44kSU1eRba+Uk2Gbaa9HUY4RJ3ocKan4NekrN/O7qbBfobyBw91aKvGfwHUzCs0kVZNek3AgMBAAGjUjBQME4GA1UdAQRHMEWAEG34ZgwE5HRjrifRifoSvC2hHzAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnSCEHVKpLnZgF2ySC5/qw5sjpcwDQYJKoZIhvcNAQEEBQADgYEAUvVqnoCP2aHmI+9lJhaG2LDYdKEUs+POpFawQZABT4kkykKpxmfxzG3aEcA0eZ67MZ7gaJTuVo8wlGjv37cVODsRxeeo4XvcdcepYxnFUEgIkRaCDF0KKzu5jdSYaMshp16i4XlR4dl2mRhW/6H19FyjhCa6dEoIUxcDCrfrl80=\",\r\n \"createdTime\": \"2018-09-19T22:52:02.0668116Z\",\r\n \"changedTime\": \"2018-09-19T22:52:02.0674367Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount862/certificates/IntegrationAccountCertificate8955\",\r\n \"name\": \"IntegrationAccountCertificate8955\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/certificates\"\r\n}", + "StatusCode": 201 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8629?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50ODYyOT9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount862?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50ODYyP2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "a6498cee-bf57-4592-8caf-0276f1a1c2c5" + "26145e13-7740-4c6e-9b61-1eb28f641d72" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ] }, - "ResponseBody": "", "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:28 GMT" + "Wed, 19 Sep 2018 22:52:02 GMT" ], "Pragma": [ "no-cache" ], "x-ms-request-id": [ - "westus:23268186-51ee-4a28-850a-837f2ac36c18" + "westus:232569f0-61a8-4f87-90bb-c3d38fe4d5a3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1184" + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14998" ], "x-ms-correlation-request-id": [ - "0b0d6042-14cb-421e-974a-287d1195005b" + "7aceb6a7-186c-451d-8639-97e800b82084" ], "x-ms-routing-request-id": [ - "WESTUS2:20170301T215729Z:0b0d6042-14cb-421e-974a-287d1195005b" + "WESTUS2:20180919T225202Z:7aceb6a7-186c-451d-8639-97e800b82084" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "", "StatusCode": 200 } ], "Names": { - "CreateAndGetIntegrationAccountCertificate": [ - "IntegrationAccount8629", - "IntegrationAccountCertificate4793" + "IntegrationAccountCertificates_Create_OK": [ + "IntegrationAccount862", + "IntegrationAccountCertificate8955" ] }, "Variables": { diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountCertificateScenarioTests/DeleteIntegrationAccountCertificateOnAccountDeletion.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountCertificateScenarioTests/IntegrationAccountCertificates_DeleteWhenDeleteIntegrationAccount_OK.json similarity index 52% rename from src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountCertificateScenarioTests/DeleteIntegrationAccountCertificateOnAccountDeletion.json rename to src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountCertificateScenarioTests/IntegrationAccountCertificates_DeleteWhenDeleteIntegrationAccount_OK.json index 973c277a310e1..9d6b203272a77 100644 --- a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountCertificateScenarioTests/DeleteIntegrationAccountCertificateOnAccountDeletion.json +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountCertificateScenarioTests/IntegrationAccountCertificates_DeleteWhenDeleteIntegrationAccount_OK.json @@ -1,214 +1,327 @@ { "Entries": [ { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7602?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NzYwMj9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "91" - ], "x-ms-client-request-id": [ - "826cdf12-a31a-4469-9e7b-5a785cc38418" + "fac41f34-1955-4d0e-a750-a504534d019e" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ] }, - "ResponseBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7602\",\r\n \"name\": \"IntegrationAccount7602\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:52:08 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-request-id": [ + "65a27f2d-9aca-464f-abe7-249313133bc5" + ], + "x-ms-correlation-request-id": [ + "65a27f2d-9aca-464f-abe7-249313133bc5" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225209Z:65a27f2d-9aca-464f-abe7-249313133bc5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], "Content-Length": [ - "290" + "12" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "de3a0860-664d-4683-8b2e-adbc88ef2423" ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:31 GMT" + "Wed, 19 Sep 2018 22:52:08 GMT" ], "Pragma": [ "no-cache" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19998" + ], "x-ms-request-id": [ - "westus:16ed32c3-56af-4fed-b940-10198565b55b" + "7e0fadc6-71d8-45eb-9919-829f72bc1d98" + ], + "x-ms-correlation-request-id": [ + "7e0fadc6-71d8-45eb-9919-829f72bc1d98" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225209Z:7e0fadc6-71d8-45eb-9919-829f72bc1d98" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1184" + "X-Content-Type-Options": [ + "nosniff" ], - "x-ms-correlation-request-id": [ - "481b9ed8-8828-4e8b-8857-c4e3d642efbb" + "Content-Length": [ + "12" ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215731Z:481b9ed8-8828-4e8b-8857-c4e3d642efbb" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 201 + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7602/certificates/IntegrationAccountCertificate4331?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NzYwMi9jZXJ0aWZpY2F0ZXMvSW50ZWdyYXRpb25BY2NvdW50Q2VydGlmaWNhdGU0MzMxP2FwaS12ZXJzaW9uPTIwMTYtMDYtMDE=", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1560?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTU2MD9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", "RequestMethod": "PUT", - //[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")] - "RequestBody": "{\r\n \"properties\": {\r\n \"key\": {\r\n \"keyVault\": {\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourcegroups/flowrg/providers/microsoft.keyvault/vaults/AzureSdkTestKeyVault\"\r\n },\r\n \"keyName\": \"PRIVATEKEY\",\r\n \"keyVersion\": \"87d9764197604449b9b8eb7bd8710868\"\r\n },\r\n \"publicCertificate\": \"MIICETCCAXqgAwIBAgIQdUqkudmAXbJILn+rDmyOlzANBgkqhkiG9w0BAQQFADAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwHhcNMTYwMzMwMjExMTQ5WhcNMzkxMjMxMjM1OTU5WjAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMY+zUpOLPysqXEVW+EVaf6RNHTPh/Vb6/YK68AgDyowtDzoY2HO1VzDZrZau//FR8VcZkyc5xAkD3shqQK6mFOoQs0DMjAWBGGRze44kSU1eRba+Uk2Gbaa9HUY4RJ3ocKan4NekrN/O7qbBfobyBw91aKvGfwHUzCs0kVZNek3AgMBAAGjUjBQME4GA1UdAQRHMEWAEG34ZgwE5HRjrifRifoSvC2hHzAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnSCEHVKpLnZgF2ySC5/qw5sjpcwDQYJKoZIhvcNAQEEBQADgYEAUvVqnoCP2aHmI+9lJhaG2LDYdKEUs+POpFawQZABT4kkykKpxmfxzG3aEcA0eZ67MZ7gaJTuVo8wlGjv37cVODsRxeeo4XvcdcepYxnFUEgIkRaCDF0KKzu5jdSYaMshp16i4XlR4dl2mRhW/6H19FyjhCa6dEoIUxcDCrfrl80=\"\r\n },\r\n \"location\": \"brazilsouth\"\r\n}", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "1088" - ], "x-ms-client-request-id": [ - "56a95595-de2e-4f90-a365-eb12c0e9e039" + "596f5964-d4df-4aae-8f74-900eba52adea" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "91" ] }, - //[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")] - "ResponseBody": "{\r\n \"properties\": {\r\n \"key\": {\r\n \"keyVault\": {\r\n \"name\": \"AzureSdkTestKeyVault\",\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourcegroups/flowrg/providers/microsoft.keyvault/vaults/AzureSdkTestKeyVault\",\r\n \"type\": \"Microsoft.KeyVault/vaults\"\r\n },\r\n \"keyName\": \"PRIVATEKEY\",\r\n \"keyVersion\": \"87d9764197604449b9b8eb7bd8710868\"\r\n },\r\n \"publicCertificate\": \"MIICETCCAXqgAwIBAgIQdUqkudmAXbJILn+rDmyOlzANBgkqhkiG9w0BAQQFADAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwHhcNMTYwMzMwMjExMTQ5WhcNMzkxMjMxMjM1OTU5WjAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMY+zUpOLPysqXEVW+EVaf6RNHTPh/Vb6/YK68AgDyowtDzoY2HO1VzDZrZau//FR8VcZkyc5xAkD3shqQK6mFOoQs0DMjAWBGGRze44kSU1eRba+Uk2Gbaa9HUY4RJ3ocKan4NekrN/O7qbBfobyBw91aKvGfwHUzCs0kVZNek3AgMBAAGjUjBQME4GA1UdAQRHMEWAEG34ZgwE5HRjrifRifoSvC2hHzAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnSCEHVKpLnZgF2ySC5/qw5sjpcwDQYJKoZIhvcNAQEEBQADgYEAUvVqnoCP2aHmI+9lJhaG2LDYdKEUs+POpFawQZABT4kkykKpxmfxzG3aEcA0eZ67MZ7gaJTuVo8wlGjv37cVODsRxeeo4XvcdcepYxnFUEgIkRaCDF0KKzu5jdSYaMshp16i4XlR4dl2mRhW/6H19FyjhCa6dEoIUxcDCrfrl80=\",\r\n \"createdTime\": \"2017-03-01T21:57:32.0419028Z\",\r\n \"changedTime\": \"2017-03-01T21:57:32.042166Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7602/certificates/IntegrationAccountCertificate4331\",\r\n \"name\": \"IntegrationAccountCertificate4331\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/certificates\"\r\n}", "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:52:09 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:0d1d47fc-3e83-47a5-b08a-7e278eecb3cb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-correlation-request-id": [ + "57d333e2-ef01-41b3-a7d9-0196f8262520" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225210Z:57d333e2-ef01-41b3-a7d9-0196f8262520" + ], + "X-Content-Type-Options": [ + "nosniff" + ], "Content-Length": [ - "1433" + "307" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1560\",\r\n \"name\": \"IntegrationAccount1560\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1560/certificates/IntegrationAccountCertificate8476?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTU2MC9jZXJ0aWZpY2F0ZXMvSW50ZWdyYXRpb25BY2NvdW50Q2VydGlmaWNhdGU4NDc2P2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"key\": {\r\n \"keyVault\": {\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourcegroups/flowrg/providers/microsoft.keyvault/vaults/AzureSdkTestKeyVault\"\r\n },\r\n \"keyName\": \"PRIVATEKEY\",\r\n \"keyVersion\": \"87d9764197604449b9b8eb7bd8710868\"\r\n },\r\n \"publicCertificate\": \"MIICETCCAXqgAwIBAgIQdUqkudmAXbJILn+rDmyOlzANBgkqhkiG9w0BAQQFADAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwHhcNMTYwMzMwMjExMTQ5WhcNMzkxMjMxMjM1OTU5WjAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMY+zUpOLPysqXEVW+EVaf6RNHTPh/Vb6/YK68AgDyowtDzoY2HO1VzDZrZau//FR8VcZkyc5xAkD3shqQK6mFOoQs0DMjAWBGGRze44kSU1eRba+Uk2Gbaa9HUY4RJ3ocKan4NekrN/O7qbBfobyBw91aKvGfwHUzCs0kVZNek3AgMBAAGjUjBQME4GA1UdAQRHMEWAEG34ZgwE5HRjrifRifoSvC2hHzAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnSCEHVKpLnZgF2ySC5/qw5sjpcwDQYJKoZIhvcNAQEEBQADgYEAUvVqnoCP2aHmI+9lJhaG2LDYdKEUs+POpFawQZABT4kkykKpxmfxzG3aEcA0eZ67MZ7gaJTuVo8wlGjv37cVODsRxeeo4XvcdcepYxnFUEgIkRaCDF0KKzu5jdSYaMshp16i4XlR4dl2mRhW/6H19FyjhCa6dEoIUxcDCrfrl80=\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "14a3dc21-f35c-4caf-8384-dda63cf260b9" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" ], + "Content-Length": [ + "1083" + ] + }, + "ResponseHeaders": { "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:32 GMT" + "Wed, 19 Sep 2018 22:52:09 GMT" ], "Pragma": [ "no-cache" ], "x-ms-request-id": [ - "westus:e56857ef-423a-4f1f-b257-2f330288108e" + "westus:677be3dd-46c0-464f-9b94-f5b5e4601b03" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1183" + "1194" ], "x-ms-correlation-request-id": [ - "111d9e5f-fee2-4dcc-9402-8ddbe817708c" + "043b0d14-1b42-4c65-8d69-a4c7a11a781a" ], "x-ms-routing-request-id": [ - "WESTUS2:20170301T215732Z:111d9e5f-fee2-4dcc-9402-8ddbe817708c" + "WESTUS2:20180919T225210Z:043b0d14-1b42-4c65-8d69-a4c7a11a781a" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "1434" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"key\": {\r\n \"keyVault\": {\r\n \"name\": \"AzureSdkTestKeyVault\",\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourcegroups/flowrg/providers/microsoft.keyvault/vaults/AzureSdkTestKeyVault\",\r\n \"type\": \"Microsoft.KeyVault/vaults\"\r\n },\r\n \"keyName\": \"PRIVATEKEY\",\r\n \"keyVersion\": \"87d9764197604449b9b8eb7bd8710868\"\r\n },\r\n \"publicCertificate\": \"MIICETCCAXqgAwIBAgIQdUqkudmAXbJILn+rDmyOlzANBgkqhkiG9w0BAQQFADAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwHhcNMTYwMzMwMjExMTQ5WhcNMzkxMjMxMjM1OTU5WjAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMY+zUpOLPysqXEVW+EVaf6RNHTPh/Vb6/YK68AgDyowtDzoY2HO1VzDZrZau//FR8VcZkyc5xAkD3shqQK6mFOoQs0DMjAWBGGRze44kSU1eRba+Uk2Gbaa9HUY4RJ3ocKan4NekrN/O7qbBfobyBw91aKvGfwHUzCs0kVZNek3AgMBAAGjUjBQME4GA1UdAQRHMEWAEG34ZgwE5HRjrifRifoSvC2hHzAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnSCEHVKpLnZgF2ySC5/qw5sjpcwDQYJKoZIhvcNAQEEBQADgYEAUvVqnoCP2aHmI+9lJhaG2LDYdKEUs+POpFawQZABT4kkykKpxmfxzG3aEcA0eZ67MZ7gaJTuVo8wlGjv37cVODsRxeeo4XvcdcepYxnFUEgIkRaCDF0KKzu5jdSYaMshp16i4XlR4dl2mRhW/6H19FyjhCa6dEoIUxcDCrfrl80=\",\r\n \"createdTime\": \"2018-09-19T22:52:10.5595649Z\",\r\n \"changedTime\": \"2018-09-19T22:52:10.5602303Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1560/certificates/IntegrationAccountCertificate8476\",\r\n \"name\": \"IntegrationAccountCertificate8476\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/certificates\"\r\n}", "StatusCode": 201 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7602?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NzYwMj9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1560?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTU2MD9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "074d57a9-2d12-4430-83cc-ec3304fdd3ce" + "d17976ff-cacc-453b-a78e-724b9235a717" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ] }, - "ResponseBody": "", "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:32 GMT" + "Wed, 19 Sep 2018 22:52:10 GMT" ], "Pragma": [ "no-cache" ], "x-ms-request-id": [ - "westus:e5f65e41-f7db-45ca-a783-f2a5dd0bf4a5" + "westus:11d48430-16dc-4368-885e-5eae1fa8a03d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1182" + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14998" ], "x-ms-correlation-request-id": [ - "4a4f7f45-9ce4-4056-85e7-ac1f9aaad4dc" + "428012e4-97ae-4233-9217-c6fb6ee49e4b" ], "x-ms-routing-request-id": [ - "WESTUS2:20170301T215732Z:4a4f7f45-9ce4-4056-85e7-ac1f9aaad4dc" + "WESTUS2:20180919T225211Z:428012e4-97ae-4233-9217-c6fb6ee49e4b" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7602/certificates/IntegrationAccountCertificate4331?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NzYwMi9jZXJ0aWZpY2F0ZXMvSW50ZWdyYXRpb25BY2NvdW50Q2VydGlmaWNhdGU0MzMxP2FwaS12ZXJzaW9uPTIwMTYtMDYtMDE=", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1560/certificates/IntegrationAccountCertificate8476?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTU2MC9jZXJ0aWZpY2F0ZXMvSW50ZWdyYXRpb25BY2NvdW50Q2VydGlmaWNhdGU4NDc2P2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "fa6945fa-83a7-4169-92fe-912b290e67dd" + "750569e7-44df-4312-a825-bf5c1817aace" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ] }, - "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Logic/integrationAccounts/IntegrationAccount7602' under resource group 'flowrg' was not found.\"\r\n }\r\n}", "ResponseHeaders": { - "Content-Length": [ - "168" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:32 GMT" + "Wed, 19 Sep 2018 22:52:10 GMT" ], "Pragma": [ "no-cache" @@ -217,25 +330,38 @@ "gateway" ], "x-ms-request-id": [ - "7221504e-4922-4b33-aa43-a6535746ff19" + "eb4ee4d6-8997-4cee-ad12-99f7c1875484" ], "x-ms-correlation-request-id": [ - "7221504e-4922-4b33-aa43-a6535746ff19" + "eb4ee4d6-8997-4cee-ad12-99f7c1875484" ], "x-ms-routing-request-id": [ - "WESTUS2:20170301T215732Z:7221504e-4922-4b33-aa43-a6535746ff19" + "WESTUS2:20180919T225211Z:eb4ee4d6-8997-4cee-ad12-99f7c1875484" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "168" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Logic/integrationAccounts/IntegrationAccount1560' under resource group 'flowrg' was not found.\"\r\n }\r\n}", "StatusCode": 404 } ], "Names": { - "DeleteIntegrationAccountCertificateOnAccountDeletion": [ - "IntegrationAccount7602", - "IntegrationAccountCertificate4331" + "IntegrationAccountCertificates_DeleteWhenDeleteIntegrationAccount_OK": [ + "IntegrationAccount1560", + "IntegrationAccountCertificate8476" ] }, "Variables": { diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountCertificateScenarioTests/IntegrationAccountCertificates_Delete_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountCertificateScenarioTests/IntegrationAccountCertificates_Delete_OK.json new file mode 100644 index 0000000000000..e0f96030e439b --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountCertificateScenarioTests/IntegrationAccountCertificates_Delete_OK.json @@ -0,0 +1,425 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "b47851bc-32ba-4e5d-8366-ecd0ccd27f44" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:51:41 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "x-ms-request-id": [ + "0511a815-a5e0-485f-9731-f9c65e760170" + ], + "x-ms-correlation-request-id": [ + "0511a815-a5e0-485f-9731-f9c65e760170" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225142Z:0511a815-a5e0-485f-9731-f9c65e760170" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "55855160-61f5-4374-8d1c-81b17048f556" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:51:41 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19998" + ], + "x-ms-request-id": [ + "044f0be9-d26b-46d9-a83a-29d801da1234" + ], + "x-ms-correlation-request-id": [ + "044f0be9-d26b-46d9-a83a-29d801da1234" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225142Z:044f0be9-d26b-46d9-a83a-29d801da1234" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2761?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50Mjc2MT9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "24e514fe-5365-42e2-953e-35befda83e5d" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:51:43 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:789233dd-8092-480b-ba54-a0bc70bfc55e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1193" + ], + "x-ms-correlation-request-id": [ + "1dbb0ce0-bdf1-43d6-8266-7c2a62402d60" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225143Z:1dbb0ce0-bdf1-43d6-8266-7c2a62402d60" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "307" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2761\",\r\n \"name\": \"IntegrationAccount2761\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2761/certificates/IntegrationAccountCertificate2074?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50Mjc2MS9jZXJ0aWZpY2F0ZXMvSW50ZWdyYXRpb25BY2NvdW50Q2VydGlmaWNhdGUyMDc0P2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"key\": {\r\n \"keyVault\": {\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourcegroups/flowrg/providers/microsoft.keyvault/vaults/AzureSdkTestKeyVault\"\r\n },\r\n \"keyName\": \"PRIVATEKEY\",\r\n \"keyVersion\": \"87d9764197604449b9b8eb7bd8710868\"\r\n },\r\n \"publicCertificate\": \"MIICETCCAXqgAwIBAgIQdUqkudmAXbJILn+rDmyOlzANBgkqhkiG9w0BAQQFADAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwHhcNMTYwMzMwMjExMTQ5WhcNMzkxMjMxMjM1OTU5WjAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMY+zUpOLPysqXEVW+EVaf6RNHTPh/Vb6/YK68AgDyowtDzoY2HO1VzDZrZau//FR8VcZkyc5xAkD3shqQK6mFOoQs0DMjAWBGGRze44kSU1eRba+Uk2Gbaa9HUY4RJ3ocKan4NekrN/O7qbBfobyBw91aKvGfwHUzCs0kVZNek3AgMBAAGjUjBQME4GA1UdAQRHMEWAEG34ZgwE5HRjrifRifoSvC2hHzAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnSCEHVKpLnZgF2ySC5/qw5sjpcwDQYJKoZIhvcNAQEEBQADgYEAUvVqnoCP2aHmI+9lJhaG2LDYdKEUs+POpFawQZABT4kkykKpxmfxzG3aEcA0eZ67MZ7gaJTuVo8wlGjv37cVODsRxeeo4XvcdcepYxnFUEgIkRaCDF0KKzu5jdSYaMshp16i4XlR4dl2mRhW/6H19FyjhCa6dEoIUxcDCrfrl80=\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "c78aef16-53dd-4063-9ecd-a2969ef1a82c" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "1083" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:51:44 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:1f9807e1-a30a-44e5-aaa3-40bfb8a3b99b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1192" + ], + "x-ms-correlation-request-id": [ + "3d30134d-3798-4763-aa00-833dff6e41e0" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225144Z:3d30134d-3798-4763-aa00-833dff6e41e0" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "1434" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"key\": {\r\n \"keyVault\": {\r\n \"name\": \"AzureSdkTestKeyVault\",\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourcegroups/flowrg/providers/microsoft.keyvault/vaults/AzureSdkTestKeyVault\",\r\n \"type\": \"Microsoft.KeyVault/vaults\"\r\n },\r\n \"keyName\": \"PRIVATEKEY\",\r\n \"keyVersion\": \"87d9764197604449b9b8eb7bd8710868\"\r\n },\r\n \"publicCertificate\": \"MIICETCCAXqgAwIBAgIQdUqkudmAXbJILn+rDmyOlzANBgkqhkiG9w0BAQQFADAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwHhcNMTYwMzMwMjExMTQ5WhcNMzkxMjMxMjM1OTU5WjAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMY+zUpOLPysqXEVW+EVaf6RNHTPh/Vb6/YK68AgDyowtDzoY2HO1VzDZrZau//FR8VcZkyc5xAkD3shqQK6mFOoQs0DMjAWBGGRze44kSU1eRba+Uk2Gbaa9HUY4RJ3ocKan4NekrN/O7qbBfobyBw91aKvGfwHUzCs0kVZNek3AgMBAAGjUjBQME4GA1UdAQRHMEWAEG34ZgwE5HRjrifRifoSvC2hHzAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnSCEHVKpLnZgF2ySC5/qw5sjpcwDQYJKoZIhvcNAQEEBQADgYEAUvVqnoCP2aHmI+9lJhaG2LDYdKEUs+POpFawQZABT4kkykKpxmfxzG3aEcA0eZ67MZ7gaJTuVo8wlGjv37cVODsRxeeo4XvcdcepYxnFUEgIkRaCDF0KKzu5jdSYaMshp16i4XlR4dl2mRhW/6H19FyjhCa6dEoIUxcDCrfrl80=\",\r\n \"createdTime\": \"2018-09-19T22:51:44.8271047Z\",\r\n \"changedTime\": \"2018-09-19T22:51:44.8284371Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2761/certificates/IntegrationAccountCertificate2074\",\r\n \"name\": \"IntegrationAccountCertificate2074\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/certificates\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2761/certificates/IntegrationAccountCertificate2074?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50Mjc2MS9jZXJ0aWZpY2F0ZXMvSW50ZWdyYXRpb25BY2NvdW50Q2VydGlmaWNhdGUyMDc0P2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "909429b0-cdf0-4a4d-8c43-38f6358ebf4e" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:51:44 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:ceabd789-98f4-4745-a4d8-b45bef1b0ab6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14996" + ], + "x-ms-correlation-request-id": [ + "6846c7aa-8c66-4dec-b155-166eae619d65" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225145Z:6846c7aa-8c66-4dec-b155-166eae619d65" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2761/certificates/IntegrationAccountCertificate2074?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50Mjc2MS9jZXJ0aWZpY2F0ZXMvSW50ZWdyYXRpb25BY2NvdW50Q2VydGlmaWNhdGUyMDc0P2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "37ca902d-47cc-45db-b686-a7bd93586cb2" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:51:44 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:192b449b-a788-4e08-8e8d-cc98ec451ee0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11993" + ], + "x-ms-correlation-request-id": [ + "cfb91172-ad65-40e7-a6c5-c811d0875d7e" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225145Z:cfb91172-ad65-40e7-a6c5-c811d0875d7e" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "172" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"CertificateNotFound\",\r\n \"message\": \"The certificate 'IntegrationAccountCertificate2074' could not be found in integration account 'IntegrationAccount2761'.\"\r\n }\r\n}", + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2761?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50Mjc2MT9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "001427b2-c34c-476f-a90c-a8635f1d1b86" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:51:45 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:63349dd1-fd11-45a9-ab15-9b8de203aedf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14995" + ], + "x-ms-correlation-request-id": [ + "9b0d01ab-871e-4db5-a236-8652720a34ca" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225145Z:9b0d01ab-871e-4db5-a236-8652720a34ca" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "IntegrationAccountCertificates_Delete_OK": [ + "IntegrationAccount2761", + "IntegrationAccountCertificate2074" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountCertificateScenarioTests/IntegrationAccountCertificates_Get_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountCertificateScenarioTests/IntegrationAccountCertificates_Get_OK.json new file mode 100644 index 0000000000000..26e4c35e73bb8 --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountCertificateScenarioTests/IntegrationAccountCertificates_Get_OK.json @@ -0,0 +1,373 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "e73158ce-29ae-48ed-a399-fded81af0e45" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:51:55 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11993" + ], + "x-ms-request-id": [ + "72a26964-643b-4285-a5b3-8367c23c7744" + ], + "x-ms-correlation-request-id": [ + "72a26964-643b-4285-a5b3-8367c23c7744" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225155Z:72a26964-643b-4285-a5b3-8367c23c7744" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "4902a4bf-9ece-40e5-a616-91722960a454" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:51:55 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19995" + ], + "x-ms-request-id": [ + "739c8903-d8d6-4b77-887d-045a059218ce" + ], + "x-ms-correlation-request-id": [ + "739c8903-d8d6-4b77-887d-045a059218ce" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225155Z:739c8903-d8d6-4b77-887d-045a059218ce" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1981?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTk4MT9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "ffd1300c-66c3-45d3-b065-5d1e47de4557" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:51:56 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:3b9a0781-4b1c-4213-904b-27ba3b187807" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], + "x-ms-correlation-request-id": [ + "def1259f-6a93-4bec-a828-eda3d800f6a3" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225156Z:def1259f-6a93-4bec-a828-eda3d800f6a3" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "307" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1981\",\r\n \"name\": \"IntegrationAccount1981\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1981/certificates/IntegrationAccountCertificate3259?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTk4MS9jZXJ0aWZpY2F0ZXMvSW50ZWdyYXRpb25BY2NvdW50Q2VydGlmaWNhdGUzMjU5P2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"key\": {\r\n \"keyVault\": {\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourcegroups/flowrg/providers/microsoft.keyvault/vaults/AzureSdkTestKeyVault\"\r\n },\r\n \"keyName\": \"PRIVATEKEY\",\r\n \"keyVersion\": \"87d9764197604449b9b8eb7bd8710868\"\r\n },\r\n \"publicCertificate\": \"MIICETCCAXqgAwIBAgIQdUqkudmAXbJILn+rDmyOlzANBgkqhkiG9w0BAQQFADAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwHhcNMTYwMzMwMjExMTQ5WhcNMzkxMjMxMjM1OTU5WjAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMY+zUpOLPysqXEVW+EVaf6RNHTPh/Vb6/YK68AgDyowtDzoY2HO1VzDZrZau//FR8VcZkyc5xAkD3shqQK6mFOoQs0DMjAWBGGRze44kSU1eRba+Uk2Gbaa9HUY4RJ3ocKan4NekrN/O7qbBfobyBw91aKvGfwHUzCs0kVZNek3AgMBAAGjUjBQME4GA1UdAQRHMEWAEG34ZgwE5HRjrifRifoSvC2hHzAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnSCEHVKpLnZgF2ySC5/qw5sjpcwDQYJKoZIhvcNAQEEBQADgYEAUvVqnoCP2aHmI+9lJhaG2LDYdKEUs+POpFawQZABT4kkykKpxmfxzG3aEcA0eZ67MZ7gaJTuVo8wlGjv37cVODsRxeeo4XvcdcepYxnFUEgIkRaCDF0KKzu5jdSYaMshp16i4XlR4dl2mRhW/6H19FyjhCa6dEoIUxcDCrfrl80=\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "81c6ddff-44ae-4e6e-9e8e-9f8e7008e5ff" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "1083" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:51:57 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:e3a7e718-38b0-4c6f-826b-a1c5c770d893" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1193" + ], + "x-ms-correlation-request-id": [ + "1da39d85-53ed-42d2-aaf1-454022713690" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225157Z:1da39d85-53ed-42d2-aaf1-454022713690" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "1434" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"key\": {\r\n \"keyVault\": {\r\n \"name\": \"AzureSdkTestKeyVault\",\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourcegroups/flowrg/providers/microsoft.keyvault/vaults/AzureSdkTestKeyVault\",\r\n \"type\": \"Microsoft.KeyVault/vaults\"\r\n },\r\n \"keyName\": \"PRIVATEKEY\",\r\n \"keyVersion\": \"87d9764197604449b9b8eb7bd8710868\"\r\n },\r\n \"publicCertificate\": \"MIICETCCAXqgAwIBAgIQdUqkudmAXbJILn+rDmyOlzANBgkqhkiG9w0BAQQFADAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwHhcNMTYwMzMwMjExMTQ5WhcNMzkxMjMxMjM1OTU5WjAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMY+zUpOLPysqXEVW+EVaf6RNHTPh/Vb6/YK68AgDyowtDzoY2HO1VzDZrZau//FR8VcZkyc5xAkD3shqQK6mFOoQs0DMjAWBGGRze44kSU1eRba+Uk2Gbaa9HUY4RJ3ocKan4NekrN/O7qbBfobyBw91aKvGfwHUzCs0kVZNek3AgMBAAGjUjBQME4GA1UdAQRHMEWAEG34ZgwE5HRjrifRifoSvC2hHzAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnSCEHVKpLnZgF2ySC5/qw5sjpcwDQYJKoZIhvcNAQEEBQADgYEAUvVqnoCP2aHmI+9lJhaG2LDYdKEUs+POpFawQZABT4kkykKpxmfxzG3aEcA0eZ67MZ7gaJTuVo8wlGjv37cVODsRxeeo4XvcdcepYxnFUEgIkRaCDF0KKzu5jdSYaMshp16i4XlR4dl2mRhW/6H19FyjhCa6dEoIUxcDCrfrl80=\",\r\n \"createdTime\": \"2018-09-19T22:51:57.6617832Z\",\r\n \"changedTime\": \"2018-09-19T22:51:57.6624709Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1981/certificates/IntegrationAccountCertificate3259\",\r\n \"name\": \"IntegrationAccountCertificate3259\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/certificates\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1981/certificates/IntegrationAccountCertificate3259?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTk4MS9jZXJ0aWZpY2F0ZXMvSW50ZWdyYXRpb25BY2NvdW50Q2VydGlmaWNhdGUzMjU5P2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "a1bb5d21-5f42-44bb-835a-0c59a3830e12" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:51:57 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:4f466090-9d17-4991-a668-68cda699ea8a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11992" + ], + "x-ms-correlation-request-id": [ + "a9cc5eed-89db-410f-abd3-00fd5ce8198c" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225158Z:a9cc5eed-89db-410f-abd3-00fd5ce8198c" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "1434" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"key\": {\r\n \"keyVault\": {\r\n \"name\": \"AzureSdkTestKeyVault\",\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourcegroups/flowrg/providers/microsoft.keyvault/vaults/AzureSdkTestKeyVault\",\r\n \"type\": \"Microsoft.KeyVault/vaults\"\r\n },\r\n \"keyName\": \"PRIVATEKEY\",\r\n \"keyVersion\": \"87d9764197604449b9b8eb7bd8710868\"\r\n },\r\n \"publicCertificate\": \"MIICETCCAXqgAwIBAgIQdUqkudmAXbJILn+rDmyOlzANBgkqhkiG9w0BAQQFADAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwHhcNMTYwMzMwMjExMTQ5WhcNMzkxMjMxMjM1OTU5WjAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMY+zUpOLPysqXEVW+EVaf6RNHTPh/Vb6/YK68AgDyowtDzoY2HO1VzDZrZau//FR8VcZkyc5xAkD3shqQK6mFOoQs0DMjAWBGGRze44kSU1eRba+Uk2Gbaa9HUY4RJ3ocKan4NekrN/O7qbBfobyBw91aKvGfwHUzCs0kVZNek3AgMBAAGjUjBQME4GA1UdAQRHMEWAEG34ZgwE5HRjrifRifoSvC2hHzAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnSCEHVKpLnZgF2ySC5/qw5sjpcwDQYJKoZIhvcNAQEEBQADgYEAUvVqnoCP2aHmI+9lJhaG2LDYdKEUs+POpFawQZABT4kkykKpxmfxzG3aEcA0eZ67MZ7gaJTuVo8wlGjv37cVODsRxeeo4XvcdcepYxnFUEgIkRaCDF0KKzu5jdSYaMshp16i4XlR4dl2mRhW/6H19FyjhCa6dEoIUxcDCrfrl80=\",\r\n \"createdTime\": \"2018-09-19T22:51:57.6617832Z\",\r\n \"changedTime\": \"2018-09-19T22:51:57.6624709Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1981/certificates/IntegrationAccountCertificate3259\",\r\n \"name\": \"IntegrationAccountCertificate3259\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/certificates\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1981?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTk4MT9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "4e2d1828-86ae-45b1-a8c5-4b5492b5fcc1" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:51:58 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:a52ae596-79ed-4eb3-9972-4838c0e67370" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14994" + ], + "x-ms-correlation-request-id": [ + "d7761285-e5ec-45eb-a6f1-f3ec03ad5f92" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225158Z:d7761285-e5ec-45eb-a6f1-f3ec03ad5f92" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "IntegrationAccountCertificates_Get_OK": [ + "IntegrationAccount1981", + "IntegrationAccountCertificate3259" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountCertificateScenarioTests/IntegrationAccountCertificates_List_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountCertificateScenarioTests/IntegrationAccountCertificates_List_OK.json new file mode 100644 index 0000000000000..a3dd3abe4d031 --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountCertificateScenarioTests/IntegrationAccountCertificates_List_OK.json @@ -0,0 +1,503 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "59ded2a4-7aaa-4127-bf74-a80fe3f1fdaa" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:52:12 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-request-id": [ + "b41cc54d-840a-4ec2-ba9a-57bc8971d7fe" + ], + "x-ms-correlation-request-id": [ + "b41cc54d-840a-4ec2-ba9a-57bc8971d7fe" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225213Z:b41cc54d-840a-4ec2-ba9a-57bc8971d7fe" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "14a86a90-3260-497b-9d35-018ad30265a8" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:52:12 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19998" + ], + "x-ms-request-id": [ + "d718a9e8-b7aa-4805-b048-adaa355abdb3" + ], + "x-ms-correlation-request-id": [ + "d718a9e8-b7aa-4805-b048-adaa355abdb3" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225213Z:d718a9e8-b7aa-4805-b048-adaa355abdb3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9334?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50OTMzND9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "65e7abec-c579-47d6-ab63-7cae69e34ccc" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:52:13 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:a90b4a9d-709d-413c-ad2b-8fbd82120ec8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "301743a4-4857-4f58-b468-5fd07e7a15ae" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225214Z:301743a4-4857-4f58-b468-5fd07e7a15ae" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "307" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9334\",\r\n \"name\": \"IntegrationAccount9334\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9334/certificates/IntegrationAccountCertificate6921?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50OTMzNC9jZXJ0aWZpY2F0ZXMvSW50ZWdyYXRpb25BY2NvdW50Q2VydGlmaWNhdGU2OTIxP2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"key\": {\r\n \"keyVault\": {\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourcegroups/flowrg/providers/microsoft.keyvault/vaults/AzureSdkTestKeyVault\"\r\n },\r\n \"keyName\": \"PRIVATEKEY\",\r\n \"keyVersion\": \"87d9764197604449b9b8eb7bd8710868\"\r\n },\r\n \"publicCertificate\": \"MIICETCCAXqgAwIBAgIQdUqkudmAXbJILn+rDmyOlzANBgkqhkiG9w0BAQQFADAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwHhcNMTYwMzMwMjExMTQ5WhcNMzkxMjMxMjM1OTU5WjAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMY+zUpOLPysqXEVW+EVaf6RNHTPh/Vb6/YK68AgDyowtDzoY2HO1VzDZrZau//FR8VcZkyc5xAkD3shqQK6mFOoQs0DMjAWBGGRze44kSU1eRba+Uk2Gbaa9HUY4RJ3ocKan4NekrN/O7qbBfobyBw91aKvGfwHUzCs0kVZNek3AgMBAAGjUjBQME4GA1UdAQRHMEWAEG34ZgwE5HRjrifRifoSvC2hHzAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnSCEHVKpLnZgF2ySC5/qw5sjpcwDQYJKoZIhvcNAQEEBQADgYEAUvVqnoCP2aHmI+9lJhaG2LDYdKEUs+POpFawQZABT4kkykKpxmfxzG3aEcA0eZ67MZ7gaJTuVo8wlGjv37cVODsRxeeo4XvcdcepYxnFUEgIkRaCDF0KKzu5jdSYaMshp16i4XlR4dl2mRhW/6H19FyjhCa6dEoIUxcDCrfrl80=\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "92fd08d9-4def-4a50-b0e9-b52dd91d0569" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "1083" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:52:14 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:ad231752-5e00-42e7-b1e0-d36f77325b02" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-correlation-request-id": [ + "87cba326-1b59-4476-be2c-a672ecf99c0b" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225214Z:87cba326-1b59-4476-be2c-a672ecf99c0b" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "1434" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"key\": {\r\n \"keyVault\": {\r\n \"name\": \"AzureSdkTestKeyVault\",\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourcegroups/flowrg/providers/microsoft.keyvault/vaults/AzureSdkTestKeyVault\",\r\n \"type\": \"Microsoft.KeyVault/vaults\"\r\n },\r\n \"keyName\": \"PRIVATEKEY\",\r\n \"keyVersion\": \"87d9764197604449b9b8eb7bd8710868\"\r\n },\r\n \"publicCertificate\": \"MIICETCCAXqgAwIBAgIQdUqkudmAXbJILn+rDmyOlzANBgkqhkiG9w0BAQQFADAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwHhcNMTYwMzMwMjExMTQ5WhcNMzkxMjMxMjM1OTU5WjAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMY+zUpOLPysqXEVW+EVaf6RNHTPh/Vb6/YK68AgDyowtDzoY2HO1VzDZrZau//FR8VcZkyc5xAkD3shqQK6mFOoQs0DMjAWBGGRze44kSU1eRba+Uk2Gbaa9HUY4RJ3ocKan4NekrN/O7qbBfobyBw91aKvGfwHUzCs0kVZNek3AgMBAAGjUjBQME4GA1UdAQRHMEWAEG34ZgwE5HRjrifRifoSvC2hHzAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnSCEHVKpLnZgF2ySC5/qw5sjpcwDQYJKoZIhvcNAQEEBQADgYEAUvVqnoCP2aHmI+9lJhaG2LDYdKEUs+POpFawQZABT4kkykKpxmfxzG3aEcA0eZ67MZ7gaJTuVo8wlGjv37cVODsRxeeo4XvcdcepYxnFUEgIkRaCDF0KKzu5jdSYaMshp16i4XlR4dl2mRhW/6H19FyjhCa6dEoIUxcDCrfrl80=\",\r\n \"createdTime\": \"2018-09-19T22:52:14.8045198Z\",\r\n \"changedTime\": \"2018-09-19T22:52:14.8052421Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9334/certificates/IntegrationAccountCertificate6921\",\r\n \"name\": \"IntegrationAccountCertificate6921\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/certificates\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9334/certificates/IntegrationAccountCertificate1794?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50OTMzNC9jZXJ0aWZpY2F0ZXMvSW50ZWdyYXRpb25BY2NvdW50Q2VydGlmaWNhdGUxNzk0P2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"key\": {\r\n \"keyVault\": {\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourcegroups/flowrg/providers/microsoft.keyvault/vaults/AzureSdkTestKeyVault\"\r\n },\r\n \"keyName\": \"PRIVATEKEY\",\r\n \"keyVersion\": \"87d9764197604449b9b8eb7bd8710868\"\r\n },\r\n \"publicCertificate\": \"MIICETCCAXqgAwIBAgIQdUqkudmAXbJILn+rDmyOlzANBgkqhkiG9w0BAQQFADAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwHhcNMTYwMzMwMjExMTQ5WhcNMzkxMjMxMjM1OTU5WjAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMY+zUpOLPysqXEVW+EVaf6RNHTPh/Vb6/YK68AgDyowtDzoY2HO1VzDZrZau//FR8VcZkyc5xAkD3shqQK6mFOoQs0DMjAWBGGRze44kSU1eRba+Uk2Gbaa9HUY4RJ3ocKan4NekrN/O7qbBfobyBw91aKvGfwHUzCs0kVZNek3AgMBAAGjUjBQME4GA1UdAQRHMEWAEG34ZgwE5HRjrifRifoSvC2hHzAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnSCEHVKpLnZgF2ySC5/qw5sjpcwDQYJKoZIhvcNAQEEBQADgYEAUvVqnoCP2aHmI+9lJhaG2LDYdKEUs+POpFawQZABT4kkykKpxmfxzG3aEcA0eZ67MZ7gaJTuVo8wlGjv37cVODsRxeeo4XvcdcepYxnFUEgIkRaCDF0KKzu5jdSYaMshp16i4XlR4dl2mRhW/6H19FyjhCa6dEoIUxcDCrfrl80=\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "7fd727bf-4e73-48ae-b8c8-bc8fd1aeff0d" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "1083" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:52:14 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:6abbc550-0613-4c8b-abb2-651d90223c5c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-correlation-request-id": [ + "0410beb4-a4fc-4bce-bebe-26f51aa64e08" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225215Z:0410beb4-a4fc-4bce-bebe-26f51aa64e08" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "1433" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"key\": {\r\n \"keyVault\": {\r\n \"name\": \"AzureSdkTestKeyVault\",\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourcegroups/flowrg/providers/microsoft.keyvault/vaults/AzureSdkTestKeyVault\",\r\n \"type\": \"Microsoft.KeyVault/vaults\"\r\n },\r\n \"keyName\": \"PRIVATEKEY\",\r\n \"keyVersion\": \"87d9764197604449b9b8eb7bd8710868\"\r\n },\r\n \"publicCertificate\": \"MIICETCCAXqgAwIBAgIQdUqkudmAXbJILn+rDmyOlzANBgkqhkiG9w0BAQQFADAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwHhcNMTYwMzMwMjExMTQ5WhcNMzkxMjMxMjM1OTU5WjAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMY+zUpOLPysqXEVW+EVaf6RNHTPh/Vb6/YK68AgDyowtDzoY2HO1VzDZrZau//FR8VcZkyc5xAkD3shqQK6mFOoQs0DMjAWBGGRze44kSU1eRba+Uk2Gbaa9HUY4RJ3ocKan4NekrN/O7qbBfobyBw91aKvGfwHUzCs0kVZNek3AgMBAAGjUjBQME4GA1UdAQRHMEWAEG34ZgwE5HRjrifRifoSvC2hHzAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnSCEHVKpLnZgF2ySC5/qw5sjpcwDQYJKoZIhvcNAQEEBQADgYEAUvVqnoCP2aHmI+9lJhaG2LDYdKEUs+POpFawQZABT4kkykKpxmfxzG3aEcA0eZ67MZ7gaJTuVo8wlGjv37cVODsRxeeo4XvcdcepYxnFUEgIkRaCDF0KKzu5jdSYaMshp16i4XlR4dl2mRhW/6H19FyjhCa6dEoIUxcDCrfrl80=\",\r\n \"createdTime\": \"2018-09-19T22:52:15.072645Z\",\r\n \"changedTime\": \"2018-09-19T22:52:15.0731309Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9334/certificates/IntegrationAccountCertificate1794\",\r\n \"name\": \"IntegrationAccountCertificate1794\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/certificates\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9334/certificates/IntegrationAccountCertificate5220?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50OTMzNC9jZXJ0aWZpY2F0ZXMvSW50ZWdyYXRpb25BY2NvdW50Q2VydGlmaWNhdGU1MjIwP2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"key\": {\r\n \"keyVault\": {\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourcegroups/flowrg/providers/microsoft.keyvault/vaults/AzureSdkTestKeyVault\"\r\n },\r\n \"keyName\": \"PRIVATEKEY\",\r\n \"keyVersion\": \"87d9764197604449b9b8eb7bd8710868\"\r\n },\r\n \"publicCertificate\": \"MIICETCCAXqgAwIBAgIQdUqkudmAXbJILn+rDmyOlzANBgkqhkiG9w0BAQQFADAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwHhcNMTYwMzMwMjExMTQ5WhcNMzkxMjMxMjM1OTU5WjAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMY+zUpOLPysqXEVW+EVaf6RNHTPh/Vb6/YK68AgDyowtDzoY2HO1VzDZrZau//FR8VcZkyc5xAkD3shqQK6mFOoQs0DMjAWBGGRze44kSU1eRba+Uk2Gbaa9HUY4RJ3ocKan4NekrN/O7qbBfobyBw91aKvGfwHUzCs0kVZNek3AgMBAAGjUjBQME4GA1UdAQRHMEWAEG34ZgwE5HRjrifRifoSvC2hHzAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnSCEHVKpLnZgF2ySC5/qw5sjpcwDQYJKoZIhvcNAQEEBQADgYEAUvVqnoCP2aHmI+9lJhaG2LDYdKEUs+POpFawQZABT4kkykKpxmfxzG3aEcA0eZ67MZ7gaJTuVo8wlGjv37cVODsRxeeo4XvcdcepYxnFUEgIkRaCDF0KKzu5jdSYaMshp16i4XlR4dl2mRhW/6H19FyjhCa6dEoIUxcDCrfrl80=\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "c9aef43b-1462-4676-8ded-cf469ca20ab2" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "1083" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:52:14 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:ade99f86-202d-4081-84fd-7220ce2ac517" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], + "x-ms-correlation-request-id": [ + "37c1ee9a-c6eb-4618-ad49-5d91839fd778" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225215Z:37c1ee9a-c6eb-4618-ad49-5d91839fd778" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "1434" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"key\": {\r\n \"keyVault\": {\r\n \"name\": \"AzureSdkTestKeyVault\",\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourcegroups/flowrg/providers/microsoft.keyvault/vaults/AzureSdkTestKeyVault\",\r\n \"type\": \"Microsoft.KeyVault/vaults\"\r\n },\r\n \"keyName\": \"PRIVATEKEY\",\r\n \"keyVersion\": \"87d9764197604449b9b8eb7bd8710868\"\r\n },\r\n \"publicCertificate\": \"MIICETCCAXqgAwIBAgIQdUqkudmAXbJILn+rDmyOlzANBgkqhkiG9w0BAQQFADAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwHhcNMTYwMzMwMjExMTQ5WhcNMzkxMjMxMjM1OTU5WjAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMY+zUpOLPysqXEVW+EVaf6RNHTPh/Vb6/YK68AgDyowtDzoY2HO1VzDZrZau//FR8VcZkyc5xAkD3shqQK6mFOoQs0DMjAWBGGRze44kSU1eRba+Uk2Gbaa9HUY4RJ3ocKan4NekrN/O7qbBfobyBw91aKvGfwHUzCs0kVZNek3AgMBAAGjUjBQME4GA1UdAQRHMEWAEG34ZgwE5HRjrifRifoSvC2hHzAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnSCEHVKpLnZgF2ySC5/qw5sjpcwDQYJKoZIhvcNAQEEBQADgYEAUvVqnoCP2aHmI+9lJhaG2LDYdKEUs+POpFawQZABT4kkykKpxmfxzG3aEcA0eZ67MZ7gaJTuVo8wlGjv37cVODsRxeeo4XvcdcepYxnFUEgIkRaCDF0KKzu5jdSYaMshp16i4XlR4dl2mRhW/6H19FyjhCa6dEoIUxcDCrfrl80=\",\r\n \"createdTime\": \"2018-09-19T22:52:15.2186102Z\",\r\n \"changedTime\": \"2018-09-19T22:52:15.2195011Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9334/certificates/IntegrationAccountCertificate5220\",\r\n \"name\": \"IntegrationAccountCertificate5220\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/certificates\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9334/certificates?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50OTMzNC9jZXJ0aWZpY2F0ZXM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "4462d591-6442-4a6a-bfb9-01ced3c50753" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:52:14 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:39eca857-6e00-458d-bc15-79cb71b60395" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-correlation-request-id": [ + "fca1f1e3-33f1-4f0b-9dd7-ef25b1550466" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225215Z:fca1f1e3-33f1-4f0b-9dd7-ef25b1550466" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "4315" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"key\": {\r\n \"keyVault\": {\r\n \"name\": \"AzureSdkTestKeyVault\",\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourcegroups/flowrg/providers/microsoft.keyvault/vaults/AzureSdkTestKeyVault\",\r\n \"type\": \"Microsoft.KeyVault/vaults\"\r\n },\r\n \"keyName\": \"PRIVATEKEY\",\r\n \"keyVersion\": \"87d9764197604449b9b8eb7bd8710868\"\r\n },\r\n \"publicCertificate\": \"MIICETCCAXqgAwIBAgIQdUqkudmAXbJILn+rDmyOlzANBgkqhkiG9w0BAQQFADAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwHhcNMTYwMzMwMjExMTQ5WhcNMzkxMjMxMjM1OTU5WjAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMY+zUpOLPysqXEVW+EVaf6RNHTPh/Vb6/YK68AgDyowtDzoY2HO1VzDZrZau//FR8VcZkyc5xAkD3shqQK6mFOoQs0DMjAWBGGRze44kSU1eRba+Uk2Gbaa9HUY4RJ3ocKan4NekrN/O7qbBfobyBw91aKvGfwHUzCs0kVZNek3AgMBAAGjUjBQME4GA1UdAQRHMEWAEG34ZgwE5HRjrifRifoSvC2hHzAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnSCEHVKpLnZgF2ySC5/qw5sjpcwDQYJKoZIhvcNAQEEBQADgYEAUvVqnoCP2aHmI+9lJhaG2LDYdKEUs+POpFawQZABT4kkykKpxmfxzG3aEcA0eZ67MZ7gaJTuVo8wlGjv37cVODsRxeeo4XvcdcepYxnFUEgIkRaCDF0KKzu5jdSYaMshp16i4XlR4dl2mRhW/6H19FyjhCa6dEoIUxcDCrfrl80=\",\r\n \"createdTime\": \"2018-09-19T22:52:15.072645Z\",\r\n \"changedTime\": \"2018-09-19T22:52:15.0731309Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9334/certificates/IntegrationAccountCertificate1794\",\r\n \"name\": \"IntegrationAccountCertificate1794\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/certificates\"\r\n },\r\n {\r\n \"properties\": {\r\n \"key\": {\r\n \"keyVault\": {\r\n \"name\": \"AzureSdkTestKeyVault\",\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourcegroups/flowrg/providers/microsoft.keyvault/vaults/AzureSdkTestKeyVault\",\r\n \"type\": \"Microsoft.KeyVault/vaults\"\r\n },\r\n \"keyName\": \"PRIVATEKEY\",\r\n \"keyVersion\": \"87d9764197604449b9b8eb7bd8710868\"\r\n },\r\n \"publicCertificate\": \"MIICETCCAXqgAwIBAgIQdUqkudmAXbJILn+rDmyOlzANBgkqhkiG9w0BAQQFADAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwHhcNMTYwMzMwMjExMTQ5WhcNMzkxMjMxMjM1OTU5WjAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMY+zUpOLPysqXEVW+EVaf6RNHTPh/Vb6/YK68AgDyowtDzoY2HO1VzDZrZau//FR8VcZkyc5xAkD3shqQK6mFOoQs0DMjAWBGGRze44kSU1eRba+Uk2Gbaa9HUY4RJ3ocKan4NekrN/O7qbBfobyBw91aKvGfwHUzCs0kVZNek3AgMBAAGjUjBQME4GA1UdAQRHMEWAEG34ZgwE5HRjrifRifoSvC2hHzAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnSCEHVKpLnZgF2ySC5/qw5sjpcwDQYJKoZIhvcNAQEEBQADgYEAUvVqnoCP2aHmI+9lJhaG2LDYdKEUs+POpFawQZABT4kkykKpxmfxzG3aEcA0eZ67MZ7gaJTuVo8wlGjv37cVODsRxeeo4XvcdcepYxnFUEgIkRaCDF0KKzu5jdSYaMshp16i4XlR4dl2mRhW/6H19FyjhCa6dEoIUxcDCrfrl80=\",\r\n \"createdTime\": \"2018-09-19T22:52:15.2186102Z\",\r\n \"changedTime\": \"2018-09-19T22:52:15.2195011Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9334/certificates/IntegrationAccountCertificate5220\",\r\n \"name\": \"IntegrationAccountCertificate5220\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/certificates\"\r\n },\r\n {\r\n \"properties\": {\r\n \"key\": {\r\n \"keyVault\": {\r\n \"name\": \"AzureSdkTestKeyVault\",\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourcegroups/flowrg/providers/microsoft.keyvault/vaults/AzureSdkTestKeyVault\",\r\n \"type\": \"Microsoft.KeyVault/vaults\"\r\n },\r\n \"keyName\": \"PRIVATEKEY\",\r\n \"keyVersion\": \"87d9764197604449b9b8eb7bd8710868\"\r\n },\r\n \"publicCertificate\": \"MIICETCCAXqgAwIBAgIQdUqkudmAXbJILn+rDmyOlzANBgkqhkiG9w0BAQQFADAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwHhcNMTYwMzMwMjExMTQ5WhcNMzkxMjMxMjM1OTU5WjAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMY+zUpOLPysqXEVW+EVaf6RNHTPh/Vb6/YK68AgDyowtDzoY2HO1VzDZrZau//FR8VcZkyc5xAkD3shqQK6mFOoQs0DMjAWBGGRze44kSU1eRba+Uk2Gbaa9HUY4RJ3ocKan4NekrN/O7qbBfobyBw91aKvGfwHUzCs0kVZNek3AgMBAAGjUjBQME4GA1UdAQRHMEWAEG34ZgwE5HRjrifRifoSvC2hHzAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnSCEHVKpLnZgF2ySC5/qw5sjpcwDQYJKoZIhvcNAQEEBQADgYEAUvVqnoCP2aHmI+9lJhaG2LDYdKEUs+POpFawQZABT4kkykKpxmfxzG3aEcA0eZ67MZ7gaJTuVo8wlGjv37cVODsRxeeo4XvcdcepYxnFUEgIkRaCDF0KKzu5jdSYaMshp16i4XlR4dl2mRhW/6H19FyjhCa6dEoIUxcDCrfrl80=\",\r\n \"createdTime\": \"2018-09-19T22:52:14.8045198Z\",\r\n \"changedTime\": \"2018-09-19T22:52:14.8052421Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9334/certificates/IntegrationAccountCertificate6921\",\r\n \"name\": \"IntegrationAccountCertificate6921\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/certificates\"\r\n }\r\n ]\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9334?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50OTMzND9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "99c242ec-4281-4196-8222-99731d0f5b72" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:52:15 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:4ace453b-175c-4328-890a-c12289acfd5a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "1e3b3073-93c6-4622-9a70-da9a4506e923" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225216Z:1e3b3073-93c6-4622-9a70-da9a4506e923" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "IntegrationAccountCertificates_List_OK": [ + "IntegrationAccount9334", + "IntegrationAccountCertificate6921", + "IntegrationAccountCertificate1794", + "IntegrationAccountCertificate5220" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountCertificateScenarioTests/CreateAndUpdateIntegrationAccountCertificate.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountCertificateScenarioTests/IntegrationAccountCertificates_Update_OK.json similarity index 65% rename from src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountCertificateScenarioTests/CreateAndUpdateIntegrationAccountCertificate.json rename to src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountCertificateScenarioTests/IntegrationAccountCertificates_Update_OK.json index bfa3977a7bc33..27e90ea9533bd 100644 --- a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountCertificateScenarioTests/CreateAndUpdateIntegrationAccountCertificate.json +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountCertificateScenarioTests/IntegrationAccountCertificates_Update_OK.json @@ -1,313 +1,376 @@ { "Entries": [ { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4032?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NDAzMj9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "91" - ], "x-ms-client-request-id": [ - "bedef134-808d-4704-ad77-5b909f832aca" + "b42078e2-0c2b-4b7d-bc07-3e7f7bf9f210" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ] }, - "ResponseBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4032\",\r\n \"name\": \"IntegrationAccount4032\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:51:50 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-request-id": [ + "8bc664bc-db78-4fb0-8157-1f0466a6129a" + ], + "x-ms-correlation-request-id": [ + "8bc664bc-db78-4fb0-8157-1f0466a6129a" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225151Z:8bc664bc-db78-4fb0-8157-1f0466a6129a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], "Content-Length": [ - "290" + "12" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "bb32a8e0-8b21-478b-b3f6-fffbff50bbbd" + ], + "accept-language": [ + "en-US" ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:33 GMT" + "Wed, 19 Sep 2018 22:51:50 GMT" ], "Pragma": [ "no-cache" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19996" + ], "x-ms-request-id": [ - "westus:559755db-2159-46d9-bd1d-47cd78a6a221" + "c8ec5835-aca0-4282-984a-3320505d3499" + ], + "x-ms-correlation-request-id": [ + "c8ec5835-aca0-4282-984a-3320505d3499" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225151Z:c8ec5835-aca0-4282-984a-3320505d3499" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1193" + "X-Content-Type-Options": [ + "nosniff" ], - "x-ms-correlation-request-id": [ - "a669a8df-134e-4773-ac7c-7cc313491ad7" + "Content-Length": [ + "12" ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215734Z:a669a8df-134e-4773-ac7c-7cc313491ad7" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 201 + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4032/certificates/IntegrationAccountCertificate1394?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NDAzMi9jZXJ0aWZpY2F0ZXMvSW50ZWdyYXRpb25BY2NvdW50Q2VydGlmaWNhdGUxMzk0P2FwaS12ZXJzaW9uPTIwMTYtMDYtMDE=", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7538?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NzUzOD9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", "RequestMethod": "PUT", - //[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")] - "RequestBody": "{\r\n \"properties\": {\r\n \"key\": {\r\n \"keyVault\": {\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourcegroups/flowrg/providers/microsoft.keyvault/vaults/AzureSdkTestKeyVault\"\r\n },\r\n \"keyName\": \"PRIVATEKEY\",\r\n \"keyVersion\": \"87d9764197604449b9b8eb7bd8710868\"\r\n },\r\n \"publicCertificate\": \"MIICETCCAXqgAwIBAgIQdUqkudmAXbJILn+rDmyOlzANBgkqhkiG9w0BAQQFADAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwHhcNMTYwMzMwMjExMTQ5WhcNMzkxMjMxMjM1OTU5WjAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMY+zUpOLPysqXEVW+EVaf6RNHTPh/Vb6/YK68AgDyowtDzoY2HO1VzDZrZau//FR8VcZkyc5xAkD3shqQK6mFOoQs0DMjAWBGGRze44kSU1eRba+Uk2Gbaa9HUY4RJ3ocKan4NekrN/O7qbBfobyBw91aKvGfwHUzCs0kVZNek3AgMBAAGjUjBQME4GA1UdAQRHMEWAEG34ZgwE5HRjrifRifoSvC2hHzAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnSCEHVKpLnZgF2ySC5/qw5sjpcwDQYJKoZIhvcNAQEEBQADgYEAUvVqnoCP2aHmI+9lJhaG2LDYdKEUs+POpFawQZABT4kkykKpxmfxzG3aEcA0eZ67MZ7gaJTuVo8wlGjv37cVODsRxeeo4XvcdcepYxnFUEgIkRaCDF0KKzu5jdSYaMshp16i4XlR4dl2mRhW/6H19FyjhCa6dEoIUxcDCrfrl80=\"\r\n },\r\n \"location\": \"brazilsouth\"\r\n}", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "1088" - ], "x-ms-client-request-id": [ - "46e77f65-c0e4-4801-b149-e0dfa9279091" + "0dc201e6-25d2-4705-a29a-ff31aae7e0ff" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - //[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")] - "ResponseBody": "{\r\n \"properties\": {\r\n \"key\": {\r\n \"keyVault\": {\r\n \"name\": \"AzureSdkTestKeyVault\",\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourcegroups/flowrg/providers/microsoft.keyvault/vaults/AzureSdkTestKeyVault\",\r\n \"type\": \"Microsoft.KeyVault/vaults\"\r\n },\r\n \"keyName\": \"PRIVATEKEY\",\r\n \"keyVersion\": \"87d9764197604449b9b8eb7bd8710868\"\r\n },\r\n \"publicCertificate\": \"MIICETCCAXqgAwIBAgIQdUqkudmAXbJILn+rDmyOlzANBgkqhkiG9w0BAQQFADAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwHhcNMTYwMzMwMjExMTQ5WhcNMzkxMjMxMjM1OTU5WjAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMY+zUpOLPysqXEVW+EVaf6RNHTPh/Vb6/YK68AgDyowtDzoY2HO1VzDZrZau//FR8VcZkyc5xAkD3shqQK6mFOoQs0DMjAWBGGRze44kSU1eRba+Uk2Gbaa9HUY4RJ3ocKan4NekrN/O7qbBfobyBw91aKvGfwHUzCs0kVZNek3AgMBAAGjUjBQME4GA1UdAQRHMEWAEG34ZgwE5HRjrifRifoSvC2hHzAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnSCEHVKpLnZgF2ySC5/qw5sjpcwDQYJKoZIhvcNAQEEBQADgYEAUvVqnoCP2aHmI+9lJhaG2LDYdKEUs+POpFawQZABT4kkykKpxmfxzG3aEcA0eZ67MZ7gaJTuVo8wlGjv37cVODsRxeeo4XvcdcepYxnFUEgIkRaCDF0KKzu5jdSYaMshp16i4XlR4dl2mRhW/6H19FyjhCa6dEoIUxcDCrfrl80=\",\r\n \"createdTime\": \"2017-03-01T21:57:34.8645201Z\",\r\n \"changedTime\": \"2017-03-01T21:57:34.8651747Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4032/certificates/IntegrationAccountCertificate1394\",\r\n \"name\": \"IntegrationAccountCertificate1394\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/certificates\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "1434" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:34 GMT" + "Wed, 19 Sep 2018 22:51:51 GMT" ], "Pragma": [ "no-cache" ], "x-ms-request-id": [ - "westus:115e9349-0428-4841-b328-1c3bdad609ad" + "westus:09a7abbe-e051-4cb4-8ff7-a13a92990a22" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1192" + "1196" ], "x-ms-correlation-request-id": [ - "ba59f4f9-a0c2-49c7-b07c-47b0ba5b3e2d" + "48f73353-51e1-45be-a6b2-0d4c3340d9b0" ], "x-ms-routing-request-id": [ - "WESTUS2:20170301T215734Z:ba59f4f9-a0c2-49c7-b07c-47b0ba5b3e2d" + "WESTUS2:20180919T225152Z:48f73353-51e1-45be-a6b2-0d4c3340d9b0" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "307" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7538\",\r\n \"name\": \"IntegrationAccount7538\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", "StatusCode": 201 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4032/certificates/IntegrationAccountCertificate1394?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NDAzMi9jZXJ0aWZpY2F0ZXMvSW50ZWdyYXRpb25BY2NvdW50Q2VydGlmaWNhdGUxMzk0P2FwaS12ZXJzaW9uPTIwMTYtMDYtMDE=", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7538/certificates/IntegrationAccountCertificate7604?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NzUzOC9jZXJ0aWZpY2F0ZXMvSW50ZWdyYXRpb25BY2NvdW50Q2VydGlmaWNhdGU3NjA0P2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", "RequestMethod": "PUT", - //[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")] - "RequestBody": "{\r\n \"properties\": {\r\n \"key\": {\r\n \"keyVault\": {\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourcegroups/flowrg/providers/microsoft.keyvault/vaults/AzureSdkTestKeyVault\"\r\n },\r\n \"keyName\": \"PRIVATEKEY\",\r\n \"keyVersion\": \"87d9764197604449b9b8eb7bd8710868\"\r\n },\r\n \"publicCertificate\": \"MIICETCCAXqgAwIBAgIQdUqkudmAXbJILn+rDmyOlzANBgkqhkiG9w0BAQQFADAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwHhcNMTYwMzMwMjExMTQ5WhcNMzkxMjMxMjM1OTU5WjAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMY+zUpOLPysqXEVW+EVaf6RNHTPh/Vb6/YK68AgDyowtDzoY2HO1VzDZrZau//FR8VcZkyc5xAkD3shqQK6mFOoQs0DMjAWBGGRze44kSU1eRba+Uk2Gbaa9HUY4RJ3ocKan4NekrN/O7qbBfobyBw91aKvGfwHUzCs0kVZNek3AgMBAAGjUjBQME4GA1UdAQRHMEWAEG34ZgwE5HRjrifRifoSvC2hHzAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnSCEHVKpLnZgF2ySC5/qw5sjpcwDQYJKoZIhvcNAQEEBQADgYEAUvVqnoCP2aHmI+9lJhaG2LDYdKEUs+POpFawQZABT4kkykKpxmfxzG3aEcA0eZ67MZ7gaJTuVo8wlGjv37cVODsRxeeo4XvcdcepYxnFUEgIkRaCDF0KKzu5jdSYaMshp16i4XlR4dl2mRhW/6H19FyjhCa6dEoIUxcDCrfrl80=\"\r\n },\r\n \"location\": \"brazilsouth\"\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"key\": {\r\n \"keyVault\": {\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourcegroups/flowrg/providers/microsoft.keyvault/vaults/AzureSdkTestKeyVault\"\r\n },\r\n \"keyName\": \"PRIVATEKEY\",\r\n \"keyVersion\": \"87d9764197604449b9b8eb7bd8710868\"\r\n },\r\n \"publicCertificate\": \"MIICETCCAXqgAwIBAgIQdUqkudmAXbJILn+rDmyOlzANBgkqhkiG9w0BAQQFADAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwHhcNMTYwMzMwMjExMTQ5WhcNMzkxMjMxMjM1OTU5WjAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMY+zUpOLPysqXEVW+EVaf6RNHTPh/Vb6/YK68AgDyowtDzoY2HO1VzDZrZau//FR8VcZkyc5xAkD3shqQK6mFOoQs0DMjAWBGGRze44kSU1eRba+Uk2Gbaa9HUY4RJ3ocKan4NekrN/O7qbBfobyBw91aKvGfwHUzCs0kVZNek3AgMBAAGjUjBQME4GA1UdAQRHMEWAEG34ZgwE5HRjrifRifoSvC2hHzAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnSCEHVKpLnZgF2ySC5/qw5sjpcwDQYJKoZIhvcNAQEEBQADgYEAUvVqnoCP2aHmI+9lJhaG2LDYdKEUs+POpFawQZABT4kkykKpxmfxzG3aEcA0eZ67MZ7gaJTuVo8wlGjv37cVODsRxeeo4XvcdcepYxnFUEgIkRaCDF0KKzu5jdSYaMshp16i4XlR4dl2mRhW/6H19FyjhCa6dEoIUxcDCrfrl80=\"\r\n },\r\n \"location\": \"westus\"\r\n}", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "1088" - ], "x-ms-client-request-id": [ - "a3d957f9-6b43-4db5-b9ef-3c97b334989e" + "8979c528-35b9-4ae2-8fc8-70b57ccdd500" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - //[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")] - "ResponseBody": "{\r\n \"properties\": {\r\n \"key\": {\r\n \"keyVault\": {\r\n \"name\": \"AzureSdkTestKeyVault\",\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourcegroups/flowrg/providers/microsoft.keyvault/vaults/AzureSdkTestKeyVault\",\r\n \"type\": \"Microsoft.KeyVault/vaults\"\r\n },\r\n \"keyName\": \"PRIVATEKEY\",\r\n \"keyVersion\": \"87d9764197604449b9b8eb7bd8710868\"\r\n },\r\n \"publicCertificate\": \"MIICETCCAXqgAwIBAgIQdUqkudmAXbJILn+rDmyOlzANBgkqhkiG9w0BAQQFADAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwHhcNMTYwMzMwMjExMTQ5WhcNMzkxMjMxMjM1OTU5WjAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMY+zUpOLPysqXEVW+EVaf6RNHTPh/Vb6/YK68AgDyowtDzoY2HO1VzDZrZau//FR8VcZkyc5xAkD3shqQK6mFOoQs0DMjAWBGGRze44kSU1eRba+Uk2Gbaa9HUY4RJ3ocKan4NekrN/O7qbBfobyBw91aKvGfwHUzCs0kVZNek3AgMBAAGjUjBQME4GA1UdAQRHMEWAEG34ZgwE5HRjrifRifoSvC2hHzAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnSCEHVKpLnZgF2ySC5/qw5sjpcwDQYJKoZIhvcNAQEEBQADgYEAUvVqnoCP2aHmI+9lJhaG2LDYdKEUs+POpFawQZABT4kkykKpxmfxzG3aEcA0eZ67MZ7gaJTuVo8wlGjv37cVODsRxeeo4XvcdcepYxnFUEgIkRaCDF0KKzu5jdSYaMshp16i4XlR4dl2mRhW/6H19FyjhCa6dEoIUxcDCrfrl80=\",\r\n \"createdTime\": \"2017-03-01T21:57:34.8645201Z\",\r\n \"changedTime\": \"2017-03-01T21:57:35.0018785Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4032/certificates/IntegrationAccountCertificate1394\",\r\n \"name\": \"IntegrationAccountCertificate1394\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/certificates\"\r\n}", - "ResponseHeaders": { + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ], + "Content-Length": [ + "1083" + ] + }, + "ResponseHeaders": { "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:34 GMT" + "Wed, 19 Sep 2018 22:51:51 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" - ], - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], "x-ms-request-id": [ - "westus:94938444-dc8a-4e0b-bb52-e201fee706d0" + "westus:05686746-fb0c-4647-a16a-47427c5c7c8a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1191" + "1195" ], "x-ms-correlation-request-id": [ - "f51ed7b1-24b3-4943-8208-baac5ec3b9ec" + "73a60825-dcd3-45d0-adc9-9704b57d49a3" ], "x-ms-routing-request-id": [ - "WESTUS2:20170301T215734Z:f51ed7b1-24b3-4943-8208-baac5ec3b9ec" + "WESTUS2:20180919T225152Z:73a60825-dcd3-45d0-adc9-9704b57d49a3" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "1434" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 200 + "ResponseBody": "{\r\n \"properties\": {\r\n \"key\": {\r\n \"keyVault\": {\r\n \"name\": \"AzureSdkTestKeyVault\",\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourcegroups/flowrg/providers/microsoft.keyvault/vaults/AzureSdkTestKeyVault\",\r\n \"type\": \"Microsoft.KeyVault/vaults\"\r\n },\r\n \"keyName\": \"PRIVATEKEY\",\r\n \"keyVersion\": \"87d9764197604449b9b8eb7bd8710868\"\r\n },\r\n \"publicCertificate\": \"MIICETCCAXqgAwIBAgIQdUqkudmAXbJILn+rDmyOlzANBgkqhkiG9w0BAQQFADAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwHhcNMTYwMzMwMjExMTQ5WhcNMzkxMjMxMjM1OTU5WjAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMY+zUpOLPysqXEVW+EVaf6RNHTPh/Vb6/YK68AgDyowtDzoY2HO1VzDZrZau//FR8VcZkyc5xAkD3shqQK6mFOoQs0DMjAWBGGRze44kSU1eRba+Uk2Gbaa9HUY4RJ3ocKan4NekrN/O7qbBfobyBw91aKvGfwHUzCs0kVZNek3AgMBAAGjUjBQME4GA1UdAQRHMEWAEG34ZgwE5HRjrifRifoSvC2hHzAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnSCEHVKpLnZgF2ySC5/qw5sjpcwDQYJKoZIhvcNAQEEBQADgYEAUvVqnoCP2aHmI+9lJhaG2LDYdKEUs+POpFawQZABT4kkykKpxmfxzG3aEcA0eZ67MZ7gaJTuVo8wlGjv37cVODsRxeeo4XvcdcepYxnFUEgIkRaCDF0KKzu5jdSYaMshp16i4XlR4dl2mRhW/6H19FyjhCa6dEoIUxcDCrfrl80=\",\r\n \"createdTime\": \"2018-09-19T22:51:52.4611786Z\",\r\n \"changedTime\": \"2018-09-19T22:51:52.4613379Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7538/certificates/IntegrationAccountCertificate7604\",\r\n \"name\": \"IntegrationAccountCertificate7604\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/certificates\"\r\n}", + "StatusCode": 201 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4032/certificates/IntegrationAccountCertificate1394?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NDAzMi9jZXJ0aWZpY2F0ZXMvSW50ZWdyYXRpb25BY2NvdW50Q2VydGlmaWNhdGUxMzk0P2FwaS12ZXJzaW9uPTIwMTYtMDYtMDE=", - "RequestMethod": "GET", - "RequestBody": "", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7538/certificates/IntegrationAccountCertificate7604?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NzUzOC9jZXJ0aWZpY2F0ZXMvSW50ZWdyYXRpb25BY2NvdW50Q2VydGlmaWNhdGU3NjA0P2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"key\": {\r\n \"keyVault\": {\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourcegroups/flowrg/providers/microsoft.keyvault/vaults/AzureSdkTestKeyVault\"\r\n },\r\n \"keyName\": \"PRIVATEKEY\",\r\n \"keyVersion\": \"87d9764197604449b9b8eb7bd8710868\"\r\n },\r\n \"publicCertificate\": \"MIICETCCAXqgAwIBAgIQdUqkudmAXbJILn+rDmyOlzANBgkqhkiG9w0BAQQFADAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwHhcNMTYwMzMwMjExMTQ5WhcNMzkxMjMxMjM1OTU5WjAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMY+zUpOLPysqXEVW+EVaf6RNHTPh/Vb6/YK68AgDyowtDzoY2HO1VzDZrZau//FR8VcZkyc5xAkD3shqQK6mFOoQs0DMjAWBGGRze44kSU1eRba+Uk2Gbaa9HUY4RJ3ocKan4NekrN/O7qbBfobyBw91aKvGfwHUzCs0kVZNek3AgMBAAGjUjBQME4GA1UdAQRHMEWAEG34ZgwE5HRjrifRifoSvC2hHzAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnSCEHVKpLnZgF2ySC5/qw5sjpcwDQYJKoZIhvcNAQEEBQADgYEAUvVqnoCP2aHmI+9lJhaG2LDYdKEUs+POpFawQZABT4kkykKpxmfxzG3aEcA0eZ67MZ7gaJTuVo8wlGjv37cVODsRxeeo4XvcdcepYxnFUEgIkRaCDF0KKzu5jdSYaMshp16i4XlR4dl2mRhW/6H19FyjhCa6dEoIUxcDCrfrl80=\"\r\n },\r\n \"location\": \"westus\"\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "3902633e-38d6-4346-b21e-5d3d5d9e6497" + "9dc236b6-57a8-49c1-abae-1d6a596694fa" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - //[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")] - "ResponseBody": "{\r\n \"properties\": {\r\n \"key\": {\r\n \"keyVault\": {\r\n \"name\": \"AzureSdkTestKeyVault\",\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourcegroups/flowrg/providers/microsoft.keyvault/vaults/AzureSdkTestKeyVault\",\r\n \"type\": \"Microsoft.KeyVault/vaults\"\r\n },\r\n \"keyName\": \"PRIVATEKEY\",\r\n \"keyVersion\": \"87d9764197604449b9b8eb7bd8710868\"\r\n },\r\n \"publicCertificate\": \"MIICETCCAXqgAwIBAgIQdUqkudmAXbJILn+rDmyOlzANBgkqhkiG9w0BAQQFADAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwHhcNMTYwMzMwMjExMTQ5WhcNMzkxMjMxMjM1OTU5WjAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMY+zUpOLPysqXEVW+EVaf6RNHTPh/Vb6/YK68AgDyowtDzoY2HO1VzDZrZau//FR8VcZkyc5xAkD3shqQK6mFOoQs0DMjAWBGGRze44kSU1eRba+Uk2Gbaa9HUY4RJ3ocKan4NekrN/O7qbBfobyBw91aKvGfwHUzCs0kVZNek3AgMBAAGjUjBQME4GA1UdAQRHMEWAEG34ZgwE5HRjrifRifoSvC2hHzAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnSCEHVKpLnZgF2ySC5/qw5sjpcwDQYJKoZIhvcNAQEEBQADgYEAUvVqnoCP2aHmI+9lJhaG2LDYdKEUs+POpFawQZABT4kkykKpxmfxzG3aEcA0eZ67MZ7gaJTuVo8wlGjv37cVODsRxeeo4XvcdcepYxnFUEgIkRaCDF0KKzu5jdSYaMshp16i4XlR4dl2mRhW/6H19FyjhCa6dEoIUxcDCrfrl80=\",\r\n \"createdTime\": \"2017-03-01T21:57:34.8645201Z\",\r\n \"changedTime\": \"2017-03-01T21:57:35.0018785Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4032/certificates/IntegrationAccountCertificate1394\",\r\n \"name\": \"IntegrationAccountCertificate1394\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/certificates\"\r\n}", - "ResponseHeaders": { + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ], + "Content-Length": [ + "1083" + ] + }, + "ResponseHeaders": { "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:34 GMT" + "Wed, 19 Sep 2018 22:51:51 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" - ], "Vary": [ - "Accept-Encoding", "Accept-Encoding" ], "x-ms-request-id": [ - "westus:3d614e6f-7cdf-460b-b6fc-a731e051602c" + "westus:d3c2252c-5018-4c1f-983b-9eb865d92a31" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14801" + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" ], "x-ms-correlation-request-id": [ - "69d99cea-c07c-4635-beec-990fe2c71197" + "2aa15f7f-0855-48ee-8ef1-a5c375edb15d" ], "x-ms-routing-request-id": [ - "WESTUS2:20170301T215735Z:69d99cea-c07c-4635-beec-990fe2c71197" + "WESTUS2:20180919T225152Z:2aa15f7f-0855-48ee-8ef1-a5c375edb15d" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "1434" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"key\": {\r\n \"keyVault\": {\r\n \"name\": \"AzureSdkTestKeyVault\",\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourcegroups/flowrg/providers/microsoft.keyvault/vaults/AzureSdkTestKeyVault\",\r\n \"type\": \"Microsoft.KeyVault/vaults\"\r\n },\r\n \"keyName\": \"PRIVATEKEY\",\r\n \"keyVersion\": \"87d9764197604449b9b8eb7bd8710868\"\r\n },\r\n \"publicCertificate\": \"MIICETCCAXqgAwIBAgIQdUqkudmAXbJILn+rDmyOlzANBgkqhkiG9w0BAQQFADAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwHhcNMTYwMzMwMjExMTQ5WhcNMzkxMjMxMjM1OTU5WjAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMY+zUpOLPysqXEVW+EVaf6RNHTPh/Vb6/YK68AgDyowtDzoY2HO1VzDZrZau//FR8VcZkyc5xAkD3shqQK6mFOoQs0DMjAWBGGRze44kSU1eRba+Uk2Gbaa9HUY4RJ3ocKan4NekrN/O7qbBfobyBw91aKvGfwHUzCs0kVZNek3AgMBAAGjUjBQME4GA1UdAQRHMEWAEG34ZgwE5HRjrifRifoSvC2hHzAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnSCEHVKpLnZgF2ySC5/qw5sjpcwDQYJKoZIhvcNAQEEBQADgYEAUvVqnoCP2aHmI+9lJhaG2LDYdKEUs+POpFawQZABT4kkykKpxmfxzG3aEcA0eZ67MZ7gaJTuVo8wlGjv37cVODsRxeeo4XvcdcepYxnFUEgIkRaCDF0KKzu5jdSYaMshp16i4XlR4dl2mRhW/6H19FyjhCa6dEoIUxcDCrfrl80=\",\r\n \"createdTime\": \"2018-09-19T22:51:52.4611786Z\",\r\n \"changedTime\": \"2018-09-19T22:51:52.6138815Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7538/certificates/IntegrationAccountCertificate7604\",\r\n \"name\": \"IntegrationAccountCertificate7604\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/certificates\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4032?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NDAzMj9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7538?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NzUzOD9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "fe2f234d-4946-4387-9b7d-d0e14574a1f6" + "9eaaf8fe-995d-46d9-bef0-a8deed166b2f" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ] }, - "ResponseBody": "", "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:34 GMT" + "Wed, 19 Sep 2018 22:51:52 GMT" ], "Pragma": [ "no-cache" ], "x-ms-request-id": [ - "westus:568fd098-217b-400b-8f1e-b3e9aec8e295" + "westus:9f306bfc-b7c4-4694-bede-7ae2d94aaad7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1190" + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14997" ], "x-ms-correlation-request-id": [ - "a686e05b-3f11-4b3a-9e5e-55718c08554d" + "5e4af460-920e-42f5-99fe-b2ce17525f12" ], "x-ms-routing-request-id": [ - "WESTUS2:20170301T215735Z:a686e05b-3f11-4b3a-9e5e-55718c08554d" + "WESTUS2:20180919T225153Z:5e4af460-920e-42f5-99fe-b2ce17525f12" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "", "StatusCode": 200 } ], "Names": { - "CreateAndUpdateIntegrationAccountCertificate": [ - "IntegrationAccount4032", - "IntegrationAccountCertificate1394" + "IntegrationAccountCertificates_Update_OK": [ + "IntegrationAccount7538", + "IntegrationAccountCertificate7604" ] }, "Variables": { diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountCertificateScenarioTests/ListIntegrationAccountCertificates.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountCertificateScenarioTests/ListIntegrationAccountCertificates.json deleted file mode 100644 index c823f822638b6..0000000000000 --- a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountCertificateScenarioTests/ListIntegrationAccountCertificates.json +++ /dev/null @@ -1,249 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount163?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTYzP2FwaS12ZXJzaW9uPTIwMTYtMDYtMDE=", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "91" - ], - "x-ms-client-request-id": [ - "427264c3-7993-4e85-aac8-ef7c071ad419" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount163\",\r\n \"name\": \"IntegrationAccount163\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "288" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:57:36 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:1b9d6888-e8ba-4a1c-8f9a-4b65b5572956" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1190" - ], - "x-ms-correlation-request-id": [ - "2490317e-96e5-4635-88ed-77b3e35f661e" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215736Z:2490317e-96e5-4635-88ed-77b3e35f661e" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount163/certificates/IntegrationAccountCertificate8356?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTYzL2NlcnRpZmljYXRlcy9JbnRlZ3JhdGlvbkFjY291bnRDZXJ0aWZpY2F0ZTgzNTY/YXBpLXZlcnNpb249MjAxNi0wNi0wMQ==", - "RequestMethod": "PUT", - //[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")] - "RequestBody": "{\r\n \"properties\": {\r\n \"key\": {\r\n \"keyVault\": {\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourcegroups/flowrg/providers/microsoft.keyvault/vaults/AzureSdkTestKeyVault\"\r\n },\r\n \"keyName\": \"PRIVATEKEY\",\r\n \"keyVersion\": \"87d9764197604449b9b8eb7bd8710868\"\r\n },\r\n \"publicCertificate\": \"MIICETCCAXqgAwIBAgIQdUqkudmAXbJILn+rDmyOlzANBgkqhkiG9w0BAQQFADAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwHhcNMTYwMzMwMjExMTQ5WhcNMzkxMjMxMjM1OTU5WjAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMY+zUpOLPysqXEVW+EVaf6RNHTPh/Vb6/YK68AgDyowtDzoY2HO1VzDZrZau//FR8VcZkyc5xAkD3shqQK6mFOoQs0DMjAWBGGRze44kSU1eRba+Uk2Gbaa9HUY4RJ3ocKan4NekrN/O7qbBfobyBw91aKvGfwHUzCs0kVZNek3AgMBAAGjUjBQME4GA1UdAQRHMEWAEG34ZgwE5HRjrifRifoSvC2hHzAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnSCEHVKpLnZgF2ySC5/qw5sjpcwDQYJKoZIhvcNAQEEBQADgYEAUvVqnoCP2aHmI+9lJhaG2LDYdKEUs+POpFawQZABT4kkykKpxmfxzG3aEcA0eZ67MZ7gaJTuVo8wlGjv37cVODsRxeeo4XvcdcepYxnFUEgIkRaCDF0KKzu5jdSYaMshp16i4XlR4dl2mRhW/6H19FyjhCa6dEoIUxcDCrfrl80=\"\r\n },\r\n \"location\": \"brazilsouth\"\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "1088" - ], - "x-ms-client-request-id": [ - "f816e07a-c942-42dc-a8f9-9018d964e49d" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - //[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")] - "ResponseBody": "{\r\n \"properties\": {\r\n \"key\": {\r\n \"keyVault\": {\r\n \"name\": \"AzureSdkTestKeyVault\",\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourcegroups/flowrg/providers/microsoft.keyvault/vaults/AzureSdkTestKeyVault\",\r\n \"type\": \"Microsoft.KeyVault/vaults\"\r\n },\r\n \"keyName\": \"PRIVATEKEY\",\r\n \"keyVersion\": \"87d9764197604449b9b8eb7bd8710868\"\r\n },\r\n \"publicCertificate\": \"MIICETCCAXqgAwIBAgIQdUqkudmAXbJILn+rDmyOlzANBgkqhkiG9w0BAQQFADAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwHhcNMTYwMzMwMjExMTQ5WhcNMzkxMjMxMjM1OTU5WjAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMY+zUpOLPysqXEVW+EVaf6RNHTPh/Vb6/YK68AgDyowtDzoY2HO1VzDZrZau//FR8VcZkyc5xAkD3shqQK6mFOoQs0DMjAWBGGRze44kSU1eRba+Uk2Gbaa9HUY4RJ3ocKan4NekrN/O7qbBfobyBw91aKvGfwHUzCs0kVZNek3AgMBAAGjUjBQME4GA1UdAQRHMEWAEG34ZgwE5HRjrifRifoSvC2hHzAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnSCEHVKpLnZgF2ySC5/qw5sjpcwDQYJKoZIhvcNAQEEBQADgYEAUvVqnoCP2aHmI+9lJhaG2LDYdKEUs+POpFawQZABT4kkykKpxmfxzG3aEcA0eZ67MZ7gaJTuVo8wlGjv37cVODsRxeeo4XvcdcepYxnFUEgIkRaCDF0KKzu5jdSYaMshp16i4XlR4dl2mRhW/6H19FyjhCa6dEoIUxcDCrfrl80=\",\r\n \"createdTime\": \"2017-03-01T21:57:37.107029Z\",\r\n \"changedTime\": \"2017-03-01T21:57:37.1072587Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount163/certificates/IntegrationAccountCertificate8356\",\r\n \"name\": \"IntegrationAccountCertificate8356\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/certificates\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "1432" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:57:36 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:c4696d1b-041d-43fb-9b52-6d8e244301ae" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1189" - ], - "x-ms-correlation-request-id": [ - "56116235-4b68-408b-9c01-8cdbc3b4283f" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215737Z:56116235-4b68-408b-9c01-8cdbc3b4283f" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount163/certificates?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTYzL2NlcnRpZmljYXRlcz9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "e91da30a-c3ef-4103-90a9-3c7ce58cb464" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - //[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")] - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"key\": {\r\n \"keyVault\": {\r\n \"name\": \"AzureSdkTestKeyVault\",\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourcegroups/flowrg/providers/microsoft.keyvault/vaults/AzureSdkTestKeyVault\",\r\n \"type\": \"Microsoft.KeyVault/vaults\"\r\n },\r\n \"keyName\": \"PRIVATEKEY\",\r\n \"keyVersion\": \"87d9764197604449b9b8eb7bd8710868\"\r\n },\r\n \"publicCertificate\": \"MIICETCCAXqgAwIBAgIQdUqkudmAXbJILn+rDmyOlzANBgkqhkiG9w0BAQQFADAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwHhcNMTYwMzMwMjExMTQ5WhcNMzkxMjMxMjM1OTU5WjAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMY+zUpOLPysqXEVW+EVaf6RNHTPh/Vb6/YK68AgDyowtDzoY2HO1VzDZrZau//FR8VcZkyc5xAkD3shqQK6mFOoQs0DMjAWBGGRze44kSU1eRba+Uk2Gbaa9HUY4RJ3ocKan4NekrN/O7qbBfobyBw91aKvGfwHUzCs0kVZNek3AgMBAAGjUjBQME4GA1UdAQRHMEWAEG34ZgwE5HRjrifRifoSvC2hHzAdMRswGQYDVQQDExJJbnRlZ3JhdGlvbkFjY291bnSCEHVKpLnZgF2ySC5/qw5sjpcwDQYJKoZIhvcNAQEEBQADgYEAUvVqnoCP2aHmI+9lJhaG2LDYdKEUs+POpFawQZABT4kkykKpxmfxzG3aEcA0eZ67MZ7gaJTuVo8wlGjv37cVODsRxeeo4XvcdcepYxnFUEgIkRaCDF0KKzu5jdSYaMshp16i4XlR4dl2mRhW/6H19FyjhCa6dEoIUxcDCrfrl80=\",\r\n \"createdTime\": \"2017-03-01T21:57:37.107029Z\",\r\n \"changedTime\": \"2017-03-01T21:57:37.1072587Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount163/certificates/IntegrationAccountCertificate8356\",\r\n \"name\": \"IntegrationAccountCertificate8356\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/certificates\"\r\n }\r\n ]\r\n}", - "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:57:37 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], - "x-ms-request-id": [ - "westus:f241c4cd-32b1-4c39-b5cc-b147d41d84a8" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14495" - ], - "x-ms-correlation-request-id": [ - "8c9a07fd-fa24-453a-aa67-11d62cf62d90" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215737Z:8c9a07fd-fa24-453a-aa67-11d62cf62d90" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount163?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTYzP2FwaS12ZXJzaW9uPTIwMTYtMDYtMDE=", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "da15c63e-e192-4696-8d66-ce182fbf881e" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:57:37 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:56100de9-ca34-480f-bc25-e03f98f9f563" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1188" - ], - "x-ms-correlation-request-id": [ - "28c354b4-d7ae-49aa-81df-d283eff11220" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215737Z:28c354b4-d7ae-49aa-81df-d283eff11220" - ] - }, - "StatusCode": 200 - } - ], - "Names": { - "ListIntegrationAccountCertificates": [ - "IntegrationAccount163", - "IntegrationAccountCertificate8356" - ] - }, - "Variables": { - "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" - } -} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountMapScenarioTests/CreateAndDeleteIntegrationAccountMap.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountMapScenarioTests/CreateAndDeleteIntegrationAccountMap.json deleted file mode 100644 index 1de316e168f1c..0000000000000 --- a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountMapScenarioTests/CreateAndDeleteIntegrationAccountMap.json +++ /dev/null @@ -1,239 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5886?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NTg4Nj9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "91" - ], - "x-ms-client-request-id": [ - "29d27916-36dc-4245-a985-46c997310429" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5886\",\r\n \"name\": \"IntegrationAccount5886\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "290" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:58:16 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:7339a66f-e0f3-496e-8d74-7141215f1f44" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1197" - ], - "x-ms-correlation-request-id": [ - "e368f20d-3e0b-4b01-8dd1-cea904b4f02c" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215817Z:e368f20d-3e0b-4b01-8dd1-cea904b4f02c" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5886/maps/IntegrationAccountMap1839?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NTg4Ni9tYXBzL0ludGVncmF0aW9uQWNjb3VudE1hcDE4Mzk/YXBpLXZlcnNpb249MjAxNi0wNi0wMQ==", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"mapType\": \"Xslt\",\r\n \"content\": \"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-16\\\"?>\\r\\n<xsl:stylesheet xmlns:xsl=\\\"http://www.w3.org/1999/XSL/Transform\\\" xmlns:msxsl=\\\"urn:schemas-microsoft-com:xslt\\\" xmlns:var=\\\"http://schemas.microsoft.com/BizTalk/2003/var\\\" exclude-result-prefixes=\\\"msxsl var s0 userCSharp\\\" version=\\\"1.0\\\" xmlns:ns0=\\\"http://BizTalk_Server_Project4.StringFunctoidsDestinationSchema\\\" xmlns:s0=\\\"http://BizTalk_Server_Project4.StringFunctoidsSourceSchema\\\" xmlns:userCSharp=\\\"http://schemas.microsoft.com/BizTalk/2003/userCSharp\\\">\\r\\n <xsl:import href=\\\"http://btsfunctoids.blob.core.windows.net/functoids/functoids.xslt\\\" />\\r\\n <xsl:output omit-xml-declaration=\\\"yes\\\" method=\\\"xml\\\" version=\\\"1.0\\\" />\\r\\n <xsl:template match=\\\"/\\\">\\r\\n <xsl:apply-templates select=\\\"/s0:Root\\\" />\\r\\n </xsl:template>\\r\\n <xsl:template match=\\\"/s0:Root\\\">\\r\\n <xsl:variable name=\\\"var:v1\\\" select=\\\"userCSharp:StringFind(string(StringFindSource/text()) , "SearchString")\\\" />\\r\\n <xsl:variable name=\\\"var:v2\\\" select=\\\"userCSharp:StringLeft(string(StringLeftSource/text()) , "2")\\\" />\\r\\n <xsl:variable name=\\\"var:v3\\\" select=\\\"userCSharp:StringRight(string(StringRightSource/text()) , "2")\\\" />\\r\\n <xsl:variable name=\\\"var:v4\\\" select=\\\"userCSharp:StringUpperCase(string(UppercaseSource/text()))\\\" />\\r\\n <xsl:variable name=\\\"var:v5\\\" select=\\\"userCSharp:StringLowerCase(string(LowercaseSource/text()))\\\" />\\r\\n <xsl:variable name=\\\"var:v6\\\" select=\\\"userCSharp:StringSize(string(SizeSource/text()))\\\" />\\r\\n <xsl:variable name=\\\"var:v7\\\" select=\\\"userCSharp:StringSubstring(string(StringExtractSource/text()) , "0" , "2")\\\" />\\r\\n <xsl:variable name=\\\"var:v8\\\" select=\\\"userCSharp:StringConcat(string(StringConcatSource/text()))\\\" />\\r\\n <xsl:variable name=\\\"var:v9\\\" select=\\\"userCSharp:StringTrimLeft(string(StringLeftTrimSource/text()))\\\" />\\r\\n <xsl:variable name=\\\"var:v10\\\" select=\\\"userCSharp:StringTrimRight(string(StringRightTrimSource/text()))\\\" />\\r\\n <ns0:Root>\\r\\n <StringFindDestination>\\r\\n <xsl:value-of select=\\\"$var:v1\\\" />\\r\\n </StringFindDestination>\\r\\n <StringLeftDestination>\\r\\n <xsl:value-of select=\\\"$var:v2\\\" />\\r\\n </StringLeftDestination>\\r\\n <StringRightDestination>\\r\\n <xsl:value-of select=\\\"$var:v3\\\" />\\r\\n </StringRightDestination>\\r\\n <UppercaseDestination>\\r\\n <xsl:value-of select=\\\"$var:v4\\\" />\\r\\n </UppercaseDestination>\\r\\n <LowercaseDestination>\\r\\n <xsl:value-of select=\\\"$var:v5\\\" />\\r\\n </LowercaseDestination>\\r\\n <SizeDestination>\\r\\n <xsl:value-of select=\\\"$var:v6\\\" />\\r\\n </SizeDestination>\\r\\n <StringExtractDestination>\\r\\n <xsl:value-of select=\\\"$var:v7\\\" />\\r\\n </StringExtractDestination>\\r\\n <StringConcatDestination>\\r\\n <xsl:value-of select=\\\"$var:v8\\\" />\\r\\n </StringConcatDestination>\\r\\n <StringLeftTrimDestination>\\r\\n <xsl:value-of select=\\\"$var:v9\\\" />\\r\\n </StringLeftTrimDestination>\\r\\n <StringRightTrimDestination>\\r\\n <xsl:value-of select=\\\"$var:v10\\\" />\\r\\n </StringRightTrimDestination>\\r\\n </ns0:Root>\\r\\n </xsl:template>\\r\\n</xsl:stylesheet>\",\r\n \"contentType\": \"application/xml\",\r\n \"metadata\": \"IntegrationAccountMap1839\"\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"integrationAccountMapName\": \"IntegrationAccountMap1839\"\r\n }\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "3514" - ], - "x-ms-client-request-id": [ - "85d177e9-c8cf-4d8b-8abb-0ef5e4745c73" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"mapType\": \"Xslt\",\r\n \"contentLink\": {\r\n \"uri\": \"https://flowprodcu24by01.blob.core.windows.net/integrationaccounts751ce794eda349c7b83b7a1bef197283/99D1E_XSLT_INTEGRATIONACCOUNTMAP1839-3B3C7852A5B44ACA9AFD8A333D747190?sv=2016-05-31&sr=b&sig=FjS%2FoBHo3uHjZNBdwvbrRU%2BfuMmbDvLi1cqiqo1TsWg%3D&se=2017-03-02T01%3A58%3A17Z&sp=r\",\r\n \"contentVersion\": \"\\\"0x8D460EE1163FA9B\\\"\",\r\n \"contentSize\": 3056,\r\n \"contentHash\": {\r\n \"algorithm\": \"md5\",\r\n \"value\": \"A2avz/M0ov2FPI3+Je8vDw==\"\r\n }\r\n },\r\n \"createdTime\": \"2017-03-01T21:58:17.7619529Z\",\r\n \"changedTime\": \"2017-03-01T21:58:17.7623224Z\",\r\n \"metadata\": \"IntegrationAccountMap1839\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5886/maps/IntegrationAccountMap1839\",\r\n \"name\": \"IntegrationAccountMap1839\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/maps\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "857" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:58:16 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:78d320eb-bb5f-4b9b-aba7-965c9fd42a00" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1196" - ], - "x-ms-correlation-request-id": [ - "37672ae1-e707-4310-93f5-4a99cdc9b1e6" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215817Z:37672ae1-e707-4310-93f5-4a99cdc9b1e6" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5886/maps/IntegrationAccountMap1839?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NTg4Ni9tYXBzL0ludGVncmF0aW9uQWNjb3VudE1hcDE4Mzk/YXBpLXZlcnNpb249MjAxNi0wNi0wMQ==", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "dec70e39-7be7-4eda-9cad-314c2df25301" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:58:17 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:fc7f632c-5449-409f-a538-8041fd3895c4" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1195" - ], - "x-ms-correlation-request-id": [ - "a640cf29-2491-4721-8813-4c9e252b6bed" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215817Z:a640cf29-2491-4721-8813-4c9e252b6bed" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5886?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NTg4Nj9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "84e4da92-fa06-44b6-9c6e-7d5ab500bdc6" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:58:17 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:11911bb0-1647-49b4-8592-3e34e089ff6d" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1194" - ], - "x-ms-correlation-request-id": [ - "0e36d1e7-d3d3-4b88-889b-5825f7b4baa8" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215818Z:0e36d1e7-d3d3-4b88-889b-5825f7b4baa8" - ] - }, - "StatusCode": 200 - } - ], - "Names": { - "CreateAndDeleteIntegrationAccountMap": [ - "IntegrationAccount5886", - "IntegrationAccountMap1839" - ] - }, - "Variables": { - "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" - } -} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountMapScenarioTests/CreateAndGetIntegrationAccountMap.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountMapScenarioTests/CreateAndGetIntegrationAccountMap.json deleted file mode 100644 index c433008f5a62c..0000000000000 --- a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountMapScenarioTests/CreateAndGetIntegrationAccountMap.json +++ /dev/null @@ -1,246 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1655?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTY1NT9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "91" - ], - "x-ms-client-request-id": [ - "83768a9c-92a9-4408-a562-88b9d5dcc7ba" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1655\",\r\n \"name\": \"IntegrationAccount1655\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "290" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:58:26 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:f5ebb381-1242-40f5-ac74-353ba6e30398" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1196" - ], - "x-ms-correlation-request-id": [ - "90537705-4865-4be1-9388-2eaf8fe2f7c6" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20170301T215827Z:90537705-4865-4be1-9388-2eaf8fe2f7c6" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1655/maps/IntegrationAccountMap9146?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTY1NS9tYXBzL0ludGVncmF0aW9uQWNjb3VudE1hcDkxNDY/YXBpLXZlcnNpb249MjAxNi0wNi0wMQ==", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"mapType\": \"Xslt\",\r\n \"content\": \"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-16\\\"?>\\r\\n<xsl:stylesheet xmlns:xsl=\\\"http://www.w3.org/1999/XSL/Transform\\\" xmlns:msxsl=\\\"urn:schemas-microsoft-com:xslt\\\" xmlns:var=\\\"http://schemas.microsoft.com/BizTalk/2003/var\\\" exclude-result-prefixes=\\\"msxsl var s0 userCSharp\\\" version=\\\"1.0\\\" xmlns:ns0=\\\"http://BizTalk_Server_Project4.StringFunctoidsDestinationSchema\\\" xmlns:s0=\\\"http://BizTalk_Server_Project4.StringFunctoidsSourceSchema\\\" xmlns:userCSharp=\\\"http://schemas.microsoft.com/BizTalk/2003/userCSharp\\\">\\r\\n <xsl:import href=\\\"http://btsfunctoids.blob.core.windows.net/functoids/functoids.xslt\\\" />\\r\\n <xsl:output omit-xml-declaration=\\\"yes\\\" method=\\\"xml\\\" version=\\\"1.0\\\" />\\r\\n <xsl:template match=\\\"/\\\">\\r\\n <xsl:apply-templates select=\\\"/s0:Root\\\" />\\r\\n </xsl:template>\\r\\n <xsl:template match=\\\"/s0:Root\\\">\\r\\n <xsl:variable name=\\\"var:v1\\\" select=\\\"userCSharp:StringFind(string(StringFindSource/text()) , "SearchString")\\\" />\\r\\n <xsl:variable name=\\\"var:v2\\\" select=\\\"userCSharp:StringLeft(string(StringLeftSource/text()) , "2")\\\" />\\r\\n <xsl:variable name=\\\"var:v3\\\" select=\\\"userCSharp:StringRight(string(StringRightSource/text()) , "2")\\\" />\\r\\n <xsl:variable name=\\\"var:v4\\\" select=\\\"userCSharp:StringUpperCase(string(UppercaseSource/text()))\\\" />\\r\\n <xsl:variable name=\\\"var:v5\\\" select=\\\"userCSharp:StringLowerCase(string(LowercaseSource/text()))\\\" />\\r\\n <xsl:variable name=\\\"var:v6\\\" select=\\\"userCSharp:StringSize(string(SizeSource/text()))\\\" />\\r\\n <xsl:variable name=\\\"var:v7\\\" select=\\\"userCSharp:StringSubstring(string(StringExtractSource/text()) , "0" , "2")\\\" />\\r\\n <xsl:variable name=\\\"var:v8\\\" select=\\\"userCSharp:StringConcat(string(StringConcatSource/text()))\\\" />\\r\\n <xsl:variable name=\\\"var:v9\\\" select=\\\"userCSharp:StringTrimLeft(string(StringLeftTrimSource/text()))\\\" />\\r\\n <xsl:variable name=\\\"var:v10\\\" select=\\\"userCSharp:StringTrimRight(string(StringRightTrimSource/text()))\\\" />\\r\\n <ns0:Root>\\r\\n <StringFindDestination>\\r\\n <xsl:value-of select=\\\"$var:v1\\\" />\\r\\n </StringFindDestination>\\r\\n <StringLeftDestination>\\r\\n <xsl:value-of select=\\\"$var:v2\\\" />\\r\\n </StringLeftDestination>\\r\\n <StringRightDestination>\\r\\n <xsl:value-of select=\\\"$var:v3\\\" />\\r\\n </StringRightDestination>\\r\\n <UppercaseDestination>\\r\\n <xsl:value-of select=\\\"$var:v4\\\" />\\r\\n </UppercaseDestination>\\r\\n <LowercaseDestination>\\r\\n <xsl:value-of select=\\\"$var:v5\\\" />\\r\\n </LowercaseDestination>\\r\\n <SizeDestination>\\r\\n <xsl:value-of select=\\\"$var:v6\\\" />\\r\\n </SizeDestination>\\r\\n <StringExtractDestination>\\r\\n <xsl:value-of select=\\\"$var:v7\\\" />\\r\\n </StringExtractDestination>\\r\\n <StringConcatDestination>\\r\\n <xsl:value-of select=\\\"$var:v8\\\" />\\r\\n </StringConcatDestination>\\r\\n <StringLeftTrimDestination>\\r\\n <xsl:value-of select=\\\"$var:v9\\\" />\\r\\n </StringLeftTrimDestination>\\r\\n <StringRightTrimDestination>\\r\\n <xsl:value-of select=\\\"$var:v10\\\" />\\r\\n </StringRightTrimDestination>\\r\\n </ns0:Root>\\r\\n </xsl:template>\\r\\n</xsl:stylesheet>\",\r\n \"contentType\": \"application/xml\",\r\n \"metadata\": \"IntegrationAccountMap9146\"\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"integrationAccountMapName\": \"IntegrationAccountMap9146\"\r\n }\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "3514" - ], - "x-ms-client-request-id": [ - "429e85af-708f-418d-bf6f-3cfd1caf0bab" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"mapType\": \"Xslt\",\r\n \"contentLink\": {\r\n \"uri\": \"https://flowprodcu25by01.blob.core.windows.net/integrationaccounts5950624d0c864afb86ca4fd38ba74bec/99D1E_XSLT_INTEGRATIONACCOUNTMAP9146-E371432942204EDCB872C98BC1B3445A?sv=2016-05-31&sr=b&sig=2GN45W6NpiU32mV4VH4WuvkUPMQIFWeLs1XTF7LUV0w%3D&se=2017-03-02T01%3A58%3A28Z&sp=r\",\r\n \"contentVersion\": \"\\\"0x8D460EE17FB971D\\\"\",\r\n \"contentSize\": 3056,\r\n \"contentHash\": {\r\n \"algorithm\": \"md5\",\r\n \"value\": \"A2avz/M0ov2FPI3+Je8vDw==\"\r\n }\r\n },\r\n \"createdTime\": \"2017-03-01T21:58:28.4738225Z\",\r\n \"changedTime\": \"2017-03-01T21:58:28.4742472Z\",\r\n \"metadata\": \"IntegrationAccountMap9146\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1655/maps/IntegrationAccountMap9146\",\r\n \"name\": \"IntegrationAccountMap9146\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/maps\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "853" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:58:27 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:ec7b8213-37db-4a8a-9f92-c665120f9c6c" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1195" - ], - "x-ms-correlation-request-id": [ - "20447585-c4cf-407f-a67e-a5a105780713" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20170301T215828Z:20447585-c4cf-407f-a67e-a5a105780713" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1655/maps/IntegrationAccountMap9146?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTY1NS9tYXBzL0ludGVncmF0aW9uQWNjb3VudE1hcDkxNDY/YXBpLXZlcnNpb249MjAxNi0wNi0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "520aea54-90be-49e0-ae0e-9342315981ae" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"mapType\": \"Xslt\",\r\n \"contentLink\": {\r\n \"uri\": \"https://flowprodcu25by01.blob.core.windows.net/integrationaccounts5950624d0c864afb86ca4fd38ba74bec/99D1E_XSLT_INTEGRATIONACCOUNTMAP9146-E371432942204EDCB872C98BC1B3445A?sv=2016-05-31&sr=b&sig=2GN45W6NpiU32mV4VH4WuvkUPMQIFWeLs1XTF7LUV0w%3D&se=2017-03-02T01%3A58%3A28Z&sp=r\",\r\n \"contentVersion\": \"\\\"0x8D460EE17FB971D\\\"\",\r\n \"contentSize\": 3056,\r\n \"contentHash\": {\r\n \"algorithm\": \"md5\",\r\n \"value\": \"A2avz/M0ov2FPI3+Je8vDw==\"\r\n }\r\n },\r\n \"createdTime\": \"2017-03-01T21:58:28.4738225Z\",\r\n \"changedTime\": \"2017-03-01T21:58:28.4742472Z\",\r\n \"metadata\": \"IntegrationAccountMap9146\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1655/maps/IntegrationAccountMap9146\",\r\n \"name\": \"IntegrationAccountMap9146\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/maps\"\r\n}", - "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:58:27 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], - "x-ms-request-id": [ - "westus:5e1c1fbf-84dc-4889-bdae-79f7dd6ac9f8" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14922" - ], - "x-ms-correlation-request-id": [ - "1577fc45-66c8-4647-9d64-be651ee6ef3a" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20170301T215828Z:1577fc45-66c8-4647-9d64-be651ee6ef3a" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1655?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTY1NT9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "b127d1ea-2010-4774-8c18-d1a02e7334c4" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:58:28 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:7983cf24-b90f-413d-ac7a-f1a4d2431a99" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1194" - ], - "x-ms-correlation-request-id": [ - "ef80b3b4-1fdd-4435-9bf4-1a649103c57d" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20170301T215829Z:ef80b3b4-1fdd-4435-9bf4-1a649103c57d" - ] - }, - "StatusCode": 200 - } - ], - "Names": { - "CreateAndGetIntegrationAccountMap": [ - "IntegrationAccount1655", - "IntegrationAccountMap9146" - ] - }, - "Variables": { - "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" - } -} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountMapScenarioTests/CreateAndUpdateIntegrationAccountMap.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountMapScenarioTests/CreateAndUpdateIntegrationAccountMap.json deleted file mode 100644 index a3c71988170b4..0000000000000 --- a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountMapScenarioTests/CreateAndUpdateIntegrationAccountMap.json +++ /dev/null @@ -1,311 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount682?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NjgyP2FwaS12ZXJzaW9uPTIwMTYtMDYtMDE=", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "91" - ], - "x-ms-client-request-id": [ - "f5817f26-2bcc-45c9-afdc-f054256ed890" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount682\",\r\n \"name\": \"IntegrationAccount682\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "288" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:58:10 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:a271a5d9-c95c-4aa6-9a2f-9a544c4237d2" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1195" - ], - "x-ms-correlation-request-id": [ - "d515a2a8-23aa-40a7-9f01-97f5cfaf9960" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215811Z:d515a2a8-23aa-40a7-9f01-97f5cfaf9960" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount682/maps/IntegrationAccountMap9506?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NjgyL21hcHMvSW50ZWdyYXRpb25BY2NvdW50TWFwOTUwNj9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"mapType\": \"Xslt\",\r\n \"content\": \"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-16\\\"?>\\r\\n<xsl:stylesheet xmlns:xsl=\\\"http://www.w3.org/1999/XSL/Transform\\\" xmlns:msxsl=\\\"urn:schemas-microsoft-com:xslt\\\" xmlns:var=\\\"http://schemas.microsoft.com/BizTalk/2003/var\\\" exclude-result-prefixes=\\\"msxsl var s0 userCSharp\\\" version=\\\"1.0\\\" xmlns:ns0=\\\"http://BizTalk_Server_Project4.StringFunctoidsDestinationSchema\\\" xmlns:s0=\\\"http://BizTalk_Server_Project4.StringFunctoidsSourceSchema\\\" xmlns:userCSharp=\\\"http://schemas.microsoft.com/BizTalk/2003/userCSharp\\\">\\r\\n <xsl:import href=\\\"http://btsfunctoids.blob.core.windows.net/functoids/functoids.xslt\\\" />\\r\\n <xsl:output omit-xml-declaration=\\\"yes\\\" method=\\\"xml\\\" version=\\\"1.0\\\" />\\r\\n <xsl:template match=\\\"/\\\">\\r\\n <xsl:apply-templates select=\\\"/s0:Root\\\" />\\r\\n </xsl:template>\\r\\n <xsl:template match=\\\"/s0:Root\\\">\\r\\n <xsl:variable name=\\\"var:v1\\\" select=\\\"userCSharp:StringFind(string(StringFindSource/text()) , "SearchString")\\\" />\\r\\n <xsl:variable name=\\\"var:v2\\\" select=\\\"userCSharp:StringLeft(string(StringLeftSource/text()) , "2")\\\" />\\r\\n <xsl:variable name=\\\"var:v3\\\" select=\\\"userCSharp:StringRight(string(StringRightSource/text()) , "2")\\\" />\\r\\n <xsl:variable name=\\\"var:v4\\\" select=\\\"userCSharp:StringUpperCase(string(UppercaseSource/text()))\\\" />\\r\\n <xsl:variable name=\\\"var:v5\\\" select=\\\"userCSharp:StringLowerCase(string(LowercaseSource/text()))\\\" />\\r\\n <xsl:variable name=\\\"var:v6\\\" select=\\\"userCSharp:StringSize(string(SizeSource/text()))\\\" />\\r\\n <xsl:variable name=\\\"var:v7\\\" select=\\\"userCSharp:StringSubstring(string(StringExtractSource/text()) , "0" , "2")\\\" />\\r\\n <xsl:variable name=\\\"var:v8\\\" select=\\\"userCSharp:StringConcat(string(StringConcatSource/text()))\\\" />\\r\\n <xsl:variable name=\\\"var:v9\\\" select=\\\"userCSharp:StringTrimLeft(string(StringLeftTrimSource/text()))\\\" />\\r\\n <xsl:variable name=\\\"var:v10\\\" select=\\\"userCSharp:StringTrimRight(string(StringRightTrimSource/text()))\\\" />\\r\\n <ns0:Root>\\r\\n <StringFindDestination>\\r\\n <xsl:value-of select=\\\"$var:v1\\\" />\\r\\n </StringFindDestination>\\r\\n <StringLeftDestination>\\r\\n <xsl:value-of select=\\\"$var:v2\\\" />\\r\\n </StringLeftDestination>\\r\\n <StringRightDestination>\\r\\n <xsl:value-of select=\\\"$var:v3\\\" />\\r\\n </StringRightDestination>\\r\\n <UppercaseDestination>\\r\\n <xsl:value-of select=\\\"$var:v4\\\" />\\r\\n </UppercaseDestination>\\r\\n <LowercaseDestination>\\r\\n <xsl:value-of select=\\\"$var:v5\\\" />\\r\\n </LowercaseDestination>\\r\\n <SizeDestination>\\r\\n <xsl:value-of select=\\\"$var:v6\\\" />\\r\\n </SizeDestination>\\r\\n <StringExtractDestination>\\r\\n <xsl:value-of select=\\\"$var:v7\\\" />\\r\\n </StringExtractDestination>\\r\\n <StringConcatDestination>\\r\\n <xsl:value-of select=\\\"$var:v8\\\" />\\r\\n </StringConcatDestination>\\r\\n <StringLeftTrimDestination>\\r\\n <xsl:value-of select=\\\"$var:v9\\\" />\\r\\n </StringLeftTrimDestination>\\r\\n <StringRightTrimDestination>\\r\\n <xsl:value-of select=\\\"$var:v10\\\" />\\r\\n </StringRightTrimDestination>\\r\\n </ns0:Root>\\r\\n </xsl:template>\\r\\n</xsl:stylesheet>\",\r\n \"contentType\": \"application/xml\",\r\n \"metadata\": \"IntegrationAccountMap9506\"\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"integrationAccountMapName\": \"IntegrationAccountMap9506\"\r\n }\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "3514" - ], - "x-ms-client-request-id": [ - "edbfed00-1761-4cd3-9b3d-83cbda1b260d" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"mapType\": \"Xslt\",\r\n \"contentLink\": {\r\n \"uri\": \"https://flowprodcu02by01.blob.core.windows.net/integrationaccountsbe15343620194450bdd61ddfb246db11/99D1E_XSLT_INTEGRATIONACCOUNTMAP9506-AC093AB1C1CF426FA10E411CCAAFF767?sv=2016-05-31&sr=b&sig=tB%2FrBQgR7XCZi8ap6bYaNs47B2L3CYxu9R%2BQYtJUzmw%3D&se=2017-03-02T01%3A58%3A11Z&sp=r\",\r\n \"contentVersion\": \"\\\"0x8D460EE0E0A287F\\\"\",\r\n \"contentSize\": 3056,\r\n \"contentHash\": {\r\n \"algorithm\": \"md5\",\r\n \"value\": \"A2avz/M0ov2FPI3+Je8vDw==\"\r\n }\r\n },\r\n \"createdTime\": \"2017-03-01T21:58:11.9542071Z\",\r\n \"changedTime\": \"2017-03-01T21:58:11.9545806Z\",\r\n \"metadata\": \"IntegrationAccountMap9506\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount682/maps/IntegrationAccountMap9506\",\r\n \"name\": \"IntegrationAccountMap9506\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/maps\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "856" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:58:11 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:9f7d1879-2adf-4130-9694-8b08cf1ac478" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1194" - ], - "x-ms-correlation-request-id": [ - "c76d9342-93a5-4812-a346-ecf6b4e66f71" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215812Z:c76d9342-93a5-4812-a346-ecf6b4e66f71" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount682/maps/IntegrationAccountMap9506?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NjgyL21hcHMvSW50ZWdyYXRpb25BY2NvdW50TWFwOTUwNj9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"mapType\": \"Xslt\",\r\n \"content\": \"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-16\\\"?>\\r\\n<xsl:stylesheet xmlns:xsl=\\\"http://www.w3.org/1999/XSL/Transform\\\" xmlns:msxsl=\\\"urn:schemas-microsoft-com:xslt\\\" xmlns:var=\\\"http://schemas.microsoft.com/BizTalk/2003/var\\\" exclude-result-prefixes=\\\"msxsl var s0 userCSharp\\\" version=\\\"1.0\\\" xmlns:ns0=\\\"http://BizTalk_Server_Project4.StringFunctoidsDestinationSchema\\\" xmlns:s0=\\\"http://BizTalk_Server_Project4.StringFunctoidsSourceSchema\\\" xmlns:userCSharp=\\\"http://schemas.microsoft.com/BizTalk/2003/userCSharp\\\">\\r\\n <xsl:import href=\\\"http://btsfunctoids.blob.core.windows.net/functoids/functoids.xslt\\\" />\\r\\n <xsl:output omit-xml-declaration=\\\"yes\\\" method=\\\"xml\\\" version=\\\"1.0\\\" />\\r\\n <xsl:template match=\\\"/\\\">\\r\\n <xsl:apply-templates select=\\\"/s0:Root\\\" />\\r\\n </xsl:template>\\r\\n <xsl:template match=\\\"/s0:Root\\\">\\r\\n <xsl:variable name=\\\"var:v1\\\" select=\\\"userCSharp:StringFind(string(StringFindSource/text()) , "SearchString")\\\" />\\r\\n <xsl:variable name=\\\"var:v2\\\" select=\\\"userCSharp:StringLeft(string(StringLeftSource/text()) , "2")\\\" />\\r\\n <xsl:variable name=\\\"var:v3\\\" select=\\\"userCSharp:StringRight(string(StringRightSource/text()) , "2")\\\" />\\r\\n <xsl:variable name=\\\"var:v4\\\" select=\\\"userCSharp:StringUpperCase(string(UppercaseSource/text()))\\\" />\\r\\n <xsl:variable name=\\\"var:v5\\\" select=\\\"userCSharp:StringLowerCase(string(LowercaseSource/text()))\\\" />\\r\\n <xsl:variable name=\\\"var:v6\\\" select=\\\"userCSharp:StringSize(string(SizeSource/text()))\\\" />\\r\\n <xsl:variable name=\\\"var:v7\\\" select=\\\"userCSharp:StringSubstring(string(StringExtractSource/text()) , "0" , "2")\\\" />\\r\\n <xsl:variable name=\\\"var:v8\\\" select=\\\"userCSharp:StringConcat(string(StringConcatSource/text()))\\\" />\\r\\n <xsl:variable name=\\\"var:v9\\\" select=\\\"userCSharp:StringTrimLeft(string(StringLeftTrimSource/text()))\\\" />\\r\\n <xsl:variable name=\\\"var:v10\\\" select=\\\"userCSharp:StringTrimRight(string(StringRightTrimSource/text()))\\\" />\\r\\n <ns0:Root>\\r\\n <StringFindDestination>\\r\\n <xsl:value-of select=\\\"$var:v1\\\" />\\r\\n </StringFindDestination>\\r\\n <StringLeftDestination>\\r\\n <xsl:value-of select=\\\"$var:v2\\\" />\\r\\n </StringLeftDestination>\\r\\n <StringRightDestination>\\r\\n <xsl:value-of select=\\\"$var:v3\\\" />\\r\\n </StringRightDestination>\\r\\n <UppercaseDestination>\\r\\n <xsl:value-of select=\\\"$var:v4\\\" />\\r\\n </UppercaseDestination>\\r\\n <LowercaseDestination>\\r\\n <xsl:value-of select=\\\"$var:v5\\\" />\\r\\n </LowercaseDestination>\\r\\n <SizeDestination>\\r\\n <xsl:value-of select=\\\"$var:v6\\\" />\\r\\n </SizeDestination>\\r\\n <StringExtractDestination>\\r\\n <xsl:value-of select=\\\"$var:v7\\\" />\\r\\n </StringExtractDestination>\\r\\n <StringConcatDestination>\\r\\n <xsl:value-of select=\\\"$var:v8\\\" />\\r\\n </StringConcatDestination>\\r\\n <StringLeftTrimDestination>\\r\\n <xsl:value-of select=\\\"$var:v9\\\" />\\r\\n </StringLeftTrimDestination>\\r\\n <StringRightTrimDestination>\\r\\n <xsl:value-of select=\\\"$var:v10\\\" />\\r\\n </StringRightTrimDestination>\\r\\n </ns0:Root>\\r\\n </xsl:template>\\r\\n</xsl:stylesheet>\",\r\n \"contentType\": \"application/xml\",\r\n \"metadata\": \"meta-data\"\r\n },\r\n \"location\": \"westus\"\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "3417" - ], - "x-ms-client-request-id": [ - "7cfc70ea-0e14-47ca-96fe-1e40e079cc30" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"mapType\": \"Xslt\",\r\n \"contentLink\": {\r\n \"uri\": \"https://flowprodcu02by01.blob.core.windows.net/integrationaccountsbe15343620194450bdd61ddfb246db11/99D1E_XSLT_INTEGRATIONACCOUNTMAP9506-1335153155114E71BAD2EA39C2841858?sv=2016-05-31&sr=b&sig=YpszeZ7LGO05JnW%2BsjVJY1927oxsdoRO%2BikbtFCsop8%3D&se=2017-03-02T01%3A58%3A12Z&sp=r\",\r\n \"contentVersion\": \"\\\"0x8D460EE0E2074FB\\\"\",\r\n \"contentSize\": 3056,\r\n \"contentHash\": {\r\n \"algorithm\": \"md5\",\r\n \"value\": \"A2avz/M0ov2FPI3+Je8vDw==\"\r\n }\r\n },\r\n \"createdTime\": \"2017-03-01T21:58:11.9542071Z\",\r\n \"changedTime\": \"2017-03-01T21:58:12.1100208Z\",\r\n \"metadata\": \"meta-data\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount682/maps/IntegrationAccountMap9506\",\r\n \"name\": \"IntegrationAccountMap9506\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/maps\"\r\n}", - "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:58:11 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], - "x-ms-request-id": [ - "westus:09393750-30cc-4090-b0c2-d670e43a33ac" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1193" - ], - "x-ms-correlation-request-id": [ - "0afb053b-b0d3-4ab8-8fcf-09f4503f8e1b" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215812Z:0afb053b-b0d3-4ab8-8fcf-09f4503f8e1b" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount682/maps/IntegrationAccountMap9506?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NjgyL21hcHMvSW50ZWdyYXRpb25BY2NvdW50TWFwOTUwNj9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "dfe630bf-c045-4f38-a7a9-ee4339d96ab4" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"mapType\": \"Xslt\",\r\n \"contentLink\": {\r\n \"uri\": \"https://flowprodcu02by01.blob.core.windows.net/integrationaccountsbe15343620194450bdd61ddfb246db11/99D1E_XSLT_INTEGRATIONACCOUNTMAP9506-1335153155114E71BAD2EA39C2841858?sv=2016-05-31&sr=b&sig=YpszeZ7LGO05JnW%2BsjVJY1927oxsdoRO%2BikbtFCsop8%3D&se=2017-03-02T01%3A58%3A12Z&sp=r\",\r\n \"contentVersion\": \"\\\"0x8D460EE0E2074FB\\\"\",\r\n \"contentSize\": 3056,\r\n \"contentHash\": {\r\n \"algorithm\": \"md5\",\r\n \"value\": \"A2avz/M0ov2FPI3+Je8vDw==\"\r\n }\r\n },\r\n \"createdTime\": \"2017-03-01T21:58:11.9542071Z\",\r\n \"changedTime\": \"2017-03-01T21:58:12.1100208Z\",\r\n \"metadata\": \"meta-data\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount682/maps/IntegrationAccountMap9506\",\r\n \"name\": \"IntegrationAccountMap9506\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/maps\"\r\n}", - "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:58:11 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], - "x-ms-request-id": [ - "westus:08271de6-7b14-4b13-aa71-2fb268c334b2" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14626" - ], - "x-ms-correlation-request-id": [ - "c1b5399f-1fa9-49c2-bf78-8c945333f711" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215812Z:c1b5399f-1fa9-49c2-bf78-8c945333f711" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount682?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NjgyP2FwaS12ZXJzaW9uPTIwMTYtMDYtMDE=", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "77b01b39-5d00-4478-a0be-3f6a8f07e9de" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:58:11 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:a1ee5e7a-e841-4fc6-83e1-6f732d14c35f" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1192" - ], - "x-ms-correlation-request-id": [ - "882b79ea-dd55-4132-bb1e-7138a465ab47" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215812Z:882b79ea-dd55-4132-bb1e-7138a465ab47" - ] - }, - "StatusCode": 200 - } - ], - "Names": { - "CreateAndUpdateIntegrationAccountMap": [ - "IntegrationAccount682", - "IntegrationAccountMap9506" - ] - }, - "Variables": { - "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" - } -} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountMapScenarioTests/DeleteIntegrationAccountMapOnAccountDeletion.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountMapScenarioTests/DeleteIntegrationAccountMapOnAccountDeletion.json deleted file mode 100644 index e9287cc0efdd2..0000000000000 --- a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountMapScenarioTests/DeleteIntegrationAccountMapOnAccountDeletion.json +++ /dev/null @@ -1,242 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4944?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NDk0ND9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "91" - ], - "x-ms-client-request-id": [ - "5bf26166-eee1-4ed6-9d43-1b7b5ce9866a" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4944\",\r\n \"name\": \"IntegrationAccount4944\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "290" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:58:19 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:e9153688-4e2a-41a0-b249-c8b6a14cd5c4" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1194" - ], - "x-ms-correlation-request-id": [ - "b377c5c3-84ea-49be-96b0-00d1bf83b9a3" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215819Z:b377c5c3-84ea-49be-96b0-00d1bf83b9a3" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4944/maps/IntegrationAccountMap2100?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NDk0NC9tYXBzL0ludGVncmF0aW9uQWNjb3VudE1hcDIxMDA/YXBpLXZlcnNpb249MjAxNi0wNi0wMQ==", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"mapType\": \"Xslt\",\r\n \"content\": \"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-16\\\"?>\\r\\n<xsl:stylesheet xmlns:xsl=\\\"http://www.w3.org/1999/XSL/Transform\\\" xmlns:msxsl=\\\"urn:schemas-microsoft-com:xslt\\\" xmlns:var=\\\"http://schemas.microsoft.com/BizTalk/2003/var\\\" exclude-result-prefixes=\\\"msxsl var s0 userCSharp\\\" version=\\\"1.0\\\" xmlns:ns0=\\\"http://BizTalk_Server_Project4.StringFunctoidsDestinationSchema\\\" xmlns:s0=\\\"http://BizTalk_Server_Project4.StringFunctoidsSourceSchema\\\" xmlns:userCSharp=\\\"http://schemas.microsoft.com/BizTalk/2003/userCSharp\\\">\\r\\n <xsl:import href=\\\"http://btsfunctoids.blob.core.windows.net/functoids/functoids.xslt\\\" />\\r\\n <xsl:output omit-xml-declaration=\\\"yes\\\" method=\\\"xml\\\" version=\\\"1.0\\\" />\\r\\n <xsl:template match=\\\"/\\\">\\r\\n <xsl:apply-templates select=\\\"/s0:Root\\\" />\\r\\n </xsl:template>\\r\\n <xsl:template match=\\\"/s0:Root\\\">\\r\\n <xsl:variable name=\\\"var:v1\\\" select=\\\"userCSharp:StringFind(string(StringFindSource/text()) , "SearchString")\\\" />\\r\\n <xsl:variable name=\\\"var:v2\\\" select=\\\"userCSharp:StringLeft(string(StringLeftSource/text()) , "2")\\\" />\\r\\n <xsl:variable name=\\\"var:v3\\\" select=\\\"userCSharp:StringRight(string(StringRightSource/text()) , "2")\\\" />\\r\\n <xsl:variable name=\\\"var:v4\\\" select=\\\"userCSharp:StringUpperCase(string(UppercaseSource/text()))\\\" />\\r\\n <xsl:variable name=\\\"var:v5\\\" select=\\\"userCSharp:StringLowerCase(string(LowercaseSource/text()))\\\" />\\r\\n <xsl:variable name=\\\"var:v6\\\" select=\\\"userCSharp:StringSize(string(SizeSource/text()))\\\" />\\r\\n <xsl:variable name=\\\"var:v7\\\" select=\\\"userCSharp:StringSubstring(string(StringExtractSource/text()) , "0" , "2")\\\" />\\r\\n <xsl:variable name=\\\"var:v8\\\" select=\\\"userCSharp:StringConcat(string(StringConcatSource/text()))\\\" />\\r\\n <xsl:variable name=\\\"var:v9\\\" select=\\\"userCSharp:StringTrimLeft(string(StringLeftTrimSource/text()))\\\" />\\r\\n <xsl:variable name=\\\"var:v10\\\" select=\\\"userCSharp:StringTrimRight(string(StringRightTrimSource/text()))\\\" />\\r\\n <ns0:Root>\\r\\n <StringFindDestination>\\r\\n <xsl:value-of select=\\\"$var:v1\\\" />\\r\\n </StringFindDestination>\\r\\n <StringLeftDestination>\\r\\n <xsl:value-of select=\\\"$var:v2\\\" />\\r\\n </StringLeftDestination>\\r\\n <StringRightDestination>\\r\\n <xsl:value-of select=\\\"$var:v3\\\" />\\r\\n </StringRightDestination>\\r\\n <UppercaseDestination>\\r\\n <xsl:value-of select=\\\"$var:v4\\\" />\\r\\n </UppercaseDestination>\\r\\n <LowercaseDestination>\\r\\n <xsl:value-of select=\\\"$var:v5\\\" />\\r\\n </LowercaseDestination>\\r\\n <SizeDestination>\\r\\n <xsl:value-of select=\\\"$var:v6\\\" />\\r\\n </SizeDestination>\\r\\n <StringExtractDestination>\\r\\n <xsl:value-of select=\\\"$var:v7\\\" />\\r\\n </StringExtractDestination>\\r\\n <StringConcatDestination>\\r\\n <xsl:value-of select=\\\"$var:v8\\\" />\\r\\n </StringConcatDestination>\\r\\n <StringLeftTrimDestination>\\r\\n <xsl:value-of select=\\\"$var:v9\\\" />\\r\\n </StringLeftTrimDestination>\\r\\n <StringRightTrimDestination>\\r\\n <xsl:value-of select=\\\"$var:v10\\\" />\\r\\n </StringRightTrimDestination>\\r\\n </ns0:Root>\\r\\n </xsl:template>\\r\\n</xsl:stylesheet>\",\r\n \"contentType\": \"application/xml\",\r\n \"metadata\": \"IntegrationAccountMap2100\"\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"integrationAccountMapName\": \"IntegrationAccountMap2100\"\r\n }\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "3514" - ], - "x-ms-client-request-id": [ - "3b15f232-7f3f-404a-942c-b01147e0900c" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"mapType\": \"Xslt\",\r\n \"contentLink\": {\r\n \"uri\": \"https://flowprodcu14by01.blob.core.windows.net/integrationaccounts0c72345004544d62b5e529dc8578052b/99D1E_XSLT_INTEGRATIONACCOUNTMAP2100-009A56DABA8B4E0EB43CC74E2554C805?sv=2016-05-31&sr=b&sig=IruJa%2FkLGLb66gBRv0GDtkvmXSx9OLipOfXkNgfne8k%3D&se=2017-03-02T01%3A58%3A20Z&sp=r\",\r\n \"contentVersion\": \"\\\"0x8D460EE1281B9D0\\\"\",\r\n \"contentSize\": 3056,\r\n \"contentHash\": {\r\n \"algorithm\": \"md5\",\r\n \"value\": \"A2avz/M0ov2FPI3+Je8vDw==\"\r\n }\r\n },\r\n \"createdTime\": \"2017-03-01T21:58:20.4014506Z\",\r\n \"changedTime\": \"2017-03-01T21:58:20.4024335Z\",\r\n \"metadata\": \"IntegrationAccountMap2100\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4944/maps/IntegrationAccountMap2100\",\r\n \"name\": \"IntegrationAccountMap2100\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/maps\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "855" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:58:19 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:9efdac90-266b-4dc3-b8a9-7a01c8aa6755" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1193" - ], - "x-ms-correlation-request-id": [ - "601fd22a-65f5-4f16-98d3-5c70c285d961" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215820Z:601fd22a-65f5-4f16-98d3-5c70c285d961" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4944?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NDk0ND9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "3b992393-d7e6-442e-a618-7e000650ed43" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:58:20 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:4a614f27-2528-49cc-8edc-3747f8b92d5d" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1192" - ], - "x-ms-correlation-request-id": [ - "aa0b53d1-17a7-456c-a68e-8488559a7dc8" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215820Z:aa0b53d1-17a7-456c-a68e-8488559a7dc8" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4944/maps/IntegrationAccountMap2100?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NDk0NC9tYXBzL0ludGVncmF0aW9uQWNjb3VudE1hcDIxMDA/YXBpLXZlcnNpb249MjAxNi0wNi0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "d1da1339-3221-42df-a7bb-b9eb56f2e3ef" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Logic/integrationAccounts/IntegrationAccount4944' under resource group 'flowrg' was not found.\"\r\n }\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "168" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:58:20 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-failure-cause": [ - "gateway" - ], - "x-ms-request-id": [ - "43b62041-26e6-4e4e-b2f9-4f0f933f627e" - ], - "x-ms-correlation-request-id": [ - "43b62041-26e6-4e4e-b2f9-4f0f933f627e" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215820Z:43b62041-26e6-4e4e-b2f9-4f0f933f627e" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ] - }, - "StatusCode": 404 - } - ], - "Names": { - "DeleteIntegrationAccountMapOnAccountDeletion": [ - "IntegrationAccount4944", - "IntegrationAccountMap2100" - ] - }, - "Variables": { - "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" - } -} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountMapScenarioTests/IntegrationAccountMaps_CreateLiquid_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountMapScenarioTests/IntegrationAccountMaps_CreateLiquid_OK.json new file mode 100644 index 0000000000000..088833c2fcd20 --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountMapScenarioTests/IntegrationAccountMaps_CreateLiquid_OK.json @@ -0,0 +1,312 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "bc336d82-a5a5-4f7d-9c69-0a07d8a8a920" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:50 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-request-id": [ + "f19941f7-633a-45cc-ba0e-8b06956df8a2" + ], + "x-ms-correlation-request-id": [ + "f19941f7-633a-45cc-ba0e-8b06956df8a2" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224951Z:f19941f7-633a-45cc-ba0e-8b06956df8a2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "1d60606f-905e-4f84-87eb-0f3169f8b719" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:50 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19998" + ], + "x-ms-request-id": [ + "116257be-4c1f-4d0c-a30a-ea69c728d76d" + ], + "x-ms-correlation-request-id": [ + "116257be-4c1f-4d0c-a30a-ea69c728d76d" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224951Z:116257be-4c1f-4d0c-a30a-ea69c728d76d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4568?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NDU2OD9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "8c28c0f1-924b-4568-83c4-119015453818" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:51 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:fa569aad-b295-4912-b649-1da166ea92e2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "5eec4971-f82a-49d4-bf14-c002b23a84dc" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224952Z:5eec4971-f82a-49d4-bf14-c002b23a84dc" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "307" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4568\",\r\n \"name\": \"IntegrationAccount4568\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4568/maps/IntegrationAccountMap4473?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NDU2OC9tYXBzL0ludGVncmF0aW9uQWNjb3VudE1hcDQ0NzM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"mapType\": \"Liquid\",\r\n \"content\": \"{% if user %}\\r\\n Hello, {{ user.firstname }}\\r\\n {% else %}\\r\\n Hello World!\\r\\n {% endif %}\",\r\n \"contentType\": \"text/plain\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "28e181bb-0def-4375-9442-6c3fcf04a239" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "317" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:51 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:d489253d-9037-40e4-9c4b-1f514c651362" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-correlation-request-id": [ + "1892c247-205f-4975-a8fd-678792f860cd" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224952Z:1892c247-205f-4975-a8fd-678792f860cd" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "743" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"mapType\": \"Liquid\",\r\n \"contentLink\": {\r\n \"uri\": \"https://prod-93.westus.logic.azure.com:443/integrationAccounts/3596fbc56aaf40acbfc79de7d31af1e6/maps/IntegrationAccountMap4473/contents/Value?api-version=2015-08-01-preview&se=2018-09-20T02%3A49%3A52.3940122Z&sp=%2Fmaps%2FIntegrationAccountMap4473%2Fread&sv=1.0&sig=qigNV48ooSHJeSH233crE4suIm4jrmV2Zl-ZtbGJGIo\",\r\n \"contentSize\": 177\r\n },\r\n \"createdTime\": \"2018-09-19T22:49:52.3087777Z\",\r\n \"changedTime\": \"2018-09-19T22:49:52.3091837Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4568/maps/IntegrationAccountMap4473\",\r\n \"name\": \"IntegrationAccountMap4473\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/maps\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4568?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NDU2OD9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "9fb795a8-47fd-4da5-b054-021a42661cd3" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:52 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:f53090da-a52c-4ddc-8c5b-ce03b694c781" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "1478d2de-ae0f-4516-8a9b-867fe48fc16e" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224953Z:1478d2de-ae0f-4516-8a9b-867fe48fc16e" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "IntegrationAccountMaps_CreateLiquid_OK": [ + "IntegrationAccount4568", + "IntegrationAccountMap4473" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountMapScenarioTests/IntegrationAccountMaps_CreateXslt20_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountMapScenarioTests/IntegrationAccountMaps_CreateXslt20_OK.json new file mode 100644 index 0000000000000..adeb6ec7c03db --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountMapScenarioTests/IntegrationAccountMaps_CreateXslt20_OK.json @@ -0,0 +1,312 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "44c1bce3-a7f1-4752-802c-c389056a9aca" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:05 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11993" + ], + "x-ms-request-id": [ + "eb01ab1f-8368-43b3-9b7e-3b30dce404fc" + ], + "x-ms-correlation-request-id": [ + "eb01ab1f-8368-43b3-9b7e-3b30dce404fc" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224906Z:eb01ab1f-8368-43b3-9b7e-3b30dce404fc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "c29eefed-3db3-4340-ae06-726cb1caa27c" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:06 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19992" + ], + "x-ms-request-id": [ + "77bc9584-1072-4451-9481-cd2d9b580113" + ], + "x-ms-correlation-request-id": [ + "77bc9584-1072-4451-9481-cd2d9b580113" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224906Z:77bc9584-1072-4451-9481-cd2d9b580113" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8900?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50ODkwMD9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "882c2c6c-a139-4985-92ee-ba3e9873c341" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:06 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:a8d48c31-2c58-4473-ba88-3a4164b7b214" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-correlation-request-id": [ + "952a6a75-3824-4735-97e6-8bc3e4f59326" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224907Z:952a6a75-3824-4735-97e6-8bc3e4f59326" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "307" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8900\",\r\n \"name\": \"IntegrationAccount8900\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8900/maps/IntegrationAccountMap1764?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50ODkwMC9tYXBzL0ludGVncmF0aW9uQWNjb3VudE1hcDE3NjQ/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"mapType\": \"Xslt20\",\r\n \"content\": \"<xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='2.0'>\\r\\n\\t <xsl:template match='@*|node()'>\\r\\n\\t\\t <xsl:copy>\\r\\n\\t\\t\\t <xsl:apply-templates select='@*|node()'/>\\r\\n\\t\\t </xsl:copy>\\r\\n\\t </xsl:template>\\r\\n </xsl:stylesheet>\",\r\n \"contentType\": \"application/xml\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "7f1a233e-0134-4368-b440-19d1c4559567" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "528" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:07 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:e8427515-aa0e-4b2e-876e-017e6e34bd83" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-correlation-request-id": [ + "6425ff10-f2bd-4437-ba1b-255237c5a202" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224908Z:6425ff10-f2bd-4437-ba1b-255237c5a202" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "743" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"mapType\": \"Xslt20\",\r\n \"contentLink\": {\r\n \"uri\": \"https://prod-92.westus.logic.azure.com:443/integrationAccounts/0743c1faf192469f9a37a54a7b40fffe/maps/IntegrationAccountMap1764/contents/Value?api-version=2015-08-01-preview&se=2018-09-20T02%3A49%3A07.9807054Z&sp=%2Fmaps%2FIntegrationAccountMap1764%2Fread&sv=1.0&sig=2Szi8KtTMkNnLRkWZYmZcJBwRveEVeGaIRzwy2ss0Fc\",\r\n \"contentSize\": 370\r\n },\r\n \"createdTime\": \"2018-09-19T22:49:07.8684464Z\",\r\n \"changedTime\": \"2018-09-19T22:49:07.8690591Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8900/maps/IntegrationAccountMap1764\",\r\n \"name\": \"IntegrationAccountMap1764\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/maps\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8900?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50ODkwMD9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "f55e608f-a7d8-4c4a-8ba5-6fbe2d18e74c" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:07 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:fc0dbdfc-ae89-4cf2-988b-5139497818d7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14995" + ], + "x-ms-correlation-request-id": [ + "1ed21f48-b0d3-476a-8bc3-a226c567ea41" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224908Z:1ed21f48-b0d3-476a-8bc3-a226c567ea41" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "IntegrationAccountMaps_CreateXslt20_OK": [ + "IntegrationAccount8900", + "IntegrationAccountMap1764" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountMapScenarioTests/IntegrationAccountMaps_CreateXslt30_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountMapScenarioTests/IntegrationAccountMaps_CreateXslt30_OK.json new file mode 100644 index 0000000000000..8540fe2150acf --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountMapScenarioTests/IntegrationAccountMaps_CreateXslt30_OK.json @@ -0,0 +1,312 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "6a9b1b8f-03a3-44db-b0ca-cf39c9fe3f8a" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:40 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-request-id": [ + "40459192-a603-4481-83fe-eeb43a1a742f" + ], + "x-ms-correlation-request-id": [ + "40459192-a603-4481-83fe-eeb43a1a742f" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224940Z:40459192-a603-4481-83fe-eeb43a1a742f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "853bbceb-118e-4357-94f0-f3687d6b7822" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:40 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19994" + ], + "x-ms-request-id": [ + "0351f278-acdf-448b-8e70-a29b63ef0099" + ], + "x-ms-correlation-request-id": [ + "0351f278-acdf-448b-8e70-a29b63ef0099" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224940Z:0351f278-acdf-448b-8e70-a29b63ef0099" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9930?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50OTkzMD9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "2014a96f-1d15-4f73-981e-bd7a6dde3d38" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:41 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:745caec3-03ad-47cf-9436-022fd8ecda24" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "d5b95831-f6f8-44cf-928d-290240723dcb" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224941Z:d5b95831-f6f8-44cf-928d-290240723dcb" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "307" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9930\",\r\n \"name\": \"IntegrationAccount9930\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9930/maps/IntegrationAccountMap8616?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50OTkzMC9tYXBzL0ludGVncmF0aW9uQWNjb3VudE1hcDg2MTY/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"mapType\": \"Xslt30\",\r\n \"content\": \"<xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform' xmlns:xs='http://www.w3.org/2001/XMLSchema' version='3.0'>\\r\\n\\t <xsl:output method='text'/>\\r\\n\\t <xsl:template match='/'>\\r\\n\\t\\t <xsl:value-of select='company/employee/name'/>\\r\\n\\t\\t <xsl:variable name='test'>\\r\\n\\t\\t\\t <xsl:text>company/employee/name</xsl:text>\\r\\n\\t\\t </xsl:variable>\\r\\n\\t\\t <xsl:evaluate xpath='$test'/>\\r\\n\\t </xsl:template>\\r\\n </xsl:stylesheet>\",\r\n \"contentType\": \"application/xml\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "218fdb2e-f6c9-4148-b218-bd888cd4c683" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "781" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:41 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:5c1ae30d-84c7-49c2-aa13-42f04f77dde5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "8ccbe067-a512-49be-b403-98391a770cc5" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224941Z:8ccbe067-a512-49be-b403-98391a770cc5" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "743" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"mapType\": \"Xslt30\",\r\n \"contentLink\": {\r\n \"uri\": \"https://prod-66.westus.logic.azure.com:443/integrationAccounts/8ba7a336cc3d48ef9ebf004fb63caea0/maps/IntegrationAccountMap8616/contents/Value?api-version=2015-08-01-preview&se=2018-09-20T02%3A49%3A41.9643843Z&sp=%2Fmaps%2FIntegrationAccountMap8616%2Fread&sv=1.0&sig=9vA-oGdrLV_wKLTVkgh3jUzSMgNOt4SnHfsmb5BkkNA\",\r\n \"contentSize\": 612\r\n },\r\n \"createdTime\": \"2018-09-19T22:49:41.8781347Z\",\r\n \"changedTime\": \"2018-09-19T22:49:41.8787607Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9930/maps/IntegrationAccountMap8616\",\r\n \"name\": \"IntegrationAccountMap8616\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/maps\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9930?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50OTkzMD9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "809e2049-4de8-448e-ac57-7f703edd83bd" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:42 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:68bbc82b-50ee-46ed-8598-cb16dd11fd50" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "7bc09417-bd73-43dd-a6d0-ffa394aae669" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224942Z:7bc09417-bd73-43dd-a6d0-ffa394aae669" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "IntegrationAccountMaps_CreateXslt30_OK": [ + "IntegrationAccount9930", + "IntegrationAccountMap8616" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountMapScenarioTests/IntegrationAccountMaps_CreateXslt_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountMapScenarioTests/IntegrationAccountMaps_CreateXslt_OK.json new file mode 100644 index 0000000000000..1bf23956bdb31 --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountMapScenarioTests/IntegrationAccountMaps_CreateXslt_OK.json @@ -0,0 +1,312 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "340cbe33-4364-4c90-824a-4af5a7016f5a" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:26 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-request-id": [ + "1104b9a6-6d2d-4b27-911f-2ebe741e59b6" + ], + "x-ms-correlation-request-id": [ + "1104b9a6-6d2d-4b27-911f-2ebe741e59b6" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224926Z:1104b9a6-6d2d-4b27-911f-2ebe741e59b6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "15c1dc16-1fd5-4fbf-aa76-a3e9790e6218" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:26 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19999" + ], + "x-ms-request-id": [ + "06f50b8f-14db-4fd3-9a0d-638366b19ad2" + ], + "x-ms-correlation-request-id": [ + "06f50b8f-14db-4fd3-9a0d-638366b19ad2" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224926Z:06f50b8f-14db-4fd3-9a0d-638366b19ad2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount174?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTc0P2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "d7244af7-6fac-433c-b03a-0ead38e4347c" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:26 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:bcbb4625-578e-48dd-83ca-5799aa1b4dc4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "74a57254-754b-4442-be34-b989fdb96962" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224927Z:74a57254-754b-4442-be34-b989fdb96962" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "305" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount174\",\r\n \"name\": \"IntegrationAccount174\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount174/maps/IntegrationAccountMap3696?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTc0L21hcHMvSW50ZWdyYXRpb25BY2NvdW50TWFwMzY5Nj9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"mapType\": \"Xslt\",\r\n \"content\": \"<xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>\\r\\n\\t <xsl:template match='/hello-world'>\\r\\n\\t\\t <HTML>\\r\\n\\t\\t\\t <HEAD>\\r\\n\\t\\t\\t\\t <TITLE/>\\r\\n\\t\\t\\t </HEAD>\\r\\n\\t\\t\\t <BODY>\\r\\n\\t\\t\\t\\t <H1>\\r\\n\\t\\t\\t\\t\\t <xsl:value-of select='greeting'/>\\r\\n\\t\\t\\t\\t </H1>\\r\\n\\t\\t\\t\\t <xsl:apply-templates select='greeter'/>\\r\\n\\t\\t\\t </BODY>\\r\\n\\t\\t </HTML>\\r\\n\\t </xsl:template>\\r\\n\\t <xsl:template match='greeter'>\\r\\n\\t\\t <DIV>\\r\\n\\t\\t\\t from\\r\\n\\t\\t\\t <I>\\r\\n\\t\\t\\t\\t <xsl:value-of select='.'/>\\r\\n\\t\\t\\t </I>\\r\\n\\t\\t </DIV>\\r\\n\\t </xsl:template>\\r\\n </xsl:stylesheet>\",\r\n \"contentType\": \"application/xml\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "b26d7af7-5db7-42d0-8594-123f2ba54cdb" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "1234" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:27 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:b0f08c7a-7651-4566-b604-c489dce3d9d4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "c73934d2-53d7-4155-82e3-4c4a2264e741" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224928Z:c73934d2-53d7-4155-82e3-4c4a2264e741" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "740" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"mapType\": \"Xslt\",\r\n \"contentLink\": {\r\n \"uri\": \"https://prod-50.westus.logic.azure.com:443/integrationAccounts/f90c7d798f8040778e0293f08daf9dc4/maps/IntegrationAccountMap3696/contents/Value?api-version=2015-08-01-preview&se=2018-09-20T02%3A49%3A28.3277018Z&sp=%2Fmaps%2FIntegrationAccountMap3696%2Fread&sv=1.0&sig=yoAkJTg4DXsl1C8IewNdSAwn5oF-1j26EbkhrwP6v9U\",\r\n \"contentSize\": 997\r\n },\r\n \"createdTime\": \"2018-09-19T22:49:28.0227174Z\",\r\n \"changedTime\": \"2018-09-19T22:49:28.0235984Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount174/maps/IntegrationAccountMap3696\",\r\n \"name\": \"IntegrationAccountMap3696\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/maps\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount174?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTc0P2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "bbfbd5aa-d5ce-476b-bbbc-ea47edb2a69b" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:28 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:8873b450-ddf7-4d84-91f0-48ea0c8a73d8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "5b64d067-e9ea-402b-b669-4a3f900e8a9a" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224928Z:5b64d067-e9ea-402b-b669-4a3f900e8a9a" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "IntegrationAccountMaps_CreateXslt_OK": [ + "IntegrationAccount174", + "IntegrationAccountMap3696" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountMapScenarioTests/IntegrationAccountMaps_DeleteWhenDeleteIntegrationAccount_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountMapScenarioTests/IntegrationAccountMaps_DeleteWhenDeleteIntegrationAccount_OK.json new file mode 100644 index 0000000000000..a144fe8a02792 --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountMapScenarioTests/IntegrationAccountMaps_DeleteWhenDeleteIntegrationAccount_OK.json @@ -0,0 +1,370 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "df51dd48-10fc-4967-9fb9-02cda657e194" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:21 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-request-id": [ + "5463ca6c-6c20-4f9a-b607-7a285b2a31f3" + ], + "x-ms-correlation-request-id": [ + "5463ca6c-6c20-4f9a-b607-7a285b2a31f3" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224921Z:5463ca6c-6c20-4f9a-b607-7a285b2a31f3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "8b4090d4-4ea2-4e9e-bf33-a052e2b62335" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:21 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19997" + ], + "x-ms-request-id": [ + "93f9b825-a735-484f-815d-7db83615fd7b" + ], + "x-ms-correlation-request-id": [ + "93f9b825-a735-484f-815d-7db83615fd7b" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224921Z:93f9b825-a735-484f-815d-7db83615fd7b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2462?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MjQ2Mj9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "ae67bc23-73e9-4cb2-a12e-bccd35818da8" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:22 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:419d935d-f458-49cb-8fa7-2993a6731e4e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "cfe103c1-6ede-4bcf-a1db-fd727c84ac41" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224922Z:cfe103c1-6ede-4bcf-a1db-fd727c84ac41" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "307" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2462\",\r\n \"name\": \"IntegrationAccount2462\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2462/maps/IntegrationAccountMap4237?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MjQ2Mi9tYXBzL0ludGVncmF0aW9uQWNjb3VudE1hcDQyMzc/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"mapType\": \"Xslt\",\r\n \"content\": \"<xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>\\r\\n\\t <xsl:template match='/hello-world'>\\r\\n\\t\\t <HTML>\\r\\n\\t\\t\\t <HEAD>\\r\\n\\t\\t\\t\\t <TITLE/>\\r\\n\\t\\t\\t </HEAD>\\r\\n\\t\\t\\t <BODY>\\r\\n\\t\\t\\t\\t <H1>\\r\\n\\t\\t\\t\\t\\t <xsl:value-of select='greeting'/>\\r\\n\\t\\t\\t\\t </H1>\\r\\n\\t\\t\\t\\t <xsl:apply-templates select='greeter'/>\\r\\n\\t\\t\\t </BODY>\\r\\n\\t\\t </HTML>\\r\\n\\t </xsl:template>\\r\\n\\t <xsl:template match='greeter'>\\r\\n\\t\\t <DIV>\\r\\n\\t\\t\\t from\\r\\n\\t\\t\\t <I>\\r\\n\\t\\t\\t\\t <xsl:value-of select='.'/>\\r\\n\\t\\t\\t </I>\\r\\n\\t\\t </DIV>\\r\\n\\t </xsl:template>\\r\\n </xsl:stylesheet>\",\r\n \"contentType\": \"application/xml\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "e6fcebd2-5064-4964-ab25-6878e6020ddc" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "1234" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:23 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:15a1e7f9-0b60-4c88-8684-239e48049a14" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "afecd36c-047b-459c-89c2-3282bb3b4a1c" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224923Z:afecd36c-047b-459c-89c2-3282bb3b4a1c" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "741" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"mapType\": \"Xslt\",\r\n \"contentLink\": {\r\n \"uri\": \"https://prod-36.westus.logic.azure.com:443/integrationAccounts/d87c283fcc0048328b7d5539c8c7c517/maps/IntegrationAccountMap4237/contents/Value?api-version=2015-08-01-preview&se=2018-09-20T02%3A49%3A23.5305858Z&sp=%2Fmaps%2FIntegrationAccountMap4237%2Fread&sv=1.0&sig=v4j09dOPR1EkOYC3sA6R9GgCPZr04mVGZwRxBbWqQag\",\r\n \"contentSize\": 997\r\n },\r\n \"createdTime\": \"2018-09-19T22:49:23.4166415Z\",\r\n \"changedTime\": \"2018-09-19T22:49:23.4176243Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2462/maps/IntegrationAccountMap4237\",\r\n \"name\": \"IntegrationAccountMap4237\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/maps\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2462?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MjQ2Mj9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "2e251fa1-7288-4750-b749-3e7dd20f67ea" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:24 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:1c59f515-24fe-41a9-8997-a26c7adec3c5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "5e295bef-9899-42fa-858f-5eaa6b87825c" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224924Z:5e295bef-9899-42fa-858f-5eaa6b87825c" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2462/maps/IntegrationAccountMap4237?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MjQ2Mi9tYXBzL0ludGVncmF0aW9uQWNjb3VudE1hcDQyMzc/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "2297df43-81f2-41da-8f9d-9bd8746fc996" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:24 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "9038a8bf-e796-40ee-91ba-25dcf5e119e5" + ], + "x-ms-correlation-request-id": [ + "9038a8bf-e796-40ee-91ba-25dcf5e119e5" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224924Z:9038a8bf-e796-40ee-91ba-25dcf5e119e5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "168" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Logic/integrationAccounts/IntegrationAccount2462' under resource group 'flowrg' was not found.\"\r\n }\r\n}", + "StatusCode": 404 + } + ], + "Names": { + "IntegrationAccountMaps_DeleteWhenDeleteIntegrationAccount_OK": [ + "IntegrationAccount2462", + "IntegrationAccountMap4237" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountMapScenarioTests/IntegrationAccountMaps_Delete_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountMapScenarioTests/IntegrationAccountMaps_Delete_OK.json new file mode 100644 index 0000000000000..cae93fd0e0c8e --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountMapScenarioTests/IntegrationAccountMaps_Delete_OK.json @@ -0,0 +1,425 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "f5822385-5422-44b5-9b8f-3af662ed7a40" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:10 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-request-id": [ + "7dc9b900-9aeb-47c9-a3fc-d65629f0e570" + ], + "x-ms-correlation-request-id": [ + "7dc9b900-9aeb-47c9-a3fc-d65629f0e570" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224911Z:7dc9b900-9aeb-47c9-a3fc-d65629f0e570" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "190dcf3c-c92e-4ab7-b1df-f12f153f4d2f" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:10 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19999" + ], + "x-ms-request-id": [ + "4dc6e5e9-34f4-442d-8b43-d88374af3bd3" + ], + "x-ms-correlation-request-id": [ + "4dc6e5e9-34f4-442d-8b43-d88374af3bd3" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224911Z:4dc6e5e9-34f4-442d-8b43-d88374af3bd3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1249?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTI0OT9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "dde0c940-4ca3-4229-8997-4bc4ac557f49" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:11 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:c3f79cac-a799-4dca-8c95-308ec5a21a02" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "41572c31-4aa5-4f72-a3b9-073e2ee66c7f" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224911Z:41572c31-4aa5-4f72-a3b9-073e2ee66c7f" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "307" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1249\",\r\n \"name\": \"IntegrationAccount1249\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1249/maps/IntegrationAccountMap2500?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTI0OS9tYXBzL0ludGVncmF0aW9uQWNjb3VudE1hcDI1MDA/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"mapType\": \"Xslt\",\r\n \"content\": \"<xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>\\r\\n\\t <xsl:template match='/hello-world'>\\r\\n\\t\\t <HTML>\\r\\n\\t\\t\\t <HEAD>\\r\\n\\t\\t\\t\\t <TITLE/>\\r\\n\\t\\t\\t </HEAD>\\r\\n\\t\\t\\t <BODY>\\r\\n\\t\\t\\t\\t <H1>\\r\\n\\t\\t\\t\\t\\t <xsl:value-of select='greeting'/>\\r\\n\\t\\t\\t\\t </H1>\\r\\n\\t\\t\\t\\t <xsl:apply-templates select='greeter'/>\\r\\n\\t\\t\\t </BODY>\\r\\n\\t\\t </HTML>\\r\\n\\t </xsl:template>\\r\\n\\t <xsl:template match='greeter'>\\r\\n\\t\\t <DIV>\\r\\n\\t\\t\\t from\\r\\n\\t\\t\\t <I>\\r\\n\\t\\t\\t\\t <xsl:value-of select='.'/>\\r\\n\\t\\t\\t </I>\\r\\n\\t\\t </DIV>\\r\\n\\t </xsl:template>\\r\\n </xsl:stylesheet>\",\r\n \"contentType\": \"application/xml\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "8800f9fb-1f5c-4aba-acdb-4ef0971d6529" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "1234" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:12 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:e9a955ab-ad1a-459b-9fe9-58de2104f6ec" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "90db74b1-9e96-4a70-8d09-bdd5369438c5" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224912Z:90db74b1-9e96-4a70-8d09-bdd5369438c5" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "741" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"mapType\": \"Xslt\",\r\n \"contentLink\": {\r\n \"uri\": \"https://prod-65.westus.logic.azure.com:443/integrationAccounts/a367b1dc70cd4389a5d346519940de08/maps/IntegrationAccountMap2500/contents/Value?api-version=2015-08-01-preview&se=2018-09-20T02%3A49%3A12.7283349Z&sp=%2Fmaps%2FIntegrationAccountMap2500%2Fread&sv=1.0&sig=wijDF4GR2b4bDfBH32UoJXmSEW-Du_2ocMCcq7xVbOQ\",\r\n \"contentSize\": 997\r\n },\r\n \"createdTime\": \"2018-09-19T22:49:12.5800821Z\",\r\n \"changedTime\": \"2018-09-19T22:49:12.5802673Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1249/maps/IntegrationAccountMap2500\",\r\n \"name\": \"IntegrationAccountMap2500\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/maps\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1249/maps/IntegrationAccountMap2500?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTI0OS9tYXBzL0ludGVncmF0aW9uQWNjb3VudE1hcDI1MDA/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "ddefea67-9e8c-4cae-a18d-05e113120365" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:12 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:e20dc48d-74ce-4678-a297-40a6301f9004" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "ecde32ce-aa13-4093-a229-5ed72392c105" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224913Z:ecde32ce-aa13-4093-a229-5ed72392c105" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1249/maps/IntegrationAccountMap2500?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTI0OS9tYXBzL0ludGVncmF0aW9uQWNjb3VudE1hcDI1MDA/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "effd5920-f2c5-4c4d-8821-1cdf9a0cae5a" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:12 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:2eda225b-82fb-49ac-8e9b-1e6c21842412" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-correlation-request-id": [ + "8f9e0e92-1518-4364-9ade-95cdd395508a" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224913Z:8f9e0e92-1518-4364-9ade-95cdd395508a" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "152" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"MapNotFound\",\r\n \"message\": \"The map 'IntegrationAccountMap2500' could not be found in the integration account 'IntegrationAccount1249'.\"\r\n }\r\n}", + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1249?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTI0OT9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "8272545f-15f8-415d-a5a9-c89398ecf252" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:13 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:d3a4bd5e-9184-4292-99aa-8496a8a54768" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "d9349fcf-5103-4685-bca0-ac26ce434847" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224913Z:d9349fcf-5103-4685-bca0-ac26ce434847" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "IntegrationAccountMaps_Delete_OK": [ + "IntegrationAccount1249", + "IntegrationAccountMap2500" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountMapScenarioTests/IntegrationAccountMaps_Get_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountMapScenarioTests/IntegrationAccountMaps_Get_OK.json new file mode 100644 index 0000000000000..f49912cef458a --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountMapScenarioTests/IntegrationAccountMaps_Get_OK.json @@ -0,0 +1,373 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "9824493a-2f33-485a-8b2e-81a11447fd58" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:14 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-request-id": [ + "d1976b5a-178d-4be4-9527-da6491499794" + ], + "x-ms-correlation-request-id": [ + "d1976b5a-178d-4be4-9527-da6491499794" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224915Z:d1976b5a-178d-4be4-9527-da6491499794" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "c8d47863-cf45-4fc6-81a3-d5449dc744d2" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:14 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19999" + ], + "x-ms-request-id": [ + "549adf55-d4a3-4693-baa1-e5a0259fc275" + ], + "x-ms-correlation-request-id": [ + "549adf55-d4a3-4693-baa1-e5a0259fc275" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224915Z:549adf55-d4a3-4693-baa1-e5a0259fc275" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount6219?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NjIxOT9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "c9475f1a-3498-405e-9438-e213bd07fdaf" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:15 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:57c6c614-b810-4e6a-b4b7-47bcc4045cbf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "7cd51a93-40b5-4bde-9886-949341dbf94f" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224916Z:7cd51a93-40b5-4bde-9886-949341dbf94f" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "307" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount6219\",\r\n \"name\": \"IntegrationAccount6219\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount6219/maps/IntegrationAccountMap2136?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NjIxOS9tYXBzL0ludGVncmF0aW9uQWNjb3VudE1hcDIxMzY/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"mapType\": \"Xslt\",\r\n \"content\": \"<xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>\\r\\n\\t <xsl:template match='/hello-world'>\\r\\n\\t\\t <HTML>\\r\\n\\t\\t\\t <HEAD>\\r\\n\\t\\t\\t\\t <TITLE/>\\r\\n\\t\\t\\t </HEAD>\\r\\n\\t\\t\\t <BODY>\\r\\n\\t\\t\\t\\t <H1>\\r\\n\\t\\t\\t\\t\\t <xsl:value-of select='greeting'/>\\r\\n\\t\\t\\t\\t </H1>\\r\\n\\t\\t\\t\\t <xsl:apply-templates select='greeter'/>\\r\\n\\t\\t\\t </BODY>\\r\\n\\t\\t </HTML>\\r\\n\\t </xsl:template>\\r\\n\\t <xsl:template match='greeter'>\\r\\n\\t\\t <DIV>\\r\\n\\t\\t\\t from\\r\\n\\t\\t\\t <I>\\r\\n\\t\\t\\t\\t <xsl:value-of select='.'/>\\r\\n\\t\\t\\t </I>\\r\\n\\t\\t </DIV>\\r\\n\\t </xsl:template>\\r\\n </xsl:stylesheet>\",\r\n \"contentType\": \"application/xml\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "3072e202-52e9-44a6-b034-280f0db14da6" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "1234" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:17 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:234dd673-6a12-44e0-8155-690a400492b8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "2091076a-f725-4038-bfcc-5aea1ffe2cbf" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224918Z:2091076a-f725-4038-bfcc-5aea1ffe2cbf" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "741" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"mapType\": \"Xslt\",\r\n \"contentLink\": {\r\n \"uri\": \"https://prod-65.westus.logic.azure.com:443/integrationAccounts/386c9739201d4903914bac99a5d3bb42/maps/IntegrationAccountMap2136/contents/Value?api-version=2015-08-01-preview&se=2018-09-20T02%3A49%3A18.0299686Z&sp=%2Fmaps%2FIntegrationAccountMap2136%2Fread&sv=1.0&sig=HJBAmyJQ4bu_OduJ8YLscoq1GPS63lwSqIlPEI1Aho0\",\r\n \"contentSize\": 997\r\n },\r\n \"createdTime\": \"2018-09-19T22:49:17.9893493Z\",\r\n \"changedTime\": \"2018-09-19T22:49:17.9959443Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount6219/maps/IntegrationAccountMap2136\",\r\n \"name\": \"IntegrationAccountMap2136\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/maps\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount6219/maps/IntegrationAccountMap2136?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NjIxOS9tYXBzL0ludGVncmF0aW9uQWNjb3VudE1hcDIxMzY/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "08e85388-e2d2-47d5-920a-2528a9c645c2" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:17 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:bebd8659-a72b-4496-bc78-6a5c7050dfd8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-correlation-request-id": [ + "120180d0-03e3-49fd-b1bc-5d0828ae2425" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224918Z:120180d0-03e3-49fd-b1bc-5d0828ae2425" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "741" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"mapType\": \"Xslt\",\r\n \"contentLink\": {\r\n \"uri\": \"https://prod-65.westus.logic.azure.com:443/integrationAccounts/386c9739201d4903914bac99a5d3bb42/maps/IntegrationAccountMap2136/contents/Value?api-version=2015-08-01-preview&se=2018-09-20T02%3A49%3A18.1080944Z&sp=%2Fmaps%2FIntegrationAccountMap2136%2Fread&sv=1.0&sig=bVV472qXY5_Dc1c8zvNre2xoglj0_N581tK4EzlVoSc\",\r\n \"contentSize\": 997\r\n },\r\n \"createdTime\": \"2018-09-19T22:49:17.9893493Z\",\r\n \"changedTime\": \"2018-09-19T22:49:17.9959443Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount6219/maps/IntegrationAccountMap2136\",\r\n \"name\": \"IntegrationAccountMap2136\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/maps\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount6219?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NjIxOT9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "5f4df115-ec3b-416d-8dbb-4311c1f779c6" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:18 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:022932fa-df94-442e-8400-e58fd3ae1bd8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "cab6d9cc-3de6-4d4c-b17b-20efa09bfd7b" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224919Z:cab6d9cc-3de6-4d4c-b17b-20efa09bfd7b" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "IntegrationAccountMaps_Get_OK": [ + "IntegrationAccount6219", + "IntegrationAccountMap2136" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountMapScenarioTests/IntegrationAccountMaps_ListContentCallbackUrl_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountMapScenarioTests/IntegrationAccountMaps_ListContentCallbackUrl_OK.json new file mode 100644 index 0000000000000..ff9627e93f0f1 --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountMapScenarioTests/IntegrationAccountMaps_ListContentCallbackUrl_OK.json @@ -0,0 +1,379 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "92071b6a-1770-4339-9243-479418512507" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:35 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-request-id": [ + "12bad6c8-05f2-4283-90bf-160863377c0b" + ], + "x-ms-correlation-request-id": [ + "12bad6c8-05f2-4283-90bf-160863377c0b" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224935Z:12bad6c8-05f2-4283-90bf-160863377c0b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "edfbe473-825e-4769-afce-9a343d0ff3bc" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:35 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19998" + ], + "x-ms-request-id": [ + "0f07baea-6f89-463d-9025-559498e18196" + ], + "x-ms-correlation-request-id": [ + "0f07baea-6f89-463d-9025-559498e18196" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224935Z:0f07baea-6f89-463d-9025-559498e18196" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2271?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MjI3MT9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "00609e1e-55d0-4fcb-b29e-d985668059db" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:36 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:4c0a266f-a169-4604-bb7f-08e2fa1ba3a5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], + "x-ms-correlation-request-id": [ + "b3630123-1e9f-4c52-a01e-8a2bf4ff7a73" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224936Z:b3630123-1e9f-4c52-a01e-8a2bf4ff7a73" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "307" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2271\",\r\n \"name\": \"IntegrationAccount2271\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2271/maps/IntegrationAccountMap7402?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MjI3MS9tYXBzL0ludGVncmF0aW9uQWNjb3VudE1hcDc0MDI/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"mapType\": \"Xslt\",\r\n \"content\": \"<xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>\\r\\n\\t <xsl:template match='/hello-world'>\\r\\n\\t\\t <HTML>\\r\\n\\t\\t\\t <HEAD>\\r\\n\\t\\t\\t\\t <TITLE/>\\r\\n\\t\\t\\t </HEAD>\\r\\n\\t\\t\\t <BODY>\\r\\n\\t\\t\\t\\t <H1>\\r\\n\\t\\t\\t\\t\\t <xsl:value-of select='greeting'/>\\r\\n\\t\\t\\t\\t </H1>\\r\\n\\t\\t\\t\\t <xsl:apply-templates select='greeter'/>\\r\\n\\t\\t\\t </BODY>\\r\\n\\t\\t </HTML>\\r\\n\\t </xsl:template>\\r\\n\\t <xsl:template match='greeter'>\\r\\n\\t\\t <DIV>\\r\\n\\t\\t\\t from\\r\\n\\t\\t\\t <I>\\r\\n\\t\\t\\t\\t <xsl:value-of select='.'/>\\r\\n\\t\\t\\t </I>\\r\\n\\t\\t </DIV>\\r\\n\\t </xsl:template>\\r\\n </xsl:stylesheet>\",\r\n \"contentType\": \"application/xml\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "85c1c98c-8951-4983-8e1a-9d5b79f14f70" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "1234" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:37 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:b171f36a-2bb5-4d7d-a1c8-6e4c9c50b2b6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1193" + ], + "x-ms-correlation-request-id": [ + "97e34e43-f70b-4520-be5d-82beee9df0aa" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224937Z:97e34e43-f70b-4520-be5d-82beee9df0aa" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "740" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"mapType\": \"Xslt\",\r\n \"contentLink\": {\r\n \"uri\": \"https://prod-14.westus.logic.azure.com:443/integrationAccounts/6db8b1c9be0c4997a37b472ab9799eca/maps/IntegrationAccountMap7402/contents/Value?api-version=2015-08-01-preview&se=2018-09-20T02%3A49%3A37.4863389Z&sp=%2Fmaps%2FIntegrationAccountMap7402%2Fread&sv=1.0&sig=eJfyElzDNzeM6LKUGvMjJntOFJ5KZecM6Qq7akxVRDM\",\r\n \"contentSize\": 997\r\n },\r\n \"createdTime\": \"2018-09-19T22:49:37.424053Z\",\r\n \"changedTime\": \"2018-09-19T22:49:37.4243034Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2271/maps/IntegrationAccountMap7402\",\r\n \"name\": \"IntegrationAccountMap7402\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/maps\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2271/maps/IntegrationAccountMap7402/listContentCallbackUrl?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MjI3MS9tYXBzL0ludGVncmF0aW9uQWNjb3VudE1hcDc0MDIvbGlzdENvbnRlbnRDYWxsYmFja1VybD9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"keyType\": \"Primary\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "97cfc604-1a9e-4e77-bd42-6d72a237012f" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:37 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:703000e8-490b-4031-a76f-c4cf7b0f61a3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1192" + ], + "x-ms-correlation-request-id": [ + "74d12038-c36a-411c-864f-5535762cb9b6" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224937Z:74d12038-c36a-411c-864f-5535762cb9b6" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "498" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": \"https://prod-14.westus.logic.azure.com:443/integrationAccounts/6db8b1c9be0c4997a37b472ab9799eca/maps/IntegrationAccountMap7402/contents/Value?api-version=2015-08-01-preview&sp=%2Fmaps%2FIntegrationAccountMap7402%2Fread&sv=1.0&sig=ZJdrbFOT5mTqFRVFR9lwRDdRaPhsfcQf9fwpO2ceiDE\",\r\n \"method\": \"GET\",\r\n \"basePath\": \"https://prod-14.westus.logic.azure.com/integrationAccounts/6db8b1c9be0c4997a37b472ab9799eca/maps/IntegrationAccountMap7402/contents/Value\",\r\n \"queries\": {\r\n \"api-version\": \"2015-08-01-preview\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2271?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MjI3MT9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "219050c0-b004-4346-ac7e-7e9d1998a245" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:37 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:7c681120-34e7-4d90-96fe-ba76db9c557a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14997" + ], + "x-ms-correlation-request-id": [ + "a4f3b91a-b25d-4b59-a875-63726e86f2cb" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224938Z:a4f3b91a-b25d-4b59-a875-63726e86f2cb" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "IntegrationAccountMaps_ListContentCallbackUrl_OK": [ + "IntegrationAccount2271", + "IntegrationAccountMap7402" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountMapScenarioTests/IntegrationAccountMaps_List_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountMapScenarioTests/IntegrationAccountMaps_List_OK.json new file mode 100644 index 0000000000000..44f0359362bf3 --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountMapScenarioTests/IntegrationAccountMaps_List_OK.json @@ -0,0 +1,503 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "c15e9c14-b019-4532-8bb8-62aadbb22a4f" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:30 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-request-id": [ + "0a7f08d3-81c0-4fe5-ae02-473ffaec034c" + ], + "x-ms-correlation-request-id": [ + "0a7f08d3-81c0-4fe5-ae02-473ffaec034c" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224931Z:0a7f08d3-81c0-4fe5-ae02-473ffaec034c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "e5faba55-e696-43d7-9d30-52adf018c65d" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:30 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19995" + ], + "x-ms-request-id": [ + "b62f5180-1a4a-44e8-b489-de78319c836d" + ], + "x-ms-correlation-request-id": [ + "b62f5180-1a4a-44e8-b489-de78319c836d" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224931Z:b62f5180-1a4a-44e8-b489-de78319c836d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1825?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTgyNT9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "056ffdbf-880b-49c0-9608-0f7e8957c549" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:31 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:603bb8cf-8572-4138-b4ca-0a74b9f078c3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "158823f7-f87a-47ee-bfdf-ed31b85c9ee1" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224931Z:158823f7-f87a-47ee-bfdf-ed31b85c9ee1" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "307" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1825\",\r\n \"name\": \"IntegrationAccount1825\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1825/maps/IntegrationAccountMap2755?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTgyNS9tYXBzL0ludGVncmF0aW9uQWNjb3VudE1hcDI3NTU/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"mapType\": \"Xslt\",\r\n \"content\": \"<xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>\\r\\n\\t <xsl:template match='/hello-world'>\\r\\n\\t\\t <HTML>\\r\\n\\t\\t\\t <HEAD>\\r\\n\\t\\t\\t\\t <TITLE/>\\r\\n\\t\\t\\t </HEAD>\\r\\n\\t\\t\\t <BODY>\\r\\n\\t\\t\\t\\t <H1>\\r\\n\\t\\t\\t\\t\\t <xsl:value-of select='greeting'/>\\r\\n\\t\\t\\t\\t </H1>\\r\\n\\t\\t\\t\\t <xsl:apply-templates select='greeter'/>\\r\\n\\t\\t\\t </BODY>\\r\\n\\t\\t </HTML>\\r\\n\\t </xsl:template>\\r\\n\\t <xsl:template match='greeter'>\\r\\n\\t\\t <DIV>\\r\\n\\t\\t\\t from\\r\\n\\t\\t\\t <I>\\r\\n\\t\\t\\t\\t <xsl:value-of select='.'/>\\r\\n\\t\\t\\t </I>\\r\\n\\t\\t </DIV>\\r\\n\\t </xsl:template>\\r\\n </xsl:stylesheet>\",\r\n \"contentType\": \"application/xml\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "4cfd2e71-5c68-4782-8fe3-76c18a979f06" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "1234" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:31 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:135ca239-99de-4e99-ad1e-db64f81dab9d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-correlation-request-id": [ + "d601d9a8-d055-4836-9d3d-0d845528a12c" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224932Z:d601d9a8-d055-4836-9d3d-0d845528a12c" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "741" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"mapType\": \"Xslt\",\r\n \"contentLink\": {\r\n \"uri\": \"https://prod-39.westus.logic.azure.com:443/integrationAccounts/fec5d3189c6a40b3a4ceca0987777363/maps/IntegrationAccountMap2755/contents/Value?api-version=2015-08-01-preview&se=2018-09-20T02%3A49%3A32.5733743Z&sp=%2Fmaps%2FIntegrationAccountMap2755%2Fread&sv=1.0&sig=5xLqQrPw63QbmBhYdvO3MtBSdtVjFArUdpaEXugAWM8\",\r\n \"contentSize\": 997\r\n },\r\n \"createdTime\": \"2018-09-19T22:49:32.3940786Z\",\r\n \"changedTime\": \"2018-09-19T22:49:32.3947247Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1825/maps/IntegrationAccountMap2755\",\r\n \"name\": \"IntegrationAccountMap2755\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/maps\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1825/maps/IntegrationAccountMap9325?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTgyNS9tYXBzL0ludGVncmF0aW9uQWNjb3VudE1hcDkzMjU/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"mapType\": \"Xslt20\",\r\n \"content\": \"<xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='2.0'>\\r\\n\\t <xsl:template match='@*|node()'>\\r\\n\\t\\t <xsl:copy>\\r\\n\\t\\t\\t <xsl:apply-templates select='@*|node()'/>\\r\\n\\t\\t </xsl:copy>\\r\\n\\t </xsl:template>\\r\\n </xsl:stylesheet>\",\r\n \"contentType\": \"application/xml\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "a5ec4e63-3a41-45e6-98d8-9a1a14326a7e" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "528" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:32 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:2c193766-c4a8-4d3c-b898-31123ccead78" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-correlation-request-id": [ + "afd7c561-2c09-46db-a68d-12f615871ae7" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224932Z:afd7c561-2c09-46db-a68d-12f615871ae7" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "743" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"mapType\": \"Xslt20\",\r\n \"contentLink\": {\r\n \"uri\": \"https://prod-39.westus.logic.azure.com:443/integrationAccounts/fec5d3189c6a40b3a4ceca0987777363/maps/IntegrationAccountMap9325/contents/Value?api-version=2015-08-01-preview&se=2018-09-20T02%3A49%3A32.7350937Z&sp=%2Fmaps%2FIntegrationAccountMap9325%2Fread&sv=1.0&sig=tcMmQ8hlbMY26sJzn59hcpu3qGgQ86iICBB14H0xUhI\",\r\n \"contentSize\": 370\r\n },\r\n \"createdTime\": \"2018-09-19T22:49:32.7137887Z\",\r\n \"changedTime\": \"2018-09-19T22:49:32.7141917Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1825/maps/IntegrationAccountMap9325\",\r\n \"name\": \"IntegrationAccountMap9325\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/maps\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1825/maps/IntegrationAccountMap8853?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTgyNS9tYXBzL0ludGVncmF0aW9uQWNjb3VudE1hcDg4NTM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"mapType\": \"Liquid\",\r\n \"content\": \"{% if user %}\\r\\n Hello, {{ user.firstname }}\\r\\n {% else %}\\r\\n Hello World!\\r\\n {% endif %}\",\r\n \"contentType\": \"text/plain\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "61ee519f-a809-4074-9a9c-30970442e70a" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "317" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:32 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:19c6e469-c7c2-45e2-88d4-68624efaf5b3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], + "x-ms-correlation-request-id": [ + "5173978e-07fd-442f-a248-649471130af3" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224932Z:5173978e-07fd-442f-a248-649471130af3" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "743" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"mapType\": \"Liquid\",\r\n \"contentLink\": {\r\n \"uri\": \"https://prod-39.westus.logic.azure.com:443/integrationAccounts/fec5d3189c6a40b3a4ceca0987777363/maps/IntegrationAccountMap8853/contents/Value?api-version=2015-08-01-preview&se=2018-09-20T02%3A49%3A32.9226225Z&sp=%2Fmaps%2FIntegrationAccountMap8853%2Fread&sv=1.0&sig=hjAQ5aQ-MRcjBZ8UIxX9K6xFdRwhRdJjAQecWrbntus\",\r\n \"contentSize\": 177\r\n },\r\n \"createdTime\": \"2018-09-19T22:49:32.8668044Z\",\r\n \"changedTime\": \"2018-09-19T22:49:32.8668749Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1825/maps/IntegrationAccountMap8853\",\r\n \"name\": \"IntegrationAccountMap8853\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/maps\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1825/maps?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTgyNS9tYXBzP2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "715664ee-b840-4f3b-9ca8-cecb3f757bac" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:32 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:082fc905-6d46-488d-b7c6-d52c7cf4ee6c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "x-ms-correlation-request-id": [ + "f3b729e3-ce36-4210-8f09-e0b399d797a5" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224932Z:f3b729e3-ce36-4210-8f09-e0b399d797a5" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "2241" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"mapType\": \"Xslt\",\r\n \"contentLink\": {\r\n \"uri\": \"https://prod-39.westus.logic.azure.com:443/integrationAccounts/fec5d3189c6a40b3a4ceca0987777363/maps/IntegrationAccountMap2755/contents/Value?api-version=2015-08-01-preview&se=2018-09-20T02%3A49%3A32.9851407Z&sp=%2Fmaps%2FIntegrationAccountMap2755%2Fread&sv=1.0&sig=Dr4gkk5Pqs2A3IAGqkubELXHH68AOcuT45mKDAYBxPk\",\r\n \"contentSize\": 997\r\n },\r\n \"createdTime\": \"2018-09-19T22:49:32.3940786Z\",\r\n \"changedTime\": \"2018-09-19T22:49:32.3947247Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1825/maps/IntegrationAccountMap2755\",\r\n \"name\": \"IntegrationAccountMap2755\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/maps\"\r\n },\r\n {\r\n \"properties\": {\r\n \"mapType\": \"Liquid\",\r\n \"contentLink\": {\r\n \"uri\": \"https://prod-39.westus.logic.azure.com:443/integrationAccounts/fec5d3189c6a40b3a4ceca0987777363/maps/IntegrationAccountMap8853/contents/Value?api-version=2015-08-01-preview&se=2018-09-20T02%3A49%3A32.9851407Z&sp=%2Fmaps%2FIntegrationAccountMap8853%2Fread&sv=1.0&sig=mUnyxB398nshgZaCLvZktpWcgySSdDRoUdxzzmZglKA\",\r\n \"contentSize\": 177\r\n },\r\n \"createdTime\": \"2018-09-19T22:49:32.8668044Z\",\r\n \"changedTime\": \"2018-09-19T22:49:32.8668749Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1825/maps/IntegrationAccountMap8853\",\r\n \"name\": \"IntegrationAccountMap8853\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/maps\"\r\n },\r\n {\r\n \"properties\": {\r\n \"mapType\": \"Xslt20\",\r\n \"contentLink\": {\r\n \"uri\": \"https://prod-39.westus.logic.azure.com:443/integrationAccounts/fec5d3189c6a40b3a4ceca0987777363/maps/IntegrationAccountMap9325/contents/Value?api-version=2015-08-01-preview&se=2018-09-20T02%3A49%3A32.9851407Z&sp=%2Fmaps%2FIntegrationAccountMap9325%2Fread&sv=1.0&sig=fZgjY6qU-BKbaUH7RRxXNndzJ76Zhx__k-XDsMZESLg\",\r\n \"contentSize\": 370\r\n },\r\n \"createdTime\": \"2018-09-19T22:49:32.7137887Z\",\r\n \"changedTime\": \"2018-09-19T22:49:32.7141917Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1825/maps/IntegrationAccountMap9325\",\r\n \"name\": \"IntegrationAccountMap9325\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/maps\"\r\n }\r\n ]\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1825?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTgyNT9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "7f35e6a8-46dd-49fd-826a-4e6608ee940c" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:32 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:01c22f31-3766-4c6a-9971-3690fd3f39cb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "6bc01557-4719-45e8-8a63-4dadc65db625" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224933Z:6bc01557-4719-45e8-8a63-4dadc65db625" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "IntegrationAccountMaps_List_OK": [ + "IntegrationAccount1825", + "IntegrationAccountMap2755", + "IntegrationAccountMap9325", + "IntegrationAccountMap8853" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountMapScenarioTests/IntegrationAccountMaps_Update_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountMapScenarioTests/IntegrationAccountMaps_Update_OK.json new file mode 100644 index 0000000000000..103a84dc00cf9 --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountMapScenarioTests/IntegrationAccountMaps_Update_OK.json @@ -0,0 +1,379 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "269c2139-f079-41cb-a251-933a4b64377e" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:45 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-request-id": [ + "e66d537b-e6a2-4556-a670-78cf4c5d7af1" + ], + "x-ms-correlation-request-id": [ + "e66d537b-e6a2-4556-a670-78cf4c5d7af1" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224945Z:e66d537b-e6a2-4556-a670-78cf4c5d7af1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "e45190d2-2ee2-4a36-a5f5-86af9ed05e4d" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:45 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19997" + ], + "x-ms-request-id": [ + "dd3d2190-304a-4ab0-be3f-b17d899b22a1" + ], + "x-ms-correlation-request-id": [ + "dd3d2190-304a-4ab0-be3f-b17d899b22a1" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224945Z:dd3d2190-304a-4ab0-be3f-b17d899b22a1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5018?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NTAxOD9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "46d1eb33-7b7a-49d9-a0dd-7c738ddc1b59" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:47 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:99c2ee8f-2342-4856-b44c-68567a43c1c5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "eb83fada-8f50-4bb6-8e5f-5c7ea5d68c5c" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224947Z:eb83fada-8f50-4bb6-8e5f-5c7ea5d68c5c" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "307" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5018\",\r\n \"name\": \"IntegrationAccount5018\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5018/maps/IntegrationAccountMap4419?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NTAxOC9tYXBzL0ludGVncmF0aW9uQWNjb3VudE1hcDQ0MTk/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"mapType\": \"Xslt\",\r\n \"content\": \"<xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>\\r\\n\\t <xsl:template match='/hello-world'>\\r\\n\\t\\t <HTML>\\r\\n\\t\\t\\t <HEAD>\\r\\n\\t\\t\\t\\t <TITLE/>\\r\\n\\t\\t\\t </HEAD>\\r\\n\\t\\t\\t <BODY>\\r\\n\\t\\t\\t\\t <H1>\\r\\n\\t\\t\\t\\t\\t <xsl:value-of select='greeting'/>\\r\\n\\t\\t\\t\\t </H1>\\r\\n\\t\\t\\t\\t <xsl:apply-templates select='greeter'/>\\r\\n\\t\\t\\t </BODY>\\r\\n\\t\\t </HTML>\\r\\n\\t </xsl:template>\\r\\n\\t <xsl:template match='greeter'>\\r\\n\\t\\t <DIV>\\r\\n\\t\\t\\t from\\r\\n\\t\\t\\t <I>\\r\\n\\t\\t\\t\\t <xsl:value-of select='.'/>\\r\\n\\t\\t\\t </I>\\r\\n\\t\\t </DIV>\\r\\n\\t </xsl:template>\\r\\n </xsl:stylesheet>\",\r\n \"contentType\": \"application/xml\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "bb9b6d1c-e9c1-48f9-9aef-2f79b9959c62" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "1234" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:47 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:e226ae18-5392-48fe-8042-05047a38b816" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "5589d99d-07b0-4281-a5c6-aed4674d5a7d" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224948Z:5589d99d-07b0-4281-a5c6-aed4674d5a7d" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "741" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"mapType\": \"Xslt\",\r\n \"contentLink\": {\r\n \"uri\": \"https://prod-20.westus.logic.azure.com:443/integrationAccounts/f84888c0aa8a4835ac363cd284243730/maps/IntegrationAccountMap4419/contents/Value?api-version=2015-08-01-preview&se=2018-09-20T02%3A49%3A48.2530163Z&sp=%2Fmaps%2FIntegrationAccountMap4419%2Fread&sv=1.0&sig=EW8QdHZ3Rq_EyRyJ8lgOOMjB7tjYYMfhzIOLFq_briY\",\r\n \"contentSize\": 997\r\n },\r\n \"createdTime\": \"2018-09-19T22:49:48.1191828Z\",\r\n \"changedTime\": \"2018-09-19T22:49:48.1192978Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5018/maps/IntegrationAccountMap4419\",\r\n \"name\": \"IntegrationAccountMap4419\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/maps\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5018/maps/IntegrationAccountMap4419?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NTAxOC9tYXBzL0ludGVncmF0aW9uQWNjb3VudE1hcDQ0MTk/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"mapType\": \"Xslt\",\r\n \"content\": \"<xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>\\r\\n\\t <xsl:template match='/hello-world'>\\r\\n\\t\\t <HTML>\\r\\n\\t\\t\\t <HEAD>\\r\\n\\t\\t\\t\\t <TITLE/>\\r\\n\\t\\t\\t </HEAD>\\r\\n\\t\\t\\t <BODY>\\r\\n\\t\\t\\t\\t <H1>\\r\\n\\t\\t\\t\\t\\t <xsl:value-of select='greeting'/>\\r\\n\\t\\t\\t\\t </H1>\\r\\n\\t\\t\\t\\t <xsl:apply-templates select='greeter'/>\\r\\n\\t\\t\\t </BODY>\\r\\n\\t\\t </HTML>\\r\\n\\t </xsl:template>\\r\\n\\t <xsl:template match='greeter'>\\r\\n\\t\\t <DIV>\\r\\n\\t\\t\\t from\\r\\n\\t\\t\\t <I>\\r\\n\\t\\t\\t\\t <xsl:value-of select='.'/>\\r\\n\\t\\t\\t </I>\\r\\n\\t\\t </DIV>\\r\\n\\t </xsl:template>\\r\\n </xsl:stylesheet>\",\r\n \"contentType\": \"application/xml\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "a56d4448-9e40-4bb7-9d51-9cec4a383ee6" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "1234" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:48 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:20facef2-6152-4876-b4de-76de0b743f10" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-correlation-request-id": [ + "38f949d3-9a68-4bb0-b6a5-1b9c3f6d46e5" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224948Z:38f949d3-9a68-4bb0-b6a5-1b9c3f6d46e5" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "741" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"mapType\": \"Xslt\",\r\n \"contentLink\": {\r\n \"uri\": \"https://prod-20.westus.logic.azure.com:443/integrationAccounts/f84888c0aa8a4835ac363cd284243730/maps/IntegrationAccountMap4419/contents/Value?api-version=2015-08-01-preview&se=2018-09-20T02%3A49%3A48.5655080Z&sp=%2Fmaps%2FIntegrationAccountMap4419%2Fread&sv=1.0&sig=6uTARk8f7CggkHdKii8sNf-aCZ2HKQzu5bBuMWEewFw\",\r\n \"contentSize\": 997\r\n },\r\n \"createdTime\": \"2018-09-19T22:49:48.1191828Z\",\r\n \"changedTime\": \"2018-09-19T22:49:48.4651827Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5018/maps/IntegrationAccountMap4419\",\r\n \"name\": \"IntegrationAccountMap4419\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/maps\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5018?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NTAxOD9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "789255de-5d40-43d7-8019-1396b87d6ec2" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:48 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:ca330830-a977-42c3-ab01-16435b7230a8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14997" + ], + "x-ms-correlation-request-id": [ + "41683dca-76ed-4168-9faf-4e897419e801" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224949Z:41683dca-76ed-4168-9faf-4e897419e801" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "IntegrationAccountMaps_Update_OK": [ + "IntegrationAccount5018", + "IntegrationAccountMap4419" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountMapScenarioTests/ListIntegrationAccountMaps.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountMapScenarioTests/ListIntegrationAccountMaps.json deleted file mode 100644 index b1eb9d2423cbd..0000000000000 --- a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountMapScenarioTests/ListIntegrationAccountMaps.json +++ /dev/null @@ -1,246 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1254?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTI1ND9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "91" - ], - "x-ms-client-request-id": [ - "3c2adaaf-4d6a-48d5-8838-e422ab710430" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1254\",\r\n \"name\": \"IntegrationAccount1254\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "290" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:58:13 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:2958dc3c-f3b5-4f1c-ace3-711256f28614" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1187" - ], - "x-ms-correlation-request-id": [ - "28856011-914f-414f-8084-607495d488de" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215813Z:28856011-914f-414f-8084-607495d488de" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1254/maps/IntegrationAccountMap3946?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTI1NC9tYXBzL0ludGVncmF0aW9uQWNjb3VudE1hcDM5NDY/YXBpLXZlcnNpb249MjAxNi0wNi0wMQ==", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"mapType\": \"Xslt\",\r\n \"content\": \"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-16\\\"?>\\r\\n<xsl:stylesheet xmlns:xsl=\\\"http://www.w3.org/1999/XSL/Transform\\\" xmlns:msxsl=\\\"urn:schemas-microsoft-com:xslt\\\" xmlns:var=\\\"http://schemas.microsoft.com/BizTalk/2003/var\\\" exclude-result-prefixes=\\\"msxsl var s0 userCSharp\\\" version=\\\"1.0\\\" xmlns:ns0=\\\"http://BizTalk_Server_Project4.StringFunctoidsDestinationSchema\\\" xmlns:s0=\\\"http://BizTalk_Server_Project4.StringFunctoidsSourceSchema\\\" xmlns:userCSharp=\\\"http://schemas.microsoft.com/BizTalk/2003/userCSharp\\\">\\r\\n <xsl:import href=\\\"http://btsfunctoids.blob.core.windows.net/functoids/functoids.xslt\\\" />\\r\\n <xsl:output omit-xml-declaration=\\\"yes\\\" method=\\\"xml\\\" version=\\\"1.0\\\" />\\r\\n <xsl:template match=\\\"/\\\">\\r\\n <xsl:apply-templates select=\\\"/s0:Root\\\" />\\r\\n </xsl:template>\\r\\n <xsl:template match=\\\"/s0:Root\\\">\\r\\n <xsl:variable name=\\\"var:v1\\\" select=\\\"userCSharp:StringFind(string(StringFindSource/text()) , "SearchString")\\\" />\\r\\n <xsl:variable name=\\\"var:v2\\\" select=\\\"userCSharp:StringLeft(string(StringLeftSource/text()) , "2")\\\" />\\r\\n <xsl:variable name=\\\"var:v3\\\" select=\\\"userCSharp:StringRight(string(StringRightSource/text()) , "2")\\\" />\\r\\n <xsl:variable name=\\\"var:v4\\\" select=\\\"userCSharp:StringUpperCase(string(UppercaseSource/text()))\\\" />\\r\\n <xsl:variable name=\\\"var:v5\\\" select=\\\"userCSharp:StringLowerCase(string(LowercaseSource/text()))\\\" />\\r\\n <xsl:variable name=\\\"var:v6\\\" select=\\\"userCSharp:StringSize(string(SizeSource/text()))\\\" />\\r\\n <xsl:variable name=\\\"var:v7\\\" select=\\\"userCSharp:StringSubstring(string(StringExtractSource/text()) , "0" , "2")\\\" />\\r\\n <xsl:variable name=\\\"var:v8\\\" select=\\\"userCSharp:StringConcat(string(StringConcatSource/text()))\\\" />\\r\\n <xsl:variable name=\\\"var:v9\\\" select=\\\"userCSharp:StringTrimLeft(string(StringLeftTrimSource/text()))\\\" />\\r\\n <xsl:variable name=\\\"var:v10\\\" select=\\\"userCSharp:StringTrimRight(string(StringRightTrimSource/text()))\\\" />\\r\\n <ns0:Root>\\r\\n <StringFindDestination>\\r\\n <xsl:value-of select=\\\"$var:v1\\\" />\\r\\n </StringFindDestination>\\r\\n <StringLeftDestination>\\r\\n <xsl:value-of select=\\\"$var:v2\\\" />\\r\\n </StringLeftDestination>\\r\\n <StringRightDestination>\\r\\n <xsl:value-of select=\\\"$var:v3\\\" />\\r\\n </StringRightDestination>\\r\\n <UppercaseDestination>\\r\\n <xsl:value-of select=\\\"$var:v4\\\" />\\r\\n </UppercaseDestination>\\r\\n <LowercaseDestination>\\r\\n <xsl:value-of select=\\\"$var:v5\\\" />\\r\\n </LowercaseDestination>\\r\\n <SizeDestination>\\r\\n <xsl:value-of select=\\\"$var:v6\\\" />\\r\\n </SizeDestination>\\r\\n <StringExtractDestination>\\r\\n <xsl:value-of select=\\\"$var:v7\\\" />\\r\\n </StringExtractDestination>\\r\\n <StringConcatDestination>\\r\\n <xsl:value-of select=\\\"$var:v8\\\" />\\r\\n </StringConcatDestination>\\r\\n <StringLeftTrimDestination>\\r\\n <xsl:value-of select=\\\"$var:v9\\\" />\\r\\n </StringLeftTrimDestination>\\r\\n <StringRightTrimDestination>\\r\\n <xsl:value-of select=\\\"$var:v10\\\" />\\r\\n </StringRightTrimDestination>\\r\\n </ns0:Root>\\r\\n </xsl:template>\\r\\n</xsl:stylesheet>\",\r\n \"contentType\": \"application/xml\",\r\n \"metadata\": \"IntegrationAccountMap3946\"\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"integrationAccountMapName\": \"IntegrationAccountMap3946\"\r\n }\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "3514" - ], - "x-ms-client-request-id": [ - "d7f529b6-8e18-4521-a35c-27c6b4664e76" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"mapType\": \"Xslt\",\r\n \"contentLink\": {\r\n \"uri\": \"https://flowprodcu13by01.blob.core.windows.net/integrationaccounts240f11e9101f4686ba42a9399cc63078/99D1E_XSLT_INTEGRATIONACCOUNTMAP3946-BE89E7BD0D4C432EB15C508AC60EDE87?sv=2016-05-31&sr=b&sig=aqrf5PJqQ45ojZO0%2FcBrZdKEH%2FEgxYKGr%2FDQoZcHCK8%3D&se=2017-03-02T01%3A58%3A14Z&sp=r\",\r\n \"contentVersion\": \"\\\"0x8D460EE0F588ED4\\\"\",\r\n \"contentSize\": 3056,\r\n \"contentHash\": {\r\n \"algorithm\": \"md5\",\r\n \"value\": \"A2avz/M0ov2FPI3+Je8vDw==\"\r\n }\r\n },\r\n \"createdTime\": \"2017-03-01T21:58:14.274301Z\",\r\n \"changedTime\": \"2017-03-01T21:58:14.2752027Z\",\r\n \"metadata\": \"IntegrationAccountMap3946\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1254/maps/IntegrationAccountMap3946\",\r\n \"name\": \"IntegrationAccountMap3946\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/maps\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "858" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:58:13 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:b2b41172-322e-4901-bce9-709c2b90ed77" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1186" - ], - "x-ms-correlation-request-id": [ - "6eefbd67-3dfc-46bc-b54b-6444ebae4f9e" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215814Z:6eefbd67-3dfc-46bc-b54b-6444ebae4f9e" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1254/maps?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTI1NC9tYXBzP2FwaS12ZXJzaW9uPTIwMTYtMDYtMDE=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "1cd60f03-ac6d-4907-bada-5d90caa27e2a" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"mapType\": \"Xslt\",\r\n \"contentLink\": {\r\n \"uri\": \"https://flowprodcu13by01.blob.core.windows.net/integrationaccounts240f11e9101f4686ba42a9399cc63078/99D1E_XSLT_INTEGRATIONACCOUNTMAP3946-BE89E7BD0D4C432EB15C508AC60EDE87?sv=2016-05-31&sr=b&sig=aqrf5PJqQ45ojZO0%2FcBrZdKEH%2FEgxYKGr%2FDQoZcHCK8%3D&se=2017-03-02T01%3A58%3A14Z&sp=r\",\r\n \"contentVersion\": \"\\\"0x8D460EE0F588ED4\\\"\",\r\n \"contentSize\": 3056,\r\n \"contentHash\": {\r\n \"algorithm\": \"md5\",\r\n \"value\": \"A2avz/M0ov2FPI3+Je8vDw==\"\r\n }\r\n },\r\n \"createdTime\": \"2017-03-01T21:58:14.274301Z\",\r\n \"changedTime\": \"2017-03-01T21:58:14.2752027Z\",\r\n \"metadata\": \"IntegrationAccountMap3946\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1254/maps/IntegrationAccountMap3946\",\r\n \"name\": \"IntegrationAccountMap3946\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/maps\"\r\n }\r\n ]\r\n}", - "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:58:13 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], - "x-ms-request-id": [ - "westus:0d348f3c-e867-4565-8cb4-2a8a40da78d9" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14487" - ], - "x-ms-correlation-request-id": [ - "02d661b8-b17a-4f61-a1c4-17266a38f3d4" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215814Z:02d661b8-b17a-4f61-a1c4-17266a38f3d4" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1254?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTI1ND9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "0fec0261-2c52-4128-9a38-938e6342fffc" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:58:14 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:51a93497-c1ed-4b7e-943a-57f37b98d405" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1185" - ], - "x-ms-correlation-request-id": [ - "849fc378-ff08-4a03-afb2-f40a2c32b2cc" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215814Z:849fc378-ff08-4a03-afb2-f40a2c32b2cc" - ] - }, - "StatusCode": 200 - } - ], - "Names": { - "ListIntegrationAccountMaps": [ - "IntegrationAccount1254", - "IntegrationAccountMap3946" - ] - }, - "Variables": { - "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" - } -} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountPartnerScenarioTests/CreateAndDeleteIntegrationAccountPartner.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountPartnerScenarioTests/CreateAndDeleteIntegrationAccountPartner.json deleted file mode 100644 index 2ad7aed00ad1b..0000000000000 --- a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountPartnerScenarioTests/CreateAndDeleteIntegrationAccountPartner.json +++ /dev/null @@ -1,239 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9430?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50OTQzMD9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "91" - ], - "x-ms-client-request-id": [ - "695367f0-40ec-4080-a6b8-630cb6b10556" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9430\",\r\n \"name\": \"IntegrationAccount9430\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "290" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:56:55 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:7212b6aa-61c8-4269-8f99-0230757825b6" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1199" - ], - "x-ms-correlation-request-id": [ - "b283ee55-0f2c-49f5-a0db-e034d1cc45cc" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20170301T215656Z:b283ee55-0f2c-49f5-a0db-e034d1cc45cc" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9430/partners/IntegrationAccountPartner9548?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50OTQzMC9wYXJ0bmVycy9JbnRlZ3JhdGlvbkFjY291bnRQYXJ0bmVyOTU0OD9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"partnerType\": \"B2B\",\r\n \"metadata\": \"IntegrationAccountPartner9548\",\r\n \"content\": {\r\n \"b2b\": {\r\n \"businessIdentities\": [\r\n {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"ZZ\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"integrationAccountPartnerName\": \"IntegrationAccountPartner9548\"\r\n }\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "398" - ], - "x-ms-client-request-id": [ - "73e26683-eeb0-4b7e-b3b5-8d5c9cd8538a" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"partnerType\": \"B2B\",\r\n \"content\": {\r\n \"b2b\": {\r\n \"businessIdentities\": [\r\n {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"ZZ\"\r\n }\r\n ]\r\n }\r\n },\r\n \"createdTime\": \"2017-03-01T21:56:56.5927585Z\",\r\n \"changedTime\": \"2017-03-01T21:56:56.5933353Z\",\r\n \"metadata\": \"IntegrationAccountPartner9548\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9430/partners/IntegrationAccountPartner9548\",\r\n \"name\": \"IntegrationAccountPartner9548\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/partners\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "526" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:56:56 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:ad1cef63-e842-42dd-b5b2-565df17dafd3" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" - ], - "x-ms-correlation-request-id": [ - "1c9d4bf4-8799-43f4-b61f-3a4d1699cfaa" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20170301T215656Z:1c9d4bf4-8799-43f4-b61f-3a4d1699cfaa" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9430/partners/IntegrationAccountPartner9548?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50OTQzMC9wYXJ0bmVycy9JbnRlZ3JhdGlvbkFjY291bnRQYXJ0bmVyOTU0OD9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "67112f19-240a-4cde-af0f-9b34593eadfc" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:56:56 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:0fc9dde8-634d-4e30-a0e5-32196b5bd1bf" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1197" - ], - "x-ms-correlation-request-id": [ - "f1c68a89-f3da-4245-97f5-ce346ddfb64d" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20170301T215656Z:f1c68a89-f3da-4245-97f5-ce346ddfb64d" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9430?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50OTQzMD9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "67235353-dd0d-45fb-a2aa-dcb5f99e8508" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:56:57 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:2566eef4-7a4a-4581-a0d9-962bdc4575a8" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1196" - ], - "x-ms-correlation-request-id": [ - "437b6a6b-2bed-47c5-8504-a27d68b3a387" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20170301T215657Z:437b6a6b-2bed-47c5-8504-a27d68b3a387" - ] - }, - "StatusCode": 200 - } - ], - "Names": { - "CreateAndDeleteIntegrationAccountPartner": [ - "IntegrationAccount9430", - "IntegrationAccountPartner9548" - ] - }, - "Variables": { - "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" - } -} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountPartnerScenarioTests/CreateAndUpdateIntegrationAccountPartner.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountPartnerScenarioTests/IntegrationAccountPartners_Create_OK.json similarity index 51% rename from src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountPartnerScenarioTests/CreateAndUpdateIntegrationAccountPartner.json rename to src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountPartnerScenarioTests/IntegrationAccountPartners_Create_OK.json index c1836e912e3a9..429be844f70be 100644 --- a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountPartnerScenarioTests/CreateAndUpdateIntegrationAccountPartner.json +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountPartnerScenarioTests/IntegrationAccountPartners_Create_OK.json @@ -1,249 +1,309 @@ { "Entries": [ { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5217?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NTIxNz9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "91" - ], "x-ms-client-request-id": [ - "f3fef8a4-d4ce-4f66-ab2f-066fbc829279" + "547c833c-3dde-4dfb-b147-7bee074c5382" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ] }, - "ResponseBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5217\",\r\n \"name\": \"IntegrationAccount5217\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:50:13 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "x-ms-request-id": [ + "4718109a-5758-40e6-9e3b-e8c55680695e" + ], + "x-ms-correlation-request-id": [ + "4718109a-5758-40e6-9e3b-e8c55680695e" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225013Z:4718109a-5758-40e6-9e3b-e8c55680695e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], "Content-Length": [ - "290" + "12" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0df1c398-b214-4eea-8395-6cd7136f4719" + ], + "accept-language": [ + "en-US" ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:01 GMT" + "Wed, 19 Sep 2018 22:50:13 GMT" ], "Pragma": [ "no-cache" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19995" + ], "x-ms-request-id": [ - "westus:ce6eb7f0-6fd4-48b6-a5d7-63a8d44c8070" + "8ce7db56-e1c9-42fc-b188-899b438e28b8" + ], + "x-ms-correlation-request-id": [ + "8ce7db56-e1c9-42fc-b188-899b438e28b8" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225013Z:8ce7db56-e1c9-42fc-b188-899b438e28b8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" + "X-Content-Type-Options": [ + "nosniff" ], - "x-ms-correlation-request-id": [ - "7a1ca5b3-b194-496f-adf4-7bfec8aee2f8" + "Content-Length": [ + "12" ], - "x-ms-routing-request-id": [ - "CENTRALUS:20170301T215701Z:7a1ca5b3-b194-496f-adf4-7bfec8aee2f8" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 201 + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5217/partners/IntegrationAccountPartner9925?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NTIxNy9wYXJ0bmVycy9JbnRlZ3JhdGlvbkFjY291bnRQYXJ0bmVyOTkyNT9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7886?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50Nzg4Nj9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"partnerType\": \"B2B\",\r\n \"metadata\": \"IntegrationAccountPartner9925\",\r\n \"content\": {\r\n \"b2b\": {\r\n \"businessIdentities\": [\r\n {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"ZZ\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"integrationAccountPartnerName\": \"IntegrationAccountPartner9925\"\r\n }\r\n}", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "398" - ], "x-ms-client-request-id": [ - "6d75954e-a2d9-43be-bb13-69baebda0490" + "df634ae3-0384-4b63-a93d-08a3809b85eb" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"partnerType\": \"B2B\",\r\n \"content\": {\r\n \"b2b\": {\r\n \"businessIdentities\": [\r\n {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"ZZ\"\r\n }\r\n ]\r\n }\r\n },\r\n \"createdTime\": \"2017-03-01T21:57:02.1679865Z\",\r\n \"changedTime\": \"2017-03-01T21:57:02.1681744Z\",\r\n \"metadata\": \"IntegrationAccountPartner9925\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5217/partners/IntegrationAccountPartner9925\",\r\n \"name\": \"IntegrationAccountPartner9925\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/partners\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "526" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:01 GMT" + "Wed, 19 Sep 2018 22:50:14 GMT" ], "Pragma": [ "no-cache" ], "x-ms-request-id": [ - "westus:99d2e6d6-c6f4-4776-ac78-ca818541cdfa" + "westus:3d07736d-3682-4a3f-8812-da44e2fdc473" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1197" + "1196" ], "x-ms-correlation-request-id": [ - "87b6acd5-1e6b-444c-90e8-2f24344c6466" + "8666ac22-d5ba-476d-9763-6e120771e7da" ], "x-ms-routing-request-id": [ - "CENTRALUS:20170301T215702Z:87b6acd5-1e6b-444c-90e8-2f24344c6466" + "WESTUS2:20180919T225015Z:8666ac22-d5ba-476d-9763-6e120771e7da" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "307" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7886\",\r\n \"name\": \"IntegrationAccount7886\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", "StatusCode": 201 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5217/partners/IntegrationAccountPartner9925?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NTIxNy9wYXJ0bmVycy9JbnRlZ3JhdGlvbkFjY291bnRQYXJ0bmVyOTkyNT9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7886/partners/IntegrationAccountPartner7015?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50Nzg4Ni9wYXJ0bmVycy9JbnRlZ3JhdGlvbkFjY291bnRQYXJ0bmVyNzAxNT9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"partnerType\": \"B2B\",\r\n \"metadata\": \"updated\",\r\n \"content\": {\r\n \"b2b\": {\r\n \"businessIdentities\": [\r\n {\r\n \"qualifier\": \"XX\",\r\n \"value\": \"DD\"\r\n },\r\n {\r\n \"qualifier\": \"XX\",\r\n \"value\": \"DD\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"partnerType\": \"B2B\",\r\n \"content\": {\r\n \"b2b\": {\r\n \"businessIdentities\": [\r\n {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"ZZ\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"location\": \"westus\"\r\n}", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "373" - ], "x-ms-client-request-id": [ - "d33354ec-4d01-4b6f-9cf4-5b2874b1bb85" + "55df1005-0c29-4951-ab1f-c31fbd8d9a57" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"partnerType\": \"B2B\",\r\n \"content\": {\r\n \"b2b\": {\r\n \"businessIdentities\": [\r\n {\r\n \"qualifier\": \"XX\",\r\n \"value\": \"DD\"\r\n },\r\n {\r\n \"qualifier\": \"XX\",\r\n \"value\": \"DD\"\r\n }\r\n ]\r\n }\r\n },\r\n \"createdTime\": \"2017-03-01T21:57:02.1679865Z\",\r\n \"changedTime\": \"2017-03-01T21:57:02.3561075Z\",\r\n \"metadata\": \"updated\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5217/partners/IntegrationAccountPartner9925\",\r\n \"name\": \"IntegrationAccountPartner9925\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/partners\"\r\n}", - "ResponseHeaders": { + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ], + "Content-Length": [ + "259" + ] + }, + "ResponseHeaders": { "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:01 GMT" + "Wed, 19 Sep 2018 22:50:19 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" - ], - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], "x-ms-request-id": [ - "westus:66311ab5-f151-44c2-96e5-ee9d40dd17fe" + "westus:ebb3d7fd-f572-48a6-8468-446ded4aca75" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1196" + "1195" ], "x-ms-correlation-request-id": [ - "6e01555e-54ed-4656-8923-19395c02521f" + "ed0e7a6a-b810-4599-891c-3b05e0320c62" ], "x-ms-routing-request-id": [ - "CENTRALUS:20170301T215702Z:6e01555e-54ed-4656-8923-19395c02521f" + "WESTUS2:20180919T225020Z:ed0e7a6a-b810-4599-891c-3b05e0320c62" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "483" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 200 + "ResponseBody": "{\r\n \"properties\": {\r\n \"partnerType\": \"B2B\",\r\n \"content\": {\r\n \"b2b\": {\r\n \"businessIdentities\": [\r\n {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"ZZ\"\r\n }\r\n ]\r\n }\r\n },\r\n \"createdTime\": \"2018-09-19T22:50:16.1026328Z\",\r\n \"changedTime\": \"2018-09-19T22:50:16.1029142Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7886/partners/IntegrationAccountPartner7015\",\r\n \"name\": \"IntegrationAccountPartner7015\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/partners\"\r\n}", + "StatusCode": 201 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5217?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NTIxNz9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7886?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50Nzg4Nj9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "017ec4b7-40f3-462a-bad6-31fc8b51f3fc" + "fd1fa7b1-28cf-487f-8e85-fb2a03e03a97" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ] }, - "ResponseBody": "", "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:02 GMT" + "Wed, 19 Sep 2018 22:50:21 GMT" ], "Pragma": [ "no-cache" ], "x-ms-request-id": [ - "westus:da40a343-f931-43c7-a668-8081d427e3d2" + "westus:e48e15ca-047f-4c34-a81a-350a6a458f59" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1195" + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14995" ], "x-ms-correlation-request-id": [ - "409e5b91-4b18-4085-8a43-42755ce3ee4c" + "3b2d4215-5718-4124-a68e-38c95f22b7c7" ], "x-ms-routing-request-id": [ - "CENTRALUS:20170301T215703Z:409e5b91-4b18-4085-8a43-42755ce3ee4c" + "WESTUS2:20180919T225021Z:3b2d4215-5718-4124-a68e-38c95f22b7c7" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "", "StatusCode": 200 } ], "Names": { - "CreateAndUpdateIntegrationAccountPartner": [ - "IntegrationAccount5217", - "IntegrationAccountPartner9925" + "IntegrationAccountPartners_Create_OK": [ + "IntegrationAccount7886", + "IntegrationAccountPartner7015" ] }, "Variables": { diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountPartnerScenarioTests/IntegrationAccountPartners_DeleteWhenDeleteIntegrationAccount_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountPartnerScenarioTests/IntegrationAccountPartners_DeleteWhenDeleteIntegrationAccount_OK.json new file mode 100644 index 0000000000000..015e44bf0b6a0 --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountPartnerScenarioTests/IntegrationAccountPartners_DeleteWhenDeleteIntegrationAccount_OK.json @@ -0,0 +1,370 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "40dce267-092f-458d-a1a6-62c15e818bed" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:59 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-request-id": [ + "fcc0903d-3b1d-4d98-9316-fc1d46577f8a" + ], + "x-ms-correlation-request-id": [ + "fcc0903d-3b1d-4d98-9316-fc1d46577f8a" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224959Z:fcc0903d-3b1d-4d98-9316-fc1d46577f8a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "bdd3b784-caaf-432b-8a2f-f5864e03dad4" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:59 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19999" + ], + "x-ms-request-id": [ + "cafdd5b8-1a42-4dcd-ae1b-359a98f492fe" + ], + "x-ms-correlation-request-id": [ + "cafdd5b8-1a42-4dcd-ae1b-359a98f492fe" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224959Z:cafdd5b8-1a42-4dcd-ae1b-359a98f492fe" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9806?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50OTgwNj9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "26780947-c587-4037-a91f-f60e0baf67ba" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:50:00 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:ccb21210-ade1-4d83-8293-9866c8a02613" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "62d4e635-49ad-4486-9cdc-0ca7e8ff1a99" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225000Z:62d4e635-49ad-4486-9cdc-0ca7e8ff1a99" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "307" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9806\",\r\n \"name\": \"IntegrationAccount9806\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9806/partners/IntegrationAccountPartner6650?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50OTgwNi9wYXJ0bmVycy9JbnRlZ3JhdGlvbkFjY291bnRQYXJ0bmVyNjY1MD9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"partnerType\": \"B2B\",\r\n \"content\": {\r\n \"b2b\": {\r\n \"businessIdentities\": [\r\n {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"ZZ\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "76ac62a1-a666-4895-9142-73808d0fe4f2" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "259" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:50:00 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:c3fa8a43-af38-49da-aa2b-d81f09f8aebe" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "7c3d28fe-ddb9-4646-b3c9-0b13237c8bb3" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225001Z:7c3d28fe-ddb9-4646-b3c9-0b13237c8bb3" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "483" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"partnerType\": \"B2B\",\r\n \"content\": {\r\n \"b2b\": {\r\n \"businessIdentities\": [\r\n {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"ZZ\"\r\n }\r\n ]\r\n }\r\n },\r\n \"createdTime\": \"2018-09-19T22:50:01.6020297Z\",\r\n \"changedTime\": \"2018-09-19T22:50:01.6025374Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9806/partners/IntegrationAccountPartner6650\",\r\n \"name\": \"IntegrationAccountPartner6650\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/partners\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9806?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50OTgwNj9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "48484639-a8e4-4249-888d-da6ffb81a81d" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:50:01 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:482d48e5-f704-4d0f-903d-0432535ac747" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "3cb17094-a9a4-44fe-9a8a-9b511e262b6d" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225002Z:3cb17094-a9a4-44fe-9a8a-9b511e262b6d" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9806/partners/IntegrationAccountPartner6650?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50OTgwNi9wYXJ0bmVycy9JbnRlZ3JhdGlvbkFjY291bnRQYXJ0bmVyNjY1MD9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "cc4f0cd4-4b67-4ccd-a977-8b5ab5d1ecfa" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:50:01 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "14f8c223-d327-4756-9200-f8ce0da3a541" + ], + "x-ms-correlation-request-id": [ + "14f8c223-d327-4756-9200-f8ce0da3a541" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225002Z:14f8c223-d327-4756-9200-f8ce0da3a541" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "168" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Logic/integrationAccounts/IntegrationAccount9806' under resource group 'flowrg' was not found.\"\r\n }\r\n}", + "StatusCode": 404 + } + ], + "Names": { + "IntegrationAccountPartners_DeleteWhenDeleteIntegrationAccount_OK": [ + "IntegrationAccount9806", + "IntegrationAccountPartner6650" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountPartnerScenarioTests/IntegrationAccountPartners_Delete_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountPartnerScenarioTests/IntegrationAccountPartners_Delete_OK.json new file mode 100644 index 0000000000000..97430830b81d5 --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountPartnerScenarioTests/IntegrationAccountPartners_Delete_OK.json @@ -0,0 +1,425 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "50f2a105-3b96-425a-b768-39a5dc2a4dc2" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:50:37 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-request-id": [ + "3a5fcdfa-d45f-4fa1-8b7b-541a9e049095" + ], + "x-ms-correlation-request-id": [ + "3a5fcdfa-d45f-4fa1-8b7b-541a9e049095" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225037Z:3a5fcdfa-d45f-4fa1-8b7b-541a9e049095" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "2db51817-0097-485e-b1f3-68c955cc89d2" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:50:37 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19997" + ], + "x-ms-request-id": [ + "c9ba55bc-ec33-438c-a430-a626fdcaedd8" + ], + "x-ms-correlation-request-id": [ + "c9ba55bc-ec33-438c-a430-a626fdcaedd8" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225037Z:c9ba55bc-ec33-438c-a430-a626fdcaedd8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5421?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NTQyMT9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "b07dbc45-7f4a-4ab2-bd44-7f78e2dc8a2d" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:50:38 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:cee65ff1-0c50-4838-9e3e-1bdcca712103" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-correlation-request-id": [ + "7331bdd1-36f7-42e2-a893-8f6800cc2a21" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225038Z:7331bdd1-36f7-42e2-a893-8f6800cc2a21" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "307" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5421\",\r\n \"name\": \"IntegrationAccount5421\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5421/partners/IntegrationAccountPartner6670?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NTQyMS9wYXJ0bmVycy9JbnRlZ3JhdGlvbkFjY291bnRQYXJ0bmVyNjY3MD9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"partnerType\": \"B2B\",\r\n \"content\": {\r\n \"b2b\": {\r\n \"businessIdentities\": [\r\n {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"ZZ\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "70024ab4-be67-4050-8adf-fe8dc0145911" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "259" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:50:38 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:c1714b72-eb45-4ec1-823f-cb0fbf8e8475" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-correlation-request-id": [ + "1c0f49e8-5e6f-4945-9d5b-093564bfd0b7" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225039Z:1c0f49e8-5e6f-4945-9d5b-093564bfd0b7" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "483" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"partnerType\": \"B2B\",\r\n \"content\": {\r\n \"b2b\": {\r\n \"businessIdentities\": [\r\n {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"ZZ\"\r\n }\r\n ]\r\n }\r\n },\r\n \"createdTime\": \"2018-09-19T22:50:39.0091032Z\",\r\n \"changedTime\": \"2018-09-19T22:50:39.0093735Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5421/partners/IntegrationAccountPartner6670\",\r\n \"name\": \"IntegrationAccountPartner6670\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/partners\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5421/partners/IntegrationAccountPartner6670?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NTQyMS9wYXJ0bmVycy9JbnRlZ3JhdGlvbkFjY291bnRQYXJ0bmVyNjY3MD9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "879255d1-a360-4999-9e90-982fddda0682" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:50:39 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:17ea0158-abd5-4fa7-bbaf-684a5d54b725" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "a9ee06c4-9dbe-4b07-9a79-2cd47b1cacaa" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225039Z:a9ee06c4-9dbe-4b07-9a79-2cd47b1cacaa" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5421/partners/IntegrationAccountPartner6670?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NTQyMS9wYXJ0bmVycy9JbnRlZ3JhdGlvbkFjY291bnRQYXJ0bmVyNjY3MD9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "358b29fd-0b2f-40fb-bdff-c5df757f84d7" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:50:39 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:1606c99a-b8fd-4e55-ad14-4712c814a5a3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "x-ms-correlation-request-id": [ + "c6b657fa-c95d-487a-bac9-5995ce74aa70" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225039Z:c6b657fa-c95d-487a-bac9-5995ce74aa70" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "160" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"PartnerNotFound\",\r\n \"message\": \"The partner 'IntegrationAccountPartner6670' could not be found in integration account 'IntegrationAccount5421'.\"\r\n }\r\n}", + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5421?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NTQyMT9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "3930076f-3bca-4a91-996c-668d9d52be00" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:50:39 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:f159ffc6-2da8-410a-8cb2-75e4a7dd21d8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14997" + ], + "x-ms-correlation-request-id": [ + "aad159fe-f06f-4bd3-bb3c-6f25b19b1564" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225040Z:aad159fe-f06f-4bd3-bb3c-6f25b19b1564" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "IntegrationAccountPartners_Delete_OK": [ + "IntegrationAccount5421", + "IntegrationAccountPartner6670" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountPartnerScenarioTests/IntegrationAccountPartners_Get_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountPartnerScenarioTests/IntegrationAccountPartners_Get_OK.json new file mode 100644 index 0000000000000..788b35becc02c --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountPartnerScenarioTests/IntegrationAccountPartners_Get_OK.json @@ -0,0 +1,373 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "ff6ac838-1e0d-40ff-8b24-7edfa5feafbe" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:50:27 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-request-id": [ + "b79639dc-812d-4a63-980d-a6def47caa7e" + ], + "x-ms-correlation-request-id": [ + "b79639dc-812d-4a63-980d-a6def47caa7e" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225028Z:b79639dc-812d-4a63-980d-a6def47caa7e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "84ec3b34-b451-490d-ac8b-afce6dd1690c" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:50:27 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19993" + ], + "x-ms-request-id": [ + "344735d5-7e37-4151-bb22-28eaa539f295" + ], + "x-ms-correlation-request-id": [ + "344735d5-7e37-4151-bb22-28eaa539f295" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225028Z:344735d5-7e37-4151-bb22-28eaa539f295" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1315?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTMxNT9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "9b0de557-6340-4632-88f6-02a3560521aa" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:50:28 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:60f55d5b-ab6e-4801-8265-d714c20455bb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1191" + ], + "x-ms-correlation-request-id": [ + "5b95600f-a5d4-408f-b744-824ccc26f081" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225028Z:5b95600f-a5d4-408f-b744-824ccc26f081" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "307" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1315\",\r\n \"name\": \"IntegrationAccount1315\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1315/partners/IntegrationAccountPartner4665?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTMxNS9wYXJ0bmVycy9JbnRlZ3JhdGlvbkFjY291bnRQYXJ0bmVyNDY2NT9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"partnerType\": \"B2B\",\r\n \"content\": {\r\n \"b2b\": {\r\n \"businessIdentities\": [\r\n {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"ZZ\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "5fd02c40-3861-4c3c-b59f-9720dfd32c7a" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "259" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:50:29 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:243afba5-d335-4d5c-8863-30e1e86e6908" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1190" + ], + "x-ms-correlation-request-id": [ + "70f6c792-20e3-465a-ad1f-8564260b161e" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225029Z:70f6c792-20e3-465a-ad1f-8564260b161e" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "483" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"partnerType\": \"B2B\",\r\n \"content\": {\r\n \"b2b\": {\r\n \"businessIdentities\": [\r\n {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"ZZ\"\r\n }\r\n ]\r\n }\r\n },\r\n \"createdTime\": \"2018-09-19T22:50:29.3790322Z\",\r\n \"changedTime\": \"2018-09-19T22:50:29.3797394Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1315/partners/IntegrationAccountPartner4665\",\r\n \"name\": \"IntegrationAccountPartner4665\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/partners\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1315/partners/IntegrationAccountPartner4665?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTMxNS9wYXJ0bmVycy9JbnRlZ3JhdGlvbkFjY291bnRQYXJ0bmVyNDY2NT9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "fbf259f5-e700-463e-ae06-3b99ee52a244" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:50:29 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:c906c578-47ff-4850-b81c-a5b49b14f4ce" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "x-ms-correlation-request-id": [ + "50935140-168f-4f0b-8d52-8b54df30a282" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225029Z:50935140-168f-4f0b-8d52-8b54df30a282" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "483" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"partnerType\": \"B2B\",\r\n \"content\": {\r\n \"b2b\": {\r\n \"businessIdentities\": [\r\n {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"ZZ\"\r\n }\r\n ]\r\n }\r\n },\r\n \"createdTime\": \"2018-09-19T22:50:29.3790322Z\",\r\n \"changedTime\": \"2018-09-19T22:50:29.3797394Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1315/partners/IntegrationAccountPartner4665\",\r\n \"name\": \"IntegrationAccountPartner4665\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/partners\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1315?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTMxNT9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "7597d372-cb49-4efe-b9fb-300babd7929b" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:50:30 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:53b362fa-cf67-4389-aa9f-88e4c652c3f4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14995" + ], + "x-ms-correlation-request-id": [ + "e7db657d-cf1f-4e17-ac89-5bfe5f2c16d8" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225030Z:e7db657d-cf1f-4e17-ac89-5bfe5f2c16d8" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "IntegrationAccountPartners_Get_OK": [ + "IntegrationAccount1315", + "IntegrationAccountPartner4665" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountPartnerScenarioTests/IntegrationAccountPartners_ListContentCallbackUrl_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountPartnerScenarioTests/IntegrationAccountPartners_ListContentCallbackUrl_OK.json new file mode 100644 index 0000000000000..0763defc609be --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountPartnerScenarioTests/IntegrationAccountPartners_ListContentCallbackUrl_OK.json @@ -0,0 +1,379 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "1c158acb-3f14-4891-8223-c73c82d3870e" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:50:08 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-request-id": [ + "a55c0797-bc4c-4724-aa18-30e6fa51aff7" + ], + "x-ms-correlation-request-id": [ + "a55c0797-bc4c-4724-aa18-30e6fa51aff7" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225009Z:a55c0797-bc4c-4724-aa18-30e6fa51aff7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "9abcea66-d014-41a1-a08c-917ff0cc97ac" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:50:08 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19997" + ], + "x-ms-request-id": [ + "3eef8311-22b6-49b6-9a71-d23e040da676" + ], + "x-ms-correlation-request-id": [ + "3eef8311-22b6-49b6-9a71-d23e040da676" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225009Z:3eef8311-22b6-49b6-9a71-d23e040da676" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount934?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50OTM0P2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "9e4d11ec-0a1f-442a-9e4e-8542d4c5624b" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:50:08 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:1f0a2f4b-0744-4cdb-a054-ef2c6b18f74e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-correlation-request-id": [ + "422611d8-a965-4e49-a39b-b80651d2c617" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225009Z:422611d8-a965-4e49-a39b-b80651d2c617" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "305" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount934\",\r\n \"name\": \"IntegrationAccount934\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount934/partners/IntegrationAccountPartner9750?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50OTM0L3BhcnRuZXJzL0ludGVncmF0aW9uQWNjb3VudFBhcnRuZXI5NzUwP2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"partnerType\": \"B2B\",\r\n \"content\": {\r\n \"b2b\": {\r\n \"businessIdentities\": [\r\n {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"ZZ\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "2d0d4206-9204-49a7-a385-f5f9d66c829a" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "259" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:50:09 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:2a9f3293-b3b7-4573-9329-34e0e7dd1e0e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-correlation-request-id": [ + "f1a8d4ed-b46b-4979-8fd1-5c140d1b1bff" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225010Z:f1a8d4ed-b46b-4979-8fd1-5c140d1b1bff" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "482" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"partnerType\": \"B2B\",\r\n \"content\": {\r\n \"b2b\": {\r\n \"businessIdentities\": [\r\n {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"ZZ\"\r\n }\r\n ]\r\n }\r\n },\r\n \"createdTime\": \"2018-09-19T22:50:10.1653626Z\",\r\n \"changedTime\": \"2018-09-19T22:50:10.1660501Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount934/partners/IntegrationAccountPartner9750\",\r\n \"name\": \"IntegrationAccountPartner9750\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/partners\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount934/partners/IntegrationAccountPartner9750/listContentCallbackUrl?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50OTM0L3BhcnRuZXJzL0ludGVncmF0aW9uQWNjb3VudFBhcnRuZXI5NzUwL2xpc3RDb250ZW50Q2FsbGJhY2tVcmw/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"keyType\": \"Primary\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "40ce0b4b-43ba-4d7c-8c84-63dc3fa6711e" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:50:09 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:0ede1b44-802f-4058-b328-742f36e9d4bb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], + "x-ms-correlation-request-id": [ + "60617f1e-7717-4ca2-8bae-544582c82e26" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225010Z:60617f1e-7717-4ca2-8bae-544582c82e26" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "522" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": \"https://prod-92.westus.logic.azure.com:443/integrationAccounts/d1159e44fe544c71a20a31cbb97eea8f/partners/IntegrationAccountPartner9750/contents/Value?api-version=2015-08-01-preview&sp=%2Fpartners%2FIntegrationAccountPartner9750%2Fread&sv=1.0&sig=0OdZKncUGcY-Wb2sBYU0YS-rcB2ENerjqqaKaxKZu_s\",\r\n \"method\": \"GET\",\r\n \"basePath\": \"https://prod-92.westus.logic.azure.com/integrationAccounts/d1159e44fe544c71a20a31cbb97eea8f/partners/IntegrationAccountPartner9750/contents/Value\",\r\n \"queries\": {\r\n \"api-version\": \"2015-08-01-preview\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount934?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50OTM0P2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "fbd448ae-d344-437d-a89d-cd489305fccd" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:50:09 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:aad3d3e4-cd08-4405-848c-be767f6e0cd1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "6aae7e18-016b-47b8-b64e-2363b84d6ec3" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225010Z:6aae7e18-016b-47b8-b64e-2363b84d6ec3" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "IntegrationAccountPartners_ListContentCallbackUrl_OK": [ + "IntegrationAccount934", + "IntegrationAccountPartner9750" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountPartnerScenarioTests/IntegrationAccountPartners_List_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountPartnerScenarioTests/IntegrationAccountPartners_List_OK.json new file mode 100644 index 0000000000000..5efea010dc431 --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountPartnerScenarioTests/IntegrationAccountPartners_List_OK.json @@ -0,0 +1,503 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "7232a0cd-7f45-4571-b81b-364c7460891e" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:55 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-request-id": [ + "e47ae82e-de7a-45d9-aaef-6ac9de7408ff" + ], + "x-ms-correlation-request-id": [ + "e47ae82e-de7a-45d9-aaef-6ac9de7408ff" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224955Z:e47ae82e-de7a-45d9-aaef-6ac9de7408ff" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "8735459d-da51-443c-956d-cc90ae4b0d40" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:55 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19999" + ], + "x-ms-request-id": [ + "2f4f72e6-ff15-414c-ac3f-960ac0e66aa5" + ], + "x-ms-correlation-request-id": [ + "2f4f72e6-ff15-414c-ac3f-960ac0e66aa5" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224955Z:2f4f72e6-ff15-414c-ac3f-960ac0e66aa5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1663?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTY2Mz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "b384d077-94dc-4362-bc0e-dc2f3d2e0e1e" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:56 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:c4651c2c-5e07-4fe3-8be9-14e12e2a7e9f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "0b3d2c1c-60b5-40e2-be3d-d40f1ac8f389" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224956Z:0b3d2c1c-60b5-40e2-be3d-d40f1ac8f389" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "307" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1663\",\r\n \"name\": \"IntegrationAccount1663\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1663/partners/IntegrationAccountPartner9700?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTY2My9wYXJ0bmVycy9JbnRlZ3JhdGlvbkFjY291bnRQYXJ0bmVyOTcwMD9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"partnerType\": \"B2B\",\r\n \"content\": {\r\n \"b2b\": {\r\n \"businessIdentities\": [\r\n {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"ZZ\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "28feb00d-9d58-4da0-88f6-5fc8a5dc1f11" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "259" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:56 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:e3e4d07a-c76e-4902-bc24-faa87a945545" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "d709d6c9-4e9d-4156-94a0-8d23eeccaba2" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224956Z:d709d6c9-4e9d-4156-94a0-8d23eeccaba2" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "483" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"partnerType\": \"B2B\",\r\n \"content\": {\r\n \"b2b\": {\r\n \"businessIdentities\": [\r\n {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"ZZ\"\r\n }\r\n ]\r\n }\r\n },\r\n \"createdTime\": \"2018-09-19T22:49:56.9094946Z\",\r\n \"changedTime\": \"2018-09-19T22:49:56.9095599Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1663/partners/IntegrationAccountPartner9700\",\r\n \"name\": \"IntegrationAccountPartner9700\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/partners\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1663/partners/IntegrationAccountPartner4601?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTY2My9wYXJ0bmVycy9JbnRlZ3JhdGlvbkFjY291bnRQYXJ0bmVyNDYwMT9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"partnerType\": \"B2B\",\r\n \"content\": {\r\n \"b2b\": {\r\n \"businessIdentities\": [\r\n {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"ZZ\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "06efc006-0ad4-42c0-b2ca-0d50a6989a8a" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "259" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:56 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:59f5d5bd-95b1-4476-9786-0b041576ec9d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "de4d2146-2dc9-4c9b-9244-8e98f52a6403" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224957Z:de4d2146-2dc9-4c9b-9244-8e98f52a6403" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "482" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"partnerType\": \"B2B\",\r\n \"content\": {\r\n \"b2b\": {\r\n \"businessIdentities\": [\r\n {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"ZZ\"\r\n }\r\n ]\r\n }\r\n },\r\n \"createdTime\": \"2018-09-19T22:49:57.0482353Z\",\r\n \"changedTime\": \"2018-09-19T22:49:57.048891Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1663/partners/IntegrationAccountPartner4601\",\r\n \"name\": \"IntegrationAccountPartner4601\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/partners\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1663/partners/IntegrationAccountPartner1442?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTY2My9wYXJ0bmVycy9JbnRlZ3JhdGlvbkFjY291bnRQYXJ0bmVyMTQ0Mj9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"partnerType\": \"B2B\",\r\n \"content\": {\r\n \"b2b\": {\r\n \"businessIdentities\": [\r\n {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"ZZ\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "53393598-ece1-424f-a955-357c925f7293" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "259" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:56 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:5080008c-859f-437e-b297-9f61ef3c7b42" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-correlation-request-id": [ + "4ddcee36-5f47-446c-914e-0e4cabb2511f" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224957Z:4ddcee36-5f47-446c-914e-0e4cabb2511f" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "483" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"partnerType\": \"B2B\",\r\n \"content\": {\r\n \"b2b\": {\r\n \"businessIdentities\": [\r\n {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"ZZ\"\r\n }\r\n ]\r\n }\r\n },\r\n \"createdTime\": \"2018-09-19T22:49:57.1423204Z\",\r\n \"changedTime\": \"2018-09-19T22:49:57.1428485Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1663/partners/IntegrationAccountPartner1442\",\r\n \"name\": \"IntegrationAccountPartner1442\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/partners\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1663/partners?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTY2My9wYXJ0bmVycz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "702eb6b4-8575-4c91-8a97-570f03ee512e" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:56 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:035a904a-4de4-4cab-a97f-767dff5607fe" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-correlation-request-id": [ + "ff2f5840-5f68-4f02-b01e-51aab77c9d54" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224957Z:ff2f5840-5f68-4f02-b01e-51aab77c9d54" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "1462" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"partnerType\": \"B2B\",\r\n \"content\": {\r\n \"b2b\": {\r\n \"businessIdentities\": [\r\n {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"ZZ\"\r\n }\r\n ]\r\n }\r\n },\r\n \"createdTime\": \"2018-09-19T22:49:57.1423204Z\",\r\n \"changedTime\": \"2018-09-19T22:49:57.1428485Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1663/partners/IntegrationAccountPartner1442\",\r\n \"name\": \"IntegrationAccountPartner1442\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/partners\"\r\n },\r\n {\r\n \"properties\": {\r\n \"partnerType\": \"B2B\",\r\n \"content\": {\r\n \"b2b\": {\r\n \"businessIdentities\": [\r\n {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"ZZ\"\r\n }\r\n ]\r\n }\r\n },\r\n \"createdTime\": \"2018-09-19T22:49:57.0482353Z\",\r\n \"changedTime\": \"2018-09-19T22:49:57.048891Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1663/partners/IntegrationAccountPartner4601\",\r\n \"name\": \"IntegrationAccountPartner4601\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/partners\"\r\n },\r\n {\r\n \"properties\": {\r\n \"partnerType\": \"B2B\",\r\n \"content\": {\r\n \"b2b\": {\r\n \"businessIdentities\": [\r\n {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"ZZ\"\r\n }\r\n ]\r\n }\r\n },\r\n \"createdTime\": \"2018-09-19T22:49:56.9094946Z\",\r\n \"changedTime\": \"2018-09-19T22:49:56.9095599Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1663/partners/IntegrationAccountPartner9700\",\r\n \"name\": \"IntegrationAccountPartner9700\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/partners\"\r\n }\r\n ]\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1663?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTY2Mz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "b1b286b2-d8e5-4bcc-8bb5-7e746970fc6a" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:57 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:0d532d03-bb9b-4847-9503-a008289299e6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "7ba96aef-0467-4654-a502-0e8a33171471" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224957Z:7ba96aef-0467-4654-a502-0e8a33171471" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "IntegrationAccountPartners_List_OK": [ + "IntegrationAccount1663", + "IntegrationAccountPartner9700", + "IntegrationAccountPartner4601", + "IntegrationAccountPartner1442" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountPartnerScenarioTests/IntegrationAccountPartners_Update_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountPartnerScenarioTests/IntegrationAccountPartners_Update_OK.json new file mode 100644 index 0000000000000..09288faa65c60 --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountPartnerScenarioTests/IntegrationAccountPartners_Update_OK.json @@ -0,0 +1,379 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "f5e9c048-7325-4f6c-bc2c-3ede49f2ada1" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:50:04 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-request-id": [ + "d05a745a-5122-40c4-b6da-573234da0fac" + ], + "x-ms-correlation-request-id": [ + "d05a745a-5122-40c4-b6da-573234da0fac" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225004Z:d05a745a-5122-40c4-b6da-573234da0fac" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0f4206e3-0205-46be-a88f-00fdd9f447b5" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:50:04 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19999" + ], + "x-ms-request-id": [ + "81bacda4-32aa-4bd2-afb0-1b4661aed088" + ], + "x-ms-correlation-request-id": [ + "81bacda4-32aa-4bd2-afb0-1b4661aed088" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225004Z:81bacda4-32aa-4bd2-afb0-1b4661aed088" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7347?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NzM0Nz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "4d6f3c28-07df-4618-aff3-1b355e495685" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:50:05 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:f77d8b0c-7ee2-4e4f-b9fb-d1ce51616532" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "8110bc08-c35a-45d5-ad94-11508a535aae" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225005Z:8110bc08-c35a-45d5-ad94-11508a535aae" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "307" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7347\",\r\n \"name\": \"IntegrationAccount7347\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7347/partners/IntegrationAccountPartner1856?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NzM0Ny9wYXJ0bmVycy9JbnRlZ3JhdGlvbkFjY291bnRQYXJ0bmVyMTg1Nj9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"partnerType\": \"B2B\",\r\n \"content\": {\r\n \"b2b\": {\r\n \"businessIdentities\": [\r\n {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"ZZ\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0231d0c7-a7ba-4284-8aba-3206820885b2" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "259" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:50:06 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:a34f46d9-8c38-461c-8eb8-430756c44ce3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "a5c35f84-ac0f-40a2-9c0a-3f44f88cc08a" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225006Z:a5c35f84-ac0f-40a2-9c0a-3f44f88cc08a" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "483" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"partnerType\": \"B2B\",\r\n \"content\": {\r\n \"b2b\": {\r\n \"businessIdentities\": [\r\n {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"ZZ\"\r\n }\r\n ]\r\n }\r\n },\r\n \"createdTime\": \"2018-09-19T22:50:06.1886211Z\",\r\n \"changedTime\": \"2018-09-19T22:50:06.1892455Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7347/partners/IntegrationAccountPartner1856\",\r\n \"name\": \"IntegrationAccountPartner1856\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/partners\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7347/partners/IntegrationAccountPartner1856?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NzM0Ny9wYXJ0bmVycy9JbnRlZ3JhdGlvbkFjY291bnRQYXJ0bmVyMTg1Nj9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"partnerType\": \"B2B\",\r\n \"content\": {\r\n \"b2b\": {\r\n \"businessIdentities\": [\r\n {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"ZZ\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "c98c9830-c4a2-4c0c-9d6c-9f0055bf8c45" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "259" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:50:06 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:aaac035e-8fa7-445b-9bc9-5cbd94ed1a72" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "fa37389d-4065-4008-861a-570bbd4fde5e" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225006Z:fa37389d-4065-4008-861a-570bbd4fde5e" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "483" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"partnerType\": \"B2B\",\r\n \"content\": {\r\n \"b2b\": {\r\n \"businessIdentities\": [\r\n {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"ZZ\"\r\n }\r\n ]\r\n }\r\n },\r\n \"createdTime\": \"2018-09-19T22:50:06.1886211Z\",\r\n \"changedTime\": \"2018-09-19T22:50:06.3377179Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7347/partners/IntegrationAccountPartner1856\",\r\n \"name\": \"IntegrationAccountPartner1856\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/partners\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7347?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NzM0Nz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "7d2288b5-1b63-4be8-8060-d3ea550129e8" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:50:06 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:8616c3d5-2ed5-43c2-9acb-662a7de52c85" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "78467630-b925-454b-9367-1aa981b93587" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225006Z:78467630-b925-454b-9367-1aa981b93587" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "IntegrationAccountPartners_Update_OK": [ + "IntegrationAccount7347", + "IntegrationAccountPartner1856" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountScenarioTests/CreateAndDeleteIntegrationAccount.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountScenarioTests/CreateAndDeleteIntegrationAccount.json deleted file mode 100644 index 5b1f325a3183a..0000000000000 --- a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountScenarioTests/CreateAndDeleteIntegrationAccount.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8693?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50ODY5Mz9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "91" - ], - "x-ms-client-request-id": [ - "2945176b-d3b5-4a09-9ce3-7c3a220a0940" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8693\",\r\n \"name\": \"IntegrationAccount8693\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "290" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:57:49 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:e8d04f55-8399-46ab-b26d-956d0c7512ff" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1199" - ], - "x-ms-correlation-request-id": [ - "bf1c1ef1-34c0-40e9-b3e7-28aa7a53212f" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215750Z:bf1c1ef1-34c0-40e9-b3e7-28aa7a53212f" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8693?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50ODY5Mz9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "3e1d0ddc-ede4-48e0-8258-3546b1dcf505" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:57:50 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:53fa3077-123e-4dd6-abd0-5637ad9e9906" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" - ], - "x-ms-correlation-request-id": [ - "000435fe-79b4-4aef-ad53-31eb4a2eeaaf" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215751Z:000435fe-79b4-4aef-ad53-31eb4a2eeaaf" - ] - }, - "StatusCode": 200 - } - ], - "Names": { - "CreateAndDeleteIntegrationAccount": [ - "IntegrationAccount8693" - ] - }, - "Variables": { - "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" - } -} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSessionScenarioTests/DeleteIntegrationAccountSessionOnAccountDeletion.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountScenarioTests/IntegrationAccounts_Create_OK.json similarity index 55% rename from src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSessionScenarioTests/DeleteIntegrationAccountSessionOnAccountDeletion.json rename to src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountScenarioTests/IntegrationAccounts_Create_OK.json index 9aebbf8db2719..7cd39afe3e6e4 100644 --- a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSessionScenarioTests/DeleteIntegrationAccountSessionOnAccountDeletion.json +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountScenarioTests/IntegrationAccounts_Create_OK.json @@ -1,242 +1,244 @@ { "Entries": [ { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4177?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NDE3Nz9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "91" - ], "x-ms-client-request-id": [ - "f26a8862-91b5-4257-b462-46229264f2be" + "b993d437-c6f0-47d8-b741-496bc3ee3ad6" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ] }, - "ResponseBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4177\",\r\n \"name\": \"IntegrationAccount4177\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", "ResponseHeaders": { - "Content-Length": [ - "290" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:15 GMT" + "Wed, 19 Sep 2018 22:52:40 GMT" ], "Pragma": [ "no-cache" ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], "x-ms-request-id": [ - "westus:9dc67d8d-9b56-43f3-bdd0-f92a1825b785" + "9244c207-2a5b-4ede-a3f1-6a6d9248fe19" + ], + "x-ms-correlation-request-id": [ + "9244c207-2a5b-4ede-a3f1-6a6d9248fe19" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225240Z:9244c207-2a5b-4ede-a3f1-6a6d9248fe19" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1187" + "X-Content-Type-Options": [ + "nosniff" ], - "x-ms-correlation-request-id": [ - "eadc3ee8-ec42-488e-99a8-0e8f67a78a2a" + "Content-Length": [ + "12" ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215716Z:eadc3ee8-ec42-488e-99a8-0e8f67a78a2a" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 201 + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4177/sessions/IntegrationAccountSession3321?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NDE3Ny9zZXNzaW9ucy9JbnRlZ3JhdGlvbkFjY291bnRTZXNzaW9uMzMyMT9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"content\": \"123\"\r\n },\r\n \"tags\": {\r\n \"IntegrationAccountSession\": \"IntegrationAccountSession3321\"\r\n }\r\n}", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "135" - ], "x-ms-client-request-id": [ - "6bdbcf38-e293-48c0-a330-4b602ba6cff5" + "ae11a173-3df2-4eb5-a388-8f76c97a10f6" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ] }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"createdTime\": \"2017-03-01T21:57:16.6928771Z\",\r\n \"changedTime\": \"2017-03-01T21:57:16.6928771Z\",\r\n \"content\": \"123\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4177/sessions/IntegrationAccountSession3321\",\r\n \"name\": \"IntegrationAccountSession3321\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/sessions\",\r\n \"etag\": \"\\\"08587132014487846823\\\"\"\r\n}", "ResponseHeaders": { - "Content-Length": [ - "438" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:15 GMT" + "Wed, 19 Sep 2018 22:52:40 GMT" ], "Pragma": [ "no-cache" ], - "ETag": [ - "\"08587132014487846823\"" + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19997" ], "x-ms-request-id": [ - "westus:0da4b4ed-f3fd-48fe-8bf1-d45169cbfd6c" + "52e44691-b9a7-408e-8dd1-e129910cb2bd" + ], + "x-ms-correlation-request-id": [ + "52e44691-b9a7-408e-8dd1-e129910cb2bd" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225240Z:52e44691-b9a7-408e-8dd1-e129910cb2bd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1186" + "X-Content-Type-Options": [ + "nosniff" ], - "x-ms-correlation-request-id": [ - "d2f5fb78-7185-4f7f-9a54-36221e27b0b3" + "Content-Length": [ + "12" ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215716Z:d2f5fb78-7185-4f7f-9a54-36221e27b0b3" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 201 + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4177?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NDE3Nz9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "DELETE", - "RequestBody": "", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount6887?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50Njg4Nz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "aa7472aa-44bf-4a0d-874d-f6d879a33dd0" + "745cbe59-c7de-4806-b1d2-ea4f80b9507b" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "91" ] }, - "ResponseBody": "", "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:16 GMT" + "Wed, 19 Sep 2018 22:52:41 GMT" ], "Pragma": [ "no-cache" ], "x-ms-request-id": [ - "westus:10f8718b-4791-4c16-9b12-35cdcb9350a4" + "westus:730a0746-c6e1-490e-9a23-1269c02a122d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1185" + "1197" ], "x-ms-correlation-request-id": [ - "782bc223-c5a1-4011-9f48-11d35105202e" + "7f75d586-e8fe-4447-ad51-0eb0ac64dfe4" ], "x-ms-routing-request-id": [ - "WESTUS2:20170301T215717Z:782bc223-c5a1-4011-9f48-11d35105202e" + "WESTUS2:20180919T225241Z:7f75d586-e8fe-4447-ad51-0eb0ac64dfe4" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "307" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 200 + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount6887\",\r\n \"name\": \"IntegrationAccount6887\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4177/sessions/IntegrationAccountSession3321?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NDE3Ny9zZXNzaW9ucy9JbnRlZ3JhdGlvbkFjY291bnRTZXNzaW9uMzMyMT9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "GET", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount6887?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50Njg4Nz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "240bae32-6576-4114-80eb-ee656e8b3d38" + "752841a0-9ee6-447b-bb6d-a0201113ebd2" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ] }, - "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Logic/integrationAccounts/IntegrationAccount4177' under resource group 'flowrg' was not found.\"\r\n }\r\n}", "ResponseHeaders": { - "Content-Length": [ - "168" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:16 GMT" + "Wed, 19 Sep 2018 22:52:41 GMT" ], "Pragma": [ "no-cache" ], - "x-ms-failure-cause": [ - "gateway" - ], "x-ms-request-id": [ - "57d29661-8da8-449e-bab5-a30dddb0949c" + "westus:dd6794c0-74bd-4d22-bce9-e34fb46b8e51" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14997" ], "x-ms-correlation-request-id": [ - "57d29661-8da8-449e-bab5-a30dddb0949c" + "e7995a03-1e80-4f15-9ae6-74a7c776d98b" ], "x-ms-routing-request-id": [ - "WESTUS2:20170301T215717Z:57d29661-8da8-449e-bab5-a30dddb0949c" + "WESTUS2:20180919T225242Z:e7995a03-1e80-4f15-9ae6-74a7c776d98b" ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 404 + "ResponseBody": "", + "StatusCode": 200 } ], "Names": { - "DeleteIntegrationAccountSessionOnAccountDeletion": [ - "IntegrationAccount4177", - "IntegrationAccountSession3321" + "IntegrationAccounts_Create_OK": [ + "IntegrationAccount6887" ] }, "Variables": { diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountPartnerScenarioTests/DeleteIntegrationAccountPartnerOnAccountDeletion.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountScenarioTests/IntegrationAccounts_Delete_OK.json similarity index 53% rename from src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountPartnerScenarioTests/DeleteIntegrationAccountPartnerOnAccountDeletion.json rename to src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountScenarioTests/IntegrationAccounts_Delete_OK.json index f4e393fd17d30..84f1aa3d0b9b5 100644 --- a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountPartnerScenarioTests/DeleteIntegrationAccountPartnerOnAccountDeletion.json +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountScenarioTests/IntegrationAccounts_Delete_OK.json @@ -1,212 +1,263 @@ { "Entries": [ { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount6295?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NjI5NT9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "91" - ], "x-ms-client-request-id": [ - "0a1dba91-8aa7-43a7-8955-eb1ddd6f0aa1" + "c2347001-2353-4c0d-8b82-2e3bcb87a1c5" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ] }, - "ResponseBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount6295\",\r\n \"name\": \"IntegrationAccount6295\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:52:23 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11992" + ], + "x-ms-request-id": [ + "b2037417-74c4-472c-b0be-ec40392a61bc" + ], + "x-ms-correlation-request-id": [ + "b2037417-74c4-472c-b0be-ec40392a61bc" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225223Z:b2037417-74c4-472c-b0be-ec40392a61bc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], "Content-Length": [ - "290" + "12" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "2e109369-2c8d-4dab-96ba-9b7e37368679" ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:06 GMT" + "Wed, 19 Sep 2018 22:52:23 GMT" ], "Pragma": [ "no-cache" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19991" + ], "x-ms-request-id": [ - "westus:6ba14f04-dac1-4570-9f54-8b40f8a8f901" + "c367afed-95ba-4586-87e2-31231851f17c" + ], + "x-ms-correlation-request-id": [ + "c367afed-95ba-4586-87e2-31231851f17c" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225223Z:c367afed-95ba-4586-87e2-31231851f17c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1193" + "X-Content-Type-Options": [ + "nosniff" ], - "x-ms-correlation-request-id": [ - "828c4f05-1aa2-412f-997c-2e63d898a871" + "Content-Length": [ + "12" ], - "x-ms-routing-request-id": [ - "CENTRALUS:20170301T215707Z:828c4f05-1aa2-412f-997c-2e63d898a871" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 201 + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount6295/partners/IntegrationAccountPartner4603?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NjI5NS9wYXJ0bmVycy9JbnRlZ3JhdGlvbkFjY291bnRQYXJ0bmVyNDYwMz9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount782?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NzgyP2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"partnerType\": \"B2B\",\r\n \"metadata\": \"IntegrationAccountPartner4603\",\r\n \"content\": {\r\n \"b2b\": {\r\n \"businessIdentities\": [\r\n {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"ZZ\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"integrationAccountPartnerName\": \"IntegrationAccountPartner4603\"\r\n }\r\n}", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "398" - ], "x-ms-client-request-id": [ - "438b3442-6970-4f49-a9af-e11cf1bc9fd4" + "a95c58b0-ce4a-4635-8c8f-8e73e2ec3c0f" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"partnerType\": \"B2B\",\r\n \"content\": {\r\n \"b2b\": {\r\n \"businessIdentities\": [\r\n {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"ZZ\"\r\n }\r\n ]\r\n }\r\n },\r\n \"createdTime\": \"2017-03-01T21:57:07.6025483Z\",\r\n \"changedTime\": \"2017-03-01T21:57:07.6027591Z\",\r\n \"metadata\": \"IntegrationAccountPartner4603\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount6295/partners/IntegrationAccountPartner4603\",\r\n \"name\": \"IntegrationAccountPartner4603\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/partners\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "526" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:06 GMT" + "Wed, 19 Sep 2018 22:52:24 GMT" ], "Pragma": [ "no-cache" ], "x-ms-request-id": [ - "westus:e7b464b5-0de5-4560-8e30-4d0fa0d054c6" + "westus:424d6170-899a-44fd-b173-ae6336abf2ee" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1192" + "1194" ], "x-ms-correlation-request-id": [ - "f849b071-3a1a-44de-ad56-631d30cb0add" + "fa8463a8-8f45-4409-ad3a-86d37442ac0d" ], "x-ms-routing-request-id": [ - "CENTRALUS:20170301T215707Z:f849b071-3a1a-44de-ad56-631d30cb0add" + "WESTUS2:20180919T225224Z:fa8463a8-8f45-4409-ad3a-86d37442ac0d" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "305" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount782\",\r\n \"name\": \"IntegrationAccount782\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", "StatusCode": 201 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount6295?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NjI5NT9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount782?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NzgyP2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "ee1661ef-7b5a-48a7-9649-a5cde90748ea" + "b33bb036-9b22-48bb-87fb-86b9e4ca10eb" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ] }, - "ResponseBody": "", "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:07 GMT" + "Wed, 19 Sep 2018 22:52:24 GMT" ], "Pragma": [ "no-cache" ], "x-ms-request-id": [ - "westus:8112eaba-a630-434a-a849-e890a23257bc" + "westus:30948033-022c-4ede-94a8-3c17b98de36b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1191" + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14994" ], "x-ms-correlation-request-id": [ - "ade1759b-fa4b-4e54-97d3-14dee98079ca" + "2c88aab9-08a5-4302-ab2a-89fd177f5633" ], "x-ms-routing-request-id": [ - "CENTRALUS:20170301T215708Z:ade1759b-fa4b-4e54-97d3-14dee98079ca" + "WESTUS2:20180919T225224Z:2c88aab9-08a5-4302-ab2a-89fd177f5633" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount6295/partners/IntegrationAccountPartner4603?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NjI5NS9wYXJ0bmVycy9JbnRlZ3JhdGlvbkFjY291bnRQYXJ0bmVyNDYwMz9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount782?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NzgyP2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "012878d4-bf6e-4b50-8210-58d2a95a203f" + "c75af7e0-388b-45c1-a508-5002a9f6027a" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ] }, - "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Logic/integrationAccounts/IntegrationAccount6295' under resource group 'flowrg' was not found.\"\r\n }\r\n}", "ResponseHeaders": { - "Content-Length": [ - "168" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:10 GMT" + "Wed, 19 Sep 2018 22:52:24 GMT" ], "Pragma": [ "no-cache" @@ -215,25 +266,37 @@ "gateway" ], "x-ms-request-id": [ - "4120592b-f721-4e6b-b5a3-1447f6aaa9e4" + "08f98565-36a8-4588-9c9a-6bfa980ee50c" ], "x-ms-correlation-request-id": [ - "4120592b-f721-4e6b-b5a3-1447f6aaa9e4" + "08f98565-36a8-4588-9c9a-6bfa980ee50c" ], "x-ms-routing-request-id": [ - "CENTRALUS:20170301T215710Z:4120592b-f721-4e6b-b5a3-1447f6aaa9e4" + "WESTUS2:20180919T225224Z:08f98565-36a8-4588-9c9a-6bfa980ee50c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "167" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Logic/integrationAccounts/IntegrationAccount782' under resource group 'flowrg' was not found.\"\r\n }\r\n}", "StatusCode": 404 } ], "Names": { - "DeleteIntegrationAccountPartnerOnAccountDeletion": [ - "IntegrationAccount6295", - "IntegrationAccountPartner4603" + "IntegrationAccounts_Delete_OK": [ + "IntegrationAccount782" ] }, "Variables": { diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountPartnerScenarioTests/ListIntegrationAccountPartners.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountScenarioTests/IntegrationAccounts_Get_OK.json similarity index 51% rename from src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountPartnerScenarioTests/ListIntegrationAccountPartners.json rename to src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountScenarioTests/IntegrationAccounts_Get_OK.json index ba1081395c9b4..978b5b3187cf5 100644 --- a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountPartnerScenarioTests/ListIntegrationAccountPartners.json +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountScenarioTests/IntegrationAccounts_Get_OK.json @@ -1,243 +1,305 @@ { "Entries": [ { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5509?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NTUwOT9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "91" - ], "x-ms-client-request-id": [ - "20f71077-db55-450d-bb51-5b64e1cfc09a" + "b587f572-edbf-4534-ae91-a4dcebc0f742" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ] }, - "ResponseBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5509\",\r\n \"name\": \"IntegrationAccount5509\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:52:25 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-request-id": [ + "9f084950-b2a2-488c-9798-6e272f500e6c" + ], + "x-ms-correlation-request-id": [ + "9f084950-b2a2-488c-9798-6e272f500e6c" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225226Z:9f084950-b2a2-488c-9798-6e272f500e6c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], "Content-Length": [ - "290" + "12" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "ecb32156-c38b-4ff5-8c4f-dae3dacf5c38" ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:56:51 GMT" + "Wed, 19 Sep 2018 22:52:25 GMT" ], "Pragma": [ "no-cache" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19997" + ], "x-ms-request-id": [ - "westus:859c0b01-c399-4cb3-bde2-eae3471086b4" + "332a5845-87b3-4f0e-a114-e3d496ccdf4a" + ], + "x-ms-correlation-request-id": [ + "332a5845-87b3-4f0e-a114-e3d496ccdf4a" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225226Z:332a5845-87b3-4f0e-a114-e3d496ccdf4a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1193" + "X-Content-Type-Options": [ + "nosniff" ], - "x-ms-correlation-request-id": [ - "57b9612e-c1f8-4280-b9a1-6963e0344501" + "Content-Length": [ + "12" ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215651Z:57b9612e-c1f8-4280-b9a1-6963e0344501" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 201 + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5509/partners/IntegrationAccountPartner4610?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NTUwOS9wYXJ0bmVycy9JbnRlZ3JhdGlvbkFjY291bnRQYXJ0bmVyNDYxMD9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1515?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTUxNT9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"partnerType\": \"B2B\",\r\n \"metadata\": \"IntegrationAccountPartner4610\",\r\n \"content\": {\r\n \"b2b\": {\r\n \"businessIdentities\": [\r\n {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"ZZ\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"integrationAccountPartnerName\": \"IntegrationAccountPartner4610\"\r\n }\r\n}", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "398" - ], "x-ms-client-request-id": [ - "fc38788f-28c5-44ba-aedc-67a3cf765f86" + "ea3adaea-53b2-49d2-a429-ac7ced81db7f" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"partnerType\": \"B2B\",\r\n \"content\": {\r\n \"b2b\": {\r\n \"businessIdentities\": [\r\n {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"ZZ\"\r\n }\r\n ]\r\n }\r\n },\r\n \"createdTime\": \"2017-03-01T21:56:52.1748578Z\",\r\n \"changedTime\": \"2017-03-01T21:56:52.1758302Z\",\r\n \"metadata\": \"IntegrationAccountPartner4610\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5509/partners/IntegrationAccountPartner4610\",\r\n \"name\": \"IntegrationAccountPartner4610\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/partners\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "526" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:56:52 GMT" + "Wed, 19 Sep 2018 22:52:26 GMT" ], "Pragma": [ "no-cache" ], "x-ms-request-id": [ - "westus:9738509e-8fcf-4f6c-95e3-5fd3151b5838" + "westus:e478b9f0-1e9e-4f17-a74e-f9b3ff43fe1f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1192" + "1198" ], "x-ms-correlation-request-id": [ - "eb67ed29-06b0-419f-8f79-846086ac1458" + "7bd06c6e-06e2-49c6-9837-262ddeb61e4a" ], "x-ms-routing-request-id": [ - "WESTUS2:20170301T215652Z:eb67ed29-06b0-419f-8f79-846086ac1458" + "WESTUS2:20180919T225227Z:7bd06c6e-06e2-49c6-9837-262ddeb61e4a" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "307" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1515\",\r\n \"name\": \"IntegrationAccount1515\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", "StatusCode": 201 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5509/partners?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NTUwOS9wYXJ0bmVycz9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1515?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTUxNT9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "ecae91fb-07d3-4251-bc4a-16341374a72b" + "ea55feab-fac0-44fc-bc5a-779ca53af9b3" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"partnerType\": \"B2B\",\r\n \"content\": {\r\n \"b2b\": {\r\n \"businessIdentities\": [\r\n {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"ZZ\"\r\n }\r\n ]\r\n }\r\n },\r\n \"createdTime\": \"2017-03-01T21:56:52.1748578Z\",\r\n \"changedTime\": \"2017-03-01T21:56:52.1758302Z\",\r\n \"metadata\": \"IntegrationAccountPartner4610\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5509/partners/IntegrationAccountPartner4610\",\r\n \"name\": \"IntegrationAccountPartner4610\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/partners\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:56:52 GMT" + "Wed, 19 Sep 2018 22:52:26 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" - ], "Vary": [ - "Accept-Encoding", "Accept-Encoding" ], "x-ms-request-id": [ - "westus:0f91f955-e832-49c9-90cb-1cee53db431b" + "westus:16a68bdf-27bd-4a86-84d4-08f582dac396" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14805" + "11996" ], "x-ms-correlation-request-id": [ - "d632b00a-72ed-4362-b13e-0af824c560c8" + "b491c8cf-c849-4e2d-85eb-b758290600f5" ], "x-ms-routing-request-id": [ - "WESTUS2:20170301T215652Z:d632b00a-72ed-4362-b13e-0af824c560c8" + "WESTUS2:20180919T225227Z:b491c8cf-c849-4e2d-85eb-b758290600f5" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "307" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1515\",\r\n \"name\": \"IntegrationAccount1515\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5509?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NTUwOT9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1515?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTUxNT9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "87e0f425-04d6-41a4-8059-33cdeaf4029c" + "45fa14e2-83ff-4b48-bce7-fddda015284a" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ] }, - "ResponseBody": "", "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:56:52 GMT" + "Wed, 19 Sep 2018 22:52:27 GMT" ], "Pragma": [ "no-cache" ], "x-ms-request-id": [ - "westus:06120590-ecef-47f9-bd08-3ec607e0cdcc" + "westus:f9f0acd6-a923-438d-af9b-772d813d587b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1191" + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14998" ], "x-ms-correlation-request-id": [ - "6b87b6e2-39fd-4b40-9a4c-398c67ab08c4" + "b7a62c73-e9c4-4312-a002-c8fd1dc9b5bf" ], "x-ms-routing-request-id": [ - "WESTUS2:20170301T215652Z:6b87b6e2-39fd-4b40-9a4c-398c67ab08c4" + "WESTUS2:20180919T225228Z:b7a62c73-e9c4-4312-a002-c8fd1dc9b5bf" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "", "StatusCode": 200 } ], "Names": { - "ListIntegrationAccountPartners": [ - "IntegrationAccount5509", - "IntegrationAccountPartner4610" + "IntegrationAccounts_Get_OK": [ + "IntegrationAccount1515" ] }, "Variables": { diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountScenarioTests/IntegrationAccounts_ListBySubscription_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountScenarioTests/IntegrationAccounts_ListBySubscription_OK.json new file mode 100644 index 0000000000000..8388f939efd35 --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountScenarioTests/IntegrationAccounts_ListBySubscription_OK.json @@ -0,0 +1,320 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "7227ac87-f4db-446d-b5cf-a3d806781f03" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:52:17 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-request-id": [ + "1ef72d96-b1a2-402a-8b58-be45d11a1c8a" + ], + "x-ms-correlation-request-id": [ + "1ef72d96-b1a2-402a-8b58-be45d11a1c8a" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225218Z:1ef72d96-b1a2-402a-8b58-be45d11a1c8a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "a18db1bb-f8ff-4b54-b355-e01434481a06" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:52:17 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19997" + ], + "x-ms-request-id": [ + "cf19e8ef-776d-48e7-bc78-3c2288f96171" + ], + "x-ms-correlation-request-id": [ + "cf19e8ef-776d-48e7-bc78-3c2288f96171" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225218Z:cf19e8ef-776d-48e7-bc78-3c2288f96171" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8174?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50ODE3ND9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "7dbbec60-fcae-4440-863a-e57e22ef3b90" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:52:18 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:b39890cf-5270-4969-8826-5ce3b77b9ac7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1191" + ], + "x-ms-correlation-request-id": [ + "f7cc9fa8-a9ce-47c6-b2b2-e68dc2944ddb" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225219Z:f7cc9fa8-a9ce-47c6-b2b2-e68dc2944ddb" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "307" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8174\",\r\n \"name\": \"IntegrationAccount8174\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Byb3ZpZGVycy9NaWNyb3NvZnQuTG9naWMvaW50ZWdyYXRpb25BY2NvdW50cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "3ec12bbe-02fa-4f57-8d99-9988735bba02" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:52:19 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-original-request-ids": [ + "northcentralus:f149a1eb-a09d-4dea-a86f-fa76aaf32e55", + "centralus:d709d939-18de-4ca9-875b-3a816b85e969", + "southcentralus:ad5941f6-0e67-471a-95f3-9e2ab03c3d1b", + "northeurope:b0121101-9434-4397-8ba4-1d41112cd1be", + "westeurope:249f399f-18e7-4a34-849c-913d544a33ed", + "westus:74b80d1c-736c-43a1-b4a0-2ec490f7431d", + "eastus:12bfd49d-162a-495c-9ecf-9e165043bc73", + "eastus2:69d60737-db68-4be8-827b-e9c8f009b359", + "japaneast:079b1b94-61db-4aff-b397-ca29cb3a3284", + "westus2:035bce46-096c-468a-a63a-5af5b298b87e", + "westcentralus:246be98e-9eb2-49eb-9072-30195040b0df", + "brazilsouth:08f0b063-bf09-45b1-b841-e24fc906be02", + "centraluseuap:9a7bbbd7-a394-4a89-acc0-52e438c67c05" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-request-id": [ + "9828baa1-0b4e-4e9a-bda4-d257f0a55daa" + ], + "x-ms-correlation-request-id": [ + "9828baa1-0b4e-4e9a-bda4-d257f0a55daa" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225220Z:9828baa1-0b4e-4e9a-bda4-d257f0a55daa" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "45496" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/Api-Default-North-Central-US/providers/Microsoft.Logic/integrationAccounts/kjk\",\r\n \"name\": \"kjk\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"northcentralus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/DONOTDELETE-TrackingResourceGroupNorthCentralUS/providers/Microsoft.Logic/integrationAccounts/DONOTDELETE-TrackingIntegrationAccountNorthCentralUS\",\r\n \"name\": \"DONOTDELETE-TrackingIntegrationAccountNorthCentralUS\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"northcentralus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/EIPTemplates/providers/Microsoft.Logic/integrationAccounts/testbatchtracking\",\r\n \"name\": \"testbatchtracking\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"northcentralus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/jaahTest/providers/Microsoft.Logic/integrationAccounts/jaahIntAccount\",\r\n \"name\": \"jaahIntAccount\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"northcentralus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/jav-rg-billing-ncus/providers/Microsoft.Logic/integrationAccounts/jav-ia-billing\",\r\n \"name\": \"jav-ia-billing\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"northcentralus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/JavRGBTS/providers/Microsoft.Logic/integrationAccounts/JavIANCUS\",\r\n \"name\": \"JavIANCUS\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"northcentralus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/jonsigniterg/providers/Microsoft.Logic/integrationAccounts/sapdemo2\",\r\n \"name\": \"sapdemo2\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"northcentralus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/klamRG/providers/Microsoft.Logic/integrationAccounts/klamIntegrationAccount\",\r\n \"name\": \"klamIntegrationAccount\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"northcentralus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/PaginationTestRG/providers/Microsoft.Logic/integrationAccounts/PaginationIA\",\r\n \"name\": \"PaginationIA\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"northcentralus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/psrivasDemo/providers/Microsoft.Logic/integrationAccounts/psrivasDemo\",\r\n \"name\": \"psrivasDemo\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"northcentralus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/psrivasDemo/providers/Microsoft.Logic/integrationAccounts/psrivasIA2\",\r\n \"name\": \"psrivasIA2\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"northcentralus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/psrivasDemoRN/providers/Microsoft.Logic/integrationAccounts/psrivasDemo\",\r\n \"name\": \"psrivasDemo\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"northcentralus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/psrivasIA/providers/Microsoft.Logic/integrationAccounts/psrivasIA\",\r\n \"name\": \"psrivasIA\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"northcentralus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/rarayudutestas2sendfunction/providers/Microsoft.Logic/integrationAccounts/rarayudutestas2sendfunction\",\r\n \"name\": \"rarayudutestas2sendfunction\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"northcentralus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/sumikumRGt1/providers/Microsoft.Logic/integrationAccounts/ContosoIntegrationAccount\",\r\n \"name\": \"ContosoIntegrationAccount\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"northcentralus\",\r\n \"tags\": {\r\n \"displayName\": \"Contoso Integration Account\"\r\n }\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/sumikumRGt1/providers/Microsoft.Logic/integrationAccounts/FabrikamIntegrationAccount\",\r\n \"name\": \"FabrikamIntegrationAccount\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"northcentralus\",\r\n \"tags\": {\r\n \"displayName\": \"Fabrikam Integration Account\"\r\n }\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/sumikumRGt1/providers/Microsoft.Logic/integrationAccounts/sumikumIA2\",\r\n \"name\": \"sumikumIA2\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"northcentralus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/sumikumRGt1/providers/Microsoft.Logic/integrationAccounts/sumikumIAt1\",\r\n \"name\": \"sumikumIAt1\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"northcentralus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/B2BConnectorTesting/providers/Microsoft.Logic/integrationAccounts/GuestIA\",\r\n \"name\": \"GuestIA\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"centralus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/B2BConnectorTesting/providers/Microsoft.Logic/integrationAccounts/HostIA\",\r\n \"name\": \"HostIA\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"centralus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/B2BIntegration/providers/Microsoft.Logic/integrationAccounts/integration\",\r\n \"name\": \"integration\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"centralus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/B2BIntegration/providers/Microsoft.Logic/integrationAccounts/vikamatest\",\r\n \"name\": \"vikamatest\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"centralus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/demodr/providers/Microsoft.Logic/integrationAccounts/SecondaryRegionIntegrationAccount\",\r\n \"name\": \"SecondaryRegionIntegrationAccount\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"centralus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/jav-rg-centralus/providers/Microsoft.Logic/integrationAccounts/jav-ia-centralus\",\r\n \"name\": \"jav-ia-centralus\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"centralus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/JonsIARG/providers/Microsoft.Logic/integrationAccounts/ContosoIntegrationAccountDemo\",\r\n \"name\": \"ContosoIntegrationAccountDemo\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"displayName\": \"Contoso Integration Account\"\r\n }\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/JonsIARG/providers/Microsoft.Logic/integrationAccounts/FabrikamIntegrationAccountDemo\",\r\n \"name\": \"FabrikamIntegrationAccountDemo\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"displayName\": \"Fabrikam Integration Account\"\r\n }\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/JonsIARG/providers/Microsoft.Logic/integrationAccounts/IntegrationAccountDemo\",\r\n \"name\": \"IntegrationAccountDemo\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"centralus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/JonsIARG/providers/Microsoft.Logic/integrationAccounts/JonsCentralUSAccount\",\r\n \"name\": \"JonsCentralUSAccount\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"centralus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/JonsIARG/providers/Microsoft.Logic/integrationAccounts/JonsIntAcc\",\r\n \"name\": \"JonsIntAcc\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"centralus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/jonsigniterg/providers/Microsoft.Logic/integrationAccounts/ContosoFitnessSecondary\",\r\n \"name\": \"ContosoFitnessSecondary\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"centralus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/jonsigniterg/providers/Microsoft.Logic/integrationAccounts/ContosoIntegrationAccount\",\r\n \"name\": \"ContosoIntegrationAccount\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"displayName\": \"Contoso Integration Account\"\r\n }\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/jonsigniterg/providers/Microsoft.Logic/integrationAccounts/FabrikamIntegrationAccount\",\r\n \"name\": \"FabrikamIntegrationAccount\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"displayName\": \"Fabrikam Integration Account\"\r\n }\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/jonsigniterg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount\",\r\n \"name\": \"IntegrationAccount\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"centralus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/jonsigniterg/providers/Microsoft.Logic/integrationAccounts/JonsDemos\",\r\n \"name\": \"JonsDemos\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"centralus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/jonsigniterg/providers/Microsoft.Logic/integrationAccounts/jonsigniteintacc\",\r\n \"name\": \"jonsigniteintacc\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"centralus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/jonsigniterg/providers/Microsoft.Logic/integrationAccounts/JonsIntAccCentralUS\",\r\n \"name\": \"JonsIntAccCentralUS\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"centralus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/jonsigniterg/providers/Microsoft.Logic/integrationAccounts/jonsintegrationaccount\",\r\n \"name\": \"jonsintegrationaccount\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"centralus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/jonsigniterg/providers/Microsoft.Logic/integrationAccounts/TrackingAPI\",\r\n \"name\": \"TrackingAPI\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"centralus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/McKessonTestRG_CUS/providers/Microsoft.Logic/integrationAccounts/HostIA\",\r\n \"name\": \"HostIA\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"centralus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/rarayuducentralusrg/providers/Microsoft.Logic/integrationAccounts/rarayuducentralusia\",\r\n \"name\": \"rarayuducentralusia\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"centralus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/VenkyTest/providers/Microsoft.Logic/integrationAccounts/TestX12IssueIA\",\r\n \"name\": \"TestX12IssueIA\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"centralus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/vinay-central-ua/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount\",\r\n \"name\": \"IntegrationAccount\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"centralus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/JonsIARG/providers/Microsoft.Logic/integrationAccounts/VETERaccount\",\r\n \"name\": \"VETERaccount\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"southcentralus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/jonsigniterg/providers/Microsoft.Logic/integrationAccounts/HL7\",\r\n \"name\": \"HL7\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"southcentralus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/JonTradeGlobal/providers/Microsoft.Logic/integrationAccounts/TradeGlobal\",\r\n \"name\": \"TradeGlobal\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"southcentralus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/rarayuduscusrg/providers/Microsoft.Logic/integrationAccounts/rarayuduscusperfia1\",\r\n \"name\": \"rarayuduscusperfia1\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"southcentralus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/rarayuduscusrg/providers/Microsoft.Logic/integrationAccounts/rarayuduscusperfia2\",\r\n \"name\": \"rarayuduscusperfia2\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"southcentralus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/rarayudutestas2rg/providers/Microsoft.Logic/integrationAccounts/rarayuduiaSCUS\",\r\n \"name\": \"rarayuduiaSCUS\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"southcentralus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/sumikumTestSCUS/providers/Microsoft.Logic/integrationAccounts/GuestIA\",\r\n \"name\": \"GuestIA\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"southcentralus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/sumikumTestSCUS/providers/Microsoft.Logic/integrationAccounts/HostIA\",\r\n \"name\": \"HostIA\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"southcentralus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/JAV-RG-NorthEurope2/providers/Microsoft.Logic/integrationAccounts/Jav-IA-NorthEurope\",\r\n \"name\": \"Jav-IA-NorthEurope\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"northeurope\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/rarayudutestnortheuroperg/providers/Microsoft.Logic/integrationAccounts/rarayudutestnortheuropeia\",\r\n \"name\": \"rarayudutestnortheuropeia\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"northeurope\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/TrackingTip/providers/Microsoft.Logic/integrationAccounts/TrackingTipGuestIA\",\r\n \"name\": \"TrackingTipGuestIA\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"northeurope\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/TrackingTip/providers/Microsoft.Logic/integrationAccounts/TrackingTipHostIA\",\r\n \"name\": \"TrackingTipHostIA\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"northeurope\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/vinayvsrg/providers/Microsoft.Logic/integrationAccounts/NorthEuropeTesting\",\r\n \"name\": \"NorthEuropeTesting\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"northeurope\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/jonsigniterg/providers/Microsoft.Logic/integrationAccounts/TestFreeAccount\",\r\n \"name\": \"TestFreeAccount\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Basic\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/TrackingTip/providers/Microsoft.Logic/integrationAccounts/david_testIAWestEu\",\r\n \"name\": \"david_testIAWestEu\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/X12WestEurope/providers/Microsoft.Logic/integrationAccounts/westeuropeia\",\r\n \"name\": \"westeuropeia\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/apsethRG/providers/Microsoft.Logic/integrationAccounts/APATEST\",\r\n \"name\": \"APATEST\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/as2tryit/providers/Microsoft.Logic/integrationAccounts/ContosoIntegrationAccount\",\r\n \"name\": \"ContosoIntegrationAccount\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/as2tryit/providers/Microsoft.Logic/integrationAccounts/FabrikamIntegrationAccount\",\r\n \"name\": \"FabrikamIntegrationAccount\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"displayName\": \"Fabrikam Integration Account\"\r\n }\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/ContosoIntegration/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount-1.618\",\r\n \"name\": \"IntegrationAccount-1.618\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/Default-Web-WestUS/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount\",\r\n \"name\": \"IntegrationAccount\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Basic\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/DivyaWestUSRG/providers/Microsoft.Logic/integrationAccounts/DivyaBasic\",\r\n \"name\": \"DivyaBasic\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/DivyaWestUSRG/providers/Microsoft.Logic/integrationAccounts/divyaIA\",\r\n \"name\": \"divyaIA\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/EIPTemplates/providers/Microsoft.Logic/integrationAccounts/EIPIntegration\",\r\n \"name\": \"EIPIntegration\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/ElvisTestRG/providers/Microsoft.Logic/integrationAccounts/ElshIntegrationAccount\",\r\n \"name\": \"ElshIntegrationAccount\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/eprofeta-rg/providers/Microsoft.Logic/integrationAccounts/eprofeta-ia\",\r\n \"name\": \"eprofeta-ia\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8174\",\r\n \"name\": \"IntegrationAccount8174\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/JavRGBTS/providers/Microsoft.Logic/integrationAccounts/JavIABTS\",\r\n \"name\": \"JavIABTS\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/JonsIARG/providers/Microsoft.Logic/integrationAccounts/JonsB2Baccount\",\r\n \"name\": \"JonsB2Baccount\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/jonsigniterg/providers/Microsoft.Logic/integrationAccounts/AS2IntegrationAccount\",\r\n \"name\": \"AS2IntegrationAccount\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/LogicAppOMS/providers/Microsoft.Logic/integrationAccounts/ContosoIntegrationAccount\",\r\n \"name\": \"ContosoIntegrationAccount\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"displayName\": \"Contoso Integration Account\"\r\n }\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/LogicAppOMS/providers/Microsoft.Logic/integrationAccounts/FabrikamIntegrationAccount\",\r\n \"name\": \"FabrikamIntegrationAccount\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"displayName\": \"Fabrikam Integration Account\"\r\n }\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/myRGname/providers/Microsoft.Logic/integrationAccounts/TestAccount\",\r\n \"name\": \"TestAccount\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/PrimaryRegionRG/providers/Microsoft.Logic/integrationAccounts/PrimaryIntegrationAccount\",\r\n \"name\": \"PrimaryIntegrationAccount\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/rarayudutestas2westusrg/providers/Microsoft.Logic/integrationAccounts/rarayudutestas2westusia\",\r\n \"name\": \"rarayudutestas2westusia\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/rarayudutestvsrg/providers/Microsoft.Logic/integrationAccounts/rarayudutestdiagnosticsia\",\r\n \"name\": \"rarayudutestdiagnosticsia\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/rarayudutestvsrg/providers/Microsoft.Logic/integrationAccounts/rarayudutestintegration\",\r\n \"name\": \"rarayudutestintegration\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/refortie-test/providers/Microsoft.Logic/integrationAccounts/refortie-integration-acount-s5\",\r\n \"name\": \"refortie-integration-acount-s5\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testvetr/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount\",\r\n \"name\": \"IntegrationAccount\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/TrackingTestResourceGroup/providers/Microsoft.Logic/integrationAccounts/TrackingTestIntegrationAccount\",\r\n \"name\": \"TrackingTestIntegrationAccount\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/tujamgWestRG/providers/Microsoft.Logic/integrationAccounts/tujamgia\",\r\n \"name\": \"tujamgia\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/vikamaE2EDRSecondary/providers/Microsoft.Logic/integrationAccounts/integration\",\r\n \"name\": \"integration\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/visharm/providers/Microsoft.Logic/integrationAccounts/TestIA\",\r\n \"name\": \"TestIA\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/visharm/providers/Microsoft.Logic/integrationAccounts/TestIAForWebScout\",\r\n \"name\": \"TestIAForWebScout\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/XSLTAzureFunctions/providers/Microsoft.Logic/integrationAccounts/XSLTAzureFunction\",\r\n \"name\": \"XSLTAzureFunction\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/B2BSecondIntegration/providers/Microsoft.Logic/integrationAccounts/integration\",\r\n \"name\": \"integration\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/demodr/providers/Microsoft.Logic/integrationAccounts/PrimaryRegionIntegrationAccount\",\r\n \"name\": \"PrimaryRegionIntegrationAccount\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/JonsIARG/providers/Microsoft.Logic/integrationAccounts/jonnewia\",\r\n \"name\": \"jonnewia\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/jonsigniterg/providers/Microsoft.Logic/integrationAccounts/TestBOMIA\",\r\n \"name\": \"TestBOMIA\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/rarayudueastusrg/providers/Microsoft.Logic/integrationAccounts/rarayuduiaeastus\",\r\n \"name\": \"rarayuduiaeastus\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/SecondaryRegionRG/providers/Microsoft.Logic/integrationAccounts/SecondaryIntegrationAccount\",\r\n \"name\": \"SecondaryIntegrationAccount\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/sumikumMcKessonTest/providers/Microsoft.Logic/integrationAccounts/LogicAppsIntegrationAccount\",\r\n \"name\": \"LogicAppsIntegrationAccount\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"displayName\": \"LogicApps Integration Account\"\r\n }\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/sumikumMcKessonTest/providers/Microsoft.Logic/integrationAccounts/McKessonIntegrationAccount\",\r\n \"name\": \"McKessonIntegrationAccount\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"displayName\": \"McKesson Integration Account\"\r\n }\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/DONOTDELETE-XSLT-RG-EASTUS2/providers/Microsoft.Logic/integrationAccounts/DONOTDELETE-XSLT-IA-EASTUS2\",\r\n \"name\": \"DONOTDELETE-XSLT-IA-EASTUS2\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"eastus2\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/jav-rg-eastus2/providers/Microsoft.Logic/integrationAccounts/jav-ia-eastus2\",\r\n \"name\": \"jav-ia-eastus2\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"eastus2\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/rarayuduperftest/providers/Microsoft.Logic/integrationAccounts/rarayudutestsignencryptis\",\r\n \"name\": \"rarayudutestsignencryptis\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"eastus2\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/rarayuduresourcegroup/providers/Microsoft.Logic/integrationAccounts/rarayuduia-eastus2\",\r\n \"name\": \"rarayuduia-eastus2\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"eastus2\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/SBPerformance/providers/Microsoft.Logic/integrationAccounts/PerfIntegrationAccount\",\r\n \"name\": \"PerfIntegrationAccount\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"eastus2\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/prvinod-je/providers/Microsoft.Logic/integrationAccounts/prvinod-je-ia\",\r\n \"name\": \"prvinod-je-ia\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"japaneast\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/daviburgRG_NC/providers/Microsoft.Logic/integrationAccounts/DaviburgDRSecondaryWUS2\",\r\n \"name\": \"DaviburgDRSecondaryWUS2\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus2\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/jav-ia-asm-westus2/providers/Microsoft.Logic/integrationAccounts/jav-ia-asm-westus2\",\r\n \"name\": \"jav-ia-asm-westus2\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus2\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/jav-rg-westus2/providers/Microsoft.Logic/integrationAccounts/jav-ia-westus2\",\r\n \"name\": \"jav-ia-westus2\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus2\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/jonsigniterg/providers/Microsoft.Logic/integrationAccounts/msftconnectaccount\",\r\n \"name\": \"msftconnectaccount\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus2\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/rarayuduwestus2rg/providers/Microsoft.Logic/integrationAccounts/rarayuduwestus2ia\",\r\n \"name\": \"rarayuduwestus2ia\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus2\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/rarayuduwestus2rg/providers/Microsoft.Logic/integrationAccounts/rarayuduwestus2ia2\",\r\n \"name\": \"rarayuduwestus2ia2\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus2\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/vikamaE2EDR/providers/Microsoft.Logic/integrationAccounts/integration\",\r\n \"name\": \"integration\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus2\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/vikamaPrimaryDecode/providers/Microsoft.Logic/integrationAccounts/integration\",\r\n \"name\": \"integration\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus2\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/daviburgRGWCUS/providers/Microsoft.Logic/integrationAccounts/daviburgIAWCUS\",\r\n \"name\": \"daviburgIAWCUS\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westcentralus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/divyaWestCentralUS/providers/Microsoft.Logic/integrationAccounts/DivyaDemoIA\",\r\n \"name\": \"DivyaDemoIA\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westcentralus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/divyaWestCentralUS/providers/Microsoft.Logic/integrationAccounts/divyaIAWCUS\",\r\n \"name\": \"divyaIAWCUS\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westcentralus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/AISAP-DF-RG/providers/Microsoft.Logic/integrationAccounts/AISAP-DF-IA\",\r\n \"name\": \"AISAP-DF-IA\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/apsethRG/providers/Microsoft.Logic/integrationAccounts/apaBrazilUS\",\r\n \"name\": \"apaBrazilUS\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/apsethRG/providers/Microsoft.Logic/integrationAccounts/testBrazilUS\",\r\n \"name\": \"testBrazilUS\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/B2B.SAP.demos/providers/Microsoft.Logic/integrationAccounts/DivyaBrSo\",\r\n \"name\": \"DivyaBrSo\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/B2BIntegration/providers/Microsoft.Logic/integrationAccounts/vikamaedifact\",\r\n \"name\": \"vikamaedifact\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/BizTalkConnectorDemoRG/providers/Microsoft.Logic/integrationAccounts/BtsLogicAppTestIntAcc\",\r\n \"name\": \"BtsLogicAppTestIntAcc\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/brazilsouth1/providers/Microsoft.Logic/integrationAccounts/MyIntegrationAccount\",\r\n \"name\": \"MyIntegrationAccount\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/ContosoIntegration/providers/Microsoft.Logic/integrationAccounts/ContosoIntegration\",\r\n \"name\": \"ContosoIntegration\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/ContosoIntegration/providers/Microsoft.Logic/integrationAccounts/MyIntegrationAccount\",\r\n \"name\": \"MyIntegrationAccount\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/daviburgRG_DogFood/providers/Microsoft.Logic/integrationAccounts/daviburgDFDR\",\r\n \"name\": \"daviburgDFDR\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/daviburgRG_DogFood/providers/Microsoft.Logic/integrationAccounts/daviburgIA_BS\",\r\n \"name\": \"daviburgIA_BS\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/daviburgRG_DogFood/providers/Microsoft.Logic/integrationAccounts/daviburgIA_BS_Fabrikam\",\r\n \"name\": \"daviburgIA_BS_Fabrikam\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/DivyaBrazilSouthRG/providers/Microsoft.Logic/integrationAccounts/divyaIA\",\r\n \"name\": \"divyaIA\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/DivyaBrazilSouthRG/providers/Microsoft.Logic/integrationAccounts/integration\",\r\n \"name\": \"integration\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/DivyaTestX12BrazilSouthRG/providers/Microsoft.Logic/integrationAccounts/integration\",\r\n \"name\": \"integration\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/DONOTDELETE-DRTesting/providers/Microsoft.Logic/integrationAccounts/PrimarySiteIntegrationAccount\",\r\n \"name\": \"PrimarySiteIntegrationAccount\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/DONOTDELETE-DRTesting/providers/Microsoft.Logic/integrationAccounts/SecondarySiteIntegrationAccount\",\r\n \"name\": \"SecondarySiteIntegrationAccount\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/DONOTDELETE-XSLT-RG/providers/Microsoft.Logic/integrationAccounts/DONOTDELETE-XSLT-IA\",\r\n \"name\": \"DONOTDELETE-XSLT-IA\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/DONOTDELETE-XSLT-RG/providers/Microsoft.Logic/integrationAccounts/DONOTDELETE-XSLT-IA2\",\r\n \"name\": \"DONOTDELETE-XSLT-IA2\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/EdifactTrackingDogFood/providers/Microsoft.Logic/integrationAccounts/edifacttrackingia\",\r\n \"name\": \"edifacttrackingia\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/ia_runner_rg_BrazilSouth/providers/Microsoft.Logic/integrationAccounts/ia_runner_BrazilSouth\",\r\n \"name\": \"ia_runner_BrazilSouth\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"BrazilSouth\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/Integrate2018BS/providers/Microsoft.Logic/integrationAccounts/divyademoIA\",\r\n \"name\": \"divyademoIA\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/jav-ia-brazilsouth11/providers/Microsoft.Logic/integrationAccounts/jav-ia-brazilsouth11\",\r\n \"name\": \"jav-ia-brazilsouth11\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/jav-ia-brazilsouth18/providers/Microsoft.Logic/integrationAccounts/jav-ia-brazilsouth18\",\r\n \"name\": \"jav-ia-brazilsouth18\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/jav-rg-brazilsouth/providers/Microsoft.Logic/integrationAccounts/jav-ia-asm\",\r\n \"name\": \"jav-ia-asm\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/jav-rg-brazilsouth/providers/Microsoft.Logic/integrationAccounts/jav-ia-brazilsouth\",\r\n \"name\": \"jav-ia-brazilsouth\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/jav-rg-brazilsouth10/providers/Microsoft.Logic/integrationAccounts/jav-ia-brazilsouth10\",\r\n \"name\": \"jav-ia-brazilsouth10\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/jav-rg-brazilsouth12/providers/Microsoft.Logic/integrationAccounts/jav-ia-brazilsouth12\",\r\n \"name\": \"jav-ia-brazilsouth12\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/jav-rg-brazilsouth13/providers/Microsoft.Logic/integrationAccounts/jav-ia-brazilsouth13\",\r\n \"name\": \"jav-ia-brazilsouth13\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/jav-rg-brazilsouth14/providers/Microsoft.Logic/integrationAccounts/jav-ia-brazilsouth14\",\r\n \"name\": \"jav-ia-brazilsouth14\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/sumikum-sap-schema-gen-test/providers/Microsoft.Logic/integrationAccounts/schema-gen-test-IA-CUS-EUAP\",\r\n \"name\": \"schema-gen-test-IA-CUS-EUAP\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"centraluseuap\"\r\n }\r\n ],\r\n \"nextLink\": \"https://management.azure.com/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview&%24skiptoken=FY1db5swGEb%2fC9J2RwADWxKpmpoVMlhIG3%2b8RLkz4CQuBlwwkLbqf192%2b5yj83xarbiZnWzrwVp%2fWhv8eEp25JnRP9bauhqjh7XjNLzlF9GI1iz4x9iLRdk1zjAWQ9lLbWTXDs7ZDwqEuG8j5CI7OBeeXbiBa3u%2bj4pqhZblMnB0302yEv3gZLLsu6E7m8Wuu8jSka0Rl57%2fbz2WZTe2ZvjFtbSnu3zfHpDrLW33p%2b16tu7FJMX8%2fRsKhvp%2b39WifRDv6Xg6Xl22jd%2brrXJ5vhoJgjB57WRGoiCBaM7pnnAVmUTOsmggqOJ0qlyjBEl%2bJK%2fRNaPJnED6RukG81qFDPBeMO%2ftcFTPGPQTBUgrN4wOx%2bte1F7IcoP3d84j%2fILjtIGIhSzObqDiDI6b39DoSUC6JfX1hdc6Zvnt70FVfRF5kD2pHGpoRRTqjBkMqkY0N4SomBW%2bIphpyuA0E4W3VG1yUGlKAZ92JF1ZX1%2f%2fAA%3d%3d\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8174?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50ODE3ND9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "7a214384-4af9-483f-a35c-bba4d9a36d5a" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:52:20 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:66476732-3539-47af-96a0-29c2b1484d78" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14996" + ], + "x-ms-correlation-request-id": [ + "a2abf99d-260f-4ca9-a888-3901b124a189" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225220Z:a2abf99d-260f-4ca9-a888-3901b124a189" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "IntegrationAccounts_ListBySubscription_OK": [ + "IntegrationAccount8174" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSessionScenarioTests/CreateAndUpdateIntegrationAccountSession.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountScenarioTests/IntegrationAccounts_ListContentCallbackUrl_OK.json similarity index 51% rename from src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSessionScenarioTests/CreateAndUpdateIntegrationAccountSession.json rename to src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountScenarioTests/IntegrationAccounts_ListContentCallbackUrl_OK.json index aef0504a7c325..05cea6a043506 100644 --- a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSessionScenarioTests/CreateAndUpdateIntegrationAccountSession.json +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountScenarioTests/IntegrationAccounts_ListContentCallbackUrl_OK.json @@ -1,255 +1,311 @@ { "Entries": [ { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount176?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTc2P2FwaS12ZXJzaW9uPTIwMTYtMDYtMDE=", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "91" - ], "x-ms-client-request-id": [ - "3a622bf3-81e9-4d3b-be35-851543bfc0ea" + "839a6d25-c6a3-4c93-ae81-351f22872539" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ] }, - "ResponseBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount176\",\r\n \"name\": \"IntegrationAccount176\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:52:44 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-request-id": [ + "a6f65a6b-e154-4670-baaa-aa172b4f99f4" + ], + "x-ms-correlation-request-id": [ + "a6f65a6b-e154-4670-baaa-aa172b4f99f4" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225244Z:a6f65a6b-e154-4670-baaa-aa172b4f99f4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], "Content-Length": [ - "288" + "12" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "f4f6d4b1-649f-42a2-b426-b652cd970ddc" ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:13 GMT" + "Wed, 19 Sep 2018 22:52:44 GMT" ], "Pragma": [ "no-cache" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19994" + ], "x-ms-request-id": [ - "westus:f2eb3709-0ccd-47db-9ede-aea27223b84f" + "edf0c36f-2332-48d9-96d9-adb0241d32d6" + ], + "x-ms-correlation-request-id": [ + "edf0c36f-2332-48d9-96d9-adb0241d32d6" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225244Z:edf0c36f-2332-48d9-96d9-adb0241d32d6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1190" + "X-Content-Type-Options": [ + "nosniff" ], - "x-ms-correlation-request-id": [ - "4e5014e0-8072-437f-acff-26933b772e99" + "Content-Length": [ + "12" ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215714Z:4e5014e0-8072-437f-acff-26933b772e99" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 201 + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount176/sessions/IntegrationAccountSession3887?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTc2L3Nlc3Npb25zL0ludGVncmF0aW9uQWNjb3VudFNlc3Npb24zODg3P2FwaS12ZXJzaW9uPTIwMTYtMDYtMDE=", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4564?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NDU2ND9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"content\": \"123\"\r\n },\r\n \"tags\": {\r\n \"IntegrationAccountSession\": \"IntegrationAccountSession3887\"\r\n }\r\n}", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "135" - ], "x-ms-client-request-id": [ - "dd7aaaab-a639-4e50-981c-0f46333dbfac" + "c0d93424-0ba0-420c-990d-ca91d64b6bae" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"createdTime\": \"2017-03-01T21:57:14.4714322Z\",\r\n \"changedTime\": \"2017-03-01T21:57:14.4714322Z\",\r\n \"content\": \"123\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount176/sessions/IntegrationAccountSession3887\",\r\n \"name\": \"IntegrationAccountSession3887\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/sessions\",\r\n \"etag\": \"\\\"08587132014510061368\\\"\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "437" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:14 GMT" + "Wed, 19 Sep 2018 22:52:44 GMT" ], "Pragma": [ "no-cache" ], - "ETag": [ - "\"08587132014510061368\"" - ], "x-ms-request-id": [ - "westus:5175b988-22e2-40f6-8ede-e887e5e88902" + "westus:efeed0c7-94a5-42dc-9715-71b6c71c1613" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1189" + "1192" ], "x-ms-correlation-request-id": [ - "f8f17080-c178-4ddd-af39-482edc081387" + "ab8d6a93-eee8-4422-9959-e1cead5243de" ], "x-ms-routing-request-id": [ - "WESTUS2:20170301T215714Z:f8f17080-c178-4ddd-af39-482edc081387" + "WESTUS2:20180919T225245Z:ab8d6a93-eee8-4422-9959-e1cead5243de" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "307" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4564\",\r\n \"name\": \"IntegrationAccount4564\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", "StatusCode": 201 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount176/sessions/IntegrationAccountSession3887?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTc2L3Nlc3Npb25zL0ludGVncmF0aW9uQWNjb3VudFNlc3Npb24zODg3P2FwaS12ZXJzaW9uPTIwMTYtMDYtMDE=", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"content\": \"foobar_update\"\r\n },\r\n \"tags\": {\r\n \"IntegrationAccountSession\": \"IntegrationAccountSession3887\"\r\n }\r\n}", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4564/listCallbackUrl?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NDU2NC9saXN0Q2FsbGJhY2tVcmw/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"keyType\": \"Primary\"\r\n}", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "145" - ], "x-ms-client-request-id": [ - "5a7e03f6-7252-4374-975b-73d4ce2408c8" + "cd6837ac-03ee-4142-a55d-0536bb526873" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"createdTime\": \"2017-03-01T21:57:14.4714322Z\",\r\n \"changedTime\": \"2017-03-01T21:57:14.4716522Z\",\r\n \"content\": \"foobar_update\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount176/sessions/IntegrationAccountSession3887\",\r\n \"name\": \"IntegrationAccountSession3887\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/sessions\",\r\n \"etag\": \"\\\"08587132014509054417\\\"\"\r\n}", - "ResponseHeaders": { + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ], + "Content-Length": [ + "28" + ] + }, + "ResponseHeaders": { "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:14 GMT" + "Wed, 19 Sep 2018 22:52:45 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" - ], - "ETag": [ - "\"08587132014509054417\"" - ], "Vary": [ - "Accept-Encoding", "Accept-Encoding" ], "x-ms-request-id": [ - "westus:ce173ed6-83e2-4f22-8e82-a6bbfec10352" + "westus:ee0cd00c-5662-4760-914f-5298cd10b835" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1188" + "1191" ], "x-ms-correlation-request-id": [ - "b72f2b86-ac93-4883-b16a-90e19e2a7110" + "12fb633e-9d9e-4b70-be82-965fe231b751" ], "x-ms-routing-request-id": [ - "WESTUS2:20170301T215714Z:b72f2b86-ac93-4883-b16a-90e19e2a7110" + "WESTUS2:20180919T225245Z:12fb633e-9d9e-4b70-be82-965fe231b751" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "358" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "{\r\n \"value\": \"https://prod-01.westus.logic.azure.com:443/integrationAccounts/8c350a1694fa47c08e942abdc9c7a058?api-version=2015-08-01-preview&sp=%2F%2F%2A&sv=1.0&sig=svg_qoEShSBuHaTUn6QUqStLRcNb3wDNnGLTg7qIpdI\",\r\n \"basePath\": \"https://prod-01.westus.logic.azure.com/integrationAccounts/8c350a1694fa47c08e942abdc9c7a058\",\r\n \"queries\": {\r\n \"api-version\": \"2015-08-01-preview\"\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount176?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTc2P2FwaS12ZXJzaW9uPTIwMTYtMDYtMDE=", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4564?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NDU2ND9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "43c40693-35c1-42eb-9fc0-327c6006c63b" + "8179b383-f5ba-48db-af64-79cbb788e280" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ] }, - "ResponseBody": "", "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:14 GMT" + "Wed, 19 Sep 2018 22:52:45 GMT" ], "Pragma": [ "no-cache" ], "x-ms-request-id": [ - "westus:18dcbb28-7645-4d13-9539-f56751efe1e5" + "westus:9cb1400b-b064-466e-97f3-0d7007554e46" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1187" + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14994" ], "x-ms-correlation-request-id": [ - "e3417f1a-d2bf-4982-9e0a-75498fae794f" + "fd3d6b8d-0bae-482f-8f19-1a55eba15ee0" ], "x-ms-routing-request-id": [ - "WESTUS2:20170301T215715Z:e3417f1a-d2bf-4982-9e0a-75498fae794f" + "WESTUS2:20180919T225245Z:fd3d6b8d-0bae-482f-8f19-1a55eba15ee0" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "", "StatusCode": 200 } ], "Names": { - "CreateAndUpdateIntegrationAccountSession": [ - "IntegrationAccount176", - "IntegrationAccountSession3887" + "IntegrationAccounts_ListContentCallbackUrl_OK": [ + "IntegrationAccount4564" ] }, "Variables": { diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountScenarioTests/IntegrationAccounts_List_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountScenarioTests/IntegrationAccounts_List_OK.json new file mode 100644 index 0000000000000..2211ae844246b --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountScenarioTests/IntegrationAccounts_List_OK.json @@ -0,0 +1,548 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "72c322fc-3240-4a67-adb3-80e5fd368e63" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:52:30 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-request-id": [ + "d1317ff1-a8ad-4b6e-9a8d-c3bec8a3913e" + ], + "x-ms-correlation-request-id": [ + "d1317ff1-a8ad-4b6e-9a8d-c3bec8a3913e" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225230Z:d1317ff1-a8ad-4b6e-9a8d-c3bec8a3913e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "04fc2fa4-ae7b-45e1-8f06-116b1edbc9d1" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:52:32 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:cca4a094-0a0a-4914-81c3-164d4e7d43ee" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-correlation-request-id": [ + "112ebb93-25a8-42c9-a71a-8a32704797c9" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225232Z:112ebb93-25a8-42c9-a71a-8a32704797c9" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "935" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5508\",\r\n \"name\": \"IntegrationAccount5508\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount6643\",\r\n \"name\": \"IntegrationAccount6643\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9166\",\r\n \"name\": \"IntegrationAccount9166\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "6c3c67aa-a0cf-4a50-834d-3e0ef9092940" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:52:30 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19996" + ], + "x-ms-request-id": [ + "850034db-1b44-466a-bc05-5fe293daba7b" + ], + "x-ms-correlation-request-id": [ + "850034db-1b44-466a-bc05-5fe293daba7b" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225230Z:850034db-1b44-466a-bc05-5fe293daba7b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9166?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50OTE2Nj9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "fd855e33-f82a-4826-ba1e-b0e46cd924e8" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:52:31 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:ff617193-2d05-420a-ad14-bf1d04a1e62e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-correlation-request-id": [ + "3874e84c-ad38-472e-bd47-6286047bb2a4" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225231Z:3874e84c-ad38-472e-bd47-6286047bb2a4" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "307" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9166\",\r\n \"name\": \"IntegrationAccount9166\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount6643?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NjY0Mz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "6a7e603b-55e8-41e3-be50-dea63416a606" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:52:31 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:ebcb029c-8d29-4bd3-bd14-08ef50c512ae" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-correlation-request-id": [ + "771b9488-bd57-461a-af2c-8a0991ca588b" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225232Z:771b9488-bd57-461a-af2c-8a0991ca588b" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "307" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount6643\",\r\n \"name\": \"IntegrationAccount6643\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5508?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NTUwOD9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "16824d4f-57e4-41ce-93b1-102b30002563" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:52:32 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:a807e87c-eb91-4e68-92e4-af5f64f9efa0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], + "x-ms-correlation-request-id": [ + "a89dafd4-c915-49dd-9d66-d2bcd3dd05bb" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225232Z:a89dafd4-c915-49dd-9d66-d2bcd3dd05bb" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "307" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5508\",\r\n \"name\": \"IntegrationAccount5508\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9166?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50OTE2Nj9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "36d200bb-f305-4856-a3d7-3a06b286ae25" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:52:33 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:a7c98d89-2dc0-42a7-b96d-d1945358033c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14997" + ], + "x-ms-correlation-request-id": [ + "eeb874b9-a5a5-459e-9a1d-57ddbfbb24fe" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225233Z:eeb874b9-a5a5-459e-9a1d-57ddbfbb24fe" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount6643?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NjY0Mz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "f0f1103c-8741-4986-acac-ac3765964339" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:52:33 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:b773483c-524f-4a0a-844f-f84fa49f36dd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14996" + ], + "x-ms-correlation-request-id": [ + "27dcb142-469e-485a-b531-f87d7569c3d7" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225233Z:27dcb142-469e-485a-b531-f87d7569c3d7" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5508?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NTUwOD9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "7461df48-99bd-4ea7-93ca-e0dfd45b7d44" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:52:34 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:f2f88227-e05f-4e5e-aff1-96226817c295" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14995" + ], + "x-ms-correlation-request-id": [ + "eb401a8b-fccf-46e2-b83b-d3a77367c3c6" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225234Z:eb401a8b-fccf-46e2-b83b-d3a77367c3c6" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "IntegrationAccounts_List_OK": [ + "IntegrationAccount9166", + "IntegrationAccount6643", + "IntegrationAccount5508" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountPartnerScenarioTests/CreateAndGetIntegrationAccountPartner.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountScenarioTests/IntegrationAccounts_Update_OK.json similarity index 51% rename from src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountPartnerScenarioTests/CreateAndGetIntegrationAccountPartner.json rename to src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountScenarioTests/IntegrationAccounts_Update_OK.json index 67a5ecb3fba78..c45d7e511afac 100644 --- a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountPartnerScenarioTests/CreateAndGetIntegrationAccountPartner.json +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountScenarioTests/IntegrationAccounts_Update_OK.json @@ -1,111 +1,156 @@ { "Entries": [ { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1319?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTMxOT9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "91" - ], "x-ms-client-request-id": [ - "b238c6a4-7ee2-4f15-ab58-a21dd45e2b36" + "29efa1bb-c81c-47a3-b098-008725dbbe78" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ] }, - "ResponseBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1319\",\r\n \"name\": \"IntegrationAccount1319\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:52:36 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11993" + ], + "x-ms-request-id": [ + "b7b77e5d-c0d6-4fc8-ae42-772bc701720a" + ], + "x-ms-correlation-request-id": [ + "b7b77e5d-c0d6-4fc8-ae42-772bc701720a" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225236Z:b7b77e5d-c0d6-4fc8-ae42-772bc701720a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], "Content-Length": [ - "290" + "12" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "df0a535e-d643-48aa-bb2f-8419b45a6115" ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:56:49 GMT" + "Wed, 19 Sep 2018 22:52:36 GMT" ], "Pragma": [ "no-cache" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19996" + ], "x-ms-request-id": [ - "westus:2ac91626-4346-4bd6-8f38-e57d2b9125cf" + "5c639c8b-e5a1-4b36-bab2-e7a1f6f959aa" + ], + "x-ms-correlation-request-id": [ + "5c639c8b-e5a1-4b36-bab2-e7a1f6f959aa" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225236Z:5c639c8b-e5a1-4b36-bab2-e7a1f6f959aa" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1194" + "X-Content-Type-Options": [ + "nosniff" ], - "x-ms-correlation-request-id": [ - "47603e7a-cefe-4a18-89f6-8bb63295868c" + "Content-Length": [ + "12" ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215649Z:47603e7a-cefe-4a18-89f6-8bb63295868c" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 201 + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1319/partners/IntegrationAccountPartner5584?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTMxOS9wYXJ0bmVycy9JbnRlZ3JhdGlvbkFjY291bnRQYXJ0bmVyNTU4ND9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5540?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NTU0MD9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"partnerType\": \"B2B\",\r\n \"metadata\": \"IntegrationAccountPartner5584\",\r\n \"content\": {\r\n \"b2b\": {\r\n \"businessIdentities\": [\r\n {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"ZZ\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"integrationAccountPartnerName\": \"IntegrationAccountPartner5584\"\r\n }\r\n}", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Basic\"\r\n },\r\n \"location\": \"westus\"\r\n}", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "398" - ], "x-ms-client-request-id": [ - "d75ea8ae-5d85-4bd0-8d09-ae4723d78b37" + "e4437b26-5cf3-40a1-9217-ef5e9b91bd67" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"partnerType\": \"B2B\",\r\n \"content\": {\r\n \"b2b\": {\r\n \"businessIdentities\": [\r\n {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"ZZ\"\r\n }\r\n ]\r\n }\r\n },\r\n \"createdTime\": \"2017-03-01T21:56:49.8289231Z\",\r\n \"changedTime\": \"2017-03-01T21:56:49.8293549Z\",\r\n \"metadata\": \"IntegrationAccountPartner5584\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1319/partners/IntegrationAccountPartner5584\",\r\n \"name\": \"IntegrationAccountPartner5584\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/partners\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "526" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ], + "Content-Length": [ + "88" + ] + }, + "ResponseHeaders": { "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:56:49 GMT" + "Wed, 19 Sep 2018 22:52:36 GMT" ], "Pragma": [ "no-cache" ], "x-ms-request-id": [ - "westus:ae080bea-5c2e-41c0-979e-8020a9493e85" + "westus:7f94f427-801d-4597-8032-a47ce0ef683e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -114,130 +159,153 @@ "1193" ], "x-ms-correlation-request-id": [ - "742af732-c944-46ba-9e36-41400032e1bc" + "9f595f06-db32-41f6-bcf4-3ad42a90e075" ], "x-ms-routing-request-id": [ - "WESTUS2:20170301T215649Z:742af732-c944-46ba-9e36-41400032e1bc" + "WESTUS2:20180919T225237Z:9f595f06-db32-41f6-bcf4-3ad42a90e075" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "304" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Basic\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5540\",\r\n \"name\": \"IntegrationAccount5540\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", "StatusCode": 201 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1319/partners/IntegrationAccountPartner5584?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTMxOS9wYXJ0bmVycy9JbnRlZ3JhdGlvbkFjY291bnRQYXJ0bmVyNTU4ND9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "GET", - "RequestBody": "", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5540?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NTU0MD9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "156ae8ae-8a62-44b6-ae76-b27771a7b4e3" + "d5c3c4e1-0e27-4be6-8f72-4b0cc8962d0d" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"partnerType\": \"B2B\",\r\n \"content\": {\r\n \"b2b\": {\r\n \"businessIdentities\": [\r\n {\r\n \"qualifier\": \"AA\",\r\n \"value\": \"ZZ\"\r\n }\r\n ]\r\n }\r\n },\r\n \"createdTime\": \"2017-03-01T21:56:49.8289231Z\",\r\n \"changedTime\": \"2017-03-01T21:56:49.8293549Z\",\r\n \"metadata\": \"IntegrationAccountPartner5584\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1319/partners/IntegrationAccountPartner5584\",\r\n \"name\": \"IntegrationAccountPartner5584\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/partners\"\r\n}", - "ResponseHeaders": { + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:56:49 GMT" + "Wed, 19 Sep 2018 22:52:37 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" - ], "Vary": [ - "Accept-Encoding", "Accept-Encoding" ], "x-ms-request-id": [ - "westus:037dfb32-4497-4d70-8fc0-2ca997eb9c10" + "westus:3bd8aea7-b9bf-41f9-a598-48877c48da58" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14800" + "x-ms-ratelimit-remaining-subscription-writes": [ + "1192" ], "x-ms-correlation-request-id": [ - "0544e3bc-2800-4cb4-8d0d-742b8d5c2af9" + "0f37a2fe-e614-47e1-b4e3-333a4194c223" ], "x-ms-routing-request-id": [ - "WESTUS2:20170301T215649Z:0544e3bc-2800-4cb4-8d0d-742b8d5c2af9" + "WESTUS2:20180919T225238Z:0f37a2fe-e614-47e1-b4e3-333a4194c223" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "307" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5540\",\r\n \"name\": \"IntegrationAccount5540\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1319?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MTMxOT9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5540?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NTU0MD9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "c4c22293-c176-4842-a7af-94e5bdafcd6c" + "45469393-4736-4b50-84fe-fe0f2122f4ff" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ] }, - "ResponseBody": "", "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:56:50 GMT" + "Wed, 19 Sep 2018 22:52:37 GMT" ], "Pragma": [ "no-cache" ], "x-ms-request-id": [ - "westus:4da575b5-d5ea-443f-a8ee-de561d3c59a4" + "westus:2e3362c7-f0b6-41b4-af56-1a309697e692" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1192" + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14996" ], "x-ms-correlation-request-id": [ - "8fd0c862-211f-4484-b741-132cd315d23c" + "22fbd415-bf31-45ca-87b3-ed8d9aecbce6" ], "x-ms-routing-request-id": [ - "WESTUS2:20170301T215650Z:8fd0c862-211f-4484-b741-132cd315d23c" + "WESTUS2:20180919T225238Z:22fbd415-bf31-45ca-87b3-ed8d9aecbce6" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "", "StatusCode": 200 } ], "Names": { - "CreateAndGetIntegrationAccountPartner": [ - "IntegrationAccount1319", - "IntegrationAccountPartner5584" + "IntegrationAccounts_Update_OK": [ + "IntegrationAccount5540" ] }, "Variables": { diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountScenarioTests/ListIntegrationAccountByResourceGroup.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountScenarioTests/ListIntegrationAccountByResourceGroup.json deleted file mode 100644 index ca7a957972537..0000000000000 --- a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountScenarioTests/ListIntegrationAccountByResourceGroup.json +++ /dev/null @@ -1,184 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount6238?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NjIzOD9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "91" - ], - "x-ms-client-request-id": [ - "042e3322-c225-46a8-8096-70ed16b610cc" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount6238\",\r\n \"name\": \"IntegrationAccount6238\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "290" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:57:58 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:d674a336-01a3-44f1-828a-6f90b6fa3bc2" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1199" - ], - "x-ms-correlation-request-id": [ - "bfb08677-3308-44f7-b914-ad164b523912" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215758Z:bfb08677-3308-44f7-b914-ad164b523912" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxNi0wNi0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "1d203b64-4c99-4ff8-a054-c5dc5bf4d5f0" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1192\",\r\n \"name\": \"IntegrationAccount1192\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount6238\",\r\n \"name\": \"IntegrationAccount6238\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount6900\",\r\n \"name\": \"IntegrationAccount6900\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount846\",\r\n \"name\": \"IntegrationAccount846\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9020\",\r\n \"name\": \"IntegrationAccount9020\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", - "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:57:58 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], - "x-ms-request-id": [ - "westus:4b9465ab-76c4-49b2-9ab9-6e8760b09adf" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14556" - ], - "x-ms-correlation-request-id": [ - "a6d61be9-43fa-4952-8639-cfa023756aea" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215758Z:a6d61be9-43fa-4952-8639-cfa023756aea" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount6238?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NjIzOD9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "fcd4b438-445d-4b5e-8dd2-2f14269c5df1" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:57:58 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:bf08cd4c-c69f-4ca5-97e5-857a74653fa3" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" - ], - "x-ms-correlation-request-id": [ - "74fc6428-7e09-4446-9931-f23282301c2e" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215759Z:74fc6428-7e09-4446-9931-f23282301c2e" - ] - }, - "StatusCode": 200 - } - ], - "Names": { - "ListIntegrationAccountByResourceGroup": [ - "IntegrationAccount6238" - ] - }, - "Variables": { - "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" - } -} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountScenarioTests/ListIntegrationAccountBySubscription.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountScenarioTests/ListIntegrationAccountBySubscription.json deleted file mode 100644 index 9889109262e74..0000000000000 --- a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountScenarioTests/ListIntegrationAccountBySubscription.json +++ /dev/null @@ -1,193 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount6666?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NjY2Nj9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "91" - ], - "x-ms-client-request-id": [ - "1cccec9c-11c9-4d03-be86-35dcca2ff4e6" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount6666\",\r\n \"name\": \"IntegrationAccount6666\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "290" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:57:51 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:ba453734-442c-43cf-a5d8-94535928d1ce" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1192" - ], - "x-ms-correlation-request-id": [ - "dca9c693-de01-4fad-86c9-a81c594c2b2d" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215752Z:dca9c693-de01-4fad-86c9-a81c594c2b2d" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/providers/Microsoft.Logic/integrationAccounts?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Byb3ZpZGVycy9NaWNyb3NvZnQuTG9naWMvaW50ZWdyYXRpb25BY2NvdW50cz9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "239c839f-b9cd-4972-b3a5-35f0b51ab5ed" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/daviburgRG_NC/providers/Microsoft.Logic/integrationAccounts/daviburgIAFabrikam\",\r\n \"name\": \"daviburgIAFabrikam\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"northcentralus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/daviburgRG_NC/providers/Microsoft.Logic/integrationAccounts/daviburgIANC\",\r\n \"name\": \"daviburgIANC\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"northcentralus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/DONOTDELETE-TrackingResourceGroupNorthCentralUS/providers/Microsoft.Logic/integrationAccounts/DONOTDELETE-TrackingIntegrationAccountNorthCentralUS\",\r\n \"name\": \"DONOTDELETE-TrackingIntegrationAccountNorthCentralUS\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"northcentralus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/EIPTemplates/providers/Microsoft.Logic/integrationAccounts/testbatchtracking\",\r\n \"name\": \"testbatchtracking\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"northcentralus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/JavRGBTS/providers/Microsoft.Logic/integrationAccounts/JavIANCUS\",\r\n \"name\": \"JavIANCUS\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"northcentralus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/jonsigniterg/providers/Microsoft.Logic/integrationAccounts/sapdemo2\",\r\n \"name\": \"sapdemo2\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"northcentralus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/klamRG/providers/Microsoft.Logic/integrationAccounts/klamIntegrationAccount\",\r\n \"name\": \"klamIntegrationAccount\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"northcentralus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/PaginationTestRG/providers/Microsoft.Logic/integrationAccounts/PaginationIA\",\r\n \"name\": \"PaginationIA\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"northcentralus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/sumikumRGt1/providers/Microsoft.Logic/integrationAccounts/ContosoIntegrationAccount\",\r\n \"name\": \"ContosoIntegrationAccount\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"northcentralus\",\r\n \"tags\": {\r\n \"displayName\": \"Contoso Integration Account\"\r\n }\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/sumikumRGt1/providers/Microsoft.Logic/integrationAccounts/FabrikamIntegrationAccount\",\r\n \"name\": \"FabrikamIntegrationAccount\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"northcentralus\",\r\n \"tags\": {\r\n \"displayName\": \"Fabrikam Integration Account\"\r\n }\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/sumikumRGt1/providers/Microsoft.Logic/integrationAccounts/sumikumIA2\",\r\n \"name\": \"sumikumIA2\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"northcentralus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/sumikumRGt1/providers/Microsoft.Logic/integrationAccounts/sumikumIAt1\",\r\n \"name\": \"sumikumIAt1\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"northcentralus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/JonsIARG/providers/Microsoft.Logic/integrationAccounts/ContosoIntegrationAccountDemo\",\r\n \"name\": \"ContosoIntegrationAccountDemo\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"displayName\": \"Contoso Integration Account\"\r\n }\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/JonsIARG/providers/Microsoft.Logic/integrationAccounts/FabrikamIntegrationAccountDemo\",\r\n \"name\": \"FabrikamIntegrationAccountDemo\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"displayName\": \"Fabrikam Integration Account\"\r\n }\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/JonsIARG/providers/Microsoft.Logic/integrationAccounts/IntegrationAccountDemo\",\r\n \"name\": \"IntegrationAccountDemo\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"centralus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/JonsIARG/providers/Microsoft.Logic/integrationAccounts/JonsCentralUSAccount\",\r\n \"name\": \"JonsCentralUSAccount\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"centralus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/JonsIARG/providers/Microsoft.Logic/integrationAccounts/JonsIntAcc\",\r\n \"name\": \"JonsIntAcc\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"centralus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/jonsigniterg/providers/Microsoft.Logic/integrationAccounts/ContosoIntegrationAccount\",\r\n \"name\": \"ContosoIntegrationAccount\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"displayName\": \"Contoso Integration Account\"\r\n }\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/jonsigniterg/providers/Microsoft.Logic/integrationAccounts/FabrikamIntegrationAccount\",\r\n \"name\": \"FabrikamIntegrationAccount\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"displayName\": \"Fabrikam Integration Account\"\r\n }\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/jonsigniterg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount\",\r\n \"name\": \"IntegrationAccount\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"centralus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/jonsigniterg/providers/Microsoft.Logic/integrationAccounts/JonsDemos\",\r\n \"name\": \"JonsDemos\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"centralus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/jonsigniterg/providers/Microsoft.Logic/integrationAccounts/jonsigniteintacc\",\r\n \"name\": \"jonsigniteintacc\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"centralus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/jonsigniterg/providers/Microsoft.Logic/integrationAccounts/JonsIntAccCentralUS\",\r\n \"name\": \"JonsIntAccCentralUS\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"centralus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/jonsigniterg/providers/Microsoft.Logic/integrationAccounts/jonsintegrationaccount\",\r\n \"name\": \"jonsintegrationaccount\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"centralus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/jonsigniterg/providers/Microsoft.Logic/integrationAccounts/TrackingAPI\",\r\n \"name\": \"TrackingAPI\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"centralus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/padintegrationaccountdiagnostics/providers/Microsoft.Logic/integrationAccounts/testdiagnostics\",\r\n \"name\": \"testdiagnostics\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"centralus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/rarayuducentralusrg/providers/Microsoft.Logic/integrationAccounts/rarayuducentralusia\",\r\n \"name\": \"rarayuducentralusia\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"centralus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/vinay-central-ua/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount\",\r\n \"name\": \"IntegrationAccount\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"centralus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/JonsIARG/providers/Microsoft.Logic/integrationAccounts/VETERaccount\",\r\n \"name\": \"VETERaccount\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"southcentralus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/jonsigniterg/providers/Microsoft.Logic/integrationAccounts/HL7\",\r\n \"name\": \"HL7\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"southcentralus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/ramacfar-test/providers/Microsoft.Logic/integrationAccounts/ramacfar_south_central\",\r\n \"name\": \"ramacfar_south_central\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"southcentralus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/rarayuduscusrg/providers/Microsoft.Logic/integrationAccounts/rarayuduscusperfia1\",\r\n \"name\": \"rarayuduscusperfia1\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"southcentralus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/rarayuduscusrg/providers/Microsoft.Logic/integrationAccounts/rarayuduscusperfia2\",\r\n \"name\": \"rarayuduscusperfia2\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"southcentralus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/rarayudutestas2rg/providers/Microsoft.Logic/integrationAccounts/rarayuduiaSCUS\",\r\n \"name\": \"rarayuduiaSCUS\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"southcentralus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/JAV-RG-NorthEurope2/providers/Microsoft.Logic/integrationAccounts/Jav-IA-NorthEurope\",\r\n \"name\": \"Jav-IA-NorthEurope\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"northeurope\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/rarayudutestnortheuroperg/providers/Microsoft.Logic/integrationAccounts/rarayudutestnortheuropeia\",\r\n \"name\": \"rarayudutestnortheuropeia\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"northeurope\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/TrackingTip/providers/Microsoft.Logic/integrationAccounts/TrackingTipGuestIA\",\r\n \"name\": \"TrackingTipGuestIA\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"northeurope\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/TrackingTip/providers/Microsoft.Logic/integrationAccounts/TrackingTipHostIA\",\r\n \"name\": \"TrackingTipHostIA\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"northeurope\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/vinayvsrg/providers/Microsoft.Logic/integrationAccounts/NorthEuropeTesting\",\r\n \"name\": \"NorthEuropeTesting\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"northeurope\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/JavRG-WestEurope2/providers/Microsoft.Logic/integrationAccounts/JavIA-WestEurope\",\r\n \"name\": \"JavIA-WestEurope\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/jonsigniterg/providers/Microsoft.Logic/integrationAccounts/TestFreeAccount\",\r\n \"name\": \"TestFreeAccount\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/X12WestEurope/providers/Microsoft.Logic/integrationAccounts/westeuropeia\",\r\n \"name\": \"westeuropeia\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/apsethRG/providers/Microsoft.Logic/integrationAccounts/APATEST\",\r\n \"name\": \"APATEST\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/as2tryit/providers/Microsoft.Logic/integrationAccounts/ContosoIntegrationAccount\",\r\n \"name\": \"ContosoIntegrationAccount\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/as2tryit/providers/Microsoft.Logic/integrationAccounts/FabrikamIntegrationAccount\",\r\n \"name\": \"FabrikamIntegrationAccount\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"displayName\": \"Fabrikam Integration Account\"\r\n }\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/ContosoIntegration/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount-1.618\",\r\n \"name\": \"IntegrationAccount-1.618\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/daviburgIASdkTestRg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1890\",\r\n \"name\": \"IntegrationAccount1890\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/daviburgIASdkTestRg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2342\",\r\n \"name\": \"IntegrationAccount2342\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/daviburgIASdkTestRg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2800\",\r\n \"name\": \"IntegrationAccount2800\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/daviburgIASdkTestRg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount6287\",\r\n \"name\": \"IntegrationAccount6287\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/daviburgIASdkTestRg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount6364\",\r\n \"name\": \"IntegrationAccount6364\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/daviburgIASdkTestRg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8794\",\r\n \"name\": \"IntegrationAccount8794\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/daviburgIASdkTestRg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9648\",\r\n \"name\": \"IntegrationAccount9648\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/daviburgIASdkTestRg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9789\",\r\n \"name\": \"IntegrationAccount9789\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/Default-Web-WestUS/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount\",\r\n \"name\": \"IntegrationAccount\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/EIPTemplates/providers/Microsoft.Logic/integrationAccounts/EIPIntegration\",\r\n \"name\": \"EIPIntegration\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount1192\",\r\n \"name\": \"IntegrationAccount1192\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount6666\",\r\n \"name\": \"IntegrationAccount6666\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount6900\",\r\n \"name\": \"IntegrationAccount6900\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount846\",\r\n \"name\": \"IntegrationAccount846\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9020\",\r\n \"name\": \"IntegrationAccount9020\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/JavRGBTS/providers/Microsoft.Logic/integrationAccounts/JavIABTS\",\r\n \"name\": \"JavIABTS\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/JavRGBTS4/providers/Microsoft.Logic/integrationAccounts/Jav-BrazilUSIA\",\r\n \"name\": \"Jav-BrazilUSIA\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/JonsIARG/providers/Microsoft.Logic/integrationAccounts/JonsB2Baccount\",\r\n \"name\": \"JonsB2Baccount\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/jonsigniterg/providers/Microsoft.Logic/integrationAccounts/AS2IntegrationAccount\",\r\n \"name\": \"AS2IntegrationAccount\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/myRGname/providers/Microsoft.Logic/integrationAccounts/TestAccount\",\r\n \"name\": \"TestAccount\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/PadmaCSADemo/providers/Microsoft.Logic/integrationAccounts/padintegrationdemo\",\r\n \"name\": \"padintegrationdemo\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/PrimaryRegionRG/providers/Microsoft.Logic/integrationAccounts/PrimaryIntegrationAccount\",\r\n \"name\": \"PrimaryIntegrationAccount\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/rarayudutestas2westusrg/providers/Microsoft.Logic/integrationAccounts/rarayudutestas2westusia\",\r\n \"name\": \"rarayudutestas2westusia\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/rarayudutestvsrg/providers/Microsoft.Logic/integrationAccounts/rarayudutestdiagnosticsia\",\r\n \"name\": \"rarayudutestdiagnosticsia\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/rarayudutestvsrg/providers/Microsoft.Logic/integrationAccounts/rarayudutestintegration\",\r\n \"name\": \"rarayudutestintegration\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/testvetr/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount\",\r\n \"name\": \"IntegrationAccount\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/JonsIARG/providers/Microsoft.Logic/integrationAccounts/jonnewia\",\r\n \"name\": \"jonnewia\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/rarayudueastusrg/providers/Microsoft.Logic/integrationAccounts/rarayuduiaeastus\",\r\n \"name\": \"rarayuduiaeastus\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/SecondaryRegionRG/providers/Microsoft.Logic/integrationAccounts/SecondaryIntegrationAccount\",\r\n \"name\": \"SecondaryIntegrationAccount\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/yisha-brazilus/providers/Microsoft.Logic/integrationAccounts/yisha-guest\",\r\n \"name\": \"yisha-guest\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/rarayuduperftest/providers/Microsoft.Logic/integrationAccounts/rarayudutestsignencryptis\",\r\n \"name\": \"rarayudutestsignencryptis\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"eastus2\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/Axrunz/providers/Microsoft.Logic/integrationAccounts/x12TestIntegrationAccount\",\r\n \"name\": \"x12TestIntegrationAccount\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/BizTalkConnectorDemoRG/providers/Microsoft.Logic/integrationAccounts/BtsLogicAppTestIntAcc\",\r\n \"name\": \"BtsLogicAppTestIntAcc\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/brazilsouth1/providers/Microsoft.Logic/integrationAccounts/MyIntegrationAccount\",\r\n \"name\": \"MyIntegrationAccount\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/ContosoIntegration/providers/Microsoft.Logic/integrationAccounts/ContosoIntegration\",\r\n \"name\": \"ContosoIntegration\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/ContosoIntegration/providers/Microsoft.Logic/integrationAccounts/MyIntegrationAccount\",\r\n \"name\": \"MyIntegrationAccount\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/daviburgRG_DogFood/providers/Microsoft.Logic/integrationAccounts/daviburgIA_BS\",\r\n \"name\": \"daviburgIA_BS\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/daviburgRG_DogFood/providers/Microsoft.Logic/integrationAccounts/daviburgIA_BS_Fabrikam\",\r\n \"name\": \"daviburgIA_BS_Fabrikam\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/IntegrationAccountPsCmdletTest/providers/Microsoft.Logic/integrationAccounts/onesdk1267\",\r\n \"name\": \"onesdk1267\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/IntegrationAccountPsCmdletTest/providers/Microsoft.Logic/integrationAccounts/onesdk1325\",\r\n \"name\": \"onesdk1325\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/IntegrationAccountPsCmdletTest/providers/Microsoft.Logic/integrationAccounts/onesdk1407\",\r\n \"name\": \"onesdk1407\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/IntegrationAccountPsCmdletTest/providers/Microsoft.Logic/integrationAccounts/onesdk167\",\r\n \"name\": \"onesdk167\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/IntegrationAccountPsCmdletTest/providers/Microsoft.Logic/integrationAccounts/onesdk2649\",\r\n \"name\": \"onesdk2649\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/IntegrationAccountPsCmdletTest/providers/Microsoft.Logic/integrationAccounts/onesdk5451\",\r\n \"name\": \"onesdk5451\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/IntegrationAccountPsCmdletTest/providers/Microsoft.Logic/integrationAccounts/onesdk5768\",\r\n \"name\": \"onesdk5768\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/IntegrationAccountPsCmdletTest/providers/Microsoft.Logic/integrationAccounts/onesdk5806\",\r\n \"name\": \"onesdk5806\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/IntegrationAccountPsCmdletTest/providers/Microsoft.Logic/integrationAccounts/onesdk6122\",\r\n \"name\": \"onesdk6122\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/IntegrationAccountPsCmdletTest/providers/Microsoft.Logic/integrationAccounts/onesdk6160\",\r\n \"name\": \"onesdk6160\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/IntegrationAccountPsCmdletTest/providers/Microsoft.Logic/integrationAccounts/onesdk6275\",\r\n \"name\": \"onesdk6275\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/IntegrationAccountPsCmdletTest/providers/Microsoft.Logic/integrationAccounts/onesdk6407\",\r\n \"name\": \"onesdk6407\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/IntegrationAccountPsCmdletTest/providers/Microsoft.Logic/integrationAccounts/onesdk6924\",\r\n \"name\": \"onesdk6924\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/IntegrationAccountPsCmdletTest/providers/Microsoft.Logic/integrationAccounts/onesdk7137\",\r\n \"name\": \"onesdk7137\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/IntegrationAccountPsCmdletTest/providers/Microsoft.Logic/integrationAccounts/onesdk7767\",\r\n \"name\": \"onesdk7767\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/IntegrationAccountPsCmdletTest/providers/Microsoft.Logic/integrationAccounts/onesdk8952\",\r\n \"name\": \"onesdk8952\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/IntegrationAccountPsCmdletTest/providers/Microsoft.Logic/integrationAccounts/onesdk9015\",\r\n \"name\": \"onesdk9015\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/IntegrationAccountPsCmdletTest/providers/Microsoft.Logic/integrationAccounts/onesdk9526\",\r\n \"name\": \"onesdk9526\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/IntegrationAccountPsCmdletTest/providers/Microsoft.Logic/integrationAccounts/onesdk9731\",\r\n \"name\": \"onesdk9731\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/IntegrationAccountPsCmdletTest/providers/Microsoft.Logic/integrationAccounts/Test\",\r\n \"name\": \"Test\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/JonsIARG/providers/Microsoft.Logic/integrationAccounts/CanaryIA\",\r\n \"name\": \"CanaryIA\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/JonsIARG/providers/Microsoft.Logic/integrationAccounts/ContosoIntegrationAccount\",\r\n \"name\": \"ContosoIntegrationAccount\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"brazilsouth\",\r\n \"tags\": {\r\n \"displayName\": \"Contoso Integration Account\"\r\n }\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/JonsIARG/providers/Microsoft.Logic/integrationAccounts/FabrikamIntegrationAccount\",\r\n \"name\": \"FabrikamIntegrationAccount\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"brazilsouth\",\r\n \"tags\": {\r\n \"displayName\": \"Fabrikam Integration Account\"\r\n }\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/jonsigniterg/providers/Microsoft.Logic/integrationAccounts/msftconnectaccount\",\r\n \"name\": \"msftconnectaccount\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus2\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/B2BEndToEndTracking/providers/Microsoft.Logic/integrationAccounts/TrackingTipGuest\",\r\n \"name\": \"TrackingTipGuest\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westcentralus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/daviburgRG_WCUS/providers/Microsoft.Logic/integrationAccounts/daviburgWCUS_Contoso\",\r\n \"name\": \"daviburgWCUS_Contoso\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westcentralus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/daviburgRG_WCUS/providers/Microsoft.Logic/integrationAccounts/daviburgWCUS_Fabrikam\",\r\n \"name\": \"daviburgWCUS_Fabrikam\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westcentralus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/rarayudutestas2westusrg/providers/Microsoft.Logic/integrationAccounts/rarayuduiatestwestcentralus\",\r\n \"name\": \"rarayuduiatestwestcentralus\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westcentralus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/TrackingTipRG/providers/Microsoft.Logic/integrationAccounts/TrackingTip\",\r\n \"name\": \"TrackingTip\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westcentralus\"\r\n },\r\n {\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Free\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/westcentralus-rg/providers/Microsoft.Logic/integrationAccounts/westcentralus-ia\",\r\n \"name\": \"westcentralus-ia\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westcentralus\"\r\n }\r\n ],\r\n \"nextLink\": \"https://management.azure.com/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/providers/Microsoft.Logic/integrationAccounts?api-version=2016-06-01&%24skiptoken=5VHbbqMwFPwXpO7TptgEqqZStQobO0suZGN8jiPeuDgNxVwK5NJW%2ffel37HSeZoZzRzNfFq1vg2boi576%2bnTUiySEFlP1mkY2v7JtqukTl50pevhPvk4d%2fo%2bayq7P6d91hXtUDR1bx%2bnbuo4yXTiOMSZuMeUTlLikgmdTp00nzmP2aNrt11zKXLd9fa2yLqmb47D%2faZ5KTK7qAf90iXfXvMsa8710P9K2mJyGcUj9uwQ%2bjAh49Efd47bl2NsU%2br6Wb%2bvzvHhRGDJ3%2fOlIYmanSMHveC1KbYRcwNkVyXDKDFsCIprkVbo5nx1yclgdBQ8BK%2fstJXBqFu9SemLpDQeoAg10Lf9wewEtguJuMqJx%2faHU6hL6oEaRDjyCRN%2fBV9VyMADvr2h4Vs0KwmIO8lDDOGkBMaAZbwWBq47jDEh3hJe%2bRp4rPYHoUTZ%2fgbpk8iILuYYYekhUKBjJMY8FKPfGhdzujfsKo2vcHwmqMndNLd%2bWr6Yx8Em2oH889%2bMtZPBCao23HL%2bFh2MQEY9qVpfg8dVGYYIZipL4WtGH%2bTIJ5TRkW8EmzGoYhDS7OGDK4AbZtyHlHlrwHgdsRumbPY9WIBqWCKGuIOZQPAYLriSNPY3ESmO%2b7H77%2fq%2fvv4B\"\r\n}", - "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:57:52 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Vary": [ - "Accept-Encoding" - ], - "x-ms-original-request-ids": [ - "northcentralus:bdcb56f8-e733-47f5-9cfb-3c8b0a266e88", - "centralus:e4c48aa0-a206-4e8d-86b7-4756514f8863", - "southcentralus:1ed94ffe-6104-4806-9df3-4aa3ce983b90", - "northeurope:7b861552-31b0-4d90-962a-617880b22f48", - "westeurope:eb3e1137-f80e-47f8-aeb4-0af01fd32a18", - "westus:d6eb3eb0-6f87-4430-a0ae-5d899d38ad6d", - "eastus:46acda01-b14a-4398-8162-9e217d8586b4", - "eastus2:554da72d-542c-4f17-9c42-d200ae1c2ce5", - "brazilsouth:8fce043b-d1b4-4f14-8ae0-5e92d8924968", - "westus2:6e7b61fb-9ecf-4b80-94eb-edecc537bca9", - "westcentralus:7fc483e6-b167-4a35-8f9f-8879b55fea09" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14714" - ], - "x-ms-request-id": [ - "48b47400-1727-4f3d-bcb1-4fb04510f190" - ], - "x-ms-correlation-request-id": [ - "48b47400-1727-4f3d-bcb1-4fb04510f190" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215753Z:48b47400-1727-4f3d-bcb1-4fb04510f190" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount6666?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NjY2Nj9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "7abf0798-669c-4b92-aa06-ff0b263ccb01" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:57:53 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:5430a40b-0972-4952-aba7-4444899eadc3" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1191" - ], - "x-ms-correlation-request-id": [ - "020cdd26-2ef2-44d2-b65c-422eb70b1c70" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215754Z:020cdd26-2ef2-44d2-b65c-422eb70b1c70" - ] - }, - "StatusCode": 200 - } - ], - "Names": { - "ListIntegrationAccountBySubscription": [ - "IntegrationAccount6666" - ] - }, - "Variables": { - "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" - } -} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountScenarioTests/UpdateIntegrationAccount.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountScenarioTests/UpdateIntegrationAccount.json deleted file mode 100644 index b5477de2eaa92..0000000000000 --- a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountScenarioTests/UpdateIntegrationAccount.json +++ /dev/null @@ -1,190 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8602?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50ODYwMj9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "91" - ], - "x-ms-client-request-id": [ - "daa130cf-8206-4610-bfe6-4b985406e4fe" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8602\",\r\n \"name\": \"IntegrationAccount8602\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "290" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:58:07 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:29f88511-a275-40ba-952a-957db83432f6" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1192" - ], - "x-ms-correlation-request-id": [ - "43b00749-b5b3-466f-b987-c39a988c1b3c" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215808Z:43b00749-b5b3-466f-b987-c39a988c1b3c" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8602?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50ODYwMj9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "PATCH", - "RequestBody": "{\r\n \"tags\": {\r\n \"IntegrationAccount\": \"IntegrationAccount8602\"\r\n }\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "74" - ], - "x-ms-client-request-id": [ - "cfce8dad-0e6f-4847-913f-e1c30c9bdec6" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8602\",\r\n \"name\": \"IntegrationAccount8602\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"IntegrationAccount\": \"IntegrationAccount8602\"\r\n }\r\n}", - "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:58:08 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], - "x-ms-request-id": [ - "westus:ecae708f-cf74-4995-bc06-0dcb5215224f" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1191" - ], - "x-ms-correlation-request-id": [ - "705ee645-6ed6-4091-a813-41600898cfef" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215809Z:705ee645-6ed6-4091-a813-41600898cfef" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8602?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50ODYwMj9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "fdd24e87-d814-4359-b992-f6caf26de68e" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:58:08 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:784ce5c1-6e09-4f26-945f-ad3f23965602" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1190" - ], - "x-ms-correlation-request-id": [ - "29ca7e70-65bb-4762-84bd-e17cc219c322" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215809Z:29ca7e70-65bb-4762-84bd-e17cc219c322" - ] - }, - "StatusCode": 200 - } - ], - "Names": { - "UpdateIntegrationAccount": [ - "IntegrationAccount8602" - ] - }, - "Variables": { - "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" - } -} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSchemaScenarioTests/CreateAndDeleteIntegrationAccountSchema.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSchemaScenarioTests/CreateAndDeleteIntegrationAccountSchema.json deleted file mode 100644 index 4d6d485e5fe33..0000000000000 --- a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSchemaScenarioTests/CreateAndDeleteIntegrationAccountSchema.json +++ /dev/null @@ -1,294 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8656?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50ODY1Nj9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "91" - ], - "x-ms-client-request-id": [ - "cbdf178b-9895-49da-b619-737a3f2c6bb2" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8656\",\r\n \"name\": \"IntegrationAccount8656\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "290" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:56:19 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:145dcdfd-4649-4ec8-8255-d9a7591a05fb" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" - ], - "x-ms-correlation-request-id": [ - "fd9d52e4-54c7-464b-b7a6-6102fe0a5431" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215619Z:fd9d52e4-54c7-464b-b7a6-6102fe0a5431" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8656/schemas/IntegrationAccountSchema1482?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50ODY1Ni9zY2hlbWFzL0ludGVncmF0aW9uQWNjb3VudFNjaGVtYTE0ODI/YXBpLXZlcnNpb249MjAxNi0wNi0wMQ==", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"schemaType\": \"Xml\",\r\n \"metadata\": \"IntegrationAccountSchema1482\",\r\n \"content\": \"<?xml version=\\\"1.0\\\" encoding=\\\"utf-16\\\"?>\\r\\n<xs:schema xmlns:b=\\\"http://schemas.microsoft.com/BizTalk/2003\\\" xmlns=\\\"http://Inbound_EDI.OrderFile\\\" targetNamespace=\\\"http://Inbound_EDI.OrderFile\\\" xmlns:xs=\\\"http://www.w3.org/2001/XMLSchema\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:schemaInfo default_pad_char=\\\" \\\" count_positions_by_byte=\\\"false\\\" parser_optimization=\\\"speed\\\" lookahead_depth=\\\"3\\\" suppress_empty_nodes=\\\"false\\\" generate_empty_nodes=\\\"true\\\" allow_early_termination=\\\"false\\\" early_terminate_optional_fields=\\\"false\\\" allow_message_breakup_of_infix_root=\\\"false\\\" compile_parse_tables=\\\"false\\\" standard=\\\"Flat File\\\" root_reference=\\\"OrderFile\\\" />\\r\\n <schemaEditorExtension:schemaInfo namespaceAlias=\\\"b\\\" extensionClass=\\\"Microsoft.BizTalk.FlatFileExtension.FlatFileExtension\\\" standardName=\\\"Flat File\\\" xmlns:schemaEditorExtension=\\\"http://schemas.microsoft.com/BizTalk/2003/SchemaEditorExtensions\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"OrderFile\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" sequence_number=\\\"1\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"Order\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo sequence_number=\\\"1\\\" structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" child_delimiter_type=\\\"hex\\\" child_delimiter=\\\"0x0D 0x0A\\\" child_order=\\\"infix\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"Header\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo sequence_number=\\\"1\\\" structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" child_delimiter_type=\\\"char\\\" child_delimiter=\\\"|\\\" child_order=\\\"infix\\\" tag_name=\\\"HDR|\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"PODate\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"1\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"PONumber\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo justification=\\\"left\\\" sequence_number=\\\"2\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"CustomerID\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"3\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"CustomerContactName\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"4\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"CustomerContactPhone\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"5\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n <xs:element minOccurs=\\\"1\\\" maxOccurs=\\\"unbounded\\\" name=\\\"LineItems\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo sequence_number=\\\"2\\\" structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" child_delimiter_type=\\\"char\\\" child_delimiter=\\\"|\\\" child_order=\\\"infix\\\" tag_name=\\\"DTL|\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"PONumber\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"1\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"ItemOrdered\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"2\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"Quantity\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"3\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"UOM\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"4\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"Price\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"5\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"ExtendedPrice\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"6\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"Description\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"7\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n</xs:schema>\",\r\n \"contentType\": \"application/xml\"\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"integrationAccountSchemaName\": \"IntegrationAccountSchema1482\"\r\n }\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "8700" - ], - "x-ms-client-request-id": [ - "368ef3ad-80d0-4d27-b29a-8f8623dee108" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"schemaType\": \"Xml\",\r\n \"targetNamespace\": \"http://Inbound_EDI.OrderFile\",\r\n \"documentName\": \"OrderFile\",\r\n \"contentLink\": {\r\n \"uri\": \"https://flowprodcu20by01.blob.core.windows.net/integrationaccounts55f6571c10b04df4aa3148d08e48ad74/3839E_XML_INTEGRATIONACCOUNTSCHEMA1482-AD9B5E45AE46494B932FAE4EE673B8DF?sv=2016-05-31&sr=b&sig=sNHYF4gq7PEG%2FuQHe48uw54NAczDb6iYyvLd1ajJTV4%3D&se=2017-03-02T01%3A56%3A19Z&sp=r\",\r\n \"contentVersion\": \"\\\"0x8D460EDCAFD5978\\\"\",\r\n \"contentSize\": 7901,\r\n \"contentHash\": {\r\n \"algorithm\": \"md5\",\r\n \"value\": \"a+4ZnOsIm8I/Mr0aKJIK6w==\"\r\n }\r\n },\r\n \"createdTime\": \"2017-03-01T21:56:19.8178527Z\",\r\n \"changedTime\": \"2017-03-01T21:56:19.8181529Z\",\r\n \"metadata\": \"IntegrationAccountSchema1482\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8656/schemas/IntegrationAccountSchema1482\",\r\n \"name\": \"IntegrationAccountSchema1482\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/schemas\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "950" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:56:19 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:1054d125-5a24-4d68-abd3-b8fe6cdff451" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1197" - ], - "x-ms-correlation-request-id": [ - "795f4af5-d3f7-4dbc-a18b-5ed1a59266b7" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215619Z:795f4af5-d3f7-4dbc-a18b-5ed1a59266b7" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8656/schemas/IntegrationAccountSchema1482?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50ODY1Ni9zY2hlbWFzL0ludGVncmF0aW9uQWNjb3VudFNjaGVtYTE0ODI/YXBpLXZlcnNpb249MjAxNi0wNi0wMQ==", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "b3a1546a-3e2d-4a70-aff2-575769c45c1f" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:56:20 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:8101b822-0014-43c2-b19e-9383fe86c889" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1196" - ], - "x-ms-correlation-request-id": [ - "7f578ac5-62b1-44c9-a0f9-21d74962c08f" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215620Z:7f578ac5-62b1-44c9-a0f9-21d74962c08f" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8656/schemas/IntegrationAccountSchema1482?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50ODY1Ni9zY2hlbWFzL0ludGVncmF0aW9uQWNjb3VudFNjaGVtYTE0ODI/YXBpLXZlcnNpb249MjAxNi0wNi0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "df1855c5-778e-4395-81c7-94036e98e8da" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"SchemaNotFound\",\r\n \"message\": \"The schema 'IntegrationAccountSchema1482' could not be found in integration account 'IntegrationAccount8656'.\"\r\n }\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "157" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:56:20 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:14d3269d-63bd-4cd0-85da-0050136e754a" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14742" - ], - "x-ms-correlation-request-id": [ - "900f38b0-4684-4dc8-9c6b-260221fea587" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215620Z:900f38b0-4684-4dc8-9c6b-260221fea587" - ] - }, - "StatusCode": 404 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8656?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50ODY1Nj9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "7f30222d-88ce-45cf-8950-e1d20df9bac0" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:56:20 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:4378ae6c-0e66-4485-aa86-85518a64ef49" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1195" - ], - "x-ms-correlation-request-id": [ - "55cbdb26-ef81-405a-9a18-af11b0665efc" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215620Z:55cbdb26-ef81-405a-9a18-af11b0665efc" - ] - }, - "StatusCode": 200 - } - ], - "Names": { - "CreateAndDeleteIntegrationAccountSchema": [ - "IntegrationAccount8656", - "IntegrationAccountSchema1482" - ] - }, - "Variables": { - "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" - } -} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSchemaScenarioTests/CreateAndGetIntegrationAccountSchema.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSchemaScenarioTests/CreateAndGetIntegrationAccountSchema.json deleted file mode 100644 index 8d15c9e9866a7..0000000000000 --- a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSchemaScenarioTests/CreateAndGetIntegrationAccountSchema.json +++ /dev/null @@ -1,246 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2919?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MjkxOT9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "91" - ], - "x-ms-client-request-id": [ - "449f1905-6b62-4014-8686-9970fdf5a546" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2919\",\r\n \"name\": \"IntegrationAccount2919\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "290" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:56:09 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:ad2bbd8a-d861-4c3d-97f8-8e96cb4b485f" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" - ], - "x-ms-correlation-request-id": [ - "0ed1c6fe-0a9a-462c-8341-b1834f079fe2" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215610Z:0ed1c6fe-0a9a-462c-8341-b1834f079fe2" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2919/schemas/IntegrationAccountSchema6810?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MjkxOS9zY2hlbWFzL0ludGVncmF0aW9uQWNjb3VudFNjaGVtYTY4MTA/YXBpLXZlcnNpb249MjAxNi0wNi0wMQ==", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"schemaType\": \"Xml\",\r\n \"metadata\": \"IntegrationAccountSchema6810\",\r\n \"content\": \"<?xml version=\\\"1.0\\\" encoding=\\\"utf-16\\\"?>\\r\\n<xs:schema xmlns:b=\\\"http://schemas.microsoft.com/BizTalk/2003\\\" xmlns=\\\"http://Inbound_EDI.OrderFile\\\" targetNamespace=\\\"http://Inbound_EDI.OrderFile\\\" xmlns:xs=\\\"http://www.w3.org/2001/XMLSchema\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:schemaInfo default_pad_char=\\\" \\\" count_positions_by_byte=\\\"false\\\" parser_optimization=\\\"speed\\\" lookahead_depth=\\\"3\\\" suppress_empty_nodes=\\\"false\\\" generate_empty_nodes=\\\"true\\\" allow_early_termination=\\\"false\\\" early_terminate_optional_fields=\\\"false\\\" allow_message_breakup_of_infix_root=\\\"false\\\" compile_parse_tables=\\\"false\\\" standard=\\\"Flat File\\\" root_reference=\\\"OrderFile\\\" />\\r\\n <schemaEditorExtension:schemaInfo namespaceAlias=\\\"b\\\" extensionClass=\\\"Microsoft.BizTalk.FlatFileExtension.FlatFileExtension\\\" standardName=\\\"Flat File\\\" xmlns:schemaEditorExtension=\\\"http://schemas.microsoft.com/BizTalk/2003/SchemaEditorExtensions\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"OrderFile\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" sequence_number=\\\"1\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"Order\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo sequence_number=\\\"1\\\" structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" child_delimiter_type=\\\"hex\\\" child_delimiter=\\\"0x0D 0x0A\\\" child_order=\\\"infix\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"Header\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo sequence_number=\\\"1\\\" structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" child_delimiter_type=\\\"char\\\" child_delimiter=\\\"|\\\" child_order=\\\"infix\\\" tag_name=\\\"HDR|\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"PODate\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"1\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"PONumber\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo justification=\\\"left\\\" sequence_number=\\\"2\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"CustomerID\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"3\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"CustomerContactName\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"4\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"CustomerContactPhone\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"5\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n <xs:element minOccurs=\\\"1\\\" maxOccurs=\\\"unbounded\\\" name=\\\"LineItems\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo sequence_number=\\\"2\\\" structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" child_delimiter_type=\\\"char\\\" child_delimiter=\\\"|\\\" child_order=\\\"infix\\\" tag_name=\\\"DTL|\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"PONumber\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"1\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"ItemOrdered\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"2\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"Quantity\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"3\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"UOM\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"4\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"Price\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"5\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"ExtendedPrice\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"6\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"Description\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"7\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n</xs:schema>\",\r\n \"contentType\": \"application/xml\"\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"integrationAccountSchemaName\": \"IntegrationAccountSchema6810\"\r\n }\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "8700" - ], - "x-ms-client-request-id": [ - "34a1deaf-d490-4b7c-a31a-84314bd4fa08" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"schemaType\": \"Xml\",\r\n \"targetNamespace\": \"http://Inbound_EDI.OrderFile\",\r\n \"documentName\": \"OrderFile\",\r\n \"contentLink\": {\r\n \"uri\": \"https://flowprodcu27by01.blob.core.windows.net/integrationaccounts98df03340ab748fcb70672b1a4dc60bd/3839E_XML_INTEGRATIONACCOUNTSCHEMA6810-2515BF24D9534DB2907D3A00FAAFFB50?sv=2016-05-31&sr=b&sig=%2FmIVFTZLDf%2FYRchkR%2FahDPqmUdCUprWUxhgpdx2Vcic%3D&se=2017-03-02T01%3A56%3A11Z&sp=r\",\r\n \"contentVersion\": \"\\\"0x8D460EDC5BEBEEA\\\"\",\r\n \"contentSize\": 7901,\r\n \"contentHash\": {\r\n \"algorithm\": \"md5\",\r\n \"value\": \"a+4ZnOsIm8I/Mr0aKJIK6w==\"\r\n }\r\n },\r\n \"createdTime\": \"2017-03-01T21:56:11.0258827Z\",\r\n \"changedTime\": \"2017-03-01T21:56:11.0263552Z\",\r\n \"metadata\": \"IntegrationAccountSchema6810\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2919/schemas/IntegrationAccountSchema6810\",\r\n \"name\": \"IntegrationAccountSchema6810\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/schemas\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "954" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:56:10 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:e1515f0f-4f4e-411d-baea-bbc28311ae2c" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1197" - ], - "x-ms-correlation-request-id": [ - "bfd202c4-79fd-4018-ba50-fa3c8ac2039c" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215611Z:bfd202c4-79fd-4018-ba50-fa3c8ac2039c" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2919/schemas/IntegrationAccountSchema6810?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MjkxOS9zY2hlbWFzL0ludGVncmF0aW9uQWNjb3VudFNjaGVtYTY4MTA/YXBpLXZlcnNpb249MjAxNi0wNi0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "431b2e4e-444a-4ef4-8dcb-b6f5893935ca" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"schemaType\": \"Xml\",\r\n \"targetNamespace\": \"http://Inbound_EDI.OrderFile\",\r\n \"documentName\": \"OrderFile\",\r\n \"contentLink\": {\r\n \"uri\": \"https://flowprodcu27by01.blob.core.windows.net/integrationaccounts98df03340ab748fcb70672b1a4dc60bd/3839E_XML_INTEGRATIONACCOUNTSCHEMA6810-2515BF24D9534DB2907D3A00FAAFFB50?sv=2016-05-31&sr=b&sig=%2FmIVFTZLDf%2FYRchkR%2FahDPqmUdCUprWUxhgpdx2Vcic%3D&se=2017-03-02T01%3A56%3A11Z&sp=r\",\r\n \"contentVersion\": \"\\\"0x8D460EDC5BEBEEA\\\"\",\r\n \"contentSize\": 7901,\r\n \"contentHash\": {\r\n \"algorithm\": \"md5\",\r\n \"value\": \"a+4ZnOsIm8I/Mr0aKJIK6w==\"\r\n }\r\n },\r\n \"createdTime\": \"2017-03-01T21:56:11.0258827Z\",\r\n \"changedTime\": \"2017-03-01T21:56:11.0263552Z\",\r\n \"metadata\": \"IntegrationAccountSchema6810\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2919/schemas/IntegrationAccountSchema6810\",\r\n \"name\": \"IntegrationAccountSchema6810\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/schemas\"\r\n}", - "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:56:10 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], - "x-ms-request-id": [ - "westus:0f7efc64-4311-4178-ac7a-5841e003e358" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14503" - ], - "x-ms-correlation-request-id": [ - "e8ea07ca-7e0e-44c2-a8c5-ebca43128cf7" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215611Z:e8ea07ca-7e0e-44c2-a8c5-ebca43128cf7" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2919?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MjkxOT9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "4c3ed060-91e9-44a1-b65b-1f7ad6ae13be" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:56:11 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:f95f4294-e5fb-4a84-8929-26e690d5cd09" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1196" - ], - "x-ms-correlation-request-id": [ - "4224f843-cdd9-40df-a2fd-bdd2f6737f6d" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215611Z:4224f843-cdd9-40df-a2fd-bdd2f6737f6d" - ] - }, - "StatusCode": 200 - } - ], - "Names": { - "CreateAndGetIntegrationAccountSchema": [ - "IntegrationAccount2919", - "IntegrationAccountSchema6810" - ] - }, - "Variables": { - "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" - } -} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSchemaScenarioTests/CreateAndUpdateIntegrationAccountSchema.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSchemaScenarioTests/CreateAndUpdateIntegrationAccountSchema.json deleted file mode 100644 index de4a8b5da42e4..0000000000000 --- a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSchemaScenarioTests/CreateAndUpdateIntegrationAccountSchema.json +++ /dev/null @@ -1,252 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3325?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MzMyNT9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "91" - ], - "x-ms-client-request-id": [ - "982c850c-08e7-460f-b009-65c025700705" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3325\",\r\n \"name\": \"IntegrationAccount3325\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "290" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:56:13 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:33af48c4-07cb-4ba9-8675-76f4927a3600" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1199" - ], - "x-ms-correlation-request-id": [ - "c60149d3-9df2-4a65-9a74-eaf757dba9b2" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215614Z:c60149d3-9df2-4a65-9a74-eaf757dba9b2" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3325/schemas/IntegrationAccountSchema9405?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MzMyNS9zY2hlbWFzL0ludGVncmF0aW9uQWNjb3VudFNjaGVtYTk0MDU/YXBpLXZlcnNpb249MjAxNi0wNi0wMQ==", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"schemaType\": \"Xml\",\r\n \"metadata\": \"IntegrationAccountSchema9405\",\r\n \"content\": \"<?xml version=\\\"1.0\\\" encoding=\\\"utf-16\\\"?>\\r\\n<xs:schema xmlns:b=\\\"http://schemas.microsoft.com/BizTalk/2003\\\" xmlns=\\\"http://Inbound_EDI.OrderFile\\\" targetNamespace=\\\"http://Inbound_EDI.OrderFile\\\" xmlns:xs=\\\"http://www.w3.org/2001/XMLSchema\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:schemaInfo default_pad_char=\\\" \\\" count_positions_by_byte=\\\"false\\\" parser_optimization=\\\"speed\\\" lookahead_depth=\\\"3\\\" suppress_empty_nodes=\\\"false\\\" generate_empty_nodes=\\\"true\\\" allow_early_termination=\\\"false\\\" early_terminate_optional_fields=\\\"false\\\" allow_message_breakup_of_infix_root=\\\"false\\\" compile_parse_tables=\\\"false\\\" standard=\\\"Flat File\\\" root_reference=\\\"OrderFile\\\" />\\r\\n <schemaEditorExtension:schemaInfo namespaceAlias=\\\"b\\\" extensionClass=\\\"Microsoft.BizTalk.FlatFileExtension.FlatFileExtension\\\" standardName=\\\"Flat File\\\" xmlns:schemaEditorExtension=\\\"http://schemas.microsoft.com/BizTalk/2003/SchemaEditorExtensions\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"OrderFile\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" sequence_number=\\\"1\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"Order\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo sequence_number=\\\"1\\\" structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" child_delimiter_type=\\\"hex\\\" child_delimiter=\\\"0x0D 0x0A\\\" child_order=\\\"infix\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"Header\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo sequence_number=\\\"1\\\" structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" child_delimiter_type=\\\"char\\\" child_delimiter=\\\"|\\\" child_order=\\\"infix\\\" tag_name=\\\"HDR|\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"PODate\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"1\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"PONumber\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo justification=\\\"left\\\" sequence_number=\\\"2\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"CustomerID\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"3\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"CustomerContactName\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"4\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"CustomerContactPhone\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"5\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n <xs:element minOccurs=\\\"1\\\" maxOccurs=\\\"unbounded\\\" name=\\\"LineItems\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo sequence_number=\\\"2\\\" structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" child_delimiter_type=\\\"char\\\" child_delimiter=\\\"|\\\" child_order=\\\"infix\\\" tag_name=\\\"DTL|\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"PONumber\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"1\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"ItemOrdered\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"2\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"Quantity\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"3\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"UOM\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"4\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"Price\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"5\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"ExtendedPrice\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"6\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"Description\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"7\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n</xs:schema>\",\r\n \"contentType\": \"application/xml\"\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"integrationAccountSchemaName\": \"IntegrationAccountSchema9405\"\r\n }\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "8700" - ], - "x-ms-client-request-id": [ - "50cd317c-b961-409b-827b-d72654f39d55" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"schemaType\": \"Xml\",\r\n \"targetNamespace\": \"http://Inbound_EDI.OrderFile\",\r\n \"documentName\": \"OrderFile\",\r\n \"contentLink\": {\r\n \"uri\": \"https://flowprodcu10by01.blob.core.windows.net/integrationaccounts203057516dec490fb125ec581acd2bfb/3839E_XML_INTEGRATIONACCOUNTSCHEMA9405-CC7B1E381A8F43B38AF7DB535FB4644A?sv=2016-05-31&sr=b&sig=2YNwT55voVkGrG41d48fGNa4F%2BweX643%2B6Y1%2FTutLOw%3D&se=2017-03-02T01%3A56%3A15Z&sp=r\",\r\n \"contentVersion\": \"\\\"0x8D460EDC742E1CC\\\"\",\r\n \"contentSize\": 7901,\r\n \"contentHash\": {\r\n \"algorithm\": \"md5\",\r\n \"value\": \"a+4ZnOsIm8I/Mr0aKJIK6w==\"\r\n }\r\n },\r\n \"createdTime\": \"2017-03-01T21:56:15.0524269Z\",\r\n \"changedTime\": \"2017-03-01T21:56:15.053413Z\",\r\n \"metadata\": \"IntegrationAccountSchema9405\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3325/schemas/IntegrationAccountSchema9405\",\r\n \"name\": \"IntegrationAccountSchema9405\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/schemas\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "953" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:56:14 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:53050b7a-b841-41b3-9425-169ea0d9ae6a" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" - ], - "x-ms-correlation-request-id": [ - "94126b9d-ef79-4139-82e9-698c1892253b" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215615Z:94126b9d-ef79-4139-82e9-698c1892253b" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3325/schemas/IntegrationAccountSchema9405?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MzMyNS9zY2hlbWFzL0ludGVncmF0aW9uQWNjb3VudFNjaGVtYTk0MDU/YXBpLXZlcnNpb249MjAxNi0wNi0wMQ==", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"schemaType\": \"Xml\",\r\n \"content\": \"<?xml version=\\\"1.0\\\" encoding=\\\"utf-16\\\"?>\\r\\n<xs:schema xmlns:b=\\\"http://schemas.microsoft.com/BizTalk/2003\\\" xmlns=\\\"http://Inbound_EDI.OrderFile\\\" targetNamespace=\\\"http://Inbound_EDI.OrderFile\\\" xmlns:xs=\\\"http://www.w3.org/2001/XMLSchema\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:schemaInfo default_pad_char=\\\" \\\" count_positions_by_byte=\\\"false\\\" parser_optimization=\\\"speed\\\" lookahead_depth=\\\"3\\\" suppress_empty_nodes=\\\"false\\\" generate_empty_nodes=\\\"true\\\" allow_early_termination=\\\"false\\\" early_terminate_optional_fields=\\\"false\\\" allow_message_breakup_of_infix_root=\\\"false\\\" compile_parse_tables=\\\"false\\\" standard=\\\"Flat File\\\" root_reference=\\\"OrderFile\\\" />\\r\\n <schemaEditorExtension:schemaInfo namespaceAlias=\\\"b\\\" extensionClass=\\\"Microsoft.BizTalk.FlatFileExtension.FlatFileExtension\\\" standardName=\\\"Flat File\\\" xmlns:schemaEditorExtension=\\\"http://schemas.microsoft.com/BizTalk/2003/SchemaEditorExtensions\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"OrderFile\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" sequence_number=\\\"1\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"Order\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo sequence_number=\\\"1\\\" structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" child_delimiter_type=\\\"hex\\\" child_delimiter=\\\"0x0D 0x0A\\\" child_order=\\\"infix\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"Header\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo sequence_number=\\\"1\\\" structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" child_delimiter_type=\\\"char\\\" child_delimiter=\\\"|\\\" child_order=\\\"infix\\\" tag_name=\\\"HDR|\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"PODate\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"1\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"PONumber\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo justification=\\\"left\\\" sequence_number=\\\"2\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"CustomerID\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"3\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"CustomerContactName\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"4\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"CustomerContactPhone\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"5\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n <xs:element minOccurs=\\\"1\\\" maxOccurs=\\\"unbounded\\\" name=\\\"LineItems\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo sequence_number=\\\"2\\\" structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" child_delimiter_type=\\\"char\\\" child_delimiter=\\\"|\\\" child_order=\\\"infix\\\" tag_name=\\\"DTL|\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"PONumber\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"1\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"ItemOrdered\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"2\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"Quantity\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"3\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"UOM\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"4\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"Price\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"5\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"ExtendedPrice\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"6\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"Description\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"7\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n</xs:schema>\",\r\n \"contentType\": \"application/xml\"\r\n },\r\n \"location\": \"westus\"\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "8564" - ], - "x-ms-client-request-id": [ - "0966c932-aa3f-4b92-b8e1-9e4a31019c48" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"schemaType\": \"Xml\",\r\n \"targetNamespace\": \"http://Inbound_EDI.OrderFile\",\r\n \"documentName\": \"OrderFile\",\r\n \"contentLink\": {\r\n \"uri\": \"https://flowprodcu10by01.blob.core.windows.net/integrationaccounts203057516dec490fb125ec581acd2bfb/3839E_XML_INTEGRATIONACCOUNTSCHEMA9405-1844BD7EC20D44C5B9B6CA2E5C6856C6?sv=2016-05-31&sr=b&sig=q27bX9pgV2j6GJNJPuPDYWtKKyvL7E%2BrqfYsISqcMFQ%3D&se=2017-03-02T01%3A56%3A15Z&sp=r\",\r\n \"contentVersion\": \"\\\"0x8D460EDC7570B07\\\"\",\r\n \"contentSize\": 7901,\r\n \"contentHash\": {\r\n \"algorithm\": \"md5\",\r\n \"value\": \"a+4ZnOsIm8I/Mr0aKJIK6w==\"\r\n }\r\n },\r\n \"createdTime\": \"2017-03-01T21:56:15.0524269Z\",\r\n \"changedTime\": \"2017-03-01T21:56:15.1914858Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3325/schemas/IntegrationAccountSchema9405\",\r\n \"name\": \"IntegrationAccountSchema9405\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/schemas\"\r\n}", - "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:56:14 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], - "x-ms-request-id": [ - "westus:55be607f-c4c7-4f9f-bea2-c0b0cca998a8" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1197" - ], - "x-ms-correlation-request-id": [ - "9788c3ab-fa31-4ca8-ac02-7db936fa6190" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215615Z:9788c3ab-fa31-4ca8-ac02-7db936fa6190" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3325?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MzMyNT9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "e08ad3f6-a788-4508-9c6e-b39257c1fe75" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:56:15 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:f698afd5-d93c-49f8-8e44-bcc80a9c643a" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1196" - ], - "x-ms-correlation-request-id": [ - "55b82cc1-0179-4d9d-89f9-0c0419fe7be6" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215616Z:55b82cc1-0179-4d9d-89f9-0c0419fe7be6" - ] - }, - "StatusCode": 200 - } - ], - "Names": { - "CreateAndUpdateIntegrationAccountSchema": [ - "IntegrationAccount3325", - "IntegrationAccountSchema9405" - ] - }, - "Variables": { - "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" - } -} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSchemaScenarioTests/DeleteIntegrationAccountSchemaOnAccountDeletion.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSchemaScenarioTests/DeleteIntegrationAccountSchemaOnAccountDeletion.json deleted file mode 100644 index 77be5ca713089..0000000000000 --- a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSchemaScenarioTests/DeleteIntegrationAccountSchemaOnAccountDeletion.json +++ /dev/null @@ -1,242 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3941?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50Mzk0MT9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "91" - ], - "x-ms-client-request-id": [ - "785fdc75-c8e7-46d1-bcdb-7161f5b2f544" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3941\",\r\n \"name\": \"IntegrationAccount3941\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "290" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:56:22 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:8ba8a5d8-81e6-46c6-b5dc-ef4ac17b55a3" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1199" - ], - "x-ms-correlation-request-id": [ - "9c2ba9ba-67d8-4b82-9ea6-bc59c95c5605" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215623Z:9c2ba9ba-67d8-4b82-9ea6-bc59c95c5605" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3941/schemas/IntegrationAccountSchema470?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50Mzk0MS9zY2hlbWFzL0ludGVncmF0aW9uQWNjb3VudFNjaGVtYTQ3MD9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"schemaType\": \"Xml\",\r\n \"metadata\": \"IntegrationAccountSchema470\",\r\n \"content\": \"<?xml version=\\\"1.0\\\" encoding=\\\"utf-16\\\"?>\\r\\n<xs:schema xmlns:b=\\\"http://schemas.microsoft.com/BizTalk/2003\\\" xmlns=\\\"http://Inbound_EDI.OrderFile\\\" targetNamespace=\\\"http://Inbound_EDI.OrderFile\\\" xmlns:xs=\\\"http://www.w3.org/2001/XMLSchema\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:schemaInfo default_pad_char=\\\" \\\" count_positions_by_byte=\\\"false\\\" parser_optimization=\\\"speed\\\" lookahead_depth=\\\"3\\\" suppress_empty_nodes=\\\"false\\\" generate_empty_nodes=\\\"true\\\" allow_early_termination=\\\"false\\\" early_terminate_optional_fields=\\\"false\\\" allow_message_breakup_of_infix_root=\\\"false\\\" compile_parse_tables=\\\"false\\\" standard=\\\"Flat File\\\" root_reference=\\\"OrderFile\\\" />\\r\\n <schemaEditorExtension:schemaInfo namespaceAlias=\\\"b\\\" extensionClass=\\\"Microsoft.BizTalk.FlatFileExtension.FlatFileExtension\\\" standardName=\\\"Flat File\\\" xmlns:schemaEditorExtension=\\\"http://schemas.microsoft.com/BizTalk/2003/SchemaEditorExtensions\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"OrderFile\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" sequence_number=\\\"1\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"Order\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo sequence_number=\\\"1\\\" structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" child_delimiter_type=\\\"hex\\\" child_delimiter=\\\"0x0D 0x0A\\\" child_order=\\\"infix\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"Header\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo sequence_number=\\\"1\\\" structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" child_delimiter_type=\\\"char\\\" child_delimiter=\\\"|\\\" child_order=\\\"infix\\\" tag_name=\\\"HDR|\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"PODate\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"1\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"PONumber\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo justification=\\\"left\\\" sequence_number=\\\"2\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"CustomerID\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"3\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"CustomerContactName\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"4\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"CustomerContactPhone\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"5\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n <xs:element minOccurs=\\\"1\\\" maxOccurs=\\\"unbounded\\\" name=\\\"LineItems\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo sequence_number=\\\"2\\\" structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" child_delimiter_type=\\\"char\\\" child_delimiter=\\\"|\\\" child_order=\\\"infix\\\" tag_name=\\\"DTL|\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"PONumber\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"1\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"ItemOrdered\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"2\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"Quantity\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"3\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"UOM\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"4\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"Price\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"5\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"ExtendedPrice\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"6\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"Description\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"7\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n</xs:schema>\",\r\n \"contentType\": \"application/xml\"\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"integrationAccountSchemaName\": \"IntegrationAccountSchema470\"\r\n }\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "8698" - ], - "x-ms-client-request-id": [ - "3c81b3ca-418b-460e-9e8a-739574edc1b6" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"schemaType\": \"Xml\",\r\n \"targetNamespace\": \"http://Inbound_EDI.OrderFile\",\r\n \"documentName\": \"OrderFile\",\r\n \"contentLink\": {\r\n \"uri\": \"https://flowprodcu31by01.blob.core.windows.net/integrationaccounts95c50c15af974023b22c9b4612b2f335/3839E_XML_INTEGRATIONACCOUNTSCHEMA470-0E624D12BD6F4F58B8A6BC7235D9B885?sv=2016-05-31&sr=b&sig=b6IcMx%2B3mMWTZSdxbKlWbDGmU%2FJBU9BcHFMQsKmQeTQ%3D&se=2017-03-02T01%3A56%3A24Z&sp=r\",\r\n \"contentVersion\": \"\\\"0x8D460EDCD7804C8\\\"\",\r\n \"contentSize\": 7901,\r\n \"contentHash\": {\r\n \"algorithm\": \"md5\",\r\n \"value\": \"a+4ZnOsIm8I/Mr0aKJIK6w==\"\r\n }\r\n },\r\n \"createdTime\": \"2017-03-01T21:56:23.9808393Z\",\r\n \"changedTime\": \"2017-03-01T21:56:23.9810562Z\",\r\n \"metadata\": \"IntegrationAccountSchema470\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3941/schemas/IntegrationAccountSchema470\",\r\n \"name\": \"IntegrationAccountSchema470\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/schemas\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "948" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:56:23 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:ad50be85-a414-4dc5-915a-ea21886d1d01" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" - ], - "x-ms-correlation-request-id": [ - "867a8123-2591-48d2-8f61-2ee03b4d999d" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215623Z:867a8123-2591-48d2-8f61-2ee03b4d999d" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3941?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50Mzk0MT9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "dce23229-2831-47b7-9a67-8d2b6aab3dc6" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:56:23 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:f1dcf43d-5155-41b1-b1f4-3a1d8245440c" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1197" - ], - "x-ms-correlation-request-id": [ - "6edcd60d-d306-470b-be50-7d8e39d18222" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215624Z:6edcd60d-d306-470b-be50-7d8e39d18222" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3941/schemas/IntegrationAccountSchema470?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50Mzk0MS9zY2hlbWFzL0ludGVncmF0aW9uQWNjb3VudFNjaGVtYTQ3MD9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "c9171080-f441-4b82-86ba-7b89d58d90af" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Logic/integrationAccounts/IntegrationAccount3941' under resource group 'flowrg' was not found.\"\r\n }\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "168" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:56:24 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-failure-cause": [ - "gateway" - ], - "x-ms-request-id": [ - "344f45e8-648b-48dd-8467-45e596136de2" - ], - "x-ms-correlation-request-id": [ - "344f45e8-648b-48dd-8467-45e596136de2" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215624Z:344f45e8-648b-48dd-8467-45e596136de2" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ] - }, - "StatusCode": 404 - } - ], - "Names": { - "DeleteIntegrationAccountSchemaOnAccountDeletion": [ - "IntegrationAccount3941", - "IntegrationAccountSchema470" - ] - }, - "Variables": { - "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" - } -} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSchemaScenarioTests/IntegrationAccountSchemas_Create_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSchemaScenarioTests/IntegrationAccountSchemas_Create_OK.json new file mode 100644 index 0000000000000..b1be2eab98ac8 --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSchemaScenarioTests/IntegrationAccountSchemas_Create_OK.json @@ -0,0 +1,312 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "5474f56e-3ac6-47a8-a349-01d3836af318" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:49 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11986" + ], + "x-ms-request-id": [ + "55eb1345-fa1b-404e-b115-5ef577c4f4f0" + ], + "x-ms-correlation-request-id": [ + "55eb1345-fa1b-404e-b115-5ef577c4f4f0" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225350Z:55eb1345-fa1b-404e-b115-5ef577c4f4f0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "28c3e401-b430-4caf-892e-2364209f1b89" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:49 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19997" + ], + "x-ms-request-id": [ + "a67c3289-527a-4828-9418-ee9d496a8b68" + ], + "x-ms-correlation-request-id": [ + "a67c3289-527a-4828-9418-ee9d496a8b68" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225350Z:a67c3289-527a-4828-9418-ee9d496a8b68" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3593?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MzU5Mz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "291d6df0-c151-4eb6-bab2-0f76bfa8a1a5" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:50 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:e679c7f1-0561-4f60-801b-ce3743b815d5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "92e372c3-6347-442b-999f-32cd21409762" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225350Z:92e372c3-6347-442b-999f-32cd21409762" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "307" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3593\",\r\n \"name\": \"IntegrationAccount3593\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3593/schemas/IntegrationAccountSchema5430?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MzU5My9zY2hlbWFzL0ludGVncmF0aW9uQWNjb3VudFNjaGVtYTU0MzA/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"schemaType\": \"Xml\",\r\n \"targetNamespace\": \"http://Inbound_EDI.OrderFile\",\r\n \"content\": \"<?xml version=\\\"1.0\\\" encoding=\\\"utf-16\\\"?>\\r\\n<xs:schema xmlns:b=\\\"http://schemas.microsoft.com/BizTalk/2003\\\" xmlns=\\\"http://Inbound_EDI.OrderFile\\\" targetNamespace=\\\"http://Inbound_EDI.OrderFile\\\" xmlns:xs=\\\"http://www.w3.org/2001/XMLSchema\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:schemaInfo default_pad_char=\\\" \\\" count_positions_by_byte=\\\"false\\\" parser_optimization=\\\"speed\\\" lookahead_depth=\\\"3\\\" suppress_empty_nodes=\\\"false\\\" generate_empty_nodes=\\\"true\\\" allow_early_termination=\\\"false\\\" early_terminate_optional_fields=\\\"false\\\" allow_message_breakup_of_infix_root=\\\"false\\\" compile_parse_tables=\\\"false\\\" standard=\\\"Flat File\\\" root_reference=\\\"OrderFile\\\" />\\r\\n <schemaEditorExtension:schemaInfo namespaceAlias=\\\"b\\\" extensionClass=\\\"Microsoft.BizTalk.FlatFileExtension.FlatFileExtension\\\" standardName=\\\"Flat File\\\" xmlns:schemaEditorExtension=\\\"http://schemas.microsoft.com/BizTalk/2003/SchemaEditorExtensions\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"OrderFile\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" sequence_number=\\\"1\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"Order\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo sequence_number=\\\"1\\\" structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" child_delimiter_type=\\\"hex\\\" child_delimiter=\\\"0x0D 0x0A\\\" child_order=\\\"infix\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"Header\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo sequence_number=\\\"1\\\" structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" child_delimiter_type=\\\"char\\\" child_delimiter=\\\"|\\\" child_order=\\\"infix\\\" tag_name=\\\"HDR|\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"PODate\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"1\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"PONumber\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo justification=\\\"left\\\" sequence_number=\\\"2\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"CustomerID\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"3\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"CustomerContactName\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"4\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"CustomerContactPhone\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"5\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n <xs:element minOccurs=\\\"1\\\" maxOccurs=\\\"unbounded\\\" name=\\\"LineItems\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo sequence_number=\\\"2\\\" structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" child_delimiter_type=\\\"char\\\" child_delimiter=\\\"|\\\" child_order=\\\"infix\\\" tag_name=\\\"DTL|\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"PONumber\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"1\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"ItemOrdered\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"2\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"Quantity\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"3\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"UOM\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"4\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"Price\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"5\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"ExtendedPrice\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"6\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"Description\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"7\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n</xs:schema>\",\r\n \"contentType\": \"application/xml\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "edacf477-d5ca-41fd-aa13-ac28d145c1a3" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "8620" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:50 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:2f9c5d5e-c8c2-44a2-8cf0-cbc5a30143b1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-correlation-request-id": [ + "485d663a-3fb9-48f4-a456-e9dbb4a3eb0b" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225351Z:485d663a-3fb9-48f4-a456-e9dbb4a3eb0b" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "843" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"schemaType\": \"Xml\",\r\n \"targetNamespace\": \"http://Inbound_EDI.OrderFile\",\r\n \"documentName\": \"OrderFile\",\r\n \"contentLink\": {\r\n \"uri\": \"https://prod-79.westus.logic.azure.com:443/integrationAccounts/4312aa39a7c4415888e830cba503cb05/schemas/IntegrationAccountSchema5430/contents/Value?api-version=2015-08-01-preview&se=2018-09-20T02%3A53%3A51.6254855Z&sp=%2Fschemas%2FIntegrationAccountSchema5430%2Fread&sv=1.0&sig=cREEReD7f3_ZJug5SY4H2WgCYvG568P20FKVRXPE9mc\",\r\n \"contentSize\": 7901\r\n },\r\n \"createdTime\": \"2018-09-19T22:53:51.566703Z\",\r\n \"changedTime\": \"2018-09-19T22:53:51.5670963Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3593/schemas/IntegrationAccountSchema5430\",\r\n \"name\": \"IntegrationAccountSchema5430\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/schemas\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3593?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MzU5Mz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "7e8f116a-6be7-44a1-8ac9-878bbf8c24bf" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:51 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:95175ca5-e06e-448c-bbce-0f25ecc1c3cd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "d0578c71-b0e5-467b-9bc0-1a867e5d6b34" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225352Z:d0578c71-b0e5-467b-9bc0-1a867e5d6b34" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "IntegrationAccountSchemas_Create_OK": [ + "IntegrationAccount3593", + "IntegrationAccountSchema5430" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSchemaScenarioTests/IntegrationAccountSchemas_DeleteWhenDeleteIntegrationAccount_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSchemaScenarioTests/IntegrationAccountSchemas_DeleteWhenDeleteIntegrationAccount_OK.json new file mode 100644 index 0000000000000..1ab281ecaaf5c --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSchemaScenarioTests/IntegrationAccountSchemas_DeleteWhenDeleteIntegrationAccount_OK.json @@ -0,0 +1,370 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "3ef93156-d3cb-4167-8f88-8d887b5b462d" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:40 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-request-id": [ + "4ab08f75-ec81-4edc-bd47-96036742a7f8" + ], + "x-ms-correlation-request-id": [ + "4ab08f75-ec81-4edc-bd47-96036742a7f8" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225340Z:4ab08f75-ec81-4edc-bd47-96036742a7f8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "918b338a-cf39-49b2-ba8a-9f3d21f7afd6" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:40 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19997" + ], + "x-ms-request-id": [ + "279dfa17-099c-49a3-9a56-15d575d98735" + ], + "x-ms-correlation-request-id": [ + "279dfa17-099c-49a3-9a56-15d575d98735" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225340Z:279dfa17-099c-49a3-9a56-15d575d98735" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7107?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NzEwNz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "abaa5ef8-3852-41ac-b02a-84174a66e1f4" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:41 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:685f3e63-46cf-4df5-87ec-58cf6e7fd349" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-correlation-request-id": [ + "cdaa3c80-3334-4f28-bf76-6283199d2e1d" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225341Z:cdaa3c80-3334-4f28-bf76-6283199d2e1d" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "307" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7107\",\r\n \"name\": \"IntegrationAccount7107\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7107/schemas/IntegrationAccountSchema7635?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NzEwNy9zY2hlbWFzL0ludGVncmF0aW9uQWNjb3VudFNjaGVtYTc2MzU/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"schemaType\": \"Xml\",\r\n \"targetNamespace\": \"http://Inbound_EDI.OrderFile\",\r\n \"content\": \"<?xml version=\\\"1.0\\\" encoding=\\\"utf-16\\\"?>\\r\\n<xs:schema xmlns:b=\\\"http://schemas.microsoft.com/BizTalk/2003\\\" xmlns=\\\"http://Inbound_EDI.OrderFile\\\" targetNamespace=\\\"http://Inbound_EDI.OrderFile\\\" xmlns:xs=\\\"http://www.w3.org/2001/XMLSchema\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:schemaInfo default_pad_char=\\\" \\\" count_positions_by_byte=\\\"false\\\" parser_optimization=\\\"speed\\\" lookahead_depth=\\\"3\\\" suppress_empty_nodes=\\\"false\\\" generate_empty_nodes=\\\"true\\\" allow_early_termination=\\\"false\\\" early_terminate_optional_fields=\\\"false\\\" allow_message_breakup_of_infix_root=\\\"false\\\" compile_parse_tables=\\\"false\\\" standard=\\\"Flat File\\\" root_reference=\\\"OrderFile\\\" />\\r\\n <schemaEditorExtension:schemaInfo namespaceAlias=\\\"b\\\" extensionClass=\\\"Microsoft.BizTalk.FlatFileExtension.FlatFileExtension\\\" standardName=\\\"Flat File\\\" xmlns:schemaEditorExtension=\\\"http://schemas.microsoft.com/BizTalk/2003/SchemaEditorExtensions\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"OrderFile\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" sequence_number=\\\"1\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"Order\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo sequence_number=\\\"1\\\" structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" child_delimiter_type=\\\"hex\\\" child_delimiter=\\\"0x0D 0x0A\\\" child_order=\\\"infix\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"Header\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo sequence_number=\\\"1\\\" structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" child_delimiter_type=\\\"char\\\" child_delimiter=\\\"|\\\" child_order=\\\"infix\\\" tag_name=\\\"HDR|\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"PODate\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"1\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"PONumber\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo justification=\\\"left\\\" sequence_number=\\\"2\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"CustomerID\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"3\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"CustomerContactName\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"4\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"CustomerContactPhone\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"5\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n <xs:element minOccurs=\\\"1\\\" maxOccurs=\\\"unbounded\\\" name=\\\"LineItems\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo sequence_number=\\\"2\\\" structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" child_delimiter_type=\\\"char\\\" child_delimiter=\\\"|\\\" child_order=\\\"infix\\\" tag_name=\\\"DTL|\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"PONumber\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"1\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"ItemOrdered\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"2\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"Quantity\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"3\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"UOM\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"4\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"Price\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"5\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"ExtendedPrice\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"6\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"Description\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"7\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n</xs:schema>\",\r\n \"contentType\": \"application/xml\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "14c9570c-0406-4b77-b300-e6555959dcec" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "8620" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:42 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:fbb5aa3d-f873-4123-9080-dbdfee017f73" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-correlation-request-id": [ + "0a15e5b8-6dba-4c65-8f6b-184fb737a846" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225342Z:0a15e5b8-6dba-4c65-8f6b-184fb737a846" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "844" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"schemaType\": \"Xml\",\r\n \"targetNamespace\": \"http://Inbound_EDI.OrderFile\",\r\n \"documentName\": \"OrderFile\",\r\n \"contentLink\": {\r\n \"uri\": \"https://prod-60.westus.logic.azure.com:443/integrationAccounts/b98364c48a6d45faa7e7ad45574b486e/schemas/IntegrationAccountSchema7635/contents/Value?api-version=2015-08-01-preview&se=2018-09-20T02%3A53%3A42.4614620Z&sp=%2Fschemas%2FIntegrationAccountSchema7635%2Fread&sv=1.0&sig=X3AB_iokft4u3FV8SNgWKhwJ5GO1Y0xVf_IvUJObrdw\",\r\n \"contentSize\": 7901\r\n },\r\n \"createdTime\": \"2018-09-19T22:53:42.3856867Z\",\r\n \"changedTime\": \"2018-09-19T22:53:42.3859843Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7107/schemas/IntegrationAccountSchema7635\",\r\n \"name\": \"IntegrationAccountSchema7635\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/schemas\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7107?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NzEwNz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "b71d64fa-4835-44aa-bcac-461289944d6f" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:42 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:491aa23e-db36-414a-9ba8-9ae3e0311030" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14997" + ], + "x-ms-correlation-request-id": [ + "151908fb-178f-43e8-8395-ec3d3d476212" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225343Z:151908fb-178f-43e8-8395-ec3d3d476212" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7107/schemas/IntegrationAccountSchema7635?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NzEwNy9zY2hlbWFzL0ludGVncmF0aW9uQWNjb3VudFNjaGVtYTc2MzU/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "fc15f837-50cd-48f4-b2bc-de77916077c7" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:42 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "d7c28f4a-e6da-49b0-9e53-27206a317af5" + ], + "x-ms-correlation-request-id": [ + "d7c28f4a-e6da-49b0-9e53-27206a317af5" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225343Z:d7c28f4a-e6da-49b0-9e53-27206a317af5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "168" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Logic/integrationAccounts/IntegrationAccount7107' under resource group 'flowrg' was not found.\"\r\n }\r\n}", + "StatusCode": 404 + } + ], + "Names": { + "IntegrationAccountSchemas_DeleteWhenDeleteIntegrationAccount_OK": [ + "IntegrationAccount7107", + "IntegrationAccountSchema7635" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSchemaScenarioTests/IntegrationAccountSchemas_Delete_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSchemaScenarioTests/IntegrationAccountSchemas_Delete_OK.json new file mode 100644 index 0000000000000..24d2fb031353a --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSchemaScenarioTests/IntegrationAccountSchemas_Delete_OK.json @@ -0,0 +1,425 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "a0dcad62-1502-420d-b967-f4ab659679ba" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:54:08 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-request-id": [ + "614dc515-bb9f-442d-8d9b-75831615c05e" + ], + "x-ms-correlation-request-id": [ + "614dc515-bb9f-442d-8d9b-75831615c05e" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225409Z:614dc515-bb9f-442d-8d9b-75831615c05e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "339aca35-1015-4b3e-8c1d-3cb222bec7bb" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:54:08 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19990" + ], + "x-ms-request-id": [ + "28d855cd-7521-488b-a269-d4bc5c7f61b3" + ], + "x-ms-correlation-request-id": [ + "28d855cd-7521-488b-a269-d4bc5c7f61b3" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225409Z:28d855cd-7521-488b-a269-d4bc5c7f61b3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3018?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MzAxOD9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "d1dcacab-32c5-4692-a81d-bda97e83d903" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:54:09 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:552e8d26-52db-4681-9ddc-108ea944a4c2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1190" + ], + "x-ms-correlation-request-id": [ + "68c36983-93a0-408f-92fa-4fda0c7c3502" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225409Z:68c36983-93a0-408f-92fa-4fda0c7c3502" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "307" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3018\",\r\n \"name\": \"IntegrationAccount3018\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3018/schemas/IntegrationAccountSchema9290?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MzAxOC9zY2hlbWFzL0ludGVncmF0aW9uQWNjb3VudFNjaGVtYTkyOTA/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"schemaType\": \"Xml\",\r\n \"targetNamespace\": \"http://Inbound_EDI.OrderFile\",\r\n \"content\": \"<?xml version=\\\"1.0\\\" encoding=\\\"utf-16\\\"?>\\r\\n<xs:schema xmlns:b=\\\"http://schemas.microsoft.com/BizTalk/2003\\\" xmlns=\\\"http://Inbound_EDI.OrderFile\\\" targetNamespace=\\\"http://Inbound_EDI.OrderFile\\\" xmlns:xs=\\\"http://www.w3.org/2001/XMLSchema\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:schemaInfo default_pad_char=\\\" \\\" count_positions_by_byte=\\\"false\\\" parser_optimization=\\\"speed\\\" lookahead_depth=\\\"3\\\" suppress_empty_nodes=\\\"false\\\" generate_empty_nodes=\\\"true\\\" allow_early_termination=\\\"false\\\" early_terminate_optional_fields=\\\"false\\\" allow_message_breakup_of_infix_root=\\\"false\\\" compile_parse_tables=\\\"false\\\" standard=\\\"Flat File\\\" root_reference=\\\"OrderFile\\\" />\\r\\n <schemaEditorExtension:schemaInfo namespaceAlias=\\\"b\\\" extensionClass=\\\"Microsoft.BizTalk.FlatFileExtension.FlatFileExtension\\\" standardName=\\\"Flat File\\\" xmlns:schemaEditorExtension=\\\"http://schemas.microsoft.com/BizTalk/2003/SchemaEditorExtensions\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"OrderFile\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" sequence_number=\\\"1\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"Order\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo sequence_number=\\\"1\\\" structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" child_delimiter_type=\\\"hex\\\" child_delimiter=\\\"0x0D 0x0A\\\" child_order=\\\"infix\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"Header\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo sequence_number=\\\"1\\\" structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" child_delimiter_type=\\\"char\\\" child_delimiter=\\\"|\\\" child_order=\\\"infix\\\" tag_name=\\\"HDR|\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"PODate\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"1\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"PONumber\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo justification=\\\"left\\\" sequence_number=\\\"2\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"CustomerID\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"3\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"CustomerContactName\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"4\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"CustomerContactPhone\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"5\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n <xs:element minOccurs=\\\"1\\\" maxOccurs=\\\"unbounded\\\" name=\\\"LineItems\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo sequence_number=\\\"2\\\" structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" child_delimiter_type=\\\"char\\\" child_delimiter=\\\"|\\\" child_order=\\\"infix\\\" tag_name=\\\"DTL|\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"PONumber\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"1\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"ItemOrdered\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"2\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"Quantity\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"3\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"UOM\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"4\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"Price\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"5\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"ExtendedPrice\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"6\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"Description\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"7\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n</xs:schema>\",\r\n \"contentType\": \"application/xml\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "ab70d6a1-da3e-4511-ba98-5995441b6895" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "8620" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:54:09 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:7a58baf3-1d0a-4311-8056-3e163cecca7f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1189" + ], + "x-ms-correlation-request-id": [ + "020a34cc-92cb-4095-a417-fb4e0660eeb4" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225410Z:020a34cc-92cb-4095-a417-fb4e0660eeb4" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "844" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"schemaType\": \"Xml\",\r\n \"targetNamespace\": \"http://Inbound_EDI.OrderFile\",\r\n \"documentName\": \"OrderFile\",\r\n \"contentLink\": {\r\n \"uri\": \"https://prod-81.westus.logic.azure.com:443/integrationAccounts/34e5d25357b242daa4fbcf03f2499760/schemas/IntegrationAccountSchema9290/contents/Value?api-version=2015-08-01-preview&se=2018-09-20T02%3A54%3A10.1195125Z&sp=%2Fschemas%2FIntegrationAccountSchema9290%2Fread&sv=1.0&sig=ZbIAw7-PM5x8oOfNwFNixxeJ9OwP9JB24W0xXCf0I8w\",\r\n \"contentSize\": 7901\r\n },\r\n \"createdTime\": \"2018-09-19T22:54:10.0786702Z\",\r\n \"changedTime\": \"2018-09-19T22:54:10.0787912Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3018/schemas/IntegrationAccountSchema9290\",\r\n \"name\": \"IntegrationAccountSchema9290\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/schemas\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3018/schemas/IntegrationAccountSchema9290?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MzAxOC9zY2hlbWFzL0ludGVncmF0aW9uQWNjb3VudFNjaGVtYTkyOTA/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "270959cc-1a24-4504-ab28-369a647a078c" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:54:09 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:6c96d89c-ee6a-4d98-ab0f-b1840b86b0fd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14996" + ], + "x-ms-correlation-request-id": [ + "9a0c58bc-739d-4eaa-944f-6b8f9994b471" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225410Z:9a0c58bc-739d-4eaa-944f-6b8f9994b471" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3018/schemas/IntegrationAccountSchema9290?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MzAxOC9zY2hlbWFzL0ludGVncmF0aW9uQWNjb3VudFNjaGVtYTkyOTA/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "a990aaef-43e6-4585-9563-c35f17bb2a9c" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:54:09 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:1bdfffb6-3690-4c5f-a5ae-8f7e022f08ff" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "x-ms-correlation-request-id": [ + "3d758b0c-453b-4d41-ab5c-2544c2d44be7" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225410Z:3d758b0c-453b-4d41-ab5c-2544c2d44be7" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "157" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"SchemaNotFound\",\r\n \"message\": \"The schema 'IntegrationAccountSchema9290' could not be found in integration account 'IntegrationAccount3018'.\"\r\n }\r\n}", + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount3018?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MzAxOD9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "68a6ad91-60a6-4ef4-94a6-8a13ba48423c" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:54:10 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:598cd546-4442-478b-8972-537f4a9eef29" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14995" + ], + "x-ms-correlation-request-id": [ + "7063143a-0c19-4f51-bf8e-c38abe780743" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225411Z:7063143a-0c19-4f51-bf8e-c38abe780743" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "IntegrationAccountSchemas_Delete_OK": [ + "IntegrationAccount3018", + "IntegrationAccountSchema9290" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSchemaScenarioTests/IntegrationAccountSchemas_Get_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSchemaScenarioTests/IntegrationAccountSchemas_Get_OK.json new file mode 100644 index 0000000000000..6d029bae5908d --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSchemaScenarioTests/IntegrationAccountSchemas_Get_OK.json @@ -0,0 +1,373 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "5892cb47-4f33-40b7-8be0-bc72e4c8a0a4" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:59 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-request-id": [ + "22948345-36c9-4955-bf68-e75d1f468212" + ], + "x-ms-correlation-request-id": [ + "22948345-36c9-4955-bf68-e75d1f468212" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225400Z:22948345-36c9-4955-bf68-e75d1f468212" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "23561bdd-f4df-4353-b59e-e753f9ea960e" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:59 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19998" + ], + "x-ms-request-id": [ + "7710597f-7fa2-4398-ad89-12e1cbe13065" + ], + "x-ms-correlation-request-id": [ + "7710597f-7fa2-4398-ad89-12e1cbe13065" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225400Z:7710597f-7fa2-4398-ad89-12e1cbe13065" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount651?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NjUxP2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "11c46284-7b62-41ec-9111-6f93f492246f" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:54:00 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:ddad549c-dcd4-4711-9acc-5957c4885480" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "238bd13c-8fa0-43e4-94c9-87d9921be039" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225400Z:238bd13c-8fa0-43e4-94c9-87d9921be039" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "305" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount651\",\r\n \"name\": \"IntegrationAccount651\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount651/schemas/IntegrationAccountSchema3039?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NjUxL3NjaGVtYXMvSW50ZWdyYXRpb25BY2NvdW50U2NoZW1hMzAzOT9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"schemaType\": \"Xml\",\r\n \"targetNamespace\": \"http://Inbound_EDI.OrderFile\",\r\n \"content\": \"<?xml version=\\\"1.0\\\" encoding=\\\"utf-16\\\"?>\\r\\n<xs:schema xmlns:b=\\\"http://schemas.microsoft.com/BizTalk/2003\\\" xmlns=\\\"http://Inbound_EDI.OrderFile\\\" targetNamespace=\\\"http://Inbound_EDI.OrderFile\\\" xmlns:xs=\\\"http://www.w3.org/2001/XMLSchema\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:schemaInfo default_pad_char=\\\" \\\" count_positions_by_byte=\\\"false\\\" parser_optimization=\\\"speed\\\" lookahead_depth=\\\"3\\\" suppress_empty_nodes=\\\"false\\\" generate_empty_nodes=\\\"true\\\" allow_early_termination=\\\"false\\\" early_terminate_optional_fields=\\\"false\\\" allow_message_breakup_of_infix_root=\\\"false\\\" compile_parse_tables=\\\"false\\\" standard=\\\"Flat File\\\" root_reference=\\\"OrderFile\\\" />\\r\\n <schemaEditorExtension:schemaInfo namespaceAlias=\\\"b\\\" extensionClass=\\\"Microsoft.BizTalk.FlatFileExtension.FlatFileExtension\\\" standardName=\\\"Flat File\\\" xmlns:schemaEditorExtension=\\\"http://schemas.microsoft.com/BizTalk/2003/SchemaEditorExtensions\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"OrderFile\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" sequence_number=\\\"1\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"Order\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo sequence_number=\\\"1\\\" structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" child_delimiter_type=\\\"hex\\\" child_delimiter=\\\"0x0D 0x0A\\\" child_order=\\\"infix\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"Header\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo sequence_number=\\\"1\\\" structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" child_delimiter_type=\\\"char\\\" child_delimiter=\\\"|\\\" child_order=\\\"infix\\\" tag_name=\\\"HDR|\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"PODate\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"1\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"PONumber\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo justification=\\\"left\\\" sequence_number=\\\"2\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"CustomerID\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"3\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"CustomerContactName\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"4\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"CustomerContactPhone\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"5\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n <xs:element minOccurs=\\\"1\\\" maxOccurs=\\\"unbounded\\\" name=\\\"LineItems\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo sequence_number=\\\"2\\\" structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" child_delimiter_type=\\\"char\\\" child_delimiter=\\\"|\\\" child_order=\\\"infix\\\" tag_name=\\\"DTL|\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"PONumber\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"1\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"ItemOrdered\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"2\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"Quantity\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"3\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"UOM\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"4\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"Price\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"5\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"ExtendedPrice\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"6\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"Description\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"7\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n</xs:schema>\",\r\n \"contentType\": \"application/xml\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "50f7b341-1171-4bac-b08d-e8cc0f781563" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "8620" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:54:00 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:89922cc4-83f8-4b4c-ba9f-f62041d830a6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-correlation-request-id": [ + "c6a4fa63-44d3-49cf-9c0b-24d9afe05a6a" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225401Z:c6a4fa63-44d3-49cf-9c0b-24d9afe05a6a" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "843" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"schemaType\": \"Xml\",\r\n \"targetNamespace\": \"http://Inbound_EDI.OrderFile\",\r\n \"documentName\": \"OrderFile\",\r\n \"contentLink\": {\r\n \"uri\": \"https://prod-51.westus.logic.azure.com:443/integrationAccounts/8084e2eb080d4ad7910490682972422f/schemas/IntegrationAccountSchema3039/contents/Value?api-version=2015-08-01-preview&se=2018-09-20T02%3A54%3A01.5265270Z&sp=%2Fschemas%2FIntegrationAccountSchema3039%2Fread&sv=1.0&sig=VTsj0AQEfAC0kNJWQ5gm1GQ4Su3C5qftGncyzaLv4qE\",\r\n \"contentSize\": 7901\r\n },\r\n \"createdTime\": \"2018-09-19T22:54:01.3516811Z\",\r\n \"changedTime\": \"2018-09-19T22:54:01.3521926Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount651/schemas/IntegrationAccountSchema3039\",\r\n \"name\": \"IntegrationAccountSchema3039\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/schemas\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount651/schemas/IntegrationAccountSchema3039?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NjUxL3NjaGVtYXMvSW50ZWdyYXRpb25BY2NvdW50U2NoZW1hMzAzOT9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "10024fac-83bc-4b22-a61d-537b902e13bb" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:54:00 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:7c6d61d5-c96b-41c6-b6ea-c074e711be7e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-correlation-request-id": [ + "a1f2750c-39cc-499c-af19-88940b24ecc8" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225401Z:a1f2750c-39cc-499c-af19-88940b24ecc8" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "843" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"schemaType\": \"Xml\",\r\n \"targetNamespace\": \"http://Inbound_EDI.OrderFile\",\r\n \"documentName\": \"OrderFile\",\r\n \"contentLink\": {\r\n \"uri\": \"https://prod-51.westus.logic.azure.com:443/integrationAccounts/8084e2eb080d4ad7910490682972422f/schemas/IntegrationAccountSchema3039/contents/Value?api-version=2015-08-01-preview&se=2018-09-20T02%3A54%3A01.5890030Z&sp=%2Fschemas%2FIntegrationAccountSchema3039%2Fread&sv=1.0&sig=XBEd6qBUoPmW1ubP0wAEaBowntX79cSeC2FSx1-FDUw\",\r\n \"contentSize\": 7901\r\n },\r\n \"createdTime\": \"2018-09-19T22:54:01.3516811Z\",\r\n \"changedTime\": \"2018-09-19T22:54:01.3521926Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount651/schemas/IntegrationAccountSchema3039\",\r\n \"name\": \"IntegrationAccountSchema3039\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/schemas\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount651?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NjUxP2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "a1fcc7d4-95db-43bc-ba43-85904f5ca6e2" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:54:01 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:00898df8-dc53-4ec4-b49c-b0d4a5fa7f44" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "4b9a7e69-4781-4d72-83b9-3c3e38b9ad10" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225402Z:4b9a7e69-4781-4d72-83b9-3c3e38b9ad10" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "IntegrationAccountSchemas_Get_OK": [ + "IntegrationAccount651", + "IntegrationAccountSchema3039" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSchemaScenarioTests/IntegrationAccountSchemas_ListContentCallbackUrl_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSchemaScenarioTests/IntegrationAccountSchemas_ListContentCallbackUrl_OK.json new file mode 100644 index 0000000000000..5cc6c716fbfb8 --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSchemaScenarioTests/IntegrationAccountSchemas_ListContentCallbackUrl_OK.json @@ -0,0 +1,379 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "6bfde0cc-283f-4cb3-bad2-d7c8e9fec500" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:44 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11942" + ], + "x-ms-request-id": [ + "5dc85def-93d3-4aea-9014-b34d5565ccf0" + ], + "x-ms-correlation-request-id": [ + "5dc85def-93d3-4aea-9014-b34d5565ccf0" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225345Z:5dc85def-93d3-4aea-9014-b34d5565ccf0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "d9820a89-2f16-4b3a-9766-290a32507590" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:44 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19998" + ], + "x-ms-request-id": [ + "cd2be8cf-75dd-4aee-86aa-4ff3b2341d28" + ], + "x-ms-correlation-request-id": [ + "cd2be8cf-75dd-4aee-86aa-4ff3b2341d28" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225345Z:cd2be8cf-75dd-4aee-86aa-4ff3b2341d28" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount6106?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NjEwNj9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "7c1bcdb6-2758-4757-beff-00fae630a8a6" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:45 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:6c8bc091-20bf-419b-89e7-9123461b4355" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "7c111e28-8d2b-4293-8ca3-edacd9baba05" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225346Z:7c111e28-8d2b-4293-8ca3-edacd9baba05" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "307" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount6106\",\r\n \"name\": \"IntegrationAccount6106\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount6106/schemas/IntegrationAccountSchema6801?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NjEwNi9zY2hlbWFzL0ludGVncmF0aW9uQWNjb3VudFNjaGVtYTY4MDE/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"schemaType\": \"Xml\",\r\n \"targetNamespace\": \"http://Inbound_EDI.OrderFile\",\r\n \"content\": \"<?xml version=\\\"1.0\\\" encoding=\\\"utf-16\\\"?>\\r\\n<xs:schema xmlns:b=\\\"http://schemas.microsoft.com/BizTalk/2003\\\" xmlns=\\\"http://Inbound_EDI.OrderFile\\\" targetNamespace=\\\"http://Inbound_EDI.OrderFile\\\" xmlns:xs=\\\"http://www.w3.org/2001/XMLSchema\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:schemaInfo default_pad_char=\\\" \\\" count_positions_by_byte=\\\"false\\\" parser_optimization=\\\"speed\\\" lookahead_depth=\\\"3\\\" suppress_empty_nodes=\\\"false\\\" generate_empty_nodes=\\\"true\\\" allow_early_termination=\\\"false\\\" early_terminate_optional_fields=\\\"false\\\" allow_message_breakup_of_infix_root=\\\"false\\\" compile_parse_tables=\\\"false\\\" standard=\\\"Flat File\\\" root_reference=\\\"OrderFile\\\" />\\r\\n <schemaEditorExtension:schemaInfo namespaceAlias=\\\"b\\\" extensionClass=\\\"Microsoft.BizTalk.FlatFileExtension.FlatFileExtension\\\" standardName=\\\"Flat File\\\" xmlns:schemaEditorExtension=\\\"http://schemas.microsoft.com/BizTalk/2003/SchemaEditorExtensions\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"OrderFile\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" sequence_number=\\\"1\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"Order\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo sequence_number=\\\"1\\\" structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" child_delimiter_type=\\\"hex\\\" child_delimiter=\\\"0x0D 0x0A\\\" child_order=\\\"infix\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"Header\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo sequence_number=\\\"1\\\" structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" child_delimiter_type=\\\"char\\\" child_delimiter=\\\"|\\\" child_order=\\\"infix\\\" tag_name=\\\"HDR|\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"PODate\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"1\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"PONumber\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo justification=\\\"left\\\" sequence_number=\\\"2\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"CustomerID\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"3\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"CustomerContactName\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"4\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"CustomerContactPhone\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"5\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n <xs:element minOccurs=\\\"1\\\" maxOccurs=\\\"unbounded\\\" name=\\\"LineItems\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo sequence_number=\\\"2\\\" structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" child_delimiter_type=\\\"char\\\" child_delimiter=\\\"|\\\" child_order=\\\"infix\\\" tag_name=\\\"DTL|\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"PONumber\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"1\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"ItemOrdered\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"2\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"Quantity\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"3\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"UOM\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"4\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"Price\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"5\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"ExtendedPrice\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"6\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"Description\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"7\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n</xs:schema>\",\r\n \"contentType\": \"application/xml\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "40ea29ca-41c8-45fe-aea9-fdc407effdd1" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "8620" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:46 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:da834568-2f7e-4a89-a48d-5c48a90721d6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-correlation-request-id": [ + "c48769b6-5a42-4c07-9385-9a4f9448d705" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225347Z:c48769b6-5a42-4c07-9385-9a4f9448d705" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "844" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"schemaType\": \"Xml\",\r\n \"targetNamespace\": \"http://Inbound_EDI.OrderFile\",\r\n \"documentName\": \"OrderFile\",\r\n \"contentLink\": {\r\n \"uri\": \"https://prod-51.westus.logic.azure.com:443/integrationAccounts/925e59744e684db5b4d6de0cd7c533b6/schemas/IntegrationAccountSchema6801/contents/Value?api-version=2015-08-01-preview&se=2018-09-20T02%3A53%3A47.1381621Z&sp=%2Fschemas%2FIntegrationAccountSchema6801%2Fread&sv=1.0&sig=oVmag17U3QD2EtahO5rbbPfa0znUezSdh2g2C33ZrxM\",\r\n \"contentSize\": 7901\r\n },\r\n \"createdTime\": \"2018-09-19T22:53:46.9812507Z\",\r\n \"changedTime\": \"2018-09-19T22:53:46.9820728Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount6106/schemas/IntegrationAccountSchema6801\",\r\n \"name\": \"IntegrationAccountSchema6801\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/schemas\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount6106/schemas/IntegrationAccountSchema6801/listContentCallbackUrl?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NjEwNi9zY2hlbWFzL0ludGVncmF0aW9uQWNjb3VudFNjaGVtYTY4MDEvbGlzdENvbnRlbnRDYWxsYmFja1VybD9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"keyType\": \"Primary\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "ac4d0afe-d33a-4ab1-bd86-d6090cf322c0" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:46 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:c448e209-9359-4467-93a4-dab8e8502e2b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-correlation-request-id": [ + "70a5d9f9-59c8-477e-a44f-ced3ea0a8687" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225347Z:70a5d9f9-59c8-477e-a44f-ced3ea0a8687" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "516" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": \"https://prod-51.westus.logic.azure.com:443/integrationAccounts/925e59744e684db5b4d6de0cd7c533b6/schemas/IntegrationAccountSchema6801/contents/Value?api-version=2015-08-01-preview&sp=%2Fschemas%2FIntegrationAccountSchema6801%2Fread&sv=1.0&sig=p3aXciYNn_VKU627EkB6QiM7h-Uw59AUHf5sfSlz3Ss\",\r\n \"method\": \"GET\",\r\n \"basePath\": \"https://prod-51.westus.logic.azure.com/integrationAccounts/925e59744e684db5b4d6de0cd7c533b6/schemas/IntegrationAccountSchema6801/contents/Value\",\r\n \"queries\": {\r\n \"api-version\": \"2015-08-01-preview\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount6106?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NjEwNj9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "1250c531-e5c5-49f5-93a8-e151b08bee12" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:47 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:250770b8-6a1b-4dd5-81cf-452aa53ebb24" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "aabe96c5-2377-40d2-84f1-8fee8c4216d0" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225347Z:aabe96c5-2377-40d2-84f1-8fee8c4216d0" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "IntegrationAccountSchemas_ListContentCallbackUrl_OK": [ + "IntegrationAccount6106", + "IntegrationAccountSchema6801" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSchemaScenarioTests/IntegrationAccountSchemas_List_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSchemaScenarioTests/IntegrationAccountSchemas_List_OK.json new file mode 100644 index 0000000000000..9ecbdf00bb793 --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSchemaScenarioTests/IntegrationAccountSchemas_List_OK.json @@ -0,0 +1,503 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "ec3639be-4931-405b-b079-aa37230405cd" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:54:04 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11989" + ], + "x-ms-request-id": [ + "19f59052-77e5-44ea-a7e0-5dec2fb361cb" + ], + "x-ms-correlation-request-id": [ + "19f59052-77e5-44ea-a7e0-5dec2fb361cb" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225404Z:19f59052-77e5-44ea-a7e0-5dec2fb361cb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "50e93992-5a31-41cb-ba2d-f185744bfbb5" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:54:04 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19988" + ], + "x-ms-request-id": [ + "3aeed4cd-e1fb-4947-b5cb-5753a4223f0e" + ], + "x-ms-correlation-request-id": [ + "3aeed4cd-e1fb-4947-b5cb-5753a4223f0e" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225404Z:3aeed4cd-e1fb-4947-b5cb-5753a4223f0e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8107?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50ODEwNz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "ff46687f-1bde-4982-8e6d-2325e52bf930" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:54:05 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:b9342323-6d0f-46f5-9d13-fbb63062ed5f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-correlation-request-id": [ + "754dcafc-c146-488f-9178-02423ba55408" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225405Z:754dcafc-c146-488f-9178-02423ba55408" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "307" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8107\",\r\n \"name\": \"IntegrationAccount8107\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8107/schemas/IntegrationAccountSchema4486?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50ODEwNy9zY2hlbWFzL0ludGVncmF0aW9uQWNjb3VudFNjaGVtYTQ0ODY/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"schemaType\": \"Xml\",\r\n \"targetNamespace\": \"http://Inbound_EDI.OrderFile\",\r\n \"content\": \"<?xml version=\\\"1.0\\\" encoding=\\\"utf-16\\\"?>\\r\\n<xs:schema xmlns:b=\\\"http://schemas.microsoft.com/BizTalk/2003\\\" xmlns=\\\"http://Inbound_EDI.OrderFile\\\" targetNamespace=\\\"http://Inbound_EDI.OrderFile\\\" xmlns:xs=\\\"http://www.w3.org/2001/XMLSchema\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:schemaInfo default_pad_char=\\\" \\\" count_positions_by_byte=\\\"false\\\" parser_optimization=\\\"speed\\\" lookahead_depth=\\\"3\\\" suppress_empty_nodes=\\\"false\\\" generate_empty_nodes=\\\"true\\\" allow_early_termination=\\\"false\\\" early_terminate_optional_fields=\\\"false\\\" allow_message_breakup_of_infix_root=\\\"false\\\" compile_parse_tables=\\\"false\\\" standard=\\\"Flat File\\\" root_reference=\\\"OrderFile\\\" />\\r\\n <schemaEditorExtension:schemaInfo namespaceAlias=\\\"b\\\" extensionClass=\\\"Microsoft.BizTalk.FlatFileExtension.FlatFileExtension\\\" standardName=\\\"Flat File\\\" xmlns:schemaEditorExtension=\\\"http://schemas.microsoft.com/BizTalk/2003/SchemaEditorExtensions\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"OrderFile\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" sequence_number=\\\"1\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"Order\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo sequence_number=\\\"1\\\" structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" child_delimiter_type=\\\"hex\\\" child_delimiter=\\\"0x0D 0x0A\\\" child_order=\\\"infix\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"Header\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo sequence_number=\\\"1\\\" structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" child_delimiter_type=\\\"char\\\" child_delimiter=\\\"|\\\" child_order=\\\"infix\\\" tag_name=\\\"HDR|\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"PODate\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"1\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"PONumber\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo justification=\\\"left\\\" sequence_number=\\\"2\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"CustomerID\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"3\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"CustomerContactName\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"4\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"CustomerContactPhone\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"5\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n <xs:element minOccurs=\\\"1\\\" maxOccurs=\\\"unbounded\\\" name=\\\"LineItems\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo sequence_number=\\\"2\\\" structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" child_delimiter_type=\\\"char\\\" child_delimiter=\\\"|\\\" child_order=\\\"infix\\\" tag_name=\\\"DTL|\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"PONumber\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"1\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"ItemOrdered\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"2\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"Quantity\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"3\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"UOM\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"4\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"Price\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"5\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"ExtendedPrice\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"6\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"Description\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"7\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n</xs:schema>\",\r\n \"contentType\": \"application/xml\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "615f704f-84dc-40d6-9c27-61cb265b724e" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "8620" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:54:05 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:75e2bb77-b29f-42dd-8075-e0d9825423c5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], + "x-ms-correlation-request-id": [ + "2b30c7de-42ee-4134-a58d-10e57f3d65c5" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225406Z:2b30c7de-42ee-4134-a58d-10e57f3d65c5" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "844" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"schemaType\": \"Xml\",\r\n \"targetNamespace\": \"http://Inbound_EDI.OrderFile\",\r\n \"documentName\": \"OrderFile\",\r\n \"contentLink\": {\r\n \"uri\": \"https://prod-45.westus.logic.azure.com:443/integrationAccounts/02af2ad9bbd844078df0534da358771e/schemas/IntegrationAccountSchema4486/contents/Value?api-version=2015-08-01-preview&se=2018-09-20T02%3A54%3A06.0138845Z&sp=%2Fschemas%2FIntegrationAccountSchema4486%2Fread&sv=1.0&sig=j00uKAURvgvLjelTm2yk1aTSDjscK5wvj_8WKJfVJjA\",\r\n \"contentSize\": 7901\r\n },\r\n \"createdTime\": \"2018-09-19T22:54:05.8844192Z\",\r\n \"changedTime\": \"2018-09-19T22:54:05.8849714Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8107/schemas/IntegrationAccountSchema4486\",\r\n \"name\": \"IntegrationAccountSchema4486\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/schemas\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8107/schemas/IntegrationAccountSchema7884?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50ODEwNy9zY2hlbWFzL0ludGVncmF0aW9uQWNjb3VudFNjaGVtYTc4ODQ/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"schemaType\": \"Xml\",\r\n \"targetNamespace\": \"http://Inbound_EDI.OrderFile\",\r\n \"content\": \"<?xml version=\\\"1.0\\\" encoding=\\\"utf-16\\\"?>\\r\\n<xs:schema xmlns:b=\\\"http://schemas.microsoft.com/BizTalk/2003\\\" xmlns=\\\"http://Inbound_EDI.OrderFile\\\" targetNamespace=\\\"http://Inbound_EDI.OrderFile\\\" xmlns:xs=\\\"http://www.w3.org/2001/XMLSchema\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:schemaInfo default_pad_char=\\\" \\\" count_positions_by_byte=\\\"false\\\" parser_optimization=\\\"speed\\\" lookahead_depth=\\\"3\\\" suppress_empty_nodes=\\\"false\\\" generate_empty_nodes=\\\"true\\\" allow_early_termination=\\\"false\\\" early_terminate_optional_fields=\\\"false\\\" allow_message_breakup_of_infix_root=\\\"false\\\" compile_parse_tables=\\\"false\\\" standard=\\\"Flat File\\\" root_reference=\\\"OrderFile\\\" />\\r\\n <schemaEditorExtension:schemaInfo namespaceAlias=\\\"b\\\" extensionClass=\\\"Microsoft.BizTalk.FlatFileExtension.FlatFileExtension\\\" standardName=\\\"Flat File\\\" xmlns:schemaEditorExtension=\\\"http://schemas.microsoft.com/BizTalk/2003/SchemaEditorExtensions\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"OrderFile\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" sequence_number=\\\"1\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"Order\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo sequence_number=\\\"1\\\" structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" child_delimiter_type=\\\"hex\\\" child_delimiter=\\\"0x0D 0x0A\\\" child_order=\\\"infix\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"Header\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo sequence_number=\\\"1\\\" structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" child_delimiter_type=\\\"char\\\" child_delimiter=\\\"|\\\" child_order=\\\"infix\\\" tag_name=\\\"HDR|\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"PODate\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"1\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"PONumber\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo justification=\\\"left\\\" sequence_number=\\\"2\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"CustomerID\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"3\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"CustomerContactName\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"4\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"CustomerContactPhone\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"5\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n <xs:element minOccurs=\\\"1\\\" maxOccurs=\\\"unbounded\\\" name=\\\"LineItems\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo sequence_number=\\\"2\\\" structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" child_delimiter_type=\\\"char\\\" child_delimiter=\\\"|\\\" child_order=\\\"infix\\\" tag_name=\\\"DTL|\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"PONumber\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"1\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"ItemOrdered\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"2\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"Quantity\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"3\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"UOM\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"4\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"Price\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"5\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"ExtendedPrice\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"6\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"Description\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"7\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n</xs:schema>\",\r\n \"contentType\": \"application/xml\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "e6527dc5-5112-4451-818f-e23ae8958782" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "8620" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:54:05 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:76f624bd-b031-4a9a-b1ba-417a490a010c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1193" + ], + "x-ms-correlation-request-id": [ + "0da7fda3-ba23-44c9-a3b2-679aa09b15c5" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225406Z:0da7fda3-ba23-44c9-a3b2-679aa09b15c5" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "844" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"schemaType\": \"Xml\",\r\n \"targetNamespace\": \"http://Inbound_EDI.OrderFile\",\r\n \"documentName\": \"OrderFile\",\r\n \"contentLink\": {\r\n \"uri\": \"https://prod-45.westus.logic.azure.com:443/integrationAccounts/02af2ad9bbd844078df0534da358771e/schemas/IntegrationAccountSchema7884/contents/Value?api-version=2015-08-01-preview&se=2018-09-20T02%3A54%3A06.1858086Z&sp=%2Fschemas%2FIntegrationAccountSchema7884%2Fread&sv=1.0&sig=-hzzViZA1YWIhTbrxAy1tgzwYG_pv0b-ulXbIHIq7FM\",\r\n \"contentSize\": 7901\r\n },\r\n \"createdTime\": \"2018-09-19T22:54:06.1687729Z\",\r\n \"changedTime\": \"2018-09-19T22:54:06.1694271Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8107/schemas/IntegrationAccountSchema7884\",\r\n \"name\": \"IntegrationAccountSchema7884\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/schemas\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8107/schemas/IntegrationAccountSchema5222?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50ODEwNy9zY2hlbWFzL0ludGVncmF0aW9uQWNjb3VudFNjaGVtYTUyMjI/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"schemaType\": \"Xml\",\r\n \"targetNamespace\": \"http://Inbound_EDI.OrderFile\",\r\n \"content\": \"<?xml version=\\\"1.0\\\" encoding=\\\"utf-16\\\"?>\\r\\n<xs:schema xmlns:b=\\\"http://schemas.microsoft.com/BizTalk/2003\\\" xmlns=\\\"http://Inbound_EDI.OrderFile\\\" targetNamespace=\\\"http://Inbound_EDI.OrderFile\\\" xmlns:xs=\\\"http://www.w3.org/2001/XMLSchema\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:schemaInfo default_pad_char=\\\" \\\" count_positions_by_byte=\\\"false\\\" parser_optimization=\\\"speed\\\" lookahead_depth=\\\"3\\\" suppress_empty_nodes=\\\"false\\\" generate_empty_nodes=\\\"true\\\" allow_early_termination=\\\"false\\\" early_terminate_optional_fields=\\\"false\\\" allow_message_breakup_of_infix_root=\\\"false\\\" compile_parse_tables=\\\"false\\\" standard=\\\"Flat File\\\" root_reference=\\\"OrderFile\\\" />\\r\\n <schemaEditorExtension:schemaInfo namespaceAlias=\\\"b\\\" extensionClass=\\\"Microsoft.BizTalk.FlatFileExtension.FlatFileExtension\\\" standardName=\\\"Flat File\\\" xmlns:schemaEditorExtension=\\\"http://schemas.microsoft.com/BizTalk/2003/SchemaEditorExtensions\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"OrderFile\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" sequence_number=\\\"1\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"Order\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo sequence_number=\\\"1\\\" structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" child_delimiter_type=\\\"hex\\\" child_delimiter=\\\"0x0D 0x0A\\\" child_order=\\\"infix\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"Header\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo sequence_number=\\\"1\\\" structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" child_delimiter_type=\\\"char\\\" child_delimiter=\\\"|\\\" child_order=\\\"infix\\\" tag_name=\\\"HDR|\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"PODate\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"1\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"PONumber\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo justification=\\\"left\\\" sequence_number=\\\"2\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"CustomerID\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"3\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"CustomerContactName\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"4\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"CustomerContactPhone\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"5\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n <xs:element minOccurs=\\\"1\\\" maxOccurs=\\\"unbounded\\\" name=\\\"LineItems\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo sequence_number=\\\"2\\\" structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" child_delimiter_type=\\\"char\\\" child_delimiter=\\\"|\\\" child_order=\\\"infix\\\" tag_name=\\\"DTL|\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"PONumber\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"1\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"ItemOrdered\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"2\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"Quantity\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"3\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"UOM\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"4\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"Price\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"5\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"ExtendedPrice\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"6\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"Description\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"7\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n</xs:schema>\",\r\n \"contentType\": \"application/xml\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "69eeb3f3-233e-4b09-a81a-ddcaad88c6ee" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "8620" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:54:05 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:a9781205-f5ef-41c3-a87b-72b5ad44cda4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1192" + ], + "x-ms-correlation-request-id": [ + "fa134ae5-80aa-485c-bf7c-dff4043b16cf" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225406Z:fa134ae5-80aa-485c-bf7c-dff4043b16cf" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "844" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"schemaType\": \"Xml\",\r\n \"targetNamespace\": \"http://Inbound_EDI.OrderFile\",\r\n \"documentName\": \"OrderFile\",\r\n \"contentLink\": {\r\n \"uri\": \"https://prod-45.westus.logic.azure.com:443/integrationAccounts/02af2ad9bbd844078df0534da358771e/schemas/IntegrationAccountSchema5222/contents/Value?api-version=2015-08-01-preview&se=2018-09-20T02%3A54%3A06.3420456Z&sp=%2Fschemas%2FIntegrationAccountSchema5222%2Fread&sv=1.0&sig=okAxKdzVLV009mvNzBp7VkhzAvjhjZLxiKZ_YjO4DME\",\r\n \"contentSize\": 7901\r\n },\r\n \"createdTime\": \"2018-09-19T22:54:06.3004263Z\",\r\n \"changedTime\": \"2018-09-19T22:54:06.3009214Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8107/schemas/IntegrationAccountSchema5222\",\r\n \"name\": \"IntegrationAccountSchema5222\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/schemas\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8107/schemas?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50ODEwNy9zY2hlbWFzP2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "ebe0bd27-c75f-4555-a60a-e6462df97abd" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:54:06 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:e5ab10b3-d28d-412a-ad39-42d59a3bcc87" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11988" + ], + "x-ms-correlation-request-id": [ + "9fecc26a-2b34-48bb-87b8-aa364f030a62" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225406Z:9fecc26a-2b34-48bb-87b8-aa364f030a62" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "2546" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"schemaType\": \"Xml\",\r\n \"targetNamespace\": \"http://Inbound_EDI.OrderFile\",\r\n \"documentName\": \"OrderFile\",\r\n \"contentLink\": {\r\n \"uri\": \"https://prod-45.westus.logic.azure.com:443/integrationAccounts/02af2ad9bbd844078df0534da358771e/schemas/IntegrationAccountSchema4486/contents/Value?api-version=2015-08-01-preview&se=2018-09-20T02%3A54%3A06.4045548Z&sp=%2Fschemas%2FIntegrationAccountSchema4486%2Fread&sv=1.0&sig=3denck8TtXjiCqs3dCJtq-xkxcNQ_ZVE_ITTJyYGDnU\",\r\n \"contentSize\": 7901\r\n },\r\n \"createdTime\": \"2018-09-19T22:54:05.8844192Z\",\r\n \"changedTime\": \"2018-09-19T22:54:05.8849714Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8107/schemas/IntegrationAccountSchema4486\",\r\n \"name\": \"IntegrationAccountSchema4486\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/schemas\"\r\n },\r\n {\r\n \"properties\": {\r\n \"schemaType\": \"Xml\",\r\n \"targetNamespace\": \"http://Inbound_EDI.OrderFile\",\r\n \"documentName\": \"OrderFile\",\r\n \"contentLink\": {\r\n \"uri\": \"https://prod-45.westus.logic.azure.com:443/integrationAccounts/02af2ad9bbd844078df0534da358771e/schemas/IntegrationAccountSchema5222/contents/Value?api-version=2015-08-01-preview&se=2018-09-20T02%3A54%3A06.4045548Z&sp=%2Fschemas%2FIntegrationAccountSchema5222%2Fread&sv=1.0&sig=k3wrdjn7fyMhL6INF2ww4RRbyX5ZqlS7KVgXkdnpi5Y\",\r\n \"contentSize\": 7901\r\n },\r\n \"createdTime\": \"2018-09-19T22:54:06.3004263Z\",\r\n \"changedTime\": \"2018-09-19T22:54:06.3009214Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8107/schemas/IntegrationAccountSchema5222\",\r\n \"name\": \"IntegrationAccountSchema5222\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/schemas\"\r\n },\r\n {\r\n \"properties\": {\r\n \"schemaType\": \"Xml\",\r\n \"targetNamespace\": \"http://Inbound_EDI.OrderFile\",\r\n \"documentName\": \"OrderFile\",\r\n \"contentLink\": {\r\n \"uri\": \"https://prod-45.westus.logic.azure.com:443/integrationAccounts/02af2ad9bbd844078df0534da358771e/schemas/IntegrationAccountSchema7884/contents/Value?api-version=2015-08-01-preview&se=2018-09-20T02%3A54%3A06.4045548Z&sp=%2Fschemas%2FIntegrationAccountSchema7884%2Fread&sv=1.0&sig=Pidw8PkZc0cnC5aTClzaMqfQBxhqVSPQgfctK4ZRngo\",\r\n \"contentSize\": 7901\r\n },\r\n \"createdTime\": \"2018-09-19T22:54:06.1687729Z\",\r\n \"changedTime\": \"2018-09-19T22:54:06.1694271Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8107/schemas/IntegrationAccountSchema7884\",\r\n \"name\": \"IntegrationAccountSchema7884\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/schemas\"\r\n }\r\n ]\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8107?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50ODEwNz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "b51a6176-c990-443f-b5b9-600e3d1d218d" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:54:06 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:cf2c3221-2c4a-491e-9fa7-2c61bfccc970" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "9cf25fda-2734-4944-9aca-509378b49e6d" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225407Z:9cf25fda-2734-4944-9aca-509378b49e6d" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "IntegrationAccountSchemas_List_OK": [ + "IntegrationAccount8107", + "IntegrationAccountSchema4486", + "IntegrationAccountSchema7884", + "IntegrationAccountSchema5222" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSchemaScenarioTests/IntegrationAccountSchemas_Update_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSchemaScenarioTests/IntegrationAccountSchemas_Update_OK.json new file mode 100644 index 0000000000000..7b616ffade4bf --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSchemaScenarioTests/IntegrationAccountSchemas_Update_OK.json @@ -0,0 +1,379 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "5693b0f1-3f4d-4a6e-afb2-c8a6fe46290a" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:53 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-request-id": [ + "84f2dbb9-c06d-488e-9101-750f3770eb14" + ], + "x-ms-correlation-request-id": [ + "84f2dbb9-c06d-488e-9101-750f3770eb14" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225354Z:84f2dbb9-c06d-488e-9101-750f3770eb14" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "64ed7570-08f8-438d-94ce-baaab4e015d2" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:53 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19998" + ], + "x-ms-request-id": [ + "b5135180-c4b4-4b04-98f2-1adf7e0e93a9" + ], + "x-ms-correlation-request-id": [ + "b5135180-c4b4-4b04-98f2-1adf7e0e93a9" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225354Z:b5135180-c4b4-4b04-98f2-1adf7e0e93a9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9358?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50OTM1OD9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "1dbeeeab-4689-4553-95ea-962a9583a8ee" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:54 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:06461551-46a4-427e-84ae-5b89763d1deb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "331d132f-a2e7-4ccf-af30-d080983288a8" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225355Z:331d132f-a2e7-4ccf-af30-d080983288a8" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "307" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9358\",\r\n \"name\": \"IntegrationAccount9358\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9358/schemas/IntegrationAccountSchema6768?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50OTM1OC9zY2hlbWFzL0ludGVncmF0aW9uQWNjb3VudFNjaGVtYTY3Njg/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"schemaType\": \"Xml\",\r\n \"targetNamespace\": \"http://Inbound_EDI.OrderFile\",\r\n \"content\": \"<?xml version=\\\"1.0\\\" encoding=\\\"utf-16\\\"?>\\r\\n<xs:schema xmlns:b=\\\"http://schemas.microsoft.com/BizTalk/2003\\\" xmlns=\\\"http://Inbound_EDI.OrderFile\\\" targetNamespace=\\\"http://Inbound_EDI.OrderFile\\\" xmlns:xs=\\\"http://www.w3.org/2001/XMLSchema\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:schemaInfo default_pad_char=\\\" \\\" count_positions_by_byte=\\\"false\\\" parser_optimization=\\\"speed\\\" lookahead_depth=\\\"3\\\" suppress_empty_nodes=\\\"false\\\" generate_empty_nodes=\\\"true\\\" allow_early_termination=\\\"false\\\" early_terminate_optional_fields=\\\"false\\\" allow_message_breakup_of_infix_root=\\\"false\\\" compile_parse_tables=\\\"false\\\" standard=\\\"Flat File\\\" root_reference=\\\"OrderFile\\\" />\\r\\n <schemaEditorExtension:schemaInfo namespaceAlias=\\\"b\\\" extensionClass=\\\"Microsoft.BizTalk.FlatFileExtension.FlatFileExtension\\\" standardName=\\\"Flat File\\\" xmlns:schemaEditorExtension=\\\"http://schemas.microsoft.com/BizTalk/2003/SchemaEditorExtensions\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"OrderFile\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" sequence_number=\\\"1\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"Order\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo sequence_number=\\\"1\\\" structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" child_delimiter_type=\\\"hex\\\" child_delimiter=\\\"0x0D 0x0A\\\" child_order=\\\"infix\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"Header\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo sequence_number=\\\"1\\\" structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" child_delimiter_type=\\\"char\\\" child_delimiter=\\\"|\\\" child_order=\\\"infix\\\" tag_name=\\\"HDR|\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"PODate\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"1\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"PONumber\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo justification=\\\"left\\\" sequence_number=\\\"2\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"CustomerID\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"3\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"CustomerContactName\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"4\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"CustomerContactPhone\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"5\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n <xs:element minOccurs=\\\"1\\\" maxOccurs=\\\"unbounded\\\" name=\\\"LineItems\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo sequence_number=\\\"2\\\" structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" child_delimiter_type=\\\"char\\\" child_delimiter=\\\"|\\\" child_order=\\\"infix\\\" tag_name=\\\"DTL|\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"PONumber\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"1\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"ItemOrdered\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"2\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"Quantity\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"3\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"UOM\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"4\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"Price\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"5\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"ExtendedPrice\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"6\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"Description\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"7\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n</xs:schema>\",\r\n \"contentType\": \"application/xml\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "12295942-2580-4872-8851-8a9930c30246" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "8620" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:55 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:f7748ce7-3e31-434b-a0c8-9bc056c0a66d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "8db95702-efd6-400b-a64b-bb47211df794" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225356Z:8db95702-efd6-400b-a64b-bb47211df794" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "844" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"schemaType\": \"Xml\",\r\n \"targetNamespace\": \"http://Inbound_EDI.OrderFile\",\r\n \"documentName\": \"OrderFile\",\r\n \"contentLink\": {\r\n \"uri\": \"https://prod-12.westus.logic.azure.com:443/integrationAccounts/8690cc049a6f45ce996808c59d7c93b1/schemas/IntegrationAccountSchema6768/contents/Value?api-version=2015-08-01-preview&se=2018-09-20T02%3A53%3A56.5959926Z&sp=%2Fschemas%2FIntegrationAccountSchema6768%2Fread&sv=1.0&sig=kV6SexRvqZSp6VWEKzszJXgXW1XXAhjT1oqZr-ravfY\",\r\n \"contentSize\": 7901\r\n },\r\n \"createdTime\": \"2018-09-19T22:53:56.3454261Z\",\r\n \"changedTime\": \"2018-09-19T22:53:56.3457193Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9358/schemas/IntegrationAccountSchema6768\",\r\n \"name\": \"IntegrationAccountSchema6768\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/schemas\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9358/schemas/IntegrationAccountSchema6768?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50OTM1OC9zY2hlbWFzL0ludGVncmF0aW9uQWNjb3VudFNjaGVtYTY3Njg/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"schemaType\": \"Xml\",\r\n \"targetNamespace\": \"http://Inbound_EDI.OrderFile\",\r\n \"content\": \"<?xml version=\\\"1.0\\\" encoding=\\\"utf-16\\\"?>\\r\\n<xs:schema xmlns:b=\\\"http://schemas.microsoft.com/BizTalk/2003\\\" xmlns=\\\"http://Inbound_EDI.OrderFile\\\" targetNamespace=\\\"http://Inbound_EDI.OrderFile\\\" xmlns:xs=\\\"http://www.w3.org/2001/XMLSchema\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:schemaInfo default_pad_char=\\\" \\\" count_positions_by_byte=\\\"false\\\" parser_optimization=\\\"speed\\\" lookahead_depth=\\\"3\\\" suppress_empty_nodes=\\\"false\\\" generate_empty_nodes=\\\"true\\\" allow_early_termination=\\\"false\\\" early_terminate_optional_fields=\\\"false\\\" allow_message_breakup_of_infix_root=\\\"false\\\" compile_parse_tables=\\\"false\\\" standard=\\\"Flat File\\\" root_reference=\\\"OrderFile\\\" />\\r\\n <schemaEditorExtension:schemaInfo namespaceAlias=\\\"b\\\" extensionClass=\\\"Microsoft.BizTalk.FlatFileExtension.FlatFileExtension\\\" standardName=\\\"Flat File\\\" xmlns:schemaEditorExtension=\\\"http://schemas.microsoft.com/BizTalk/2003/SchemaEditorExtensions\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"OrderFile\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" sequence_number=\\\"1\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"Order\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo sequence_number=\\\"1\\\" structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" child_delimiter_type=\\\"hex\\\" child_delimiter=\\\"0x0D 0x0A\\\" child_order=\\\"infix\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"Header\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo sequence_number=\\\"1\\\" structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" child_delimiter_type=\\\"char\\\" child_delimiter=\\\"|\\\" child_order=\\\"infix\\\" tag_name=\\\"HDR|\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"PODate\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"1\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"PONumber\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo justification=\\\"left\\\" sequence_number=\\\"2\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"CustomerID\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"3\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"CustomerContactName\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"4\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"CustomerContactPhone\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"5\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n <xs:element minOccurs=\\\"1\\\" maxOccurs=\\\"unbounded\\\" name=\\\"LineItems\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo sequence_number=\\\"2\\\" structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" child_delimiter_type=\\\"char\\\" child_delimiter=\\\"|\\\" child_order=\\\"infix\\\" tag_name=\\\"DTL|\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"PONumber\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"1\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"ItemOrdered\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"2\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"Quantity\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"3\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"UOM\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"4\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"Price\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"5\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"ExtendedPrice\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"6\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"Description\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"7\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n</xs:schema>\",\r\n \"contentType\": \"application/xml\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "1d049f46-c3ad-4dd7-836f-c1d1adcfc48f" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "8620" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:56 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:6cbed7f5-0680-44c3-9b19-fc189100d752" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-correlation-request-id": [ + "39ee939c-6887-4ef7-abc3-8beb32809ef3" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225357Z:39ee939c-6887-4ef7-abc3-8beb32809ef3" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "844" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"schemaType\": \"Xml\",\r\n \"targetNamespace\": \"http://Inbound_EDI.OrderFile\",\r\n \"documentName\": \"OrderFile\",\r\n \"contentLink\": {\r\n \"uri\": \"https://prod-12.westus.logic.azure.com:443/integrationAccounts/8690cc049a6f45ce996808c59d7c93b1/schemas/IntegrationAccountSchema6768/contents/Value?api-version=2015-08-01-preview&se=2018-09-20T02%3A53%3A57.1590709Z&sp=%2Fschemas%2FIntegrationAccountSchema6768%2Fread&sv=1.0&sig=rZthDKBspSoLX55Q9a5CxuBtqLnuhzg2xiLQNvxUgIM\",\r\n \"contentSize\": 7901\r\n },\r\n \"createdTime\": \"2018-09-19T22:53:56.3454261Z\",\r\n \"changedTime\": \"2018-09-19T22:53:56.7134138Z\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9358/schemas/IntegrationAccountSchema6768\",\r\n \"name\": \"IntegrationAccountSchema6768\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/schemas\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9358?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50OTM1OD9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "f4525787-b4e3-4eb6-9b1a-40d6a14c6a59" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:53:57 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:075330d3-3c7c-4100-a63d-264601ba3d1a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "ff0e5d8c-978e-421f-805c-3401206bc405" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225357Z:ff0e5d8c-978e-421f-805c-3401206bc405" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "IntegrationAccountSchemas_Update_OK": [ + "IntegrationAccount9358", + "IntegrationAccountSchema6768" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSchemaScenarioTests/ListIntegrationAccountSchemas.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSchemaScenarioTests/ListIntegrationAccountSchemas.json deleted file mode 100644 index 43a0107ef5615..0000000000000 --- a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSchemaScenarioTests/ListIntegrationAccountSchemas.json +++ /dev/null @@ -1,246 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount954?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50OTU0P2FwaS12ZXJzaW9uPTIwMTYtMDYtMDE=", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "91" - ], - "x-ms-client-request-id": [ - "20ce8fa7-f8f4-4c01-a5ee-e0cf95ac0a46" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount954\",\r\n \"name\": \"IntegrationAccount954\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "288" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:56:05 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:a499028e-9b2f-42e8-8eaf-51b7974eaa98" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1199" - ], - "x-ms-correlation-request-id": [ - "a2ff63e6-4119-4cc2-a0d1-3b380d1b35b6" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215605Z:a2ff63e6-4119-4cc2-a0d1-3b380d1b35b6" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount954/schemas/IntegrationAccountSchema3772?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50OTU0L3NjaGVtYXMvSW50ZWdyYXRpb25BY2NvdW50U2NoZW1hMzc3Mj9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"schemaType\": \"Xml\",\r\n \"metadata\": \"IntegrationAccountSchema3772\",\r\n \"content\": \"<?xml version=\\\"1.0\\\" encoding=\\\"utf-16\\\"?>\\r\\n<xs:schema xmlns:b=\\\"http://schemas.microsoft.com/BizTalk/2003\\\" xmlns=\\\"http://Inbound_EDI.OrderFile\\\" targetNamespace=\\\"http://Inbound_EDI.OrderFile\\\" xmlns:xs=\\\"http://www.w3.org/2001/XMLSchema\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:schemaInfo default_pad_char=\\\" \\\" count_positions_by_byte=\\\"false\\\" parser_optimization=\\\"speed\\\" lookahead_depth=\\\"3\\\" suppress_empty_nodes=\\\"false\\\" generate_empty_nodes=\\\"true\\\" allow_early_termination=\\\"false\\\" early_terminate_optional_fields=\\\"false\\\" allow_message_breakup_of_infix_root=\\\"false\\\" compile_parse_tables=\\\"false\\\" standard=\\\"Flat File\\\" root_reference=\\\"OrderFile\\\" />\\r\\n <schemaEditorExtension:schemaInfo namespaceAlias=\\\"b\\\" extensionClass=\\\"Microsoft.BizTalk.FlatFileExtension.FlatFileExtension\\\" standardName=\\\"Flat File\\\" xmlns:schemaEditorExtension=\\\"http://schemas.microsoft.com/BizTalk/2003/SchemaEditorExtensions\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"OrderFile\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" sequence_number=\\\"1\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"Order\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo sequence_number=\\\"1\\\" structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" child_delimiter_type=\\\"hex\\\" child_delimiter=\\\"0x0D 0x0A\\\" child_order=\\\"infix\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"Header\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo sequence_number=\\\"1\\\" structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" child_delimiter_type=\\\"char\\\" child_delimiter=\\\"|\\\" child_order=\\\"infix\\\" tag_name=\\\"HDR|\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"PODate\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"1\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"PONumber\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo justification=\\\"left\\\" sequence_number=\\\"2\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"CustomerID\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"3\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"CustomerContactName\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"4\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"CustomerContactPhone\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"5\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n <xs:element minOccurs=\\\"1\\\" maxOccurs=\\\"unbounded\\\" name=\\\"LineItems\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:recordInfo sequence_number=\\\"2\\\" structure=\\\"delimited\\\" preserve_delimiter_for_empty_data=\\\"true\\\" suppress_trailing_delimiters=\\\"false\\\" child_delimiter_type=\\\"char\\\" child_delimiter=\\\"|\\\" child_order=\\\"infix\\\" tag_name=\\\"DTL|\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:complexType>\\r\\n <xs:sequence>\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:groupInfo sequence_number=\\\"0\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n <xs:element name=\\\"PONumber\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"1\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"ItemOrdered\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"2\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"Quantity\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"3\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"UOM\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"4\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"Price\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"5\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"ExtendedPrice\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"6\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n <xs:element name=\\\"Description\\\" type=\\\"xs:string\\\">\\r\\n <xs:annotation>\\r\\n <xs:appinfo>\\r\\n <b:fieldInfo sequence_number=\\\"7\\\" justification=\\\"left\\\" />\\r\\n </xs:appinfo>\\r\\n </xs:annotation>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n </xs:sequence>\\r\\n </xs:complexType>\\r\\n </xs:element>\\r\\n</xs:schema>\",\r\n \"contentType\": \"application/xml\"\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"integrationAccountSchemaName\": \"IntegrationAccountSchema3772\"\r\n }\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "8700" - ], - "x-ms-client-request-id": [ - "f0037ac6-7b27-4699-b742-fc18c45a65d7" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"schemaType\": \"Xml\",\r\n \"targetNamespace\": \"http://Inbound_EDI.OrderFile\",\r\n \"documentName\": \"OrderFile\",\r\n \"contentLink\": {\r\n \"uri\": \"https://flowprodcu23by01.blob.core.windows.net/integrationaccounts35605b121781450ea00e6c3b8f6d9d04/3839E_XML_INTEGRATIONACCOUNTSCHEMA3772-E47C3B155DB24B0D9EEA3B3F38C9425D?sv=2016-05-31&sr=b&sig=un8ngmmFIvroFCYotJyvrikAAJeciuI%2B8C9nK%2FZObvA%3D&se=2017-03-02T01%3A56%3A06Z&sp=r\",\r\n \"contentVersion\": \"\\\"0x8D460EDC3598ECC\\\"\",\r\n \"contentSize\": 7901,\r\n \"contentHash\": {\r\n \"algorithm\": \"md5\",\r\n \"value\": \"a+4ZnOsIm8I/Mr0aKJIK6w==\"\r\n }\r\n },\r\n \"createdTime\": \"2017-03-01T21:56:06.5532477Z\",\r\n \"changedTime\": \"2017-03-01T21:56:06.5539697Z\",\r\n \"metadata\": \"IntegrationAccountSchema3772\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount954/schemas/IntegrationAccountSchema3772\",\r\n \"name\": \"IntegrationAccountSchema3772\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/schemas\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "951" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:56:05 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:558c979c-3ab0-4a18-8eec-9d22e37c7ad7" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" - ], - "x-ms-correlation-request-id": [ - "afec3f5d-ffb4-4cc4-a56e-bd7bb60afc1a" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215606Z:afec3f5d-ffb4-4cc4-a56e-bd7bb60afc1a" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount954/schemas?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50OTU0L3NjaGVtYXM/YXBpLXZlcnNpb249MjAxNi0wNi0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "419604ef-2d3c-4577-9b8d-258cf6787c86" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"schemaType\": \"Xml\",\r\n \"targetNamespace\": \"http://Inbound_EDI.OrderFile\",\r\n \"documentName\": \"OrderFile\",\r\n \"contentLink\": {\r\n \"uri\": \"https://flowprodcu23by01.blob.core.windows.net/integrationaccounts35605b121781450ea00e6c3b8f6d9d04/3839E_XML_INTEGRATIONACCOUNTSCHEMA3772-E47C3B155DB24B0D9EEA3B3F38C9425D?sv=2016-05-31&sr=b&sig=un8ngmmFIvroFCYotJyvrikAAJeciuI%2B8C9nK%2FZObvA%3D&se=2017-03-02T01%3A56%3A06Z&sp=r\",\r\n \"contentVersion\": \"\\\"0x8D460EDC3598ECC\\\"\",\r\n \"contentSize\": 7901,\r\n \"contentHash\": {\r\n \"algorithm\": \"md5\",\r\n \"value\": \"a+4ZnOsIm8I/Mr0aKJIK6w==\"\r\n }\r\n },\r\n \"createdTime\": \"2017-03-01T21:56:06.5532477Z\",\r\n \"changedTime\": \"2017-03-01T21:56:06.5539697Z\",\r\n \"metadata\": \"IntegrationAccountSchema3772\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount954/schemas/IntegrationAccountSchema3772\",\r\n \"name\": \"IntegrationAccountSchema3772\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/schemas\"\r\n }\r\n ]\r\n}", - "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:56:06 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], - "x-ms-request-id": [ - "westus:3dfe38ac-7dc9-4bc0-9c15-f0da324f89f0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14804" - ], - "x-ms-correlation-request-id": [ - "bf2ed57e-5ff5-4048-8787-2906e35f2266" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215606Z:bf2ed57e-5ff5-4048-8787-2906e35f2266" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount954?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50OTU0P2FwaS12ZXJzaW9uPTIwMTYtMDYtMDE=", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "6bbd5fde-6f69-47b4-ad67-6c67e3c2cd1c" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 01 Mar 2017 21:56:06 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:f639dccf-f659-4de9-a0ad-7ecd466bf875" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1197" - ], - "x-ms-correlation-request-id": [ - "520386a0-1d4e-432b-a39b-4ca1a93b2640" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215607Z:520386a0-1d4e-432b-a39b-4ca1a93b2640" - ] - }, - "StatusCode": 200 - } - ], - "Names": { - "ListIntegrationAccountSchemas": [ - "IntegrationAccount954", - "IntegrationAccountSchema3772" - ] - }, - "Variables": { - "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" - } -} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSessionScenarioTests/CreateAndGetIntegrationAccountSession.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSessionScenarioTests/IntegrationAccountSessions_Create_OK.json similarity index 52% rename from src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSessionScenarioTests/CreateAndGetIntegrationAccountSession.json rename to src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSessionScenarioTests/IntegrationAccountSessions_Create_OK.json index ea4adc95b14c3..d81c32cb19a3f 100644 --- a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSessionScenarioTests/CreateAndGetIntegrationAccountSession.json +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSessionScenarioTests/IntegrationAccountSessions_Create_OK.json @@ -1,249 +1,312 @@ { "Entries": [ { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4764?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NDc2ND9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "91" - ], "x-ms-client-request-id": [ - "f5321e07-cf08-4321-a4e6-1ba753e2a453" + "c061f1f4-24f0-46a4-9bdb-7d29fd32b997" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ] }, - "ResponseBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4764\",\r\n \"name\": \"IntegrationAccount4764\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:50:54 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "x-ms-request-id": [ + "fb80b2cd-dbea-4eaf-aaee-75562c812f99" + ], + "x-ms-correlation-request-id": [ + "fb80b2cd-dbea-4eaf-aaee-75562c812f99" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225054Z:fb80b2cd-dbea-4eaf-aaee-75562c812f99" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], "Content-Length": [ - "290" + "12" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "e39bee23-ce42-42d5-b5f2-040641aff47d" ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:24 GMT" + "Wed, 19 Sep 2018 22:50:54 GMT" ], "Pragma": [ "no-cache" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19997" + ], "x-ms-request-id": [ - "westus:31fff566-1635-4049-aef8-df9c20c65557" + "aa24eaba-6e23-4854-ac66-1b8551b287ac" + ], + "x-ms-correlation-request-id": [ + "aa24eaba-6e23-4854-ac66-1b8551b287ac" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225054Z:aa24eaba-6e23-4854-ac66-1b8551b287ac" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1190" + "X-Content-Type-Options": [ + "nosniff" ], - "x-ms-correlation-request-id": [ - "c6000d0a-b426-4ab1-8651-c50e315dbc1d" + "Content-Length": [ + "12" ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215724Z:c6000d0a-b426-4ab1-8651-c50e315dbc1d" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 201 + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4764/sessions/IntegrationAccountSession103?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NDc2NC9zZXNzaW9ucy9JbnRlZ3JhdGlvbkFjY291bnRTZXNzaW9uMTAzP2FwaS12ZXJzaW9uPTIwMTYtMDYtMDE=", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2913?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MjkxMz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"content\": \"256\"\r\n },\r\n \"tags\": {\r\n \"IntegrationAccountSession\": \"IntegrationAccountSession103\"\r\n }\r\n}", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "134" - ], "x-ms-client-request-id": [ - "20bb528b-2d52-4dc1-b78f-c99ef41e1431" + "03253f1c-5303-4181-97bc-04bdd600d680" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"createdTime\": \"2017-03-01T21:57:24.6384773Z\",\r\n \"changedTime\": \"2017-03-01T21:57:24.6384773Z\",\r\n \"content\": \"256\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4764/sessions/IntegrationAccountSession103\",\r\n \"name\": \"IntegrationAccountSession103\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/sessions\",\r\n \"etag\": \"\\\"08587132014408390925\\\"\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "436" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:24 GMT" + "Wed, 19 Sep 2018 22:50:54 GMT" ], "Pragma": [ "no-cache" ], - "ETag": [ - "\"08587132014408390925\"" - ], "x-ms-request-id": [ - "westus:925c1a04-b422-49f1-97a5-e61c7faef26f" + "westus:d08a462f-d06c-49d9-9a8e-e2786d54158e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1189" + "1195" ], "x-ms-correlation-request-id": [ - "84a69aa5-faed-4dec-ac3f-52a55ac53d26" + "138d8640-881d-4f6a-8c5c-c0519acdf409" ], "x-ms-routing-request-id": [ - "WESTUS2:20170301T215724Z:84a69aa5-faed-4dec-ac3f-52a55ac53d26" + "WESTUS2:20180919T225055Z:138d8640-881d-4f6a-8c5c-c0519acdf409" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "307" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2913\",\r\n \"name\": \"IntegrationAccount2913\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", "StatusCode": 201 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4764/sessions/IntegrationAccountSession103?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NDc2NC9zZXNzaW9ucy9JbnRlZ3JhdGlvbkFjY291bnRTZXNzaW9uMTAzP2FwaS12ZXJzaW9uPTIwMTYtMDYtMDE=", - "RequestMethod": "GET", - "RequestBody": "", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2913/sessions/IntegrationAccountSession3185?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MjkxMy9zZXNzaW9ucy9JbnRlZ3JhdGlvbkFjY291bnRTZXNzaW9uMzE4NT9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"content\": \"456\"\r\n },\r\n \"location\": \"westus\"\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "9e25b3ed-cfaf-4459-97c2-9b55bcbc8511" + "73b1bf71-dc18-4fdd-945d-31dcf43ca8ab" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"createdTime\": \"2017-03-01T21:57:24.6384773Z\",\r\n \"changedTime\": \"2017-03-01T21:57:24.6386912Z\",\r\n \"content\": \"256\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4764/sessions/IntegrationAccountSession103\",\r\n \"name\": \"IntegrationAccountSession103\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/sessions\",\r\n \"etag\": \"\\\"08587132014408390925\\\"\"\r\n}", - "ResponseHeaders": { + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ], + "Content-Length": [ + "75" + ] + }, + "ResponseHeaders": { "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:24 GMT" + "Wed, 19 Sep 2018 22:50:55 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" - ], "ETag": [ - "\"08587132014408390925\"" - ], - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" + "\"08586642094294524150\"" ], "x-ms-request-id": [ - "westus:a3b59556-e2a0-4bea-93eb-3b09e56d30dc" + "westus:77181729-629d-4598-a0a9-08b37eeae47f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14729" + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" ], "x-ms-correlation-request-id": [ - "5acc5805-b09b-4ce0-9f59-1035534b4fc0" + "5fa48646-fb51-4e79-82b4-8adf2ea865fc" ], "x-ms-routing-request-id": [ - "WESTUS2:20170301T215724Z:5acc5805-b09b-4ce0-9f59-1035534b4fc0" + "WESTUS2:20180919T225056Z:5fa48646-fb51-4e79-82b4-8adf2ea865fc" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "438" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 200 + "ResponseBody": "{\r\n \"properties\": {\r\n \"createdTime\": \"2018-09-19T22:50:56.0251587Z\",\r\n \"changedTime\": \"2018-09-19T22:50:56.0251587Z\",\r\n \"content\": \"456\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2913/sessions/IntegrationAccountSession3185\",\r\n \"name\": \"IntegrationAccountSession3185\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/sessions\",\r\n \"etag\": \"\\\"08586642094294524150\\\"\"\r\n}", + "StatusCode": 201 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4764?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NDc2ND9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2913?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MjkxMz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "34a9fe8f-f7f4-4a71-84c8-276e8deb5b2b" + "795b516b-8f04-490a-9bae-7bd84c669f1f" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ] }, - "ResponseBody": "", "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:24 GMT" + "Wed, 19 Sep 2018 22:50:56 GMT" ], "Pragma": [ "no-cache" ], "x-ms-request-id": [ - "westus:3a9d804f-2813-4a94-bbc7-3c1d02983a38" + "westus:93335a1b-d32b-425a-aa42-a65f340533a3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1188" + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14997" ], "x-ms-correlation-request-id": [ - "8bc27cdd-eedd-4da7-a5ae-6095164a66f3" + "40d2ade3-6501-4d43-82a6-86764f80bc14" ], "x-ms-routing-request-id": [ - "WESTUS2:20170301T215725Z:8bc27cdd-eedd-4da7-a5ae-6095164a66f3" + "WESTUS2:20180919T225056Z:40d2ade3-6501-4d43-82a6-86764f80bc14" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "", "StatusCode": 200 } ], "Names": { - "CreateAndGetIntegrationAccountSession": [ - "IntegrationAccount4764", - "IntegrationAccountSession103" + "IntegrationAccountSessions_Create_OK": [ + "IntegrationAccount2913", + "IntegrationAccountSession3185" ] }, "Variables": { diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSessionScenarioTests/IntegrationAccountSessions_DeleteWhenDeleteIntegrationAccount_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSessionScenarioTests/IntegrationAccountSessions_DeleteWhenDeleteIntegrationAccount_OK.json new file mode 100644 index 0000000000000..bb32b5b617629 --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSessionScenarioTests/IntegrationAccountSessions_DeleteWhenDeleteIntegrationAccount_OK.json @@ -0,0 +1,373 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "44943c6e-7a18-4426-80e1-b880df760a46" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:51:05 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11993" + ], + "x-ms-request-id": [ + "994eaa88-22b4-426b-8c88-95868582b420" + ], + "x-ms-correlation-request-id": [ + "994eaa88-22b4-426b-8c88-95868582b420" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225106Z:994eaa88-22b4-426b-8c88-95868582b420" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "7563ad53-60a2-4d4b-af20-90be5f274f9d" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:51:05 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19992" + ], + "x-ms-request-id": [ + "4b39cc0d-0147-42e7-adeb-acce3c0bb970" + ], + "x-ms-correlation-request-id": [ + "4b39cc0d-0147-42e7-adeb-acce3c0bb970" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225106Z:4b39cc0d-0147-42e7-adeb-acce3c0bb970" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8475?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50ODQ3NT9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "82d93812-ef19-4e28-b0a4-abee3472a3e0" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:51:06 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:485a43c8-590c-483d-9720-6614b38e4436" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1189" + ], + "x-ms-correlation-request-id": [ + "983c1e20-6ca3-4b36-b1fc-90bdc86bd0c9" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225107Z:983c1e20-6ca3-4b36-b1fc-90bdc86bd0c9" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "307" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8475\",\r\n \"name\": \"IntegrationAccount8475\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8475/sessions/IntegrationAccountSession6564?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50ODQ3NS9zZXNzaW9ucy9JbnRlZ3JhdGlvbkFjY291bnRTZXNzaW9uNjU2ND9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"content\": \"456\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "99bfd888-8bc2-4aa4-9952-b559bf229abd" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "75" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:51:06 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"08586642094181499622\"" + ], + "x-ms-request-id": [ + "westus:d8f94b05-7548-4d68-ab45-fcb163a00376" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1188" + ], + "x-ms-correlation-request-id": [ + "ece42f20-a652-41db-9757-357c79a4c38d" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225107Z:ece42f20-a652-41db-9757-357c79a4c38d" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "438" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"createdTime\": \"2018-09-19T22:51:07.3276105Z\",\r\n \"changedTime\": \"2018-09-19T22:51:07.3276105Z\",\r\n \"content\": \"456\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8475/sessions/IntegrationAccountSession6564\",\r\n \"name\": \"IntegrationAccountSession6564\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/sessions\",\r\n \"etag\": \"\\\"08586642094181499622\\\"\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8475?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50ODQ3NT9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "e97cd61e-ff20-47d9-aa0c-02f6c1f40986" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:51:07 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:6aca2d5e-8fc9-4ee8-bf21-7cf8be4b5669" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14994" + ], + "x-ms-correlation-request-id": [ + "5dfba191-217b-4bc6-8ced-2d05d3f0c29d" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225108Z:5dfba191-217b-4bc6-8ced-2d05d3f0c29d" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8475/sessions/IntegrationAccountSession6564?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50ODQ3NS9zZXNzaW9ucy9JbnRlZ3JhdGlvbkFjY291bnRTZXNzaW9uNjU2ND9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "38d24f83-c8a1-42da-bd88-254d2cbc98fe" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:51:07 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "217187ec-d169-4950-a642-0f35d18dc6d7" + ], + "x-ms-correlation-request-id": [ + "217187ec-d169-4950-a642-0f35d18dc6d7" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225108Z:217187ec-d169-4950-a642-0f35d18dc6d7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "168" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Logic/integrationAccounts/IntegrationAccount8475' under resource group 'flowrg' was not found.\"\r\n }\r\n}", + "StatusCode": 404 + } + ], + "Names": { + "IntegrationAccountSessions_DeleteWhenDeleteIntegrationAccount_OK": [ + "IntegrationAccount8475", + "IntegrationAccountSession6564" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSessionScenarioTests/CreateAndDeleteIntegrationAccountSession.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSessionScenarioTests/IntegrationAccountSessions_Delete_OK.json similarity index 60% rename from src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSessionScenarioTests/CreateAndDeleteIntegrationAccountSession.json rename to src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSessionScenarioTests/IntegrationAccountSessions_Delete_OK.json index 50d769305871e..58f33e59bccfc 100644 --- a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSessionScenarioTests/CreateAndDeleteIntegrationAccountSession.json +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSessionScenarioTests/IntegrationAccountSessions_Delete_OK.json @@ -1,408 +1,425 @@ { "Entries": [ { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7153?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NzE1Mz9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "91" - ], "x-ms-client-request-id": [ - "c71d15ed-4f9d-4bc2-bf30-d42c8a3f8ffc" + "4b12e896-a976-4c25-a519-c6c4dc67aa58" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ] }, - "ResponseBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7153\",\r\n \"name\": \"IntegrationAccount7153\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", "ResponseHeaders": { - "Content-Length": [ - "290" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:18 GMT" + "Wed, 19 Sep 2018 22:51:10 GMT" ], "Pragma": [ "no-cache" ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], "x-ms-request-id": [ - "westus:493735c6-afd7-447a-80d6-cc6f9afee409" + "4862ae08-b3cd-40d2-a633-5c36d796440c" + ], + "x-ms-correlation-request-id": [ + "4862ae08-b3cd-40d2-a633-5c36d796440c" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225111Z:4862ae08-b3cd-40d2-a633-5c36d796440c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1195" + "X-Content-Type-Options": [ + "nosniff" ], - "x-ms-correlation-request-id": [ - "73f8ec4f-4efc-4d90-af06-c7e6a263887c" + "Content-Length": [ + "12" ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215719Z:73f8ec4f-4efc-4d90-af06-c7e6a263887c" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 201 + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7153/sessions/IntegrationAccountSession428?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NzE1My9zZXNzaW9ucy9JbnRlZ3JhdGlvbkFjY291bnRTZXNzaW9uNDI4P2FwaS12ZXJzaW9uPTIwMTYtMDYtMDE=", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"content\": \"256\"\r\n },\r\n \"tags\": {\r\n \"IntegrationAccountSession\": \"IntegrationAccountSession428\"\r\n }\r\n}", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "134" - ], "x-ms-client-request-id": [ - "2e491bff-ad81-449f-ad4b-17271005bc8f" + "4ab8455e-9fb9-4ee9-87ee-113e383488a5" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ] }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"createdTime\": \"2017-03-01T21:57:19.2506685Z\",\r\n \"changedTime\": \"2017-03-01T21:57:19.2506685Z\",\r\n \"content\": \"256\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7153/sessions/IntegrationAccountSession428\",\r\n \"name\": \"IntegrationAccountSession428\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/sessions\",\r\n \"etag\": \"\\\"08587132014462268985\\\"\"\r\n}", "ResponseHeaders": { - "Content-Length": [ - "436" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:18 GMT" + "Wed, 19 Sep 2018 22:51:10 GMT" ], "Pragma": [ "no-cache" ], - "ETag": [ - "\"08587132014462268985\"" + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19998" ], "x-ms-request-id": [ - "westus:3a5ea567-4f3c-4410-9f3b-df0c1d766fa0" + "77231599-2d04-46b2-8efe-9770fb7524a8" + ], + "x-ms-correlation-request-id": [ + "77231599-2d04-46b2-8efe-9770fb7524a8" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225111Z:77231599-2d04-46b2-8efe-9770fb7524a8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1194" + "X-Content-Type-Options": [ + "nosniff" ], - "x-ms-correlation-request-id": [ - "dc461088-2607-4f1a-9cb3-8991d2fc7cb5" + "Content-Length": [ + "12" ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215719Z:dc461088-2607-4f1a-9cb3-8991d2fc7cb5" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 201 + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7153/sessions/IntegrationAccountSession428?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NzE1My9zZXNzaW9ucy9JbnRlZ3JhdGlvbkFjY291bnRTZXNzaW9uNDI4P2FwaS12ZXJzaW9uPTIwMTYtMDYtMDE=", - "RequestMethod": "GET", - "RequestBody": "", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount341?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MzQxP2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "91ba3255-7f7d-4717-a383-0ba3ca19e72e" + "cad10971-289c-4b49-b38b-5d6a13767e9c" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"createdTime\": \"2017-03-01T21:57:19.2506685Z\",\r\n \"changedTime\": \"2017-03-01T21:57:19.2508969Z\",\r\n \"content\": \"256\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7153/sessions/IntegrationAccountSession428\",\r\n \"name\": \"IntegrationAccountSession428\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/sessions\",\r\n \"etag\": \"\\\"08587132014462268985\\\"\"\r\n}", - "ResponseHeaders": { + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:18 GMT" + "Wed, 19 Sep 2018 22:51:11 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" - ], - "ETag": [ - "\"08587132014462268985\"" - ], - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], "x-ms-request-id": [ - "westus:53425ec6-8fb3-4f86-8180-876f1913228d" + "westus:11b702e8-00ca-4a63-b1c0-d054f823b1c9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14497" + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" ], "x-ms-correlation-request-id": [ - "29edb736-2e64-4e57-be3d-c1aac2218645" + "b13a1142-9041-4254-9daa-bcf9291328bf" ], "x-ms-routing-request-id": [ - "WESTUS2:20170301T215719Z:29edb736-2e64-4e57-be3d-c1aac2218645" + "WESTUS2:20180919T225111Z:b13a1142-9041-4254-9daa-bcf9291328bf" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "305" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 200 + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount341\",\r\n \"name\": \"IntegrationAccount341\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7153/sessions/IntegrationAccountSession428?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NzE1My9zZXNzaW9ucy9JbnRlZ3JhdGlvbkFjY291bnRTZXNzaW9uNDI4P2FwaS12ZXJzaW9uPTIwMTYtMDYtMDE=", - "RequestMethod": "GET", - "RequestBody": "", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount341/sessions/IntegrationAccountSession1766?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MzQxL3Nlc3Npb25zL0ludGVncmF0aW9uQWNjb3VudFNlc3Npb24xNzY2P2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"content\": \"456\"\r\n },\r\n \"location\": \"westus\"\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "0cc7018a-9664-4c86-ad0f-5e0cb3e494c5" + "f76aa005-6283-41c6-a223-6090deac98d0" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"SessionNotFound\",\r\n \"message\": \"The session 'IntegrationAccountSession428' could not be found in integration account 'IntegrationAccount7153'.\"\r\n }\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "159" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ], + "Content-Length": [ + "75" + ] + }, + "ResponseHeaders": { "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:18 GMT" + "Wed, 19 Sep 2018 22:51:12 GMT" ], "Pragma": [ "no-cache" ], + "ETag": [ + "\"08586642094132940194\"" + ], "x-ms-request-id": [ - "westus:b265ece1-1614-4328-ad3d-929f1761e7d6" + "westus:c0c55891-b35d-4d27-943c-11c7f8224e55" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14496" + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" ], "x-ms-correlation-request-id": [ - "f9ce87e9-9a0c-448f-8828-687692a419c9" + "edb437d7-95a8-4647-935b-8cfa9a27b8ea" ], "x-ms-routing-request-id": [ - "WESTUS2:20170301T215719Z:f9ce87e9-9a0c-448f-8828-687692a419c9" + "WESTUS2:20180919T225112Z:edb437d7-95a8-4647-935b-8cfa9a27b8ea" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "437" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 404 + "ResponseBody": "{\r\n \"properties\": {\r\n \"createdTime\": \"2018-09-19T22:51:12.1835503Z\",\r\n \"changedTime\": \"2018-09-19T22:51:12.1835503Z\",\r\n \"content\": \"456\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount341/sessions/IntegrationAccountSession1766\",\r\n \"name\": \"IntegrationAccountSession1766\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/sessions\",\r\n \"etag\": \"\\\"08586642094132940194\\\"\"\r\n}", + "StatusCode": 201 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7153/sessions/IntegrationAccountSession428?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NzE1My9zZXNzaW9ucy9JbnRlZ3JhdGlvbkFjY291bnRTZXNzaW9uNDI4P2FwaS12ZXJzaW9uPTIwMTYtMDYtMDE=", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount341/sessions/IntegrationAccountSession1766?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MzQxL3Nlc3Npb25zL0ludGVncmF0aW9uQWNjb3VudFNlc3Npb24xNzY2P2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "f5d52999-2f17-4319-bca4-97494bba1171" + "b208b932-8e29-484a-902d-eb51731c52ad" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ] }, - "ResponseBody": "", "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:18 GMT" + "Wed, 19 Sep 2018 22:51:12 GMT" ], "Pragma": [ "no-cache" ], "x-ms-request-id": [ - "westus:207766c6-4f36-4bf1-a1c1-52097f60b651" + "westus:eefb9efe-8a7d-444d-8303-59242e2288cd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1193" + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14998" ], "x-ms-correlation-request-id": [ - "47e73e5c-e8c9-4123-b9e9-e13a4d3d77cf" + "9e667c39-3835-4a92-890d-44dbee6bc606" ], "x-ms-routing-request-id": [ - "WESTUS2:20170301T215719Z:47e73e5c-e8c9-4123-b9e9-e13a4d3d77cf" + "WESTUS2:20180919T225112Z:9e667c39-3835-4a92-890d-44dbee6bc606" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7153/sessions/IntegrationAccountSession428?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NzE1My9zZXNzaW9ucy9JbnRlZ3JhdGlvbkFjY291bnRTZXNzaW9uNDI4P2FwaS12ZXJzaW9uPTIwMTYtMDYtMDE=", - "RequestMethod": "DELETE", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount341/sessions/IntegrationAccountSession1766?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MzQxL3Nlc3Npb25zL0ludGVncmF0aW9uQWNjb3VudFNlc3Npb24xNzY2P2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", + "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "3e289707-0ea2-4b53-b3f0-dfc14fe102ad" + "c9cad59f-af09-48f8-ad42-e0decdd76454" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ] }, - "ResponseBody": "", "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:18 GMT" + "Wed, 19 Sep 2018 22:51:12 GMT" ], "Pragma": [ "no-cache" ], "x-ms-request-id": [ - "westus:a3cf478b-5f33-42f3-9405-cf8f5d2cf69a" + "westus:8ee38e1b-22e7-4dbf-af9d-a9f04f360162" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1192" + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" ], "x-ms-correlation-request-id": [ - "cdd07026-4946-49d3-8bd5-28c956277f28" + "bdbdfa23-3ad5-4406-9af3-72263d9f789e" ], "x-ms-routing-request-id": [ - "WESTUS2:20170301T215719Z:cdd07026-4946-49d3-8bd5-28c956277f28" + "WESTUS2:20180919T225112Z:bdbdfa23-3ad5-4406-9af3-72263d9f789e" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "159" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 204 + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"SessionNotFound\",\r\n \"message\": \"The session 'IntegrationAccountSession1766' could not be found in integration account 'IntegrationAccount341'.\"\r\n }\r\n}", + "StatusCode": 404 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7153?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NzE1Mz9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount341?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MzQxP2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "9a938eba-5bc9-4e8f-a4b0-b903bc2d552d" + "7fa0a1ed-73bd-42ba-855f-0aba7ecfb7c2" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ] }, - "ResponseBody": "", "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:20 GMT" + "Wed, 19 Sep 2018 22:51:12 GMT" ], "Pragma": [ "no-cache" ], "x-ms-request-id": [ - "westus:257193dd-3acf-4e17-9843-3f95260a2ac5" + "westus:23f2202e-12a3-490f-b8e2-2a27dc3db171" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1191" + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14997" ], "x-ms-correlation-request-id": [ - "a0c6f627-c595-48f8-bd28-6ce937e46362" + "aa6b1070-9409-48f1-8232-f1b4747b3f99" ], "x-ms-routing-request-id": [ - "WESTUS2:20170301T215720Z:a0c6f627-c595-48f8-bd28-6ce937e46362" + "WESTUS2:20180919T225113Z:aa6b1070-9409-48f1-8232-f1b4747b3f99" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "", "StatusCode": 200 } ], "Names": { - "CreateAndDeleteIntegrationAccountSession": [ - "IntegrationAccount7153", - "IntegrationAccountSession428" + "IntegrationAccountSessions_Delete_OK": [ + "IntegrationAccount341", + "IntegrationAccountSession1766" ] }, "Variables": { diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSessionScenarioTests/ListIntegrationAccountSessions.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSessionScenarioTests/IntegrationAccountSessions_Get_OK.json similarity index 50% rename from src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSessionScenarioTests/ListIntegrationAccountSessions.json rename to src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSessionScenarioTests/IntegrationAccountSessions_Get_OK.json index c050193094322..7df45a3c09208 100644 --- a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSessionScenarioTests/ListIntegrationAccountSessions.json +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSessionScenarioTests/IntegrationAccountSessions_Get_OK.json @@ -1,376 +1,376 @@ { "Entries": [ { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5161?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NTE2MT9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "91" - ], "x-ms-client-request-id": [ - "d8543539-4dc0-4777-8f82-87a103917f79" + "63e4c92c-d60c-4268-9c0b-87b5a2efb796" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ] }, - "ResponseBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5161\",\r\n \"name\": \"IntegrationAccount5161\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", "ResponseHeaders": { - "Content-Length": [ - "290" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:20 GMT" + "Wed, 19 Sep 2018 22:50:47 GMT" ], "Pragma": [ "no-cache" ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], "x-ms-request-id": [ - "westus:a7989ad1-5c72-41a3-9401-9c17876c7a79" + "2d4d9900-4984-4a60-a6f1-1e44520c1e78" + ], + "x-ms-correlation-request-id": [ + "2d4d9900-4984-4a60-a6f1-1e44520c1e78" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225048Z:2d4d9900-4984-4a60-a6f1-1e44520c1e78" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1192" + "X-Content-Type-Options": [ + "nosniff" ], - "x-ms-correlation-request-id": [ - "79380a47-a6d8-4aa9-a9cb-c278a61c2ee7" + "Content-Length": [ + "12" ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215721Z:79380a47-a6d8-4aa9-a9cb-c278a61c2ee7" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 201 + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5161/sessions/IntegrationAccountSession9663?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NTE2MS9zZXNzaW9ucy9JbnRlZ3JhdGlvbkFjY291bnRTZXNzaW9uOTY2Mz9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"content\": \"123\"\r\n },\r\n \"tags\": {\r\n \"IntegrationAccountSession\": \"IntegrationAccountSession9663\"\r\n }\r\n}", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "135" - ], "x-ms-client-request-id": [ - "c1590848-fa4e-4f2b-91d1-e78eba3523d0" + "a088b8bb-4c30-4dac-9d60-c8b1c1e16f0e" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ] }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"createdTime\": \"2017-03-01T21:57:21.8642439Z\",\r\n \"changedTime\": \"2017-03-01T21:57:21.8642439Z\",\r\n \"content\": \"123\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5161/sessions/IntegrationAccountSession9663\",\r\n \"name\": \"IntegrationAccountSession9663\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/sessions\",\r\n \"etag\": \"\\\"08587132014436133226\\\"\"\r\n}", "ResponseHeaders": { - "Content-Length": [ - "438" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:21 GMT" + "Wed, 19 Sep 2018 22:50:47 GMT" ], "Pragma": [ "no-cache" ], - "ETag": [ - "\"08587132014436133226\"" + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19998" ], "x-ms-request-id": [ - "westus:86df8b7d-6654-4293-88ee-25776fcfd2b9" + "55906163-c17d-4aa8-bda0-e145520c7eba" + ], + "x-ms-correlation-request-id": [ + "55906163-c17d-4aa8-bda0-e145520c7eba" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225048Z:55906163-c17d-4aa8-bda0-e145520c7eba" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1191" + "X-Content-Type-Options": [ + "nosniff" ], - "x-ms-correlation-request-id": [ - "a552c2af-630c-4125-b2bf-478497c48fb3" + "Content-Length": [ + "12" ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215721Z:a552c2af-630c-4125-b2bf-478497c48fb3" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 201 + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5161/sessions/IntegrationAccountSession6437?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NTE2MS9zZXNzaW9ucy9JbnRlZ3JhdGlvbkFjY291bnRTZXNzaW9uNjQzNz9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8605?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50ODYwNT9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"content\": \"123\"\r\n },\r\n \"tags\": {\r\n \"IntegrationAccountSession\": \"IntegrationAccountSession6437\"\r\n }\r\n}", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "135" - ], "x-ms-client-request-id": [ - "ea06b9cc-19d1-409b-a7f3-e5ee0e5d3913" + "cb48386b-0300-450f-b90b-b7b9cba17cae" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"createdTime\": \"2017-03-01T21:57:22.0199793Z\",\r\n \"changedTime\": \"2017-03-01T21:57:22.0199793Z\",\r\n \"content\": \"123\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5161/sessions/IntegrationAccountSession6437\",\r\n \"name\": \"IntegrationAccountSession6437\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/sessions\",\r\n \"etag\": \"\\\"08587132014434575868\\\"\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "438" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:21 GMT" + "Wed, 19 Sep 2018 22:50:48 GMT" ], "Pragma": [ "no-cache" ], - "ETag": [ - "\"08587132014434575868\"" - ], "x-ms-request-id": [ - "westus:22b7f9d6-ab5d-4b8b-9f4f-d41a114a2665" + "westus:62382c60-c892-44a0-8b16-6960c24d9650" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1190" + "1198" ], "x-ms-correlation-request-id": [ - "04b1d3cd-4cd3-46c7-b7b6-78b627753f14" + "2a4d9ac1-ee24-42c8-b4bf-0d8a711f1ae9" ], "x-ms-routing-request-id": [ - "WESTUS2:20170301T215721Z:04b1d3cd-4cd3-46c7-b7b6-78b627753f14" + "WESTUS2:20180919T225049Z:2a4d9ac1-ee24-42c8-b4bf-0d8a711f1ae9" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "307" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8605\",\r\n \"name\": \"IntegrationAccount8605\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", "StatusCode": 201 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5161/sessions/IntegrationAccountSession3603?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NTE2MS9zZXNzaW9ucy9JbnRlZ3JhdGlvbkFjY291bnRTZXNzaW9uMzYwMz9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8605/sessions/IntegrationAccountSession6083?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50ODYwNS9zZXNzaW9ucy9JbnRlZ3JhdGlvbkFjY291bnRTZXNzaW9uNjA4Mz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"content\": \"123\"\r\n },\r\n \"tags\": {\r\n \"IntegrationAccountSession\": \"IntegrationAccountSession3603\"\r\n }\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"content\": \"456\"\r\n },\r\n \"location\": \"westus\"\r\n}", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "135" - ], "x-ms-client-request-id": [ - "f60e0ca8-b9b0-4351-b7fe-32b77981784f" + "a41a2c48-2a48-4f87-b26e-294c13f2a846" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"createdTime\": \"2017-03-01T21:57:22.2130969Z\",\r\n \"changedTime\": \"2017-03-01T21:57:22.2130969Z\",\r\n \"content\": \"123\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5161/sessions/IntegrationAccountSession3603\",\r\n \"name\": \"IntegrationAccountSession3603\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/sessions\",\r\n \"etag\": \"\\\"08587132014432644715\\\"\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "438" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ], + "Content-Length": [ + "75" + ] + }, + "ResponseHeaders": { "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:21 GMT" + "Wed, 19 Sep 2018 22:50:49 GMT" ], "Pragma": [ "no-cache" ], "ETag": [ - "\"08587132014432644715\"" + "\"08586642094353631245\"" ], "x-ms-request-id": [ - "westus:12389f5d-9057-44ca-994d-1f3d981ada5c" + "westus:b2dd356e-8aea-47ae-b0a6-90b23a83cd15" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1189" + "1197" ], "x-ms-correlation-request-id": [ - "f7f763a8-3f1b-4a6b-aebc-d1d2275e7ebe" + "0db444a7-2f41-4160-8cec-7d825d4c3310" ], "x-ms-routing-request-id": [ - "WESTUS2:20170301T215722Z:f7f763a8-3f1b-4a6b-aebc-d1d2275e7ebe" + "WESTUS2:20180919T225050Z:0db444a7-2f41-4160-8cec-7d825d4c3310" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "438" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"createdTime\": \"2018-09-19T22:50:50.1144365Z\",\r\n \"changedTime\": \"2018-09-19T22:50:50.1144365Z\",\r\n \"content\": \"456\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8605/sessions/IntegrationAccountSession6083\",\r\n \"name\": \"IntegrationAccountSession6083\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/sessions\",\r\n \"etag\": \"\\\"08586642094353631245\\\"\"\r\n}", "StatusCode": 201 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5161/sessions?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NTE2MS9zZXNzaW9ucz9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8605/sessions/IntegrationAccountSession6083?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50ODYwNS9zZXNzaW9ucy9JbnRlZ3JhdGlvbkFjY291bnRTZXNzaW9uNjA4Mz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "4a7a4d16-f1ee-4343-a2e9-973b6605ab97" + "8f470f3c-f1e2-47da-a44a-b86335ee4a8d" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"createdTime\": \"2017-03-01T21:57:22.2130969Z\",\r\n \"changedTime\": \"2017-03-01T21:57:22.2133574Z\",\r\n \"content\": \"123\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5161/sessions/IntegrationAccountSession3603\",\r\n \"name\": \"IntegrationAccountSession3603\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/sessions\",\r\n \"etag\": \"\\\"08587132014432644715\\\"\"\r\n },\r\n {\r\n \"properties\": {\r\n \"createdTime\": \"2017-03-01T21:57:22.0199793Z\",\r\n \"changedTime\": \"2017-03-01T21:57:22.0208027Z\",\r\n \"content\": \"123\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5161/sessions/IntegrationAccountSession6437\",\r\n \"name\": \"IntegrationAccountSession6437\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/sessions\",\r\n \"etag\": \"\\\"08587132014434575868\\\"\"\r\n },\r\n {\r\n \"properties\": {\r\n \"createdTime\": \"2017-03-01T21:57:21.8642439Z\",\r\n \"changedTime\": \"2017-03-01T21:57:21.864496Z\",\r\n \"content\": \"123\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5161/sessions/IntegrationAccountSession9663\",\r\n \"name\": \"IntegrationAccountSession9663\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/sessions\",\r\n \"etag\": \"\\\"08587132014436133226\\\"\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:21 GMT" + "Wed, 19 Sep 2018 22:50:49 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" + "ETag": [ + "\"08586642094353631245\"" ], "Vary": [ - "Accept-Encoding", "Accept-Encoding" ], "x-ms-request-id": [ - "westus:3017f67e-1f11-498f-9bc3-4bdf727ec6c3" + "westus:48fb9566-ddf2-4550-b7c6-d06429bb033a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14660" + "11996" ], "x-ms-correlation-request-id": [ - "9ed97e57-fb37-479c-8592-9cae2a19489e" + "f62808a2-20d5-4f6b-afa8-bc89823bf98f" ], "x-ms-routing-request-id": [ - "WESTUS2:20170301T215722Z:9ed97e57-fb37-479c-8592-9cae2a19489e" + "WESTUS2:20180919T225050Z:f62808a2-20d5-4f6b-afa8-bc89823bf98f" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "437" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"createdTime\": \"2018-09-19T22:50:50.1144365Z\",\r\n \"changedTime\": \"2018-09-19T22:50:50.115259Z\",\r\n \"content\": \"456\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8605/sessions/IntegrationAccountSession6083\",\r\n \"name\": \"IntegrationAccountSession6083\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/sessions\",\r\n \"etag\": \"\\\"08586642094353631245\\\"\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount5161?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NTE2MT9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8605?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50ODYwNT9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "647c6b0a-6491-432f-920e-a65c74ff3d0c" + "4e388ce9-a812-43b2-a27b-a721c1eb20bc" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ] }, - "ResponseBody": "", "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:22 GMT" + "Wed, 19 Sep 2018 22:50:49 GMT" ], "Pragma": [ "no-cache" ], "x-ms-request-id": [ - "westus:f5b199a3-54d4-4be1-9da5-9a0627edbef8" + "westus:57565f64-d6a3-4cab-a287-0bfe162ed4e3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1188" + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14998" ], "x-ms-correlation-request-id": [ - "b61284d2-9eb2-4401-8278-b65c6db79b0b" + "d2f7de87-5e91-4c8c-8c3e-f3f5291356be" ], "x-ms-routing-request-id": [ - "WESTUS2:20170301T215723Z:b61284d2-9eb2-4401-8278-b65c6db79b0b" + "WESTUS2:20180919T225050Z:d2f7de87-5e91-4c8c-8c3e-f3f5291356be" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "", "StatusCode": 200 } ], "Names": { - "ListIntegrationAccountSessions": [ - "IntegrationAccount5161", - "IntegrationAccountSession9663", - "IntegrationAccountSession6437", - "IntegrationAccountSession3603" + "IntegrationAccountSessions_Get_OK": [ + "IntegrationAccount8605", + "IntegrationAccountSession6083" ] }, "Variables": { diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSessionScenarioTests/IntegrationAccountSessions_List_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSessionScenarioTests/IntegrationAccountSessions_List_OK.json new file mode 100644 index 0000000000000..aeec5cf4b4aed --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSessionScenarioTests/IntegrationAccountSessions_List_OK.json @@ -0,0 +1,512 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "081548d1-def9-4a1d-b843-8d9a3a157c8c" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:50:59 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11991" + ], + "x-ms-request-id": [ + "9b87b83c-00df-4c5e-80e1-fcd2c0f11ba1" + ], + "x-ms-correlation-request-id": [ + "9b87b83c-00df-4c5e-80e1-fcd2c0f11ba1" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225100Z:9b87b83c-00df-4c5e-80e1-fcd2c0f11ba1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "b528c749-1d7a-455a-abd2-56589f2eecaa" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:50:59 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19989" + ], + "x-ms-request-id": [ + "bfadacf8-1a52-4619-9c32-20fc99ab29cf" + ], + "x-ms-correlation-request-id": [ + "bfadacf8-1a52-4619-9c32-20fc99ab29cf" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225100Z:bfadacf8-1a52-4619-9c32-20fc99ab29cf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount365?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MzY1P2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "107eacdd-ec26-457c-bb45-6b68c24a9a51" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:51:00 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:ac657513-420f-4569-9515-1292b39b25c3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "31692d81-5915-40c2-8bb2-53ed164a6b7b" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225100Z:31692d81-5915-40c2-8bb2-53ed164a6b7b" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "305" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount365\",\r\n \"name\": \"IntegrationAccount365\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount365/sessions/IntegrationAccountSession7678?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MzY1L3Nlc3Npb25zL0ludGVncmF0aW9uQWNjb3VudFNlc3Npb243Njc4P2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"content\": \"456\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "65afc6dc-27dd-4bbb-9240-5e7f2a928cb0" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "75" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:51:01 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"08586642094239464950\"" + ], + "x-ms-request-id": [ + "westus:29495646-452d-447d-9e71-9c90ba34a35a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "a24fc957-653c-4b1c-93ec-518ae60fcc92" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225101Z:a24fc957-653c-4b1c-93ec-518ae60fcc92" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "437" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"createdTime\": \"2018-09-19T22:51:01.5310782Z\",\r\n \"changedTime\": \"2018-09-19T22:51:01.5310782Z\",\r\n \"content\": \"456\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount365/sessions/IntegrationAccountSession7678\",\r\n \"name\": \"IntegrationAccountSession7678\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/sessions\",\r\n \"etag\": \"\\\"08586642094239464950\\\"\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount365/sessions/IntegrationAccountSession9646?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MzY1L3Nlc3Npb25zL0ludGVncmF0aW9uQWNjb3VudFNlc3Npb245NjQ2P2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"content\": \"456\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "f4e8912b-e350-476c-972e-11e75f49b919" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "75" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:51:01 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"08586642094236842355\"" + ], + "x-ms-request-id": [ + "westus:7aab2886-cd2b-48f8-9a33-dd534edb4865" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "0cae4cd0-ce3d-4339-8171-916faa836fa2" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225101Z:0cae4cd0-ce3d-4339-8171-916faa836fa2" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "435" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"createdTime\": \"2018-09-19T22:51:01.793338Z\",\r\n \"changedTime\": \"2018-09-19T22:51:01.793338Z\",\r\n \"content\": \"456\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount365/sessions/IntegrationAccountSession9646\",\r\n \"name\": \"IntegrationAccountSession9646\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/sessions\",\r\n \"etag\": \"\\\"08586642094236842355\\\"\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount365/sessions/IntegrationAccountSession4586?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MzY1L3Nlc3Npb25zL0ludGVncmF0aW9uQWNjb3VudFNlc3Npb240NTg2P2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"content\": \"456\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "1f0c8be1-dfb2-4cab-807e-e3a42fc01950" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "75" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:51:01 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"08586642094236023312\"" + ], + "x-ms-request-id": [ + "westus:fca112bc-928f-4d44-aa3c-a91c8e44af6b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-correlation-request-id": [ + "7ade4403-b281-4ba7-8e38-83df653f5a25" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225101Z:7ade4403-b281-4ba7-8e38-83df653f5a25" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "437" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"createdTime\": \"2018-09-19T22:51:01.8752424Z\",\r\n \"changedTime\": \"2018-09-19T22:51:01.8752424Z\",\r\n \"content\": \"456\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount365/sessions/IntegrationAccountSession4586\",\r\n \"name\": \"IntegrationAccountSession4586\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/sessions\",\r\n \"etag\": \"\\\"08586642094236023312\\\"\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount365/sessions?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MzY1L3Nlc3Npb25zP2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "229b5096-dd4a-4707-9e40-ea291890294e" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:51:01 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:966ad429-f8b1-4edc-8a17-b4d83471d969" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11990" + ], + "x-ms-correlation-request-id": [ + "1c74c6f2-16cf-4812-860b-bdad3ef719c4" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225101Z:1c74c6f2-16cf-4812-860b-bdad3ef719c4" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "1324" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"createdTime\": \"2018-09-19T22:51:01.8752424Z\",\r\n \"changedTime\": \"2018-09-19T22:51:01.8759969Z\",\r\n \"content\": \"456\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount365/sessions/IntegrationAccountSession4586\",\r\n \"name\": \"IntegrationAccountSession4586\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/sessions\",\r\n \"etag\": \"\\\"08586642094236023312\\\"\"\r\n },\r\n {\r\n \"properties\": {\r\n \"createdTime\": \"2018-09-19T22:51:01.5310782Z\",\r\n \"changedTime\": \"2018-09-19T22:51:01.5317956Z\",\r\n \"content\": \"456\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount365/sessions/IntegrationAccountSession7678\",\r\n \"name\": \"IntegrationAccountSession7678\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/sessions\",\r\n \"etag\": \"\\\"08586642094239464950\\\"\"\r\n },\r\n {\r\n \"properties\": {\r\n \"createdTime\": \"2018-09-19T22:51:01.793338Z\",\r\n \"changedTime\": \"2018-09-19T22:51:01.7940149Z\",\r\n \"content\": \"456\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount365/sessions/IntegrationAccountSession9646\",\r\n \"name\": \"IntegrationAccountSession9646\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/sessions\",\r\n \"etag\": \"\\\"08586642094236842355\\\"\"\r\n }\r\n ]\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount365?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50MzY1P2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "61f410c2-6be6-44c1-bf71-708af83e060e" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:51:02 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:ba1c853e-310c-4c85-bdfd-0f0704c922f3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "a86eb01b-7420-43f2-a203-7ae4d1a30cc3" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225102Z:a86eb01b-7420-43f2-a203-7ae4d1a30cc3" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "IntegrationAccountSessions_List_OK": [ + "IntegrationAccount365", + "IntegrationAccountSession7678", + "IntegrationAccountSession9646", + "IntegrationAccountSession4586" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSessionScenarioTests/CreateIntegrationAccountSessionUsingFile.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSessionScenarioTests/IntegrationAccountSessions_Update_OK.json similarity index 54% rename from src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSessionScenarioTests/CreateIntegrationAccountSessionUsingFile.json rename to src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSessionScenarioTests/IntegrationAccountSessions_Update_OK.json index 1ae43f5beaa62..b760dffd56c1b 100644 --- a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSessionScenarioTests/CreateIntegrationAccountSessionUsingFile.json +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountSessionScenarioTests/IntegrationAccountSessions_Update_OK.json @@ -1,317 +1,382 @@ { "Entries": [ { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8650?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50ODY1MD9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "91" - ], "x-ms-client-request-id": [ - "dea19837-7076-49f1-9c90-889ce7344d18" + "ac54eae7-3f59-4566-8ae7-7feb497dbd10" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ] }, - "ResponseBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8650\",\r\n \"name\": \"IntegrationAccount8650\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:50:43 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-request-id": [ + "7aa78d5b-290a-4000-9f0f-98687122c47a" + ], + "x-ms-correlation-request-id": [ + "7aa78d5b-290a-4000-9f0f-98687122c47a" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225043Z:7aa78d5b-290a-4000-9f0f-98687122c47a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], "Content-Length": [ - "290" + "12" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "3c3d1b0e-d4ef-4970-9216-0974bf409e91" ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:11 GMT" + "Wed, 19 Sep 2018 22:50:43 GMT" ], "Pragma": [ "no-cache" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19992" + ], "x-ms-request-id": [ - "westus:d855df9c-72db-458e-841d-f5ddda4085ab" + "6d56b6d1-4689-4c27-bd12-959452996d2f" + ], + "x-ms-correlation-request-id": [ + "6d56b6d1-4689-4c27-bd12-959452996d2f" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225044Z:6d56b6d1-4689-4c27-bd12-959452996d2f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1191" + "X-Content-Type-Options": [ + "nosniff" ], - "x-ms-correlation-request-id": [ - "da89053a-c1f6-4b55-81b0-09861bd81f8e" + "Content-Length": [ + "12" ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215711Z:da89053a-c1f6-4b55-81b0-09861bd81f8e" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 201 + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8650/sessions/IntegrationAccountSession9748?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50ODY1MC9zZXNzaW9ucy9JbnRlZ3JhdGlvbkFjY291bnRTZXNzaW9uOTc0OD9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7753?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50Nzc1Mz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"content\": \"456\"\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"IntegrationAccountSession\": \"IntegrationAccountSession9748\"\r\n }\r\n}", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "160" - ], "x-ms-client-request-id": [ - "21ad1d80-fc09-4306-8db8-8fcec1275072" + "63d83c5c-8ec4-4fcf-a6e2-407a8bc63006" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"createdTime\": \"2017-03-01T21:57:12.0003723Z\",\r\n \"changedTime\": \"2017-03-01T21:57:12.0003723Z\",\r\n \"content\": \"456\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8650/sessions/IntegrationAccountSession9748\",\r\n \"name\": \"IntegrationAccountSession9748\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/sessions\",\r\n \"etag\": \"\\\"08587132014534771921\\\"\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "438" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ], + "Content-Length": [ + "91" + ] + }, + "ResponseHeaders": { "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:11 GMT" + "Wed, 19 Sep 2018 22:50:44 GMT" ], "Pragma": [ "no-cache" ], - "ETag": [ - "\"08587132014534771921\"" - ], "x-ms-request-id": [ - "westus:fb4bc551-7004-4248-ae93-8f3860c7de47" + "westus:8dd3706c-b0f5-4e3f-9ff1-b345ca82bb44" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1190" + "1197" ], "x-ms-correlation-request-id": [ - "22d38c08-7d09-4beb-aaaf-63fd15958800" + "275e1646-1c15-4fef-b580-775829854dd6" ], "x-ms-routing-request-id": [ - "WESTUS2:20170301T215712Z:22d38c08-7d09-4beb-aaaf-63fd15958800" + "WESTUS2:20180919T225044Z:275e1646-1c15-4fef-b580-775829854dd6" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "307" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7753\",\r\n \"name\": \"IntegrationAccount7753\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", "StatusCode": 201 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8650/sessions/IntegrationAccountSession4354?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50ODY1MC9zZXNzaW9ucy9JbnRlZ3JhdGlvbkFjY291bnRTZXNzaW9uNDM1ND9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7753/sessions/IntegrationAccountSession6061?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50Nzc1My9zZXNzaW9ucy9JbnRlZ3JhdGlvbkFjY291bnRTZXNzaW9uNjA2MT9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"content\": \"456\"\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"IntegrationAccountSession\": \"IntegrationAccountSession4354\"\r\n }\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"content\": \"456\"\r\n },\r\n \"location\": \"westus\"\r\n}", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "160" - ], "x-ms-client-request-id": [ - "1efad639-eb1d-4f10-9c88-fe861c0e07c9" + "80ecde17-443b-4a7a-8b37-69d5f1ce13fc" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"createdTime\": \"2017-03-01T21:57:12.0887759Z\",\r\n \"changedTime\": \"2017-03-01T21:57:12.0887759Z\",\r\n \"content\": \"456\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8650/sessions/IntegrationAccountSession4354\",\r\n \"name\": \"IntegrationAccountSession4354\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/sessions\",\r\n \"etag\": \"\\\"08587132014533887950\\\"\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "438" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ], + "Content-Length": [ + "75" + ] + }, + "ResponseHeaders": { "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:11 GMT" + "Wed, 19 Sep 2018 22:50:44 GMT" ], "Pragma": [ "no-cache" ], "ETag": [ - "\"08587132014533887950\"" + "\"08586642094405914533\"" ], "x-ms-request-id": [ - "westus:e538b99c-ce7e-449e-ad7b-9b3f4f3cce2f" + "westus:36412e17-59dc-4b52-a115-b78466cdb094" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1189" + "1196" ], "x-ms-correlation-request-id": [ - "479610ea-9cd3-4b66-bc9f-167aa6dcd0cd" + "54fc990e-7cda-4ba2-be05-2fb8a3b2b332" ], "x-ms-routing-request-id": [ - "WESTUS2:20170301T215712Z:479610ea-9cd3-4b66-bc9f-167aa6dcd0cd" + "WESTUS2:20180919T225044Z:54fc990e-7cda-4ba2-be05-2fb8a3b2b332" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "438" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"createdTime\": \"2018-09-19T22:50:44.8861196Z\",\r\n \"changedTime\": \"2018-09-19T22:50:44.8861196Z\",\r\n \"content\": \"456\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7753/sessions/IntegrationAccountSession6061\",\r\n \"name\": \"IntegrationAccountSession6061\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/sessions\",\r\n \"etag\": \"\\\"08586642094405914533\\\"\"\r\n}", "StatusCode": 201 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8650/sessions/IntegrationAccountSession1198?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50ODY1MC9zZXNzaW9ucy9JbnRlZ3JhdGlvbkFjY291bnRTZXNzaW9uMTE5OD9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7753/sessions/IntegrationAccountSession6061?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50Nzc1My9zZXNzaW9ucy9JbnRlZ3JhdGlvbkFjY291bnRTZXNzaW9uNjA2MT9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"content\": \"456\"\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"IntegrationAccountSession\": \"IntegrationAccountSession1198\"\r\n }\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"content\": \"456\"\r\n },\r\n \"location\": \"westus\"\r\n}", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "160" - ], "x-ms-client-request-id": [ - "f6b47106-1ee8-40fd-b138-4f3a62f67a66" + "33022a41-5a51-4267-acd7-6ec2e8e0eb50" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"createdTime\": \"2017-03-01T21:57:12.1701762Z\",\r\n \"changedTime\": \"2017-03-01T21:57:12.1701762Z\",\r\n \"content\": \"456\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8650/sessions/IntegrationAccountSession1198\",\r\n \"name\": \"IntegrationAccountSession1198\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/sessions\",\r\n \"etag\": \"\\\"08587132014533073950\\\"\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "438" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ], + "Content-Length": [ + "75" + ] + }, + "ResponseHeaders": { "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:11 GMT" + "Wed, 19 Sep 2018 22:50:44 GMT" ], "Pragma": [ "no-cache" ], "ETag": [ - "\"08587132014533073950\"" + "\"08586642094404012715\"" + ], + "Vary": [ + "Accept-Encoding" ], "x-ms-request-id": [ - "westus:498b9f93-2697-4777-a04f-2d1d27d23503" + "westus:9c934ae7-fc05-4865-8c40-72f3d7b64b55" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1188" + "1195" ], "x-ms-correlation-request-id": [ - "54d51dfd-9be9-47d8-a9d9-699be6a2ca05" + "da72698a-d8a5-4e2d-ba44-d817ca7a6a28" ], "x-ms-routing-request-id": [ - "WESTUS2:20170301T215712Z:54d51dfd-9be9-47d8-a9d9-699be6a2ca05" + "WESTUS2:20180919T225045Z:da72698a-d8a5-4e2d-ba44-d817ca7a6a28" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "438" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 201 + "ResponseBody": "{\r\n \"properties\": {\r\n \"createdTime\": \"2018-09-19T22:50:44.8861196Z\",\r\n \"changedTime\": \"2018-09-19T22:50:44.8862065Z\",\r\n \"content\": \"456\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7753/sessions/IntegrationAccountSession6061\",\r\n \"name\": \"IntegrationAccountSession6061\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts/sessions\",\r\n \"etag\": \"\\\"08586642094404012715\\\"\"\r\n}", + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8650?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50ODY1MD9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7753?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50Nzc1Mz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "076268d0-eeb0-4009-b187-d5c026539097" + "fa6ab14f-b97f-4a8f-be91-c41c1f2f0089" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ] }, - "ResponseBody": "", "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:57:12 GMT" + "Wed, 19 Sep 2018 22:50:45 GMT" ], "Pragma": [ "no-cache" ], "x-ms-request-id": [ - "westus:f41e8454-a0d6-49c4-bc65-242d0b79eb45" + "westus:69b11438-52af-42be-af76-6c712e91d970" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1187" + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14998" ], "x-ms-correlation-request-id": [ - "4a3a47d3-6dc2-4029-869d-b5b7a08e5e5e" + "3320d885-b01a-4ebe-8da3-d63b2f57d8c2" ], "x-ms-routing-request-id": [ - "WESTUS2:20170301T215712Z:4a3a47d3-6dc2-4029-869d-b5b7a08e5e5e" + "WESTUS2:20180919T225045Z:3320d885-b01a-4ebe-8da3-d63b2f57d8c2" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "", "StatusCode": 200 } ], "Names": { - "CreateIntegrationAccountSessionUsingFile": [ - "IntegrationAccount8650", - "IntegrationAccountSession9748", - "IntegrationAccountSession1198", - "IntegrationAccountSession4354" + "IntegrationAccountSessions_Update_OK": [ + "IntegrationAccount7753", + "IntegrationAccountSession6061" ] }, "Variables": { diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.OperationsScenarioTests/Operations_List_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.OperationsScenarioTests/Operations_List_OK.json new file mode 100644 index 0000000000000..2dff55b9409c3 --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.OperationsScenarioTests/Operations_List_OK.json @@ -0,0 +1,69 @@ +{ + "Entries": [ + { + "RequestUri": "/providers/Microsoft.Logic/operations?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuTG9naWMvb3BlcmF0aW9ucz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "95226503-361a-4624-a956-a0e438550144" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:18 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus2:0334ecb4-d914-4b64-8c53-79f2c3ff2c1f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-tenant-reads": [ + "11998" + ], + "x-ms-correlation-request-id": [ + "b86fa51e-501f-45cb-86cc-2dd9811e25c6" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224819Z:b86fa51e-501f-45cb-86cc-2dd9811e25c6" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "39814" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"name\": \"Microsoft.Logic/operations/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Operation\",\r\n \"operation\": \"Get Operation\",\r\n \"description\": \"Gets the operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/register/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Resource Provider\",\r\n \"operation\": \"Register Resource Provider\",\r\n \"description\": \"Registers the Microsoft.Logic resource provider for a given subscription.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/locations/workflows/validate/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Workflow\",\r\n \"operation\": \"Validate Workflow\",\r\n \"description\": \"Validates the workflow.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/workflows/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Workflow\",\r\n \"operation\": \"Get Workflow\",\r\n \"description\": \"Reads the workflow.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/workflows/write\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Workflow\",\r\n \"operation\": \"Set Workflow\",\r\n \"description\": \"Creates or updates the workflow.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/workflows/delete\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Workflow\",\r\n \"operation\": \"Delete Workflow\",\r\n \"description\": \"Deletes the workflow.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/workflows/run/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Workflow\",\r\n \"operation\": \"Run Workflow\",\r\n \"description\": \"Starts a run of the workflow.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/workflows/disable/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Workflow\",\r\n \"operation\": \"Disable Workflow\",\r\n \"description\": \"Disables the workflow.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/workflows/enable/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Workflow\",\r\n \"operation\": \"Enable Workflow\",\r\n \"description\": \"Enables the workflow.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/workflows/suspend/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Workflow\",\r\n \"operation\": \"Suspend Workflow\",\r\n \"description\": \"Suspends the workflow.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/workflows/validate/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Workflow\",\r\n \"operation\": \"Validate Workflow\",\r\n \"description\": \"Validates the workflow.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/workflows/move/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Workflow\",\r\n \"operation\": \"Move Workflow\",\r\n \"description\": \"Moves Workflow from its existing subscription id, resource group, and/or name to a different subscription id, resource group, and/or name.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/workflows/listSwagger/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Workflow\",\r\n \"operation\": \"Get workflow swagger\",\r\n \"description\": \"Gets the workflow swagger definitions.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/workflows/versions/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Workflow Version\",\r\n \"operation\": \"Get Workflow Version\",\r\n \"description\": \"Reads the workflow version.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/workflows/versions/triggers/listCallbackUrl/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Trigger\",\r\n \"operation\": \"List Trigger Callback URL\",\r\n \"description\": \"Gets the callback URL for trigger.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/workflows/accessKeys/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Access Key\",\r\n \"operation\": \"Get Access Key\",\r\n \"description\": \"Reads the access key.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/workflows/accessKeys/write\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Access Key\",\r\n \"operation\": \"Set Access Key\",\r\n \"description\": \"Creates or updates the access key.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/workflows/accessKeys/delete\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Access Key\",\r\n \"operation\": \"Delete Access Key\",\r\n \"description\": \"Deletes the access key.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/workflows/accessKeys/list/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Access Key\",\r\n \"operation\": \"List Access Key\",\r\n \"description\": \"Lists the access key secrets.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/workflows/accessKeys/regenerate/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Access Key\",\r\n \"operation\": \"Regenerate Access Key\",\r\n \"description\": \"Regenerates the access key secrets.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/workflows/regenerateAccessKey/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Access Key\",\r\n \"operation\": \"Regenerate Access Key\",\r\n \"description\": \"Regenerates the access key secrets.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/workflows/listCallbackUrl/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Workflow\",\r\n \"operation\": \"List workflow callback URL\",\r\n \"description\": \"Gets the callback URL for workflow.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/workflows/triggers/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Trigger\",\r\n \"operation\": \"Get Trigger\",\r\n \"description\": \"Reads the trigger.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/workflows/triggers/run/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Trigger\",\r\n \"operation\": \"Trigger Run\",\r\n \"description\": \"Executes the trigger.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/workflows/triggers/reset/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Trigger\",\r\n \"operation\": \"Trigger Reset\",\r\n \"description\": \"Resets the trigger.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/workflows/triggers/setState/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Trigger\",\r\n \"operation\": \"Set Trigger State\",\r\n \"description\": \"Sets the trigger state.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/workflows/triggers/histories/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Trigger Histories\",\r\n \"operation\": \"Get Trigger Histories\",\r\n \"description\": \"Reads the trigger histories.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/workflows/triggers/histories/resubmit/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Trigger Histories\",\r\n \"operation\": \"Resubmit trigger\",\r\n \"description\": \"Resubmits the workflow trigger.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/workflows/triggers/listCallbackUrl/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Trigger\",\r\n \"operation\": \"List Trigger Callback URL\",\r\n \"description\": \"Gets the callback URL for trigger.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/workflows/runs/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Workflow Run\",\r\n \"operation\": \"Get Workflow Run\",\r\n \"description\": \"Reads the workflow run.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/workflows/runs/cancel/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Workflow Run\",\r\n \"operation\": \"Cancel Workflow Run\",\r\n \"description\": \"Cancels the run of a workflow.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/workflows/runs/operations/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Workflow Run Operation\",\r\n \"operation\": \"Get Workflow Run Operation Status\",\r\n \"description\": \"Reads the workflow run operation status.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/workflows/runs/actions/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Workflow Run Action\",\r\n \"operation\": \"Get Workflow Run Action\",\r\n \"description\": \"Reads the workflow run action.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/workflows/runs/actions/repetitions/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Workflow Run Action Repetition\",\r\n \"operation\": \"Get Workflow Run Action Repetition\",\r\n \"description\": \"Reads the workflow run action repetition.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/workflows/runs/actions/scoperepetitions/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Workflow Run Action Scope Repetition\",\r\n \"operation\": \"Get Workflow Run Action Scope Repetition\",\r\n \"description\": \"Reads the workflow run action scope repetition.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/workflows/runs/actions/requestHistories/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Workflow run action request history\",\r\n \"operation\": \"Gets the workflow run action request history\",\r\n \"description\": \"Reads the workflow run action request history.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/workflows/runs/actions/repetitions/requestHistories/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Workflow run repetition action request history\",\r\n \"operation\": \"Gets the workflow run repetition action request history\",\r\n \"description\": \"Reads the workflow run repetition action request history.\"\r\n }\r\n },\r\n {\r\n \"origin\": \"System\",\r\n \"name\": \"Microsoft.Logic/workflows/providers/Microsoft.Insights/diagnosticSettings/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Workflow Diagnostic Setting\",\r\n \"operation\": \"Get Workflow Diagnostic Setting\",\r\n \"description\": \"Reads the workflow diagnostic settings.\"\r\n }\r\n },\r\n {\r\n \"origin\": \"System\",\r\n \"name\": \"Microsoft.Logic/workflows/providers/Microsoft.Insights/diagnosticSettings/write\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Workflow Diagnostic Setting\",\r\n \"operation\": \"Set Workflow Diagnostic Setting\",\r\n \"description\": \"Creates or updates the workflow diagnostic setting.\"\r\n }\r\n },\r\n {\r\n \"origin\": \"System\",\r\n \"name\": \"Microsoft.Logic/workflows/providers/Microsoft.Insights/metricDefinitions/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Workflow Metric Definition\",\r\n \"operation\": \"Get Workflow Metric Definition\",\r\n \"description\": \"Reads the workflow metric definitions.\"\r\n },\r\n \"properties\": {\r\n \"serviceSpecification\": {\r\n \"metricSpecifications\": [\r\n {\r\n \"name\": \"RunsStarted\",\r\n \"displayName\": \"Runs Started\",\r\n \"displayDescription\": \"Number of workflow runs started.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"RunsCompleted\",\r\n \"displayName\": \"Runs Completed\",\r\n \"displayDescription\": \"Number of workflow runs completed.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"RunsSucceeded\",\r\n \"displayName\": \"Runs Succeeded\",\r\n \"displayDescription\": \"Number of workflow runs succeeded.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"RunsFailed\",\r\n \"displayName\": \"Runs Failed\",\r\n \"displayDescription\": \"Number of workflow runs failed.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"RunsCancelled\",\r\n \"displayName\": \"Runs Cancelled\",\r\n \"displayDescription\": \"Number of workflow runs cancelled.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"RunLatency\",\r\n \"displayName\": \"Run Latency\",\r\n \"displayDescription\": \"Latency of completed workflow runs.\",\r\n \"unit\": \"Seconds\",\r\n \"aggregationType\": \"Average\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": false\r\n },\r\n {\r\n \"name\": \"RunSuccessLatency\",\r\n \"displayName\": \"Run Success Latency\",\r\n \"displayDescription\": \"Latency of succeeded workflow runs.\",\r\n \"unit\": \"Seconds\",\r\n \"aggregationType\": \"Average\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": false\r\n },\r\n {\r\n \"name\": \"RunThrottledEvents\",\r\n \"displayName\": \"Run Throttled Events\",\r\n \"displayDescription\": \"Number of workflow action or trigger throttled events.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"RunFailurePercentage\",\r\n \"displayName\": \"Run Failure Percentage\",\r\n \"displayDescription\": \"Percentage of workflow runs failed.\",\r\n \"unit\": \"Percent\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"ActionsStarted\",\r\n \"displayName\": \"Actions Started \",\r\n \"displayDescription\": \"Number of workflow actions started.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"ActionsCompleted\",\r\n \"displayName\": \"Actions Completed \",\r\n \"displayDescription\": \"Number of workflow actions completed.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"ActionsSucceeded\",\r\n \"displayName\": \"Actions Succeeded \",\r\n \"displayDescription\": \"Number of workflow actions succeeded.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"ActionsFailed\",\r\n \"displayName\": \"Actions Failed \",\r\n \"displayDescription\": \"Number of workflow actions failed.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"ActionsSkipped\",\r\n \"displayName\": \"Actions Skipped \",\r\n \"displayDescription\": \"Number of workflow actions skipped.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"ActionLatency\",\r\n \"displayName\": \"Action Latency \",\r\n \"displayDescription\": \"Latency of completed workflow actions.\",\r\n \"unit\": \"Seconds\",\r\n \"aggregationType\": \"Average\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": false\r\n },\r\n {\r\n \"name\": \"ActionSuccessLatency\",\r\n \"displayName\": \"Action Success Latency \",\r\n \"displayDescription\": \"Latency of succeeded workflow actions.\",\r\n \"unit\": \"Seconds\",\r\n \"aggregationType\": \"Average\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": false\r\n },\r\n {\r\n \"name\": \"ActionThrottledEvents\",\r\n \"displayName\": \"Action Throttled Events\",\r\n \"displayDescription\": \"Number of workflow action throttled events..\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"TriggersStarted\",\r\n \"displayName\": \"Triggers Started \",\r\n \"displayDescription\": \"Number of workflow triggers started.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"TriggersCompleted\",\r\n \"displayName\": \"Triggers Completed \",\r\n \"displayDescription\": \"Number of workflow triggers completed.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"TriggersSucceeded\",\r\n \"displayName\": \"Triggers Succeeded \",\r\n \"displayDescription\": \"Number of workflow triggers succeeded.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"TriggersFailed\",\r\n \"displayName\": \"Triggers Failed \",\r\n \"displayDescription\": \"Number of workflow triggers failed.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"TriggersSkipped\",\r\n \"displayName\": \"Triggers Skipped\",\r\n \"displayDescription\": \"Number of workflow triggers skipped.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"TriggersFired\",\r\n \"displayName\": \"Triggers Fired \",\r\n \"displayDescription\": \"Number of workflow triggers fired.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"TriggerLatency\",\r\n \"displayName\": \"Trigger Latency \",\r\n \"displayDescription\": \"Latency of completed workflow triggers.\",\r\n \"unit\": \"Seconds\",\r\n \"aggregationType\": \"Average\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": false\r\n },\r\n {\r\n \"name\": \"TriggerFireLatency\",\r\n \"displayName\": \"Trigger Fire Latency \",\r\n \"displayDescription\": \"Latency of fired workflow triggers.\",\r\n \"unit\": \"Seconds\",\r\n \"aggregationType\": \"Average\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": false\r\n },\r\n {\r\n \"name\": \"TriggerSuccessLatency\",\r\n \"displayName\": \"Trigger Success Latency \",\r\n \"displayDescription\": \"Latency of succeeded workflow triggers.\",\r\n \"unit\": \"Seconds\",\r\n \"aggregationType\": \"Average\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": false\r\n },\r\n {\r\n \"name\": \"TriggerThrottledEvents\",\r\n \"displayName\": \"Trigger Throttled Events\",\r\n \"displayDescription\": \"Number of workflow trigger throttled events.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"BillableActionExecutions\",\r\n \"displayName\": \"Billable Action Executions\",\r\n \"displayDescription\": \"Number of workflow action executions getting billed.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"BillableTriggerExecutions\",\r\n \"displayName\": \"Billable Trigger Executions\",\r\n \"displayDescription\": \"Number of workflow trigger executions getting billed.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"TotalBillableExecutions\",\r\n \"displayName\": \"Total Billable Executions\",\r\n \"displayDescription\": \"Number of workflow executions getting billed.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"BillingUsageNativeOperation\",\r\n \"displayName\": \"Billing Usage for Native Operation Executions\",\r\n \"displayDescription\": \"Number of native operation executions getting billed.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"BillingUsageStandardConnector\",\r\n \"displayName\": \"Billing Usage for Standard Connector Executions\",\r\n \"displayDescription\": \"Number of standard connector executions getting billed.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"BillingUsageStorageConsumption\",\r\n \"displayName\": \"Billing Usage for Storage Consumption Executions\",\r\n \"displayDescription\": \"Number of storage consumption executions getting billed.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"BillingUsageNativeOperation\",\r\n \"displayName\": \"Billing Usage for Native Operation Executions\",\r\n \"displayDescription\": \"Number of native operation executions getting billed.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"BillingUsageStandardConnector\",\r\n \"displayName\": \"Billing Usage for Standard Connector Executions\",\r\n \"displayDescription\": \"Number of standard connector executions getting billed.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"BillingUsageStorageConsumption\",\r\n \"displayName\": \"Billing Usage for Storage Consumption Executions\",\r\n \"displayDescription\": \"Number of storage consumption executions getting billed.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n {\r\n \"origin\": \"System\",\r\n \"name\": \"Microsoft.Logic/workflows/providers/Microsoft.Insights/logDefinitions/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Workflow Log Definition\",\r\n \"operation\": \"Get Workflow Log Definition\",\r\n \"description\": \"Reads the workflow log definitions.\"\r\n },\r\n \"properties\": {\r\n \"serviceSpecification\": {\r\n \"logSpecifications\": [\r\n {\r\n \"name\": \"WorkflowRuntime\",\r\n \"displayName\": \"Workflow runtime diagnostic events\",\r\n \"description\": \"Diagnostic events related to workflow runtime executions.\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/workflows/runs/actions/listExpressionTraces/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Workflow Run Action\",\r\n \"operation\": \"List Workflow Run Action Expression Traces\",\r\n \"description\": \"Gets the workflow run action expression traces.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/workflows/runs/actions/repetitions/listExpressionTraces/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Workflow Run Action Repetition\",\r\n \"operation\": \"List Workflow Run Action Repetition Expression Traces\",\r\n \"description\": \"Gets the workflow run action repetition expression traces.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/locations/workflows/recommendOperationGroups/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Workflow recommend operation group\",\r\n \"operation\": \"Gets workflow recommend operation groups\",\r\n \"description\": \"Gets the workflow recommend operation groups.\"\r\n }\r\n },\r\n {\r\n \"origin\": \"System\",\r\n \"name\": \"Microsoft.Logic/integrationAccounts/providers/Microsoft.Insights/logDefinitions/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Integration Account Log Definition\",\r\n \"operation\": \"Get Integration Account Log Definition\",\r\n \"description\": \"Reads the Integration Account log definitions.\"\r\n },\r\n \"properties\": {\r\n \"serviceSpecification\": {\r\n \"logSpecifications\": [\r\n {\r\n \"name\": \"IntegrationAccountTrackingEvents\",\r\n \"displayName\": \"Integration Account track events\",\r\n \"description\": \"Track events related to Integration Account.\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/integrationAccounts/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Integration Account\",\r\n \"operation\": \"Get Integration Account\",\r\n \"description\": \"Reads the integration account.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/integrationAccounts/write\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Integration Account\",\r\n \"operation\": \"Set Integration Account\",\r\n \"description\": \"Creates or updates the integration account.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/integrationAccounts/delete\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Integration Account\",\r\n \"operation\": \"Delete Integration Account\",\r\n \"description\": \"Deletes the integration account.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/integrationAccounts/regenerateAccessKey/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Integration Account\",\r\n \"operation\": \"Regenerate Access Key\",\r\n \"description\": \"Regenerates the access key secrets.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/integrationAccounts/listCallbackUrl/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Integration Account\",\r\n \"operation\": \"List Integration Account Callback URL\",\r\n \"description\": \"Gets the callback URL for integration account.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/integrationAccounts/listKeyVaultKeys/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Integration Account\",\r\n \"operation\": \"List Key Vault Keys\",\r\n \"description\": \"Gets the keys in the key vault.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/integrationAccounts/logTrackingEvents/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Integration Account\",\r\n \"operation\": \"Log Integration Account Tracking Events\",\r\n \"description\": \"Logs the tracking events in the integration account.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/integrationAccounts/join/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Integration Account\",\r\n \"operation\": \"Join Integration Account\",\r\n \"description\": \"Joins the Integration Account.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/integrationAccounts/partners/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Integration Account Partner\",\r\n \"operation\": \"Get Integration Account Partner\",\r\n \"description\": \"Reads the parter in integration account.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/integrationAccounts/partners/write\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Integration Account Partner\",\r\n \"operation\": \"Set Integration Account Partner\",\r\n \"description\": \"Creates or updates the partner in integration account.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/integrationAccounts/partners/delete\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Integration Account Partner\",\r\n \"operation\": \"Delete Integration Account Partner\",\r\n \"description\": \"Deletes the partner in integration account.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/integrationAccounts/partners/listContentCallbackUrl/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Integration Account Partner\",\r\n \"operation\": \"List Integration Account Partner Content Callback URL\",\r\n \"description\": \"Gets the callback URL for partner content in integration account.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/integrationAccounts/agreements/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Integration Account Agreement\",\r\n \"operation\": \"Get Integration Account Agreement\",\r\n \"description\": \"Reads the agreement in integration account.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/integrationAccounts/agreements/write\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Integration Account Agreement\",\r\n \"operation\": \"Set Integration Account Agreement\",\r\n \"description\": \"Creates or updates the agreement in integration account.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/integrationAccounts/agreements/delete\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Integration Account Agreement\",\r\n \"operation\": \"Delete Integration Account Agreement\",\r\n \"description\": \"Deletes the agreement in integration account.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/integrationAccounts/agreements/listContentCallbackUrl/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Integration Account Agreement\",\r\n \"operation\": \"List Integration Account Agreement Content Callback URL\",\r\n \"description\": \"Gets the callback URL for agreement content in integration account.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/integrationAccounts/certificates/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Integration Account Certificate\",\r\n \"operation\": \"Get Integration Account Certificate\",\r\n \"description\": \"Reads the certificate in integration account.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/integrationAccounts/certificates/write\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Integration Account Certificate\",\r\n \"operation\": \"Set Integration Account Certificate\",\r\n \"description\": \"Creates or updates the certificate in integration account.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/integrationAccounts/certificates/delete\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Integration Account Certificate\",\r\n \"operation\": \"Delete Integration Account Certificate\",\r\n \"description\": \"Deletes the certificate in integration account.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/integrationAccounts/schemas/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Integration Account Schema\",\r\n \"operation\": \"Get Integration Account Schema\",\r\n \"description\": \"Reads the schema in integration account.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/integrationAccounts/schemas/write\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Integration Account Schema\",\r\n \"operation\": \"Set Integration Account Schema\",\r\n \"description\": \"Creates or updates the schema in integration account.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/integrationAccounts/schemas/delete\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Integration Account Schema\",\r\n \"operation\": \"Delete Integration Account Schema\",\r\n \"description\": \"Deletes the schema in integration account.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/integrationAccounts/schemas/listContentCallbackUrl/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Integration Account Schema\",\r\n \"operation\": \"List Integration Account Schema Content Callback URL\",\r\n \"description\": \"Gets the callback URL for schema content in integration account.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/integrationAccounts/maps/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Integration Account Map\",\r\n \"operation\": \"Get Integration Account Map\",\r\n \"description\": \"Reads the map in integration account.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/integrationAccounts/maps/write\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Integration Account Map\",\r\n \"operation\": \"Set Integration Account Map\",\r\n \"description\": \"Creates or updates the map in integration account.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/integrationAccounts/maps/delete\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Integration Account Map\",\r\n \"operation\": \"Delete Integration Account Map\",\r\n \"description\": \"Deletes the map in integration account.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/integrationAccounts/maps/listContentCallbackUrl/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Integration Account Map\",\r\n \"operation\": \"List Integration Account Map Content Callback URL\",\r\n \"description\": \"Gets the callback URL for map content in integration account.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/integrationAccounts/assemblies/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Integration Account Assembly\",\r\n \"operation\": \"Get Integration Account Assembly\",\r\n \"description\": \"Reads the assembly in integration account.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/integrationAccounts/assemblies/write\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Integration Account Assembly\",\r\n \"operation\": \"Set Integration Account Assembly\",\r\n \"description\": \"Creates or updates the assembly in integration account.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/integrationAccounts/assemblies/delete\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Integration Account Assembly\",\r\n \"operation\": \"Delete Integration Account Assembly\",\r\n \"description\": \"Deletes the assembly in integration account.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/integrationAccounts/assemblies/listContentCallbackUrl/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Integration Account Assembly\",\r\n \"operation\": \"List Integration Account Assembly Content Callback URL\",\r\n \"description\": \"Gets the callback URL for assembly content in integration account.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/integrationAccounts/batchConfigurations/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Integration Account Batch Configuration\",\r\n \"operation\": \"Get Integration Account Batch Configuration\",\r\n \"description\": \"Reads the batch configuration in integration account.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/integrationAccounts/batchConfigurations/write\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Integration Account Batch Configuration\",\r\n \"operation\": \"Set Integration Account Batch Configuration\",\r\n \"description\": \"Creates or updates the batch configuration in integration account.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/integrationAccounts/batchConfigurations/delete\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Integration Account Batch Configuration\",\r\n \"operation\": \"Delete Integration Account Batch Configuration\",\r\n \"description\": \"Deletes the batch configuration in integration account.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/integrationAccounts/sessions/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Integration Account Session\",\r\n \"operation\": \"Get Integration Account Session\",\r\n \"description\": \"Reads the batch configuration in integration account.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/integrationAccounts/sessions/write\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Integration Account Session\",\r\n \"operation\": \"Set Integration Account Session\",\r\n \"description\": \"Creates or updates the session in integration account.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/integrationAccounts/sessions/delete\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Integration Account Session\",\r\n \"operation\": \"Delete Integration Account Session\",\r\n \"description\": \"Deletes the session in integration account.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/integrationServiceEnvironments/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Integration Service Environment\",\r\n \"operation\": \"Get Integration Service Environment\",\r\n \"description\": \"Reads the integration service environment.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/integrationServiceEnvironments/write\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Integration Service Environment\",\r\n \"operation\": \"Set Integration Service Environment\",\r\n \"description\": \"Creates or updates the integration service environment.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/integrationServiceEnvironments/delete\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Integration Service Environment\",\r\n \"operation\": \"Delete Integration Service Environment\",\r\n \"description\": \"Deletes the integration service environment.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/integrationServiceEnvironments/join/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Integration Service Environment\",\r\n \"operation\": \"Join Integration Service Environment\",\r\n \"description\": \"Joins the Integration Service Environment.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/integrationServiceEnvironments/managedApis/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Integration Service Environment Managed API\",\r\n \"operation\": \"Get Integration Service Environment managed API\",\r\n \"description\": \"Reads the integration service environment managed API.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/integrationServiceEnvironments/managedApis/apiOperations/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Integration Service Environment Managed API Operation\",\r\n \"operation\": \"Get Integration Service Environment managed API operation\",\r\n \"description\": \"Reads the integration service environment managed API operation.\"\r\n }\r\n },\r\n {\r\n \"origin\": \"System\",\r\n \"name\": \"Microsoft.Logic/integrationServiceEnvironments/providers/Microsoft.Insights/metricDefinitions/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Integration Service Environment Metric Definition\",\r\n \"operation\": \"Get Integration Service Environment Metric Definition\",\r\n \"description\": \"Reads the integration service environment metric definitions.\"\r\n },\r\n \"properties\": {\r\n \"serviceSpecification\": {\r\n \"metricSpecifications\": [\r\n {\r\n \"name\": \"RunsStarted\",\r\n \"displayName\": \"Runs Started\",\r\n \"displayDescription\": \"Number of workflow runs started.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"RunsCompleted\",\r\n \"displayName\": \"Runs Completed\",\r\n \"displayDescription\": \"Number of workflow runs completed.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"RunsSucceeded\",\r\n \"displayName\": \"Runs Succeeded\",\r\n \"displayDescription\": \"Number of workflow runs succeeded.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"RunsFailed\",\r\n \"displayName\": \"Runs Failed\",\r\n \"displayDescription\": \"Number of workflow runs failed.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"RunsCancelled\",\r\n \"displayName\": \"Runs Cancelled\",\r\n \"displayDescription\": \"Number of workflow runs cancelled.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"RunLatency\",\r\n \"displayName\": \"Run Latency\",\r\n \"displayDescription\": \"Latency of completed workflow runs.\",\r\n \"unit\": \"Seconds\",\r\n \"aggregationType\": \"Average\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": false\r\n },\r\n {\r\n \"name\": \"RunSuccessLatency\",\r\n \"displayName\": \"Run Success Latency\",\r\n \"displayDescription\": \"Latency of succeeded workflow runs.\",\r\n \"unit\": \"Seconds\",\r\n \"aggregationType\": \"Average\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": false\r\n },\r\n {\r\n \"name\": \"RunThrottledEvents\",\r\n \"displayName\": \"Run Throttled Events\",\r\n \"displayDescription\": \"Number of workflow action or trigger throttled events.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"RunFailurePercentage\",\r\n \"displayName\": \"Run Failure Percentage\",\r\n \"displayDescription\": \"Percentage of workflow runs failed.\",\r\n \"unit\": \"Percent\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"ActionsStarted\",\r\n \"displayName\": \"Actions Started \",\r\n \"displayDescription\": \"Number of workflow actions started.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"ActionsCompleted\",\r\n \"displayName\": \"Actions Completed \",\r\n \"displayDescription\": \"Number of workflow actions completed.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"ActionsSucceeded\",\r\n \"displayName\": \"Actions Succeeded \",\r\n \"displayDescription\": \"Number of workflow actions succeeded.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"ActionsFailed\",\r\n \"displayName\": \"Actions Failed \",\r\n \"displayDescription\": \"Number of workflow actions failed.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"ActionsSkipped\",\r\n \"displayName\": \"Actions Skipped \",\r\n \"displayDescription\": \"Number of workflow actions skipped.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"ActionLatency\",\r\n \"displayName\": \"Action Latency \",\r\n \"displayDescription\": \"Latency of completed workflow actions.\",\r\n \"unit\": \"Seconds\",\r\n \"aggregationType\": \"Average\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": false\r\n },\r\n {\r\n \"name\": \"ActionSuccessLatency\",\r\n \"displayName\": \"Action Success Latency \",\r\n \"displayDescription\": \"Latency of succeeded workflow actions.\",\r\n \"unit\": \"Seconds\",\r\n \"aggregationType\": \"Average\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": false\r\n },\r\n {\r\n \"name\": \"ActionThrottledEvents\",\r\n \"displayName\": \"Action Throttled Events\",\r\n \"displayDescription\": \"Number of workflow action throttled events..\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"TriggersStarted\",\r\n \"displayName\": \"Triggers Started \",\r\n \"displayDescription\": \"Number of workflow triggers started.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"TriggersCompleted\",\r\n \"displayName\": \"Triggers Completed \",\r\n \"displayDescription\": \"Number of workflow triggers completed.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"TriggersSucceeded\",\r\n \"displayName\": \"Triggers Succeeded \",\r\n \"displayDescription\": \"Number of workflow triggers succeeded.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"TriggersFailed\",\r\n \"displayName\": \"Triggers Failed \",\r\n \"displayDescription\": \"Number of workflow triggers failed.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"TriggersSkipped\",\r\n \"displayName\": \"Triggers Skipped\",\r\n \"displayDescription\": \"Number of workflow triggers skipped.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"TriggersFired\",\r\n \"displayName\": \"Triggers Fired \",\r\n \"displayDescription\": \"Number of workflow triggers fired.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"TriggerLatency\",\r\n \"displayName\": \"Trigger Latency \",\r\n \"displayDescription\": \"Latency of completed workflow triggers.\",\r\n \"unit\": \"Seconds\",\r\n \"aggregationType\": \"Average\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": false\r\n },\r\n {\r\n \"name\": \"TriggerFireLatency\",\r\n \"displayName\": \"Trigger Fire Latency \",\r\n \"displayDescription\": \"Latency of fired workflow triggers.\",\r\n \"unit\": \"Seconds\",\r\n \"aggregationType\": \"Average\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": false\r\n },\r\n {\r\n \"name\": \"TriggerSuccessLatency\",\r\n \"displayName\": \"Trigger Success Latency \",\r\n \"displayDescription\": \"Latency of succeeded workflow triggers.\",\r\n \"unit\": \"Seconds\",\r\n \"aggregationType\": \"Average\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": false\r\n },\r\n {\r\n \"name\": \"TriggerThrottledEvents\",\r\n \"displayName\": \"Trigger Throttled Events\",\r\n \"displayDescription\": \"Number of workflow trigger throttled events.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n ]\r\n}", + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.ProviderOperationsTests/GetProviderOperations.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.ProviderOperationsTests/GetProviderOperations.json deleted file mode 100644 index 49605ce94f9f7..0000000000000 --- a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.ProviderOperationsTests/GetProviderOperations.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/providers/Microsoft.Logic/operations?api-version=2016-06-01", - "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuTG9naWMvb3BlcmF0aW9ucz9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "235ea0d1-caf9-43a0-997f-5b2ce5e883b6" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"name\": \"Microsoft.Logic/locations/workflows/validate/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Workflow\",\r\n \"operation\": \"Validate Workflow\",\r\n \"description\": \"Validates the workflow.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/workflows/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Workflow\",\r\n \"operation\": \"Get Workflow\",\r\n \"description\": \"Reads the workflow.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/workflows/write\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Workflow\",\r\n \"operation\": \"Set Workflow\",\r\n \"description\": \"Creates or updates the workflow.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/workflows/delete\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Workflow\",\r\n \"operation\": \"Delete Workflow\",\r\n \"description\": \"Deletes the workflow.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/workflows/run/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Workflow\",\r\n \"operation\": \"Run Workflow\",\r\n \"description\": \"Starts a run of the workflow.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/workflows/disable/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Workflow\",\r\n \"operation\": \"Disable Workflow\",\r\n \"description\": \"Disables the workflow.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/workflows/enable/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Workflow\",\r\n \"operation\": \"Enable Workflow\",\r\n \"description\": \"Enables the workflow.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/workflows/validate/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Workflow\",\r\n \"operation\": \"Validate Workflow\",\r\n \"description\": \"Validates the workflow.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/workflows/move/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Workflow\",\r\n \"operation\": \"Move Workflow\",\r\n \"description\": \"Moves Workflow from its existing subscription id, resource group, and/or name to a different subscription id, resource group, and/or name.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/workflows/listSwagger/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Workflow\",\r\n \"operation\": \"Get workflow swagger\",\r\n \"description\": \"Gets the workflow swagger definitions.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/workflows/versions/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Workflow Version\",\r\n \"operation\": \"Get Workflow Version\",\r\n \"description\": \"Reads the workflow version.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/workflows/accessKeys/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Access Key\",\r\n \"operation\": \"Get Access Key\",\r\n \"description\": \"Reads the access key.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/workflows/accessKeys/write\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Access Key\",\r\n \"operation\": \"Set Access Key\",\r\n \"description\": \"Creates or updates the access key.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/workflows/accessKeys/delete\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Access Key\",\r\n \"operation\": \"Delete Access Key\",\r\n \"description\": \"Deletes the access key.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/workflows/accessKeys/list/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Access Key\",\r\n \"operation\": \"List Access Key\",\r\n \"description\": \"Lists the access key secrets.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/workflows/accessKeys/regenerate/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Access Key\",\r\n \"operation\": \"Regenerate Access Key\",\r\n \"description\": \"Regenerates the access key secrets.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/workflows/regenerateAccessKey/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Access Key\",\r\n \"operation\": \"Regenerate Access Key\",\r\n \"description\": \"Regenerates the access key secrets.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/workflows/triggers/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Trigger\",\r\n \"operation\": \"Get Trigger\",\r\n \"description\": \"Reads the trigger.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/workflows/triggers/run/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Trigger\",\r\n \"operation\": \"Trigger Run\",\r\n \"description\": \"Executes the trigger.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/workflows/triggers/histories/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Trigger Histories\",\r\n \"operation\": \"Get Trigger Histories\",\r\n \"description\": \"Reads the trigger histories.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/workflows/triggers/histories/resubmit/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Trigger Histories\",\r\n \"operation\": \"Resubmit trigger\",\r\n \"description\": \"Resubmits the workflow trigger.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/workflows/runs/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Workflow Run\",\r\n \"operation\": \"Get Workflow Run\",\r\n \"description\": \"Reads the workflow run.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/workflows/runs/cancel/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Workflow Run\",\r\n \"operation\": \"Cancel Workflow Run\",\r\n \"description\": \"Cancels the run of a workflow.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/workflows/runs/operations/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Workflow Run Operation\",\r\n \"operation\": \"Get Workflow Run Operation Status\",\r\n \"description\": \"Reads the workflow run operation status.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Logic/workflows/runs/actions/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Workflow Run Action\",\r\n \"operation\": \"Get Workflow Run Action\",\r\n \"description\": \"Reads the workflow run action.\"\r\n }\r\n },\r\n {\r\n \"origin\": \"System\",\r\n \"name\": \"Microsoft.Logic/workflows/providers/Microsoft.Insights/diagnosticSettings/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Workflow Diagnostic Setting\",\r\n \"operation\": \"Get Workflow Diagnostic Setting\",\r\n \"description\": \"Reads the workflow diagnostic settings.\"\r\n }\r\n },\r\n {\r\n \"origin\": \"System\",\r\n \"name\": \"Microsoft.Logic/workflows/providers/Microsoft.Insights/diagnosticSettings/write\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Workflow Diagnostic Setting\",\r\n \"operation\": \"Set Workflow Diagnostic Setting\",\r\n \"description\": \"Creates or updates the workflow diagnostic setting.\"\r\n }\r\n },\r\n {\r\n \"origin\": \"System\",\r\n \"name\": \"Microsoft.Logic/workflows/providers/Microsoft.Insights/metricDefinitions/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Workflow Metric Definition\",\r\n \"operation\": \"Get Workflow Metric Definition\",\r\n \"description\": \"Reads the workflow metric definitions.\"\r\n },\r\n \"properties\": {\r\n \"serviceSpecification\": {\r\n \"metricSpecifications\": [\r\n {\r\n \"name\": \"RunsStarted\",\r\n \"displayName\": \"Runs Started\",\r\n \"displayDescription\": \"Number of workflow runs started.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [\r\n {\r\n \"name\": \"Deployment\",\r\n \"displayName\": \"Deployment\"\r\n },\r\n {\r\n \"name\": \"Role\",\r\n \"displayName\": \"Role\"\r\n },\r\n {\r\n \"name\": \"RoleInstance\",\r\n \"displayName\": \"Role Instance\"\r\n }\r\n ],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"RunsCompleted\",\r\n \"displayName\": \"Runs Completed\",\r\n \"displayDescription\": \"Number of workflow runs completed.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [\r\n {\r\n \"name\": \"Deployment\",\r\n \"displayName\": \"Deployment\"\r\n },\r\n {\r\n \"name\": \"Role\",\r\n \"displayName\": \"Role\"\r\n },\r\n {\r\n \"name\": \"RoleInstance\",\r\n \"displayName\": \"Role Instance\"\r\n }\r\n ],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"RunsSucceeded\",\r\n \"displayName\": \"Runs Succeeded\",\r\n \"displayDescription\": \"Number of workflow runs succeeded.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [\r\n {\r\n \"name\": \"Deployment\",\r\n \"displayName\": \"Deployment\"\r\n },\r\n {\r\n \"name\": \"Role\",\r\n \"displayName\": \"Role\"\r\n },\r\n {\r\n \"name\": \"RoleInstance\",\r\n \"displayName\": \"Role Instance\"\r\n }\r\n ],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"RunsFailed\",\r\n \"displayName\": \"Runs Failed\",\r\n \"displayDescription\": \"Number of workflow runs failed.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [\r\n {\r\n \"name\": \"Deployment\",\r\n \"displayName\": \"Deployment\"\r\n },\r\n {\r\n \"name\": \"Role\",\r\n \"displayName\": \"Role\"\r\n },\r\n {\r\n \"name\": \"RoleInstance\",\r\n \"displayName\": \"Role Instance\"\r\n }\r\n ],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"RunsCancelled\",\r\n \"displayName\": \"Runs Cancelled\",\r\n \"displayDescription\": \"Number of workflow runs cancelled.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [\r\n {\r\n \"name\": \"Deployment\",\r\n \"displayName\": \"Deployment\"\r\n },\r\n {\r\n \"name\": \"Role\",\r\n \"displayName\": \"Role\"\r\n },\r\n {\r\n \"name\": \"RoleInstance\",\r\n \"displayName\": \"Role Instance\"\r\n }\r\n ],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"RunLatency\",\r\n \"displayName\": \"Run Latency\",\r\n \"displayDescription\": \"Latency of completed workflow runs.\",\r\n \"unit\": \"Seconds\",\r\n \"aggregationType\": \"Average\",\r\n \"dimensions\": [\r\n {\r\n \"name\": \"Deployment\",\r\n \"displayName\": \"Deployment\"\r\n },\r\n {\r\n \"name\": \"Role\",\r\n \"displayName\": \"Role\"\r\n },\r\n {\r\n \"name\": \"RoleInstance\",\r\n \"displayName\": \"Role Instance\"\r\n }\r\n ],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": false\r\n },\r\n {\r\n \"name\": \"RunSuccessLatency\",\r\n \"displayName\": \"Run Success Latency\",\r\n \"displayDescription\": \"Latency of succeeded workflow runs.\",\r\n \"unit\": \"Seconds\",\r\n \"aggregationType\": \"Average\",\r\n \"dimensions\": [\r\n {\r\n \"name\": \"Deployment\",\r\n \"displayName\": \"Deployment\"\r\n },\r\n {\r\n \"name\": \"Role\",\r\n \"displayName\": \"Role\"\r\n },\r\n {\r\n \"name\": \"RoleInstance\",\r\n \"displayName\": \"Role Instance\"\r\n }\r\n ],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": false\r\n },\r\n {\r\n \"name\": \"RunThrottledEvents\",\r\n \"displayName\": \"Run Throttled Events\",\r\n \"displayDescription\": \"Number of workflow action or trigger throttled events.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [\r\n {\r\n \"name\": \"Deployment\",\r\n \"displayName\": \"Deployment\"\r\n },\r\n {\r\n \"name\": \"Role\",\r\n \"displayName\": \"Role\"\r\n },\r\n {\r\n \"name\": \"RoleInstance\",\r\n \"displayName\": \"Role Instance\"\r\n }\r\n ],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"RunFailurePercentage\",\r\n \"displayName\": \"Run Failure Percentage\",\r\n \"displayDescription\": \"Percentage of workflow runs failed.\",\r\n \"unit\": \"Percent\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [\r\n {\r\n \"name\": \"Deployment\",\r\n \"displayName\": \"Deployment\"\r\n },\r\n {\r\n \"name\": \"Role\",\r\n \"displayName\": \"Role\"\r\n },\r\n {\r\n \"name\": \"RoleInstance\",\r\n \"displayName\": \"Role Instance\"\r\n }\r\n ],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"ActionsStarted\",\r\n \"displayName\": \"Actions Started \",\r\n \"displayDescription\": \"Number of workflow actions started.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [\r\n {\r\n \"name\": \"Deployment\",\r\n \"displayName\": \"Deployment\"\r\n },\r\n {\r\n \"name\": \"Role\",\r\n \"displayName\": \"Role\"\r\n },\r\n {\r\n \"name\": \"RoleInstance\",\r\n \"displayName\": \"Role Instance\"\r\n }\r\n ],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"ActionsCompleted\",\r\n \"displayName\": \"Actions Completed \",\r\n \"displayDescription\": \"Number of workflow actions completed.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [\r\n {\r\n \"name\": \"Deployment\",\r\n \"displayName\": \"Deployment\"\r\n },\r\n {\r\n \"name\": \"Role\",\r\n \"displayName\": \"Role\"\r\n },\r\n {\r\n \"name\": \"RoleInstance\",\r\n \"displayName\": \"Role Instance\"\r\n }\r\n ],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"ActionsSucceeded\",\r\n \"displayName\": \"Actions Succeeded \",\r\n \"displayDescription\": \"Number of workflow actions succeeded.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [\r\n {\r\n \"name\": \"Deployment\",\r\n \"displayName\": \"Deployment\"\r\n },\r\n {\r\n \"name\": \"Role\",\r\n \"displayName\": \"Role\"\r\n },\r\n {\r\n \"name\": \"RoleInstance\",\r\n \"displayName\": \"Role Instance\"\r\n }\r\n ],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"ActionsFailed\",\r\n \"displayName\": \"Actions Failed\",\r\n \"displayDescription\": \"Number of workflow actions failed.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [\r\n {\r\n \"name\": \"Deployment\",\r\n \"displayName\": \"Deployment\"\r\n },\r\n {\r\n \"name\": \"Role\",\r\n \"displayName\": \"Role\"\r\n },\r\n {\r\n \"name\": \"RoleInstance\",\r\n \"displayName\": \"Role Instance\"\r\n }\r\n ],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"ActionsSkipped\",\r\n \"displayName\": \"Actions Skipped \",\r\n \"displayDescription\": \"Number of workflow actions skipped.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [\r\n {\r\n \"name\": \"Deployment\",\r\n \"displayName\": \"Deployment\"\r\n },\r\n {\r\n \"name\": \"Role\",\r\n \"displayName\": \"Role\"\r\n },\r\n {\r\n \"name\": \"RoleInstance\",\r\n \"displayName\": \"Role Instance\"\r\n }\r\n ],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"ActionLatency\",\r\n \"displayName\": \"Action Latency \",\r\n \"displayDescription\": \"Latency of completed workflow actions.\",\r\n \"unit\": \"Seconds\",\r\n \"aggregationType\": \"Average\",\r\n \"dimensions\": [\r\n {\r\n \"name\": \"Deployment\",\r\n \"displayName\": \"Deployment\"\r\n },\r\n {\r\n \"name\": \"Role\",\r\n \"displayName\": \"Role\"\r\n },\r\n {\r\n \"name\": \"RoleInstance\",\r\n \"displayName\": \"Role Instance\"\r\n }\r\n ],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": false\r\n },\r\n {\r\n \"name\": \"ActionSuccessLatency\",\r\n \"displayName\": \"Action Success Latency \",\r\n \"displayDescription\": \"Latency of succeeded workflow actions.\",\r\n \"unit\": \"Seconds\",\r\n \"aggregationType\": \"Average\",\r\n \"dimensions\": [\r\n {\r\n \"name\": \"Deployment\",\r\n \"displayName\": \"Deployment\"\r\n },\r\n {\r\n \"name\": \"Role\",\r\n \"displayName\": \"Role\"\r\n },\r\n {\r\n \"name\": \"RoleInstance\",\r\n \"displayName\": \"Role Instance\"\r\n }\r\n ],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": false\r\n },\r\n {\r\n \"name\": \"ActionThrottledEvents\",\r\n \"displayName\": \"Action Throttled Events\",\r\n \"displayDescription\": \"Number of workflow action throttled events..\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [\r\n {\r\n \"name\": \"Deployment\",\r\n \"displayName\": \"Deployment\"\r\n },\r\n {\r\n \"name\": \"Role\",\r\n \"displayName\": \"Role\"\r\n },\r\n {\r\n \"name\": \"RoleInstance\",\r\n \"displayName\": \"Role Instance\"\r\n }\r\n ],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"TriggersStarted\",\r\n \"displayName\": \"Triggers Started \",\r\n \"displayDescription\": \"Number of workflow triggers started.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [\r\n {\r\n \"name\": \"Deployment\",\r\n \"displayName\": \"Deployment\"\r\n },\r\n {\r\n \"name\": \"Role\",\r\n \"displayName\": \"Role\"\r\n },\r\n {\r\n \"name\": \"RoleInstance\",\r\n \"displayName\": \"Role Instance\"\r\n }\r\n ],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"TriggersCompleted\",\r\n \"displayName\": \"Triggers Completed \",\r\n \"displayDescription\": \"Number of workflow triggers completed.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [\r\n {\r\n \"name\": \"Deployment\",\r\n \"displayName\": \"Deployment\"\r\n },\r\n {\r\n \"name\": \"Role\",\r\n \"displayName\": \"Role\"\r\n },\r\n {\r\n \"name\": \"RoleInstance\",\r\n \"displayName\": \"Role Instance\"\r\n }\r\n ],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"TriggersSucceeded\",\r\n \"displayName\": \"Triggers Succeeded \",\r\n \"displayDescription\": \"Number of workflow triggers succeeded.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [\r\n {\r\n \"name\": \"Deployment\",\r\n \"displayName\": \"Deployment\"\r\n },\r\n {\r\n \"name\": \"Role\",\r\n \"displayName\": \"Role\"\r\n },\r\n {\r\n \"name\": \"RoleInstance\",\r\n \"displayName\": \"Role Instance\"\r\n }\r\n ],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"TriggersFailed\",\r\n \"displayName\": \"Triggers Failed \",\r\n \"displayDescription\": \"Number of workflow triggers failed.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [\r\n {\r\n \"name\": \"Deployment\",\r\n \"displayName\": \"Deployment\"\r\n },\r\n {\r\n \"name\": \"Role\",\r\n \"displayName\": \"Role\"\r\n },\r\n {\r\n \"name\": \"RoleInstance\",\r\n \"displayName\": \"Role Instance\"\r\n }\r\n ],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"TriggersSkipped\",\r\n \"displayName\": \"Triggers Skipped\",\r\n \"displayDescription\": \"Number of workflow triggers skipped.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [\r\n {\r\n \"name\": \"Deployment\",\r\n \"displayName\": \"Deployment\"\r\n },\r\n {\r\n \"name\": \"Role\",\r\n \"displayName\": \"Role\"\r\n },\r\n {\r\n \"name\": \"RoleInstance\",\r\n \"displayName\": \"Role Instance\"\r\n }\r\n ],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"TriggersFired\",\r\n \"displayName\": \"Triggers Fired \",\r\n \"displayDescription\": \"Number of workflow triggers fired.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [\r\n {\r\n \"name\": \"Deployment\",\r\n \"displayName\": \"Deployment\"\r\n },\r\n {\r\n \"name\": \"Role\",\r\n \"displayName\": \"Role\"\r\n },\r\n {\r\n \"name\": \"RoleInstance\",\r\n \"displayName\": \"Role Instance\"\r\n }\r\n ],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"TriggerLatency\",\r\n \"displayName\": \"Trigger Latency \",\r\n \"displayDescription\": \"Latency of completed workflow triggers.\",\r\n \"unit\": \"Seconds\",\r\n \"aggregationType\": \"Average\",\r\n \"dimensions\": [\r\n {\r\n \"name\": \"Deployment\",\r\n \"displayName\": \"Deployment\"\r\n },\r\n {\r\n \"name\": \"Role\",\r\n \"displayName\": \"Role\"\r\n },\r\n {\r\n \"name\": \"RoleInstance\",\r\n \"displayName\": \"Role Instance\"\r\n }\r\n ],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": false\r\n },\r\n {\r\n \"name\": \"TriggerFireLatency\",\r\n \"displayName\": \"Trigger Fire Latency \",\r\n \"displayDescription\": \"Latency of fired workflow triggers.\",\r\n \"unit\": \"Seconds\",\r\n \"aggregationType\": \"Average\",\r\n \"dimensions\": [\r\n {\r\n \"name\": \"Deployment\",\r\n \"displayName\": \"Deployment\"\r\n },\r\n {\r\n \"name\": \"Role\",\r\n \"displayName\": \"Role\"\r\n },\r\n {\r\n \"name\": \"RoleInstance\",\r\n \"displayName\": \"Role Instance\"\r\n }\r\n ],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": false\r\n },\r\n {\r\n \"name\": \"TriggerSuccessLatency\",\r\n \"displayName\": \"Trigger Success Latency \",\r\n \"displayDescription\": \"Latency of succeeded workflow triggers.\",\r\n \"unit\": \"Seconds\",\r\n \"aggregationType\": \"Average\",\r\n \"dimensions\": [\r\n {\r\n \"name\": \"Deployment\",\r\n \"displayName\": \"Deployment\"\r\n },\r\n {\r\n \"name\": \"Role\",\r\n \"displayName\": \"Role\"\r\n },\r\n {\r\n \"name\": \"RoleInstance\",\r\n \"displayName\": \"Role Instance\"\r\n }\r\n ],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": false\r\n },\r\n {\r\n \"name\": \"TriggerThrottledEvents\",\r\n \"displayName\": \"Trigger Throttled Events\",\r\n \"displayDescription\": \"Number of workflow trigger throttled events.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [\r\n {\r\n \"name\": \"Deployment\",\r\n \"displayName\": \"Deployment\"\r\n },\r\n {\r\n \"name\": \"Role\",\r\n \"displayName\": \"Role\"\r\n },\r\n {\r\n \"name\": \"RoleInstance\",\r\n \"displayName\": \"Role Instance\"\r\n }\r\n ],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"BillableActionExecutions\",\r\n \"displayName\": \"Billable Action Executions\",\r\n \"displayDescription\": \"Number of workflow action executions getting billed.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [\r\n {\r\n \"name\": \"Deployment\",\r\n \"displayName\": \"Deployment\"\r\n },\r\n {\r\n \"name\": \"Role\",\r\n \"displayName\": \"Role\"\r\n },\r\n {\r\n \"name\": \"RoleInstance\",\r\n \"displayName\": \"Role Instance\"\r\n }\r\n ],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"BillableTriggerExecutions\",\r\n \"displayName\": \"Billable Trigger Executions\",\r\n \"displayDescription\": \"Number of workflow trigger executions getting billed.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [\r\n {\r\n \"name\": \"Deployment\",\r\n \"displayName\": \"Deployment\"\r\n },\r\n {\r\n \"name\": \"Role\",\r\n \"displayName\": \"Role\"\r\n },\r\n {\r\n \"name\": \"RoleInstance\",\r\n \"displayName\": \"Role Instance\"\r\n }\r\n ],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"TotalBillableExecutions\",\r\n \"displayName\": \"Total Billable Executions\",\r\n \"displayDescription\": \"Number of workflow executions getting billed.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"dimensions\": [\r\n {\r\n \"name\": \"Deployment\",\r\n \"displayName\": \"Deployment\"\r\n },\r\n {\r\n \"name\": \"Role\",\r\n \"displayName\": \"Role\"\r\n },\r\n {\r\n \"name\": \"RoleInstance\",\r\n \"displayName\": \"Role Instance\"\r\n }\r\n ],\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n {\r\n \"origin\": \"System\",\r\n \"name\": \"Microsoft.Logic/workflows/providers/Microsoft.Insights/logDefinitions/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Workflow Log Definition\",\r\n \"operation\": \"Get Workflow Log Definition\",\r\n \"description\": \"Reads the workflow log definitions.\"\r\n },\r\n \"properties\": {\r\n \"serviceSpecification\": {\r\n \"logSpecifications\": [\r\n {\r\n \"name\": \"WorkflowRuntime\",\r\n \"displayName\": \"Workflow runtime diagnostic events\",\r\n \"description\": \"Diagnostic events related to workflow runtime executions.\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n {\r\n \"origin\": \"System\",\r\n \"name\": \"Microsoft.Logic/integrationAccounts/providers/Microsoft.Insights/logDefinitions/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Logic\",\r\n \"resource\": \"Integration Account Log Definition\",\r\n \"operation\": \"Get Integration Account Log Definition\",\r\n \"description\": \"Reads the Integration Account log definitions.\"\r\n },\r\n \"properties\": {\r\n \"serviceSpecification\": {\r\n \"logSpecifications\": [\r\n {\r\n \"name\": \"IntegrationAccountTrackingEvents\",\r\n \"displayName\": \"Integration Account track events\",\r\n \"description\": \"Track events related to Integration Account.\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n ]\r\n}", - "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Sat, 25 Feb 2017 00:20:40 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], - "x-ms-request-id": [ - "westus2:3c384226-208e-4570-9d10-d29183620b47" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-tenant-reads": [ - "14996" - ], - "x-ms-correlation-request-id": [ - "ccea634b-a4fa-4eba-b6dd-a75049a7da9c" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170225T002041Z:ccea634b-a4fa-4eba-b6dd-a75049a7da9c" - ] - }, - "StatusCode": 200 - } - ], - "Names": {}, - "Variables": { - "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" - } -} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowTriggerHistoriesScenarioTests/GetHistory.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowTriggerHistoriesScenarioTests/GetHistory.json deleted file mode 100644 index 7b60ebd752bae..0000000000000 --- a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowTriggerHistoriesScenarioTests/GetHistory.json +++ /dev/null @@ -1,288 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf7083?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTI1MGRkOTItYjU4MC00NmJlLWIzMjctZTY1OTZjOGRlMTk2L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9sb2dpY3dmNzA4Mz9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourcegroups/flowrg/providers/microsoft.web/serverfarms/ServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"http://schema.management.azure.com/providers/Microsoft.Logic/schemas/2014-12-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"httpTrigger\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"GET\",\r\n \"uri\": \"invalidUri\"\r\n },\r\n \"recurrence\": {\r\n \"frequency\": \"Minute\",\r\n \"interval\": 60\r\n }\r\n }\r\n },\r\n \"actions\": {},\r\n \"outputs\": {\r\n \"output1\": {\r\n \"type\": \"string\",\r\n \"value\": \"@trigger().outputs\"\r\n }\r\n }\r\n }\r\n },\r\n \"location\": \"westus\"\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "943" - ], - "x-ms-client-request-id": [ - "1f981df4-c950-4e77-9dd4-bbbc5599130e" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2016-07-20T17:30:01.7604747Z\",\r\n \"changedTime\": \"2016-07-20T17:30:01.7604747Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587325710837684080\",\r\n \"accessEndpoint\": \"https://prod-13.westus.logic.azure.com:443/workflows/753ec46d87b04d77981c8e949d5d6fa6\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourcegroups/flowrg/providers/microsoft.web/serverfarms/ServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"ServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"http://schema.management.azure.com/providers/Microsoft.Logic/schemas/2014-12-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"httpTrigger\": {\r\n \"recurrence\": {\r\n \"frequency\": \"Minute\",\r\n \"interval\": 60\r\n },\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"GET\",\r\n \"uri\": \"invalidUri\"\r\n }\r\n }\r\n },\r\n \"actions\": {},\r\n \"outputs\": {\r\n \"output1\": {\r\n \"type\": \"String\",\r\n \"value\": \"@trigger().outputs\"\r\n }\r\n }\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf7083\",\r\n \"name\": \"logicwf7083\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "1138" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:79a044a3-8e58-4ead-ba9c-13749d5f11d1" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1185" - ], - "x-ms-correlation-request-id": [ - "c352bf37-2ad0-4c68-a54f-dca9086e8bfa" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20160720T173002Z:c352bf37-2ad0-4c68-a54f-dca9086e8bfa" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 20 Jul 2016 17:30:01 GMT" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf7083/triggers/httpTrigger/run?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTI1MGRkOTItYjU4MC00NmJlLWIzMjctZTY1OTZjOGRlMTk2L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9sb2dpY3dmNzA4My90cmlnZ2Vycy9odHRwVHJpZ2dlci9ydW4/YXBpLXZlcnNpb249MjAxNi0wNi0wMQ==", - "RequestMethod": "POST", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "5ff56a83-1c54-41db-813b-644b1cd5fb4c" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:9f1f28f8-bd82-4fcc-9754-f60cb6145c8c" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1184" - ], - "x-ms-correlation-request-id": [ - "16a31ebd-0334-4ad8-8bec-3b06378e2c3c" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20160720T173008Z:16a31ebd-0334-4ad8-8bec-3b06378e2c3c" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 20 Jul 2016 17:30:08 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf7083/triggers/httpTrigger/histories?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTI1MGRkOTItYjU4MC00NmJlLWIzMjctZTY1OTZjOGRlMTk2L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9sb2dpY3dmNzA4My90cmlnZ2Vycy9odHRwVHJpZ2dlci9oaXN0b3JpZXM/YXBpLXZlcnNpb249MjAxNi0wNi0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "fb11af6a-93f8-4afd-99bf-57acb4efb349" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"startTime\": \"2016-07-20T17:30:08.8048371Z\",\r\n \"endTime\": \"2016-07-20T17:30:08.8251897Z\",\r\n \"status\": \"Failed\",\r\n \"code\": \"BadRequest\",\r\n \"error\": {\r\n \"code\": \"BadRequest\",\r\n \"message\": \"The provided 'Http' trigger URI 'invalidUri' is not valid. The URI must be a well formed absolute URI not referencing local host or UNC path.\"\r\n },\r\n \"correlation\": {\r\n \"clientTrackingId\": \"08587325710766646239722911568\"\r\n },\r\n \"inputsLink\": {\r\n \"uri\": \"https://prod-13.westus.logic.azure.com:443/workflows/753ec46d87b04d77981c8e949d5d6fa6/triggers/httpTrigger/histories/08587325710766646239722911568/contents/TriggerInputs?api-version=2016-06-01&se=2016-07-20T21%3A30%3A08.7837629Z&sp=%2Ftriggers%2FhttpTrigger%2Fhistories%2F08587325710766646239722911568%2Fcontents%2FTriggerInputs%2Fread&sv=1.0&sig=0nb0T5EtHImJXMvvD29vkMdAZmXDCej95Zl97BP0rYc\",\r\n \"contentVersion\": \"mvjBdQPV3500O+iSJ4rDcg==\",\r\n \"contentSize\": 35,\r\n \"contentHash\": {\r\n \"algorithm\": \"md5\",\r\n \"value\": \"mvjBdQPV3500O+iSJ4rDcg==\"\r\n }\r\n },\r\n \"fired\": false\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf7083/triggers/httpTrigger/histories/08587325710766646239722911568\",\r\n \"name\": \"08587325710766646239722911568\",\r\n \"type\": \"Microsoft.Logic/workflows/triggers/histories\"\r\n },\r\n {\r\n \"properties\": {\r\n \"startTime\": \"2016-07-20T17:30:02.5433423Z\",\r\n \"endTime\": \"2016-07-20T17:30:02.6191544Z\",\r\n \"status\": \"Failed\",\r\n \"code\": \"BadRequest\",\r\n \"error\": {\r\n \"code\": \"BadRequest\",\r\n \"message\": \"The provided 'Http' trigger URI 'invalidUri' is not valid. The URI must be a well formed absolute URI not referencing local host or UNC path.\"\r\n },\r\n \"correlation\": {\r\n \"clientTrackingId\": \"08587325710829287111609462708\"\r\n },\r\n \"inputsLink\": {\r\n \"uri\": \"https://prod-13.westus.logic.azure.com:443/workflows/753ec46d87b04d77981c8e949d5d6fa6/triggers/httpTrigger/histories/08587325710829287111609462708/contents/TriggerInputs?api-version=2016-06-01&se=2016-07-20T21%3A30%3A08.7837629Z&sp=%2Ftriggers%2FhttpTrigger%2Fhistories%2F08587325710829287111609462708%2Fcontents%2FTriggerInputs%2Fread&sv=1.0&sig=puVEYRyPmrX9N04oaz238iz7NRK0uRfWRUchx19vWSo\",\r\n \"contentVersion\": \"mvjBdQPV3500O+iSJ4rDcg==\",\r\n \"contentSize\": 35,\r\n \"contentHash\": {\r\n \"algorithm\": \"md5\",\r\n \"value\": \"mvjBdQPV3500O+iSJ4rDcg==\"\r\n }\r\n },\r\n \"fired\": false\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf7083/triggers/httpTrigger/histories/08587325710829287111609462708\",\r\n \"name\": \"08587325710829287111609462708\",\r\n \"type\": \"Microsoft.Logic/workflows/triggers/histories\"\r\n }\r\n ]\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "2473" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "Vary": [ - "Accept-Encoding" - ], - "x-ms-request-id": [ - "westus:f417117a-4f9a-4b25-9b8f-57c629ef6c76" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14933" - ], - "x-ms-correlation-request-id": [ - "da936d1a-a267-4b18-8394-c9fb0b6689ea" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20160720T173008Z:da936d1a-a267-4b18-8394-c9fb0b6689ea" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 20 Jul 2016 17:30:08 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf7083/triggers/httpTrigger/histories/08587325710766646239722911568?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTI1MGRkOTItYjU4MC00NmJlLWIzMjctZTY1OTZjOGRlMTk2L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9sb2dpY3dmNzA4My90cmlnZ2Vycy9odHRwVHJpZ2dlci9oaXN0b3JpZXMvMDg1ODczMjU3MTA3NjY2NDYyMzk3MjI5MTE1Njg/YXBpLXZlcnNpb249MjAxNi0wNi0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "a4e7db3c-4cb3-4932-9c2f-0bf6f22a0642" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"startTime\": \"2016-07-20T17:30:08.8048371Z\",\r\n \"endTime\": \"2016-07-20T17:30:08.8251897Z\",\r\n \"status\": \"Failed\",\r\n \"code\": \"BadRequest\",\r\n \"error\": {\r\n \"code\": \"BadRequest\",\r\n \"message\": \"The provided 'Http' trigger URI 'invalidUri' is not valid. The URI must be a well formed absolute URI not referencing local host or UNC path.\"\r\n },\r\n \"correlation\": {\r\n \"clientTrackingId\": \"08587325710766646239722911568\"\r\n },\r\n \"inputsLink\": {\r\n \"uri\": \"https://prod-13.westus.logic.azure.com:443/workflows/753ec46d87b04d77981c8e949d5d6fa6/triggers/httpTrigger/histories/08587325710766646239722911568/contents/TriggerInputs?api-version=2016-06-01&se=2016-07-20T21%3A30%3A08.9571575Z&sp=%2Ftriggers%2FhttpTrigger%2Fhistories%2F08587325710766646239722911568%2Fcontents%2FTriggerInputs%2Fread&sv=1.0&sig=ZfKPcgecx876GVF3_7S6KBXjjr7v5IgQidRkZ4pPhQ8\",\r\n \"contentVersion\": \"mvjBdQPV3500O+iSJ4rDcg==\",\r\n \"contentSize\": 35,\r\n \"contentHash\": {\r\n \"algorithm\": \"md5\",\r\n \"value\": \"mvjBdQPV3500O+iSJ4rDcg==\"\r\n }\r\n },\r\n \"fired\": false\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf7083/triggers/httpTrigger/histories/08587325710766646239722911568\",\r\n \"name\": \"08587325710766646239722911568\",\r\n \"type\": \"Microsoft.Logic/workflows/triggers/histories\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "1230" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "Vary": [ - "Accept-Encoding" - ], - "x-ms-request-id": [ - "westus:0de5abb6-4413-41cb-a612-ec29e26a86e6" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14932" - ], - "x-ms-correlation-request-id": [ - "b78348d1-513c-480e-823e-88f38e6e192e" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20160720T173008Z:b78348d1-513c-480e-823e-88f38e6e192e" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 20 Jul 2016 17:30:08 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf7083?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTI1MGRkOTItYjU4MC00NmJlLWIzMjctZTY1OTZjOGRlMTk2L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9sb2dpY3dmNzA4Mz9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "c020a210-6ab6-493f-b395-170a7060c6b3" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:15d16bd8-9ec6-4c04-9622-83e3747dd926" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1183" - ], - "x-ms-correlation-request-id": [ - "f2f70ac0-9565-4c8a-a290-b0273f8beb90" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20160720T173009Z:f2f70ac0-9565-4c8a-a290-b0273f8beb90" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 20 Jul 2016 17:30:08 GMT" - ] - }, - "StatusCode": 200 - } - ], - "Names": { - "GetHistory": [ - "logicwf7083" - ] - }, - "Variables": { - "SubscriptionId": "5250dd92-b580-46be-b327-e6596c8de196" - } -} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowTriggerHistoriesScenarioTests/ListHistory.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowTriggerHistoriesScenarioTests/ListHistory.json deleted file mode 100644 index 5e6222bb6fab7..0000000000000 --- a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowTriggerHistoriesScenarioTests/ListHistory.json +++ /dev/null @@ -1,288 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf3306?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTI1MGRkOTItYjU4MC00NmJlLWIzMjctZTY1OTZjOGRlMTk2L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9sb2dpY3dmMzMwNj9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourcegroups/flowrg/providers/microsoft.web/serverfarms/ServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"http://schema.management.azure.com/providers/Microsoft.Logic/schemas/2014-12-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"httpTrigger\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"GET\",\r\n \"uri\": \"invalidUri\"\r\n },\r\n \"recurrence\": {\r\n \"frequency\": \"Minute\",\r\n \"interval\": 60\r\n }\r\n }\r\n },\r\n \"actions\": {},\r\n \"outputs\": {\r\n \"output1\": {\r\n \"type\": \"string\",\r\n \"value\": \"@trigger().outputs\"\r\n }\r\n }\r\n }\r\n },\r\n \"location\": \"westus\"\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "943" - ], - "x-ms-client-request-id": [ - "b410cf5b-c466-4bb5-99ef-ccdf0a3ec594" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2016-07-20T17:29:25.270198Z\",\r\n \"changedTime\": \"2016-07-20T17:29:25.270198Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587325711202682295\",\r\n \"accessEndpoint\": \"https://prod-03.westus.logic.azure.com:443/workflows/0e1199f96dce4cc4b5fd04c1afaa021a\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourcegroups/flowrg/providers/microsoft.web/serverfarms/ServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"ServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"http://schema.management.azure.com/providers/Microsoft.Logic/schemas/2014-12-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"httpTrigger\": {\r\n \"recurrence\": {\r\n \"frequency\": \"Minute\",\r\n \"interval\": 60\r\n },\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"GET\",\r\n \"uri\": \"invalidUri\"\r\n }\r\n }\r\n },\r\n \"actions\": {},\r\n \"outputs\": {\r\n \"output1\": {\r\n \"type\": \"String\",\r\n \"value\": \"@trigger().outputs\"\r\n }\r\n }\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf3306\",\r\n \"name\": \"logicwf3306\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "1136" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:858a6332-3629-4d3d-879f-d85c45eb590e" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1178" - ], - "x-ms-correlation-request-id": [ - "668eb5d5-1468-4b89-a562-fd2f883926c7" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20160720T172925Z:668eb5d5-1468-4b89-a562-fd2f883926c7" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 20 Jul 2016 17:29:25 GMT" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf3306/triggers/httpTrigger/histories?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTI1MGRkOTItYjU4MC00NmJlLWIzMjctZTY1OTZjOGRlMTk2L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9sb2dpY3dmMzMwNi90cmlnZ2Vycy9odHRwVHJpZ2dlci9oaXN0b3JpZXM/YXBpLXZlcnNpb249MjAxNi0wNi0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "01161fda-0c42-493c-a7ee-1352bc0d2637" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": []\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "12" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "Vary": [ - "Accept-Encoding" - ], - "x-ms-request-id": [ - "westus:05595224-9ab8-4852-91fa-1209ce754cf0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14954" - ], - "x-ms-correlation-request-id": [ - "ca2f6296-6477-4e2d-bc0b-be48c29d69a3" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20160720T172925Z:ca2f6296-6477-4e2d-bc0b-be48c29d69a3" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 20 Jul 2016 17:29:25 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf3306/triggers/httpTrigger/histories?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTI1MGRkOTItYjU4MC00NmJlLWIzMjctZTY1OTZjOGRlMTk2L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9sb2dpY3dmMzMwNi90cmlnZ2Vycy9odHRwVHJpZ2dlci9oaXN0b3JpZXM/YXBpLXZlcnNpb249MjAxNi0wNi0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "8d85ddc8-b177-4268-9707-bba5ae32c12d" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"startTime\": \"2016-07-20T17:29:31.9599876Z\",\r\n \"endTime\": \"2016-07-20T17:29:31.9773494Z\",\r\n \"status\": \"Failed\",\r\n \"code\": \"BadRequest\",\r\n \"error\": {\r\n \"code\": \"BadRequest\",\r\n \"message\": \"The provided 'Http' trigger URI 'invalidUri' is not valid. The URI must be a well formed absolute URI not referencing local host or UNC path.\"\r\n },\r\n \"correlation\": {\r\n \"clientTrackingId\": \"08587325711135096577893222940\"\r\n },\r\n \"inputsLink\": {\r\n \"uri\": \"https://prod-03.westus.logic.azure.com:443/workflows/0e1199f96dce4cc4b5fd04c1afaa021a/triggers/httpTrigger/histories/08587325711135096577893222940/contents/TriggerInputs?api-version=2016-06-01&se=2016-07-20T21%3A29%3A33.3627202Z&sp=%2Ftriggers%2FhttpTrigger%2Fhistories%2F08587325711135096577893222940%2Fcontents%2FTriggerInputs%2Fread&sv=1.0&sig=OsLJf1BksrDJIjI9n6Vsnh096Gur1ads1WRdRTCQ9hI\",\r\n \"contentVersion\": \"mvjBdQPV3500O+iSJ4rDcg==\",\r\n \"contentSize\": 35,\r\n \"contentHash\": {\r\n \"algorithm\": \"md5\",\r\n \"value\": \"mvjBdQPV3500O+iSJ4rDcg==\"\r\n }\r\n },\r\n \"fired\": false\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf3306/triggers/httpTrigger/histories/08587325711135096577893222940\",\r\n \"name\": \"08587325711135096577893222940\",\r\n \"type\": \"Microsoft.Logic/workflows/triggers/histories\"\r\n },\r\n {\r\n \"properties\": {\r\n \"startTime\": \"2016-07-20T17:29:26.7869829Z\",\r\n \"endTime\": \"2016-07-20T17:29:26.8096701Z\",\r\n \"status\": \"Failed\",\r\n \"code\": \"BadRequest\",\r\n \"error\": {\r\n \"code\": \"BadRequest\",\r\n \"message\": \"The provided 'Http' trigger URI 'invalidUri' is not valid. The URI must be a well formed absolute URI not referencing local host or UNC path.\"\r\n },\r\n \"correlation\": {\r\n \"clientTrackingId\": \"08587325711186783604430151698\"\r\n },\r\n \"inputsLink\": {\r\n \"uri\": \"https://prod-03.westus.logic.azure.com:443/workflows/0e1199f96dce4cc4b5fd04c1afaa021a/triggers/httpTrigger/histories/08587325711186783604430151698/contents/TriggerInputs?api-version=2016-06-01&se=2016-07-20T21%3A29%3A33.3627202Z&sp=%2Ftriggers%2FhttpTrigger%2Fhistories%2F08587325711186783604430151698%2Fcontents%2FTriggerInputs%2Fread&sv=1.0&sig=jKAooIQXP0pjdpF3ceZdwUXsUQonw8QuPt2e0fhJ3GM\",\r\n \"contentVersion\": \"mvjBdQPV3500O+iSJ4rDcg==\",\r\n \"contentSize\": 35,\r\n \"contentHash\": {\r\n \"algorithm\": \"md5\",\r\n \"value\": \"mvjBdQPV3500O+iSJ4rDcg==\"\r\n }\r\n },\r\n \"fired\": false\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf3306/triggers/httpTrigger/histories/08587325711186783604430151698\",\r\n \"name\": \"08587325711186783604430151698\",\r\n \"type\": \"Microsoft.Logic/workflows/triggers/histories\"\r\n }\r\n ]\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "2473" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "Vary": [ - "Accept-Encoding" - ], - "x-ms-request-id": [ - "westus:d46dce8b-dcff-485e-8f93-0e209f8044b6" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14953" - ], - "x-ms-correlation-request-id": [ - "5b9bac33-2ac8-491f-b1f8-a7fa49c80e47" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20160720T172933Z:5b9bac33-2ac8-491f-b1f8-a7fa49c80e47" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 20 Jul 2016 17:29:32 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf3306/triggers/httpTrigger/run?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTI1MGRkOTItYjU4MC00NmJlLWIzMjctZTY1OTZjOGRlMTk2L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9sb2dpY3dmMzMwNi90cmlnZ2Vycy9odHRwVHJpZ2dlci9ydW4/YXBpLXZlcnNpb249MjAxNi0wNi0wMQ==", - "RequestMethod": "POST", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "19660c78-7e2a-4278-9675-acaefb0d461a" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:882fd380-7875-405a-bcea-fdeaf92a2028" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1177" - ], - "x-ms-correlation-request-id": [ - "36dfdded-fbfb-4ec9-8ca9-7ba9c4a77dd9" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20160720T172931Z:36dfdded-fbfb-4ec9-8ca9-7ba9c4a77dd9" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 20 Jul 2016 17:29:31 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf3306?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTI1MGRkOTItYjU4MC00NmJlLWIzMjctZTY1OTZjOGRlMTk2L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9sb2dpY3dmMzMwNj9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "f27501f4-99b4-40df-9f28-74ad8394c128" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:7cca2d50-0245-4aa5-b32e-18d2bacff319" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1176" - ], - "x-ms-correlation-request-id": [ - "ac0d8a94-af21-439f-9c31-05e5779a7620" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20160720T172933Z:ac0d8a94-af21-439f-9c31-05e5779a7620" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 20 Jul 2016 17:29:33 GMT" - ] - }, - "StatusCode": 200 - } - ], - "Names": { - "ListHistory": [ - "logicwf3306" - ] - }, - "Variables": { - "SubscriptionId": "5250dd92-b580-46be-b327-e6596c8de196" - } -} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowTriggerHistoriesScenarioTests/WorkflowTriggerHistories_Get_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowTriggerHistoriesScenarioTests/WorkflowTriggerHistories_Get_OK.json new file mode 100644 index 0000000000000..ebca060e2567d --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowTriggerHistoriesScenarioTests/WorkflowTriggerHistories_Get_OK.json @@ -0,0 +1,515 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "87294e4e-a2ea-4cc9-acd6-904f552dddee" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:52:48 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-request-id": [ + "8b657d60-85a9-42c9-8f46-ccf45cf5ebe3" + ], + "x-ms-correlation-request-id": [ + "8b657d60-85a9-42c9-8f46-ccf45cf5ebe3" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225248Z:8b657d60-85a9-42c9-8f46-ccf45cf5ebe3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "d7c71f64-a1c7-4dbe-a821-25977a93d809" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:52:48 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19995" + ], + "x-ms-request-id": [ + "a4595857-e199-4fc1-bb2b-a70f7dc449d2" + ], + "x-ms-correlation-request-id": [ + "a4595857-e199-4fc1-bb2b-a70f7dc449d2" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225248Z:a4595857-e199-4fc1-bb2b-a70f7dc449d2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow3872?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzM4NzI/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Request\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Response\": {\r\n \"runAfter\": {},\r\n \"type\": \"Response\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"statusCode\": 200\r\n }\r\n }\r\n },\r\n \"outputs\": {}\r\n }\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "19f34a36-08dc-418e-bbd1-bc6a2a7c8451" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "688" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:52:49 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:7ffebe26-f0c4-4511-9f1e-0486d2d6f32a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-correlation-request-id": [ + "a7168f9d-a309-459b-98fb-fd86133f3fc9" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225249Z:a7168f9d-a309-459b-98fb-fd86133f3fc9" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "1382" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2018-09-19T22:52:49.0494777Z\",\r\n \"changedTime\": \"2018-09-19T22:52:49.036753Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08586642093164569581\",\r\n \"accessEndpoint\": \"https://prod-40.westus.logic.azure.com:443/workflows/a9f792dbbb904f78a03f3b6ead5c82c1\",\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Request\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Response\": {\r\n \"runAfter\": {},\r\n \"type\": \"Response\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"statusCode\": 200\r\n }\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {},\r\n \"endpointsConfiguration\": {\r\n \"workflow\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"52.160.92.112\"\r\n },\r\n {\r\n \"address\": \"40.118.244.241\"\r\n },\r\n {\r\n \"address\": \"40.118.241.243\"\r\n },\r\n {\r\n \"address\": \"157.56.162.53\"\r\n },\r\n {\r\n \"address\": \"157.56.167.147\"\r\n },\r\n {\r\n \"address\": \"104.42.49.145\"\r\n },\r\n {\r\n \"address\": \"40.83.164.80\"\r\n },\r\n {\r\n \"address\": \"104.42.38.32\"\r\n }\r\n ],\r\n \"accessEndpointIpAddresses\": [\r\n {\r\n \"address\": \"52.160.90.237\"\r\n },\r\n {\r\n \"address\": \"138.91.188.137\"\r\n },\r\n {\r\n \"address\": \"13.91.252.184\"\r\n },\r\n {\r\n \"address\": \"157.56.160.212 \"\r\n }\r\n ]\r\n },\r\n \"connector\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"104.40.51.248\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow3872\",\r\n \"name\": \"Workflow3872\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow3872/triggers/manual/histories?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzM4NzIvdHJpZ2dlcnMvbWFudWFsL2hpc3Rvcmllcz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "711dbb98-6d4c-4add-98ec-8d8a8de4fe27" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:52:49 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:3fec7af1-07f0-4584-a157-694fa6594339" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19999" + ], + "x-ms-correlation-request-id": [ + "ff29541d-e5d6-4435-b4fa-d59111c88d9d" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225249Z:ff29541d-e5d6-4435-b4fa-d59111c88d9d" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow3872/triggers/manual/histories?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzM4NzIvdHJpZ2dlcnMvbWFudWFsL2hpc3Rvcmllcz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "dc4acf85-4478-4736-8f78-f22b18c0aa59" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:52:49 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:a22ff8d3-7541-499a-b995-3fbe0a5fe914" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19998" + ], + "x-ms-correlation-request-id": [ + "787767a3-2435-4a22-b362-f08382b5af66" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225249Z:787767a3-2435-4a22-b362-f08382b5af66" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "1889" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"startTime\": \"2018-09-19T22:52:49.6774049Z\",\r\n \"endTime\": \"2018-09-19T22:52:49.804311Z\",\r\n \"status\": \"Succeeded\",\r\n \"correlation\": {\r\n \"clientTrackingId\": \"08586642093157931122318404412CU40\"\r\n },\r\n \"inputsLink\": {\r\n \"uri\": \"https://prod-40.westus.logic.azure.com:443/workflows/a9f792dbbb904f78a03f3b6ead5c82c1/triggers/manual/histories/08586642093157931122318404412CU40/contents/TriggerInputs?api-version=2018-07-01-preview&se=2018-09-20T02%3A00%3A00.0000000Z&sp=%2Ftriggers%2Fmanual%2Fhistories%2F08586642093157931122318404412CU40%2Fcontents%2FTriggerInputs%2Fread&sv=1.0&sig=LI6w8cxdXTFz_RU1eRa59fdxHRougyAvXK_f_gPcLfY\",\r\n \"contentSize\": 13\r\n },\r\n \"outputsLink\": {\r\n \"uri\": \"https://prod-40.westus.logic.azure.com:443/workflows/a9f792dbbb904f78a03f3b6ead5c82c1/triggers/manual/histories/08586642093157931122318404412CU40/contents/TriggerOutputs?api-version=2018-07-01-preview&se=2018-09-20T02%3A00%3A00.0000000Z&sp=%2Ftriggers%2Fmanual%2Fhistories%2F08586642093157931122318404412CU40%2Fcontents%2FTriggerOutputs%2Fread&sv=1.0&sig=eg4-qsdPTgDOet2AVQi7RYf0fRJUmypbnaQLt1_uwLk\",\r\n \"contentSize\": 1619\r\n },\r\n \"fired\": true,\r\n \"run\": {\r\n \"name\": \"08586642093157931122318404412CU40\",\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow3872/runs/08586642093157931122318404412CU40\",\r\n \"type\": \"Microsoft.Logic/workflows/runs\"\r\n },\r\n \"workflow\": {\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow3872/versions/08586642093164569581\",\r\n \"name\": \"08586642093164569581\",\r\n \"type\": \"Microsoft.Logic/workflows/versions\"\r\n }\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow3872/triggers/manual/histories/08586642093157931122318404412CU40\",\r\n \"name\": \"08586642093157931122318404412CU40\",\r\n \"type\": \"Microsoft.Logic/workflows/triggers/histories\"\r\n }\r\n ]\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow3872/triggers/manual/run?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzM4NzIvdHJpZ2dlcnMvbWFudWFsL3J1bj9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "96575425-8671-442e-858f-06f9228806a7" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:52:49 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-workflow-run-id": [ + "08586642093157931122318404412CU40" + ], + "x-ms-correlation-id": [ + "c6dec5f9-ee83-45c2-9115-fb9330e0bca2" + ], + "x-ms-client-tracking-id": [ + "08586642093157931122318404412CU40" + ], + "x-ms-trigger-history-name": [ + "08586642093157931122318404412CU40" + ], + "x-ms-execution-location": [ + "westus" + ], + "x-ms-workflow-id": [ + "a9f792dbbb904f78a03f3b6ead5c82c1" + ], + "x-ms-workflow-version": [ + "08586642093164569581" + ], + "x-ms-workflow-name": [ + "Workflow3872" + ], + "x-ms-workflow-system-id": [ + "/locations/westus/scaleunits/prod-40/workflows/a9f792dbbb904f78a03f3b6ead5c82c1" + ], + "x-ms-tracking-id": [ + "c6dec5f9-ee83-45c2-9115-fb9330e0bca2" + ], + "x-ms-request-id": [ + "westus:c6dec5f9-ee83-45c2-9115-fb9330e0bca2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "4999" + ], + "x-ms-correlation-request-id": [ + "9eba742f-4b96-455f-a93d-068eeba81e88" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225249Z:9eba742f-4b96-455f-a93d-068eeba81e88" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow3872/triggers/manual/histories/08586642093157931122318404412CU40?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzM4NzIvdHJpZ2dlcnMvbWFudWFsL2hpc3Rvcmllcy8wODU4NjY0MjA5MzE1NzkzMTEyMjMxODQwNDQxMkNVNDA/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "a329a2ff-a107-4334-a88d-3d7811cb30d2" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:52:49 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:9c923f93-77fe-436e-a3df-be8bf43ccc23" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19997" + ], + "x-ms-correlation-request-id": [ + "5e49998d-9969-4e34-bd9c-c4df405e0198" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225249Z:5e49998d-9969-4e34-bd9c-c4df405e0198" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "1877" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"startTime\": \"2018-09-19T22:52:49.6774049Z\",\r\n \"endTime\": \"2018-09-19T22:52:49.804311Z\",\r\n \"status\": \"Succeeded\",\r\n \"correlation\": {\r\n \"clientTrackingId\": \"08586642093157931122318404412CU40\"\r\n },\r\n \"inputsLink\": {\r\n \"uri\": \"https://prod-40.westus.logic.azure.com:443/workflows/a9f792dbbb904f78a03f3b6ead5c82c1/triggers/manual/histories/08586642093157931122318404412CU40/contents/TriggerInputs?api-version=2018-07-01-preview&se=2018-09-20T02%3A00%3A00.0000000Z&sp=%2Ftriggers%2Fmanual%2Fhistories%2F08586642093157931122318404412CU40%2Fcontents%2FTriggerInputs%2Fread&sv=1.0&sig=LI6w8cxdXTFz_RU1eRa59fdxHRougyAvXK_f_gPcLfY\",\r\n \"contentSize\": 13\r\n },\r\n \"outputsLink\": {\r\n \"uri\": \"https://prod-40.westus.logic.azure.com:443/workflows/a9f792dbbb904f78a03f3b6ead5c82c1/triggers/manual/histories/08586642093157931122318404412CU40/contents/TriggerOutputs?api-version=2018-07-01-preview&se=2018-09-20T02%3A00%3A00.0000000Z&sp=%2Ftriggers%2Fmanual%2Fhistories%2F08586642093157931122318404412CU40%2Fcontents%2FTriggerOutputs%2Fread&sv=1.0&sig=eg4-qsdPTgDOet2AVQi7RYf0fRJUmypbnaQLt1_uwLk\",\r\n \"contentSize\": 1619\r\n },\r\n \"fired\": true,\r\n \"run\": {\r\n \"name\": \"08586642093157931122318404412CU40\",\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow3872/runs/08586642093157931122318404412CU40\",\r\n \"type\": \"Microsoft.Logic/workflows/runs\"\r\n },\r\n \"workflow\": {\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow3872/versions/08586642093164569581\",\r\n \"name\": \"08586642093164569581\",\r\n \"type\": \"Microsoft.Logic/workflows/versions\"\r\n }\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow3872/triggers/manual/histories/08586642093157931122318404412CU40\",\r\n \"name\": \"08586642093157931122318404412CU40\",\r\n \"type\": \"Microsoft.Logic/workflows/triggers/histories\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow3872?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzM4NzI/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "83360536-6d25-4c0f-a4a4-5fcacd0f0288" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:52:50 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:c127d8aa-dd0c-4ca5-bca4-ea447eb4a938" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14997" + ], + "x-ms-correlation-request-id": [ + "0e905f07-166b-4850-b628-bab3988a3b7b" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225250Z:0e905f07-166b-4850-b628-bab3988a3b7b" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "WorkflowTriggerHistories_Get_OK": [ + "Workflow3872" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowTriggerHistoriesScenarioTests/WorkflowTriggerHistories_List_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowTriggerHistoriesScenarioTests/WorkflowTriggerHistories_List_OK.json new file mode 100644 index 0000000000000..d37b51101511e --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowTriggerHistoriesScenarioTests/WorkflowTriggerHistories_List_OK.json @@ -0,0 +1,539 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "306d44fb-887f-4096-a25f-ed44b996d248" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:52:52 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-request-id": [ + "b0b23e03-a23e-4bca-a07d-30eecbde7765" + ], + "x-ms-correlation-request-id": [ + "b0b23e03-a23e-4bca-a07d-30eecbde7765" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225253Z:b0b23e03-a23e-4bca-a07d-30eecbde7765" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "3bb556d6-20ba-47b9-b6aa-bf65d533cbed" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:52:52 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19997" + ], + "x-ms-request-id": [ + "096b4730-844a-4547-b7af-88c24a9f6801" + ], + "x-ms-correlation-request-id": [ + "096b4730-844a-4547-b7af-88c24a9f6801" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225253Z:096b4730-844a-4547-b7af-88c24a9f6801" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow8771?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzg3NzE/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Request\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Response\": {\r\n \"runAfter\": {},\r\n \"type\": \"Response\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"statusCode\": 200\r\n }\r\n }\r\n },\r\n \"outputs\": {}\r\n }\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "9130b137-375c-48b8-ad3e-0b3b59dd154c" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "688" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:52:53 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:2d63d452-19ad-4669-8862-dc5d77908c03" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-correlation-request-id": [ + "ef025946-dea8-49ec-a72d-c232976f466c" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225254Z:ef025946-dea8-49ec-a72d-c232976f466c" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "1383" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2018-09-19T22:52:53.7694466Z\",\r\n \"changedTime\": \"2018-09-19T22:52:53.7556891Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08586642093118666257\",\r\n \"accessEndpoint\": \"https://prod-78.westus.logic.azure.com:443/workflows/151713093773402a94f725d09bd36e71\",\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Request\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Response\": {\r\n \"runAfter\": {},\r\n \"type\": \"Response\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"statusCode\": 200\r\n }\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {},\r\n \"endpointsConfiguration\": {\r\n \"workflow\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"52.160.92.112\"\r\n },\r\n {\r\n \"address\": \"40.118.244.241\"\r\n },\r\n {\r\n \"address\": \"40.118.241.243\"\r\n },\r\n {\r\n \"address\": \"157.56.162.53\"\r\n },\r\n {\r\n \"address\": \"157.56.167.147\"\r\n },\r\n {\r\n \"address\": \"104.42.49.145\"\r\n },\r\n {\r\n \"address\": \"40.83.164.80\"\r\n },\r\n {\r\n \"address\": \"104.42.38.32\"\r\n }\r\n ],\r\n \"accessEndpointIpAddresses\": [\r\n {\r\n \"address\": \"52.160.90.237\"\r\n },\r\n {\r\n \"address\": \"138.91.188.137\"\r\n },\r\n {\r\n \"address\": \"13.91.252.184\"\r\n },\r\n {\r\n \"address\": \"157.56.160.212 \"\r\n }\r\n ]\r\n },\r\n \"connector\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"104.40.51.248\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow8771\",\r\n \"name\": \"Workflow8771\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow8771/triggers/manual/histories?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzg3NzEvdHJpZ2dlcnMvbWFudWFsL2hpc3Rvcmllcz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "d53cb3cf-09e2-43a4-98ca-9aa560a9f77d" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:52:53 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:41258d8c-2196-4e09-b4d7-91beb97b194c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19999" + ], + "x-ms-correlation-request-id": [ + "cd912742-191c-4193-b9a1-87970af59f6f" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225254Z:cd912742-191c-4193-b9a1-87970af59f6f" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow8771/triggers/manual/histories?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzg3NzEvdHJpZ2dlcnMvbWFudWFsL2hpc3Rvcmllcz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "12ed079d-098d-4d58-ba3b-34aa89331c13" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:52:53 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:f1590a97-4165-43ec-8daf-c09e6e587db1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19998" + ], + "x-ms-correlation-request-id": [ + "abfd121a-395b-4cd6-ba62-9b81cba72264" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225254Z:abfd121a-395b-4cd6-ba62-9b81cba72264" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "3767" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"startTime\": \"2018-09-19T22:52:54.5057453Z\",\r\n \"endTime\": \"2018-09-19T22:52:54.6212861Z\",\r\n \"status\": \"Succeeded\",\r\n \"correlation\": {\r\n \"clientTrackingId\": \"08586642093109710094054107147CU03\"\r\n },\r\n \"inputsLink\": {\r\n \"uri\": \"https://prod-78.westus.logic.azure.com:443/workflows/151713093773402a94f725d09bd36e71/triggers/manual/histories/08586642093109710094054107147CU03/contents/TriggerInputs?api-version=2018-07-01-preview&se=2018-09-20T02%3A00%3A00.0000000Z&sp=%2Ftriggers%2Fmanual%2Fhistories%2F08586642093109710094054107147CU03%2Fcontents%2FTriggerInputs%2Fread&sv=1.0&sig=H8DRR5CXcIBP3jfHJD0DsFKr8-o--WhXiMHB0nq4uQQ\",\r\n \"contentSize\": 13\r\n },\r\n \"outputsLink\": {\r\n \"uri\": \"https://prod-78.westus.logic.azure.com:443/workflows/151713093773402a94f725d09bd36e71/triggers/manual/histories/08586642093109710094054107147CU03/contents/TriggerOutputs?api-version=2018-07-01-preview&se=2018-09-20T02%3A00%3A00.0000000Z&sp=%2Ftriggers%2Fmanual%2Fhistories%2F08586642093109710094054107147CU03%2Fcontents%2FTriggerOutputs%2Fread&sv=1.0&sig=I44vapBCPuFFjbmDe5_DZzZhkcDuGAgEhQwHKA0frYU\",\r\n \"contentSize\": 1619\r\n },\r\n \"fired\": true,\r\n \"run\": {\r\n \"name\": \"08586642093109710094054107147CU03\",\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow8771/runs/08586642093109710094054107147CU03\",\r\n \"type\": \"Microsoft.Logic/workflows/runs\"\r\n },\r\n \"workflow\": {\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow8771/versions/08586642093118666257\",\r\n \"name\": \"08586642093118666257\",\r\n \"type\": \"Microsoft.Logic/workflows/versions\"\r\n }\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow8771/triggers/manual/histories/08586642093109710094054107147CU03\",\r\n \"name\": \"08586642093109710094054107147CU03\",\r\n \"type\": \"Microsoft.Logic/workflows/triggers/histories\"\r\n },\r\n {\r\n \"properties\": {\r\n \"startTime\": \"2018-09-19T22:52:54.2713592Z\",\r\n \"endTime\": \"2018-09-19T22:52:54.46255Z\",\r\n \"status\": \"Succeeded\",\r\n \"correlation\": {\r\n \"clientTrackingId\": \"08586642093111945892325338589CU00\"\r\n },\r\n \"inputsLink\": {\r\n \"uri\": \"https://prod-78.westus.logic.azure.com:443/workflows/151713093773402a94f725d09bd36e71/triggers/manual/histories/08586642093111945892325338589CU00/contents/TriggerInputs?api-version=2018-07-01-preview&se=2018-09-20T02%3A00%3A00.0000000Z&sp=%2Ftriggers%2Fmanual%2Fhistories%2F08586642093111945892325338589CU00%2Fcontents%2FTriggerInputs%2Fread&sv=1.0&sig=J2yusM4D4VRakw0_cW6_gHKdwlArf2A9dhzDm4mpus4\",\r\n \"contentSize\": 13\r\n },\r\n \"outputsLink\": {\r\n \"uri\": \"https://prod-78.westus.logic.azure.com:443/workflows/151713093773402a94f725d09bd36e71/triggers/manual/histories/08586642093111945892325338589CU00/contents/TriggerOutputs?api-version=2018-07-01-preview&se=2018-09-20T02%3A00%3A00.0000000Z&sp=%2Ftriggers%2Fmanual%2Fhistories%2F08586642093111945892325338589CU00%2Fcontents%2FTriggerOutputs%2Fread&sv=1.0&sig=z94eg6DALnM82CgesCUs09Vr3PnugdaXmjURvBHjsV0\",\r\n \"contentSize\": 1619\r\n },\r\n \"fired\": true,\r\n \"run\": {\r\n \"name\": \"08586642093111945892325338589CU00\",\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow8771/runs/08586642093111945892325338589CU00\",\r\n \"type\": \"Microsoft.Logic/workflows/runs\"\r\n },\r\n \"workflow\": {\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow8771/versions/08586642093118666257\",\r\n \"name\": \"08586642093118666257\",\r\n \"type\": \"Microsoft.Logic/workflows/versions\"\r\n }\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow8771/triggers/manual/histories/08586642093111945892325338589CU00\",\r\n \"name\": \"08586642093111945892325338589CU00\",\r\n \"type\": \"Microsoft.Logic/workflows/triggers/histories\"\r\n }\r\n ]\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow8771/triggers/manual/run?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzg3NzEvdHJpZ2dlcnMvbWFudWFsL3J1bj9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "e22a22d2-547d-4a7f-88c8-d270c5e8bb56" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:52:53 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-workflow-run-id": [ + "08586642093111945892325338589CU00" + ], + "x-ms-correlation-id": [ + "5a1f0089-b288-4047-ab26-99f363513d28" + ], + "x-ms-client-tracking-id": [ + "08586642093111945892325338589CU00" + ], + "x-ms-trigger-history-name": [ + "08586642093111945892325338589CU00" + ], + "x-ms-execution-location": [ + "westus" + ], + "x-ms-workflow-id": [ + "151713093773402a94f725d09bd36e71" + ], + "x-ms-workflow-version": [ + "08586642093118666257" + ], + "x-ms-workflow-name": [ + "Workflow8771" + ], + "x-ms-workflow-system-id": [ + "/locations/westus/scaleunits/prod-78/workflows/151713093773402a94f725d09bd36e71" + ], + "x-ms-tracking-id": [ + "5a1f0089-b288-4047-ab26-99f363513d28" + ], + "x-ms-request-id": [ + "westus:5a1f0089-b288-4047-ab26-99f363513d28" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "4999" + ], + "x-ms-correlation-request-id": [ + "9f14d47d-46b3-4900-bfbe-a7e069ed3796" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225254Z:9f14d47d-46b3-4900-bfbe-a7e069ed3796" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow8771/triggers/manual/run?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzg3NzEvdHJpZ2dlcnMvbWFudWFsL3J1bj9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "e6e1ff89-6f91-4161-bf41-048ee6166166" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:52:53 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-workflow-run-id": [ + "08586642093109710094054107147CU03" + ], + "x-ms-correlation-id": [ + "9d25d6aa-d465-4246-9083-6a0f0a434168" + ], + "x-ms-client-tracking-id": [ + "08586642093109710094054107147CU03" + ], + "x-ms-trigger-history-name": [ + "08586642093109710094054107147CU03" + ], + "x-ms-execution-location": [ + "westus" + ], + "x-ms-workflow-id": [ + "151713093773402a94f725d09bd36e71" + ], + "x-ms-workflow-version": [ + "08586642093118666257" + ], + "x-ms-workflow-name": [ + "Workflow8771" + ], + "x-ms-workflow-system-id": [ + "/locations/westus/scaleunits/prod-78/workflows/151713093773402a94f725d09bd36e71" + ], + "x-ms-tracking-id": [ + "9d25d6aa-d465-4246-9083-6a0f0a434168" + ], + "x-ms-request-id": [ + "westus:9d25d6aa-d465-4246-9083-6a0f0a434168" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "4998" + ], + "x-ms-correlation-request-id": [ + "6a94db3f-bdb9-4e84-a0f1-56c63088b784" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225254Z:6a94db3f-bdb9-4e84-a0f1-56c63088b784" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow8771?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzg3NzE/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "9a6b5925-a4cf-4b66-a8ea-7a8c7ba5af64" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:52:54 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:7906d555-6ee9-4116-b372-cc3f636bdebe" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14997" + ], + "x-ms-correlation-request-id": [ + "01e965b5-100c-4ed1-a86c-6a32d3c89d5d" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T225255Z:01e965b5-100c-4ed1-a86c-6a32d3c89d5d" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "WorkflowTriggerHistories_List_OK": [ + "Workflow8771" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowTriggersScenarioTests/GetAndListTriggers.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowTriggersScenarioTests/GetAndListTriggers.json deleted file mode 100644 index 42c20c14992de..0000000000000 --- a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowTriggersScenarioTests/GetAndListTriggers.json +++ /dev/null @@ -1,237 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf1258?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTI1MGRkOTItYjU4MC00NmJlLWIzMjctZTY1OTZjOGRlMTk2L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9sb2dpY3dmMTI1OD9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourcegroups/flowrg/providers/microsoft.web/serverfarms/ServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"http://schema.management.azure.com/providers/Microsoft.Logic/schemas/2014-12-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"httpTrigger\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"GET\",\r\n \"uri\": \"invalidUri\"\r\n },\r\n \"recurrence\": {\r\n \"frequency\": \"Minute\",\r\n \"interval\": 60\r\n }\r\n }\r\n },\r\n \"actions\": {},\r\n \"outputs\": {\r\n \"output1\": {\r\n \"type\": \"string\",\r\n \"value\": \"@trigger().outputs\"\r\n }\r\n }\r\n }\r\n },\r\n \"location\": \"westus\"\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "943" - ], - "x-ms-client-request-id": [ - "4ed29156-5533-4ce4-92f5-b992dddee9e5" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2016-07-20T17:22:22.1486345Z\",\r\n \"changedTime\": \"2016-07-20T17:22:22.1486345Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587325715433987810\",\r\n \"accessEndpoint\": \"https://prod-02.westus.logic.azure.com:443/workflows/10a0e58299ea4d57bba4bbf5daff8c57\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourcegroups/flowrg/providers/microsoft.web/serverfarms/ServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"ServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"http://schema.management.azure.com/providers/Microsoft.Logic/schemas/2014-12-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"httpTrigger\": {\r\n \"recurrence\": {\r\n \"frequency\": \"Minute\",\r\n \"interval\": 60\r\n },\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"GET\",\r\n \"uri\": \"invalidUri\"\r\n }\r\n }\r\n },\r\n \"actions\": {},\r\n \"outputs\": {\r\n \"output1\": {\r\n \"type\": \"String\",\r\n \"value\": \"@trigger().outputs\"\r\n }\r\n }\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf1258\",\r\n \"name\": \"logicwf1258\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "1138" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:1ae55e73-1ebe-4597-aade-b06a3b10b853" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1187" - ], - "x-ms-correlation-request-id": [ - "2ae1bda1-18bd-4535-adbf-c71ff22813d4" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20160720T172222Z:2ae1bda1-18bd-4535-adbf-c71ff22813d4" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 20 Jul 2016 17:22:22 GMT" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf1258/triggers/?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTI1MGRkOTItYjU4MC00NmJlLWIzMjctZTY1OTZjOGRlMTk2L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9sb2dpY3dmMTI1OC90cmlnZ2Vycy8/YXBpLXZlcnNpb249MjAxNi0wNi0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "7cfd2da2-8dee-4044-8c63-0f2f5e192732" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"createdTime\": \"2016-07-20T17:22:22.1486345Z\",\r\n \"changedTime\": \"2016-07-20T17:22:22.1489241Z\",\r\n \"state\": \"Enabled\",\r\n \"workflow\": {\r\n \"name\": \"logicwf1258/08587325715433987810\",\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf1258/versions/08587325715433987810\",\r\n \"type\": \"Microsoft.Logic/workflows/versions\"\r\n }\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf1258/triggers/httpTrigger\",\r\n \"name\": \"httpTrigger\",\r\n \"type\": \"Microsoft.Logic/workflows/triggers\"\r\n }\r\n ]\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "640" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "Vary": [ - "Accept-Encoding" - ], - "x-ms-request-id": [ - "westus:9d456279-582e-4170-8552-8b06c7f34714" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14955" - ], - "x-ms-correlation-request-id": [ - "dca9a3bc-2089-4519-ae87-e837d1560cbf" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20160720T172222Z:dca9a3bc-2089-4519-ae87-e837d1560cbf" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 20 Jul 2016 17:22:22 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf1258/triggers/httpTrigger?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTI1MGRkOTItYjU4MC00NmJlLWIzMjctZTY1OTZjOGRlMTk2L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9sb2dpY3dmMTI1OC90cmlnZ2Vycy9odHRwVHJpZ2dlcj9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "d6171f62-8419-475f-82ff-8e4ff17b91a0" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"createdTime\": \"2016-07-20T17:22:22.1486345Z\",\r\n \"changedTime\": \"2016-07-20T17:22:22.1489241Z\",\r\n \"state\": \"Enabled\",\r\n \"workflow\": {\r\n \"name\": \"logicwf1258/08587325715433987810\",\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf1258/versions/08587325715433987810\",\r\n \"type\": \"Microsoft.Logic/workflows/versions\"\r\n }\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf1258/triggers/httpTrigger\",\r\n \"name\": \"httpTrigger\",\r\n \"type\": \"Microsoft.Logic/workflows/triggers\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "628" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "Vary": [ - "Accept-Encoding" - ], - "x-ms-request-id": [ - "westus:7bb51d30-3748-458e-93ed-7389cc81ad10" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14954" - ], - "x-ms-correlation-request-id": [ - "37d83918-4e61-4b3b-b973-2abbfdb47bf1" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20160720T172222Z:37d83918-4e61-4b3b-b973-2abbfdb47bf1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 20 Jul 2016 17:22:22 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf1258?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTI1MGRkOTItYjU4MC00NmJlLWIzMjctZTY1OTZjOGRlMTk2L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9sb2dpY3dmMTI1OD9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "a71fdf78-cef8-4d1c-82bb-6c8f7a6fd813" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:0726e215-972f-4d3b-8a1a-0aa958736811" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1186" - ], - "x-ms-correlation-request-id": [ - "037cd79b-3ae5-4d70-b41a-0effc3710970" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20160720T172223Z:037cd79b-3ae5-4d70-b41a-0effc3710970" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 20 Jul 2016 17:22:22 GMT" - ] - }, - "StatusCode": 200 - } - ], - "Names": { - "GetAndListTriggers": [ - "logicwf1258" - ] - }, - "Variables": { - "SubscriptionId": "5250dd92-b580-46be-b327-e6596c8de196" - } -} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowTriggersScenarioTests/ListNoTrigger.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowTriggersScenarioTests/ListNoTrigger.json deleted file mode 100644 index c4eff4bcde3a6..0000000000000 --- a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowTriggersScenarioTests/ListNoTrigger.json +++ /dev/null @@ -1,180 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf8413?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTI1MGRkOTItYjU4MC00NmJlLWIzMjctZTY1OTZjOGRlMTk2L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9sb2dpY3dmODQxMz9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourcegroups/flowrg/providers/microsoft.web/serverfarms/ServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"http://schema.management.azure.com/providers/Microsoft.Logic/schemas/2014-12-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"runworkflowmanually\": {\r\n \"defaultValue\": true,\r\n \"type\": \"Bool\"\r\n },\r\n \"subscription\": {\r\n \"defaultValue\": \"1a66ce04-b633-4a0b-b2bc-a912ec8986a6\",\r\n \"type\": \"String\"\r\n },\r\n \"resourceGroup\": {\r\n \"defaultValue\": \"logicapps-e2e\",\r\n \"type\": \"String\"\r\n },\r\n \"authentication\": {\r\n \"defaultValue\": {\r\n \"type\": \"ActiveDirectoryOAuth\",\r\n \"audience\": \"https://management.azure.com/\",\r\n \"tenant\": \"00000000-0000-0000-0000-000000000000\",\r\n \"clientId\": \"00000000-0000-0000-0000-000000000000\",\r\n \"secret\": \"Dummy\"\r\n },\r\n \"type\": \"Object\"\r\n }\r\n },\r\n \"triggers\": {},\r\n \"actions\": {\r\n \"listWorkflows\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"GET\",\r\n \"uri\": \"someUri\",\r\n \"authentication\": \"@parameters('authentication')\"\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n }\r\n },\r\n \"location\": \"westus\"\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "1551" - ], - "x-ms-client-request-id": [ - "23bb5d59-2770-49c1-a9cd-f12f832f78ee" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2016-07-20T17:22:16.9781151Z\",\r\n \"changedTime\": \"2016-07-20T17:22:16.9781151Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587325715485445221\",\r\n \"accessEndpoint\": \"https://prod-00.westus.logic.azure.com:443/workflows/1dc8cb53b7f14aa1846466f615456ae1\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourcegroups/flowrg/providers/microsoft.web/serverfarms/ServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"ServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"http://schema.management.azure.com/providers/Microsoft.Logic/schemas/2014-12-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"runworkflowmanually\": {\r\n \"defaultValue\": true,\r\n \"type\": \"Bool\"\r\n },\r\n \"subscription\": {\r\n \"defaultValue\": \"1a66ce04-b633-4a0b-b2bc-a912ec8986a6\",\r\n \"type\": \"String\"\r\n },\r\n \"resourceGroup\": {\r\n \"defaultValue\": \"logicapps-e2e\",\r\n \"type\": \"String\"\r\n },\r\n \"authentication\": {\r\n \"defaultValue\": {\r\n \"type\": \"ActiveDirectoryOAuth\",\r\n \"audience\": \"https://management.azure.com/\",\r\n \"tenant\": \"00000000-0000-0000-0000-000000000000\",\r\n \"clientId\": \"00000000-0000-0000-0000-000000000000\",\r\n \"secret\": \"Dummy\"\r\n },\r\n \"type\": \"Object\"\r\n }\r\n },\r\n \"triggers\": {},\r\n \"actions\": {\r\n \"listWorkflows\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"GET\",\r\n \"uri\": \"someUri\",\r\n \"authentication\": \"@parameters('authentication')\"\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf8413\",\r\n \"name\": \"logicwf8413\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "1545" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:d8694cac-d478-4174-b969-ac639a400e34" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1180" - ], - "x-ms-correlation-request-id": [ - "a4bd5413-2a06-4fac-a433-779cf8d1c04c" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20160720T172217Z:a4bd5413-2a06-4fac-a433-779cf8d1c04c" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 20 Jul 2016 17:22:16 GMT" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf8413/triggers/?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTI1MGRkOTItYjU4MC00NmJlLWIzMjctZTY1OTZjOGRlMTk2L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9sb2dpY3dmODQxMy90cmlnZ2Vycy8/YXBpLXZlcnNpb249MjAxNi0wNi0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "99f2a3e5-c13a-46d5-bbce-4e6365309e97" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": []\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "12" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "Vary": [ - "Accept-Encoding" - ], - "x-ms-request-id": [ - "westus:96feeb97-e21f-449c-a640-074cea6a4b1f" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14985" - ], - "x-ms-correlation-request-id": [ - "24076592-6111-4219-bf32-ab53da92c0ab" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20160720T172217Z:24076592-6111-4219-bf32-ab53da92c0ab" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 20 Jul 2016 17:22:17 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf8413?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTI1MGRkOTItYjU4MC00NmJlLWIzMjctZTY1OTZjOGRlMTk2L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9sb2dpY3dmODQxMz9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "b55971ba-1b99-4541-9eca-57c97c9b4e1d" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:9d63ee33-5f02-45a5-b01b-b662545e9657" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1179" - ], - "x-ms-correlation-request-id": [ - "8da1a670-932f-499e-b1b7-abd5bd6fadef" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20160720T172217Z:8da1a670-932f-499e-b1b7-abd5bd6fadef" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 20 Jul 2016 17:22:17 GMT" - ] - }, - "StatusCode": 200 - } - ], - "Names": { - "ListNoTrigger": [ - "logicwf8413" - ] - }, - "Variables": { - "SubscriptionId": "5250dd92-b580-46be-b327-e6596c8de196" - } -} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowTriggersScenarioTests/RunTrigger.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowTriggersScenarioTests/RunTrigger.json deleted file mode 100644 index 826d1d86017c0..0000000000000 --- a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowTriggersScenarioTests/RunTrigger.json +++ /dev/null @@ -1,174 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf890?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTI1MGRkOTItYjU4MC00NmJlLWIzMjctZTY1OTZjOGRlMTk2L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9sb2dpY3dmODkwP2FwaS12ZXJzaW9uPTIwMTYtMDYtMDE=", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourcegroups/flowrg/providers/microsoft.web/serverfarms/ServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"http://schema.management.azure.com/providers/Microsoft.Logic/schemas/2014-12-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"httpTrigger\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"GET\",\r\n \"uri\": \"invalidUri\"\r\n },\r\n \"recurrence\": {\r\n \"frequency\": \"Minute\",\r\n \"interval\": 60\r\n }\r\n }\r\n },\r\n \"actions\": {},\r\n \"outputs\": {\r\n \"output1\": {\r\n \"type\": \"string\",\r\n \"value\": \"@trigger().outputs\"\r\n }\r\n }\r\n }\r\n },\r\n \"location\": \"westus\"\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "943" - ], - "x-ms-client-request-id": [ - "5f52010c-9894-4699-b00a-c87ee676d9fd" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2016-07-20T17:28:48.2895135Z\",\r\n \"changedTime\": \"2016-07-20T17:28:48.2895135Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587325711572865609\",\r\n \"accessEndpoint\": \"https://prod-15.westus.logic.azure.com:443/workflows/b7bc4c2f871e4b359afe70986a176333\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourcegroups/flowrg/providers/microsoft.web/serverfarms/ServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"ServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"http://schema.management.azure.com/providers/Microsoft.Logic/schemas/2014-12-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"httpTrigger\": {\r\n \"recurrence\": {\r\n \"frequency\": \"Minute\",\r\n \"interval\": 60\r\n },\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"GET\",\r\n \"uri\": \"invalidUri\"\r\n }\r\n }\r\n },\r\n \"actions\": {},\r\n \"outputs\": {\r\n \"output1\": {\r\n \"type\": \"String\",\r\n \"value\": \"@trigger().outputs\"\r\n }\r\n }\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf890\",\r\n \"name\": \"logicwf890\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "1136" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:a33fcec8-5332-48c2-9f77-069b27c2cf03" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1195" - ], - "x-ms-correlation-request-id": [ - "a09fe164-d10c-43a1-a6be-5f15ac41890f" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20160720T172848Z:a09fe164-d10c-43a1-a6be-5f15ac41890f" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 20 Jul 2016 17:28:48 GMT" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf890/triggers/httpTrigger/run?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTI1MGRkOTItYjU4MC00NmJlLWIzMjctZTY1OTZjOGRlMTk2L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9sb2dpY3dmODkwL3RyaWdnZXJzL2h0dHBUcmlnZ2VyL3J1bj9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "POST", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "82915a9d-50f4-47f8-81bf-70b9397ef595" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:4e174847-4552-44f4-aea6-a7f31872a6b2" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1194" - ], - "x-ms-correlation-request-id": [ - "59408a76-7a88-48d6-b0cc-67cab37dfae4" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20160720T172854Z:59408a76-7a88-48d6-b0cc-67cab37dfae4" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 20 Jul 2016 17:28:53 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf890?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTI1MGRkOTItYjU4MC00NmJlLWIzMjctZTY1OTZjOGRlMTk2L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9sb2dpY3dmODkwP2FwaS12ZXJzaW9uPTIwMTYtMDYtMDE=", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "1bb52a50-99ff-4d8b-812c-72cec1360a23" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:093f2dbb-744e-4e95-b3cf-ebf1aac21ae7" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1193" - ], - "x-ms-correlation-request-id": [ - "8ed2c718-98d6-4128-b669-09c0a8bd1d41" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20160720T172856Z:8ed2c718-98d6-4128-b669-09c0a8bd1d41" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 20 Jul 2016 17:28:55 GMT" - ] - }, - "StatusCode": 200 - } - ], - "Names": { - "RunTrigger": [ - "logicwf890" - ] - }, - "Variables": { - "SubscriptionId": "5250dd92-b580-46be-b327-e6596c8de196" - } -} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowTriggersScenarioTests/WorkflowTriggers_GetJsonSchema_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowTriggersScenarioTests/WorkflowTriggers_GetJsonSchema_OK.json new file mode 100644 index 0000000000000..aba927cbac3f6 --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowTriggersScenarioTests/WorkflowTriggers_GetJsonSchema_OK.json @@ -0,0 +1,308 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "055bbed8-3260-4f7d-8b29-dcaf6b48622a" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:47:30 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-request-id": [ + "7950863e-72f9-4422-ac01-4795ca79eddc" + ], + "x-ms-correlation-request-id": [ + "7950863e-72f9-4422-ac01-4795ca79eddc" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224731Z:7950863e-72f9-4422-ac01-4795ca79eddc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "49076099-360f-4a1d-8eb7-f7aec25f07ce" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:47:30 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19999" + ], + "x-ms-request-id": [ + "9575f38c-c3c6-423d-b107-cbd4289dbbc2" + ], + "x-ms-correlation-request-id": [ + "9575f38c-c3c6-423d-b107-cbd4289dbbc2" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224731Z:9575f38c-c3c6-423d-b107-cbd4289dbbc2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow1892?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzE4OTI/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Request\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Response\": {\r\n \"runAfter\": {},\r\n \"type\": \"Response\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"statusCode\": 200\r\n }\r\n }\r\n },\r\n \"outputs\": {}\r\n }\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "caf19516-d19f-4a9b-9a94-4557f9f3b197" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "688" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:47:31 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:0f72b4f2-ce1c-40f8-bde5-3336bbbca830" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "2082217b-e35a-407f-9982-32f8f592317e" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224732Z:2082217b-e35a-407f-9982-32f8f592317e" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "1383" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2018-09-19T22:47:32.3788943Z\",\r\n \"changedTime\": \"2018-09-19T22:47:32.3787309Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08586642096332459649\",\r\n \"accessEndpoint\": \"https://prod-25.westus.logic.azure.com:443/workflows/64cc2852da4b4ec085e7fa85a8853a2f\",\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Request\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Response\": {\r\n \"runAfter\": {},\r\n \"type\": \"Response\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"statusCode\": 200\r\n }\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {},\r\n \"endpointsConfiguration\": {\r\n \"workflow\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"52.160.92.112\"\r\n },\r\n {\r\n \"address\": \"40.118.244.241\"\r\n },\r\n {\r\n \"address\": \"40.118.241.243\"\r\n },\r\n {\r\n \"address\": \"157.56.162.53\"\r\n },\r\n {\r\n \"address\": \"157.56.167.147\"\r\n },\r\n {\r\n \"address\": \"104.42.49.145\"\r\n },\r\n {\r\n \"address\": \"40.83.164.80\"\r\n },\r\n {\r\n \"address\": \"104.42.38.32\"\r\n }\r\n ],\r\n \"accessEndpointIpAddresses\": [\r\n {\r\n \"address\": \"52.160.90.237\"\r\n },\r\n {\r\n \"address\": \"138.91.188.137\"\r\n },\r\n {\r\n \"address\": \"13.91.252.184\"\r\n },\r\n {\r\n \"address\": \"157.56.160.212 \"\r\n }\r\n ]\r\n },\r\n \"connector\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"104.40.51.248\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow1892\",\r\n \"name\": \"Workflow1892\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow1892/triggers/manual/schemas/json?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzE4OTIvdHJpZ2dlcnMvbWFudWFsL3NjaGVtYXMvanNvbj9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "1383ff80-9cfa-411b-b122-8f4bf3063bda" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:47:31 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:4aa0a12f-6e8f-40f1-817f-b8a1224c4811" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-correlation-request-id": [ + "ade3f764-c349-44bc-b12e-d9d212618b9e" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224732Z:ade3f764-c349-44bc-b12e-d9d212618b9e" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "2" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow1892?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzE4OTI/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "44e033b2-517f-46b2-a0a3-4ef54d0c09f4" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:47:33 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:6a53d8cb-1b78-4c7e-8223-addaabdc8cd4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "7c48a607-35d7-47a2-8462-944eef6d72be" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224733Z:7c48a607-35d7-47a2-8462-944eef6d72be" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "WorkflowTriggers_GetJsonSchema_OK": [ + "Workflow1892" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowTriggersScenarioTests/WorkflowTriggers_Get_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowTriggersScenarioTests/WorkflowTriggers_Get_OK.json new file mode 100644 index 0000000000000..2536d1160cb2b --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowTriggersScenarioTests/WorkflowTriggers_Get_OK.json @@ -0,0 +1,308 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "7afc87ba-bf05-471f-aef9-a6b4ac2866e6" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:47:22 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-request-id": [ + "400f9270-d679-4721-8935-78ae882efb04" + ], + "x-ms-correlation-request-id": [ + "400f9270-d679-4721-8935-78ae882efb04" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224723Z:400f9270-d679-4721-8935-78ae882efb04" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "48e7c8a2-7953-4ae6-9462-87b73e6411fb" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:47:23 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19996" + ], + "x-ms-request-id": [ + "dde3a00a-fe4d-4877-90fa-b0a647e1180e" + ], + "x-ms-correlation-request-id": [ + "dde3a00a-fe4d-4877-90fa-b0a647e1180e" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224723Z:dde3a00a-fe4d-4877-90fa-b0a647e1180e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow7561?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzc1NjE/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Request\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Response\": {\r\n \"runAfter\": {},\r\n \"type\": \"Response\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"statusCode\": 200\r\n }\r\n }\r\n },\r\n \"outputs\": {}\r\n }\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "cb64457e-a5da-4670-9071-7df4801f39e4" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "688" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:47:24 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:197f364f-277d-41c1-a334-004b6daa7ffa" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-correlation-request-id": [ + "b71f91dc-2bf0-422b-8cce-5c5e9c4f8a70" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224724Z:b71f91dc-2bf0-422b-8cce-5c5e9c4f8a70" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "1383" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2018-09-19T22:47:24.2687869Z\",\r\n \"changedTime\": \"2018-09-19T22:47:24.2534295Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08586642096412771382\",\r\n \"accessEndpoint\": \"https://prod-73.westus.logic.azure.com:443/workflows/da059bb2aa5e4121bd5ebb0279108e59\",\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Request\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Response\": {\r\n \"runAfter\": {},\r\n \"type\": \"Response\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"statusCode\": 200\r\n }\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {},\r\n \"endpointsConfiguration\": {\r\n \"workflow\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"52.160.92.112\"\r\n },\r\n {\r\n \"address\": \"40.118.244.241\"\r\n },\r\n {\r\n \"address\": \"40.118.241.243\"\r\n },\r\n {\r\n \"address\": \"157.56.162.53\"\r\n },\r\n {\r\n \"address\": \"157.56.167.147\"\r\n },\r\n {\r\n \"address\": \"104.42.49.145\"\r\n },\r\n {\r\n \"address\": \"40.83.164.80\"\r\n },\r\n {\r\n \"address\": \"104.42.38.32\"\r\n }\r\n ],\r\n \"accessEndpointIpAddresses\": [\r\n {\r\n \"address\": \"52.160.90.237\"\r\n },\r\n {\r\n \"address\": \"138.91.188.137\"\r\n },\r\n {\r\n \"address\": \"13.91.252.184\"\r\n },\r\n {\r\n \"address\": \"157.56.160.212 \"\r\n }\r\n ]\r\n },\r\n \"connector\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"104.40.51.248\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow7561\",\r\n \"name\": \"Workflow7561\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow7561/triggers/manual?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzc1NjEvdHJpZ2dlcnMvbWFudWFsP2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "a95d0257-593a-4054-ab61-3fb42695f799" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:47:24 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:3b46a1e2-93f0-4126-b071-2e6d56c758bc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "x-ms-correlation-request-id": [ + "e722a39e-3c35-402a-9fda-12e07f63ef6f" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224724Z:e722a39e-3c35-402a-9fda-12e07f63ef6f" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "609" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2018-09-19T22:47:24.2687869Z\",\r\n \"changedTime\": \"2018-09-19T22:47:24.2697325Z\",\r\n \"state\": \"Enabled\",\r\n \"workflow\": {\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow7561/versions/08586642096412771382\",\r\n \"name\": \"08586642096412771382\",\r\n \"type\": \"Microsoft.Logic/workflows/versions\"\r\n }\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow7561/triggers/manual\",\r\n \"name\": \"manual\",\r\n \"type\": \"Microsoft.Logic/workflows/triggers\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow7561?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzc1NjE/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "45b3e2a3-7659-47fe-90b1-24376c8263b4" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:47:24 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:857bbb20-6e28-4f5e-b9d7-a173eae7467e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14995" + ], + "x-ms-correlation-request-id": [ + "869f738a-b8bb-46b9-9fa6-134242b8cb35" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224725Z:869f738a-b8bb-46b9-9fa6-134242b8cb35" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "WorkflowTriggers_Get_OK": [ + "Workflow7561" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowTriggersScenarioTests/WorkflowTriggers_ListCallbackUrl_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowTriggersScenarioTests/WorkflowTriggers_ListCallbackUrl_OK.json new file mode 100644 index 0000000000000..5a8a274d3d35a --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowTriggersScenarioTests/WorkflowTriggers_ListCallbackUrl_OK.json @@ -0,0 +1,308 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "a4c99acf-3e48-442d-a47b-4106b908dde3" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:47:27 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-request-id": [ + "8f9af6f1-44ef-40a0-aecc-c1134639f1a3" + ], + "x-ms-correlation-request-id": [ + "8f9af6f1-44ef-40a0-aecc-c1134639f1a3" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224728Z:8f9af6f1-44ef-40a0-aecc-c1134639f1a3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "385e098b-648d-43dc-b9c7-b8132f787c01" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:47:27 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19998" + ], + "x-ms-request-id": [ + "f9d082e3-ff66-45c6-8c6e-3ebc9fb084dc" + ], + "x-ms-correlation-request-id": [ + "f9d082e3-ff66-45c6-8c6e-3ebc9fb084dc" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224728Z:f9d082e3-ff66-45c6-8c6e-3ebc9fb084dc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow8544?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzg1NDQ/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Request\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Response\": {\r\n \"runAfter\": {},\r\n \"type\": \"Response\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"statusCode\": 200\r\n }\r\n }\r\n },\r\n \"outputs\": {}\r\n }\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "1dee196c-336a-40f5-a390-e9f19bb9a2fb" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "688" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:47:28 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:abd781bc-5090-4104-be69-33b1dd08be05" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "65c46d38-31d4-425c-bcbe-fc752cab55f6" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224729Z:65c46d38-31d4-425c-bcbe-fc752cab55f6" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "1383" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2018-09-19T22:47:28.6914314Z\",\r\n \"changedTime\": \"2018-09-19T22:47:28.6910464Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08586642096368621845\",\r\n \"accessEndpoint\": \"https://prod-90.westus.logic.azure.com:443/workflows/a9af1c8993e4428ea0cc1b5062f9f746\",\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Request\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Response\": {\r\n \"runAfter\": {},\r\n \"type\": \"Response\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"statusCode\": 200\r\n }\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {},\r\n \"endpointsConfiguration\": {\r\n \"workflow\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"52.160.92.112\"\r\n },\r\n {\r\n \"address\": \"40.118.244.241\"\r\n },\r\n {\r\n \"address\": \"40.118.241.243\"\r\n },\r\n {\r\n \"address\": \"157.56.162.53\"\r\n },\r\n {\r\n \"address\": \"157.56.167.147\"\r\n },\r\n {\r\n \"address\": \"104.42.49.145\"\r\n },\r\n {\r\n \"address\": \"40.83.164.80\"\r\n },\r\n {\r\n \"address\": \"104.42.38.32\"\r\n }\r\n ],\r\n \"accessEndpointIpAddresses\": [\r\n {\r\n \"address\": \"52.160.90.237\"\r\n },\r\n {\r\n \"address\": \"138.91.188.137\"\r\n },\r\n {\r\n \"address\": \"13.91.252.184\"\r\n },\r\n {\r\n \"address\": \"157.56.160.212 \"\r\n }\r\n ]\r\n },\r\n \"connector\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"104.40.51.248\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow8544\",\r\n \"name\": \"Workflow8544\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow8544/triggers/manual/listCallbackUrl?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzg1NDQvdHJpZ2dlcnMvbWFudWFsL2xpc3RDYWxsYmFja1VybD9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "f9e6b681-0e46-45c7-874b-2408d5140dc4" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:47:28 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:3c390b4e-f592-4a54-b5f6-a2db1bc499bd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "97eace99-55a8-446a-a811-65f23f58cac9" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224729Z:97eace99-55a8-446a-a811-65f23f58cac9" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "520" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": \"https://prod-90.westus.logic.azure.com:443/workflows/a9af1c8993e4428ea0cc1b5062f9f746/triggers/manual/paths/invoke?api-version=2018-07-01-preview&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=s6F0yH488rXaJD28sPoiW_BiUZXX-43X5Zh5SHUOI2o\",\r\n \"method\": \"POST\",\r\n \"basePath\": \"https://prod-90.westus.logic.azure.com/workflows/a9af1c8993e4428ea0cc1b5062f9f746/triggers/manual/paths/invoke\",\r\n \"queries\": {\r\n \"api-version\": \"2018-07-01-preview\",\r\n \"sp\": \"/triggers/manual/run\",\r\n \"sv\": \"1.0\",\r\n \"sig\": \"s6F0yH488rXaJD28sPoiW_BiUZXX-43X5Zh5SHUOI2o\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow8544?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzg1NDQ/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "40b31cfd-4532-4d39-85a9-7cf643ce5ec7" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:47:29 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:54a4268e-fa34-4180-8a8b-684782bf8c25" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "cef7da6c-0b71-40bb-8ae7-8fcf5c9c4978" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224729Z:cef7da6c-0b71-40bb-8ae7-8fcf5c9c4978" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "WorkflowTriggers_ListCallbackUrl_OK": [ + "Workflow8544" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowTriggersScenarioTests/WorkflowTriggers_List_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowTriggersScenarioTests/WorkflowTriggers_List_OK.json new file mode 100644 index 0000000000000..8fe54740b3985 --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowTriggersScenarioTests/WorkflowTriggers_List_OK.json @@ -0,0 +1,308 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "e7b59f47-4541-4ba5-8c08-19bae34c9244" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:47:39 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-request-id": [ + "fa6d6817-f6ee-498d-862c-1a6868d579ff" + ], + "x-ms-correlation-request-id": [ + "fa6d6817-f6ee-498d-862c-1a6868d579ff" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224739Z:fa6d6817-f6ee-498d-862c-1a6868d579ff" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "66ae9c17-4577-41f8-a787-810708ece45c" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:47:39 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19997" + ], + "x-ms-request-id": [ + "2789bda0-07a2-4b48-bc56-fcead376c4fc" + ], + "x-ms-correlation-request-id": [ + "2789bda0-07a2-4b48-bc56-fcead376c4fc" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224739Z:2789bda0-07a2-4b48-bc56-fcead376c4fc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow416?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzQxNj9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Request\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Response\": {\r\n \"runAfter\": {},\r\n \"type\": \"Response\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"statusCode\": 200\r\n }\r\n }\r\n },\r\n \"outputs\": {}\r\n }\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "fef686b4-013c-438a-bf21-c210512be999" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "688" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:47:40 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:35ef348a-6e2e-4c6e-9ee1-1affd0ab609c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], + "x-ms-correlation-request-id": [ + "9f6d58a8-8471-411c-9b3d-0db4974d7d52" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224740Z:9f6d58a8-8471-411c-9b3d-0db4974d7d52" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "1380" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2018-09-19T22:47:40.4712563Z\",\r\n \"changedTime\": \"2018-09-19T22:47:40.460961Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08586642096250607931\",\r\n \"accessEndpoint\": \"https://prod-79.westus.logic.azure.com:443/workflows/5503a361e7cf4a04b31e13f30cffea4a\",\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Request\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Response\": {\r\n \"runAfter\": {},\r\n \"type\": \"Response\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"statusCode\": 200\r\n }\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {},\r\n \"endpointsConfiguration\": {\r\n \"workflow\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"52.160.92.112\"\r\n },\r\n {\r\n \"address\": \"40.118.244.241\"\r\n },\r\n {\r\n \"address\": \"40.118.241.243\"\r\n },\r\n {\r\n \"address\": \"157.56.162.53\"\r\n },\r\n {\r\n \"address\": \"157.56.167.147\"\r\n },\r\n {\r\n \"address\": \"104.42.49.145\"\r\n },\r\n {\r\n \"address\": \"40.83.164.80\"\r\n },\r\n {\r\n \"address\": \"104.42.38.32\"\r\n }\r\n ],\r\n \"accessEndpointIpAddresses\": [\r\n {\r\n \"address\": \"52.160.90.237\"\r\n },\r\n {\r\n \"address\": \"138.91.188.137\"\r\n },\r\n {\r\n \"address\": \"13.91.252.184\"\r\n },\r\n {\r\n \"address\": \"157.56.160.212 \"\r\n }\r\n ]\r\n },\r\n \"connector\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"104.40.51.248\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow416\",\r\n \"name\": \"Workflow416\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow416/triggers?$filter=manual&api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzQxNi90cmlnZ2Vycz8kZmlsdGVyPW1hbnVhbCZhcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "25696127-4263-4581-9f0d-901bf62e7b1c" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:47:40 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:37413662-9938-4829-b34f-36a70ca17cf9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "x-ms-correlation-request-id": [ + "a8e72fc8-615d-4547-9b57-ed1a054285dd" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224740Z:a8e72fc8-615d-4547-9b57-ed1a054285dd" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "619" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2018-09-19T22:47:40.4712563Z\",\r\n \"changedTime\": \"2018-09-19T22:47:40.4713189Z\",\r\n \"state\": \"Enabled\",\r\n \"workflow\": {\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow416/versions/08586642096250607931\",\r\n \"name\": \"08586642096250607931\",\r\n \"type\": \"Microsoft.Logic/workflows/versions\"\r\n }\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow416/triggers/manual\",\r\n \"name\": \"manual\",\r\n \"type\": \"Microsoft.Logic/workflows/triggers\"\r\n }\r\n ]\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow416?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzQxNj9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "5beddca9-2fa0-4340-8b61-789cdcabc978" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:47:40 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:0726acc0-eb8f-4fbe-b2bc-c422104f38b8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14996" + ], + "x-ms-correlation-request-id": [ + "db911913-9351-4088-93e8-303255f1163f" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224741Z:db911913-9351-4088-93e8-303255f1163f" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "WorkflowTriggers_List_OK": [ + "Workflow416" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowTriggersScenarioTests/WorkflowTriggers_Reset_Exception.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowTriggersScenarioTests/WorkflowTriggers_Reset_Exception.json new file mode 100644 index 0000000000000..567afb3bff0b7 --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowTriggersScenarioTests/WorkflowTriggers_Reset_Exception.json @@ -0,0 +1,305 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "13b28b61-6991-4f1e-b1bc-e34f4749908f" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:47:42 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-request-id": [ + "c454f762-a3b9-44de-a517-6d88b8a6e876" + ], + "x-ms-correlation-request-id": [ + "c454f762-a3b9-44de-a517-6d88b8a6e876" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224743Z:c454f762-a3b9-44de-a517-6d88b8a6e876" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "f2775091-ba93-40a0-901c-310123469296" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:47:43 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19999" + ], + "x-ms-request-id": [ + "81c89616-ddce-452c-9818-edcbb10756f5" + ], + "x-ms-correlation-request-id": [ + "81c89616-ddce-452c-9818-edcbb10756f5" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224743Z:81c89616-ddce-452c-9818-edcbb10756f5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow3249?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzMyNDk/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Request\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Response\": {\r\n \"runAfter\": {},\r\n \"type\": \"Response\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"statusCode\": 200\r\n }\r\n }\r\n },\r\n \"outputs\": {}\r\n }\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "b9faaa40-2712-47b1-9069-7d5efe4d5fe6" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "688" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:47:44 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:88c8afaa-21de-40ff-baf7-6610ec8fefb6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "ead1bf59-8ccf-46be-b4b6-cb618996ddbe" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224744Z:ead1bf59-8ccf-46be-b4b6-cb618996ddbe" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "1383" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2018-09-19T22:47:44.4669075Z\",\r\n \"changedTime\": \"2018-09-19T22:47:44.4611408Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08586642096212269075\",\r\n \"accessEndpoint\": \"https://prod-67.westus.logic.azure.com:443/workflows/833f3eb85bcc4523a4a87d2910d812d4\",\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Request\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Response\": {\r\n \"runAfter\": {},\r\n \"type\": \"Response\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"statusCode\": 200\r\n }\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {},\r\n \"endpointsConfiguration\": {\r\n \"workflow\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"52.160.92.112\"\r\n },\r\n {\r\n \"address\": \"40.118.244.241\"\r\n },\r\n {\r\n \"address\": \"40.118.241.243\"\r\n },\r\n {\r\n \"address\": \"157.56.162.53\"\r\n },\r\n {\r\n \"address\": \"157.56.167.147\"\r\n },\r\n {\r\n \"address\": \"104.42.49.145\"\r\n },\r\n {\r\n \"address\": \"40.83.164.80\"\r\n },\r\n {\r\n \"address\": \"104.42.38.32\"\r\n }\r\n ],\r\n \"accessEndpointIpAddresses\": [\r\n {\r\n \"address\": \"52.160.90.237\"\r\n },\r\n {\r\n \"address\": \"138.91.188.137\"\r\n },\r\n {\r\n \"address\": \"13.91.252.184\"\r\n },\r\n {\r\n \"address\": \"157.56.160.212 \"\r\n }\r\n ]\r\n },\r\n \"connector\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"104.40.51.248\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow3249\",\r\n \"name\": \"Workflow3249\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow3249/triggers/manual/reset?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzMyNDkvdHJpZ2dlcnMvbWFudWFsL3Jlc2V0P2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "eba9474d-f51c-4b73-9acb-01f2e1e9ae39" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:47:44 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:dbdced1c-4f58-4d3c-a278-b9754d850496" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "dc650f7c-f105-4d1b-8230-5b458dfd7050" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224744Z:dc650f7c-f105-4d1b-8230-5b458dfd7050" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "151" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"WorkflowTriggerResetNotSupported\",\r\n \"message\": \"The workflow trigger 'manual' of type 'Request' does not support the reset operation.\"\r\n }\r\n}", + "StatusCode": 400 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow3249?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzMyNDk/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "4ad748d1-b090-4f12-99c7-3ebb163c10b1" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:47:45 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:af0e6c3f-d61b-40d6-ac39-8cf10c225dbc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "c5ab7251-6418-4f9a-a529-df97180fe25c" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224745Z:c5ab7251-6418-4f9a-a529-df97180fe25c" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "WorkflowTriggers_Reset_Exception": [ + "Workflow3249" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowTriggersScenarioTests/WorkflowTriggers_Run_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowTriggersScenarioTests/WorkflowTriggers_Run_OK.json new file mode 100644 index 0000000000000..65f7372c375d6 --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowTriggersScenarioTests/WorkflowTriggers_Run_OK.json @@ -0,0 +1,332 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "aa625763-acb4-4462-a5ff-8f36f607d848" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:47:34 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-request-id": [ + "770b4bf4-79df-42f2-af55-17eabe586d5c" + ], + "x-ms-correlation-request-id": [ + "770b4bf4-79df-42f2-af55-17eabe586d5c" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224735Z:770b4bf4-79df-42f2-af55-17eabe586d5c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "5dadb147-f2d2-43a4-abb7-57937f6f1220" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:47:34 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19998" + ], + "x-ms-request-id": [ + "2081e985-87bc-45df-be25-157d04714469" + ], + "x-ms-correlation-request-id": [ + "2081e985-87bc-45df-be25-157d04714469" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224735Z:2081e985-87bc-45df-be25-157d04714469" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow5036?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzUwMzY/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Request\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Response\": {\r\n \"runAfter\": {},\r\n \"type\": \"Response\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"statusCode\": 200\r\n }\r\n }\r\n },\r\n \"outputs\": {}\r\n }\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "a739b064-1f2c-4a14-a14d-93cd3ed0c1c2" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "688" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:47:35 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:1ccf2aba-2aeb-442e-b379-ea5224e5b22f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "bd9535fb-3f35-42d5-8122-eb115dd9a425" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224736Z:bd9535fb-3f35-42d5-8122-eb115dd9a425" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "1382" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2018-09-19T22:47:36.2443179Z\",\r\n \"changedTime\": \"2018-09-19T22:47:36.235883Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08586642096293031739\",\r\n \"accessEndpoint\": \"https://prod-60.westus.logic.azure.com:443/workflows/0a4a3a9e8b48462ebb2863c80c1617e0\",\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Request\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Response\": {\r\n \"runAfter\": {},\r\n \"type\": \"Response\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"statusCode\": 200\r\n }\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {},\r\n \"endpointsConfiguration\": {\r\n \"workflow\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"52.160.92.112\"\r\n },\r\n {\r\n \"address\": \"40.118.244.241\"\r\n },\r\n {\r\n \"address\": \"40.118.241.243\"\r\n },\r\n {\r\n \"address\": \"157.56.162.53\"\r\n },\r\n {\r\n \"address\": \"157.56.167.147\"\r\n },\r\n {\r\n \"address\": \"104.42.49.145\"\r\n },\r\n {\r\n \"address\": \"40.83.164.80\"\r\n },\r\n {\r\n \"address\": \"104.42.38.32\"\r\n }\r\n ],\r\n \"accessEndpointIpAddresses\": [\r\n {\r\n \"address\": \"52.160.90.237\"\r\n },\r\n {\r\n \"address\": \"138.91.188.137\"\r\n },\r\n {\r\n \"address\": \"13.91.252.184\"\r\n },\r\n {\r\n \"address\": \"157.56.160.212 \"\r\n }\r\n ]\r\n },\r\n \"connector\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"104.40.51.248\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow5036\",\r\n \"name\": \"Workflow5036\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow5036/triggers/manual/run?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzUwMzYvdHJpZ2dlcnMvbWFudWFsL3J1bj9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0f977e4c-9963-4c86-b034-f90fea3969d2" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:47:35 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-workflow-run-id": [ + "08586642096287384150259214179CU68" + ], + "x-ms-correlation-id": [ + "bb9cb0e6-567e-41eb-a757-044f731b9499" + ], + "x-ms-client-tracking-id": [ + "08586642096287384150259214179CU68" + ], + "x-ms-trigger-history-name": [ + "08586642096287384150259214179CU68" + ], + "x-ms-execution-location": [ + "westus" + ], + "x-ms-workflow-id": [ + "0a4a3a9e8b48462ebb2863c80c1617e0" + ], + "x-ms-workflow-version": [ + "08586642096293031739" + ], + "x-ms-workflow-name": [ + "Workflow5036" + ], + "x-ms-workflow-system-id": [ + "/locations/westus/scaleunits/prod-60/workflows/0a4a3a9e8b48462ebb2863c80c1617e0" + ], + "x-ms-tracking-id": [ + "bb9cb0e6-567e-41eb-a757-044f731b9499" + ], + "x-ms-request-id": [ + "westus:bb9cb0e6-567e-41eb-a757-044f731b9499" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "4999" + ], + "x-ms-correlation-request-id": [ + "5f96eada-97dd-4ff2-b1d4-71d5d23b1650" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224736Z:5f96eada-97dd-4ff2-b1d4-71d5d23b1650" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow5036?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzUwMzY/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "4e4baf5b-83d1-4997-90f0-0a5c6442af60" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:47:36 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:e3fa0f69-9f9f-4fc0-b197-6ea0959f5495" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "43231910-9e03-411e-9803-9e9a2188c314" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224737Z:43231910-9e03-411e-9803-9e9a2188c314" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "WorkflowTriggers_Run_OK": [ + "Workflow5036" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowVersionTriggersScenarioTests/WorkflowVersionTriggers_ListCallbackUrl_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowVersionTriggersScenarioTests/WorkflowVersionTriggers_ListCallbackUrl_OK.json new file mode 100644 index 0000000000000..359f6b4c037fb --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowVersionTriggersScenarioTests/WorkflowVersionTriggers_ListCallbackUrl_OK.json @@ -0,0 +1,314 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "7656e728-c1d2-4d4e-8e50-8bebd880bb89" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:47:18 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11944" + ], + "x-ms-request-id": [ + "86a72cb4-75d8-41a7-8c12-cac36b2f72c6" + ], + "x-ms-correlation-request-id": [ + "86a72cb4-75d8-41a7-8c12-cac36b2f72c6" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224719Z:86a72cb4-75d8-41a7-8c12-cac36b2f72c6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "9ceec505-8e87-46c2-8cb1-b0ba5fc2cf63" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:47:18 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19999" + ], + "x-ms-request-id": [ + "f4d35fda-6b20-4ff5-840b-1247dafcc022" + ], + "x-ms-correlation-request-id": [ + "f4d35fda-6b20-4ff5-840b-1247dafcc022" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224719Z:f4d35fda-6b20-4ff5-840b-1247dafcc022" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow4890?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzQ4OTA/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Request\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Response\": {\r\n \"runAfter\": {},\r\n \"type\": \"Response\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"statusCode\": 200\r\n }\r\n }\r\n },\r\n \"outputs\": {}\r\n }\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "9e36c358-60d8-4708-8f6e-38cada8fa1ba" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "688" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:47:19 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:035b8a85-6a18-4328-95fd-cecb1e232032" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "5d20357c-9d16-44ca-a41d-a58b1014572b" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224720Z:5d20357c-9d16-44ca-a41d-a58b1014572b" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "1383" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2018-09-19T22:47:19.6382889Z\",\r\n \"changedTime\": \"2018-09-19T22:47:19.6375111Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08586642096458584034\",\r\n \"accessEndpoint\": \"https://prod-66.westus.logic.azure.com:443/workflows/7a09e69a00b14bde918470317cbd79a0\",\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Request\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Response\": {\r\n \"runAfter\": {},\r\n \"type\": \"Response\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"statusCode\": 200\r\n }\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {},\r\n \"endpointsConfiguration\": {\r\n \"workflow\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"52.160.92.112\"\r\n },\r\n {\r\n \"address\": \"40.118.244.241\"\r\n },\r\n {\r\n \"address\": \"40.118.241.243\"\r\n },\r\n {\r\n \"address\": \"157.56.162.53\"\r\n },\r\n {\r\n \"address\": \"157.56.167.147\"\r\n },\r\n {\r\n \"address\": \"104.42.49.145\"\r\n },\r\n {\r\n \"address\": \"40.83.164.80\"\r\n },\r\n {\r\n \"address\": \"104.42.38.32\"\r\n }\r\n ],\r\n \"accessEndpointIpAddresses\": [\r\n {\r\n \"address\": \"52.160.90.237\"\r\n },\r\n {\r\n \"address\": \"138.91.188.137\"\r\n },\r\n {\r\n \"address\": \"13.91.252.184\"\r\n },\r\n {\r\n \"address\": \"157.56.160.212 \"\r\n }\r\n ]\r\n },\r\n \"connector\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"104.40.51.248\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow4890\",\r\n \"name\": \"Workflow4890\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow4890/versions/08586642096458584034/triggers/manual/listCallbackUrl?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzQ4OTAvdmVyc2lvbnMvMDg1ODY2NDIwOTY0NTg1ODQwMzQvdHJpZ2dlcnMvbWFudWFsL2xpc3RDYWxsYmFja1VybD9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"keyType\": \"Primary\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "bfff43c5-b989-4e02-aefc-64db7b84f2e3" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:47:19 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:af82feba-b1bb-4cce-9fb4-d1e401046385" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "018ab4b3-e166-4ebb-9580-3b5a56884df2" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224720Z:018ab4b3-e166-4ebb-9580-3b5a56884df2" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "644" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": \"https://prod-66.westus.logic.azure.com:443/workflows/7a09e69a00b14bde918470317cbd79a0/versions/08586642096458584034/triggers/manual/paths/invoke?api-version=2018-07-01-preview&sp=%2Fversions%2F08586642096458584034%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=sxM7asbe0_XLGYEfHpkz8ulWRaZljuAluIjkhsEfwLo\",\r\n \"method\": \"POST\",\r\n \"basePath\": \"https://prod-66.westus.logic.azure.com/workflows/7a09e69a00b14bde918470317cbd79a0/versions/08586642096458584034/triggers/manual/paths/invoke\",\r\n \"queries\": {\r\n \"api-version\": \"2018-07-01-preview\",\r\n \"sp\": \"/versions/08586642096458584034/triggers/manual/run\",\r\n \"sv\": \"1.0\",\r\n \"sig\": \"sxM7asbe0_XLGYEfHpkz8ulWRaZljuAluIjkhsEfwLo\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow4890?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzQ4OTA/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "a9db38dc-05e2-4cb8-850c-d7c6cbd3e20d" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:47:20 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:5294f418-da19-4d41-81b2-207a57bcfd44" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "62e19a27-5e23-4ca9-807c-db405c9b5cc0" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224721Z:62e19a27-5e23-4ca9-807c-db405c9b5cc0" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "WorkflowVersionTriggers_ListCallbackUrl_OK": [ + "Workflow4890" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowVersionsScenarioTests/CreateAndGetWorkflowVersion.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowVersionsScenarioTests/CreateAndGetWorkflowVersion.json deleted file mode 100644 index 2981508ee010e..0000000000000 --- a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowVersionsScenarioTests/CreateAndGetWorkflowVersion.json +++ /dev/null @@ -1,180 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf7406?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTI1MGRkOTItYjU4MC00NmJlLWIzMjctZTY1OTZjOGRlMTk2L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9sb2dpY3dmNzQwNj9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourcegroups/flowrg/providers/microsoft.web/serverfarms/ServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"http://schema.management.azure.com/providers/Microsoft.Logic/schemas/2014-12-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"runworkflowmanually\": {\r\n \"defaultValue\": true,\r\n \"type\": \"Bool\"\r\n },\r\n \"subscription\": {\r\n \"defaultValue\": \"1a66ce04-b633-4a0b-b2bc-a912ec8986a6\",\r\n \"type\": \"String\"\r\n },\r\n \"resourceGroup\": {\r\n \"defaultValue\": \"logicapps-e2e\",\r\n \"type\": \"String\"\r\n },\r\n \"authentication\": {\r\n \"defaultValue\": {\r\n \"type\": \"ActiveDirectoryOAuth\",\r\n \"audience\": \"https://management.azure.com/\",\r\n \"tenant\": \"00000000-0000-0000-0000-000000000000\",\r\n \"clientId\": \"00000000-0000-0000-0000-000000000000\",\r\n \"secret\": \"Dummy\"\r\n },\r\n \"type\": \"Object\"\r\n }\r\n },\r\n \"triggers\": {},\r\n \"actions\": {\r\n \"listWorkflows\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"GET\",\r\n \"uri\": \"someUri\",\r\n \"authentication\": \"@parameters('authentication')\"\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n }\r\n },\r\n \"location\": \"westus\"\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "1551" - ], - "x-ms-client-request-id": [ - "2e5fbaad-a59e-40c0-9ef9-d5a3f9777fce" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2016-07-20T17:19:21.8610903Z\",\r\n \"changedTime\": \"2016-07-20T17:19:21.8610903Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587325717236889297\",\r\n \"accessEndpoint\": \"https://prod-07.westus.logic.azure.com:443/workflows/7ee0e9e1dacb4beea61091ae6d76deaa\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourcegroups/flowrg/providers/microsoft.web/serverfarms/ServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"ServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"http://schema.management.azure.com/providers/Microsoft.Logic/schemas/2014-12-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"runworkflowmanually\": {\r\n \"defaultValue\": true,\r\n \"type\": \"Bool\"\r\n },\r\n \"subscription\": {\r\n \"defaultValue\": \"1a66ce04-b633-4a0b-b2bc-a912ec8986a6\",\r\n \"type\": \"String\"\r\n },\r\n \"resourceGroup\": {\r\n \"defaultValue\": \"logicapps-e2e\",\r\n \"type\": \"String\"\r\n },\r\n \"authentication\": {\r\n \"defaultValue\": {\r\n \"type\": \"ActiveDirectoryOAuth\",\r\n \"audience\": \"https://management.azure.com/\",\r\n \"tenant\": \"00000000-0000-0000-0000-000000000000\",\r\n \"clientId\": \"00000000-0000-0000-0000-000000000000\",\r\n \"secret\": \"Dummy\"\r\n },\r\n \"type\": \"Object\"\r\n }\r\n },\r\n \"triggers\": {},\r\n \"actions\": {\r\n \"listWorkflows\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"GET\",\r\n \"uri\": \"someUri\",\r\n \"authentication\": \"@parameters('authentication')\"\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf7406\",\r\n \"name\": \"logicwf7406\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "1545" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:846a1164-d85c-433f-a332-039df4f64b57" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1199" - ], - "x-ms-correlation-request-id": [ - "a5e5b5a7-a7cf-4b16-918f-b0915d9bc6c2" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20160720T171922Z:a5e5b5a7-a7cf-4b16-918f-b0915d9bc6c2" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 20 Jul 2016 17:19:21 GMT" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf7406/versions/08587325717236889297?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTI1MGRkOTItYjU4MC00NmJlLWIzMjctZTY1OTZjOGRlMTk2L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9sb2dpY3dmNzQwNi92ZXJzaW9ucy8wODU4NzMyNTcxNzIzNjg4OTI5Nz9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "e43fcc1b-1da6-4f5e-b39f-66da81931193" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"createdTime\": \"2016-07-20T17:19:21.8610903Z\",\r\n \"changedTime\": \"2016-07-20T17:19:21.8613496Z\",\r\n \"version\": \"08587325717236889297\",\r\n \"definition\": {\r\n \"$schema\": \"http://schema.management.azure.com/providers/Microsoft.Logic/schemas/2014-12-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"runworkflowmanually\": {\r\n \"defaultValue\": true,\r\n \"type\": \"Bool\"\r\n },\r\n \"subscription\": {\r\n \"defaultValue\": \"1a66ce04-b633-4a0b-b2bc-a912ec8986a6\",\r\n \"type\": \"String\"\r\n },\r\n \"resourceGroup\": {\r\n \"defaultValue\": \"logicapps-e2e\",\r\n \"type\": \"String\"\r\n },\r\n \"authentication\": {\r\n \"defaultValue\": {\r\n \"type\": \"ActiveDirectoryOAuth\",\r\n \"audience\": \"https://management.azure.com/\",\r\n \"tenant\": \"00000000-0000-0000-0000-000000000000\",\r\n \"clientId\": \"00000000-0000-0000-0000-000000000000\",\r\n \"secret\": \"Dummy\"\r\n },\r\n \"type\": \"Object\"\r\n }\r\n },\r\n \"triggers\": {},\r\n \"actions\": {\r\n \"listWorkflows\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"GET\",\r\n \"uri\": \"someUri\",\r\n \"authentication\": \"@parameters('authentication')\"\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf7406/versions/08587325717236889297\",\r\n \"name\": \"08587325717236889297\",\r\n \"type\": \"Microsoft.Logic/workflows/versions\",\r\n \"location\": \"westus\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "1218" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "Vary": [ - "Accept-Encoding" - ], - "x-ms-request-id": [ - "westus:35e40edc-4287-4f98-8b43-a78fd1596305" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14954" - ], - "x-ms-correlation-request-id": [ - "2506580b-76af-4f98-b1b6-58882abf8ade" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20160720T171922Z:2506580b-76af-4f98-b1b6-58882abf8ade" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 20 Jul 2016 17:19:21 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf7406?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTI1MGRkOTItYjU4MC00NmJlLWIzMjctZTY1OTZjOGRlMTk2L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9sb2dpY3dmNzQwNj9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "2790cdbc-50d6-436c-b808-b43720d666cb" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:09dec0b3-42da-4025-b654-544292cb081e" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" - ], - "x-ms-correlation-request-id": [ - "74f61fa0-be9a-4873-b0c2-9d121eca6693" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20160720T171923Z:74f61fa0-be9a-4873-b0c2-9d121eca6693" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 20 Jul 2016 17:19:22 GMT" - ] - }, - "StatusCode": 200 - } - ], - "Names": { - "CreateAndGetWorkflowVersion": [ - "logicwf7406" - ] - }, - "Variables": { - "SubscriptionId": "5250dd92-b580-46be-b327-e6596c8de196" - } -} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowVersionsScenarioTests/WorkflowVersions_Get_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowVersionsScenarioTests/WorkflowVersions_Get_OK.json new file mode 100644 index 0000000000000..b0815b45b407e --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowVersionsScenarioTests/WorkflowVersions_Get_OK.json @@ -0,0 +1,308 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "bd928cdf-00a5-4864-a799-403cd7733851" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:47:13 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-request-id": [ + "e9192dbd-5e09-4007-9eb8-59ed787eb844" + ], + "x-ms-correlation-request-id": [ + "e9192dbd-5e09-4007-9eb8-59ed787eb844" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224714Z:e9192dbd-5e09-4007-9eb8-59ed787eb844" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "08620614-7f33-448f-8db4-2d27cf773ddb" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:47:13 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19998" + ], + "x-ms-request-id": [ + "7186367a-1abe-4d61-997a-6bbf4bfed989" + ], + "x-ms-correlation-request-id": [ + "7186367a-1abe-4d61-997a-6bbf4bfed989" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224714Z:7186367a-1abe-4d61-997a-6bbf4bfed989" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow5488?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzU0ODg/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Request\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Response\": {\r\n \"runAfter\": {},\r\n \"type\": \"Response\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"statusCode\": 200\r\n }\r\n }\r\n },\r\n \"outputs\": {}\r\n }\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "bfc19293-42ea-401d-87bb-847d0d78287d" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "688" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:47:15 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:cc13b0e4-c7a5-480c-9dd4-cd72c608a557" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "437ca871-7e96-48fa-a068-506402d99bb2" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224715Z:437ca871-7e96-48fa-a068-506402d99bb2" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "1383" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2018-09-19T22:47:15.3101473Z\",\r\n \"changedTime\": \"2018-09-19T22:47:15.3015798Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08586642096502341174\",\r\n \"accessEndpoint\": \"https://prod-37.westus.logic.azure.com:443/workflows/378f0ac29bdf4ce0be6b766a815ecf74\",\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Request\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Response\": {\r\n \"runAfter\": {},\r\n \"type\": \"Response\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"statusCode\": 200\r\n }\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {},\r\n \"endpointsConfiguration\": {\r\n \"workflow\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"52.160.92.112\"\r\n },\r\n {\r\n \"address\": \"40.118.244.241\"\r\n },\r\n {\r\n \"address\": \"40.118.241.243\"\r\n },\r\n {\r\n \"address\": \"157.56.162.53\"\r\n },\r\n {\r\n \"address\": \"157.56.167.147\"\r\n },\r\n {\r\n \"address\": \"104.42.49.145\"\r\n },\r\n {\r\n \"address\": \"40.83.164.80\"\r\n },\r\n {\r\n \"address\": \"104.42.38.32\"\r\n }\r\n ],\r\n \"accessEndpointIpAddresses\": [\r\n {\r\n \"address\": \"52.160.90.237\"\r\n },\r\n {\r\n \"address\": \"138.91.188.137\"\r\n },\r\n {\r\n \"address\": \"13.91.252.184\"\r\n },\r\n {\r\n \"address\": \"157.56.160.212 \"\r\n }\r\n ]\r\n },\r\n \"connector\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"104.40.51.248\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow5488\",\r\n \"name\": \"Workflow5488\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow5488/versions/08586642096502341174?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzU0ODgvdmVyc2lvbnMvMDg1ODY2NDIwOTY1MDIzNDExNzQ/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "3a5084b9-7a32-4783-8cc3-2a41e82b71fd" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:47:15 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:2a54595a-0f26-4aa4-9ee4-a782cfdf8ef5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-correlation-request-id": [ + "95cc6762-606e-440f-a18c-279e44ed36b6" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224715Z:95cc6762-606e-440f-a18c-279e44ed36b6" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "1275" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"createdTime\": \"2018-09-19T22:47:15.3101473Z\",\r\n \"changedTime\": \"2018-09-19T22:47:15.3015798Z\",\r\n \"version\": \"08586642096502341174\",\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Request\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Response\": {\r\n \"runAfter\": {},\r\n \"type\": \"Response\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"statusCode\": 200\r\n }\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {},\r\n \"endpointsConfiguration\": {\r\n \"workflow\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"52.160.92.112\"\r\n },\r\n {\r\n \"address\": \"40.118.244.241\"\r\n },\r\n {\r\n \"address\": \"40.118.241.243\"\r\n },\r\n {\r\n \"address\": \"157.56.162.53\"\r\n },\r\n {\r\n \"address\": \"157.56.167.147\"\r\n },\r\n {\r\n \"address\": \"104.42.49.145\"\r\n },\r\n {\r\n \"address\": \"40.83.164.80\"\r\n },\r\n {\r\n \"address\": \"104.42.38.32\"\r\n }\r\n ],\r\n \"accessEndpointIpAddresses\": [\r\n {\r\n \"address\": \"52.160.90.237\"\r\n },\r\n {\r\n \"address\": \"138.91.188.137\"\r\n },\r\n {\r\n \"address\": \"13.91.252.184\"\r\n },\r\n {\r\n \"address\": \"157.56.160.212 \"\r\n }\r\n ]\r\n },\r\n \"connector\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"104.40.51.248\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow5488/versions/08586642096502341174\",\r\n \"name\": \"08586642096502341174\",\r\n \"type\": \"Microsoft.Logic/workflows/versions\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow5488?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzU0ODg/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0341ec89-1f59-4354-852f-ef257e0cf923" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:47:15 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:b0bdff3d-b226-43f8-8de2-c53883cacf5c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "a4ab01ef-a3e5-4a50-b7ab-71564646b044" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224716Z:a4ab01ef-a3e5-4a50-b7ab-71564646b044" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "WorkflowVersions_Get_OK": [ + "Workflow5488" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowVersionsScenarioTests/WorkflowVersions_List_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowVersionsScenarioTests/WorkflowVersions_List_OK.json new file mode 100644 index 0000000000000..becc0a9cfa992 --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowVersionsScenarioTests/WorkflowVersions_List_OK.json @@ -0,0 +1,308 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "59e462ce-15cc-47ac-9c7f-f7e1e7136803" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:47:09 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-request-id": [ + "721855c1-c7af-41e6-8629-95d38e6a65fd" + ], + "x-ms-correlation-request-id": [ + "721855c1-c7af-41e6-8629-95d38e6a65fd" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224710Z:721855c1-c7af-41e6-8629-95d38e6a65fd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "5172aa00-521c-4a33-a6b2-0abf5cbf6f5b" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:47:09 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19997" + ], + "x-ms-request-id": [ + "0244d6d0-9ac7-4513-bdde-d87b35f06644" + ], + "x-ms-correlation-request-id": [ + "0244d6d0-9ac7-4513-bdde-d87b35f06644" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224710Z:0244d6d0-9ac7-4513-bdde-d87b35f06644" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow3217?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzMyMTc/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Request\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Response\": {\r\n \"runAfter\": {},\r\n \"type\": \"Response\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"statusCode\": 200\r\n }\r\n }\r\n },\r\n \"outputs\": {}\r\n }\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "c84ca75a-25ae-4bd2-b168-4e05753771d1" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "688" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:47:10 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:706b348a-f651-451b-857b-f9d8407d35ae" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "558bed21-80c2-4289-b704-0ccc33a9d8e4" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224711Z:558bed21-80c2-4289-b704-0ccc33a9d8e4" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "1382" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2018-09-19T22:47:10.882013Z\",\r\n \"changedTime\": \"2018-09-19T22:47:10.8715708Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08586642096546383033\",\r\n \"accessEndpoint\": \"https://prod-21.westus.logic.azure.com:443/workflows/ffc6943c67dd4be193e606c8cea03790\",\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Request\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Response\": {\r\n \"runAfter\": {},\r\n \"type\": \"Response\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"statusCode\": 200\r\n }\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {},\r\n \"endpointsConfiguration\": {\r\n \"workflow\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"52.160.92.112\"\r\n },\r\n {\r\n \"address\": \"40.118.244.241\"\r\n },\r\n {\r\n \"address\": \"40.118.241.243\"\r\n },\r\n {\r\n \"address\": \"157.56.162.53\"\r\n },\r\n {\r\n \"address\": \"157.56.167.147\"\r\n },\r\n {\r\n \"address\": \"104.42.49.145\"\r\n },\r\n {\r\n \"address\": \"40.83.164.80\"\r\n },\r\n {\r\n \"address\": \"104.42.38.32\"\r\n }\r\n ],\r\n \"accessEndpointIpAddresses\": [\r\n {\r\n \"address\": \"52.160.90.237\"\r\n },\r\n {\r\n \"address\": \"138.91.188.137\"\r\n },\r\n {\r\n \"address\": \"13.91.252.184\"\r\n },\r\n {\r\n \"address\": \"157.56.160.212 \"\r\n }\r\n ]\r\n },\r\n \"connector\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"104.40.51.248\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow3217\",\r\n \"name\": \"Workflow3217\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow3217/versions?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzMyMTcvdmVyc2lvbnM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "ac8fe910-fb20-4097-bf97-409f57c5955e" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:47:10 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:bfabcc2b-8ab7-4c9a-a86c-7be2f7099a7b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-correlation-request-id": [ + "e892c474-d641-49b1-85c4-0eb1b39dad5a" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224711Z:e892c474-d641-49b1-85c4-0eb1b39dad5a" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "1286" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"createdTime\": \"2018-09-19T22:47:10.882013Z\",\r\n \"changedTime\": \"2018-09-19T22:47:10.8715708Z\",\r\n \"version\": \"08586642096546383033\",\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Request\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Response\": {\r\n \"runAfter\": {},\r\n \"type\": \"Response\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"statusCode\": 200\r\n }\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {},\r\n \"endpointsConfiguration\": {\r\n \"workflow\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"52.160.92.112\"\r\n },\r\n {\r\n \"address\": \"40.118.244.241\"\r\n },\r\n {\r\n \"address\": \"40.118.241.243\"\r\n },\r\n {\r\n \"address\": \"157.56.162.53\"\r\n },\r\n {\r\n \"address\": \"157.56.167.147\"\r\n },\r\n {\r\n \"address\": \"104.42.49.145\"\r\n },\r\n {\r\n \"address\": \"40.83.164.80\"\r\n },\r\n {\r\n \"address\": \"104.42.38.32\"\r\n }\r\n ],\r\n \"accessEndpointIpAddresses\": [\r\n {\r\n \"address\": \"52.160.90.237\"\r\n },\r\n {\r\n \"address\": \"138.91.188.137\"\r\n },\r\n {\r\n \"address\": \"13.91.252.184\"\r\n },\r\n {\r\n \"address\": \"157.56.160.212 \"\r\n }\r\n ]\r\n },\r\n \"connector\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"104.40.51.248\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow3217/versions/08586642096546383033\",\r\n \"name\": \"08586642096546383033\",\r\n \"type\": \"Microsoft.Logic/workflows/versions\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow3217?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzMyMTc/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "cd3896c4-4dd0-4ce6-a407-3337d867c001" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:47:11 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:77c38691-d017-4baf-a2d2-2c011baf2147" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "23708145-dcbe-44d0-84f6-3d139414669c" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224712Z:23708145-dcbe-44d0-84f6-3d139414669c" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "WorkflowVersions_List_OK": [ + "Workflow3217" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowsScenarioTests/CreateAndDeleteWorkflow.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowsScenarioTests/CreateAndDeleteWorkflow.json deleted file mode 100644 index 114131d84e263..0000000000000 --- a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowsScenarioTests/CreateAndDeleteWorkflow.json +++ /dev/null @@ -1,180 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf1758?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTI1MGRkOTItYjU4MC00NmJlLWIzMjctZTY1OTZjOGRlMTk2L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9sb2dpY3dmMTc1OD9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourcegroups/flowrg/providers/microsoft.web/serverfarms/ServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"http://schema.management.azure.com/providers/Microsoft.Logic/schemas/2014-12-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"runworkflowmanually\": {\r\n \"defaultValue\": true,\r\n \"type\": \"Bool\"\r\n },\r\n \"subscription\": {\r\n \"defaultValue\": \"1a66ce04-b633-4a0b-b2bc-a912ec8986a6\",\r\n \"type\": \"String\"\r\n },\r\n \"resourceGroup\": {\r\n \"defaultValue\": \"logicapps-e2e\",\r\n \"type\": \"String\"\r\n },\r\n \"authentication\": {\r\n \"defaultValue\": {\r\n \"type\": \"ActiveDirectoryOAuth\",\r\n \"audience\": \"https://management.azure.com/\",\r\n \"tenant\": \"00000000-0000-0000-0000-000000000000\",\r\n \"clientId\": \"00000000-0000-0000-0000-000000000000\",\r\n \"secret\": \"Dummy\"\r\n },\r\n \"type\": \"Object\"\r\n }\r\n },\r\n \"triggers\": {},\r\n \"actions\": {\r\n \"listWorkflows\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"GET\",\r\n \"uri\": \"someUri\",\r\n \"authentication\": \"@parameters('authentication')\"\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n }\r\n },\r\n \"location\": \"westus\"\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "1551" - ], - "x-ms-client-request-id": [ - "9267876e-6fcf-4895-bb1f-3072794abd99" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2016-07-20T17:19:32.9030332Z\",\r\n \"changedTime\": \"2016-07-20T17:19:32.9030332Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587325717126407029\",\r\n \"accessEndpoint\": \"https://prod-00.westus.logic.azure.com:443/workflows/61fdb494e867478f85194ccd524b8cd5\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourcegroups/flowrg/providers/microsoft.web/serverfarms/ServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"ServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"http://schema.management.azure.com/providers/Microsoft.Logic/schemas/2014-12-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"runworkflowmanually\": {\r\n \"defaultValue\": true,\r\n \"type\": \"Bool\"\r\n },\r\n \"subscription\": {\r\n \"defaultValue\": \"1a66ce04-b633-4a0b-b2bc-a912ec8986a6\",\r\n \"type\": \"String\"\r\n },\r\n \"resourceGroup\": {\r\n \"defaultValue\": \"logicapps-e2e\",\r\n \"type\": \"String\"\r\n },\r\n \"authentication\": {\r\n \"defaultValue\": {\r\n \"type\": \"ActiveDirectoryOAuth\",\r\n \"audience\": \"https://management.azure.com/\",\r\n \"tenant\": \"00000000-0000-0000-0000-000000000000\",\r\n \"clientId\": \"00000000-0000-0000-0000-000000000000\",\r\n \"secret\": \"Dummy\"\r\n },\r\n \"type\": \"Object\"\r\n }\r\n },\r\n \"triggers\": {},\r\n \"actions\": {\r\n \"listWorkflows\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"GET\",\r\n \"uri\": \"someUri\",\r\n \"authentication\": \"@parameters('authentication')\"\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf1758\",\r\n \"name\": \"logicwf1758\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "1545" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:39fa8178-e69f-4fdf-ac76-f25ccb6d27e1" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1196" - ], - "x-ms-correlation-request-id": [ - "a39c7da4-7565-4bbd-ae88-3c5f011c97c5" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20160720T171933Z:a39c7da4-7565-4bbd-ae88-3c5f011c97c5" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 20 Jul 2016 17:19:33 GMT" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf1758?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTI1MGRkOTItYjU4MC00NmJlLWIzMjctZTY1OTZjOGRlMTk2L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9sb2dpY3dmMTc1OD9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "d8e91a3a-d35b-4eb2-a1ec-e4e0827b572d" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2016-07-20T17:19:32.9030332Z\",\r\n \"changedTime\": \"2016-07-20T17:19:32.9037049Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587325717126407029\",\r\n \"accessEndpoint\": \"https://prod-00.westus.logic.azure.com:443/workflows/61fdb494e867478f85194ccd524b8cd5\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourcegroups/flowrg/providers/microsoft.web/serverfarms/ServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"ServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"http://schema.management.azure.com/providers/Microsoft.Logic/schemas/2014-12-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"runworkflowmanually\": {\r\n \"defaultValue\": true,\r\n \"type\": \"Bool\"\r\n },\r\n \"subscription\": {\r\n \"defaultValue\": \"1a66ce04-b633-4a0b-b2bc-a912ec8986a6\",\r\n \"type\": \"String\"\r\n },\r\n \"resourceGroup\": {\r\n \"defaultValue\": \"logicapps-e2e\",\r\n \"type\": \"String\"\r\n },\r\n \"authentication\": {\r\n \"defaultValue\": {\r\n \"type\": \"ActiveDirectoryOAuth\",\r\n \"audience\": \"https://management.azure.com/\",\r\n \"tenant\": \"00000000-0000-0000-0000-000000000000\",\r\n \"clientId\": \"00000000-0000-0000-0000-000000000000\",\r\n \"secret\": \"Dummy\"\r\n },\r\n \"type\": \"Object\"\r\n }\r\n },\r\n \"triggers\": {},\r\n \"actions\": {\r\n \"listWorkflows\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"GET\",\r\n \"uri\": \"someUri\",\r\n \"authentication\": \"@parameters('authentication')\"\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf1758\",\r\n \"name\": \"logicwf1758\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "1545" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "Vary": [ - "Accept-Encoding" - ], - "x-ms-request-id": [ - "westus:4f7cd48e-e722-4999-a9ad-48a8ce414357" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14997" - ], - "x-ms-correlation-request-id": [ - "81b5c663-c2c5-471c-80ca-52bcbe71e6f9" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20160720T171933Z:81b5c663-c2c5-471c-80ca-52bcbe71e6f9" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 20 Jul 2016 17:19:33 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf1758?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTI1MGRkOTItYjU4MC00NmJlLWIzMjctZTY1OTZjOGRlMTk2L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9sb2dpY3dmMTc1OD9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "b43daedd-9626-4c1b-b4bd-db9d79080b80" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:5ad752c2-5782-48ac-b768-2433c401248a" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1195" - ], - "x-ms-correlation-request-id": [ - "2e84297d-a071-4761-bab3-6950bc707433" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20160720T171933Z:2e84297d-a071-4761-bab3-6950bc707433" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 20 Jul 2016 17:19:33 GMT" - ] - }, - "StatusCode": 200 - } - ], - "Names": { - "CreateAndDeleteWorkflow": [ - "logicwf1758" - ] - }, - "Variables": { - "SubscriptionId": "5250dd92-b580-46be-b327-e6596c8de196" - } -} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowsScenarioTests/CreateAndEnableDisableWorkflow.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowsScenarioTests/CreateAndEnableDisableWorkflow.json deleted file mode 100644 index f6d01e564baed..0000000000000 --- a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowsScenarioTests/CreateAndEnableDisableWorkflow.json +++ /dev/null @@ -1,339 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf9765?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTI1MGRkOTItYjU4MC00NmJlLWIzMjctZTY1OTZjOGRlMTk2L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9sb2dpY3dmOTc2NT9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"state\": \"Disabled\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourcegroups/flowrg/providers/microsoft.web/serverfarms/ServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"http://schema.management.azure.com/providers/Microsoft.Logic/schemas/2014-12-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"runworkflowmanually\": {\r\n \"defaultValue\": true,\r\n \"type\": \"Bool\"\r\n },\r\n \"subscription\": {\r\n \"defaultValue\": \"1a66ce04-b633-4a0b-b2bc-a912ec8986a6\",\r\n \"type\": \"String\"\r\n },\r\n \"resourceGroup\": {\r\n \"defaultValue\": \"logicapps-e2e\",\r\n \"type\": \"String\"\r\n },\r\n \"authentication\": {\r\n \"defaultValue\": {\r\n \"type\": \"ActiveDirectoryOAuth\",\r\n \"audience\": \"https://management.azure.com/\",\r\n \"tenant\": \"00000000-0000-0000-0000-000000000000\",\r\n \"clientId\": \"00000000-0000-0000-0000-000000000000\",\r\n \"secret\": \"Dummy\"\r\n },\r\n \"type\": \"Object\"\r\n }\r\n },\r\n \"triggers\": {},\r\n \"actions\": {\r\n \"listWorkflows\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"GET\",\r\n \"uri\": \"someUri\",\r\n \"authentication\": \"@parameters('authentication')\"\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n }\r\n },\r\n \"location\": \"westus\"\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "1577" - ], - "x-ms-client-request-id": [ - "d3c0f2ec-f559-44d9-8634-08d26e5ab698" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2016-07-20T17:19:43.7816032Z\",\r\n \"changedTime\": \"2016-07-20T17:19:43.7816032Z\",\r\n \"state\": \"Disabled\",\r\n \"version\": \"08587325717018377088\",\r\n \"accessEndpoint\": \"https://prod-15.westus.logic.azure.com:443/workflows/0412c6ef909246fabc70e6864d2ecd1d\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourcegroups/flowrg/providers/microsoft.web/serverfarms/ServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"ServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"http://schema.management.azure.com/providers/Microsoft.Logic/schemas/2014-12-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"runworkflowmanually\": {\r\n \"defaultValue\": true,\r\n \"type\": \"Bool\"\r\n },\r\n \"subscription\": {\r\n \"defaultValue\": \"1a66ce04-b633-4a0b-b2bc-a912ec8986a6\",\r\n \"type\": \"String\"\r\n },\r\n \"resourceGroup\": {\r\n \"defaultValue\": \"logicapps-e2e\",\r\n \"type\": \"String\"\r\n },\r\n \"authentication\": {\r\n \"defaultValue\": {\r\n \"type\": \"ActiveDirectoryOAuth\",\r\n \"audience\": \"https://management.azure.com/\",\r\n \"tenant\": \"00000000-0000-0000-0000-000000000000\",\r\n \"clientId\": \"00000000-0000-0000-0000-000000000000\",\r\n \"secret\": \"Dummy\"\r\n },\r\n \"type\": \"Object\"\r\n }\r\n },\r\n \"triggers\": {},\r\n \"actions\": {\r\n \"listWorkflows\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"GET\",\r\n \"uri\": \"someUri\",\r\n \"authentication\": \"@parameters('authentication')\"\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf9765\",\r\n \"name\": \"logicwf9765\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "1546" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:2169eae8-f486-4950-bc6f-68ff96348287" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1199" - ], - "x-ms-correlation-request-id": [ - "d63961ab-a2bb-479b-b0d9-d943902cfe0e" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20160720T171944Z:d63961ab-a2bb-479b-b0d9-d943902cfe0e" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 20 Jul 2016 17:19:43 GMT" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf9765/enable?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTI1MGRkOTItYjU4MC00NmJlLWIzMjctZTY1OTZjOGRlMTk2L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9sb2dpY3dmOTc2NS9lbmFibGU/YXBpLXZlcnNpb249MjAxNi0wNi0wMQ==", - "RequestMethod": "POST", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "0f94707b-de2c-4f03-80cc-6513c3de6c0f" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:3843cb9c-8e05-40e5-a3e7-80ddb1b86179" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" - ], - "x-ms-correlation-request-id": [ - "ac18b627-ae14-413d-835d-4590ff91d654" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20160720T171944Z:ac18b627-ae14-413d-835d-4590ff91d654" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 20 Jul 2016 17:19:43 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf9765?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTI1MGRkOTItYjU4MC00NmJlLWIzMjctZTY1OTZjOGRlMTk2L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9sb2dpY3dmOTc2NT9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "7b4ecf82-20ee-4854-8156-eef90f900c3b" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2016-07-20T17:19:43.7816032Z\",\r\n \"changedTime\": \"2016-07-20T17:19:44.3184566Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587325717011944035\",\r\n \"accessEndpoint\": \"https://prod-15.westus.logic.azure.com:443/workflows/0412c6ef909246fabc70e6864d2ecd1d\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourcegroups/flowrg/providers/microsoft.web/serverfarms/ServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"ServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"http://schema.management.azure.com/providers/Microsoft.Logic/schemas/2014-12-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"runworkflowmanually\": {\r\n \"defaultValue\": true,\r\n \"type\": \"Bool\"\r\n },\r\n \"subscription\": {\r\n \"defaultValue\": \"1a66ce04-b633-4a0b-b2bc-a912ec8986a6\",\r\n \"type\": \"String\"\r\n },\r\n \"resourceGroup\": {\r\n \"defaultValue\": \"logicapps-e2e\",\r\n \"type\": \"String\"\r\n },\r\n \"authentication\": {\r\n \"defaultValue\": {\r\n \"type\": \"ActiveDirectoryOAuth\",\r\n \"audience\": \"https://management.azure.com/\",\r\n \"tenant\": \"00000000-0000-0000-0000-000000000000\",\r\n \"clientId\": \"00000000-0000-0000-0000-000000000000\",\r\n \"secret\": \"Dummy\"\r\n },\r\n \"type\": \"Object\"\r\n }\r\n },\r\n \"triggers\": {},\r\n \"actions\": {\r\n \"listWorkflows\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"GET\",\r\n \"uri\": \"someUri\",\r\n \"authentication\": \"@parameters('authentication')\"\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf9765\",\r\n \"name\": \"logicwf9765\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "1545" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "Vary": [ - "Accept-Encoding" - ], - "x-ms-request-id": [ - "westus:e305baca-23c7-4c0e-89b5-40132eb675f6" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14990" - ], - "x-ms-correlation-request-id": [ - "0f98f39d-0216-48c3-ad72-bd730845b045" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20160720T171944Z:0f98f39d-0216-48c3-ad72-bd730845b045" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 20 Jul 2016 17:19:43 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf9765?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTI1MGRkOTItYjU4MC00NmJlLWIzMjctZTY1OTZjOGRlMTk2L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9sb2dpY3dmOTc2NT9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "35eeb609-af50-4763-9019-c96b7ec24885" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2016-07-20T17:19:43.7816032Z\",\r\n \"changedTime\": \"2016-07-20T17:19:44.5331028Z\",\r\n \"state\": \"Disabled\",\r\n \"version\": \"08587325717009734334\",\r\n \"accessEndpoint\": \"https://prod-15.westus.logic.azure.com:443/workflows/0412c6ef909246fabc70e6864d2ecd1d\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourcegroups/flowrg/providers/microsoft.web/serverfarms/ServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"ServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"http://schema.management.azure.com/providers/Microsoft.Logic/schemas/2014-12-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"runworkflowmanually\": {\r\n \"defaultValue\": true,\r\n \"type\": \"Bool\"\r\n },\r\n \"subscription\": {\r\n \"defaultValue\": \"1a66ce04-b633-4a0b-b2bc-a912ec8986a6\",\r\n \"type\": \"String\"\r\n },\r\n \"resourceGroup\": {\r\n \"defaultValue\": \"logicapps-e2e\",\r\n \"type\": \"String\"\r\n },\r\n \"authentication\": {\r\n \"defaultValue\": {\r\n \"type\": \"ActiveDirectoryOAuth\",\r\n \"audience\": \"https://management.azure.com/\",\r\n \"tenant\": \"00000000-0000-0000-0000-000000000000\",\r\n \"clientId\": \"00000000-0000-0000-0000-000000000000\",\r\n \"secret\": \"Dummy\"\r\n },\r\n \"type\": \"Object\"\r\n }\r\n },\r\n \"triggers\": {},\r\n \"actions\": {\r\n \"listWorkflows\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"GET\",\r\n \"uri\": \"someUri\",\r\n \"authentication\": \"@parameters('authentication')\"\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf9765\",\r\n \"name\": \"logicwf9765\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "1546" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "Vary": [ - "Accept-Encoding" - ], - "x-ms-request-id": [ - "westus:b0cab69a-eefd-4f5d-be46-ff032f2923c3" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14989" - ], - "x-ms-correlation-request-id": [ - "bdd4eb76-0018-4a20-9d1e-c8b2f8905435" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20160720T171944Z:bdd4eb76-0018-4a20-9d1e-c8b2f8905435" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 20 Jul 2016 17:19:43 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf9765/disable?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTI1MGRkOTItYjU4MC00NmJlLWIzMjctZTY1OTZjOGRlMTk2L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9sb2dpY3dmOTc2NS9kaXNhYmxlP2FwaS12ZXJzaW9uPTIwMTYtMDYtMDE=", - "RequestMethod": "POST", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "1247a589-a11d-4e3f-8c55-3582f264bd78" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:78560c78-253b-4201-adb8-1e49f3082c96" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1197" - ], - "x-ms-correlation-request-id": [ - "3e51560c-cc92-4623-9f93-69bf21c6451b" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20160720T171944Z:3e51560c-cc92-4623-9f93-69bf21c6451b" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 20 Jul 2016 17:19:43 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf9765?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTI1MGRkOTItYjU4MC00NmJlLWIzMjctZTY1OTZjOGRlMTk2L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9sb2dpY3dmOTc2NT9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "225f9bae-e1c1-4278-9692-4aa5fcdf9566" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:c1a52fdd-07c7-421f-9568-8438dd1541f9" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1196" - ], - "x-ms-correlation-request-id": [ - "1590264a-68e4-4fca-9fbe-c3591426905e" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20160720T171945Z:1590264a-68e4-4fca-9fbe-c3591426905e" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 20 Jul 2016 17:19:44 GMT" - ] - }, - "StatusCode": 200 - } - ], - "Names": { - "CreateAndEnableDisableWorkflow": [ - "logicwf9765" - ] - }, - "Variables": { - "SubscriptionId": "5250dd92-b580-46be-b327-e6596c8de196" - } -} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowsScenarioTests/DeleteAllWorkflows.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowsScenarioTests/DeleteAllWorkflows.json deleted file mode 100644 index 0308018f46d60..0000000000000 --- a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowsScenarioTests/DeleteAllWorkflows.json +++ /dev/null @@ -1,272 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTI1MGRkOTItYjU4MC00NmJlLWIzMjctZTY1OTZjOGRlMTk2L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "3cadd181-e691-42f7-9b31-ee81e4a1b878" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2016-07-20T01:02:00.1748177Z\",\r\n \"changedTime\": \"2016-07-20T01:02:00.8713038Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587326303646323366\",\r\n \"accessEndpoint\": \"https://prod-13.westus.logic.azure.com:443/workflows/cd3e88cd44cb40cbab9c0b3bd386c9e0\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourcegroups/flowrg/providers/microsoft.web/serverfarms/ServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"ServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"http://schema.management.azure.com/providers/Microsoft.Logic/schemas/2014-12-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"runworkflowmanually\": {\r\n \"defaultValue\": true,\r\n \"type\": \"Bool\"\r\n },\r\n \"subscription\": {\r\n \"defaultValue\": \"1a66ce04-b633-4a0b-b2bc-a912ec8986a6\",\r\n \"type\": \"String\"\r\n },\r\n \"resourceGroup\": {\r\n \"defaultValue\": \"logicapps-e2e\",\r\n \"type\": \"String\"\r\n },\r\n \"authentication\": {\r\n \"defaultValue\": {\r\n \"type\": \"ActiveDirectoryOAuth\",\r\n \"audience\": \"https://management.azure.com/\",\r\n \"tenant\": \"00000000-0000-0000-0000-000000000000\",\r\n \"clientId\": \"00000000-0000-0000-0000-000000000000\",\r\n \"secret\": \"Dummy\"\r\n },\r\n \"type\": \"Object\"\r\n }\r\n },\r\n \"triggers\": {},\r\n \"actions\": {\r\n \"listWorkflows\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"GET\",\r\n \"uri\": \"someUri\",\r\n \"authentication\": \"@parameters('authentication')\"\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf2755\",\r\n \"name\": \"logicwf2755\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"abc\": \"def\"\r\n }\r\n },\r\n {\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2016-07-20T01:02:18.4371587Z\",\r\n \"changedTime\": \"2016-07-20T01:02:18.4381349Z\",\r\n \"state\": \"Disabled\",\r\n \"version\": \"08587326303471086078\",\r\n \"accessEndpoint\": \"https://prod-14.westus.logic.azure.com:443/workflows/5989ec6181c148e689d6a7eef702e323\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourcegroups/flowrg/providers/microsoft.web/serverfarms/ServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"ServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"http://schema.management.azure.com/providers/Microsoft.Logic/schemas/2014-12-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"runworkflowmanually\": {\r\n \"defaultValue\": true,\r\n \"type\": \"Bool\"\r\n },\r\n \"subscription\": {\r\n \"defaultValue\": \"1a66ce04-b633-4a0b-b2bc-a912ec8986a6\",\r\n \"type\": \"String\"\r\n },\r\n \"resourceGroup\": {\r\n \"defaultValue\": \"logicapps-e2e\",\r\n \"type\": \"String\"\r\n },\r\n \"authentication\": {\r\n \"defaultValue\": {\r\n \"type\": \"ActiveDirectoryOAuth\",\r\n \"audience\": \"https://management.azure.com/\",\r\n \"tenant\": \"00000000-0000-0000-0000-000000000000\",\r\n \"clientId\": \"00000000-0000-0000-0000-000000000000\",\r\n \"secret\": \"Dummy\"\r\n },\r\n \"type\": \"Object\"\r\n }\r\n },\r\n \"triggers\": {},\r\n \"actions\": {\r\n \"listWorkflows\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"GET\",\r\n \"uri\": \"someUri\",\r\n \"authentication\": \"@parameters('authentication')\"\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf4703\",\r\n \"name\": \"logicwf4703\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2016-07-20T01:02:11.7497186Z\",\r\n \"changedTime\": \"2016-07-20T01:02:11.7504983Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587326303538072628\",\r\n \"accessEndpoint\": \"https://prod-10.westus.logic.azure.com:443/workflows/5c4b5821ecea4b3a896a96439f55d1a6\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourcegroups/flowrg/providers/microsoft.web/serverfarms/ServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"ServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"http://schema.management.azure.com/providers/Microsoft.Logic/schemas/2014-12-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"httpTrigger\": {\r\n \"recurrence\": {\r\n \"frequency\": \"Minute\",\r\n \"interval\": 60\r\n },\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"GET\",\r\n \"uri\": \"invalidUri\"\r\n }\r\n }\r\n },\r\n \"actions\": {},\r\n \"outputs\": {\r\n \"output1\": {\r\n \"type\": \"String\",\r\n \"value\": \"@trigger().outputs\"\r\n }\r\n }\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf8073\",\r\n \"name\": \"logicwf8073\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "4264" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "Vary": [ - "Accept-Encoding" - ], - "x-ms-request-id": [ - "westus:1c062f35-1d2e-4f65-8293-32c8f48e4249" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14999" - ], - "x-ms-correlation-request-id": [ - "98b68d59-432a-44be-8643-5e282ae87497" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20160720T171927Z:98b68d59-432a-44be-8643-5e282ae87497" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 20 Jul 2016 17:19:26 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTI1MGRkOTItYjU4MC00NmJlLWIzMjctZTY1OTZjOGRlMTk2L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "ff36eff2-4895-41fe-8269-fb5efa0b8417" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": []\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "12" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14998" - ], - "x-ms-request-id": [ - "4e352228-d2e0-43f1-b957-953a04389242" - ], - "x-ms-correlation-request-id": [ - "4e352228-d2e0-43f1-b957-953a04389242" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20160720T171929Z:4e352228-d2e0-43f1-b957-953a04389242" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 20 Jul 2016 17:19:29 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf2755?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTI1MGRkOTItYjU4MC00NmJlLWIzMjctZTY1OTZjOGRlMTk2L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9sb2dpY3dmMjc1NT9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "0d512747-13c0-4f7b-8b68-92a8af1a93bd" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:728891f7-8e73-493f-922b-eb93e4e44adc" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1199" - ], - "x-ms-correlation-request-id": [ - "a0908293-eb9f-4a38-89c0-c79d8d12acd9" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20160720T171928Z:a0908293-eb9f-4a38-89c0-c79d8d12acd9" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 20 Jul 2016 17:19:27 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf4703?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTI1MGRkOTItYjU4MC00NmJlLWIzMjctZTY1OTZjOGRlMTk2L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9sb2dpY3dmNDcwMz9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "96e22e3b-022d-4e0a-b4f2-162afb824ceb" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:a47d5864-8bbd-44f6-a75e-664a60205b7d" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" - ], - "x-ms-correlation-request-id": [ - "416e3bed-2941-4635-8f0f-9c264e183ed3" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20160720T171928Z:416e3bed-2941-4635-8f0f-9c264e183ed3" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 20 Jul 2016 17:19:28 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf8073?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTI1MGRkOTItYjU4MC00NmJlLWIzMjctZTY1OTZjOGRlMTk2L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9sb2dpY3dmODA3Mz9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "be28fc46-b806-427f-b4dc-b3332a9cf9cf" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:fda17afc-6397-4f2c-8416-85a8b8c9a828" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1197" - ], - "x-ms-correlation-request-id": [ - "7f2f5e26-2717-4ae4-b532-7b76bdc478aa" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20160720T171929Z:7f2f5e26-2717-4ae4-b532-7b76bdc478aa" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 20 Jul 2016 17:19:29 GMT" - ] - }, - "StatusCode": 200 - } - ], - "Names": {}, - "Variables": { - "SubscriptionId": "5250dd92-b580-46be-b327-e6596c8de196" - } -} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowsScenarioTests/ListSwagger.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowsScenarioTests/ListSwagger.json deleted file mode 100644 index 77695431775e9..0000000000000 --- a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowsScenarioTests/ListSwagger.json +++ /dev/null @@ -1,184 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf1656?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9sb2dpY3dmMTY1Nj9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"definition\": {\r\n \"$schema\": \"http://json-schema.org/draft-04/schema/2016-06-01\",\r\n \"triggers\": {\r\n \"request\": {\r\n \"type\": \"Request\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"relativePath\": \"abc/{xyz}\",\r\n \"method\": \"get\"\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"response\": {\r\n \"type\": \"response\",\r\n \"inputs\": {\r\n \"statusCode\": \"200\",\r\n \"body\": {},\r\n \"headers\": {}\r\n }\r\n }\r\n },\r\n \"outputs\": {}\r\n }\r\n },\r\n \"location\": \"westus\"\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "618" - ], - "x-ms-client-request-id": [ - "388a122c-715b-47ed-999e-9e947b25ba54" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/3.0.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2017-04-11T00:15:44.0640893Z\",\r\n \"changedTime\": \"2017-04-11T00:15:44.0640893Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587097371414754452\",\r\n \"accessEndpoint\": \"https://prod-38.westus.logic.azure.com:443/workflows/4c3b05a1b52c4cf48a4e6424b4bbfe7c\",\r\n \"definition\": {\r\n \"$schema\": \"http://json-schema.org/draft-04/schema/2016-06-01\",\r\n \"triggers\": {\r\n \"request\": {\r\n \"type\": \"Request\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"relativePath\": \"abc/{xyz}\",\r\n \"method\": \"get\"\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"response\": {\r\n \"type\": \"Response\",\r\n \"inputs\": {\r\n \"statusCode\": \"200\",\r\n \"body\": {},\r\n \"headers\": {}\r\n }\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {},\r\n \"endpointsConfiguration\": {\r\n \"workflow\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"52.160.92.112\"\r\n },\r\n {\r\n \"address\": \"40.118.244.241\"\r\n },\r\n {\r\n \"address\": \"40.118.241.243\"\r\n }\r\n ],\r\n \"accessEndpointIpAddresses\": [\r\n {\r\n \"address\": \"52.160.90.237\"\r\n },\r\n {\r\n \"address\": \"138.91.188.137\"\r\n },\r\n {\r\n \"address\": \"13.91.252.184\"\r\n }\r\n ]\r\n },\r\n \"connector\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"104.40.51.248\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf1656\",\r\n \"name\": \"logicwf1656\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "1141" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Tue, 11 Apr 2017 00:15:44 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:b1db7466-1241-4a76-86f7-ec38288d42b0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1193" - ], - "x-ms-correlation-request-id": [ - "a98d76b5-eb59-4a09-8b48-5e8069c25168" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170411T001544Z:a98d76b5-eb59-4a09-8b48-5e8069c25168" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf1656/listSwagger?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9sb2dpY3dmMTY1Ni9saXN0U3dhZ2dlcj9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "POST", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "3f0ec547-1df5-4785-8451-ed319bbb8901" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/3.0.0" - ] - }, - "ResponseBody": "{\r\n \"swagger\": \"2.0\",\r\n \"info\": {\r\n \"title\": \"logicwf1656\",\r\n \"description\": \"Azure Logic App.\"\r\n },\r\n \"host\": \"prod-38.westus.logic.azure.com\",\r\n \"basePath\": \"/workflows/4c3b05a1b52c4cf48a4e6424b4bbfe7c/triggers\",\r\n \"schemes\": [\r\n \"https\"\r\n ],\r\n \"consumes\": [\r\n \"application/json\"\r\n ],\r\n \"produces\": [\r\n \"application/json\"\r\n ],\r\n \"paths\": {\r\n \"/request/paths/invoke/abc/{xyz}\": {\r\n \"get\": {\r\n \"description\": \"Trigger a run of the logic app.\",\r\n \"operationId\": \"request-invoke\",\r\n \"parameters\": [\r\n {\r\n \"name\": \"api-version\",\r\n \"in\": \"query\",\r\n \"description\": \"The service API version.\",\r\n \"required\": true,\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"sp\",\r\n \"in\": \"query\",\r\n \"description\": \"The permissions; generally 'read' or 'write'.\",\r\n \"required\": true,\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"sv\",\r\n \"in\": \"query\",\r\n \"description\": \"The version number of the query parameters.\",\r\n \"required\": true,\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"sig\",\r\n \"in\": \"query\",\r\n \"description\": \"The SHA 256 hash of the entire request URI with an internal key.\",\r\n \"required\": true,\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"body\",\r\n \"in\": \"body\",\r\n \"description\": \"The request body.\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/request-request\"\r\n }\r\n },\r\n {\r\n \"name\": \"xyz\",\r\n \"in\": \"path\",\r\n \"description\": \"The trigger relative path parameter.\",\r\n \"required\": true,\r\n \"type\": \"string\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"default\": {\r\n \"description\": \"The Logic App Response.\",\r\n \"schema\": {\r\n \"type\": \"object\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"definitions\": {\r\n \"request-request\": {}\r\n }\r\n}", - "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Tue, 11 Apr 2017 00:15:44 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], - "x-ms-request-id": [ - "westus:36b15807-7d26-4517-ac77-0fcb413a088b" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1192" - ], - "x-ms-correlation-request-id": [ - "d3e757c4-832b-438f-80f9-66acce51884e" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170411T001544Z:d3e757c4-832b-438f-80f9-66acce51884e" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf1656?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9sb2dpY3dmMTY1Nj9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "529fe48f-2aad-4995-a789-638dbcbf300e" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/3.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Tue, 11 Apr 2017 00:15:44 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:f04fe5b2-136d-4b98-b1df-7870df6f3701" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1191" - ], - "x-ms-correlation-request-id": [ - "bae43d67-2965-4eca-a6bd-74baf620af95" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170411T001545Z:bae43d67-2965-4eca-a6bd-74baf620af95" - ] - }, - "StatusCode": 200 - } - ], - "Names": { - "ListSwagger": [ - "logicwf1656" - ] - }, - "Variables": { - "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" - } -} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowsScenarioTests/ListWorkflow.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowsScenarioTests/ListWorkflow.json deleted file mode 100644 index 2e4f86dd9f908..0000000000000 --- a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowsScenarioTests/ListWorkflow.json +++ /dev/null @@ -1,358 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf15?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTI1MGRkOTItYjU4MC00NmJlLWIzMjctZTY1OTZjOGRlMTk2L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9sb2dpY3dmMTU/YXBpLXZlcnNpb249MjAxNi0wNi0wMQ==", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"state\": \"Disabled\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourcegroups/flowrg/providers/microsoft.web/serverfarms/ServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"http://schema.management.azure.com/providers/Microsoft.Logic/schemas/2014-12-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"runworkflowmanually\": {\r\n \"defaultValue\": true,\r\n \"type\": \"Bool\"\r\n },\r\n \"subscription\": {\r\n \"defaultValue\": \"1a66ce04-b633-4a0b-b2bc-a912ec8986a6\",\r\n \"type\": \"String\"\r\n },\r\n \"resourceGroup\": {\r\n \"defaultValue\": \"logicapps-e2e\",\r\n \"type\": \"String\"\r\n },\r\n \"authentication\": {\r\n \"defaultValue\": {\r\n \"type\": \"ActiveDirectoryOAuth\",\r\n \"audience\": \"https://management.azure.com/\",\r\n \"tenant\": \"00000000-0000-0000-0000-000000000000\",\r\n \"clientId\": \"00000000-0000-0000-0000-000000000000\",\r\n \"secret\": \"Dummy\"\r\n },\r\n \"type\": \"Object\"\r\n }\r\n },\r\n \"triggers\": {},\r\n \"actions\": {\r\n \"listWorkflows\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"GET\",\r\n \"uri\": \"someUri\",\r\n \"authentication\": \"@parameters('authentication')\"\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n }\r\n },\r\n \"location\": \"westus\"\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "1577" - ], - "x-ms-client-request-id": [ - "f1334213-a2a8-40ac-9d88-99be701df853" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2016-07-20T17:19:54.8097669Z\",\r\n \"changedTime\": \"2016-07-20T17:19:54.8097669Z\",\r\n \"state\": \"Disabled\",\r\n \"version\": \"08587325716907006468\",\r\n \"accessEndpoint\": \"https://prod-10.westus.logic.azure.com:443/workflows/b5edaa0f16a4473fb3debd146bea321d\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourcegroups/flowrg/providers/microsoft.web/serverfarms/ServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"ServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"http://schema.management.azure.com/providers/Microsoft.Logic/schemas/2014-12-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"runworkflowmanually\": {\r\n \"defaultValue\": true,\r\n \"type\": \"Bool\"\r\n },\r\n \"subscription\": {\r\n \"defaultValue\": \"1a66ce04-b633-4a0b-b2bc-a912ec8986a6\",\r\n \"type\": \"String\"\r\n },\r\n \"resourceGroup\": {\r\n \"defaultValue\": \"logicapps-e2e\",\r\n \"type\": \"String\"\r\n },\r\n \"authentication\": {\r\n \"defaultValue\": {\r\n \"type\": \"ActiveDirectoryOAuth\",\r\n \"audience\": \"https://management.azure.com/\",\r\n \"tenant\": \"00000000-0000-0000-0000-000000000000\",\r\n \"clientId\": \"00000000-0000-0000-0000-000000000000\",\r\n \"secret\": \"Dummy\"\r\n },\r\n \"type\": \"Object\"\r\n }\r\n },\r\n \"triggers\": {},\r\n \"actions\": {\r\n \"listWorkflows\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"GET\",\r\n \"uri\": \"someUri\",\r\n \"authentication\": \"@parameters('authentication')\"\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf15\",\r\n \"name\": \"logicwf15\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "1542" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:0915e9c1-7a81-4cce-ad9c-3e4886772c47" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1194" - ], - "x-ms-correlation-request-id": [ - "c54b3543-4168-4a28-a12a-3a7d33c083bf" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20160720T171955Z:c54b3543-4168-4a28-a12a-3a7d33c083bf" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 20 Jul 2016 17:19:54 GMT" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf8364?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTI1MGRkOTItYjU4MC00NmJlLWIzMjctZTY1OTZjOGRlMTk2L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9sb2dpY3dmODM2ND9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"state\": \"Disabled\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourcegroups/flowrg/providers/microsoft.web/serverfarms/ServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"http://schema.management.azure.com/providers/Microsoft.Logic/schemas/2014-12-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"runworkflowmanually\": {\r\n \"defaultValue\": true,\r\n \"type\": \"Bool\"\r\n },\r\n \"subscription\": {\r\n \"defaultValue\": \"1a66ce04-b633-4a0b-b2bc-a912ec8986a6\",\r\n \"type\": \"String\"\r\n },\r\n \"resourceGroup\": {\r\n \"defaultValue\": \"logicapps-e2e\",\r\n \"type\": \"String\"\r\n },\r\n \"authentication\": {\r\n \"defaultValue\": {\r\n \"type\": \"ActiveDirectoryOAuth\",\r\n \"audience\": \"https://management.azure.com/\",\r\n \"tenant\": \"00000000-0000-0000-0000-000000000000\",\r\n \"clientId\": \"00000000-0000-0000-0000-000000000000\",\r\n \"secret\": \"Dummy\"\r\n },\r\n \"type\": \"Object\"\r\n }\r\n },\r\n \"triggers\": {},\r\n \"actions\": {\r\n \"listWorkflows\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"GET\",\r\n \"uri\": \"someUri\",\r\n \"authentication\": \"@parameters('authentication')\"\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n }\r\n },\r\n \"location\": \"westus\"\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "1577" - ], - "x-ms-client-request-id": [ - "6abd53ff-4d0e-41a2-a901-b085d77d80fa" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2016-07-20T17:19:55.5925207Z\",\r\n \"changedTime\": \"2016-07-20T17:19:55.5925207Z\",\r\n \"state\": \"Disabled\",\r\n \"version\": \"08587325716899560499\",\r\n \"accessEndpoint\": \"https://prod-08.westus.logic.azure.com:443/workflows/f0fdce597575435ca091b5f53432d46b\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourcegroups/flowrg/providers/microsoft.web/serverfarms/ServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"ServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"http://schema.management.azure.com/providers/Microsoft.Logic/schemas/2014-12-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"runworkflowmanually\": {\r\n \"defaultValue\": true,\r\n \"type\": \"Bool\"\r\n },\r\n \"subscription\": {\r\n \"defaultValue\": \"1a66ce04-b633-4a0b-b2bc-a912ec8986a6\",\r\n \"type\": \"String\"\r\n },\r\n \"resourceGroup\": {\r\n \"defaultValue\": \"logicapps-e2e\",\r\n \"type\": \"String\"\r\n },\r\n \"authentication\": {\r\n \"defaultValue\": {\r\n \"type\": \"ActiveDirectoryOAuth\",\r\n \"audience\": \"https://management.azure.com/\",\r\n \"tenant\": \"00000000-0000-0000-0000-000000000000\",\r\n \"clientId\": \"00000000-0000-0000-0000-000000000000\",\r\n \"secret\": \"Dummy\"\r\n },\r\n \"type\": \"Object\"\r\n }\r\n },\r\n \"triggers\": {},\r\n \"actions\": {\r\n \"listWorkflows\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"GET\",\r\n \"uri\": \"someUri\",\r\n \"authentication\": \"@parameters('authentication')\"\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf8364\",\r\n \"name\": \"logicwf8364\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "1546" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:1fc54c6d-ff94-44eb-aa0a-56f67a9c2f47" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1193" - ], - "x-ms-correlation-request-id": [ - "f01128e2-5d23-4a1b-9e0f-c1d4486bc4ce" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20160720T171955Z:f01128e2-5d23-4a1b-9e0f-c1d4486bc4ce" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 20 Jul 2016 17:19:55 GMT" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?$filter=state%20eq%20'Disabled'&$top=1&api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTI1MGRkOTItYjU4MC00NmJlLWIzMjctZTY1OTZjOGRlMTk2L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz8kZmlsdGVyPXN0YXRlJTIwZXElMjAnRGlzYWJsZWQnJiR0b3A9MSZhcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "42eba9ba-d4cb-490a-9c37-8e7cccca38c3" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2016-07-20T17:19:54.8097669Z\",\r\n \"changedTime\": \"2016-07-20T17:19:54.8103522Z\",\r\n \"state\": \"Disabled\",\r\n \"version\": \"08587325716907006468\",\r\n \"accessEndpoint\": \"https://prod-10.westus.logic.azure.com:443/workflows/b5edaa0f16a4473fb3debd146bea321d\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourcegroups/flowrg/providers/microsoft.web/serverfarms/ServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"ServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"http://schema.management.azure.com/providers/Microsoft.Logic/schemas/2014-12-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"runworkflowmanually\": {\r\n \"defaultValue\": true,\r\n \"type\": \"Bool\"\r\n },\r\n \"subscription\": {\r\n \"defaultValue\": \"1a66ce04-b633-4a0b-b2bc-a912ec8986a6\",\r\n \"type\": \"String\"\r\n },\r\n \"resourceGroup\": {\r\n \"defaultValue\": \"logicapps-e2e\",\r\n \"type\": \"String\"\r\n },\r\n \"authentication\": {\r\n \"defaultValue\": {\r\n \"type\": \"ActiveDirectoryOAuth\",\r\n \"audience\": \"https://management.azure.com/\",\r\n \"tenant\": \"00000000-0000-0000-0000-000000000000\",\r\n \"clientId\": \"00000000-0000-0000-0000-000000000000\",\r\n \"secret\": \"Dummy\"\r\n },\r\n \"type\": \"Object\"\r\n }\r\n },\r\n \"triggers\": {},\r\n \"actions\": {\r\n \"listWorkflows\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"GET\",\r\n \"uri\": \"someUri\",\r\n \"authentication\": \"@parameters('authentication')\"\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf15\",\r\n \"name\": \"logicwf15\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n }\r\n ],\r\n \"nextLink\": \"https://management.azure.com/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?%24filter=state+eq+%27Disabled%27&%24top=1&api-version=2016-06-01&%24skiptoken=eyJuZXh0UGFydGl0aW9uS2V5IjoiMSE4IU1qQTROMFEtIiwibmV4dFJvd0tleSI6IjEhODQhTlRJMU1FUkVPVEpDTlRnd05EWkNSVUl6TWpkRk5qVTVOa000UkVVeE9UWmZSa3hQVjB4UFQwdFZVQzFHVEU5WFVrY3RURTlIU1VOWFJqSTNOVFUtIn0%3d\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "1975" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "Vary": [ - "Accept-Encoding" - ], - "x-ms-request-id": [ - "westus:cf2e5558-871f-4456-9b66-f79cec681bb9" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14996" - ], - "x-ms-correlation-request-id": [ - "ac880373-e6de-454e-81a8-09927acfb9aa" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20160720T171956Z:ac880373-e6de-454e-81a8-09927acfb9aa" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 20 Jul 2016 17:19:55 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTI1MGRkOTItYjU4MC00NmJlLWIzMjctZTY1OTZjOGRlMTk2L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "4f68b75a-37b2-4ac2-bd19-da738bf3e300" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2016-07-20T17:19:37.8074052Z\",\r\n \"changedTime\": \"2016-07-20T17:19:38.4460311Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587325717070597516\",\r\n \"accessEndpoint\": \"https://prod-04.westus.logic.azure.com:443/workflows/ff06092e89354a21b593f8357908ed09\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourcegroups/flowrg/providers/microsoft.web/serverfarms/ServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"ServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"http://schema.management.azure.com/providers/Microsoft.Logic/schemas/2014-12-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"runworkflowmanually\": {\r\n \"defaultValue\": true,\r\n \"type\": \"Bool\"\r\n },\r\n \"subscription\": {\r\n \"defaultValue\": \"1a66ce04-b633-4a0b-b2bc-a912ec8986a6\",\r\n \"type\": \"String\"\r\n },\r\n \"resourceGroup\": {\r\n \"defaultValue\": \"logicapps-e2e\",\r\n \"type\": \"String\"\r\n },\r\n \"authentication\": {\r\n \"defaultValue\": {\r\n \"type\": \"ActiveDirectoryOAuth\",\r\n \"audience\": \"https://management.azure.com/\",\r\n \"tenant\": \"00000000-0000-0000-0000-000000000000\",\r\n \"clientId\": \"00000000-0000-0000-0000-000000000000\",\r\n \"secret\": \"Dummy\"\r\n },\r\n \"type\": \"Object\"\r\n }\r\n },\r\n \"triggers\": {},\r\n \"actions\": {\r\n \"listWorkflows\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"GET\",\r\n \"uri\": \"someUri\",\r\n \"authentication\": \"@parameters('authentication')\"\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf1024\",\r\n \"name\": \"logicwf1024\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"abc\": \"def\"\r\n }\r\n },\r\n {\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2016-07-20T17:19:54.8097669Z\",\r\n \"changedTime\": \"2016-07-20T17:19:54.8103522Z\",\r\n \"state\": \"Disabled\",\r\n \"version\": \"08587325716907006468\",\r\n \"accessEndpoint\": \"https://prod-10.westus.logic.azure.com:443/workflows/b5edaa0f16a4473fb3debd146bea321d\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourcegroups/flowrg/providers/microsoft.web/serverfarms/ServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"ServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"http://schema.management.azure.com/providers/Microsoft.Logic/schemas/2014-12-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"runworkflowmanually\": {\r\n \"defaultValue\": true,\r\n \"type\": \"Bool\"\r\n },\r\n \"subscription\": {\r\n \"defaultValue\": \"1a66ce04-b633-4a0b-b2bc-a912ec8986a6\",\r\n \"type\": \"String\"\r\n },\r\n \"resourceGroup\": {\r\n \"defaultValue\": \"logicapps-e2e\",\r\n \"type\": \"String\"\r\n },\r\n \"authentication\": {\r\n \"defaultValue\": {\r\n \"type\": \"ActiveDirectoryOAuth\",\r\n \"audience\": \"https://management.azure.com/\",\r\n \"tenant\": \"00000000-0000-0000-0000-000000000000\",\r\n \"clientId\": \"00000000-0000-0000-0000-000000000000\",\r\n \"secret\": \"Dummy\"\r\n },\r\n \"type\": \"Object\"\r\n }\r\n },\r\n \"triggers\": {},\r\n \"actions\": {\r\n \"listWorkflows\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"GET\",\r\n \"uri\": \"someUri\",\r\n \"authentication\": \"@parameters('authentication')\"\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf15\",\r\n \"name\": \"logicwf15\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2016-07-20T17:19:49.8202996Z\",\r\n \"changedTime\": \"2016-07-20T17:19:49.820896Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587325716957505762\",\r\n \"accessEndpoint\": \"https://prod-08.westus.logic.azure.com:443/workflows/49ddb0a78db445ce9d563604e7746358\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourcegroups/flowrg/providers/microsoft.web/serverfarms/ServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"ServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"http://schema.management.azure.com/providers/Microsoft.Logic/schemas/2014-12-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"httpTrigger\": {\r\n \"recurrence\": {\r\n \"frequency\": \"Minute\",\r\n \"interval\": 60\r\n },\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"GET\",\r\n \"uri\": \"invalidUri\"\r\n }\r\n }\r\n },\r\n \"actions\": {},\r\n \"outputs\": {\r\n \"output1\": {\r\n \"type\": \"String\",\r\n \"value\": \"@trigger().outputs\"\r\n }\r\n }\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf5425\",\r\n \"name\": \"logicwf5425\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2016-07-20T17:19:55.5925207Z\",\r\n \"changedTime\": \"2016-07-20T17:19:55.5934761Z\",\r\n \"state\": \"Disabled\",\r\n \"version\": \"08587325716899560499\",\r\n \"accessEndpoint\": \"https://prod-08.westus.logic.azure.com:443/workflows/f0fdce597575435ca091b5f53432d46b\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourcegroups/flowrg/providers/microsoft.web/serverfarms/ServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"ServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"http://schema.management.azure.com/providers/Microsoft.Logic/schemas/2014-12-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"runworkflowmanually\": {\r\n \"defaultValue\": true,\r\n \"type\": \"Bool\"\r\n },\r\n \"subscription\": {\r\n \"defaultValue\": \"1a66ce04-b633-4a0b-b2bc-a912ec8986a6\",\r\n \"type\": \"String\"\r\n },\r\n \"resourceGroup\": {\r\n \"defaultValue\": \"logicapps-e2e\",\r\n \"type\": \"String\"\r\n },\r\n \"authentication\": {\r\n \"defaultValue\": {\r\n \"type\": \"ActiveDirectoryOAuth\",\r\n \"audience\": \"https://management.azure.com/\",\r\n \"tenant\": \"00000000-0000-0000-0000-000000000000\",\r\n \"clientId\": \"00000000-0000-0000-0000-000000000000\",\r\n \"secret\": \"Dummy\"\r\n },\r\n \"type\": \"Object\"\r\n }\r\n },\r\n \"triggers\": {},\r\n \"actions\": {\r\n \"listWorkflows\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"GET\",\r\n \"uri\": \"someUri\",\r\n \"authentication\": \"@parameters('authentication')\"\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf8364\",\r\n \"name\": \"logicwf8364\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "5806" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "Vary": [ - "Accept-Encoding" - ], - "x-ms-request-id": [ - "westus:5d8b62cb-07ef-41a5-8577-8a4fe33b50a3" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14995" - ], - "x-ms-correlation-request-id": [ - "286afee9-0193-4b20-ad1e-f9584b31ca87" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20160720T171956Z:286afee9-0193-4b20-ad1e-f9584b31ca87" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 20 Jul 2016 17:19:55 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/providers/Microsoft.Logic/workflows?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTI1MGRkOTItYjU4MC00NmJlLWIzMjctZTY1OTZjOGRlMTk2L3Byb3ZpZGVycy9NaWNyb3NvZnQuTG9naWMvd29ya2Zsb3dzP2FwaS12ZXJzaW9uPTIwMTYtMDYtMDE=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "d90ed3fa-4645-4518-9c6b-06a26b1c64d6" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2016-07-19T21:44:39.3526405Z\",\r\n \"changedTime\": \"2016-07-19T21:44:39.3534393Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587326422063334566\",\r\n \"accessEndpoint\": \"https://prod-01.northcentralus.logic.azure.com:443/workflows/93608d166f9c4e169521fde0e1a90fa5\",\r\n \"sku\": {\r\n \"name\": \"Free\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/ilygre-rg/providers/Microsoft.Web/serverfarms/ServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"ServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-04-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {},\r\n \"actions\": {},\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/ilygre-rg/providers/Microsoft.Logic/workflows/jaden1\",\r\n \"name\": \"jaden1\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"northcentralus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2016-07-19T21:45:02.6890453Z\",\r\n \"changedTime\": \"2016-07-19T21:45:02.6894495Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587326421829206185\",\r\n \"accessEndpoint\": \"https://prod-00.northcentralus.logic.azure.com:443/workflows/19c730bdaaa346e2887b17b8698994a8\",\r\n \"sku\": {\r\n \"name\": \"Free\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/ilygre-rg/providers/Microsoft.Web/serverfarms/ServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"ServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-04-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {},\r\n \"actions\": {},\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/ilygre-rg/providers/Microsoft.Logic/workflows/jadentest1\",\r\n \"name\": \"jadentest1\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"northcentralus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2016-07-02T07:57:52.1287948Z\",\r\n \"changedTime\": \"2016-07-02T07:57:52.1292818Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587341606134396481\",\r\n \"accessEndpoint\": \"https://prod-07.northcentralus.logic.azure.com:443/workflows/a7baad071a2049949913815e62874b98\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/sw-onprem1/providers/Microsoft.Web/serverFarms/ServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"ServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-04-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {},\r\n \"actions\": {},\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/sw-onprem1/providers/Microsoft.Logic/workflows/sw-onprem-sql1\",\r\n \"name\": \"sw-onprem-sql1\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"northcentralus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2016-06-20T20:20:43.8162882Z\",\r\n \"changedTime\": \"2016-07-13T23:32:18.3522328Z\",\r\n \"state\": \"Disabled\",\r\n \"version\": \"08587331541471676239\",\r\n \"accessEndpoint\": \"https://prod-02.northcentralus.logic.azure.com:443/workflows/c15a6ad4610d43eb8671fcf1e053a9f4\",\r\n \"sku\": {\r\n \"name\": \"Free\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/sw-test/providers/Microsoft.Web/serverfarms/plan-centralus\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"plan-centralus\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2015-08-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"$connections\": {\r\n \"defaultValue\": {},\r\n \"type\": \"Object\"\r\n }\r\n },\r\n \"triggers\": {\r\n \"Recurrence\": {\r\n \"recurrence\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\r\n \"type\": \"Recurrence\"\r\n }\r\n },\r\n \"actions\": {\r\n \"Delay\": {\r\n \"foreach\": \"@body('List_files_and_folders_in_root_folder')\",\r\n \"type\": \"Wait\",\r\n \"inputs\": {\r\n \"interval\": {\r\n \"count\": \"1\",\r\n \"unit\": \"Minute\"\r\n }\r\n },\r\n \"conditions\": [\r\n {\r\n \"expression\": \"@equals(item()['Id'], 12345)\"\r\n },\r\n {\r\n \"dependsOn\": \"List_files_and_folders_in_root_folder\"\r\n }\r\n ]\r\n },\r\n \"Delay_2\": {\r\n \"foreach\": \"@body('List_files_and_folders_in_root_folder')\",\r\n \"type\": \"Wait\",\r\n \"inputs\": {\r\n \"interval\": {\r\n \"count\": \"5\",\r\n \"unit\": \"Minute\"\r\n }\r\n },\r\n \"conditions\": [\r\n {\r\n \"expression\": \"@equals(actions('Delay').status, 'Skipped')\"\r\n }\r\n ]\r\n },\r\n \"List_files_and_folders_in_root_folder\": {\r\n \"type\": \"ApiConnection\",\r\n \"inputs\": {\r\n \"host\": {\r\n \"api\": {\r\n \"runtimeUrl\": \"https://logic-apis-northcentralus.azure-apim.net/apim/dropbox\"\r\n },\r\n \"connection\": {\r\n \"name\": \"@parameters('$connections')['dropbox']['connectionId']\"\r\n }\r\n },\r\n \"method\": \"get\",\r\n \"path\": \"/datasets/default/folders\"\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {\r\n \"$connections\": {\r\n \"value\": {\r\n \"dropbox\": {\r\n \"connectionId\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/sw-test/providers/Microsoft.Web/connections/dropbox\",\r\n \"connectionName\": \"dropbox\",\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/providers/Microsoft.Web/locations/northcentralus/managedApis/dropbox\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/sw-test/providers/Microsoft.Logic/workflows/logic-sw-test-0620\",\r\n \"name\": \"logic-sw-test-0620\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"northcentralus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2016-06-17T23:58:44.0186612Z\",\r\n \"changedTime\": \"2016-07-12T23:49:41.1720628Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587332395043367399\",\r\n \"accessEndpoint\": \"https://prod-04.northcentralus.logic.azure.com:443/workflows/df0dfa0b96dc4731b4ca1d225f74f054\",\r\n \"sku\": {\r\n \"name\": \"Free\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/sw-test/providers/Microsoft.Web/serverfarms/plan-centralus\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"plan-centralus\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2015-08-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Manual\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Response\": {\r\n \"type\": \"Response\",\r\n \"inputs\": {\r\n \"statusCode\": 200\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/sw-test/providers/Microsoft.Logic/workflows/sw-la-20160617\",\r\n \"name\": \"sw-la-20160617\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"northcentralus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2016-07-12T23:46:12.2317893Z\",\r\n \"changedTime\": \"2016-07-12T23:48:42.7998107Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587332395628014427\",\r\n \"accessEndpoint\": \"https://prod-03.northcentralus.logic.azure.com:443/workflows/263b928003c6454193723aee6b49ff8b\",\r\n \"sku\": {\r\n \"name\": \"Free\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/sw-test/providers/Microsoft.Web/serverfarms/plan-centralus\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"plan-centralus\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-04-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Request\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Response\": {\r\n \"runAfter\": {},\r\n \"type\": \"Response\",\r\n \"inputs\": {\r\n \"statusCode\": 200\r\n }\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/sw-test/providers/Microsoft.Logic/workflows/sw-la-20160712\",\r\n \"name\": \"sw-la-20160712\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"northcentralus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2016-06-02T20:33:46.9151835Z\",\r\n \"changedTime\": \"2016-06-02T21:02:24.2070668Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587367055413245800\",\r\n \"accessEndpoint\": \"https://prod-04.northcentralus.logic.azure.com:443/workflows/45bebcf2f8ce4684a93ba9c39c4eece3\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/sw-test/providers/Microsoft.Web/serverfarms/plan-centralus\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"plan-centralus\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-04-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"recurrence\": {\r\n \"recurrence\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\r\n \"type\": \"Recurrence\"\r\n }\r\n },\r\n \"actions\": {\r\n \"Http\": {\r\n \"runAfter\": {},\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"GET\",\r\n \"uri\": \"http://microsoft.com\"\r\n }\r\n },\r\n \"until\": {\r\n \"actions\": {},\r\n \"runAfter\": {\r\n \"Http\": [\r\n \"Succeeded\"\r\n ]\r\n },\r\n \"expression\": \"@equals('', '')\",\r\n \"limit\": {\r\n \"count\": 60,\r\n \"timeout\": \"10\"\r\n },\r\n \"type\": \"Until\"\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/sw-test/providers/Microsoft.Logic/workflows/sw-logicapp-bugbash-0602\",\r\n \"name\": \"sw-logicapp-bugbash-0602\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"northcentralus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2016-05-31T23:08:24.6119662Z\",\r\n \"changedTime\": \"2016-06-06T22:51:22.1421348Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587363534033761821\",\r\n \"accessEndpoint\": \"https://prod-01.northcentralus.logic.azure.com:443/workflows/c70a592185104c9eae2d6716e8d76506\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/sw-test/providers/Microsoft.Web/serverFarms/plan-centralus\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"plan-centralus\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2015-08-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Manual\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Response\": {\r\n \"type\": \"Response\",\r\n \"inputs\": {\r\n \"body\": \"Content from child flow response\",\r\n \"headers\": {\r\n \"some-header\": \"some-value\"\r\n },\r\n \"statusCode\": 200\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/sw-test/providers/Microsoft.Logic/workflows/sw-test-0531\",\r\n \"name\": \"sw-test-0531\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"northcentralus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2016-05-22T21:23:48.3151281Z\",\r\n \"changedTime\": \"2016-06-17T17:30:10.3798302Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587354222751352902\",\r\n \"accessEndpoint\": \"https://prod-07.northcentralus.logic.azure.com:443/workflows/62d9cf77bae14746ab55e884b574957b\",\r\n \"sku\": {\r\n \"name\": \"Free\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/sw-test/providers/Microsoft.Web/serverfarms/ServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"ServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2015-08-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Manual\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Response\": {\r\n \"type\": \"Response\",\r\n \"inputs\": {\r\n \"body\": \"@triggerBody()['text']\",\r\n \"statusCode\": 200\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/sw-test/providers/Microsoft.Logic/workflows/sw-test-05-22\",\r\n \"name\": \"sw-test-05-22\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"northcentralus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2016-05-23T16:29:22.3912969Z\",\r\n \"changedTime\": \"2016-05-24T15:54:19.1026607Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587375016264625378\",\r\n \"accessEndpoint\": \"https://prod-07.northcentralus.logic.azure.com:443/workflows/a70bf41477de42729f0174287db52dc7\",\r\n \"sku\": {\r\n \"name\": \"Free\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/sw-test/providers/Microsoft.Web/serverfarms/ServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"ServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2015-08-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"$connections\": {\r\n \"defaultValue\": {},\r\n \"type\": \"Object\"\r\n }\r\n },\r\n \"triggers\": {\r\n \"When_a_file_is_created\": {\r\n \"recurrence\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\r\n \"metadata\": {\r\n \"6e202211-2856-4d17-9ded-5beb8b8626b0\": \"/\"\r\n },\r\n \"type\": \"ApiConnection\",\r\n \"inputs\": {\r\n \"host\": {\r\n \"api\": {\r\n \"runtimeUrl\": \"https://logic-apis-northcentralus.azure-apim.net/apim/dropbox\"\r\n },\r\n \"connection\": {\r\n \"name\": \"@parameters('$connections')['dropbox']['connectionId']\"\r\n }\r\n },\r\n \"method\": \"get\",\r\n \"path\": \"/datasets/default/triggers/onnewfile\",\r\n \"queries\": {\r\n \"folderId\": \"6e202211-2856-4d17-9ded-5beb8b8626b0\"\r\n }\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"actions\": {\r\n \"Delay\": {\r\n \"type\": \"Wait\",\r\n \"inputs\": {\r\n \"interval\": {\r\n \"count\": \"1\",\r\n \"unit\": \"minute\"\r\n }\r\n },\r\n \"conditions\": []\r\n },\r\n \"Http_Webhook\": {\r\n \"type\": \"HttpWebhook\",\r\n \"inputs\": {\r\n \"subscribe\": {\r\n \"body\": \"@listCallbackUrl()\",\r\n \"method\": \"POST\",\r\n \"uri\": \"http://test.com\"\r\n }\r\n },\r\n \"conditions\": [\r\n {\r\n \"dependsOn\": \"Delay\"\r\n }\r\n ]\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {\r\n \"$connections\": {\r\n \"value\": {\r\n \"dropbox\": {\r\n \"connectionId\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/sw-test/providers/Microsoft.Web/connections/dropbox\",\r\n \"connectionName\": \"dropbox\",\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/providers/Microsoft.Web/locations/northcentralus/managedApis/dropbox\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/sw-test/providers/Microsoft.Logic/workflows/sw-test-05-22copy\",\r\n \"name\": \"sw-test-05-22copy\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"northcentralus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2016-06-02T21:11:32.0606919Z\",\r\n \"changedTime\": \"2016-06-02T21:31:36.5430152Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587367037889771403\",\r\n \"accessEndpoint\": \"https://prod-00.northcentralus.logic.azure.com:443/workflows/0a3d665d32504fe09448d466425b6e28\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/sw-test/providers/Microsoft.Web/serverFarms/plan-centralus\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"plan-centralus\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-04-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"$connections\": {\r\n \"defaultValue\": {},\r\n \"type\": \"Object\"\r\n }\r\n },\r\n \"triggers\": {\r\n \"recurrence\": {\r\n \"recurrence\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\r\n \"type\": \"Recurrence\"\r\n }\r\n },\r\n \"actions\": {\r\n \"foreach\": {\r\n \"foreach\": \"@body('List_files_and_folders_in_folder')\",\r\n \"actions\": {},\r\n \"runAfter\": {\r\n \"until\": [\r\n \"Succeeded\"\r\n ]\r\n },\r\n \"type\": \"Foreach\"\r\n },\r\n \"foreach_2\": {\r\n \"foreach\": \"@body('List_files_and_folders_in_folder')\",\r\n \"actions\": {\r\n \"Delay\": {\r\n \"runAfter\": {},\r\n \"type\": \"Wait\",\r\n \"inputs\": {\r\n \"interval\": {\r\n \"count\": 1,\r\n \"unit\": \"Minute\"\r\n }\r\n }\r\n }\r\n },\r\n \"runAfter\": {\r\n \"foreach\": [\r\n \"Succeeded\"\r\n ]\r\n },\r\n \"type\": \"Foreach\"\r\n },\r\n \"foreach_3\": {\r\n \"foreach\": \"@body('List_files_and_folders_in_folder')\",\r\n \"actions\": {\r\n \"Delay_2\": {\r\n \"runAfter\": {},\r\n \"type\": \"Wait\",\r\n \"inputs\": {\r\n \"interval\": {\r\n \"count\": 1,\r\n \"unit\": \"Minute\"\r\n }\r\n }\r\n }\r\n },\r\n \"runAfter\": {\r\n \"foreach_2\": [\r\n \"Succeeded\"\r\n ]\r\n },\r\n \"type\": \"Foreach\"\r\n },\r\n \"foreach_4\": {\r\n \"foreach\": \"@body('List_files_and_folders_in_folder')\",\r\n \"actions\": {},\r\n \"runAfter\": {\r\n \"foreach_3\": [\r\n \"Succeeded\"\r\n ]\r\n },\r\n \"type\": \"Foreach\"\r\n },\r\n \"until\": {\r\n \"actions\": {\r\n \"List_files_and_folders_in_folder\": {\r\n \"runAfter\": {},\r\n \"type\": \"ApiConnection\",\r\n \"inputs\": {\r\n \"host\": {\r\n \"api\": {\r\n \"runtimeUrl\": \"https://logic-apis-northcentralus.azure-apim.net/apim/dropbox\"\r\n },\r\n \"connection\": {\r\n \"name\": \"@parameters('$connections')['dropbox']['connectionId']\"\r\n }\r\n },\r\n \"method\": \"get\",\r\n \"path\": \"/datasets/default/folders/@{encodeURIComponent(string('6e202211-2856-4d17-9ded-5beb8b8626b0'))}\"\r\n }\r\n }\r\n },\r\n \"runAfter\": {},\r\n \"expression\": \"@equals(body('List_files_and_folders_in_folder'), body('List_files_and_folders_in_folder'))\",\r\n \"limit\": {\r\n \"count\": 60,\r\n \"timeout\": \"PT1H\"\r\n },\r\n \"type\": \"Until\"\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {\r\n \"$connections\": {\r\n \"value\": {\r\n \"dropbox\": {\r\n \"connectionId\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/sw-test/providers/Microsoft.Web/connections/dropbox\",\r\n \"connectionName\": \"dropbox\",\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/providers/Microsoft.Web/locations/northcentralus/managedApis/dropbox\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/sw-test/providers/Microsoft.Logic/workflows/sw-upgradetest1\",\r\n \"name\": \"sw-upgradetest1\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"northcentralus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2016-06-01T00:11:52.5927907Z\",\r\n \"changedTime\": \"2016-06-01T00:27:00.1849032Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587368660653363160\",\r\n \"accessEndpoint\": \"https://prod-04.northcentralus.logic.azure.com:443/workflows/8f807e74251a46a49fb61bc4d2333a34\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/TestRG/providers/Microsoft.Web/serverFarms/ServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"ServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2015-08-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"$connections\": {\r\n \"defaultValue\": {},\r\n \"type\": \"Object\"\r\n }\r\n },\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Manual\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Get_my_profile\": {\r\n \"type\": \"ApiConnection\",\r\n \"inputs\": {\r\n \"host\": {\r\n \"api\": {\r\n \"runtimeUrl\": \"https://logic-apis-northcentralus.azure-apim.net/apim/office365users\"\r\n },\r\n \"connection\": {\r\n \"name\": \"@parameters('$connections')['office365users']['connectionId']\"\r\n }\r\n },\r\n \"method\": \"get\",\r\n \"path\": \"/users/me\"\r\n },\r\n \"conditions\": [\r\n {\r\n \"dependsOn\": \"Response\"\r\n }\r\n ]\r\n },\r\n \"Response\": {\r\n \"type\": \"Response\",\r\n \"inputs\": {\r\n \"body\": \"@triggerBody()\",\r\n \"headers\": \"@triggerBody()\",\r\n \"statusCode\": 200\r\n },\r\n \"conditions\": []\r\n },\r\n \"Send_email\": {\r\n \"type\": \"ApiConnection\",\r\n \"inputs\": {\r\n \"body\": {\r\n \"Body\": \"@{triggerBody()}\",\r\n \"Subject\": \"asfasfasdfgasg\",\r\n \"To\": \"bshyam@microsoft.com\"\r\n },\r\n \"host\": {\r\n \"api\": {\r\n \"runtimeUrl\": \"https://logic-apis-northcentralus.azure-apim.net/apim/office365\"\r\n },\r\n \"connection\": {\r\n \"name\": \"@parameters('$connections')['office365']['connectionId']\"\r\n }\r\n },\r\n \"method\": \"post\",\r\n \"path\": \"/Mail\"\r\n },\r\n \"conditions\": [\r\n {\r\n \"dependsOn\": \"Get_my_profile\"\r\n }\r\n ]\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {\r\n \"$connections\": {\r\n \"value\": {\r\n \"office365\": {\r\n \"connectionId\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/TestRG/providers/Microsoft.Web/connections/office365-3\",\r\n \"connectionName\": \"office365-3\",\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/providers/Microsoft.Web/locations/northcentralus/managedApis/office365\"\r\n },\r\n \"office365users\": {\r\n \"connectionId\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/TestRG/providers/Microsoft.Web/connections/office365users\",\r\n \"connectionName\": \"office365users\",\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/providers/Microsoft.Web/locations/northcentralus/managedApis/office365users\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/TestRG/providers/Microsoft.Logic/workflows/BUG6223009\",\r\n \"name\": \"BUG6223009\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"northcentralus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2016-05-31T23:20:10.225398Z\",\r\n \"changedTime\": \"2016-07-12T23:44:30.5075055Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587332398150265926\",\r\n \"accessEndpoint\": \"https://prod-02.centralus.logic.azure.com:443/workflows/59cb37bdfb584effbec89aa4a711a7ae\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/sw-test/providers/Microsoft.Web/serverfarms/plan-centralus\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"plan-centralus\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2015-08-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Manual\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Response\": {\r\n \"type\": \"Response\",\r\n \"inputs\": {\r\n \"statusCode\": 200\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/sw-centralus-group/providers/Microsoft.Logic/workflows/sw-test0531v3\",\r\n \"name\": \"sw-test0531v3\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"centralus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2016-07-20T17:19:37.8074052Z\",\r\n \"changedTime\": \"2016-07-20T17:19:38.4460311Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587325717070597516\",\r\n \"accessEndpoint\": \"https://prod-04.westus.logic.azure.com:443/workflows/ff06092e89354a21b593f8357908ed09\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourcegroups/flowrg/providers/microsoft.web/serverfarms/ServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"ServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"http://schema.management.azure.com/providers/Microsoft.Logic/schemas/2014-12-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"runworkflowmanually\": {\r\n \"defaultValue\": true,\r\n \"type\": \"Bool\"\r\n },\r\n \"subscription\": {\r\n \"defaultValue\": \"1a66ce04-b633-4a0b-b2bc-a912ec8986a6\",\r\n \"type\": \"String\"\r\n },\r\n \"resourceGroup\": {\r\n \"defaultValue\": \"logicapps-e2e\",\r\n \"type\": \"String\"\r\n },\r\n \"authentication\": {\r\n \"defaultValue\": {\r\n \"type\": \"ActiveDirectoryOAuth\",\r\n \"audience\": \"https://management.azure.com/\",\r\n \"tenant\": \"00000000-0000-0000-0000-000000000000\",\r\n \"clientId\": \"00000000-0000-0000-0000-000000000000\",\r\n \"secret\": \"Dummy\"\r\n },\r\n \"type\": \"Object\"\r\n }\r\n },\r\n \"triggers\": {},\r\n \"actions\": {\r\n \"listWorkflows\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"GET\",\r\n \"uri\": \"someUri\",\r\n \"authentication\": \"@parameters('authentication')\"\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf1024\",\r\n \"name\": \"logicwf1024\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"abc\": \"def\"\r\n }\r\n },\r\n {\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2016-07-20T17:19:54.8097669Z\",\r\n \"changedTime\": \"2016-07-20T17:19:54.8103522Z\",\r\n \"state\": \"Disabled\",\r\n \"version\": \"08587325716907006468\",\r\n \"accessEndpoint\": \"https://prod-10.westus.logic.azure.com:443/workflows/b5edaa0f16a4473fb3debd146bea321d\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourcegroups/flowrg/providers/microsoft.web/serverfarms/ServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"ServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"http://schema.management.azure.com/providers/Microsoft.Logic/schemas/2014-12-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"runworkflowmanually\": {\r\n \"defaultValue\": true,\r\n \"type\": \"Bool\"\r\n },\r\n \"subscription\": {\r\n \"defaultValue\": \"1a66ce04-b633-4a0b-b2bc-a912ec8986a6\",\r\n \"type\": \"String\"\r\n },\r\n \"resourceGroup\": {\r\n \"defaultValue\": \"logicapps-e2e\",\r\n \"type\": \"String\"\r\n },\r\n \"authentication\": {\r\n \"defaultValue\": {\r\n \"type\": \"ActiveDirectoryOAuth\",\r\n \"audience\": \"https://management.azure.com/\",\r\n \"tenant\": \"00000000-0000-0000-0000-000000000000\",\r\n \"clientId\": \"00000000-0000-0000-0000-000000000000\",\r\n \"secret\": \"Dummy\"\r\n },\r\n \"type\": \"Object\"\r\n }\r\n },\r\n \"triggers\": {},\r\n \"actions\": {\r\n \"listWorkflows\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"GET\",\r\n \"uri\": \"someUri\",\r\n \"authentication\": \"@parameters('authentication')\"\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf15\",\r\n \"name\": \"logicwf15\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2016-07-20T17:19:49.8202996Z\",\r\n \"changedTime\": \"2016-07-20T17:19:49.820896Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587325716957505762\",\r\n \"accessEndpoint\": \"https://prod-08.westus.logic.azure.com:443/workflows/49ddb0a78db445ce9d563604e7746358\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourcegroups/flowrg/providers/microsoft.web/serverfarms/ServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"ServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"http://schema.management.azure.com/providers/Microsoft.Logic/schemas/2014-12-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"httpTrigger\": {\r\n \"recurrence\": {\r\n \"frequency\": \"Minute\",\r\n \"interval\": 60\r\n },\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"GET\",\r\n \"uri\": \"invalidUri\"\r\n }\r\n }\r\n },\r\n \"actions\": {},\r\n \"outputs\": {\r\n \"output1\": {\r\n \"type\": \"String\",\r\n \"value\": \"@trigger().outputs\"\r\n }\r\n }\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf5425\",\r\n \"name\": \"logicwf5425\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2016-07-20T17:19:55.5925207Z\",\r\n \"changedTime\": \"2016-07-20T17:19:55.5934761Z\",\r\n \"state\": \"Disabled\",\r\n \"version\": \"08587325716899560499\",\r\n \"accessEndpoint\": \"https://prod-08.westus.logic.azure.com:443/workflows/f0fdce597575435ca091b5f53432d46b\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourcegroups/flowrg/providers/microsoft.web/serverfarms/ServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"ServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"http://schema.management.azure.com/providers/Microsoft.Logic/schemas/2014-12-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"runworkflowmanually\": {\r\n \"defaultValue\": true,\r\n \"type\": \"Bool\"\r\n },\r\n \"subscription\": {\r\n \"defaultValue\": \"1a66ce04-b633-4a0b-b2bc-a912ec8986a6\",\r\n \"type\": \"String\"\r\n },\r\n \"resourceGroup\": {\r\n \"defaultValue\": \"logicapps-e2e\",\r\n \"type\": \"String\"\r\n },\r\n \"authentication\": {\r\n \"defaultValue\": {\r\n \"type\": \"ActiveDirectoryOAuth\",\r\n \"audience\": \"https://management.azure.com/\",\r\n \"tenant\": \"00000000-0000-0000-0000-000000000000\",\r\n \"clientId\": \"00000000-0000-0000-0000-000000000000\",\r\n \"secret\": \"Dummy\"\r\n },\r\n \"type\": \"Object\"\r\n }\r\n },\r\n \"triggers\": {},\r\n \"actions\": {\r\n \"listWorkflows\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"GET\",\r\n \"uri\": \"someUri\",\r\n \"authentication\": \"@parameters('authentication')\"\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf8364\",\r\n \"name\": \"logicwf8364\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2016-04-27T01:43:42.5962393Z\",\r\n \"changedTime\": \"2016-05-25T01:03:58.474686Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587374686471832453\",\r\n \"accessEndpoint\": \"https://prod-00.westus.logic.azure.com:443/workflows/94f0095125c448cc85b4c926a9bf2297\",\r\n \"sku\": {\r\n \"name\": \"Free\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/prateesh-test/providers/Microsoft.Web/serverfarms/ServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"ServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2015-08-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Manual\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Delay\": {\r\n \"type\": \"Wait\",\r\n \"inputs\": {\r\n \"interval\": {\r\n \"count\": \"3\",\r\n \"unit\": \"minute\"\r\n }\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/prateesh-test/providers/Microsoft.Logic/workflows/sdfasdfasd\",\r\n \"name\": \"sdfasdfasd\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2016-04-07T23:17:25.6396809Z\",\r\n \"changedTime\": \"2016-05-14T01:03:36.0682096Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587384190695227511\",\r\n \"accessEndpoint\": \"https://prod-06.westus.logic.azure.com:443/workflows/0b98d4d7c05e423eb9031e46e2fc5163\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/prateesh-test/providers/Microsoft.Web/serverFarms/ServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"ServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2015-08-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Manual\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Delay\": {\r\n \"type\": \"Wait\",\r\n \"inputs\": {\r\n \"interval\": {\r\n \"count\": \"3\",\r\n \"unit\": \"minute\"\r\n }\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/prateesh-test/providers/Microsoft.Logic/workflows/testLogicApp1\",\r\n \"name\": \"testLogicApp1\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2016-06-03T19:06:09.5519754Z\",\r\n \"changedTime\": \"2016-06-03T19:06:49.7622385Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587366260757461647\",\r\n \"accessEndpoint\": \"https://prod-03.westus.logic.azure.com:443/workflows/d0daa0b62edb402580947e1e35019678\",\r\n \"sku\": {\r\n \"name\": \"Free\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/prateesh-test/providers/Microsoft.Web/serverfarms/ServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"ServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2015-08-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Manual\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Response\": {\r\n \"type\": \"Response\",\r\n \"inputs\": {\r\n \"statusCode\": 200\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/sw-test-westus/providers/Microsoft.Logic/workflows/logicapp-0603-westus\",\r\n \"name\": \"logicapp-0603-westus\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2016-07-02T07:52:58.9457188Z\",\r\n \"changedTime\": \"2016-07-02T07:52:58.945907Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587341609066707075\",\r\n \"accessEndpoint\": \"https://prod-15.westus.logic.azure.com:443/workflows/760f612143534e5f8f68cddfc292161f\",\r\n \"sku\": {\r\n \"name\": \"Free\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/johnwa_logicapp_dogfood/providers/Microsoft.Web/serverfarms/johnwaaspdogfood\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"johnwaaspdogfood\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-04-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {},\r\n \"actions\": {},\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/sw-test-westus/providers/Microsoft.Logic/workflows/sw-onprem-testsql1\",\r\n \"name\": \"sw-onprem-testsql1\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2016-04-07T23:53:16.3012298Z\",\r\n \"changedTime\": \"2016-04-07T23:53:16.3014984Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587415336894218405\",\r\n \"accessEndpoint\": \"https://prod-06.brazilus.logic.azure.com:443/workflows/51d1dca4da3b4942a8514d9ff0e745d9\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/danchart-la-df-01/providers/Microsoft.Web/serverFarms/danchart-la-df-01\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"danchart-la-df-01\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2015-08-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {},\r\n \"actions\": {},\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/danchart-la-df-01/providers/Microsoft.Logic/workflows/danchart-la-df-01\",\r\n \"name\": \"danchart-la-df-01\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2016-07-07T01:38:27.334178Z\",\r\n \"changedTime\": \"2016-07-07T01:43:10.6936108Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587337510948846180\",\r\n \"accessEndpoint\": \"https://prod-02.brazilus.logic.azure.com:443/workflows/ce7e32dcfe2e455b838fe49d1522cc6b\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/ilygre-rg/providers/Microsoft.Web/serverFarms/ServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"ServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-04-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"$connections\": {\r\n \"defaultValue\": {},\r\n \"type\": \"Object\"\r\n }\r\n },\r\n \"triggers\": {\r\n \"Recurrence\": {\r\n \"recurrence\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 4\r\n },\r\n \"type\": \"Recurrence\"\r\n }\r\n },\r\n \"actions\": {\r\n \"Get_tables\": {\r\n \"runAfter\": {},\r\n \"type\": \"ApiConnection\",\r\n \"inputs\": {\r\n \"host\": {\r\n \"api\": {\r\n \"runtimeUrl\": \"https://logic-apis-df.azure-apim.net/apim/sql\"\r\n },\r\n \"connection\": {\r\n \"name\": \"@parameters('$connections')['sql']['connectionId']\"\r\n }\r\n },\r\n \"method\": \"get\",\r\n \"path\": \"/datasets/default/tables\"\r\n }\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {\r\n \"$connections\": {\r\n \"value\": {\r\n \"sql\": {\r\n \"connectionId\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/ilygre-rg/providers/Microsoft.Web/connections/sql\",\r\n \"connectionName\": \"sql\",\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/providers/Microsoft.Web/locations/brazilsouth/managedApis/sql\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/ilygre-rg/providers/Microsoft.Logic/workflows/ilygre-gw-lg\",\r\n \"name\": \"ilygre-gw-lg\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2016-07-07T01:52:39.4175785Z\",\r\n \"changedTime\": \"2016-07-07T01:54:42.709603Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587337504028099018\",\r\n \"accessEndpoint\": \"https://prod-06.brazilus.logic.azure.com:443/workflows/9147043fa830430f94d9735e73b429c2\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/ilygre-rg/providers/Microsoft.Web/serverfarms/ServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"ServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-04-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"$connections\": {\r\n \"defaultValue\": {},\r\n \"type\": \"Object\"\r\n }\r\n },\r\n \"triggers\": {\r\n \"Recurrence\": {\r\n \"recurrence\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 555\r\n },\r\n \"type\": \"Recurrence\"\r\n }\r\n },\r\n \"actions\": {\r\n \"Get_tables\": {\r\n \"runAfter\": {},\r\n \"type\": \"ApiConnection\",\r\n \"inputs\": {\r\n \"host\": {\r\n \"api\": {\r\n \"runtimeUrl\": \"https://logic-apis-df.azure-apim.net/apim/sql\"\r\n },\r\n \"connection\": {\r\n \"name\": \"@parameters('$connections')['sql_1']['connectionId']\"\r\n }\r\n },\r\n \"method\": \"get\",\r\n \"path\": \"/datasets/default/tables\"\r\n }\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {\r\n \"$connections\": {\r\n \"value\": {\r\n \"sql_1\": {\r\n \"connectionId\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/ilygre-rg/providers/Microsoft.Web/connections/sql-1\",\r\n \"connectionName\": \"sql-1\",\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/providers/Microsoft.Web/locations/brazilsouth/managedApis/sql\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/ilygre-rg/providers/Microsoft.Logic/workflows/la1\",\r\n \"name\": \"la1\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2016-07-19T21:19:05.8239656Z\",\r\n \"changedTime\": \"2016-07-19T21:19:05.8248241Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587326437397581625\",\r\n \"accessEndpoint\": \"https://prod-04.brazilus.logic.azure.com:443/workflows/249a51bb901c4edb8e5ea5b49b1e8bf7\",\r\n \"sku\": {\r\n \"name\": \"Free\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/ilygre-rg/providers/Microsoft.Web/serverfarms/ServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"ServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-04-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {},\r\n \"actions\": {},\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/ilygre-rg/providers/Microsoft.Logic/workflows/latest4\",\r\n \"name\": \"latest4\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2016-05-28T02:09:38.3274798Z\",\r\n \"changedTime\": \"2016-07-20T00:46:47.5491625Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587326312779643525\",\r\n \"accessEndpoint\": \"https://prod-01.brazilus.logic.azure.com:443/workflows/a6faf7e979584263bcc1ced08d19c5e6\",\r\n \"sku\": {\r\n \"name\": \"Free\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/johnwa_logicapp_dogfood/providers/Microsoft.Web/serverfarms/johnwaaspdogfood\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"johnwaaspdogfood\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-04-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"recurrence\": {\r\n \"recurrence\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 11\r\n },\r\n \"type\": \"Recurrence\"\r\n }\r\n },\r\n \"actions\": {\r\n \"Http\": {\r\n \"runAfter\": {},\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"GET\",\r\n \"uri\": \"http://www.google.com\"\r\n }\r\n },\r\n \"Http_2\": {\r\n \"runAfter\": {\r\n \"Http\": [\r\n \"Succeeded\"\r\n ]\r\n },\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"GET\",\r\n \"uri\": \"http://www.wwwwwwwwwwwwwwwwwwwwww.com\"\r\n }\r\n },\r\n \"Scope\": {\r\n \"actions\": {\r\n \"Http_3\": {\r\n \"runAfter\": {},\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"GET\",\r\n \"uri\": \"http://www.google.com\"\r\n }\r\n }\r\n },\r\n \"runAfter\": {\r\n \"Http_2\": [\r\n \"Succeeded\"\r\n ]\r\n },\r\n \"type\": \"Scope\"\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/johnwa_logicapp_dogfood/providers/Microsoft.Logic/workflows/johnwa-logicv3\",\r\n \"name\": \"johnwa-logicv3\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2016-04-14T02:06:28.0220277Z\",\r\n \"changedTime\": \"2016-07-18T18:56:56.058485Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587327386695380958\",\r\n \"accessEndpoint\": \"https://prod-06.brazilus.logic.azure.com:443/workflows/f1d234b34743451188c35f8c52a4f3e2\",\r\n \"sku\": {\r\n \"name\": \"Free\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/johnwa_logicapp_dogfood/providers/Microsoft.Web/serverfarms/johnwaaspdogfood\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"johnwaaspdogfood\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2015-08-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"$connections\": {\r\n \"defaultValue\": {},\r\n \"type\": \"Object\"\r\n }\r\n },\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Manual\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Http\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"GET\",\r\n \"uri\": \"http://www.googe.com\"\r\n },\r\n \"conditions\": [\r\n {\r\n \"dependsOn\": \"Post_a_new_tweet\"\r\n }\r\n ]\r\n },\r\n \"Post_a_new_tweet\": {\r\n \"type\": \"ApiConnection\",\r\n \"inputs\": {\r\n \"host\": {\r\n \"api\": {\r\n \"runtimeUrl\": \"https://logic-apis-df.azure-apim.net/apim/twitter\"\r\n },\r\n \"connection\": {\r\n \"name\": \"@parameters('$connections')['twitter_1']['connectionId']\"\r\n }\r\n },\r\n \"method\": \"post\",\r\n \"path\": \"/posttweet\",\r\n \"queries\": {\r\n \"tweetText\": \"@{triggerBody()}\"\r\n }\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {\r\n \"$connections\": {\r\n \"value\": {\r\n \"twitter_1\": {\r\n \"connectionId\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/johnwa_logicapp_dogfood/providers/Microsoft.Web/connections/twitter-2\",\r\n \"connectionName\": \"twitter-2\",\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/providers/Microsoft.Web/locations/brazilsouth/managedApis/twitter\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/johnwa_logicapp_dogfood/providers/Microsoft.Logic/workflows/johnwa-salesforce\",\r\n \"name\": \"johnwa-salesforce\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2016-04-07T21:10:52.3401113Z\",\r\n \"changedTime\": \"2016-07-15T18:27:30.277472Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587329996352736847\",\r\n \"accessEndpoint\": \"https://prod-07.brazilus.logic.azure.com:443/workflows/7e497c10e5704a0c850014daf7403c1b\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/johnwa_logicapp_dogfood/providers/Microsoft.Web/serverFarms/johnwaaspdogfood\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"johnwaaspdogfood\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2015-08-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Manual\",\r\n \"inputs\": {\r\n \"schema\": {\r\n \"properties\": {},\r\n \"required\": [],\r\n \"type\": \"object\"\r\n }\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Http\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"GET\",\r\n \"uri\": \"http://www.bing.com\"\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/johnwa_logicapp_dogfood/providers/Microsoft.Logic/workflows/logicapp-dogfood\",\r\n \"name\": \"logicapp-dogfood\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2016-07-19T23:39:02.8772232Z\",\r\n \"changedTime\": \"2016-07-19T23:39:02.8781985Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587326353426512766\",\r\n \"accessEndpoint\": \"https://prod-01.brazilus.logic.azure.com:443/workflows/739c583ebf8d4724b0e383e2562111db\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/sheldonaux/providers/Microsoft.Web/serverFarms/ServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"ServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-04-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {},\r\n \"actions\": {},\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/sheldonaux/providers/Microsoft.Logic/workflows/sheldonauxlogicapp\",\r\n \"name\": \"sheldonauxlogicapp\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2016-07-07T01:37:06.1964683Z\",\r\n \"changedTime\": \"2016-07-12T18:18:59.5038211Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587332593460017183\",\r\n \"accessEndpoint\": \"https://prod-05.brazilus.logic.azure.com:443/workflows/fbc8fc5d4c1b41399d9e631936c2b62e\",\r\n \"sku\": {\r\n \"name\": \"Free\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/johnwa_logicapp_dogfood/providers/Microsoft.Web/serverfarms/johnwaaspdogfood\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"johnwaaspdogfood\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-04-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"Recurrence\": {\r\n \"recurrence\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\r\n \"type\": \"Recurrence\"\r\n }\r\n },\r\n \"actions\": {\r\n \"Delay\": {\r\n \"runAfter\": {},\r\n \"type\": \"Wait\",\r\n \"inputs\": {\r\n \"interval\": {\r\n \"count\": 0,\r\n \"unit\": \"Minute\"\r\n }\r\n }\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/sw-onprem1/providers/Microsoft.Logic/workflows/sw-la-prodonprem\",\r\n \"name\": \"sw-la-prodonprem\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"brazilsouth\"\r\n },\r\n {\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2016-07-02T08:13:50.0500777Z\",\r\n \"changedTime\": \"2016-07-02T08:34:25.0436612Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587341584204925232\",\r\n \"accessEndpoint\": \"https://prod-06.brazilus.logic.azure.com:443/workflows/cd00a9f95b7b4966828ebc21d4aff2dc\",\r\n \"sku\": {\r\n \"name\": \"Free\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/johnwa_logicapp_dogfood/providers/Microsoft.Web/serverfarms/johnwaaspdogfood\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"johnwaaspdogfood\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2015-08-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"$connections\": {\r\n \"type\": \"Object\"\r\n }\r\n },\r\n \"triggers\": {\r\n \"recurrence\": {\r\n \"recurrence\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\r\n \"type\": \"Recurrence\"\r\n }\r\n },\r\n \"actions\": {\r\n \"Get_rows\": {\r\n \"type\": \"ApiConnection\",\r\n \"inputs\": {\r\n \"host\": {\r\n \"connection\": {\r\n \"name\": \"@parameters('$connections')['sql']['connectionId']\"\r\n }\r\n },\r\n \"method\": \"get\",\r\n \"path\": \"/datasets/default/tables/@{encodeURIComponent(encodeURIComponent(string('[Production].[Product]')))}/items\"\r\n },\r\n \"conditions\": []\r\n }\r\n }\r\n },\r\n \"parameters\": {\r\n \"$connections\": {\r\n \"value\": {\r\n \"sql\": {\r\n \"connectionId\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/sw-test-westus/providers/Microsoft.Web/connections/sw-msit-sqonprem1\",\r\n \"connectionName\": \"sw-msit-sqonprem1\",\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/providers/Microsoft.Web/locations/brazilsouth/managedApis/hybridsql\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/sw-test-westus/providers/Microsoft.Logic/workflows/sw-onprem-testsql2-brazils\",\r\n \"name\": \"sw-onprem-testsql2-brazils\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"brazil south\"\r\n },\r\n {\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2016-07-13T18:32:38.4632704Z\",\r\n \"changedTime\": \"2016-07-19T21:29:31.6204046Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587326431138986505\",\r\n \"accessEndpoint\": \"https://prod-02.brazilus.logic.azure.com:443/workflows/dd62112427184a3695d26d7bc33b0219\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/tonyrgTiP/providers/Microsoft.Web/serverFarms/ServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"ServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-04-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"$connections\": {\r\n \"defaultValue\": {},\r\n \"type\": \"Object\"\r\n }\r\n },\r\n \"triggers\": {\r\n \"Recurrence\": {\r\n \"recurrence\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\r\n \"type\": \"Recurrence\"\r\n }\r\n },\r\n \"actions\": {\r\n \"Get_tables\": {\r\n \"runAfter\": {},\r\n \"type\": \"ApiConnection\",\r\n \"inputs\": {\r\n \"host\": {\r\n \"api\": {\r\n \"runtimeUrl\": \"https://logic-apis-df.azure-apim.net/apim/db2\"\r\n },\r\n \"connection\": {\r\n \"name\": \"@parameters('$connections')['db2']['connectionId']\"\r\n }\r\n },\r\n \"method\": \"get\",\r\n \"path\": \"/datasets/default/tables\"\r\n }\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {\r\n \"$connections\": {\r\n \"value\": {\r\n \"db2\": {\r\n \"connectionId\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/tonyrgTiP/providers/Microsoft.Web/connections/db2\",\r\n \"connectionName\": \"db2\",\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/providers/Microsoft.Web/locations/brazilsouth/managedApis/db2\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/tonyrgTiP/providers/Microsoft.Logic/workflows/flow0\",\r\n \"name\": \"flow0\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"brazilsouth\"\r\n }\r\n ]\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "45211" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-original-request-ids": [ - "northcentralus:0b6750fb-418a-46a3-a05a-c7ae92edf7b0", - "centralus:7a482a5b-707b-4010-a476-5b51b2e425d2", - "westus:168b61df-5cfa-4d3e-94b9-a1f80855f52d", - "brazilsouth:438dc077-67d4-4611-8d08-efd94966ab13" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14994" - ], - "x-ms-request-id": [ - "8945e066-1deb-48ea-a255-84bcf815096c" - ], - "x-ms-correlation-request-id": [ - "8945e066-1deb-48ea-a255-84bcf815096c" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20160720T171956Z:8945e066-1deb-48ea-a255-84bcf815096c" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 20 Jul 2016 17:19:56 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf15?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTI1MGRkOTItYjU4MC00NmJlLWIzMjctZTY1OTZjOGRlMTk2L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9sb2dpY3dmMTU/YXBpLXZlcnNpb249MjAxNi0wNi0wMQ==", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "1b3b4645-fb79-4c8a-91a8-373ebe334ed2" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:c6f9676a-3173-4322-8fa2-acf95f41dd4a" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1192" - ], - "x-ms-correlation-request-id": [ - "24c0e48c-bb15-4051-a35f-35fceb673104" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20160720T171957Z:24c0e48c-bb15-4051-a35f-35fceb673104" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 20 Jul 2016 17:19:56 GMT" - ] - }, - "StatusCode": 200 - } - ], - "Names": { - "ListWorkflow": [ - "logicwf15", - "logicwf8364" - ] - }, - "Variables": { - "SubscriptionId": "5250dd92-b580-46be-b327-e6596c8de196" - } -} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowsScenarioTests/RegenerateAccessKey.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowsScenarioTests/RegenerateAccessKey.json deleted file mode 100644 index 0518d4b7e6785..0000000000000 --- a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowsScenarioTests/RegenerateAccessKey.json +++ /dev/null @@ -1,183 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf5954?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9sb2dpY3dmNTk1ND9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"definition\": {\r\n \"$schema\": \"http://json-schema.org/draft-04/schema/2016-06-01/workflowdefinition.json#\",\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"request\",\r\n \"kind\": \"http\"\r\n }\r\n },\r\n \"actions\": {\r\n \"response\": {\r\n \"type\": \"response\",\r\n \"inputs\": {\r\n \"statusCode\": \"200\",\r\n \"body\": {\r\n \"value\": \"test\"\r\n },\r\n \"headers\": {}\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"location\": \"westus\"\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "557" - ], - "x-ms-client-request-id": [ - "2fddc617-561f-4659-b06c-37154e2cc2b9" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/3.0.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2017-04-11T00:10:59.4173638Z\",\r\n \"changedTime\": \"2017-04-11T00:10:59.4173638Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587097374261117419\",\r\n \"accessEndpoint\": \"https://prod-35.westus.logic.azure.com:443/workflows/4d65f19bc7124b218d602d145a7373eb\",\r\n \"definition\": {\r\n \"$schema\": \"http://json-schema.org/draft-04/schema/2016-06-01/workflowdefinition.json#\",\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Request\",\r\n \"kind\": \"Http\"\r\n }\r\n },\r\n \"actions\": {\r\n \"response\": {\r\n \"type\": \"Response\",\r\n \"inputs\": {\r\n \"statusCode\": \"200\",\r\n \"body\": {\r\n \"value\": \"test\"\r\n },\r\n \"headers\": {}\r\n }\r\n }\r\n }\r\n },\r\n \"parameters\": {},\r\n \"endpointsConfiguration\": {\r\n \"workflow\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"52.160.92.112\"\r\n },\r\n {\r\n \"address\": \"40.118.244.241\"\r\n },\r\n {\r\n \"address\": \"40.118.241.243\"\r\n }\r\n ],\r\n \"accessEndpointIpAddresses\": [\r\n {\r\n \"address\": \"52.160.90.237\"\r\n },\r\n {\r\n \"address\": \"138.91.188.137\"\r\n },\r\n {\r\n \"address\": \"13.91.252.184\"\r\n }\r\n ]\r\n },\r\n \"connector\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"104.40.51.248\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf5954\",\r\n \"name\": \"logicwf5954\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "1113" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Tue, 11 Apr 2017 00:10:58 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:98b4a932-1fbb-40d2-b2c9-121a107eb0b7" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1196" - ], - "x-ms-correlation-request-id": [ - "3cc4d4e6-fd5a-4b27-9bdb-695bed728f9a" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170411T001059Z:3cc4d4e6-fd5a-4b27-9bdb-695bed728f9a" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf5954/regenerateAccessKey?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9sb2dpY3dmNTk1NC9yZWdlbmVyYXRlQWNjZXNzS2V5P2FwaS12ZXJzaW9uPTIwMTYtMDYtMDE=", - "RequestMethod": "POST", - "RequestBody": "{\r\n \"keyType\": \"Primary\"\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "28" - ], - "x-ms-client-request-id": [ - "41b1ab22-a31c-4c55-b4a0-ce18aae82470" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/3.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Tue, 11 Apr 2017 00:10:59 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:d003708f-2a19-4193-9511-40bad44def0f" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1195" - ], - "x-ms-correlation-request-id": [ - "880dce1b-8332-433a-95ff-6754ec0a0c15" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170411T001059Z:880dce1b-8332-433a-95ff-6754ec0a0c15" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf5954?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9sb2dpY3dmNTk1ND9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "7f8ca3dc-1369-4078-9de4-80580fd9cb17" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/3.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Tue, 11 Apr 2017 00:10:59 GMT" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:92eb0397-c28e-4890-a94b-953ec010369a" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1194" - ], - "x-ms-correlation-request-id": [ - "151a1fd2-6cfd-4784-93a7-9e1d7566cf1a" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170411T001100Z:151a1fd2-6cfd-4784-93a7-9e1d7566cf1a" - ] - }, - "StatusCode": 200 - } - ], - "Names": { - "RegenerateAccessKey": [ - "logicwf5954" - ] - }, - "Variables": { - "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" - } -} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowsScenarioTests/UpdateWorkflow.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowsScenarioTests/UpdateWorkflow.json deleted file mode 100644 index b24ad1db29d37..0000000000000 --- a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowsScenarioTests/UpdateWorkflow.json +++ /dev/null @@ -1,135 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf1024?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTI1MGRkOTItYjU4MC00NmJlLWIzMjctZTY1OTZjOGRlMTk2L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9sb2dpY3dmMTAyND9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourcegroups/flowrg/providers/microsoft.web/serverfarms/ServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"http://schema.management.azure.com/providers/Microsoft.Logic/schemas/2014-12-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"runworkflowmanually\": {\r\n \"defaultValue\": true,\r\n \"type\": \"Bool\"\r\n },\r\n \"subscription\": {\r\n \"defaultValue\": \"1a66ce04-b633-4a0b-b2bc-a912ec8986a6\",\r\n \"type\": \"String\"\r\n },\r\n \"resourceGroup\": {\r\n \"defaultValue\": \"logicapps-e2e\",\r\n \"type\": \"String\"\r\n },\r\n \"authentication\": {\r\n \"defaultValue\": {\r\n \"type\": \"ActiveDirectoryOAuth\",\r\n \"audience\": \"https://management.azure.com/\",\r\n \"tenant\": \"00000000-0000-0000-0000-000000000000\",\r\n \"clientId\": \"00000000-0000-0000-0000-000000000000\",\r\n \"secret\": \"Dummy\"\r\n },\r\n \"type\": \"Object\"\r\n }\r\n },\r\n \"triggers\": {},\r\n \"actions\": {\r\n \"listWorkflows\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"GET\",\r\n \"uri\": \"someUri\",\r\n \"authentication\": \"@parameters('authentication')\"\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n }\r\n },\r\n \"location\": \"westus\"\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "1551" - ], - "x-ms-client-request-id": [ - "9f528ddf-554a-4312-98aa-5fbc7cd2e376" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2016-07-20T17:19:37.8074052Z\",\r\n \"changedTime\": \"2016-07-20T17:19:37.8074052Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587325717077278514\",\r\n \"accessEndpoint\": \"https://prod-04.westus.logic.azure.com:443/workflows/ff06092e89354a21b593f8357908ed09\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourcegroups/flowrg/providers/microsoft.web/serverfarms/ServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"ServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"http://schema.management.azure.com/providers/Microsoft.Logic/schemas/2014-12-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"runworkflowmanually\": {\r\n \"defaultValue\": true,\r\n \"type\": \"Bool\"\r\n },\r\n \"subscription\": {\r\n \"defaultValue\": \"1a66ce04-b633-4a0b-b2bc-a912ec8986a6\",\r\n \"type\": \"String\"\r\n },\r\n \"resourceGroup\": {\r\n \"defaultValue\": \"logicapps-e2e\",\r\n \"type\": \"String\"\r\n },\r\n \"authentication\": {\r\n \"defaultValue\": {\r\n \"type\": \"ActiveDirectoryOAuth\",\r\n \"audience\": \"https://management.azure.com/\",\r\n \"tenant\": \"00000000-0000-0000-0000-000000000000\",\r\n \"clientId\": \"00000000-0000-0000-0000-000000000000\",\r\n \"secret\": \"Dummy\"\r\n },\r\n \"type\": \"Object\"\r\n }\r\n },\r\n \"triggers\": {},\r\n \"actions\": {\r\n \"listWorkflows\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"GET\",\r\n \"uri\": \"someUri\",\r\n \"authentication\": \"@parameters('authentication')\"\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf1024\",\r\n \"name\": \"logicwf1024\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "1545" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:0487144f-e2e3-4c93-9eff-4bc4f75e8df5" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1199" - ], - "x-ms-correlation-request-id": [ - "9f81bf0c-e9a8-4b6f-a4bd-62dce1125825" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20160720T171938Z:9f81bf0c-e9a8-4b6f-a4bd-62dce1125825" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 20 Jul 2016 17:19:37 GMT" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf1024?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTI1MGRkOTItYjU4MC00NmJlLWIzMjctZTY1OTZjOGRlMTk2L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9sb2dpY3dmMTAyND9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "PATCH", - "RequestBody": "{\r\n \"tags\": {\r\n \"abc\": \"def\"\r\n }\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "40" - ], - "x-ms-client-request-id": [ - "f7fb3adb-ca6d-49bf-9f2c-bc6221291407" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2016-07-20T17:19:38.4456191Z\",\r\n \"changedTime\": \"2016-07-20T17:19:38.4460311Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587325717070597516\",\r\n \"accessEndpoint\": \"https://prod-04.westus.logic.azure.com:443/workflows/ff06092e89354a21b593f8357908ed09\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourcegroups/flowrg/providers/microsoft.web/serverfarms/ServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"ServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"http://schema.management.azure.com/providers/Microsoft.Logic/schemas/2014-12-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"runworkflowmanually\": {\r\n \"defaultValue\": true,\r\n \"type\": \"Bool\"\r\n },\r\n \"subscription\": {\r\n \"defaultValue\": \"1a66ce04-b633-4a0b-b2bc-a912ec8986a6\",\r\n \"type\": \"String\"\r\n },\r\n \"resourceGroup\": {\r\n \"defaultValue\": \"logicapps-e2e\",\r\n \"type\": \"String\"\r\n },\r\n \"authentication\": {\r\n \"defaultValue\": {\r\n \"type\": \"ActiveDirectoryOAuth\",\r\n \"audience\": \"https://management.azure.com/\",\r\n \"tenant\": \"00000000-0000-0000-0000-000000000000\",\r\n \"clientId\": \"00000000-0000-0000-0000-000000000000\",\r\n \"secret\": \"Dummy\"\r\n },\r\n \"type\": \"Object\"\r\n }\r\n },\r\n \"triggers\": {},\r\n \"actions\": {\r\n \"listWorkflows\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"GET\",\r\n \"uri\": \"someUri\",\r\n \"authentication\": \"@parameters('authentication')\"\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf1024\",\r\n \"name\": \"logicwf1024\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"abc\": \"def\"\r\n }\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "1566" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "Vary": [ - "Accept-Encoding" - ], - "x-ms-request-id": [ - "westus:55fa08a4-92f8-4c74-87b9-7368e22d39d0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" - ], - "x-ms-correlation-request-id": [ - "79d09388-a157-4d35-9e2e-457141775545" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20160720T171938Z:79d09388-a157-4d35-9e2e-457141775545" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 20 Jul 2016 17:19:38 GMT" - ] - }, - "StatusCode": 200 - } - ], - "Names": { - "UpdateWorkflow": [ - "logicwf1024" - ] - }, - "Variables": { - "SubscriptionId": "5250dd92-b580-46be-b327-e6596c8de196" - } -} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowsScenarioTests/ValidateWorkflow.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowsScenarioTests/ValidateWorkflow.json deleted file mode 100644 index c7091c03ec2be..0000000000000 --- a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowsScenarioTests/ValidateWorkflow.json +++ /dev/null @@ -1,189 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf5425?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTI1MGRkOTItYjU4MC00NmJlLWIzMjctZTY1OTZjOGRlMTk2L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9sb2dpY3dmNTQyNT9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourcegroups/flowrg/providers/microsoft.web/serverfarms/ServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"http://schema.management.azure.com/providers/Microsoft.Logic/schemas/2014-12-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"httpTrigger\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"GET\",\r\n \"uri\": \"invalidUri\"\r\n },\r\n \"recurrence\": {\r\n \"frequency\": \"Minute\",\r\n \"interval\": 60\r\n }\r\n }\r\n },\r\n \"actions\": {},\r\n \"outputs\": {\r\n \"output1\": {\r\n \"type\": \"string\",\r\n \"value\": \"@trigger().outputs\"\r\n }\r\n }\r\n }\r\n },\r\n \"location\": \"westus\"\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "943" - ], - "x-ms-client-request-id": [ - "4eb71321-2926-4b76-a221-f9d39982abd7" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2016-07-20T17:19:49.8202996Z\",\r\n \"changedTime\": \"2016-07-20T17:19:49.8202996Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587325716957505762\",\r\n \"accessEndpoint\": \"https://prod-08.westus.logic.azure.com:443/workflows/49ddb0a78db445ce9d563604e7746358\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourcegroups/flowrg/providers/microsoft.web/serverfarms/ServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"ServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"http://schema.management.azure.com/providers/Microsoft.Logic/schemas/2014-12-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"httpTrigger\": {\r\n \"recurrence\": {\r\n \"frequency\": \"Minute\",\r\n \"interval\": 60\r\n },\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"GET\",\r\n \"uri\": \"invalidUri\"\r\n }\r\n }\r\n },\r\n \"actions\": {},\r\n \"outputs\": {\r\n \"output1\": {\r\n \"type\": \"String\",\r\n \"value\": \"@trigger().outputs\"\r\n }\r\n }\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/logicwf5425\",\r\n \"name\": \"logicwf5425\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "1138" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:a52a647f-bfa5-4955-92d3-fb08d22a5ed7" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1199" - ], - "x-ms-correlation-request-id": [ - "02215446-e6bc-4f41-9660-54d2d5338efd" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20160720T171950Z:02215446-e6bc-4f41-9660-54d2d5338efd" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 20 Jul 2016 17:19:50 GMT" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/locations/westus/workflows/logicwf5425/validate?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTI1MGRkOTItYjU4MC00NmJlLWIzMjctZTY1OTZjOGRlMTk2L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2xvY2F0aW9ucy93ZXN0dXMvd29ya2Zsb3dzL2xvZ2ljd2Y1NDI1L3ZhbGlkYXRlP2FwaS12ZXJzaW9uPTIwMTYtMDYtMDE=", - "RequestMethod": "POST", - "RequestBody": "{\r\n \"properties\": {\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourcegroups/flowrg/providers/microsoft.web/serverfarms/ServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"http://schema.management.azure.com/providers/Microsoft.Logic/schemas/2014-12-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"runworkflowmanually\": {\r\n \"defaultValue\": true,\r\n \"type\": \"Bool\"\r\n },\r\n \"subscription\": {\r\n \"defaultValue\": \"1a66ce04-b633-4a0b-b2bc-a912ec8986a6\",\r\n \"type\": \"String\"\r\n },\r\n \"resourceGroup\": {\r\n \"defaultValue\": \"logicapps-e2e\",\r\n \"type\": \"String\"\r\n },\r\n \"authentication\": {\r\n \"defaultValue\": {\r\n \"type\": \"ActiveDirectoryOAuth\",\r\n \"audience\": \"https://management.azure.com/\",\r\n \"tenant\": \"00000000-0000-0000-0000-000000000000\",\r\n \"clientId\": \"00000000-0000-0000-0000-000000000000\",\r\n \"secret\": \"Dummy\"\r\n },\r\n \"type\": \"Object\"\r\n }\r\n },\r\n \"triggers\": {},\r\n \"actions\": {\r\n \"listWorkflows\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"GET\",\r\n \"uri\": \"someUri\",\r\n \"authentication\": \"@parameters('authentication')\"\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n }\r\n },\r\n \"location\": \"westus\"\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "1551" - ], - "x-ms-client-request-id": [ - "51ad6ca4-5310-4d5d-b788-86829868def0" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:ec20a7af-451e-42f9-94d8-78c16c002603" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" - ], - "x-ms-correlation-request-id": [ - "a9735e9d-7fa2-4e73-a2da-474d55b04122" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20160720T171950Z:a9735e9d-7fa2-4e73-a2da-474d55b04122" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 20 Jul 2016 17:19:50 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourceGroups/flowrg/providers/Microsoft.Logic/locations/westus/workflows/logicwf5425/validate?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTI1MGRkOTItYjU4MC00NmJlLWIzMjctZTY1OTZjOGRlMTk2L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2xvY2F0aW9ucy93ZXN0dXMvd29ya2Zsb3dzL2xvZ2ljd2Y1NDI1L3ZhbGlkYXRlP2FwaS12ZXJzaW9uPTIwMTYtMDYtMDE=", - "RequestMethod": "POST", - "RequestBody": "{\r\n \"properties\": {\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/5250dd92-b580-46be-b327-e6596c8de196/resourcegroups/flowrg/providers/microsoft.web/serverfarms/ServicePlan\"\r\n }\r\n },\r\n \"definition\": \"invalid definition\"\r\n },\r\n \"location\": \"westus\"\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "307" - ], - "x-ms-client-request-id": [ - "348a6b92-e7c6-4df5-bf37-913209f25580" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0" - ] - }, - "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"InvalidRequestContent\",\r\n \"message\": \"The request content is not valid and could not be deserialized: 'Error converting value \\\"invalid definition\\\" to type 'Microsoft.Azure.Flow.Templates.Schema.FlowTemplate'. Path 'properties.definition', line 9, position 38.'.\"\r\n }\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "280" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "westus:de28f1c0-9449-45b7-93da-a04942aa1520" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1197" - ], - "x-ms-correlation-request-id": [ - "b2516772-4707-450a-95a9-f0bae7daf93a" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20160720T171950Z:b2516772-4707-450a-95a9-f0bae7daf93a" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 20 Jul 2016 17:19:50 GMT" - ] - }, - "StatusCode": 400 - } - ], - "Names": { - "ValidateWorkflow": [ - "logicwf5425" - ] - }, - "Variables": { - "SubscriptionId": "5250dd92-b580-46be-b327-e6596c8de196" - } -} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowsScenarioTests/Workflows_Create_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowsScenarioTests/Workflows_Create_OK.json new file mode 100644 index 0000000000000..96499a5961f57 --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowsScenarioTests/Workflows_Create_OK.json @@ -0,0 +1,247 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "d1ab3f65-59b8-41df-8a6f-3decf64a0af1" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:59 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-request-id": [ + "2a650011-0cec-458a-888a-d7713db2abe7" + ], + "x-ms-correlation-request-id": [ + "2a650011-0cec-458a-888a-d7713db2abe7" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224900Z:2a650011-0cec-458a-888a-d7713db2abe7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "38d885f2-05da-4198-84b9-46bf041f7e5e" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:59 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19999" + ], + "x-ms-request-id": [ + "dc2fea9f-4e59-4d2a-a9f6-fea94509007b" + ], + "x-ms-correlation-request-id": [ + "dc2fea9f-4e59-4d2a-a9f6-fea94509007b" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224900Z:dc2fea9f-4e59-4d2a-a9f6-fea94509007b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow6797?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzY3OTc/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Request\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Response\": {\r\n \"runAfter\": {},\r\n \"type\": \"Response\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"statusCode\": 200\r\n }\r\n }\r\n },\r\n \"outputs\": {}\r\n }\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "a8368eab-b2cb-43a6-b7e9-62e32f95b3d5" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "688" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:00 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:5c5f76d5-be99-478f-96c8-7b1a29ec2441" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "c9025fdc-0104-4034-9ba1-9bdf6fbd0079" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224901Z:c9025fdc-0104-4034-9ba1-9bdf6fbd0079" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "1383" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2018-09-19T22:49:01.3616225Z\",\r\n \"changedTime\": \"2018-09-19T22:49:01.3565673Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08586642095441722317\",\r\n \"accessEndpoint\": \"https://prod-57.westus.logic.azure.com:443/workflows/90b0e275dacd4ae1b58303a338aa732d\",\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Request\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Response\": {\r\n \"runAfter\": {},\r\n \"type\": \"Response\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"statusCode\": 200\r\n }\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {},\r\n \"endpointsConfiguration\": {\r\n \"workflow\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"52.160.92.112\"\r\n },\r\n {\r\n \"address\": \"40.118.244.241\"\r\n },\r\n {\r\n \"address\": \"40.118.241.243\"\r\n },\r\n {\r\n \"address\": \"157.56.162.53\"\r\n },\r\n {\r\n \"address\": \"157.56.167.147\"\r\n },\r\n {\r\n \"address\": \"104.42.49.145\"\r\n },\r\n {\r\n \"address\": \"40.83.164.80\"\r\n },\r\n {\r\n \"address\": \"104.42.38.32\"\r\n }\r\n ],\r\n \"accessEndpointIpAddresses\": [\r\n {\r\n \"address\": \"52.160.90.237\"\r\n },\r\n {\r\n \"address\": \"138.91.188.137\"\r\n },\r\n {\r\n \"address\": \"13.91.252.184\"\r\n },\r\n {\r\n \"address\": \"157.56.160.212 \"\r\n }\r\n ]\r\n },\r\n \"connector\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"104.40.51.248\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow6797\",\r\n \"name\": \"Workflow6797\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow6797?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzY3OTc/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "00febdc5-2b64-4de6-ac07-ff3c190d13c6" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:49:01 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:96a245d5-42a5-47ca-b2c6-e7f38445ef28" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "86bb410d-c7d6-4860-80a7-5a8b213f983a" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224902Z:86bb410d-c7d6-4860-80a7-5a8b213f983a" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "Workflows_Create_OK": [ + "Workflow6797" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowsScenarioTests/Workflows_Delete_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowsScenarioTests/Workflows_Delete_OK.json new file mode 100644 index 0000000000000..a2486817a020b --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowsScenarioTests/Workflows_Delete_OK.json @@ -0,0 +1,357 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "12069a6b-6f6d-410f-9973-2f07f9d551e6" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:38 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "x-ms-request-id": [ + "6505c164-5fac-4473-811a-7150a1a3d87d" + ], + "x-ms-correlation-request-id": [ + "6505c164-5fac-4473-811a-7150a1a3d87d" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224838Z:6505c164-5fac-4473-811a-7150a1a3d87d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "8a330b19-a1af-460f-96c4-e5891e3d40d7" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:38 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19994" + ], + "x-ms-request-id": [ + "e8503f2d-aa0d-4795-a767-25dd6c074fdc" + ], + "x-ms-correlation-request-id": [ + "e8503f2d-aa0d-4795-a767-25dd6c074fdc" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224838Z:e8503f2d-aa0d-4795-a767-25dd6c074fdc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow8972?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzg5NzI/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Request\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Response\": {\r\n \"runAfter\": {},\r\n \"type\": \"Response\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"statusCode\": 200\r\n }\r\n }\r\n },\r\n \"outputs\": {}\r\n }\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "30801bc7-270f-4f86-8e1c-388580c5c01c" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "688" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:38 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:a8ece7e1-6296-446e-8c17-2ac45a95f8f2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "7f40f351-7c38-4fef-92b9-12e929f95d90" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224839Z:7f40f351-7c38-4fef-92b9-12e929f95d90" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "1383" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2018-09-19T22:48:38.8078919Z\",\r\n \"changedTime\": \"2018-09-19T22:48:38.8027815Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08586642095667350702\",\r\n \"accessEndpoint\": \"https://prod-92.westus.logic.azure.com:443/workflows/50ec82240ce443f782c7b41bf377e8f8\",\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Request\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Response\": {\r\n \"runAfter\": {},\r\n \"type\": \"Response\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"statusCode\": 200\r\n }\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {},\r\n \"endpointsConfiguration\": {\r\n \"workflow\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"52.160.92.112\"\r\n },\r\n {\r\n \"address\": \"40.118.244.241\"\r\n },\r\n {\r\n \"address\": \"40.118.241.243\"\r\n },\r\n {\r\n \"address\": \"157.56.162.53\"\r\n },\r\n {\r\n \"address\": \"157.56.167.147\"\r\n },\r\n {\r\n \"address\": \"104.42.49.145\"\r\n },\r\n {\r\n \"address\": \"40.83.164.80\"\r\n },\r\n {\r\n \"address\": \"104.42.38.32\"\r\n }\r\n ],\r\n \"accessEndpointIpAddresses\": [\r\n {\r\n \"address\": \"52.160.90.237\"\r\n },\r\n {\r\n \"address\": \"138.91.188.137\"\r\n },\r\n {\r\n \"address\": \"13.91.252.184\"\r\n },\r\n {\r\n \"address\": \"157.56.160.212 \"\r\n }\r\n ]\r\n },\r\n \"connector\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"104.40.51.248\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow8972\",\r\n \"name\": \"Workflow8972\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow8972?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzg5NzI/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0609c829-b718-4ecf-815e-ce17c4498804" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:39 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:59a99cd8-def8-489b-aaba-769955546d47" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14997" + ], + "x-ms-correlation-request-id": [ + "75cb2e1a-d8cf-4176-a3a4-a55b3a654d97" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224839Z:75cb2e1a-d8cf-4176-a3a4-a55b3a654d97" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow8972?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzg5NzI/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "7dfd148a-ec61-44f8-82a8-b59f357e0914" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:39 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14996" + ], + "x-ms-request-id": [ + "b14416b3-8fed-4d35-92b9-73445915585e" + ], + "x-ms-correlation-request-id": [ + "b14416b3-8fed-4d35-92b9-73445915585e" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224839Z:b14416b3-8fed-4d35-92b9-73445915585e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 204 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow8972?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzg5NzI/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "ca474ef8-4194-4d0e-90c8-261897869288" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:39 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "18d630df-672f-4751-8dcb-0eb634803941" + ], + "x-ms-correlation-request-id": [ + "18d630df-672f-4751-8dcb-0eb634803941" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224839Z:18d630df-672f-4751-8dcb-0eb634803941" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "148" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Logic/workflows/Workflow8972' under resource group 'flowrg' was not found.\"\r\n }\r\n}", + "StatusCode": 404 + } + ], + "Names": { + "Workflows_Delete_OK": [ + "Workflow8972" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowsScenarioTests/Workflows_Disable_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowsScenarioTests/Workflows_Disable_OK.json new file mode 100644 index 0000000000000..b5c8cece2464a --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowsScenarioTests/Workflows_Disable_OK.json @@ -0,0 +1,363 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "2d2c530a-8325-45e8-a98d-1e9930456eb7" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:33 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-request-id": [ + "fed4dfe2-592b-46bc-974f-6c07eeb150d8" + ], + "x-ms-correlation-request-id": [ + "fed4dfe2-592b-46bc-974f-6c07eeb150d8" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224834Z:fed4dfe2-592b-46bc-974f-6c07eeb150d8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "7918bdf6-0780-47a9-90eb-a0376e840249" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:33 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19996" + ], + "x-ms-request-id": [ + "05bac979-63bd-4fe4-8e0e-efb650461606" + ], + "x-ms-correlation-request-id": [ + "05bac979-63bd-4fe4-8e0e-efb650461606" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224834Z:05bac979-63bd-4fe4-8e0e-efb650461606" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow435?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzQzNT9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Request\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Response\": {\r\n \"runAfter\": {},\r\n \"type\": \"Response\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"statusCode\": 200\r\n }\r\n }\r\n },\r\n \"outputs\": {}\r\n }\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "407f580f-6d45-4a8a-830f-628fd511b28b" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "688" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:34 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:02e12e3d-6144-40dd-8905-1d78b3c416fe" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-correlation-request-id": [ + "20d786a3-4d82-43f5-b82e-902fc8a9affe" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224835Z:20d786a3-4d82-43f5-b82e-902fc8a9affe" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "1380" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2018-09-19T22:48:34.9607899Z\",\r\n \"changedTime\": \"2018-09-19T22:48:34.949091Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08586642095705491919\",\r\n \"accessEndpoint\": \"https://prod-09.westus.logic.azure.com:443/workflows/06c003ea39e547c28e98775c951fecfa\",\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Request\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Response\": {\r\n \"runAfter\": {},\r\n \"type\": \"Response\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"statusCode\": 200\r\n }\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {},\r\n \"endpointsConfiguration\": {\r\n \"workflow\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"52.160.92.112\"\r\n },\r\n {\r\n \"address\": \"40.118.244.241\"\r\n },\r\n {\r\n \"address\": \"40.118.241.243\"\r\n },\r\n {\r\n \"address\": \"157.56.162.53\"\r\n },\r\n {\r\n \"address\": \"157.56.167.147\"\r\n },\r\n {\r\n \"address\": \"104.42.49.145\"\r\n },\r\n {\r\n \"address\": \"40.83.164.80\"\r\n },\r\n {\r\n \"address\": \"104.42.38.32\"\r\n }\r\n ],\r\n \"accessEndpointIpAddresses\": [\r\n {\r\n \"address\": \"52.160.90.237\"\r\n },\r\n {\r\n \"address\": \"138.91.188.137\"\r\n },\r\n {\r\n \"address\": \"13.91.252.184\"\r\n },\r\n {\r\n \"address\": \"157.56.160.212 \"\r\n }\r\n ]\r\n },\r\n \"connector\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"104.40.51.248\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow435\",\r\n \"name\": \"Workflow435\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow435/disable?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzQzNS9kaXNhYmxlP2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "b8b3f704-938e-4d21-ad09-aeaf1345349f" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:34 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:959692e7-e293-4776-90ea-253234fa6e5a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], + "x-ms-correlation-request-id": [ + "ffd564e9-2b00-474d-b5b8-b62e1dce1445" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224835Z:ffd564e9-2b00-474d-b5b8-b62e1dce1445" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow435?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzQzNT9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "e04f2893-766b-45c4-a115-5ed00d9d935f" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:34 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:51cdf09a-4f8f-49bf-87cd-ed4110d32865" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19995" + ], + "x-ms-correlation-request-id": [ + "3b44968a-de6f-41f1-bc41-9ae202d402dc" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224835Z:3b44968a-de6f-41f1-bc41-9ae202d402dc" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "1382" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2018-09-19T22:48:34.9607899Z\",\r\n \"changedTime\": \"2018-09-19T22:48:35.3553603Z\",\r\n \"state\": \"Disabled\",\r\n \"version\": \"08586642095701284577\",\r\n \"accessEndpoint\": \"https://prod-09.westus.logic.azure.com:443/workflows/06c003ea39e547c28e98775c951fecfa\",\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Request\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Response\": {\r\n \"runAfter\": {},\r\n \"type\": \"Response\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"statusCode\": 200\r\n }\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {},\r\n \"endpointsConfiguration\": {\r\n \"workflow\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"52.160.92.112\"\r\n },\r\n {\r\n \"address\": \"40.118.244.241\"\r\n },\r\n {\r\n \"address\": \"40.118.241.243\"\r\n },\r\n {\r\n \"address\": \"157.56.162.53\"\r\n },\r\n {\r\n \"address\": \"157.56.167.147\"\r\n },\r\n {\r\n \"address\": \"104.42.49.145\"\r\n },\r\n {\r\n \"address\": \"40.83.164.80\"\r\n },\r\n {\r\n \"address\": \"104.42.38.32\"\r\n }\r\n ],\r\n \"accessEndpointIpAddresses\": [\r\n {\r\n \"address\": \"52.160.90.237\"\r\n },\r\n {\r\n \"address\": \"138.91.188.137\"\r\n },\r\n {\r\n \"address\": \"13.91.252.184\"\r\n },\r\n {\r\n \"address\": \"157.56.160.212 \"\r\n }\r\n ]\r\n },\r\n \"connector\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"104.40.51.248\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow435\",\r\n \"name\": \"Workflow435\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow435?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzQzNT9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "a703e448-5ab8-4de3-b879-05440f405887" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:35 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:01cc2ee9-1687-4513-8bf5-ba887c9e3637" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14997" + ], + "x-ms-correlation-request-id": [ + "fb850510-ddad-46eb-b440-cebb1afbd18b" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224836Z:fb850510-ddad-46eb-b440-cebb1afbd18b" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "Workflows_Disable_OK": [ + "Workflow435" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowsScenarioTests/Workflows_Enable_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowsScenarioTests/Workflows_Enable_OK.json new file mode 100644 index 0000000000000..b10ca8ba5aa1f --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowsScenarioTests/Workflows_Enable_OK.json @@ -0,0 +1,363 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "6b09ec6c-1795-4f41-ab6b-a0fb2d7211be" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:23 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-request-id": [ + "ad0f3f04-0928-464e-8c9a-40f6ebff41e0" + ], + "x-ms-correlation-request-id": [ + "ad0f3f04-0928-464e-8c9a-40f6ebff41e0" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224823Z:ad0f3f04-0928-464e-8c9a-40f6ebff41e0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "090e4aeb-42cf-4c36-b493-30d969b6a18a" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:23 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19999" + ], + "x-ms-request-id": [ + "993922b5-a06f-418f-8742-be0f22a79c78" + ], + "x-ms-correlation-request-id": [ + "993922b5-a06f-418f-8742-be0f22a79c78" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224823Z:993922b5-a06f-418f-8742-be0f22a79c78" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow3087?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzMwODc/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Request\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Response\": {\r\n \"runAfter\": {},\r\n \"type\": \"Response\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"statusCode\": 200\r\n }\r\n }\r\n },\r\n \"outputs\": {}\r\n }\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0bbbd138-fe3a-4202-bae0-19aff6ff6e4d" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "688" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:24 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:3222fb37-1274-4c57-8bba-79562ec5f50c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "ec69df2c-54cb-4778-a272-d1cf8dade91c" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224824Z:ec69df2c-54cb-4778-a272-d1cf8dade91c" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "1383" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2018-09-19T22:48:24.3642759Z\",\r\n \"changedTime\": \"2018-09-19T22:48:24.3494635Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08586642095811349599\",\r\n \"accessEndpoint\": \"https://prod-08.westus.logic.azure.com:443/workflows/2f762dd62f2e406d933818af8f512b16\",\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Request\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Response\": {\r\n \"runAfter\": {},\r\n \"type\": \"Response\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"statusCode\": 200\r\n }\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {},\r\n \"endpointsConfiguration\": {\r\n \"workflow\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"52.160.92.112\"\r\n },\r\n {\r\n \"address\": \"40.118.244.241\"\r\n },\r\n {\r\n \"address\": \"40.118.241.243\"\r\n },\r\n {\r\n \"address\": \"157.56.162.53\"\r\n },\r\n {\r\n \"address\": \"157.56.167.147\"\r\n },\r\n {\r\n \"address\": \"104.42.49.145\"\r\n },\r\n {\r\n \"address\": \"40.83.164.80\"\r\n },\r\n {\r\n \"address\": \"104.42.38.32\"\r\n }\r\n ],\r\n \"accessEndpointIpAddresses\": [\r\n {\r\n \"address\": \"52.160.90.237\"\r\n },\r\n {\r\n \"address\": \"138.91.188.137\"\r\n },\r\n {\r\n \"address\": \"13.91.252.184\"\r\n },\r\n {\r\n \"address\": \"157.56.160.212 \"\r\n }\r\n ]\r\n },\r\n \"connector\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"104.40.51.248\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow3087\",\r\n \"name\": \"Workflow3087\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow3087/enable?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzMwODcvZW5hYmxlP2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "1af5c4f6-0b3e-4669-bf9c-296580bebad3" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:24 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:f19da45a-49f7-4d8b-96c3-db9845e080c0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "e7f8c8de-d113-44c2-8301-b7d37e5d425b" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224824Z:e7f8c8de-d113-44c2-8301-b7d37e5d425b" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow3087?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzMwODc/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "7abe09e1-2e30-4311-8d77-e77ad0e07879" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:24 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:f5592663-f7ce-4b90-a598-37c01ddba75b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19998" + ], + "x-ms-correlation-request-id": [ + "b207340d-9ec8-4c45-ae20-3abdd6fe8ed1" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224824Z:b207340d-9ec8-4c45-ae20-3abdd6fe8ed1" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "1383" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2018-09-19T22:48:24.3642759Z\",\r\n \"changedTime\": \"2018-09-19T22:48:24.6464939Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08586642095808419061\",\r\n \"accessEndpoint\": \"https://prod-08.westus.logic.azure.com:443/workflows/2f762dd62f2e406d933818af8f512b16\",\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Request\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Response\": {\r\n \"runAfter\": {},\r\n \"type\": \"Response\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"statusCode\": 200\r\n }\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {},\r\n \"endpointsConfiguration\": {\r\n \"workflow\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"52.160.92.112\"\r\n },\r\n {\r\n \"address\": \"40.118.244.241\"\r\n },\r\n {\r\n \"address\": \"40.118.241.243\"\r\n },\r\n {\r\n \"address\": \"157.56.162.53\"\r\n },\r\n {\r\n \"address\": \"157.56.167.147\"\r\n },\r\n {\r\n \"address\": \"104.42.49.145\"\r\n },\r\n {\r\n \"address\": \"40.83.164.80\"\r\n },\r\n {\r\n \"address\": \"104.42.38.32\"\r\n }\r\n ],\r\n \"accessEndpointIpAddresses\": [\r\n {\r\n \"address\": \"52.160.90.237\"\r\n },\r\n {\r\n \"address\": \"138.91.188.137\"\r\n },\r\n {\r\n \"address\": \"13.91.252.184\"\r\n },\r\n {\r\n \"address\": \"157.56.160.212 \"\r\n }\r\n ]\r\n },\r\n \"connector\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"104.40.51.248\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow3087\",\r\n \"name\": \"Workflow3087\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow3087?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzMwODc/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "846b60ab-2d10-4e57-bf36-ac8adb6aedbf" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:24 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:77814e8c-0b9d-4322-ad8d-ff3cd85c71c3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "c256fb27-64af-4b74-96b5-da7c05f392df" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224825Z:c256fb27-64af-4b74-96b5-da7c05f392df" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "Workflows_Enable_OK": [ + "Workflow3087" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowsScenarioTests/Workflows_GenerateUpgradedDefinition_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowsScenarioTests/Workflows_GenerateUpgradedDefinition_OK.json new file mode 100644 index 0000000000000..7c206bff484a9 --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowsScenarioTests/Workflows_GenerateUpgradedDefinition_OK.json @@ -0,0 +1,314 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "98abeae1-e4ee-43bf-b52f-980d4f183e5c" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:45 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-request-id": [ + "103ac649-f32a-4a60-afa9-a78472a533fd" + ], + "x-ms-correlation-request-id": [ + "103ac649-f32a-4a60-afa9-a78472a533fd" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224846Z:103ac649-f32a-4a60-afa9-a78472a533fd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "13090e0a-3051-481f-9383-1da8b8b40be6" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:45 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19998" + ], + "x-ms-request-id": [ + "6b80a6dd-e6ee-45e0-a9f3-c0829e47f3e1" + ], + "x-ms-correlation-request-id": [ + "6b80a6dd-e6ee-45e0-a9f3-c0829e47f3e1" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224846Z:6b80a6dd-e6ee-45e0-a9f3-c0829e47f3e1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow748?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzc0OD9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2015-08-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {},\r\n \"actions\": {},\r\n \"outputs\": {}\r\n }\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "6eaebfca-161a-476a-89f2-2350972e5ab8" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "343" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:46 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:780ea145-391b-4720-8354-ef3ddc9c3b20" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "5e4f536d-c9a2-48ca-a9b3-a8395aef395d" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224847Z:5e4f536d-c9a2-48ca-a9b3-a8395aef395d" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "1239" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2018-09-19T22:48:46.8861295Z\",\r\n \"changedTime\": \"2018-09-19T22:48:46.8854801Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08586642095586254082\",\r\n \"accessEndpoint\": \"https://prod-16.westus.logic.azure.com:443/workflows/bc4faddd596a4187af228c78ebceaf55\",\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2015-08-01-preview/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {},\r\n \"actions\": {},\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {},\r\n \"endpointsConfiguration\": {\r\n \"workflow\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"52.160.92.112\"\r\n },\r\n {\r\n \"address\": \"40.118.244.241\"\r\n },\r\n {\r\n \"address\": \"40.118.241.243\"\r\n },\r\n {\r\n \"address\": \"157.56.162.53\"\r\n },\r\n {\r\n \"address\": \"157.56.167.147\"\r\n },\r\n {\r\n \"address\": \"104.42.49.145\"\r\n },\r\n {\r\n \"address\": \"40.83.164.80\"\r\n },\r\n {\r\n \"address\": \"104.42.38.32\"\r\n }\r\n ],\r\n \"accessEndpointIpAddresses\": [\r\n {\r\n \"address\": \"52.160.90.237\"\r\n },\r\n {\r\n \"address\": \"138.91.188.137\"\r\n },\r\n {\r\n \"address\": \"13.91.252.184\"\r\n },\r\n {\r\n \"address\": \"157.56.160.212 \"\r\n }\r\n ]\r\n },\r\n \"connector\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"104.40.51.248\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow748\",\r\n \"name\": \"Workflow748\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow748/generateUpgradedDefinition?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzc0OC9nZW5lcmF0ZVVwZ3JhZGVkRGVmaW5pdGlvbj9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"targetSchemaVersion\": \"2016-06-01\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "9a8dc6be-dfe7-4b9a-87c0-c9b0edf394fd" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "43" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:46 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:22e12de0-5af5-43e9-b6a7-8159cfbda20a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "69bdb491-1772-4599-92b9-dd740c52dc28" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224847Z:69bdb491-1772-4599-92b9-dd740c52dc28" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "202" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {},\r\n \"actions\": {},\r\n \"outputs\": {}\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow748?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzc0OD9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "d428847e-e629-4984-87b5-68b3b3a4e9fb" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:47 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:e291d492-96a8-464e-83b4-1eeaf6f68bfb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "7b6b0d01-b79f-4f3f-a3c8-87d96fca0308" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224847Z:7b6b0d01-b79f-4f3f-a3c8-87d96fca0308" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "Workflows_GenerateUpgradedDefinition_OK": [ + "Workflow748" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowsScenarioTests/Workflows_Get_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowsScenarioTests/Workflows_Get_OK.json new file mode 100644 index 0000000000000..1c9a8e2951b74 --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowsScenarioTests/Workflows_Get_OK.json @@ -0,0 +1,308 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "10141c2f-d4be-48dc-9c11-011739170cc3" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:29 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-request-id": [ + "ecfe6208-af85-4f2a-839d-a1f5b89e84e5" + ], + "x-ms-correlation-request-id": [ + "ecfe6208-af85-4f2a-839d-a1f5b89e84e5" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224830Z:ecfe6208-af85-4f2a-839d-a1f5b89e84e5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "989cdfb3-79c9-4338-996f-66e765aa634f" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:29 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19999" + ], + "x-ms-request-id": [ + "cad0ca17-31b2-4e5e-bfd8-83aebd5a684c" + ], + "x-ms-correlation-request-id": [ + "cad0ca17-31b2-4e5e-bfd8-83aebd5a684c" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224830Z:cad0ca17-31b2-4e5e-bfd8-83aebd5a684c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow2191?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzIxOTE/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Request\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Response\": {\r\n \"runAfter\": {},\r\n \"type\": \"Response\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"statusCode\": 200\r\n }\r\n }\r\n },\r\n \"outputs\": {}\r\n }\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "07ab0eb9-adaf-45bb-aac0-d68928f6c631" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "688" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:30 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:b08998e0-5ffc-48b6-bebc-9302a5f72aec" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "d8241d33-1c01-42a9-a596-37e2e60aad20" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224831Z:d8241d33-1c01-42a9-a596-37e2e60aad20" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "1382" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2018-09-19T22:48:31.375459Z\",\r\n \"changedTime\": \"2018-09-19T22:48:31.3671832Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08586642095741809935\",\r\n \"accessEndpoint\": \"https://prod-89.westus.logic.azure.com:443/workflows/c540777c2a4a477ebd370ff0b9d9c5c0\",\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Request\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Response\": {\r\n \"runAfter\": {},\r\n \"type\": \"Response\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"statusCode\": 200\r\n }\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {},\r\n \"endpointsConfiguration\": {\r\n \"workflow\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"52.160.92.112\"\r\n },\r\n {\r\n \"address\": \"40.118.244.241\"\r\n },\r\n {\r\n \"address\": \"40.118.241.243\"\r\n },\r\n {\r\n \"address\": \"157.56.162.53\"\r\n },\r\n {\r\n \"address\": \"157.56.167.147\"\r\n },\r\n {\r\n \"address\": \"104.42.49.145\"\r\n },\r\n {\r\n \"address\": \"40.83.164.80\"\r\n },\r\n {\r\n \"address\": \"104.42.38.32\"\r\n }\r\n ],\r\n \"accessEndpointIpAddresses\": [\r\n {\r\n \"address\": \"52.160.90.237\"\r\n },\r\n {\r\n \"address\": \"138.91.188.137\"\r\n },\r\n {\r\n \"address\": \"13.91.252.184\"\r\n },\r\n {\r\n \"address\": \"157.56.160.212 \"\r\n }\r\n ]\r\n },\r\n \"connector\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"104.40.51.248\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow2191\",\r\n \"name\": \"Workflow2191\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow2191?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzIxOTE/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "ee21dbf5-6a1b-4bbd-8675-6dce8f5a8544" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:30 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:0224d5e5-5a70-4f37-aaca-c1d5d4291738" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19998" + ], + "x-ms-correlation-request-id": [ + "73852078-4f79-4244-9204-8bbe017ac789" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224831Z:73852078-4f79-4244-9204-8bbe017ac789" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "1382" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2018-09-19T22:48:31.375459Z\",\r\n \"changedTime\": \"2018-09-19T22:48:31.3671832Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08586642095741809935\",\r\n \"accessEndpoint\": \"https://prod-89.westus.logic.azure.com:443/workflows/c540777c2a4a477ebd370ff0b9d9c5c0\",\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Request\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Response\": {\r\n \"runAfter\": {},\r\n \"type\": \"Response\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"statusCode\": 200\r\n }\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {},\r\n \"endpointsConfiguration\": {\r\n \"workflow\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"52.160.92.112\"\r\n },\r\n {\r\n \"address\": \"40.118.244.241\"\r\n },\r\n {\r\n \"address\": \"40.118.241.243\"\r\n },\r\n {\r\n \"address\": \"157.56.162.53\"\r\n },\r\n {\r\n \"address\": \"157.56.167.147\"\r\n },\r\n {\r\n \"address\": \"104.42.49.145\"\r\n },\r\n {\r\n \"address\": \"40.83.164.80\"\r\n },\r\n {\r\n \"address\": \"104.42.38.32\"\r\n }\r\n ],\r\n \"accessEndpointIpAddresses\": [\r\n {\r\n \"address\": \"52.160.90.237\"\r\n },\r\n {\r\n \"address\": \"138.91.188.137\"\r\n },\r\n {\r\n \"address\": \"13.91.252.184\"\r\n },\r\n {\r\n \"address\": \"157.56.160.212 \"\r\n }\r\n ]\r\n },\r\n \"connector\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"104.40.51.248\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow2191\",\r\n \"name\": \"Workflow2191\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow2191?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzIxOTE/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "d5234070-d164-4081-b68f-464bb19e26be" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:31 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:95760fde-8e08-4191-82d6-5ed3eff5271b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "a916274e-05b9-45c3-8cf0-ff5704fdbea9" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224832Z:a916274e-05b9-45c3-8cf0-ff5704fdbea9" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "Workflows_Get_OK": [ + "Workflow2191" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowsScenarioTests/Workflows_ListSwagger_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowsScenarioTests/Workflows_ListSwagger_OK.json new file mode 100644 index 0000000000000..4c303e049ad09 --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowsScenarioTests/Workflows_ListSwagger_OK.json @@ -0,0 +1,308 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "34d48a0f-c117-46e2-9280-19b8f2e1193f" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:26 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-request-id": [ + "72ae670b-1f92-47da-b2cc-714cc21d9d27" + ], + "x-ms-correlation-request-id": [ + "72ae670b-1f92-47da-b2cc-714cc21d9d27" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224827Z:72ae670b-1f92-47da-b2cc-714cc21d9d27" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "3e1ef298-9876-4fd7-a0fc-d9bac2ad61d5" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:26 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19998" + ], + "x-ms-request-id": [ + "48d32c2c-60df-4cf3-8172-a054f4c66d81" + ], + "x-ms-correlation-request-id": [ + "48d32c2c-60df-4cf3-8172-a054f4c66d81" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224827Z:48d32c2c-60df-4cf3-8172-a054f4c66d81" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow6881?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzY4ODE/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Request\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Response\": {\r\n \"runAfter\": {},\r\n \"type\": \"Response\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"statusCode\": 200\r\n }\r\n }\r\n },\r\n \"outputs\": {}\r\n }\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "dd2f7b64-86c3-4aff-84af-27bdbc126486" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "688" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:27 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:436826e7-200f-4e5c-9c99-74680577f354" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "8195102c-dcb9-46d3-906b-ac913452e81f" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224827Z:8195102c-dcb9-46d3-906b-ac913452e81f" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "1383" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2018-09-19T22:48:27.6621842Z\",\r\n \"changedTime\": \"2018-09-19T22:48:27.6518907Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08586642095778778048\",\r\n \"accessEndpoint\": \"https://prod-72.westus.logic.azure.com:443/workflows/d197c4f946d149aaa1c37565d29384e1\",\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Request\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Response\": {\r\n \"runAfter\": {},\r\n \"type\": \"Response\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"statusCode\": 200\r\n }\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {},\r\n \"endpointsConfiguration\": {\r\n \"workflow\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"52.160.92.112\"\r\n },\r\n {\r\n \"address\": \"40.118.244.241\"\r\n },\r\n {\r\n \"address\": \"40.118.241.243\"\r\n },\r\n {\r\n \"address\": \"157.56.162.53\"\r\n },\r\n {\r\n \"address\": \"157.56.167.147\"\r\n },\r\n {\r\n \"address\": \"104.42.49.145\"\r\n },\r\n {\r\n \"address\": \"40.83.164.80\"\r\n },\r\n {\r\n \"address\": \"104.42.38.32\"\r\n }\r\n ],\r\n \"accessEndpointIpAddresses\": [\r\n {\r\n \"address\": \"52.160.90.237\"\r\n },\r\n {\r\n \"address\": \"138.91.188.137\"\r\n },\r\n {\r\n \"address\": \"13.91.252.184\"\r\n },\r\n {\r\n \"address\": \"157.56.160.212 \"\r\n }\r\n ]\r\n },\r\n \"connector\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"104.40.51.248\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow6881\",\r\n \"name\": \"Workflow6881\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow6881/listSwagger?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzY4ODEvbGlzdFN3YWdnZXI/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "c3f085ce-ffdc-4e63-a394-4ba204520b2c" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:27 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:99928c77-b63e-4867-8713-2f9e296c4241" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-correlation-request-id": [ + "e7525ee9-43aa-40f0-9b1b-f323144d45f5" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224827Z:e7525ee9-43aa-40f0-9b1b-f323144d45f5" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "1270" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"swagger\": \"2.0\",\r\n \"info\": {\r\n \"version\": \"1.0.0.0\",\r\n \"title\": \"Workflow6881\",\r\n \"description\": \"Azure Logic App.\"\r\n },\r\n \"host\": \"prod-72.westus.logic.azure.com\",\r\n \"basePath\": \"/workflows/d197c4f946d149aaa1c37565d29384e1/triggers\",\r\n \"schemes\": [\r\n \"https\"\r\n ],\r\n \"consumes\": [\r\n \"application/json\"\r\n ],\r\n \"produces\": [\r\n \"application/json\"\r\n ],\r\n \"paths\": {\r\n \"/manual/paths/invoke\": {\r\n \"post\": {\r\n \"description\": \"Trigger a run of the logic app.\",\r\n \"operationId\": \"manual-invoke\",\r\n \"parameters\": [\r\n {\r\n \"name\": \"api-version\",\r\n \"in\": \"query\",\r\n \"description\": \"The service API version.\",\r\n \"required\": true,\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"sp\",\r\n \"in\": \"query\",\r\n \"description\": \"The permissions; generally 'read' or 'write'.\",\r\n \"required\": true,\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"sv\",\r\n \"in\": \"query\",\r\n \"description\": \"The version number of the query parameters.\",\r\n \"required\": true,\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"sig\",\r\n \"in\": \"query\",\r\n \"description\": \"The SHA 256 hash of the entire request URI with an internal key.\",\r\n \"required\": true,\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"body\",\r\n \"in\": \"body\",\r\n \"description\": \"The request body.\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/request-manual\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"default\": {\r\n \"description\": \"The Logic App Response.\",\r\n \"schema\": {\r\n \"type\": \"object\"\r\n }\r\n },\r\n \"200\": {\r\n \"description\": \"The Logic App Response.\",\r\n \"schema\": {\r\n \"type\": \"object\"\r\n }\r\n }\r\n },\r\n \"deprecated\": false\r\n }\r\n }\r\n },\r\n \"definitions\": {\r\n \"request-manual\": {}\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow6881?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzY4ODE/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "7319d616-1f0f-4f2b-aa4e-55b9a1a0814d" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:27 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:cc4754a3-b928-431f-93ee-bddf31b903a7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "b0cced54-926d-48f4-8c0d-23536e871a0f" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224828Z:b0cced54-926d-48f4-8c0d-23536e871a0f" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "Workflows_ListSwagger_OK": [ + "Workflow6881" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowsScenarioTests/Workflows_List_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowsScenarioTests/Workflows_List_OK.json new file mode 100644 index 0000000000000..c976d34e9a0ad --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowsScenarioTests/Workflows_List_OK.json @@ -0,0 +1,548 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "b6acf2e3-d0df-4a66-8d64-bc90d2da3dfb" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:49 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-request-id": [ + "165f6dd1-6bec-4274-bf50-ebcd81baf49f" + ], + "x-ms-correlation-request-id": [ + "165f6dd1-6bec-4274-bf50-ebcd81baf49f" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224850Z:165f6dd1-6bec-4274-bf50-ebcd81baf49f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "aa352ca2-f0df-497d-b32f-ea0fb72df215" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:49 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19996" + ], + "x-ms-request-id": [ + "895fba69-ba30-4435-846c-effa7204939d" + ], + "x-ms-correlation-request-id": [ + "895fba69-ba30-4435-846c-effa7204939d" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224850Z:895fba69-ba30-4435-846c-effa7204939d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow3968?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzM5Njg/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Request\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Response\": {\r\n \"runAfter\": {},\r\n \"type\": \"Response\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"statusCode\": 200\r\n }\r\n }\r\n },\r\n \"outputs\": {}\r\n }\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "2c8c4b08-c693-4735-a292-47cc70d43298" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "688" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:50 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:fe0da06f-f8b5-47c5-96bd-9cee91eff4c9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-correlation-request-id": [ + "03d4b010-ca76-4ca6-a84c-730391d2034a" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224851Z:03d4b010-ca76-4ca6-a84c-730391d2034a" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "1383" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2018-09-19T22:48:50.9719314Z\",\r\n \"changedTime\": \"2018-09-19T22:48:50.9640261Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08586642095545817984\",\r\n \"accessEndpoint\": \"https://prod-70.westus.logic.azure.com:443/workflows/a2a0f5f88697469d8a85e49f5ff3664e\",\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Request\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Response\": {\r\n \"runAfter\": {},\r\n \"type\": \"Response\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"statusCode\": 200\r\n }\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {},\r\n \"endpointsConfiguration\": {\r\n \"workflow\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"52.160.92.112\"\r\n },\r\n {\r\n \"address\": \"40.118.244.241\"\r\n },\r\n {\r\n \"address\": \"40.118.241.243\"\r\n },\r\n {\r\n \"address\": \"157.56.162.53\"\r\n },\r\n {\r\n \"address\": \"157.56.167.147\"\r\n },\r\n {\r\n \"address\": \"104.42.49.145\"\r\n },\r\n {\r\n \"address\": \"40.83.164.80\"\r\n },\r\n {\r\n \"address\": \"104.42.38.32\"\r\n }\r\n ],\r\n \"accessEndpointIpAddresses\": [\r\n {\r\n \"address\": \"52.160.90.237\"\r\n },\r\n {\r\n \"address\": \"138.91.188.137\"\r\n },\r\n {\r\n \"address\": \"13.91.252.184\"\r\n },\r\n {\r\n \"address\": \"157.56.160.212 \"\r\n }\r\n ]\r\n },\r\n \"connector\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"104.40.51.248\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow3968\",\r\n \"name\": \"Workflow3968\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow273?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzI3Mz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"state\": \"Disabled\",\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Request\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Response\": {\r\n \"runAfter\": {},\r\n \"type\": \"Response\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"statusCode\": 200\r\n }\r\n }\r\n },\r\n \"outputs\": {}\r\n }\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "2618967a-d28a-40d8-83ec-2eafdb1a1233" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "714" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:51 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:14652587-4162-4bf5-9b55-3d6d8755433e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], + "x-ms-correlation-request-id": [ + "a7ebf4fa-b94f-49e5-8075-1df9f12c23d5" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224851Z:a7ebf4fa-b94f-49e5-8075-1df9f12c23d5" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "1382" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2018-09-19T22:48:51.5835803Z\",\r\n \"changedTime\": \"2018-09-19T22:48:51.5700413Z\",\r\n \"state\": \"Disabled\",\r\n \"version\": \"08586642095539192099\",\r\n \"accessEndpoint\": \"https://prod-63.westus.logic.azure.com:443/workflows/8f328803c02d44dba2b9c58321ee3e2a\",\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Request\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Response\": {\r\n \"runAfter\": {},\r\n \"type\": \"Response\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"statusCode\": 200\r\n }\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {},\r\n \"endpointsConfiguration\": {\r\n \"workflow\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"52.160.92.112\"\r\n },\r\n {\r\n \"address\": \"40.118.244.241\"\r\n },\r\n {\r\n \"address\": \"40.118.241.243\"\r\n },\r\n {\r\n \"address\": \"157.56.162.53\"\r\n },\r\n {\r\n \"address\": \"157.56.167.147\"\r\n },\r\n {\r\n \"address\": \"104.42.49.145\"\r\n },\r\n {\r\n \"address\": \"40.83.164.80\"\r\n },\r\n {\r\n \"address\": \"104.42.38.32\"\r\n }\r\n ],\r\n \"accessEndpointIpAddresses\": [\r\n {\r\n \"address\": \"52.160.90.237\"\r\n },\r\n {\r\n \"address\": \"138.91.188.137\"\r\n },\r\n {\r\n \"address\": \"13.91.252.184\"\r\n },\r\n {\r\n \"address\": \"157.56.160.212 \"\r\n }\r\n ]\r\n },\r\n \"connector\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"104.40.51.248\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow273\",\r\n \"name\": \"Workflow273\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow384?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzM4ND9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"state\": \"Disabled\",\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Request\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Response\": {\r\n \"runAfter\": {},\r\n \"type\": \"Response\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"statusCode\": 200\r\n }\r\n }\r\n },\r\n \"outputs\": {}\r\n }\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "dd927009-2249-4056-8fea-75f5ca2f4c47" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "714" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:51 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:cda7c34b-9488-49ca-baf7-27bbb41af8ae" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1193" + ], + "x-ms-correlation-request-id": [ + "b7496777-9964-4cdc-824e-9d873860a3d0" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224852Z:b7496777-9964-4cdc-824e-9d873860a3d0" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "1381" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2018-09-19T22:48:52.208684Z\",\r\n \"changedTime\": \"2018-09-19T22:48:52.1950616Z\",\r\n \"state\": \"Disabled\",\r\n \"version\": \"08586642095533078509\",\r\n \"accessEndpoint\": \"https://prod-01.westus.logic.azure.com:443/workflows/5cc44a6396fc449297e4900b91824ba7\",\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Request\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Response\": {\r\n \"runAfter\": {},\r\n \"type\": \"Response\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"statusCode\": 200\r\n }\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {},\r\n \"endpointsConfiguration\": {\r\n \"workflow\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"52.160.92.112\"\r\n },\r\n {\r\n \"address\": \"40.118.244.241\"\r\n },\r\n {\r\n \"address\": \"40.118.241.243\"\r\n },\r\n {\r\n \"address\": \"157.56.162.53\"\r\n },\r\n {\r\n \"address\": \"157.56.167.147\"\r\n },\r\n {\r\n \"address\": \"104.42.49.145\"\r\n },\r\n {\r\n \"address\": \"40.83.164.80\"\r\n },\r\n {\r\n \"address\": \"104.42.38.32\"\r\n }\r\n ],\r\n \"accessEndpointIpAddresses\": [\r\n {\r\n \"address\": \"52.160.90.237\"\r\n },\r\n {\r\n \"address\": \"138.91.188.137\"\r\n },\r\n {\r\n \"address\": \"13.91.252.184\"\r\n },\r\n {\r\n \"address\": \"157.56.160.212 \"\r\n }\r\n ]\r\n },\r\n \"connector\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"104.40.51.248\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow384\",\r\n \"name\": \"Workflow384\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?$filter=state%20eq%20'Disabled'&$top=2&api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz8kZmlsdGVyPXN0YXRlJTIwZXElMjAnRGlzYWJsZWQnJiR0b3A9MiZhcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "ec40db7c-9c91-4d6d-98ca-3bddfe388ecd" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:52 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:55eccb1f-d413-46a0-ac80-b6c74585b0ff" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19995" + ], + "x-ms-correlation-request-id": [ + "3bf3eeb8-26bf-41df-93ea-6751632985db" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224852Z:3bf3eeb8-26bf-41df-93ea-6751632985db" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "3205" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2018-09-19T22:48:51.5835803Z\",\r\n \"changedTime\": \"2018-09-19T22:48:51.5700413Z\",\r\n \"state\": \"Disabled\",\r\n \"version\": \"08586642095539192099\",\r\n \"accessEndpoint\": \"https://prod-63.westus.logic.azure.com:443/workflows/8f328803c02d44dba2b9c58321ee3e2a\",\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Request\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Response\": {\r\n \"runAfter\": {},\r\n \"type\": \"Response\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"statusCode\": 200\r\n }\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {},\r\n \"endpointsConfiguration\": {\r\n \"workflow\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"52.160.92.112\"\r\n },\r\n {\r\n \"address\": \"40.118.244.241\"\r\n },\r\n {\r\n \"address\": \"40.118.241.243\"\r\n },\r\n {\r\n \"address\": \"157.56.162.53\"\r\n },\r\n {\r\n \"address\": \"157.56.167.147\"\r\n },\r\n {\r\n \"address\": \"104.42.49.145\"\r\n },\r\n {\r\n \"address\": \"40.83.164.80\"\r\n },\r\n {\r\n \"address\": \"104.42.38.32\"\r\n }\r\n ],\r\n \"accessEndpointIpAddresses\": [\r\n {\r\n \"address\": \"52.160.90.237\"\r\n },\r\n {\r\n \"address\": \"138.91.188.137\"\r\n },\r\n {\r\n \"address\": \"13.91.252.184\"\r\n },\r\n {\r\n \"address\": \"157.56.160.212 \"\r\n }\r\n ]\r\n },\r\n \"connector\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"104.40.51.248\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow273\",\r\n \"name\": \"Workflow273\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2018-09-19T22:48:52.208684Z\",\r\n \"changedTime\": \"2018-09-19T22:48:52.1950616Z\",\r\n \"state\": \"Disabled\",\r\n \"version\": \"08586642095533078509\",\r\n \"accessEndpoint\": \"https://prod-01.westus.logic.azure.com:443/workflows/5cc44a6396fc449297e4900b91824ba7\",\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Request\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Response\": {\r\n \"runAfter\": {},\r\n \"type\": \"Response\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"statusCode\": 200\r\n }\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {},\r\n \"endpointsConfiguration\": {\r\n \"workflow\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"52.160.92.112\"\r\n },\r\n {\r\n \"address\": \"40.118.244.241\"\r\n },\r\n {\r\n \"address\": \"40.118.241.243\"\r\n },\r\n {\r\n \"address\": \"157.56.162.53\"\r\n },\r\n {\r\n \"address\": \"157.56.167.147\"\r\n },\r\n {\r\n \"address\": \"104.42.49.145\"\r\n },\r\n {\r\n \"address\": \"40.83.164.80\"\r\n },\r\n {\r\n \"address\": \"104.42.38.32\"\r\n }\r\n ],\r\n \"accessEndpointIpAddresses\": [\r\n {\r\n \"address\": \"52.160.90.237\"\r\n },\r\n {\r\n \"address\": \"138.91.188.137\"\r\n },\r\n {\r\n \"address\": \"13.91.252.184\"\r\n },\r\n {\r\n \"address\": \"157.56.160.212 \"\r\n }\r\n ]\r\n },\r\n \"connector\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"104.40.51.248\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow384\",\r\n \"name\": \"Workflow384\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n }\r\n ],\r\n \"nextLink\": \"https://management.azure.com/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?%24filter=state+eq+%27Disabled%27&%24top=2&api-version=2018-07-01-preview&%24skiptoken=eyJuZXh0UGFydGl0aW9uS2V5IjoiMSE4IVEwWTNSalEtIiwibmV4dFJvd0tleSI6IjEhODQhUmpNMFFqSXlRVE15TWpBeU5FWkNNVUl3TkRBeE16TXlRa1E1TWpoRE9EUmZSa3hQVjB4UFQwdFZVQzFHVEU5WFVrY3RWMDlTUzBaTVQxY3pPVFk0In0%3d\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow3968?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzM5Njg/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0eea3255-dda0-4dea-bcca-6f7cb4a902e2" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:52 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:9cc6c19a-1301-4edc-a257-91dad36fa14f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14997" + ], + "x-ms-correlation-request-id": [ + "39b98a15-9212-474e-8e84-c36212f5eeec" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224853Z:39b98a15-9212-474e-8e84-c36212f5eeec" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow273?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzI3Mz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "d1445d40-7825-4ec0-bdbe-a97c844c2f4d" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:53 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:38b2726f-b081-419b-a895-8ee791adbd7d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14996" + ], + "x-ms-correlation-request-id": [ + "86137d6c-fde3-4fd6-9e0a-bfa7eb2e85b2" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224853Z:86137d6c-fde3-4fd6-9e0a-bfa7eb2e85b2" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow384?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzM4ND9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "67e115c4-1ec2-4f4d-97e8-fb66ad54b44b" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:53 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:ff62928d-0358-4cf1-bf48-d676a31f1cbc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14995" + ], + "x-ms-correlation-request-id": [ + "6ded7a98-ce77-4b66-b6fa-bfcc430bc98a" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224854Z:6ded7a98-ce77-4b66-b6fa-bfcc430bc98a" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "Workflows_List_OK": [ + "Workflow3968", + "Workflow273", + "Workflow384" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowsScenarioTests/Workflows_RegenerateAccessKey_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowsScenarioTests/Workflows_RegenerateAccessKey_OK.json new file mode 100644 index 0000000000000..f45cd708f8440 --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowsScenarioTests/Workflows_RegenerateAccessKey_OK.json @@ -0,0 +1,369 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "e01a08cb-b956-4e18-9844-4d6e66fc3ff8" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:41 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-request-id": [ + "1eed54f8-4270-4e7a-9d6b-3df0597b7571" + ], + "x-ms-correlation-request-id": [ + "1eed54f8-4270-4e7a-9d6b-3df0597b7571" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224842Z:1eed54f8-4270-4e7a-9d6b-3df0597b7571" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "65c1ea92-0597-4742-8786-6c0b9336babe" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:41 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19995" + ], + "x-ms-request-id": [ + "9a436aa1-b66a-4c9f-8312-cb15cb0666b0" + ], + "x-ms-correlation-request-id": [ + "9a436aa1-b66a-4c9f-8312-cb15cb0666b0" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224842Z:9a436aa1-b66a-4c9f-8312-cb15cb0666b0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow3441?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzM0NDE/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Request\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Response\": {\r\n \"runAfter\": {},\r\n \"type\": \"Response\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"statusCode\": 200\r\n }\r\n }\r\n },\r\n \"outputs\": {}\r\n }\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "c06d08b4-84a3-469f-b3db-0b28a543d7c1" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "688" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:42 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:86dcea13-a4c4-48b0-9e96-463d0cf3cf32" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1193" + ], + "x-ms-correlation-request-id": [ + "20ff66be-fe93-459b-93a8-41bcbe6761b9" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224843Z:20ff66be-fe93-459b-93a8-41bcbe6761b9" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "1382" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2018-09-19T22:48:42.850853Z\",\r\n \"changedTime\": \"2018-09-19T22:48:42.8384246Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08586642095627424892\",\r\n \"accessEndpoint\": \"https://prod-16.westus.logic.azure.com:443/workflows/ddecba6bcf5248e98139f4c3a0f52c97\",\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Request\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Response\": {\r\n \"runAfter\": {},\r\n \"type\": \"Response\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"statusCode\": 200\r\n }\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {},\r\n \"endpointsConfiguration\": {\r\n \"workflow\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"52.160.92.112\"\r\n },\r\n {\r\n \"address\": \"40.118.244.241\"\r\n },\r\n {\r\n \"address\": \"40.118.241.243\"\r\n },\r\n {\r\n \"address\": \"157.56.162.53\"\r\n },\r\n {\r\n \"address\": \"157.56.167.147\"\r\n },\r\n {\r\n \"address\": \"104.42.49.145\"\r\n },\r\n {\r\n \"address\": \"40.83.164.80\"\r\n },\r\n {\r\n \"address\": \"104.42.38.32\"\r\n }\r\n ],\r\n \"accessEndpointIpAddresses\": [\r\n {\r\n \"address\": \"52.160.90.237\"\r\n },\r\n {\r\n \"address\": \"138.91.188.137\"\r\n },\r\n {\r\n \"address\": \"13.91.252.184\"\r\n },\r\n {\r\n \"address\": \"157.56.160.212 \"\r\n }\r\n ]\r\n },\r\n \"connector\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"104.40.51.248\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow3441\",\r\n \"name\": \"Workflow3441\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow3441/regenerateAccessKey?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzM0NDEvcmVnZW5lcmF0ZUFjY2Vzc0tleT9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"keyType\": \"Primary\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "a53393b4-233f-4696-8eee-040eb02e3b8e" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:42 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:c4b81b01-4ebf-41f6-83eb-8d5bc5bdb325" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1192" + ], + "x-ms-correlation-request-id": [ + "4b230e0a-0a2a-40b9-beea-6835329afd6b" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224843Z:4b230e0a-0a2a-40b9-beea-6835329afd6b" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow3441?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzM0NDE/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "b56b940d-d2a2-448a-af07-9b14898dac58" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:42 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:cd4208ad-1548-475f-8d15-f19bade544c7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19994" + ], + "x-ms-correlation-request-id": [ + "bde710bd-87eb-48b1-9d81-acb03a800df0" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224843Z:bde710bd-87eb-48b1-9d81-acb03a800df0" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "1382" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2018-09-19T22:48:42.850853Z\",\r\n \"changedTime\": \"2018-09-19T22:48:43.2134673Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08586642095622675252\",\r\n \"accessEndpoint\": \"https://prod-16.westus.logic.azure.com:443/workflows/ddecba6bcf5248e98139f4c3a0f52c97\",\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Request\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Response\": {\r\n \"runAfter\": {},\r\n \"type\": \"Response\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"statusCode\": 200\r\n }\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {},\r\n \"endpointsConfiguration\": {\r\n \"workflow\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"52.160.92.112\"\r\n },\r\n {\r\n \"address\": \"40.118.244.241\"\r\n },\r\n {\r\n \"address\": \"40.118.241.243\"\r\n },\r\n {\r\n \"address\": \"157.56.162.53\"\r\n },\r\n {\r\n \"address\": \"157.56.167.147\"\r\n },\r\n {\r\n \"address\": \"104.42.49.145\"\r\n },\r\n {\r\n \"address\": \"40.83.164.80\"\r\n },\r\n {\r\n \"address\": \"104.42.38.32\"\r\n }\r\n ],\r\n \"accessEndpointIpAddresses\": [\r\n {\r\n \"address\": \"52.160.90.237\"\r\n },\r\n {\r\n \"address\": \"138.91.188.137\"\r\n },\r\n {\r\n \"address\": \"13.91.252.184\"\r\n },\r\n {\r\n \"address\": \"157.56.160.212 \"\r\n }\r\n ]\r\n },\r\n \"connector\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"104.40.51.248\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow3441\",\r\n \"name\": \"Workflow3441\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow3441?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzM0NDE/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "52402c08-e305-46a7-b7a9-d9dd1ee5d54a" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:42 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:d341a937-c71f-4828-9e34-26e44ce4aa23" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14996" + ], + "x-ms-correlation-request-id": [ + "b6dc542b-f4d9-44fe-a6a3-3efb18bbd976" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224843Z:b6dc542b-f4d9-44fe-a6a3-3efb18bbd976" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "Workflows_RegenerateAccessKey_OK": [ + "Workflow3441" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowsScenarioTests/Workflows_Update_OK.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowsScenarioTests/Workflows_Update_OK.json new file mode 100644 index 0000000000000..fc9fa01da73e7 --- /dev/null +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowsScenarioTests/Workflows_Update_OK.json @@ -0,0 +1,314 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "1fa86207-df20-4d49-8675-57367f853d87" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:55 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-request-id": [ + "d729b800-072c-4cbe-a122-9a092b7303a6" + ], + "x-ms-correlation-request-id": [ + "d729b800-072c-4cbe-a122-9a092b7303a6" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224856Z:d729b800-072c-4cbe-a122-9a092b7303a6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "c454b8b2-4e29-42c0-bdf1-39dad35cc7be" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:56 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19997" + ], + "x-ms-request-id": [ + "2072c44d-f6b9-4eb5-ab19-c3fb543bebf2" + ], + "x-ms-correlation-request-id": [ + "2072c44d-f6b9-4eb5-ab19-c3fb543bebf2" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224856Z:2072c44d-f6b9-4eb5-ab19-c3fb543bebf2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow8125?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzgxMjU/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Request\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Response\": {\r\n \"runAfter\": {},\r\n \"type\": \"Response\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"statusCode\": 200\r\n }\r\n }\r\n },\r\n \"outputs\": {}\r\n }\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "3bf21bd0-8e1b-4797-b2b5-a120266a8de5" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "688" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:57 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:e69738d1-4fde-43ab-a76c-71e0768c8724" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1192" + ], + "x-ms-correlation-request-id": [ + "a09743e4-85ee-42e5-be89-7e4a8870dcb0" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224857Z:a09743e4-85ee-42e5-be89-7e4a8870dcb0" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "1383" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2018-09-19T22:48:57.3601431Z\",\r\n \"changedTime\": \"2018-09-19T22:48:57.3563743Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08586642095482109737\",\r\n \"accessEndpoint\": \"https://prod-54.westus.logic.azure.com:443/workflows/6fa480dbe5b64ab2b6adacf3cd878319\",\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Request\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Response\": {\r\n \"runAfter\": {},\r\n \"type\": \"Response\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"statusCode\": 200\r\n }\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {},\r\n \"endpointsConfiguration\": {\r\n \"workflow\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"52.160.92.112\"\r\n },\r\n {\r\n \"address\": \"40.118.244.241\"\r\n },\r\n {\r\n \"address\": \"40.118.241.243\"\r\n },\r\n {\r\n \"address\": \"157.56.162.53\"\r\n },\r\n {\r\n \"address\": \"157.56.167.147\"\r\n },\r\n {\r\n \"address\": \"104.42.49.145\"\r\n },\r\n {\r\n \"address\": \"40.83.164.80\"\r\n },\r\n {\r\n \"address\": \"104.42.38.32\"\r\n }\r\n ],\r\n \"accessEndpointIpAddresses\": [\r\n {\r\n \"address\": \"52.160.90.237\"\r\n },\r\n {\r\n \"address\": \"138.91.188.137\"\r\n },\r\n {\r\n \"address\": \"13.91.252.184\"\r\n },\r\n {\r\n \"address\": \"157.56.160.212 \"\r\n }\r\n ]\r\n },\r\n \"connector\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"104.40.51.248\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow8125\",\r\n \"name\": \"Workflow8125\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow8125?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzgxMjU/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "PATCH", + "RequestBody": "{\r\n \"tags\": {\r\n \"abc\": \"def\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "4466e7fe-d530-4e57-8330-1cda30f4d0fd" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "40" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:57 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "westus:8e7fdb06-a7b0-40da-aa12-2c97a71be558" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1191" + ], + "x-ms-correlation-request-id": [ + "824a0757-6862-48dd-bdc8-31b0b4cc5fc9" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224858Z:824a0757-6862-48dd-bdc8-31b0b4cc5fc9" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "1404" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdTime\": \"2018-09-19T22:48:57.9059033Z\",\r\n \"changedTime\": \"2018-09-19T22:48:57.8876444Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08586642095476122414\",\r\n \"accessEndpoint\": \"https://prod-54.westus.logic.azure.com:443/workflows/6fa480dbe5b64ab2b6adacf3cd878319\",\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Request\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Response\": {\r\n \"runAfter\": {},\r\n \"type\": \"Response\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"statusCode\": 200\r\n }\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {},\r\n \"endpointsConfiguration\": {\r\n \"workflow\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"52.160.92.112\"\r\n },\r\n {\r\n \"address\": \"40.118.244.241\"\r\n },\r\n {\r\n \"address\": \"40.118.241.243\"\r\n },\r\n {\r\n \"address\": \"157.56.162.53\"\r\n },\r\n {\r\n \"address\": \"157.56.167.147\"\r\n },\r\n {\r\n \"address\": \"104.42.49.145\"\r\n },\r\n {\r\n \"address\": \"40.83.164.80\"\r\n },\r\n {\r\n \"address\": \"104.42.38.32\"\r\n }\r\n ],\r\n \"accessEndpointIpAddresses\": [\r\n {\r\n \"address\": \"52.160.90.237\"\r\n },\r\n {\r\n \"address\": \"138.91.188.137\"\r\n },\r\n {\r\n \"address\": \"13.91.252.184\"\r\n },\r\n {\r\n \"address\": \"157.56.160.212 \"\r\n }\r\n ]\r\n },\r\n \"connector\": {\r\n \"outgoingIpAddresses\": [\r\n {\r\n \"address\": \"104.40.51.248\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow8125\",\r\n \"name\": \"Workflow8125\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"abc\": \"def\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows/Workflow8125?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9Xb3JrZmxvdzgxMjU/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "eb5d2211-a041-4780-bb87-8f868762ef3d" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 19 Sep 2018 22:48:58 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "westus:87b947d9-3015-4075-836d-94bf4b099989" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14996" + ], + "x-ms-correlation-request-id": [ + "8abd6c73-e531-4353-9481-6427811d27df" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224858Z:8abd6c73-e531-4353-9481-6427811d27df" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "Workflows_Update_OK": [ + "Workflow8125" + ] + }, + "Variables": { + "SubscriptionId": "f34b22a3-2202-4fb1-b040-1332bd928c84" + } +} \ No newline at end of file diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountScenarioTests/CreateAndUpdateIntegrationAccount.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowsScenarioTests/Workflows_Validate_Exception.json similarity index 52% rename from src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountScenarioTests/CreateAndUpdateIntegrationAccount.json rename to src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowsScenarioTests/Workflows_Validate_Exception.json index 8ebefda236a09..6b710ec390b6c 100644 --- a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountScenarioTests/CreateAndUpdateIntegrationAccount.json +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowsScenarioTests/Workflows_Validate_Exception.json @@ -1,187 +1,189 @@ { "Entries": [ { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8780?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50ODc4MD9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "91" - ], "x-ms-client-request-id": [ - "c58e7d64-6da4-4f51-bdf1-8f3be6742085" + "b37ed3fc-2288-43d9-95a0-65a586fba81f" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ] }, - "ResponseBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8780\",\r\n \"name\": \"IntegrationAccount8780\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", "ResponseHeaders": { - "Content-Length": [ - "290" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:58:01 GMT" + "Wed, 19 Sep 2018 22:49:03 GMT" ], "Pragma": [ "no-cache" ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], "x-ms-request-id": [ - "westus:020f98e4-5bc3-4ad6-8a28-b1b184d7ae17" + "459da069-9c62-407a-a52f-8d176f1a9698" + ], + "x-ms-correlation-request-id": [ + "459da069-9c62-407a-a52f-8d176f1a9698" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224904Z:459da069-9c62-407a-a52f-8d176f1a9698" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1197" + "X-Content-Type-Options": [ + "nosniff" ], - "x-ms-correlation-request-id": [ - "c4d37ec1-881b-477a-aa34-e9f29d979b98" + "Content-Length": [ + "12" ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215801Z:c4d37ec1-881b-477a-aa34-e9f29d979b98" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 201 + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8780?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50ODc4MD9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "91" - ], "x-ms-client-request-id": [ - "487046b7-0e88-48a8-b0a3-e0b38a98ff66" + "7c51c58e-8cd5-43e6-a4a7-8d7ef2159008" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ] }, - "ResponseBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8780\",\r\n \"name\": \"IntegrationAccount8780\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:58:01 GMT" + "Wed, 19 Sep 2018 22:49:03 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" - ], - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19999" ], "x-ms-request-id": [ - "westus:b4227b86-03d5-406e-bb2b-7c7d9644e698" + "91b470a8-5c3f-48bc-a4a0-1700c57f86bd" + ], + "x-ms-correlation-request-id": [ + "91b470a8-5c3f-48bc-a4a0-1700c57f86bd" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224904Z:91b470a8-5c3f-48bc-a4a0-1700c57f86bd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1196" + "X-Content-Type-Options": [ + "nosniff" ], - "x-ms-correlation-request-id": [ - "a13c0c57-aa4b-41e2-bbb3-324f63193d99" + "Content-Length": [ + "12" ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215801Z:a13c0c57-aa4b-41e2-bbb3-324f63193d99" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "{\r\n \"value\": []\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount8780?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50ODc4MD9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "DELETE", - "RequestBody": "", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/locations/westus/workflows/Workflow6043/validate?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2xvY2F0aW9ucy93ZXN0dXMvd29ya2Zsb3dzL1dvcmtmbG93NjA0My92YWxpZGF0ZT9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"properties\": {\r\n \"definition\": \"Invalid Definition\"\r\n },\r\n \"location\": \"westus\"\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "7e56b9f5-cf46-4dbc-ada8-8c74b3a27539" + "70f0c407-9beb-4aff-9012-4ee9fc1da5b2" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "93" ] }, - "ResponseBody": "", "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:58:02 GMT" + "Wed, 19 Sep 2018 22:49:03 GMT" ], "Pragma": [ "no-cache" ], "x-ms-request-id": [ - "westus:d3c80c09-d825-44ff-aebe-ef8b89e86911" + "westus:5a272e13-9aed-471d-84d1-89be03b84305" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1195" + "1199" ], "x-ms-correlation-request-id": [ - "6446e1d5-8341-4b39-813e-b52120342c13" + "343e2375-819b-4140-9561-9b2a7f6633cd" ], "x-ms-routing-request-id": [ - "WESTUS2:20170301T215802Z:6446e1d5-8341-4b39-813e-b52120342c13" + "WESTUS2:20180919T224904Z:343e2375-819b-4140-9561-9b2a7f6633cd" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "280" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 200 + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"InvalidRequestContent\",\r\n \"message\": \"The request content is not valid and could not be deserialized: 'Error converting value \\\"Invalid Definition\\\" to type 'Microsoft.Azure.Flow.Templates.Schema.FlowTemplate'. Path 'properties.definition', line 3, position 38.'.\"\r\n }\r\n}", + "StatusCode": 400 } ], "Names": { - "CreateAndUpdateIntegrationAccount": [ - "IntegrationAccount8780" + "Workflows_Validate_Exception": [ + "Workflow6043" ] }, "Variables": { diff --git a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountScenarioTests/CreateAndGetIntegrationAccountByName.json b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowsScenarioTests/Workflows_Validate_OK.json similarity index 54% rename from src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountScenarioTests/CreateAndGetIntegrationAccountByName.json rename to src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowsScenarioTests/Workflows_Validate_OK.json index 95319dd6ec0a8..6c5c5d218d080 100644 --- a/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.IntegrationAccountScenarioTests/CreateAndGetIntegrationAccountByName.json +++ b/src/SDKs/Logic/Logic.Tests/SessionRecords/Test.Azure.Management.Logic.WorkflowsScenarioTests/Workflows_Validate_OK.json @@ -1,181 +1,186 @@ { "Entries": [ { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7263?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NzI2Mz9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"westus\"\r\n}", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHM/YXBpLXZlcnNpb249MjAxOC0wNy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "91" - ], "x-ms-client-request-id": [ - "932b190c-205f-4897-bf1a-d93e8ff3a9c6" + "21ffb973-7e24-4b71-a376-79265cf217e8" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ] }, - "ResponseBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7263\",\r\n \"name\": \"IntegrationAccount7263\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", "ResponseHeaders": { - "Content-Length": [ - "290" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:58:04 GMT" + "Wed, 19 Sep 2018 22:48:20 GMT" ], "Pragma": [ "no-cache" ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], "x-ms-request-id": [ - "westus:1e154e9a-e50d-4826-8f33-ab6d28daedf2" + "84da34ee-67c0-45ab-97fa-4b7092bcfe69" + ], + "x-ms-correlation-request-id": [ + "84da34ee-67c0-45ab-97fa-4b7092bcfe69" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224821Z:84da34ee-67c0-45ab-97fa-4b7092bcfe69" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1199" + "X-Content-Type-Options": [ + "nosniff" ], - "x-ms-correlation-request-id": [ - "23c94965-b795-47c0-a8d3-78a34bec961d" + "Content-Length": [ + "12" ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215805Z:23c94965-b795-47c0-a8d3-78a34bec961d" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 201 + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7263?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NzI2Mz9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/workflows?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cz9hcGktdmVyc2lvbj0yMDE4LTA3LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "b5a75f8b-1118-400b-b2d6-45facdb241b1" + "5c316f7b-0964-4b8a-affb-b946cc95d125" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" ] }, - "ResponseBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7263\",\r\n \"name\": \"IntegrationAccount7263\",\r\n \"type\": \"Microsoft.Logic/integrationAccounts\",\r\n \"location\": \"westus\"\r\n}", "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:58:04 GMT" + "Wed, 19 Sep 2018 22:48:20 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" - ], - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "19998" ], "x-ms-request-id": [ - "westus:e3489441-f609-4741-bfb9-4786f754714a" + "93cfad32-fca2-405e-8efc-bf70aba392c3" + ], + "x-ms-correlation-request-id": [ + "93cfad32-fca2-405e-8efc-bf70aba392c3" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180919T224821Z:93cfad32-fca2-405e-8efc-bf70aba392c3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14792" + "X-Content-Type-Options": [ + "nosniff" ], - "x-ms-correlation-request-id": [ - "44cec1a9-d17d-45c9-8241-98c830f2ae0d" + "Content-Length": [ + "12" ], - "x-ms-routing-request-id": [ - "WESTUS2:20170301T215805Z:44cec1a9-d17d-45c9-8241-98c830f2ae0d" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "{\r\n \"value\": []\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount7263?api-version=2016-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2ludGVncmF0aW9uQWNjb3VudHMvSW50ZWdyYXRpb25BY2NvdW50NzI2Mz9hcGktdmVyc2lvbj0yMDE2LTA2LTAx", - "RequestMethod": "DELETE", - "RequestBody": "", + "RequestUri": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourceGroups/flowrg/providers/Microsoft.Logic/locations/westus/workflows/Workflow322/validate?api-version=2018-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjM0YjIyYTMtMjIwMi00ZmIxLWIwNDAtMTMzMmJkOTI4Yzg0L3Jlc291cmNlR3JvdXBzL2Zsb3dyZy9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL2xvY2F0aW9ucy93ZXN0dXMvd29ya2Zsb3dzL1dvcmtmbG93MzIyL3ZhbGlkYXRlP2FwaS12ZXJzaW9uPTIwMTgtMDctMDEtcHJldmlldw==", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"properties\": {\r\n \"definition\": {\r\n \"$schema\": \"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"triggers\": {\r\n \"manual\": {\r\n \"type\": \"Request\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"schema\": {}\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"Response\": {\r\n \"runAfter\": {},\r\n \"type\": \"Response\",\r\n \"kind\": \"Http\",\r\n \"inputs\": {\r\n \"statusCode\": 200\r\n }\r\n }\r\n },\r\n \"outputs\": {}\r\n }\r\n },\r\n \"location\": \"westus\"\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "7e937470-e961-4d9d-9d45-aa1db2c1adff" + "bb617e85-22b9-4568-9e31-ccc30d82edc2" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.24410.01", - "Microsoft.Azure.Management.Logic.LogicManagementClient/2.1.0" + "FxVersion/4.6.26614.01", + "Microsoft.Azure.Management.Logic.LogicManagementClient/4.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "688" ] }, - "ResponseBody": "", "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 01 Mar 2017 21:58:05 GMT" + "Wed, 19 Sep 2018 22:48:20 GMT" ], "Pragma": [ "no-cache" ], "x-ms-request-id": [ - "westus:89c15695-f905-4b3a-97cc-8f1fe5f09cb7" + "westus:483ecfb1-d62d-4ec8-a1a3-73d30c9dc35f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" + "1196" ], "x-ms-correlation-request-id": [ - "2806ef13-5646-4a5e-be07-65ccd24ba12b" + "52c2a14c-7326-445d-99db-abb68419627c" ], "x-ms-routing-request-id": [ - "WESTUS2:20170301T215805Z:2806ef13-5646-4a5e-be07-65ccd24ba12b" + "WESTUS2:20180919T224821Z:52c2a14c-7326-445d-99db-abb68419627c" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "", "StatusCode": 200 } ], "Names": { - "CreateAndGetIntegrationAccountByName": [ - "IntegrationAccount7263" + "Workflows_Validate_OK": [ + "Workflow322" ] }, "Variables": { diff --git a/src/SDKs/Logic/Logic.Tests/TestData/IntegrationAccountAssemblyContent.dll b/src/SDKs/Logic/Logic.Tests/TestData/IntegrationAccountAssemblyContent.dll new file mode 100644 index 0000000000000..9ad6abe9fee1d Binary files /dev/null and b/src/SDKs/Logic/Logic.Tests/TestData/IntegrationAccountAssemblyContent.dll differ diff --git a/src/SDKs/Logic/Logic.Tests/TestData/SampleXsltMap.xsl b/src/SDKs/Logic/Logic.Tests/TestData/SampleXsltMap.xsl deleted file mode 100644 index d44b08a0a1385..0000000000000 Binary files a/src/SDKs/Logic/Logic.Tests/TestData/SampleXsltMap.xsl and /dev/null differ diff --git a/src/SDKs/Logic/Logic.Tests/Utilities/Constants.cs b/src/SDKs/Logic/Logic.Tests/Utilities/Constants.cs index e24819bc9faa5..e2c0c73f2486c 100644 --- a/src/SDKs/Logic/Logic.Tests/Utilities/Constants.cs +++ b/src/SDKs/Logic/Logic.Tests/Utilities/Constants.cs @@ -21,11 +21,6 @@ internal class Constants /// Next page link /// </summary> public const string NextPageLink = "http://integrationAccountlistnextlink"; - - /// <summary> - /// Test integration account name prefix - /// </summary> - public const string IntegrationAccountPrefix = "IntegrationAccount"; /// <summary> /// Default test subscription @@ -47,8 +42,36 @@ internal class Constants /// </summary> public const string DefaultServicePlan = "ServicePlan"; + /// <summary> + /// Default trigger name + /// </summary> + public const string DefaultTriggerName = "manual"; + #region Prefix + /// <summary> + /// Test integration account name prefix + /// </summary> + public const string IntegrationAccountPrefix = "IntegrationAccount"; + + /// <summary> + /// Test integration account agreement name prefix + /// </summary> + public const string IntegrationAccountAgreementPrefix = "IntegrationAccountAgreement"; + + /// <summary> + /// Test integration account assembly name prefix + /// </summary> + public const string IntegrationAccountAssemblyPrefix = "IntegrationAccountAssembly"; + + /// <summary> + /// Test integration account batch configuration name prefix + /// </summary> + /// <remarks> + /// Max limit of 20 characters + /// </remarks> + public const string IntegrationAccountBatchConfigurationPrefix = "IABatchConfig"; + /// <summary> /// Test IntegrationAccount schema name prefix /// </summary> @@ -59,11 +82,6 @@ internal class Constants /// </summary> public const string IntegrationAccountPartnerPrefix = "IntegrationAccountPartner"; - /// <summary> - /// Test integration account agreement name prefix - /// </summary> - public const string IntegrationAccountAgreementPrefix = "IntegrationAccountAgreement"; - /// <summary> /// Test integration account map name prefix /// </summary> @@ -79,6 +97,11 @@ internal class Constants /// </summary> public const string IntegrationAccountSessionPrefix = "IntegrationAccountSession"; + /// <summary> + /// Test workflow name prefix + /// </summary> + public const string WorkflowPrefix = "Workflow"; + #endregion Prefix } diff --git a/src/SDKs/Logic/Management.Logic/Generated/IAgreementsOperations.cs b/src/SDKs/Logic/Management.Logic/Generated/IIntegrationAccountAgreementsOperations.cs similarity index 74% rename from src/SDKs/Logic/Management.Logic/Generated/IAgreementsOperations.cs rename to src/SDKs/Logic/Management.Logic/Generated/IIntegrationAccountAgreementsOperations.cs index 7ed3c61e69477..21a75bf418acb 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/IAgreementsOperations.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/IIntegrationAccountAgreementsOperations.cs @@ -1,18 +1,18 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic { - using Azure; - using Management; - using Rest; - using Rest.Azure; - using Rest.Azure.OData; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; using Models; using System.Collections; using System.Collections.Generic; @@ -20,9 +20,9 @@ namespace Microsoft.Azure.Management.Logic using System.Threading.Tasks; /// <summary> - /// AgreementsOperations operations. + /// IntegrationAccountAgreementsOperations operations. /// </summary> - public partial interface IAgreementsOperations + public partial interface IIntegrationAccountAgreementsOperations { /// <summary> /// Gets a list of integration account agreements. @@ -51,7 +51,7 @@ public partial interface IAgreementsOperations /// <exception cref="Microsoft.Rest.ValidationException"> /// Thrown when a required parameter is null /// </exception> - Task<AzureOperationResponse<IPage<IntegrationAccountAgreement>>> ListByIntegrationAccountsWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, ODataQuery<IntegrationAccountAgreementFilter> odataQuery = default(ODataQuery<IntegrationAccountAgreementFilter>), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task<AzureOperationResponse<IPage<IntegrationAccountAgreement>>> ListWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, ODataQuery<IntegrationAccountAgreementFilter> odataQuery = default(ODataQuery<IntegrationAccountAgreementFilter>), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// <summary> /// Gets an integration account agreement. /// </summary> @@ -137,6 +137,36 @@ public partial interface IAgreementsOperations /// </exception> Task<AzureOperationResponse> DeleteWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, string agreementName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// <summary> + /// Get the content callback url. + /// </summary> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + /// <param name='agreementName'> + /// The integration account agreement name. + /// </param> + /// <param name='listContentCallbackUrl'> + /// </param> + /// <param name='customHeaders'> + /// The headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="Microsoft.Rest.Azure.CloudException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="Microsoft.Rest.SerializationException"> + /// Thrown when unable to deserialize the response + /// </exception> + /// <exception cref="Microsoft.Rest.ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + Task<AzureOperationResponse<WorkflowTriggerCallbackUrl>> ListContentCallbackUrlWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, string agreementName, GetCallbackUrlParameters listContentCallbackUrl, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// <summary> /// Gets a list of integration account agreements. /// </summary> /// <param name='nextPageLink'> @@ -157,7 +187,6 @@ public partial interface IAgreementsOperations /// <exception cref="Microsoft.Rest.ValidationException"> /// Thrown when a required parameter is null /// </exception> - Task<AzureOperationResponse<IPage<IntegrationAccountAgreement>>> ListByIntegrationAccountsNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task<AzureOperationResponse<IPage<IntegrationAccountAgreement>>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/IIntegrationAccountAssembliesOperations.cs b/src/SDKs/Logic/Management.Logic/Generated/IIntegrationAccountAssembliesOperations.cs new file mode 100644 index 0000000000000..60eee3d58759f --- /dev/null +++ b/src/SDKs/Logic/Management.Logic/Generated/IIntegrationAccountAssembliesOperations.cs @@ -0,0 +1,164 @@ +// <auto-generated> +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// </auto-generated> + +namespace Microsoft.Azure.Management.Logic +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// <summary> + /// IntegrationAccountAssembliesOperations operations. + /// </summary> + public partial interface IIntegrationAccountAssembliesOperations + { + /// <summary> + /// List the assemblies for an integration account. + /// </summary> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + /// <param name='customHeaders'> + /// The headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="Microsoft.Rest.Azure.CloudException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="Microsoft.Rest.SerializationException"> + /// Thrown when unable to deserialize the response + /// </exception> + /// <exception cref="Microsoft.Rest.ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + Task<AzureOperationResponse<IEnumerable<AssemblyDefinition>>> ListWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// <summary> + /// Get an assembly for an integration account. + /// </summary> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + /// <param name='assemblyArtifactName'> + /// The assembly artifact name. + /// </param> + /// <param name='customHeaders'> + /// The headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="Microsoft.Rest.Azure.CloudException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="Microsoft.Rest.SerializationException"> + /// Thrown when unable to deserialize the response + /// </exception> + /// <exception cref="Microsoft.Rest.ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + Task<AzureOperationResponse<AssemblyDefinition>> GetWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, string assemblyArtifactName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// <summary> + /// Create or update an assembly for an integration account. + /// </summary> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + /// <param name='assemblyArtifactName'> + /// The assembly artifact name. + /// </param> + /// <param name='assemblyArtifact'> + /// The assembly artifact. + /// </param> + /// <param name='customHeaders'> + /// The headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="Microsoft.Rest.Azure.CloudException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="Microsoft.Rest.SerializationException"> + /// Thrown when unable to deserialize the response + /// </exception> + /// <exception cref="Microsoft.Rest.ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + Task<AzureOperationResponse<AssemblyDefinition>> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, string assemblyArtifactName, AssemblyDefinition assemblyArtifact, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// <summary> + /// Delete an assembly for an integration account. + /// </summary> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + /// <param name='assemblyArtifactName'> + /// The assembly artifact name. + /// </param> + /// <param name='customHeaders'> + /// The headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="Microsoft.Rest.Azure.CloudException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="Microsoft.Rest.ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + Task<AzureOperationResponse> DeleteWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, string assemblyArtifactName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// <summary> + /// Get the content callback url for an integration account assembly. + /// </summary> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + /// <param name='assemblyArtifactName'> + /// The assembly artifact name. + /// </param> + /// <param name='customHeaders'> + /// The headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="Microsoft.Rest.Azure.CloudException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="Microsoft.Rest.SerializationException"> + /// Thrown when unable to deserialize the response + /// </exception> + /// <exception cref="Microsoft.Rest.ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + Task<AzureOperationResponse<WorkflowTriggerCallbackUrl>> ListContentCallbackUrlWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, string assemblyArtifactName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + } +} diff --git a/src/SDKs/Logic/Management.Logic/Generated/IIntegrationAccountBatchConfigurationsOperations.cs b/src/SDKs/Logic/Management.Logic/Generated/IIntegrationAccountBatchConfigurationsOperations.cs new file mode 100644 index 0000000000000..eb36e89cf78ef --- /dev/null +++ b/src/SDKs/Logic/Management.Logic/Generated/IIntegrationAccountBatchConfigurationsOperations.cs @@ -0,0 +1,136 @@ +// <auto-generated> +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// </auto-generated> + +namespace Microsoft.Azure.Management.Logic +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// <summary> + /// IntegrationAccountBatchConfigurationsOperations operations. + /// </summary> + public partial interface IIntegrationAccountBatchConfigurationsOperations + { + /// <summary> + /// List the batch configurations for an integration account. + /// </summary> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + /// <param name='customHeaders'> + /// The headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="Microsoft.Rest.Azure.CloudException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="Microsoft.Rest.SerializationException"> + /// Thrown when unable to deserialize the response + /// </exception> + /// <exception cref="Microsoft.Rest.ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + Task<AzureOperationResponse<IEnumerable<BatchConfiguration>>> ListWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// <summary> + /// Get a batch configuration for an integration account. + /// </summary> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + /// <param name='batchConfigurationName'> + /// The batch configuration name. + /// </param> + /// <param name='customHeaders'> + /// The headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="Microsoft.Rest.Azure.CloudException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="Microsoft.Rest.SerializationException"> + /// Thrown when unable to deserialize the response + /// </exception> + /// <exception cref="Microsoft.Rest.ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + Task<AzureOperationResponse<BatchConfiguration>> GetWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, string batchConfigurationName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// <summary> + /// Create or update a batch configuration for an integration account. + /// </summary> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + /// <param name='batchConfigurationName'> + /// The batch configuration name. + /// </param> + /// <param name='batchConfiguration'> + /// The batch configuration. + /// </param> + /// <param name='customHeaders'> + /// The headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="Microsoft.Rest.Azure.CloudException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="Microsoft.Rest.SerializationException"> + /// Thrown when unable to deserialize the response + /// </exception> + /// <exception cref="Microsoft.Rest.ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + Task<AzureOperationResponse<BatchConfiguration>> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, string batchConfigurationName, BatchConfiguration batchConfiguration, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// <summary> + /// Delete a batch configuration for an integration account. + /// </summary> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + /// <param name='batchConfigurationName'> + /// The batch configuration name. + /// </param> + /// <param name='customHeaders'> + /// The headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="Microsoft.Rest.Azure.CloudException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="Microsoft.Rest.ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + Task<AzureOperationResponse> DeleteWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, string batchConfigurationName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + } +} diff --git a/src/SDKs/Logic/Management.Logic/Generated/ICertificatesOperations.cs b/src/SDKs/Logic/Management.Logic/Generated/IIntegrationAccountCertificatesOperations.cs similarity index 90% rename from src/SDKs/Logic/Management.Logic/Generated/ICertificatesOperations.cs rename to src/SDKs/Logic/Management.Logic/Generated/IIntegrationAccountCertificatesOperations.cs index 69a9e8031da9b..423ca7004dc34 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/ICertificatesOperations.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/IIntegrationAccountCertificatesOperations.cs @@ -1,17 +1,17 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic { - using Azure; - using Management; - using Rest; - using Rest.Azure; + using Microsoft.Rest; + using Microsoft.Rest.Azure; using Models; using System.Collections; using System.Collections.Generic; @@ -19,9 +19,9 @@ namespace Microsoft.Azure.Management.Logic using System.Threading.Tasks; /// <summary> - /// CertificatesOperations operations. + /// IntegrationAccountCertificatesOperations operations. /// </summary> - public partial interface ICertificatesOperations + public partial interface IIntegrationAccountCertificatesOperations { /// <summary> /// Gets a list of integration account certificates. @@ -50,7 +50,7 @@ public partial interface ICertificatesOperations /// <exception cref="Microsoft.Rest.ValidationException"> /// Thrown when a required parameter is null /// </exception> - Task<AzureOperationResponse<IPage<IntegrationAccountCertificate>>> ListByIntegrationAccountsWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, int? top = default(int?), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task<AzureOperationResponse<IPage<IntegrationAccountCertificate>>> ListWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, int? top = default(int?), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// <summary> /// Gets an integration account certificate. /// </summary> @@ -156,7 +156,6 @@ public partial interface ICertificatesOperations /// <exception cref="Microsoft.Rest.ValidationException"> /// Thrown when a required parameter is null /// </exception> - Task<AzureOperationResponse<IPage<IntegrationAccountCertificate>>> ListByIntegrationAccountsNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task<AzureOperationResponse<IPage<IntegrationAccountCertificate>>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/IMapsOperations.cs b/src/SDKs/Logic/Management.Logic/Generated/IIntegrationAccountMapsOperations.cs similarity index 74% rename from src/SDKs/Logic/Management.Logic/Generated/IMapsOperations.cs rename to src/SDKs/Logic/Management.Logic/Generated/IIntegrationAccountMapsOperations.cs index 36ba175159ca3..d38e0db763b80 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/IMapsOperations.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/IIntegrationAccountMapsOperations.cs @@ -1,18 +1,18 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic { - using Azure; - using Management; - using Rest; - using Rest.Azure; - using Rest.Azure.OData; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; using Models; using System.Collections; using System.Collections.Generic; @@ -20,9 +20,9 @@ namespace Microsoft.Azure.Management.Logic using System.Threading.Tasks; /// <summary> - /// MapsOperations operations. + /// IntegrationAccountMapsOperations operations. /// </summary> - public partial interface IMapsOperations + public partial interface IIntegrationAccountMapsOperations { /// <summary> /// Gets a list of integration account maps. @@ -51,7 +51,7 @@ public partial interface IMapsOperations /// <exception cref="Microsoft.Rest.ValidationException"> /// Thrown when a required parameter is null /// </exception> - Task<AzureOperationResponse<IPage<IntegrationAccountMap>>> ListByIntegrationAccountsWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, ODataQuery<IntegrationAccountMapFilter> odataQuery = default(ODataQuery<IntegrationAccountMapFilter>), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task<AzureOperationResponse<IPage<IntegrationAccountMap>>> ListWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, ODataQuery<IntegrationAccountMapFilter> odataQuery = default(ODataQuery<IntegrationAccountMapFilter>), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// <summary> /// Gets an integration account map. /// </summary> @@ -137,6 +137,36 @@ public partial interface IMapsOperations /// </exception> Task<AzureOperationResponse> DeleteWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, string mapName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// <summary> + /// Get the content callback url. + /// </summary> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + /// <param name='mapName'> + /// The integration account map name. + /// </param> + /// <param name='listContentCallbackUrl'> + /// </param> + /// <param name='customHeaders'> + /// The headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="Microsoft.Rest.Azure.CloudException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="Microsoft.Rest.SerializationException"> + /// Thrown when unable to deserialize the response + /// </exception> + /// <exception cref="Microsoft.Rest.ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + Task<AzureOperationResponse<WorkflowTriggerCallbackUrl>> ListContentCallbackUrlWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, string mapName, GetCallbackUrlParameters listContentCallbackUrl, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// <summary> /// Gets a list of integration account maps. /// </summary> /// <param name='nextPageLink'> @@ -157,7 +187,6 @@ public partial interface IMapsOperations /// <exception cref="Microsoft.Rest.ValidationException"> /// Thrown when a required parameter is null /// </exception> - Task<AzureOperationResponse<IPage<IntegrationAccountMap>>> ListByIntegrationAccountsNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task<AzureOperationResponse<IPage<IntegrationAccountMap>>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/IPartnersOperations.cs b/src/SDKs/Logic/Management.Logic/Generated/IIntegrationAccountPartnersOperations.cs similarity index 74% rename from src/SDKs/Logic/Management.Logic/Generated/IPartnersOperations.cs rename to src/SDKs/Logic/Management.Logic/Generated/IIntegrationAccountPartnersOperations.cs index 3fc3eb99a4ef5..7adcd632ed9ea 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/IPartnersOperations.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/IIntegrationAccountPartnersOperations.cs @@ -1,18 +1,18 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic { - using Azure; - using Management; - using Rest; - using Rest.Azure; - using Rest.Azure.OData; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; using Models; using System.Collections; using System.Collections.Generic; @@ -20,9 +20,9 @@ namespace Microsoft.Azure.Management.Logic using System.Threading.Tasks; /// <summary> - /// PartnersOperations operations. + /// IntegrationAccountPartnersOperations operations. /// </summary> - public partial interface IPartnersOperations + public partial interface IIntegrationAccountPartnersOperations { /// <summary> /// Gets a list of integration account partners. @@ -51,7 +51,7 @@ public partial interface IPartnersOperations /// <exception cref="Microsoft.Rest.ValidationException"> /// Thrown when a required parameter is null /// </exception> - Task<AzureOperationResponse<IPage<IntegrationAccountPartner>>> ListByIntegrationAccountsWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, ODataQuery<IntegrationAccountPartnerFilter> odataQuery = default(ODataQuery<IntegrationAccountPartnerFilter>), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task<AzureOperationResponse<IPage<IntegrationAccountPartner>>> ListWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, ODataQuery<IntegrationAccountPartnerFilter> odataQuery = default(ODataQuery<IntegrationAccountPartnerFilter>), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// <summary> /// Gets an integration account partner. /// </summary> @@ -137,6 +137,36 @@ public partial interface IPartnersOperations /// </exception> Task<AzureOperationResponse> DeleteWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, string partnerName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// <summary> + /// Get the content callback url. + /// </summary> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + /// <param name='partnerName'> + /// The integration account partner name. + /// </param> + /// <param name='listContentCallbackUrl'> + /// </param> + /// <param name='customHeaders'> + /// The headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="Microsoft.Rest.Azure.CloudException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="Microsoft.Rest.SerializationException"> + /// Thrown when unable to deserialize the response + /// </exception> + /// <exception cref="Microsoft.Rest.ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + Task<AzureOperationResponse<WorkflowTriggerCallbackUrl>> ListContentCallbackUrlWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, string partnerName, GetCallbackUrlParameters listContentCallbackUrl, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// <summary> /// Gets a list of integration account partners. /// </summary> /// <param name='nextPageLink'> @@ -157,7 +187,6 @@ public partial interface IPartnersOperations /// <exception cref="Microsoft.Rest.ValidationException"> /// Thrown when a required parameter is null /// </exception> - Task<AzureOperationResponse<IPage<IntegrationAccountPartner>>> ListByIntegrationAccountsNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task<AzureOperationResponse<IPage<IntegrationAccountPartner>>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/ISchemasOperations.cs b/src/SDKs/Logic/Management.Logic/Generated/IIntegrationAccountSchemasOperations.cs similarity index 74% rename from src/SDKs/Logic/Management.Logic/Generated/ISchemasOperations.cs rename to src/SDKs/Logic/Management.Logic/Generated/IIntegrationAccountSchemasOperations.cs index 80c3330e0ab28..3784b6590ee82 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/ISchemasOperations.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/IIntegrationAccountSchemasOperations.cs @@ -1,18 +1,18 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic { - using Azure; - using Management; - using Rest; - using Rest.Azure; - using Rest.Azure.OData; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; using Models; using System.Collections; using System.Collections.Generic; @@ -20,9 +20,9 @@ namespace Microsoft.Azure.Management.Logic using System.Threading.Tasks; /// <summary> - /// SchemasOperations operations. + /// IntegrationAccountSchemasOperations operations. /// </summary> - public partial interface ISchemasOperations + public partial interface IIntegrationAccountSchemasOperations { /// <summary> /// Gets a list of integration account schemas. @@ -51,7 +51,7 @@ public partial interface ISchemasOperations /// <exception cref="Microsoft.Rest.ValidationException"> /// Thrown when a required parameter is null /// </exception> - Task<AzureOperationResponse<IPage<IntegrationAccountSchema>>> ListByIntegrationAccountsWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, ODataQuery<IntegrationAccountSchemaFilter> odataQuery = default(ODataQuery<IntegrationAccountSchemaFilter>), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task<AzureOperationResponse<IPage<IntegrationAccountSchema>>> ListWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, ODataQuery<IntegrationAccountSchemaFilter> odataQuery = default(ODataQuery<IntegrationAccountSchemaFilter>), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// <summary> /// Gets an integration account schema. /// </summary> @@ -137,6 +137,36 @@ public partial interface ISchemasOperations /// </exception> Task<AzureOperationResponse> DeleteWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, string schemaName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// <summary> + /// Get the content callback url. + /// </summary> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + /// <param name='schemaName'> + /// The integration account schema name. + /// </param> + /// <param name='listContentCallbackUrl'> + /// </param> + /// <param name='customHeaders'> + /// The headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="Microsoft.Rest.Azure.CloudException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="Microsoft.Rest.SerializationException"> + /// Thrown when unable to deserialize the response + /// </exception> + /// <exception cref="Microsoft.Rest.ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + Task<AzureOperationResponse<WorkflowTriggerCallbackUrl>> ListContentCallbackUrlWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, string schemaName, GetCallbackUrlParameters listContentCallbackUrl, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// <summary> /// Gets a list of integration account schemas. /// </summary> /// <param name='nextPageLink'> @@ -157,7 +187,6 @@ public partial interface ISchemasOperations /// <exception cref="Microsoft.Rest.ValidationException"> /// Thrown when a required parameter is null /// </exception> - Task<AzureOperationResponse<IPage<IntegrationAccountSchema>>> ListByIntegrationAccountsNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task<AzureOperationResponse<IPage<IntegrationAccountSchema>>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/ISessionsOperations.cs b/src/SDKs/Logic/Management.Logic/Generated/IIntegrationAccountSessionsOperations.cs similarity index 84% rename from src/SDKs/Logic/Management.Logic/Generated/ISessionsOperations.cs rename to src/SDKs/Logic/Management.Logic/Generated/IIntegrationAccountSessionsOperations.cs index 19dadee3d97ec..55ecb8781601e 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/ISessionsOperations.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/IIntegrationAccountSessionsOperations.cs @@ -1,18 +1,18 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic { - using Azure; - using Management; - using Rest; - using Rest.Azure; - using Rest.Azure.OData; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; using Models; using System.Collections; using System.Collections.Generic; @@ -20,9 +20,9 @@ namespace Microsoft.Azure.Management.Logic using System.Threading.Tasks; /// <summary> - /// SessionsOperations operations. + /// IntegrationAccountSessionsOperations operations. /// </summary> - public partial interface ISessionsOperations + public partial interface IIntegrationAccountSessionsOperations { /// <summary> /// Gets a list of integration account sessions. @@ -42,7 +42,7 @@ public partial interface ISessionsOperations /// <param name='cancellationToken'> /// The cancellation token. /// </param> - /// <exception cref="ErrorResponseException"> + /// <exception cref="Microsoft.Rest.Azure.CloudException"> /// Thrown when the operation returned an invalid status code /// </exception> /// <exception cref="Microsoft.Rest.SerializationException"> @@ -51,7 +51,7 @@ public partial interface ISessionsOperations /// <exception cref="Microsoft.Rest.ValidationException"> /// Thrown when a required parameter is null /// </exception> - Task<AzureOperationResponse<IPage<IntegrationAccountSession>>> ListByIntegrationAccountsWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, ODataQuery<IntegrationAccountSessionFilter> odataQuery = default(ODataQuery<IntegrationAccountSessionFilter>), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task<AzureOperationResponse<IPage<IntegrationAccountSession>>> ListWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, ODataQuery<IntegrationAccountSessionFilter> odataQuery = default(ODataQuery<IntegrationAccountSessionFilter>), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// <summary> /// Gets an integration account session. /// </summary> @@ -70,7 +70,7 @@ public partial interface ISessionsOperations /// <param name='cancellationToken'> /// The cancellation token. /// </param> - /// <exception cref="ErrorResponseException"> + /// <exception cref="Microsoft.Rest.Azure.CloudException"> /// Thrown when the operation returned an invalid status code /// </exception> /// <exception cref="Microsoft.Rest.SerializationException"> @@ -101,7 +101,7 @@ public partial interface ISessionsOperations /// <param name='cancellationToken'> /// The cancellation token. /// </param> - /// <exception cref="ErrorResponseException"> + /// <exception cref="Microsoft.Rest.Azure.CloudException"> /// Thrown when the operation returned an invalid status code /// </exception> /// <exception cref="Microsoft.Rest.SerializationException"> @@ -129,7 +129,7 @@ public partial interface ISessionsOperations /// <param name='cancellationToken'> /// The cancellation token. /// </param> - /// <exception cref="ErrorResponseException"> + /// <exception cref="Microsoft.Rest.Azure.CloudException"> /// Thrown when the operation returned an invalid status code /// </exception> /// <exception cref="Microsoft.Rest.ValidationException"> @@ -148,7 +148,7 @@ public partial interface ISessionsOperations /// <param name='cancellationToken'> /// The cancellation token. /// </param> - /// <exception cref="ErrorResponseException"> + /// <exception cref="Microsoft.Rest.Azure.CloudException"> /// Thrown when the operation returned an invalid status code /// </exception> /// <exception cref="Microsoft.Rest.SerializationException"> @@ -157,7 +157,6 @@ public partial interface ISessionsOperations /// <exception cref="Microsoft.Rest.ValidationException"> /// Thrown when a required parameter is null /// </exception> - Task<AzureOperationResponse<IPage<IntegrationAccountSession>>> ListByIntegrationAccountsNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task<AzureOperationResponse<IPage<IntegrationAccountSession>>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/IIntegrationAccountsOperations.cs b/src/SDKs/Logic/Management.Logic/Generated/IIntegrationAccountsOperations.cs index 2a0f0a2e94b8a..2f9d55ce0062d 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/IIntegrationAccountsOperations.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/IIntegrationAccountsOperations.cs @@ -1,17 +1,17 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic { - using Azure; - using Management; - using Rest; - using Rest.Azure; + using Microsoft.Rest; + using Microsoft.Rest.Azure; using Models; using System.Collections; using System.Collections.Generic; @@ -200,7 +200,88 @@ public partial interface IIntegrationAccountsOperations /// <exception cref="Microsoft.Rest.ValidationException"> /// Thrown when a required parameter is null /// </exception> - Task<AzureOperationResponse<CallbackUrl>> GetCallbackUrlWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, GetCallbackUrlParameters parameters, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task<AzureOperationResponse<CallbackUrl>> ListCallbackUrlWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, GetCallbackUrlParameters parameters, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// <summary> + /// Gets the integration account's Key Vault keys. + /// </summary> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + /// <param name='listKeyVaultKeys'> + /// The key vault parameters. + /// </param> + /// <param name='customHeaders'> + /// The headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="Microsoft.Rest.Azure.CloudException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="Microsoft.Rest.SerializationException"> + /// Thrown when unable to deserialize the response + /// </exception> + /// <exception cref="Microsoft.Rest.ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + Task<AzureOperationResponse<IEnumerable<KeyVaultKey>>> ListKeyVaultKeysWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, ListKeyVaultKeysDefinition listKeyVaultKeys, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// <summary> + /// Logs the integration account's tracking events. + /// </summary> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + /// <param name='logTrackingEvents'> + /// The callback URL parameters. + /// </param> + /// <param name='customHeaders'> + /// The headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="Microsoft.Rest.Azure.CloudException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="Microsoft.Rest.ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + Task<AzureOperationResponse> LogTrackingEventsWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, TrackingEventsDefinition logTrackingEvents, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// <summary> + /// Regenerates the integration account access key. + /// </summary> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + /// <param name='regenerateAccessKey'> + /// The access key type. + /// </param> + /// <param name='customHeaders'> + /// The headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="Microsoft.Rest.Azure.CloudException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="Microsoft.Rest.SerializationException"> + /// Thrown when unable to deserialize the response + /// </exception> + /// <exception cref="Microsoft.Rest.ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + Task<AzureOperationResponse<IntegrationAccount>> RegenerateAccessKeyWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, RegenerateActionParameter regenerateAccessKey, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// <summary> /// Gets a list of integration accounts by subscription. /// </summary> @@ -247,4 +328,3 @@ public partial interface IIntegrationAccountsOperations Task<AzureOperationResponse<IPage<IntegrationAccount>>> ListByResourceGroupNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/ILogicManagementClient.cs b/src/SDKs/Logic/Management.Logic/Generated/ILogicManagementClient.cs index 0545cfcd7f44e..a0ba215fe923f 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/ILogicManagementClient.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/ILogicManagementClient.cs @@ -1,23 +1,19 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic { - using Azure; - using Management; - using Rest; - using Rest.Azure; + using Microsoft.Rest; + using Microsoft.Rest.Azure; using Models; using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Threading; - using System.Threading.Tasks; /// <summary> /// REST API for Azure Logic Apps. @@ -55,19 +51,20 @@ public partial interface ILogicManagementClient : System.IDisposable string ApiVersion { get; } /// <summary> - /// Gets or sets the preferred language for the response. + /// The preferred language for the response. /// </summary> string AcceptLanguage { get; set; } /// <summary> - /// Gets or sets the retry timeout in seconds for Long Running - /// Operations. Default value is 30. + /// The retry timeout in seconds for Long Running Operations. Default + /// value is 30. /// </summary> int? LongRunningOperationRetryTimeout { get; set; } /// <summary> - /// When set to true a unique x-ms-client-request-id value is generated - /// and included in each request. Default is true. + /// Whether a unique x-ms-client-request-id should be generated. When + /// set to true a unique x-ms-client-request-id value is generated and + /// included in each request. Default is true. /// </summary> bool? GenerateClientRequestId { get; set; } @@ -87,6 +84,11 @@ public partial interface ILogicManagementClient : System.IDisposable /// </summary> IWorkflowTriggersOperations WorkflowTriggers { get; } + /// <summary> + /// Gets the IWorkflowVersionTriggersOperations. + /// </summary> + IWorkflowVersionTriggersOperations WorkflowVersionTriggers { get; } + /// <summary> /// Gets the IWorkflowTriggerHistoriesOperations. /// </summary> @@ -102,66 +104,70 @@ public partial interface ILogicManagementClient : System.IDisposable /// </summary> IWorkflowRunActionsOperations WorkflowRunActions { get; } + /// <summary> + /// Gets the IWorkflowRunActionRepetitionsOperations. + /// </summary> + IWorkflowRunActionRepetitionsOperations WorkflowRunActionRepetitions { get; } + + /// <summary> + /// Gets the IWorkflowRunActionScopeRepetitionsOperations. + /// </summary> + IWorkflowRunActionScopeRepetitionsOperations WorkflowRunActionScopeRepetitions { get; } + + /// <summary> + /// Gets the IWorkflowRunOperations. + /// </summary> + IWorkflowRunOperations WorkflowRunOperations { get; } + /// <summary> /// Gets the IIntegrationAccountsOperations. /// </summary> IIntegrationAccountsOperations IntegrationAccounts { get; } /// <summary> - /// Gets the ISchemasOperations. + /// Gets the IIntegrationAccountAssembliesOperations. /// </summary> - ISchemasOperations Schemas { get; } + IIntegrationAccountAssembliesOperations IntegrationAccountAssemblies { get; } /// <summary> - /// Gets the IMapsOperations. + /// Gets the IIntegrationAccountBatchConfigurationsOperations. /// </summary> - IMapsOperations Maps { get; } + IIntegrationAccountBatchConfigurationsOperations IntegrationAccountBatchConfigurations { get; } /// <summary> - /// Gets the IPartnersOperations. + /// Gets the IIntegrationAccountSchemasOperations. /// </summary> - IPartnersOperations Partners { get; } + IIntegrationAccountSchemasOperations IntegrationAccountSchemas { get; } /// <summary> - /// Gets the IAgreementsOperations. + /// Gets the IIntegrationAccountMapsOperations. /// </summary> - IAgreementsOperations Agreements { get; } + IIntegrationAccountMapsOperations IntegrationAccountMaps { get; } /// <summary> - /// Gets the ICertificatesOperations. + /// Gets the IIntegrationAccountPartnersOperations. /// </summary> - ICertificatesOperations Certificates { get; } + IIntegrationAccountPartnersOperations IntegrationAccountPartners { get; } /// <summary> - /// Gets the ISessionsOperations. + /// Gets the IIntegrationAccountAgreementsOperations. /// </summary> - ISessionsOperations Sessions { get; } + IIntegrationAccountAgreementsOperations IntegrationAccountAgreements { get; } /// <summary> - /// Lists all of the available Logic REST API operations. + /// Gets the IIntegrationAccountCertificatesOperations. /// </summary> - /// <param name='customHeaders'> - /// The headers that will be added to request. - /// </param> - /// <param name='cancellationToken'> - /// The cancellation token. - /// </param> - Task<AzureOperationResponse<IPage<Operation>>> ListOperationsWithHttpMessagesAsync(Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + IIntegrationAccountCertificatesOperations IntegrationAccountCertificates { get; } /// <summary> - /// Lists all of the available Logic REST API operations. + /// Gets the IIntegrationAccountSessionsOperations. /// </summary> - /// <param name='nextPageLink'> - /// The NextLink from the previous successful call to List operation. - /// </param> - /// <param name='customHeaders'> - /// The headers that will be added to request. - /// </param> - /// <param name='cancellationToken'> - /// The cancellation token. - /// </param> - Task<AzureOperationResponse<IPage<Operation>>> ListOperationsNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + IIntegrationAccountSessionsOperations IntegrationAccountSessions { get; } + + /// <summary> + /// Gets the IOperations. + /// </summary> + IOperations Operations { get; } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/IOperations.cs b/src/SDKs/Logic/Management.Logic/Generated/IOperations.cs new file mode 100644 index 0000000000000..db3dfc77f4e73 --- /dev/null +++ b/src/SDKs/Logic/Management.Logic/Generated/IOperations.cs @@ -0,0 +1,68 @@ +// <auto-generated> +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// </auto-generated> + +namespace Microsoft.Azure.Management.Logic +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// <summary> + /// Operations operations. + /// </summary> + public partial interface IOperations + { + /// <summary> + /// Lists all of the available Logic REST API operations. + /// </summary> + /// <param name='customHeaders'> + /// The headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="ErrorResponseException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="Microsoft.Rest.SerializationException"> + /// Thrown when unable to deserialize the response + /// </exception> + /// <exception cref="Microsoft.Rest.ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + Task<AzureOperationResponse<IPage<Operation>>> ListWithHttpMessagesAsync(Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// <summary> + /// Lists all of the available Logic REST API operations. + /// </summary> + /// <param name='nextPageLink'> + /// The NextLink from the previous successful call to List operation. + /// </param> + /// <param name='customHeaders'> + /// The headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="ErrorResponseException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="Microsoft.Rest.SerializationException"> + /// Thrown when unable to deserialize the response + /// </exception> + /// <exception cref="Microsoft.Rest.ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + Task<AzureOperationResponse<IPage<Operation>>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + } +} diff --git a/src/SDKs/Logic/Management.Logic/Generated/IWorkflowRunActionRepetitionsOperations.cs b/src/SDKs/Logic/Management.Logic/Generated/IWorkflowRunActionRepetitionsOperations.cs new file mode 100644 index 0000000000000..cd2e42f24f5db --- /dev/null +++ b/src/SDKs/Logic/Management.Logic/Generated/IWorkflowRunActionRepetitionsOperations.cs @@ -0,0 +1,126 @@ +// <auto-generated> +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// </auto-generated> + +namespace Microsoft.Azure.Management.Logic +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// <summary> + /// WorkflowRunActionRepetitionsOperations operations. + /// </summary> + public partial interface IWorkflowRunActionRepetitionsOperations + { + /// <summary> + /// Get all of a workflow run action repetitions. + /// </summary> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='workflowName'> + /// The workflow name. + /// </param> + /// <param name='runName'> + /// The workflow run name. + /// </param> + /// <param name='actionName'> + /// The workflow action name. + /// </param> + /// <param name='customHeaders'> + /// The headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="Microsoft.Rest.Azure.CloudException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="Microsoft.Rest.SerializationException"> + /// Thrown when unable to deserialize the response + /// </exception> + /// <exception cref="Microsoft.Rest.ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + Task<AzureOperationResponse<IEnumerable<WorkflowRunActionRepetitionDefinition>>> ListWithHttpMessagesAsync(string resourceGroupName, string workflowName, string runName, string actionName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// <summary> + /// Get a workflow run action repetition. + /// </summary> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='workflowName'> + /// The workflow name. + /// </param> + /// <param name='runName'> + /// The workflow run name. + /// </param> + /// <param name='actionName'> + /// The workflow action name. + /// </param> + /// <param name='repetitionName'> + /// The workflow repetition. + /// </param> + /// <param name='customHeaders'> + /// The headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="Microsoft.Rest.Azure.CloudException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="Microsoft.Rest.SerializationException"> + /// Thrown when unable to deserialize the response + /// </exception> + /// <exception cref="Microsoft.Rest.ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + Task<AzureOperationResponse<WorkflowRunActionRepetitionDefinition>> GetWithHttpMessagesAsync(string resourceGroupName, string workflowName, string runName, string actionName, string repetitionName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// <summary> + /// Lists a workflow run expression trace. + /// </summary> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='workflowName'> + /// The workflow name. + /// </param> + /// <param name='runName'> + /// The workflow run name. + /// </param> + /// <param name='actionName'> + /// The workflow action name. + /// </param> + /// <param name='repetitionName'> + /// The workflow repetition. + /// </param> + /// <param name='customHeaders'> + /// The headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="Microsoft.Rest.Azure.CloudException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="Microsoft.Rest.SerializationException"> + /// Thrown when unable to deserialize the response + /// </exception> + /// <exception cref="Microsoft.Rest.ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + Task<AzureOperationResponse<IEnumerable<ExpressionRoot>>> ListExpressionTracesWithHttpMessagesAsync(string resourceGroupName, string workflowName, string runName, string actionName, string repetitionName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + } +} diff --git a/src/SDKs/Logic/Management.Logic/Generated/IWorkflowRunActionScopeRepetitionsOperations.cs b/src/SDKs/Logic/Management.Logic/Generated/IWorkflowRunActionScopeRepetitionsOperations.cs new file mode 100644 index 0000000000000..cfe3b21fb3e5e --- /dev/null +++ b/src/SDKs/Logic/Management.Logic/Generated/IWorkflowRunActionScopeRepetitionsOperations.cs @@ -0,0 +1,92 @@ +// <auto-generated> +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// </auto-generated> + +namespace Microsoft.Azure.Management.Logic +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// <summary> + /// WorkflowRunActionScopeRepetitionsOperations operations. + /// </summary> + public partial interface IWorkflowRunActionScopeRepetitionsOperations + { + /// <summary> + /// List the workflow run action scoped repetitions. + /// </summary> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='workflowName'> + /// The workflow name. + /// </param> + /// <param name='runName'> + /// The workflow run name. + /// </param> + /// <param name='actionName'> + /// The workflow action name. + /// </param> + /// <param name='customHeaders'> + /// The headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="Microsoft.Rest.Azure.CloudException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="Microsoft.Rest.SerializationException"> + /// Thrown when unable to deserialize the response + /// </exception> + /// <exception cref="Microsoft.Rest.ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + Task<AzureOperationResponse<WorkflowRunActionRepetitionDefinitionCollection>> ListWithHttpMessagesAsync(string resourceGroupName, string workflowName, string runName, string actionName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// <summary> + /// Get a workflow run action scoped repetition. + /// </summary> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='workflowName'> + /// The workflow name. + /// </param> + /// <param name='runName'> + /// The workflow run name. + /// </param> + /// <param name='actionName'> + /// The workflow action name. + /// </param> + /// <param name='repetitionName'> + /// The workflow repetition. + /// </param> + /// <param name='customHeaders'> + /// The headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="Microsoft.Rest.Azure.CloudException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="Microsoft.Rest.SerializationException"> + /// Thrown when unable to deserialize the response + /// </exception> + /// <exception cref="Microsoft.Rest.ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + Task<AzureOperationResponse<WorkflowRunActionRepetitionDefinition>> GetWithHttpMessagesAsync(string resourceGroupName, string workflowName, string runName, string actionName, string repetitionName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + } +} diff --git a/src/SDKs/Logic/Management.Logic/Generated/IWorkflowRunActionsOperations.cs b/src/SDKs/Logic/Management.Logic/Generated/IWorkflowRunActionsOperations.cs index 1afc7392f2a46..4c588f0e333ac 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/IWorkflowRunActionsOperations.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/IWorkflowRunActionsOperations.cs @@ -1,18 +1,18 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic { - using Azure; - using Management; - using Rest; - using Rest.Azure; - using Rest.Azure.OData; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; using Models; using System.Collections; using System.Collections.Generic; @@ -87,6 +87,37 @@ public partial interface IWorkflowRunActionsOperations /// </exception> Task<AzureOperationResponse<WorkflowRunAction>> GetWithHttpMessagesAsync(string resourceGroupName, string workflowName, string runName, string actionName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// <summary> + /// Lists a workflow run expression trace. + /// </summary> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='workflowName'> + /// The workflow name. + /// </param> + /// <param name='runName'> + /// The workflow run name. + /// </param> + /// <param name='actionName'> + /// The workflow action name. + /// </param> + /// <param name='customHeaders'> + /// The headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="Microsoft.Rest.Azure.CloudException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="Microsoft.Rest.SerializationException"> + /// Thrown when unable to deserialize the response + /// </exception> + /// <exception cref="Microsoft.Rest.ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + Task<AzureOperationResponse<IEnumerable<ExpressionRoot>>> ListExpressionTracesWithHttpMessagesAsync(string resourceGroupName, string workflowName, string runName, string actionName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// <summary> /// Gets a list of workflow run actions. /// </summary> /// <param name='nextPageLink'> @@ -110,4 +141,3 @@ public partial interface IWorkflowRunActionsOperations Task<AzureOperationResponse<IPage<WorkflowRunAction>>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/IWorkflowRunOperations.cs b/src/SDKs/Logic/Management.Logic/Generated/IWorkflowRunOperations.cs new file mode 100644 index 0000000000000..5bbf9ceb55e26 --- /dev/null +++ b/src/SDKs/Logic/Management.Logic/Generated/IWorkflowRunOperations.cs @@ -0,0 +1,58 @@ +// <auto-generated> +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// </auto-generated> + +namespace Microsoft.Azure.Management.Logic +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// <summary> + /// WorkflowRunOperations operations. + /// </summary> + public partial interface IWorkflowRunOperations + { + /// <summary> + /// Gets an operation for a run. + /// </summary> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='workflowName'> + /// The workflow name. + /// </param> + /// <param name='runName'> + /// The workflow run name. + /// </param> + /// <param name='operationId'> + /// The workflow operation id. + /// </param> + /// <param name='customHeaders'> + /// The headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="Microsoft.Rest.Azure.CloudException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="Microsoft.Rest.SerializationException"> + /// Thrown when unable to deserialize the response + /// </exception> + /// <exception cref="Microsoft.Rest.ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + Task<AzureOperationResponse<WorkflowRun>> GetWithHttpMessagesAsync(string resourceGroupName, string workflowName, string runName, string operationId, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + } +} diff --git a/src/SDKs/Logic/Management.Logic/Generated/IWorkflowRunsOperations.cs b/src/SDKs/Logic/Management.Logic/Generated/IWorkflowRunsOperations.cs index 068a8eb686e3e..0f151d0e30793 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/IWorkflowRunsOperations.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/IWorkflowRunsOperations.cs @@ -1,18 +1,18 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic { - using Azure; - using Management; - using Rest; - using Rest.Azure; - using Rest.Azure.OData; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; using Models; using System.Collections; using System.Collections.Generic; @@ -129,4 +129,3 @@ public partial interface IWorkflowRunsOperations Task<AzureOperationResponse<IPage<WorkflowRun>>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/IWorkflowTriggerHistoriesOperations.cs b/src/SDKs/Logic/Management.Logic/Generated/IWorkflowTriggerHistoriesOperations.cs index 8d21ea93d7c4d..81b2005df927e 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/IWorkflowTriggerHistoriesOperations.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/IWorkflowTriggerHistoriesOperations.cs @@ -1,18 +1,18 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic { - using Azure; - using Management; - using Rest; - using Rest.Azure; - using Rest.Azure.OData; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; using Models; using System.Collections; using System.Collections.Generic; @@ -140,4 +140,3 @@ public partial interface IWorkflowTriggerHistoriesOperations Task<AzureOperationResponse<IPage<WorkflowTriggerHistory>>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/IWorkflowTriggersOperations.cs b/src/SDKs/Logic/Management.Logic/Generated/IWorkflowTriggersOperations.cs index 2988f9b2e9cb9..407afbbfefe17 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/IWorkflowTriggersOperations.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/IWorkflowTriggersOperations.cs @@ -1,18 +1,18 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic { - using Azure; - using Management; - using Rest; - using Rest.Azure; - using Rest.Azure.OData; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; using Models; using System.Collections; using System.Collections.Generic; @@ -81,6 +81,31 @@ public partial interface IWorkflowTriggersOperations /// </exception> Task<AzureOperationResponse<WorkflowTrigger>> GetWithHttpMessagesAsync(string resourceGroupName, string workflowName, string triggerName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// <summary> + /// Resets a workflow trigger. + /// </summary> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='workflowName'> + /// The workflow name. + /// </param> + /// <param name='triggerName'> + /// The workflow trigger name. + /// </param> + /// <param name='customHeaders'> + /// The headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="Microsoft.Rest.Azure.CloudException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="Microsoft.Rest.ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + Task<AzureOperationResponse> ResetWithHttpMessagesAsync(string resourceGroupName, string workflowName, string triggerName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// <summary> /// Runs a workflow trigger. /// </summary> /// <param name='resourceGroupName'> @@ -106,7 +131,63 @@ public partial interface IWorkflowTriggersOperations /// </exception> Task<AzureOperationResponse<object>> RunWithHttpMessagesAsync(string resourceGroupName, string workflowName, string triggerName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// <summary> - /// Gets the callback URL for a workflow trigger. + /// Get the trigger schema as JSON. + /// </summary> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='workflowName'> + /// The workflow name. + /// </param> + /// <param name='triggerName'> + /// The workflow trigger name. + /// </param> + /// <param name='customHeaders'> + /// The headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="Microsoft.Rest.Azure.CloudException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="Microsoft.Rest.SerializationException"> + /// Thrown when unable to deserialize the response + /// </exception> + /// <exception cref="Microsoft.Rest.ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + Task<AzureOperationResponse<JsonSchema>> GetSchemaJsonWithHttpMessagesAsync(string resourceGroupName, string workflowName, string triggerName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// <summary> + /// Sets the state of a workflow trigger. + /// </summary> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='workflowName'> + /// The workflow name. + /// </param> + /// <param name='triggerName'> + /// The workflow trigger name. + /// </param> + /// <param name='setState'> + /// The workflow trigger state. + /// </param> + /// <param name='customHeaders'> + /// The headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="Microsoft.Rest.Azure.CloudException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="Microsoft.Rest.ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + Task<AzureOperationResponse> SetStateWithHttpMessagesAsync(string resourceGroupName, string workflowName, string triggerName, SetTriggerStateActionDefinition setState, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// <summary> + /// Get the callback URL for a workflow trigger. /// </summary> /// <param name='resourceGroupName'> /// The resource group name. @@ -157,4 +238,3 @@ public partial interface IWorkflowTriggersOperations Task<AzureOperationResponse<IPage<WorkflowTrigger>>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/IWorkflowVersionTriggersOperations.cs b/src/SDKs/Logic/Management.Logic/Generated/IWorkflowVersionTriggersOperations.cs new file mode 100644 index 0000000000000..e81be1742f2d3 --- /dev/null +++ b/src/SDKs/Logic/Management.Logic/Generated/IWorkflowVersionTriggersOperations.cs @@ -0,0 +1,61 @@ +// <auto-generated> +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// </auto-generated> + +namespace Microsoft.Azure.Management.Logic +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// <summary> + /// WorkflowVersionTriggersOperations operations. + /// </summary> + public partial interface IWorkflowVersionTriggersOperations + { + /// <summary> + /// Get the callback url for a trigger of a workflow version. + /// </summary> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='workflowName'> + /// The workflow name. + /// </param> + /// <param name='versionId'> + /// The workflow versionId. + /// </param> + /// <param name='triggerName'> + /// The workflow trigger name. + /// </param> + /// <param name='parameters'> + /// The callback URL parameters. + /// </param> + /// <param name='customHeaders'> + /// The headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="Microsoft.Rest.Azure.CloudException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="Microsoft.Rest.SerializationException"> + /// Thrown when unable to deserialize the response + /// </exception> + /// <exception cref="Microsoft.Rest.ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + Task<AzureOperationResponse<WorkflowTriggerCallbackUrl>> ListCallbackUrlWithHttpMessagesAsync(string resourceGroupName, string workflowName, string versionId, string triggerName, GetCallbackUrlParameters parameters = default(GetCallbackUrlParameters), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + } +} diff --git a/src/SDKs/Logic/Management.Logic/Generated/IWorkflowVersionsOperations.cs b/src/SDKs/Logic/Management.Logic/Generated/IWorkflowVersionsOperations.cs index fe2b58908aff3..f071e4eacf13c 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/IWorkflowVersionsOperations.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/IWorkflowVersionsOperations.cs @@ -1,17 +1,17 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic { - using Azure; - using Management; - using Rest; - using Rest.Azure; + using Microsoft.Rest; + using Microsoft.Rest.Azure; using Models; using System.Collections; using System.Collections.Generic; @@ -80,40 +80,6 @@ public partial interface IWorkflowVersionsOperations /// </exception> Task<AzureOperationResponse<WorkflowVersion>> GetWithHttpMessagesAsync(string resourceGroupName, string workflowName, string versionId, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// <summary> - /// Lists the callback URL for a trigger of a workflow version. - /// </summary> - /// <param name='resourceGroupName'> - /// The resource group name. - /// </param> - /// <param name='workflowName'> - /// The workflow name. - /// </param> - /// <param name='versionId'> - /// The workflow versionId. - /// </param> - /// <param name='triggerName'> - /// The workflow trigger name. - /// </param> - /// <param name='parameters'> - /// The callback URL parameters. - /// </param> - /// <param name='customHeaders'> - /// The headers that will be added to request. - /// </param> - /// <param name='cancellationToken'> - /// The cancellation token. - /// </param> - /// <exception cref="Microsoft.Rest.Azure.CloudException"> - /// Thrown when the operation returned an invalid status code - /// </exception> - /// <exception cref="Microsoft.Rest.SerializationException"> - /// Thrown when unable to deserialize the response - /// </exception> - /// <exception cref="Microsoft.Rest.ValidationException"> - /// Thrown when a required parameter is null - /// </exception> - Task<AzureOperationResponse<WorkflowTriggerCallbackUrl>> ListCallbackUrlWithHttpMessagesAsync(string resourceGroupName, string workflowName, string versionId, string triggerName, GetCallbackUrlParameters parameters = default(GetCallbackUrlParameters), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - /// <summary> /// Gets a list of workflow versions. /// </summary> /// <param name='nextPageLink'> @@ -137,4 +103,3 @@ public partial interface IWorkflowVersionsOperations Task<AzureOperationResponse<IPage<WorkflowVersion>>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/IWorkflowsOperations.cs b/src/SDKs/Logic/Management.Logic/Generated/IWorkflowsOperations.cs index 328ba3bb19621..704498aa5bc4c 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/IWorkflowsOperations.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/IWorkflowsOperations.cs @@ -1,18 +1,18 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic { - using Azure; - using Management; - using Rest; - using Rest.Azure; - using Rest.Azure.OData; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; using Models; using System.Collections; using System.Collections.Generic; @@ -247,6 +247,34 @@ public partial interface IWorkflowsOperations /// </exception> Task<AzureOperationResponse<object>> GenerateUpgradedDefinitionWithHttpMessagesAsync(string resourceGroupName, string workflowName, GenerateUpgradedDefinitionParameters parameters, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// <summary> + /// Get the workflow callback Url. + /// </summary> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='workflowName'> + /// The workflow name. + /// </param> + /// <param name='listCallbackUrl'> + /// Which callback url to list. + /// </param> + /// <param name='customHeaders'> + /// The headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="Microsoft.Rest.Azure.CloudException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="Microsoft.Rest.SerializationException"> + /// Thrown when unable to deserialize the response + /// </exception> + /// <exception cref="Microsoft.Rest.ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + Task<AzureOperationResponse<WorkflowTriggerCallbackUrl>> ListCallbackUrlWithHttpMessagesAsync(string resourceGroupName, string workflowName, GetCallbackUrlParameters listCallbackUrl, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// <summary> /// Gets an OpenAPI definition for the workflow. /// </summary> /// <param name='resourceGroupName'> @@ -272,6 +300,31 @@ public partial interface IWorkflowsOperations /// </exception> Task<AzureOperationResponse<object>> ListSwaggerWithHttpMessagesAsync(string resourceGroupName, string workflowName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// <summary> + /// Moves an existing workflow. + /// </summary> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='workflowName'> + /// The workflow name. + /// </param> + /// <param name='move'> + /// The workflow to move. + /// </param> + /// <param name='customHeaders'> + /// The headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="Microsoft.Rest.Azure.CloudException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="Microsoft.Rest.ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + Task<AzureOperationResponse> MoveWithHttpMessagesAsync(string resourceGroupName, string workflowName, Workflow move, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// <summary> /// Regenerates the callback URL access key for request triggers. /// </summary> /// <param name='resourceGroupName'> @@ -297,6 +350,31 @@ public partial interface IWorkflowsOperations /// </exception> Task<AzureOperationResponse> RegenerateAccessKeyWithHttpMessagesAsync(string resourceGroupName, string workflowName, RegenerateActionParameter keyType, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// <summary> + /// Validates the workflow. + /// </summary> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='workflowName'> + /// The workflow name. + /// </param> + /// <param name='validate'> + /// The workflow. + /// </param> + /// <param name='customHeaders'> + /// The headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="Microsoft.Rest.Azure.CloudException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="Microsoft.Rest.ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + Task<AzureOperationResponse> ValidateByResourceGroupWithHttpMessagesAsync(string resourceGroupName, string workflowName, Workflow validate, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// <summary> /// Validates the workflow definition. /// </summary> /// <param name='resourceGroupName'> @@ -323,7 +401,7 @@ public partial interface IWorkflowsOperations /// <exception cref="Microsoft.Rest.ValidationException"> /// Thrown when a required parameter is null /// </exception> - Task<AzureOperationResponse> ValidateWithHttpMessagesAsync(string resourceGroupName, string location, string workflowName, Workflow workflow, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task<AzureOperationResponse> ValidateByLocationWithHttpMessagesAsync(string resourceGroupName, string location, string workflowName, Workflow workflow, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// <summary> /// Gets a list of workflows by subscription. /// </summary> @@ -370,4 +448,3 @@ public partial interface IWorkflowsOperations Task<AzureOperationResponse<IPage<Workflow>>> ListByResourceGroupNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/AgreementsOperations.cs b/src/SDKs/Logic/Management.Logic/Generated/IntegrationAccountAgreementsOperations.cs similarity index 77% rename from src/SDKs/Logic/Management.Logic/Generated/AgreementsOperations.cs rename to src/SDKs/Logic/Management.Logic/Generated/IntegrationAccountAgreementsOperations.cs index 2b9d75775d690..dd257a6f0dc8d 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/AgreementsOperations.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/IntegrationAccountAgreementsOperations.cs @@ -1,18 +1,18 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic { - using Azure; - using Management; - using Rest; - using Rest.Azure; - using Rest.Azure.OData; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; using Models; using Newtonsoft.Json; using System.Collections; @@ -24,12 +24,12 @@ namespace Microsoft.Azure.Management.Logic using System.Threading.Tasks; /// <summary> - /// AgreementsOperations operations. + /// IntegrationAccountAgreementsOperations operations. /// </summary> - internal partial class AgreementsOperations : IServiceOperations<LogicManagementClient>, IAgreementsOperations + internal partial class IntegrationAccountAgreementsOperations : IServiceOperations<LogicManagementClient>, IIntegrationAccountAgreementsOperations { /// <summary> - /// Initializes a new instance of the AgreementsOperations class. + /// Initializes a new instance of the IntegrationAccountAgreementsOperations class. /// </summary> /// <param name='client'> /// Reference to the service client. @@ -37,7 +37,7 @@ internal partial class AgreementsOperations : IServiceOperations<LogicManagement /// <exception cref="System.ArgumentNullException"> /// Thrown when a required parameter is null /// </exception> - internal AgreementsOperations(LogicManagementClient client) + internal IntegrationAccountAgreementsOperations(LogicManagementClient client) { if (client == null) { @@ -84,7 +84,7 @@ internal AgreementsOperations(LogicManagementClient client) /// <return> /// A response object containing the response body and response headers. /// </return> - public async Task<AzureOperationResponse<IPage<IntegrationAccountAgreement>>> ListByIntegrationAccountsWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, ODataQuery<IntegrationAccountAgreementFilter> odataQuery = default(ODataQuery<IntegrationAccountAgreementFilter>), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task<AzureOperationResponse<IPage<IntegrationAccountAgreement>>> ListWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, ODataQuery<IntegrationAccountAgreementFilter> odataQuery = default(ODataQuery<IntegrationAccountAgreementFilter>), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (Client.SubscriptionId == null) { @@ -113,7 +113,7 @@ internal AgreementsOperations(LogicManagementClient client) tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("integrationAccountName", integrationAccountName); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListByIntegrationAccounts", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters); } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; @@ -139,9 +139,9 @@ internal AgreementsOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -344,9 +344,9 @@ internal AgreementsOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -561,9 +561,9 @@ internal AgreementsOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("PUT"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PUT"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -597,7 +597,7 @@ internal AgreementsOperations(LogicManagementClient client) if(agreement != null) { _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(agreement, Client.SerializationSettings); - _httpRequest.Content = new System.Net.Http.StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); } // Set Credentials @@ -787,9 +787,9 @@ internal AgreementsOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("DELETE"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("DELETE"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -843,11 +843,19 @@ internal AgreementsOperations(LogicManagementClient client) if ((int)_statusCode != 200 && (int)_statusCode != 204) { var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { + try + { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<CloudError>(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } } - else { - _responseContent = string.Empty; + catch (JsonException) + { + // Ignore the exception } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); @@ -881,6 +889,224 @@ internal AgreementsOperations(LogicManagementClient client) return _result; } + /// <summary> + /// Get the content callback url. + /// </summary> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + /// <param name='agreementName'> + /// The integration account agreement name. + /// </param> + /// <param name='listContentCallbackUrl'> + /// </param> + /// <param name='customHeaders'> + /// Headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="CloudException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="SerializationException"> + /// Thrown when unable to deserialize the response + /// </exception> + /// <exception cref="ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + /// <exception cref="System.ArgumentNullException"> + /// Thrown when a required parameter is null + /// </exception> + /// <return> + /// A response object containing the response body and response headers. + /// </return> + public async Task<AzureOperationResponse<WorkflowTriggerCallbackUrl>> ListContentCallbackUrlWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, string agreementName, GetCallbackUrlParameters listContentCallbackUrl, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (integrationAccountName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "integrationAccountName"); + } + if (agreementName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "agreementName"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (listContentCallbackUrl == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "listContentCallbackUrl"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary<string, object> tracingParameters = new Dictionary<string, object>(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("integrationAccountName", integrationAccountName); + tracingParameters.Add("agreementName", agreementName); + tracingParameters.Add("listContentCallbackUrl", listContentCallbackUrl); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListContentCallbackUrl", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/agreements/{agreementName}/listContentCallbackUrl").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{integrationAccountName}", System.Uri.EscapeDataString(integrationAccountName)); + _url = _url.Replace("{agreementName}", System.Uri.EscapeDataString(agreementName)); + List<string> _queryParameters = new List<string>(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(listContentCallbackUrl != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(listContentCallbackUrl, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<CloudError>(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse<WorkflowTriggerCallbackUrl>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<WorkflowTriggerCallbackUrl>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + /// <summary> /// Gets a list of integration account agreements. /// </summary> @@ -908,7 +1134,7 @@ internal AgreementsOperations(LogicManagementClient client) /// <return> /// A response object containing the response body and response headers. /// </return> - public async Task<AzureOperationResponse<IPage<IntegrationAccountAgreement>>> ListByIntegrationAccountsNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task<AzureOperationResponse<IPage<IntegrationAccountAgreement>>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (nextPageLink == null) { @@ -923,7 +1149,7 @@ internal AgreementsOperations(LogicManagementClient client) Dictionary<string, object> tracingParameters = new Dictionary<string, object>(); tracingParameters.Add("nextPageLink", nextPageLink); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListByIntegrationAccountsNext", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListNext", tracingParameters); } // Construct URL string _url = "{nextLink}"; @@ -934,9 +1160,9 @@ internal AgreementsOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -1056,4 +1282,3 @@ internal AgreementsOperations(LogicManagementClient client) } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/AgreementsOperationsExtensions.cs b/src/SDKs/Logic/Management.Logic/Generated/IntegrationAccountAgreementsOperationsExtensions.cs similarity index 61% rename from src/SDKs/Logic/Management.Logic/Generated/AgreementsOperationsExtensions.cs rename to src/SDKs/Logic/Management.Logic/Generated/IntegrationAccountAgreementsOperationsExtensions.cs index b1a8b84e38754..530105c9a2b47 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/AgreementsOperationsExtensions.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/IntegrationAccountAgreementsOperationsExtensions.cs @@ -1,26 +1,26 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic { - using Azure; - using Management; - using Rest; - using Rest.Azure; - using Rest.Azure.OData; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; using Models; using System.Threading; using System.Threading.Tasks; /// <summary> - /// Extension methods for AgreementsOperations. + /// Extension methods for IntegrationAccountAgreementsOperations. /// </summary> - public static partial class AgreementsOperationsExtensions + public static partial class IntegrationAccountAgreementsOperationsExtensions { /// <summary> /// Gets a list of integration account agreements. @@ -37,9 +37,9 @@ public static partial class AgreementsOperationsExtensions /// <param name='odataQuery'> /// OData parameters to apply to the operation. /// </param> - public static IPage<IntegrationAccountAgreement> ListByIntegrationAccounts(this IAgreementsOperations operations, string resourceGroupName, string integrationAccountName, ODataQuery<IntegrationAccountAgreementFilter> odataQuery = default(ODataQuery<IntegrationAccountAgreementFilter>)) + public static IPage<IntegrationAccountAgreement> List(this IIntegrationAccountAgreementsOperations operations, string resourceGroupName, string integrationAccountName, ODataQuery<IntegrationAccountAgreementFilter> odataQuery = default(ODataQuery<IntegrationAccountAgreementFilter>)) { - return operations.ListByIntegrationAccountsAsync(resourceGroupName, integrationAccountName, odataQuery).GetAwaiter().GetResult(); + return operations.ListAsync(resourceGroupName, integrationAccountName, odataQuery).GetAwaiter().GetResult(); } /// <summary> @@ -60,9 +60,9 @@ public static partial class AgreementsOperationsExtensions /// <param name='cancellationToken'> /// The cancellation token. /// </param> - public static async Task<IPage<IntegrationAccountAgreement>> ListByIntegrationAccountsAsync(this IAgreementsOperations operations, string resourceGroupName, string integrationAccountName, ODataQuery<IntegrationAccountAgreementFilter> odataQuery = default(ODataQuery<IntegrationAccountAgreementFilter>), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task<IPage<IntegrationAccountAgreement>> ListAsync(this IIntegrationAccountAgreementsOperations operations, string resourceGroupName, string integrationAccountName, ODataQuery<IntegrationAccountAgreementFilter> odataQuery = default(ODataQuery<IntegrationAccountAgreementFilter>), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListByIntegrationAccountsWithHttpMessagesAsync(resourceGroupName, integrationAccountName, odataQuery, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroupName, integrationAccountName, odataQuery, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -83,7 +83,7 @@ public static partial class AgreementsOperationsExtensions /// <param name='agreementName'> /// The integration account agreement name. /// </param> - public static IntegrationAccountAgreement Get(this IAgreementsOperations operations, string resourceGroupName, string integrationAccountName, string agreementName) + public static IntegrationAccountAgreement Get(this IIntegrationAccountAgreementsOperations operations, string resourceGroupName, string integrationAccountName, string agreementName) { return operations.GetAsync(resourceGroupName, integrationAccountName, agreementName).GetAwaiter().GetResult(); } @@ -106,7 +106,7 @@ public static IntegrationAccountAgreement Get(this IAgreementsOperations operati /// <param name='cancellationToken'> /// The cancellation token. /// </param> - public static async Task<IntegrationAccountAgreement> GetAsync(this IAgreementsOperations operations, string resourceGroupName, string integrationAccountName, string agreementName, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task<IntegrationAccountAgreement> GetAsync(this IIntegrationAccountAgreementsOperations operations, string resourceGroupName, string integrationAccountName, string agreementName, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, integrationAccountName, agreementName, null, cancellationToken).ConfigureAwait(false)) { @@ -132,7 +132,7 @@ public static IntegrationAccountAgreement Get(this IAgreementsOperations operati /// <param name='agreement'> /// The integration account agreement. /// </param> - public static IntegrationAccountAgreement CreateOrUpdate(this IAgreementsOperations operations, string resourceGroupName, string integrationAccountName, string agreementName, IntegrationAccountAgreement agreement) + public static IntegrationAccountAgreement CreateOrUpdate(this IIntegrationAccountAgreementsOperations operations, string resourceGroupName, string integrationAccountName, string agreementName, IntegrationAccountAgreement agreement) { return operations.CreateOrUpdateAsync(resourceGroupName, integrationAccountName, agreementName, agreement).GetAwaiter().GetResult(); } @@ -158,7 +158,7 @@ public static IntegrationAccountAgreement CreateOrUpdate(this IAgreementsOperati /// <param name='cancellationToken'> /// The cancellation token. /// </param> - public static async Task<IntegrationAccountAgreement> CreateOrUpdateAsync(this IAgreementsOperations operations, string resourceGroupName, string integrationAccountName, string agreementName, IntegrationAccountAgreement agreement, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task<IntegrationAccountAgreement> CreateOrUpdateAsync(this IIntegrationAccountAgreementsOperations operations, string resourceGroupName, string integrationAccountName, string agreementName, IntegrationAccountAgreement agreement, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, integrationAccountName, agreementName, agreement, null, cancellationToken).ConfigureAwait(false)) { @@ -181,7 +181,7 @@ public static IntegrationAccountAgreement CreateOrUpdate(this IAgreementsOperati /// <param name='agreementName'> /// The integration account agreement name. /// </param> - public static void Delete(this IAgreementsOperations operations, string resourceGroupName, string integrationAccountName, string agreementName) + public static void Delete(this IIntegrationAccountAgreementsOperations operations, string resourceGroupName, string integrationAccountName, string agreementName) { operations.DeleteAsync(resourceGroupName, integrationAccountName, agreementName).GetAwaiter().GetResult(); } @@ -204,9 +204,59 @@ public static void Delete(this IAgreementsOperations operations, string resource /// <param name='cancellationToken'> /// The cancellation token. /// </param> - public static async Task DeleteAsync(this IAgreementsOperations operations, string resourceGroupName, string integrationAccountName, string agreementName, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteAsync(this IIntegrationAccountAgreementsOperations operations, string resourceGroupName, string integrationAccountName, string agreementName, CancellationToken cancellationToken = default(CancellationToken)) { - await operations.DeleteWithHttpMessagesAsync(resourceGroupName, integrationAccountName, agreementName, null, cancellationToken).ConfigureAwait(false); + (await operations.DeleteWithHttpMessagesAsync(resourceGroupName, integrationAccountName, agreementName, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + /// <summary> + /// Get the content callback url. + /// </summary> + /// <param name='operations'> + /// The operations group for this extension method. + /// </param> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + /// <param name='agreementName'> + /// The integration account agreement name. + /// </param> + /// <param name='listContentCallbackUrl'> + /// </param> + public static WorkflowTriggerCallbackUrl ListContentCallbackUrl(this IIntegrationAccountAgreementsOperations operations, string resourceGroupName, string integrationAccountName, string agreementName, GetCallbackUrlParameters listContentCallbackUrl) + { + return operations.ListContentCallbackUrlAsync(resourceGroupName, integrationAccountName, agreementName, listContentCallbackUrl).GetAwaiter().GetResult(); + } + + /// <summary> + /// Get the content callback url. + /// </summary> + /// <param name='operations'> + /// The operations group for this extension method. + /// </param> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + /// <param name='agreementName'> + /// The integration account agreement name. + /// </param> + /// <param name='listContentCallbackUrl'> + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + public static async Task<WorkflowTriggerCallbackUrl> ListContentCallbackUrlAsync(this IIntegrationAccountAgreementsOperations operations, string resourceGroupName, string integrationAccountName, string agreementName, GetCallbackUrlParameters listContentCallbackUrl, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListContentCallbackUrlWithHttpMessagesAsync(resourceGroupName, integrationAccountName, agreementName, listContentCallbackUrl, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } } /// <summary> @@ -218,9 +268,9 @@ public static void Delete(this IAgreementsOperations operations, string resource /// <param name='nextPageLink'> /// The NextLink from the previous successful call to List operation. /// </param> - public static IPage<IntegrationAccountAgreement> ListByIntegrationAccountsNext(this IAgreementsOperations operations, string nextPageLink) + public static IPage<IntegrationAccountAgreement> ListNext(this IIntegrationAccountAgreementsOperations operations, string nextPageLink) { - return operations.ListByIntegrationAccountsNextAsync(nextPageLink).GetAwaiter().GetResult(); + return operations.ListNextAsync(nextPageLink).GetAwaiter().GetResult(); } /// <summary> @@ -235,9 +285,9 @@ public static IPage<IntegrationAccountAgreement> ListByIntegrationAccountsNext(t /// <param name='cancellationToken'> /// The cancellation token. /// </param> - public static async Task<IPage<IntegrationAccountAgreement>> ListByIntegrationAccountsNextAsync(this IAgreementsOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task<IPage<IntegrationAccountAgreement>> ListNextAsync(this IIntegrationAccountAgreementsOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListByIntegrationAccountsNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -245,4 +295,3 @@ public static IPage<IntegrationAccountAgreement> ListByIntegrationAccountsNext(t } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/PartnersOperations.cs b/src/SDKs/Logic/Management.Logic/Generated/IntegrationAccountAssembliesOperations.cs similarity index 82% rename from src/SDKs/Logic/Management.Logic/Generated/PartnersOperations.cs rename to src/SDKs/Logic/Management.Logic/Generated/IntegrationAccountAssembliesOperations.cs index c8012b7f9d7d7..f8ae35d8add5e 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/PartnersOperations.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/IntegrationAccountAssembliesOperations.cs @@ -1,18 +1,17 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic { - using Azure; - using Management; - using Rest; - using Rest.Azure; - using Rest.Azure.OData; + using Microsoft.Rest; + using Microsoft.Rest.Azure; using Models; using Newtonsoft.Json; using System.Collections; @@ -24,12 +23,12 @@ namespace Microsoft.Azure.Management.Logic using System.Threading.Tasks; /// <summary> - /// PartnersOperations operations. + /// IntegrationAccountAssembliesOperations operations. /// </summary> - internal partial class PartnersOperations : IServiceOperations<LogicManagementClient>, IPartnersOperations + internal partial class IntegrationAccountAssembliesOperations : IServiceOperations<LogicManagementClient>, IIntegrationAccountAssembliesOperations { /// <summary> - /// Initializes a new instance of the PartnersOperations class. + /// Initializes a new instance of the IntegrationAccountAssembliesOperations class. /// </summary> /// <param name='client'> /// Reference to the service client. @@ -37,7 +36,7 @@ internal partial class PartnersOperations : IServiceOperations<LogicManagementCl /// <exception cref="System.ArgumentNullException"> /// Thrown when a required parameter is null /// </exception> - internal PartnersOperations(LogicManagementClient client) + internal IntegrationAccountAssembliesOperations(LogicManagementClient client) { if (client == null) { @@ -52,7 +51,7 @@ internal PartnersOperations(LogicManagementClient client) public LogicManagementClient Client { get; private set; } /// <summary> - /// Gets a list of integration account partners. + /// List the assemblies for an integration account. /// </summary> /// <param name='resourceGroupName'> /// The resource group name. @@ -60,9 +59,6 @@ internal PartnersOperations(LogicManagementClient client) /// <param name='integrationAccountName'> /// The integration account name. /// </param> - /// <param name='odataQuery'> - /// OData parameters to apply to the operation. - /// </param> /// <param name='customHeaders'> /// Headers that will be added to request. /// </param> @@ -84,7 +80,7 @@ internal PartnersOperations(LogicManagementClient client) /// <return> /// A response object containing the response body and response headers. /// </return> - public async Task<AzureOperationResponse<IPage<IntegrationAccountPartner>>> ListByIntegrationAccountsWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, ODataQuery<IntegrationAccountPartnerFilter> odataQuery = default(ODataQuery<IntegrationAccountPartnerFilter>), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task<AzureOperationResponse<IEnumerable<AssemblyDefinition>>> ListWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (Client.SubscriptionId == null) { @@ -109,27 +105,18 @@ internal PartnersOperations(LogicManagementClient client) { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary<string, object> tracingParameters = new Dictionary<string, object>(); - tracingParameters.Add("odataQuery", odataQuery); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("integrationAccountName", integrationAccountName); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListByIntegrationAccounts", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters); } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/partners").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/assemblies").ToString(); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{integrationAccountName}", System.Uri.EscapeDataString(integrationAccountName)); List<string> _queryParameters = new List<string>(); - if (odataQuery != null) - { - var _odataFilter = odataQuery.ToString(); - if (!string.IsNullOrEmpty(_odataFilter)) - { - _queryParameters.Add(_odataFilter); - } - } if (Client.ApiVersion != null) { _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); @@ -139,9 +126,9 @@ internal PartnersOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -227,7 +214,7 @@ internal PartnersOperations(LogicManagementClient client) throw ex; } // Create Result - var _result = new AzureOperationResponse<IPage<IntegrationAccountPartner>>(); + var _result = new AzureOperationResponse<IEnumerable<AssemblyDefinition>>(); _result.Request = _httpRequest; _result.Response = _httpResponse; if (_httpResponse.Headers.Contains("x-ms-request-id")) @@ -240,7 +227,7 @@ internal PartnersOperations(LogicManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<Page<IntegrationAccountPartner>>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<Page2<AssemblyDefinition>>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -260,7 +247,7 @@ internal PartnersOperations(LogicManagementClient client) } /// <summary> - /// Gets an integration account partner. + /// Get an assembly for an integration account. /// </summary> /// <param name='resourceGroupName'> /// The resource group name. @@ -268,8 +255,8 @@ internal PartnersOperations(LogicManagementClient client) /// <param name='integrationAccountName'> /// The integration account name. /// </param> - /// <param name='partnerName'> - /// The integration account partner name. + /// <param name='assemblyArtifactName'> + /// The assembly artifact name. /// </param> /// <param name='customHeaders'> /// Headers that will be added to request. @@ -292,7 +279,7 @@ internal PartnersOperations(LogicManagementClient client) /// <return> /// A response object containing the response body and response headers. /// </return> - public async Task<AzureOperationResponse<IntegrationAccountPartner>> GetWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, string partnerName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task<AzureOperationResponse<AssemblyDefinition>> GetWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, string assemblyArtifactName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (Client.SubscriptionId == null) { @@ -306,9 +293,9 @@ internal PartnersOperations(LogicManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "integrationAccountName"); } - if (partnerName == null) + if (assemblyArtifactName == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "partnerName"); + throw new ValidationException(ValidationRules.CannotBeNull, "assemblyArtifactName"); } if (Client.ApiVersion == null) { @@ -323,17 +310,17 @@ internal PartnersOperations(LogicManagementClient client) Dictionary<string, object> tracingParameters = new Dictionary<string, object>(); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("integrationAccountName", integrationAccountName); - tracingParameters.Add("partnerName", partnerName); + tracingParameters.Add("assemblyArtifactName", assemblyArtifactName); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/partners/{partnerName}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/assemblies/{assemblyArtifactName}").ToString(); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{integrationAccountName}", System.Uri.EscapeDataString(integrationAccountName)); - _url = _url.Replace("{partnerName}", System.Uri.EscapeDataString(partnerName)); + _url = _url.Replace("{assemblyArtifactName}", System.Uri.EscapeDataString(assemblyArtifactName)); List<string> _queryParameters = new List<string>(); if (Client.ApiVersion != null) { @@ -344,9 +331,9 @@ internal PartnersOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -432,7 +419,7 @@ internal PartnersOperations(LogicManagementClient client) throw ex; } // Create Result - var _result = new AzureOperationResponse<IntegrationAccountPartner>(); + var _result = new AzureOperationResponse<AssemblyDefinition>(); _result.Request = _httpRequest; _result.Response = _httpResponse; if (_httpResponse.Headers.Contains("x-ms-request-id")) @@ -445,7 +432,7 @@ internal PartnersOperations(LogicManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<IntegrationAccountPartner>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<AssemblyDefinition>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -465,7 +452,7 @@ internal PartnersOperations(LogicManagementClient client) } /// <summary> - /// Creates or updates an integration account partner. + /// Create or update an assembly for an integration account. /// </summary> /// <param name='resourceGroupName'> /// The resource group name. @@ -473,11 +460,11 @@ internal PartnersOperations(LogicManagementClient client) /// <param name='integrationAccountName'> /// The integration account name. /// </param> - /// <param name='partnerName'> - /// The integration account partner name. + /// <param name='assemblyArtifactName'> + /// The assembly artifact name. /// </param> - /// <param name='partner'> - /// The integration account partner. + /// <param name='assemblyArtifact'> + /// The assembly artifact. /// </param> /// <param name='customHeaders'> /// Headers that will be added to request. @@ -500,7 +487,7 @@ internal PartnersOperations(LogicManagementClient client) /// <return> /// A response object containing the response body and response headers. /// </return> - public async Task<AzureOperationResponse<IntegrationAccountPartner>> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, string partnerName, IntegrationAccountPartner partner, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task<AzureOperationResponse<AssemblyDefinition>> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, string assemblyArtifactName, AssemblyDefinition assemblyArtifact, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (Client.SubscriptionId == null) { @@ -514,21 +501,21 @@ internal PartnersOperations(LogicManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "integrationAccountName"); } - if (partnerName == null) + if (assemblyArtifactName == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "partnerName"); + throw new ValidationException(ValidationRules.CannotBeNull, "assemblyArtifactName"); } - if (Client.ApiVersion == null) + if (assemblyArtifact == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + throw new ValidationException(ValidationRules.CannotBeNull, "assemblyArtifact"); } - if (partner == null) + if (assemblyArtifact != null) { - throw new ValidationException(ValidationRules.CannotBeNull, "partner"); + assemblyArtifact.Validate(); } - if (partner != null) + if (Client.ApiVersion == null) { - partner.Validate(); + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -539,18 +526,18 @@ internal PartnersOperations(LogicManagementClient client) Dictionary<string, object> tracingParameters = new Dictionary<string, object>(); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("integrationAccountName", integrationAccountName); - tracingParameters.Add("partnerName", partnerName); - tracingParameters.Add("partner", partner); + tracingParameters.Add("assemblyArtifactName", assemblyArtifactName); + tracingParameters.Add("assemblyArtifact", assemblyArtifact); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "CreateOrUpdate", tracingParameters); } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/partners/{partnerName}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/assemblies/{assemblyArtifactName}").ToString(); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{integrationAccountName}", System.Uri.EscapeDataString(integrationAccountName)); - _url = _url.Replace("{partnerName}", System.Uri.EscapeDataString(partnerName)); + _url = _url.Replace("{assemblyArtifactName}", System.Uri.EscapeDataString(assemblyArtifactName)); List<string> _queryParameters = new List<string>(); if (Client.ApiVersion != null) { @@ -561,9 +548,9 @@ internal PartnersOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("PUT"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PUT"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -594,10 +581,10 @@ internal PartnersOperations(LogicManagementClient client) // Serialize Request string _requestContent = null; - if(partner != null) + if(assemblyArtifact != null) { - _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(partner, Client.SerializationSettings); - _httpRequest.Content = new System.Net.Http.StringContent(_requestContent, System.Text.Encoding.UTF8); + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(assemblyArtifact, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); } // Set Credentials @@ -655,7 +642,7 @@ internal PartnersOperations(LogicManagementClient client) throw ex; } // Create Result - var _result = new AzureOperationResponse<IntegrationAccountPartner>(); + var _result = new AzureOperationResponse<AssemblyDefinition>(); _result.Request = _httpRequest; _result.Response = _httpResponse; if (_httpResponse.Headers.Contains("x-ms-request-id")) @@ -668,7 +655,7 @@ internal PartnersOperations(LogicManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<IntegrationAccountPartner>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<AssemblyDefinition>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -686,7 +673,7 @@ internal PartnersOperations(LogicManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<IntegrationAccountPartner>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<AssemblyDefinition>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -706,7 +693,7 @@ internal PartnersOperations(LogicManagementClient client) } /// <summary> - /// Deletes an integration account partner. + /// Delete an assembly for an integration account. /// </summary> /// <param name='resourceGroupName'> /// The resource group name. @@ -714,8 +701,8 @@ internal PartnersOperations(LogicManagementClient client) /// <param name='integrationAccountName'> /// The integration account name. /// </param> - /// <param name='partnerName'> - /// The integration account partner name. + /// <param name='assemblyArtifactName'> + /// The assembly artifact name. /// </param> /// <param name='customHeaders'> /// Headers that will be added to request. @@ -735,7 +722,7 @@ internal PartnersOperations(LogicManagementClient client) /// <return> /// A response object containing the response body and response headers. /// </return> - public async Task<AzureOperationResponse> DeleteWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, string partnerName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task<AzureOperationResponse> DeleteWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, string assemblyArtifactName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (Client.SubscriptionId == null) { @@ -749,9 +736,9 @@ internal PartnersOperations(LogicManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "integrationAccountName"); } - if (partnerName == null) + if (assemblyArtifactName == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "partnerName"); + throw new ValidationException(ValidationRules.CannotBeNull, "assemblyArtifactName"); } if (Client.ApiVersion == null) { @@ -766,17 +753,17 @@ internal PartnersOperations(LogicManagementClient client) Dictionary<string, object> tracingParameters = new Dictionary<string, object>(); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("integrationAccountName", integrationAccountName); - tracingParameters.Add("partnerName", partnerName); + tracingParameters.Add("assemblyArtifactName", assemblyArtifactName); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "Delete", tracingParameters); } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/partners/{partnerName}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/assemblies/{assemblyArtifactName}").ToString(); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{integrationAccountName}", System.Uri.EscapeDataString(integrationAccountName)); - _url = _url.Replace("{partnerName}", System.Uri.EscapeDataString(partnerName)); + _url = _url.Replace("{assemblyArtifactName}", System.Uri.EscapeDataString(assemblyArtifactName)); List<string> _queryParameters = new List<string>(); if (Client.ApiVersion != null) { @@ -787,9 +774,9 @@ internal PartnersOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("DELETE"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("DELETE"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -843,11 +830,19 @@ internal PartnersOperations(LogicManagementClient client) if ((int)_statusCode != 200 && (int)_statusCode != 204) { var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { + try + { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<CloudError>(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } } - else { - _responseContent = string.Empty; + catch (JsonException) + { + // Ignore the exception } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); @@ -882,10 +877,16 @@ internal PartnersOperations(LogicManagementClient client) } /// <summary> - /// Gets a list of integration account partners. + /// Get the content callback url for an integration account assembly. /// </summary> - /// <param name='nextPageLink'> - /// The NextLink from the previous successful call to List operation. + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + /// <param name='assemblyArtifactName'> + /// The assembly artifact name. /// </param> /// <param name='customHeaders'> /// Headers that will be added to request. @@ -908,11 +909,27 @@ internal PartnersOperations(LogicManagementClient client) /// <return> /// A response object containing the response body and response headers. /// </return> - public async Task<AzureOperationResponse<IPage<IntegrationAccountPartner>>> ListByIntegrationAccountsNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task<AzureOperationResponse<WorkflowTriggerCallbackUrl>> ListContentCallbackUrlWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, string assemblyArtifactName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (nextPageLink == null) + if (Client.SubscriptionId == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "nextPageLink"); + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (integrationAccountName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "integrationAccountName"); + } + if (assemblyArtifactName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "assemblyArtifactName"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -921,22 +938,32 @@ internal PartnersOperations(LogicManagementClient client) { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary<string, object> tracingParameters = new Dictionary<string, object>(); - tracingParameters.Add("nextPageLink", nextPageLink); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("integrationAccountName", integrationAccountName); + tracingParameters.Add("assemblyArtifactName", assemblyArtifactName); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListByIntegrationAccountsNext", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListContentCallbackUrl", tracingParameters); } // Construct URL - string _url = "{nextLink}"; - _url = _url.Replace("{nextLink}", nextPageLink); + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/assemblies/{assemblyArtifactName}/listContentCallbackUrl").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{integrationAccountName}", System.Uri.EscapeDataString(integrationAccountName)); + _url = _url.Replace("{assemblyArtifactName}", System.Uri.EscapeDataString(assemblyArtifactName)); List<string> _queryParameters = new List<string>(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } if (_queryParameters.Count > 0) { _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("POST"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -1022,7 +1049,7 @@ internal PartnersOperations(LogicManagementClient client) throw ex; } // Create Result - var _result = new AzureOperationResponse<IPage<IntegrationAccountPartner>>(); + var _result = new AzureOperationResponse<WorkflowTriggerCallbackUrl>(); _result.Request = _httpRequest; _result.Response = _httpResponse; if (_httpResponse.Headers.Contains("x-ms-request-id")) @@ -1035,7 +1062,7 @@ internal PartnersOperations(LogicManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<Page<IntegrationAccountPartner>>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<WorkflowTriggerCallbackUrl>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -1056,4 +1083,3 @@ internal PartnersOperations(LogicManagementClient client) } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/IntegrationAccountAssembliesOperationsExtensions.cs b/src/SDKs/Logic/Management.Logic/Generated/IntegrationAccountAssembliesOperationsExtensions.cs new file mode 100644 index 0000000000000..8cda2fdf035d8 --- /dev/null +++ b/src/SDKs/Logic/Management.Logic/Generated/IntegrationAccountAssembliesOperationsExtensions.cs @@ -0,0 +1,254 @@ +// <auto-generated> +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// </auto-generated> + +namespace Microsoft.Azure.Management.Logic +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// <summary> + /// Extension methods for IntegrationAccountAssembliesOperations. + /// </summary> + public static partial class IntegrationAccountAssembliesOperationsExtensions + { + /// <summary> + /// List the assemblies for an integration account. + /// </summary> + /// <param name='operations'> + /// The operations group for this extension method. + /// </param> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + public static IEnumerable<AssemblyDefinition> List(this IIntegrationAccountAssembliesOperations operations, string resourceGroupName, string integrationAccountName) + { + return operations.ListAsync(resourceGroupName, integrationAccountName).GetAwaiter().GetResult(); + } + + /// <summary> + /// List the assemblies for an integration account. + /// </summary> + /// <param name='operations'> + /// The operations group for this extension method. + /// </param> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + public static async Task<IEnumerable<AssemblyDefinition>> ListAsync(this IIntegrationAccountAssembliesOperations operations, string resourceGroupName, string integrationAccountName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroupName, integrationAccountName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// <summary> + /// Get an assembly for an integration account. + /// </summary> + /// <param name='operations'> + /// The operations group for this extension method. + /// </param> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + /// <param name='assemblyArtifactName'> + /// The assembly artifact name. + /// </param> + public static AssemblyDefinition Get(this IIntegrationAccountAssembliesOperations operations, string resourceGroupName, string integrationAccountName, string assemblyArtifactName) + { + return operations.GetAsync(resourceGroupName, integrationAccountName, assemblyArtifactName).GetAwaiter().GetResult(); + } + + /// <summary> + /// Get an assembly for an integration account. + /// </summary> + /// <param name='operations'> + /// The operations group for this extension method. + /// </param> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + /// <param name='assemblyArtifactName'> + /// The assembly artifact name. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + public static async Task<AssemblyDefinition> GetAsync(this IIntegrationAccountAssembliesOperations operations, string resourceGroupName, string integrationAccountName, string assemblyArtifactName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, integrationAccountName, assemblyArtifactName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// <summary> + /// Create or update an assembly for an integration account. + /// </summary> + /// <param name='operations'> + /// The operations group for this extension method. + /// </param> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + /// <param name='assemblyArtifactName'> + /// The assembly artifact name. + /// </param> + /// <param name='assemblyArtifact'> + /// The assembly artifact. + /// </param> + public static AssemblyDefinition CreateOrUpdate(this IIntegrationAccountAssembliesOperations operations, string resourceGroupName, string integrationAccountName, string assemblyArtifactName, AssemblyDefinition assemblyArtifact) + { + return operations.CreateOrUpdateAsync(resourceGroupName, integrationAccountName, assemblyArtifactName, assemblyArtifact).GetAwaiter().GetResult(); + } + + /// <summary> + /// Create or update an assembly for an integration account. + /// </summary> + /// <param name='operations'> + /// The operations group for this extension method. + /// </param> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + /// <param name='assemblyArtifactName'> + /// The assembly artifact name. + /// </param> + /// <param name='assemblyArtifact'> + /// The assembly artifact. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + public static async Task<AssemblyDefinition> CreateOrUpdateAsync(this IIntegrationAccountAssembliesOperations operations, string resourceGroupName, string integrationAccountName, string assemblyArtifactName, AssemblyDefinition assemblyArtifact, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, integrationAccountName, assemblyArtifactName, assemblyArtifact, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// <summary> + /// Delete an assembly for an integration account. + /// </summary> + /// <param name='operations'> + /// The operations group for this extension method. + /// </param> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + /// <param name='assemblyArtifactName'> + /// The assembly artifact name. + /// </param> + public static void Delete(this IIntegrationAccountAssembliesOperations operations, string resourceGroupName, string integrationAccountName, string assemblyArtifactName) + { + operations.DeleteAsync(resourceGroupName, integrationAccountName, assemblyArtifactName).GetAwaiter().GetResult(); + } + + /// <summary> + /// Delete an assembly for an integration account. + /// </summary> + /// <param name='operations'> + /// The operations group for this extension method. + /// </param> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + /// <param name='assemblyArtifactName'> + /// The assembly artifact name. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + public static async Task DeleteAsync(this IIntegrationAccountAssembliesOperations operations, string resourceGroupName, string integrationAccountName, string assemblyArtifactName, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.DeleteWithHttpMessagesAsync(resourceGroupName, integrationAccountName, assemblyArtifactName, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + /// <summary> + /// Get the content callback url for an integration account assembly. + /// </summary> + /// <param name='operations'> + /// The operations group for this extension method. + /// </param> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + /// <param name='assemblyArtifactName'> + /// The assembly artifact name. + /// </param> + public static WorkflowTriggerCallbackUrl ListContentCallbackUrl(this IIntegrationAccountAssembliesOperations operations, string resourceGroupName, string integrationAccountName, string assemblyArtifactName) + { + return operations.ListContentCallbackUrlAsync(resourceGroupName, integrationAccountName, assemblyArtifactName).GetAwaiter().GetResult(); + } + + /// <summary> + /// Get the content callback url for an integration account assembly. + /// </summary> + /// <param name='operations'> + /// The operations group for this extension method. + /// </param> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + /// <param name='assemblyArtifactName'> + /// The assembly artifact name. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + public static async Task<WorkflowTriggerCallbackUrl> ListContentCallbackUrlAsync(this IIntegrationAccountAssembliesOperations operations, string resourceGroupName, string integrationAccountName, string assemblyArtifactName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListContentCallbackUrlWithHttpMessagesAsync(resourceGroupName, integrationAccountName, assemblyArtifactName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + } +} diff --git a/src/SDKs/Logic/Management.Logic/Generated/IntegrationAccountBatchConfigurationsOperations.cs b/src/SDKs/Logic/Management.Logic/Generated/IntegrationAccountBatchConfigurationsOperations.cs new file mode 100644 index 0000000000000..6027949f6568f --- /dev/null +++ b/src/SDKs/Logic/Management.Logic/Generated/IntegrationAccountBatchConfigurationsOperations.cs @@ -0,0 +1,880 @@ +// <auto-generated> +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// </auto-generated> + +namespace Microsoft.Azure.Management.Logic +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; + + /// <summary> + /// IntegrationAccountBatchConfigurationsOperations operations. + /// </summary> + internal partial class IntegrationAccountBatchConfigurationsOperations : IServiceOperations<LogicManagementClient>, IIntegrationAccountBatchConfigurationsOperations + { + /// <summary> + /// Initializes a new instance of the IntegrationAccountBatchConfigurationsOperations class. + /// </summary> + /// <param name='client'> + /// Reference to the service client. + /// </param> + /// <exception cref="System.ArgumentNullException"> + /// Thrown when a required parameter is null + /// </exception> + internal IntegrationAccountBatchConfigurationsOperations(LogicManagementClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + Client = client; + } + + /// <summary> + /// Gets a reference to the LogicManagementClient + /// </summary> + public LogicManagementClient Client { get; private set; } + + /// <summary> + /// List the batch configurations for an integration account. + /// </summary> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + /// <param name='customHeaders'> + /// Headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="CloudException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="SerializationException"> + /// Thrown when unable to deserialize the response + /// </exception> + /// <exception cref="ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + /// <exception cref="System.ArgumentNullException"> + /// Thrown when a required parameter is null + /// </exception> + /// <return> + /// A response object containing the response body and response headers. + /// </return> + public async Task<AzureOperationResponse<IEnumerable<BatchConfiguration>>> ListWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (integrationAccountName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "integrationAccountName"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary<string, object> tracingParameters = new Dictionary<string, object>(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("integrationAccountName", integrationAccountName); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/batchConfigurations").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{integrationAccountName}", System.Uri.EscapeDataString(integrationAccountName)); + List<string> _queryParameters = new List<string>(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<CloudError>(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse<IEnumerable<BatchConfiguration>>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<Page2<BatchConfiguration>>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// <summary> + /// Get a batch configuration for an integration account. + /// </summary> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + /// <param name='batchConfigurationName'> + /// The batch configuration name. + /// </param> + /// <param name='customHeaders'> + /// Headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="CloudException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="SerializationException"> + /// Thrown when unable to deserialize the response + /// </exception> + /// <exception cref="ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + /// <exception cref="System.ArgumentNullException"> + /// Thrown when a required parameter is null + /// </exception> + /// <return> + /// A response object containing the response body and response headers. + /// </return> + public async Task<AzureOperationResponse<BatchConfiguration>> GetWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, string batchConfigurationName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (integrationAccountName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "integrationAccountName"); + } + if (batchConfigurationName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "batchConfigurationName"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary<string, object> tracingParameters = new Dictionary<string, object>(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("integrationAccountName", integrationAccountName); + tracingParameters.Add("batchConfigurationName", batchConfigurationName); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/batchConfigurations/{batchConfigurationName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{integrationAccountName}", System.Uri.EscapeDataString(integrationAccountName)); + _url = _url.Replace("{batchConfigurationName}", System.Uri.EscapeDataString(batchConfigurationName)); + List<string> _queryParameters = new List<string>(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<CloudError>(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse<BatchConfiguration>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<BatchConfiguration>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// <summary> + /// Create or update a batch configuration for an integration account. + /// </summary> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + /// <param name='batchConfigurationName'> + /// The batch configuration name. + /// </param> + /// <param name='batchConfiguration'> + /// The batch configuration. + /// </param> + /// <param name='customHeaders'> + /// Headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="CloudException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="SerializationException"> + /// Thrown when unable to deserialize the response + /// </exception> + /// <exception cref="ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + /// <exception cref="System.ArgumentNullException"> + /// Thrown when a required parameter is null + /// </exception> + /// <return> + /// A response object containing the response body and response headers. + /// </return> + public async Task<AzureOperationResponse<BatchConfiguration>> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, string batchConfigurationName, BatchConfiguration batchConfiguration, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (integrationAccountName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "integrationAccountName"); + } + if (batchConfigurationName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "batchConfigurationName"); + } + if (batchConfiguration == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "batchConfiguration"); + } + if (batchConfiguration != null) + { + batchConfiguration.Validate(); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary<string, object> tracingParameters = new Dictionary<string, object>(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("integrationAccountName", integrationAccountName); + tracingParameters.Add("batchConfigurationName", batchConfigurationName); + tracingParameters.Add("batchConfiguration", batchConfiguration); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "CreateOrUpdate", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/batchConfigurations/{batchConfigurationName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{integrationAccountName}", System.Uri.EscapeDataString(integrationAccountName)); + _url = _url.Replace("{batchConfigurationName}", System.Uri.EscapeDataString(batchConfigurationName)); + List<string> _queryParameters = new List<string>(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(batchConfiguration != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(batchConfiguration, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 201) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<CloudError>(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse<BatchConfiguration>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<BatchConfiguration>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<BatchConfiguration>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// <summary> + /// Delete a batch configuration for an integration account. + /// </summary> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + /// <param name='batchConfigurationName'> + /// The batch configuration name. + /// </param> + /// <param name='customHeaders'> + /// Headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="CloudException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + /// <exception cref="System.ArgumentNullException"> + /// Thrown when a required parameter is null + /// </exception> + /// <return> + /// A response object containing the response body and response headers. + /// </return> + public async Task<AzureOperationResponse> DeleteWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, string batchConfigurationName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (integrationAccountName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "integrationAccountName"); + } + if (batchConfigurationName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "batchConfigurationName"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary<string, object> tracingParameters = new Dictionary<string, object>(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("integrationAccountName", integrationAccountName); + tracingParameters.Add("batchConfigurationName", batchConfigurationName); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Delete", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/batchConfigurations/{batchConfigurationName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{integrationAccountName}", System.Uri.EscapeDataString(integrationAccountName)); + _url = _url.Replace("{batchConfigurationName}", System.Uri.EscapeDataString(batchConfigurationName)); + List<string> _queryParameters = new List<string>(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 204) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<CloudError>(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + } +} diff --git a/src/SDKs/Logic/Management.Logic/Generated/IntegrationAccountBatchConfigurationsOperationsExtensions.cs b/src/SDKs/Logic/Management.Logic/Generated/IntegrationAccountBatchConfigurationsOperationsExtensions.cs new file mode 100644 index 0000000000000..dc6a3df61cae5 --- /dev/null +++ b/src/SDKs/Logic/Management.Logic/Generated/IntegrationAccountBatchConfigurationsOperationsExtensions.cs @@ -0,0 +1,208 @@ +// <auto-generated> +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// </auto-generated> + +namespace Microsoft.Azure.Management.Logic +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// <summary> + /// Extension methods for IntegrationAccountBatchConfigurationsOperations. + /// </summary> + public static partial class IntegrationAccountBatchConfigurationsOperationsExtensions + { + /// <summary> + /// List the batch configurations for an integration account. + /// </summary> + /// <param name='operations'> + /// The operations group for this extension method. + /// </param> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + public static IEnumerable<BatchConfiguration> List(this IIntegrationAccountBatchConfigurationsOperations operations, string resourceGroupName, string integrationAccountName) + { + return operations.ListAsync(resourceGroupName, integrationAccountName).GetAwaiter().GetResult(); + } + + /// <summary> + /// List the batch configurations for an integration account. + /// </summary> + /// <param name='operations'> + /// The operations group for this extension method. + /// </param> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + public static async Task<IEnumerable<BatchConfiguration>> ListAsync(this IIntegrationAccountBatchConfigurationsOperations operations, string resourceGroupName, string integrationAccountName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroupName, integrationAccountName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// <summary> + /// Get a batch configuration for an integration account. + /// </summary> + /// <param name='operations'> + /// The operations group for this extension method. + /// </param> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + /// <param name='batchConfigurationName'> + /// The batch configuration name. + /// </param> + public static BatchConfiguration Get(this IIntegrationAccountBatchConfigurationsOperations operations, string resourceGroupName, string integrationAccountName, string batchConfigurationName) + { + return operations.GetAsync(resourceGroupName, integrationAccountName, batchConfigurationName).GetAwaiter().GetResult(); + } + + /// <summary> + /// Get a batch configuration for an integration account. + /// </summary> + /// <param name='operations'> + /// The operations group for this extension method. + /// </param> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + /// <param name='batchConfigurationName'> + /// The batch configuration name. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + public static async Task<BatchConfiguration> GetAsync(this IIntegrationAccountBatchConfigurationsOperations operations, string resourceGroupName, string integrationAccountName, string batchConfigurationName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, integrationAccountName, batchConfigurationName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// <summary> + /// Create or update a batch configuration for an integration account. + /// </summary> + /// <param name='operations'> + /// The operations group for this extension method. + /// </param> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + /// <param name='batchConfigurationName'> + /// The batch configuration name. + /// </param> + /// <param name='batchConfiguration'> + /// The batch configuration. + /// </param> + public static BatchConfiguration CreateOrUpdate(this IIntegrationAccountBatchConfigurationsOperations operations, string resourceGroupName, string integrationAccountName, string batchConfigurationName, BatchConfiguration batchConfiguration) + { + return operations.CreateOrUpdateAsync(resourceGroupName, integrationAccountName, batchConfigurationName, batchConfiguration).GetAwaiter().GetResult(); + } + + /// <summary> + /// Create or update a batch configuration for an integration account. + /// </summary> + /// <param name='operations'> + /// The operations group for this extension method. + /// </param> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + /// <param name='batchConfigurationName'> + /// The batch configuration name. + /// </param> + /// <param name='batchConfiguration'> + /// The batch configuration. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + public static async Task<BatchConfiguration> CreateOrUpdateAsync(this IIntegrationAccountBatchConfigurationsOperations operations, string resourceGroupName, string integrationAccountName, string batchConfigurationName, BatchConfiguration batchConfiguration, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, integrationAccountName, batchConfigurationName, batchConfiguration, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// <summary> + /// Delete a batch configuration for an integration account. + /// </summary> + /// <param name='operations'> + /// The operations group for this extension method. + /// </param> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + /// <param name='batchConfigurationName'> + /// The batch configuration name. + /// </param> + public static void Delete(this IIntegrationAccountBatchConfigurationsOperations operations, string resourceGroupName, string integrationAccountName, string batchConfigurationName) + { + operations.DeleteAsync(resourceGroupName, integrationAccountName, batchConfigurationName).GetAwaiter().GetResult(); + } + + /// <summary> + /// Delete a batch configuration for an integration account. + /// </summary> + /// <param name='operations'> + /// The operations group for this extension method. + /// </param> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + /// <param name='batchConfigurationName'> + /// The batch configuration name. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + public static async Task DeleteAsync(this IIntegrationAccountBatchConfigurationsOperations operations, string resourceGroupName, string integrationAccountName, string batchConfigurationName, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.DeleteWithHttpMessagesAsync(resourceGroupName, integrationAccountName, batchConfigurationName, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + } +} diff --git a/src/SDKs/Logic/Management.Logic/Generated/CertificatesOperations.cs b/src/SDKs/Logic/Management.Logic/Generated/IntegrationAccountCertificatesOperations.cs similarity index 94% rename from src/SDKs/Logic/Management.Logic/Generated/CertificatesOperations.cs rename to src/SDKs/Logic/Management.Logic/Generated/IntegrationAccountCertificatesOperations.cs index bea33f4c0e792..8ce50ba5d9979 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/CertificatesOperations.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/IntegrationAccountCertificatesOperations.cs @@ -1,17 +1,17 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic { - using Azure; - using Management; - using Rest; - using Rest.Azure; + using Microsoft.Rest; + using Microsoft.Rest.Azure; using Models; using Newtonsoft.Json; using System.Collections; @@ -23,12 +23,12 @@ namespace Microsoft.Azure.Management.Logic using System.Threading.Tasks; /// <summary> - /// CertificatesOperations operations. + /// IntegrationAccountCertificatesOperations operations. /// </summary> - internal partial class CertificatesOperations : IServiceOperations<LogicManagementClient>, ICertificatesOperations + internal partial class IntegrationAccountCertificatesOperations : IServiceOperations<LogicManagementClient>, IIntegrationAccountCertificatesOperations { /// <summary> - /// Initializes a new instance of the CertificatesOperations class. + /// Initializes a new instance of the IntegrationAccountCertificatesOperations class. /// </summary> /// <param name='client'> /// Reference to the service client. @@ -36,7 +36,7 @@ internal partial class CertificatesOperations : IServiceOperations<LogicManageme /// <exception cref="System.ArgumentNullException"> /// Thrown when a required parameter is null /// </exception> - internal CertificatesOperations(LogicManagementClient client) + internal IntegrationAccountCertificatesOperations(LogicManagementClient client) { if (client == null) { @@ -83,7 +83,7 @@ internal CertificatesOperations(LogicManagementClient client) /// <return> /// A response object containing the response body and response headers. /// </return> - public async Task<AzureOperationResponse<IPage<IntegrationAccountCertificate>>> ListByIntegrationAccountsWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, int? top = default(int?), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task<AzureOperationResponse<IPage<IntegrationAccountCertificate>>> ListWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, int? top = default(int?), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (Client.SubscriptionId == null) { @@ -112,7 +112,7 @@ internal CertificatesOperations(LogicManagementClient client) tracingParameters.Add("integrationAccountName", integrationAccountName); tracingParameters.Add("top", top); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListByIntegrationAccounts", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters); } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; @@ -134,9 +134,9 @@ internal CertificatesOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -339,9 +339,9 @@ internal CertificatesOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -556,9 +556,9 @@ internal CertificatesOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("PUT"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PUT"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -592,7 +592,7 @@ internal CertificatesOperations(LogicManagementClient client) if(certificate != null) { _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(certificate, Client.SerializationSettings); - _httpRequest.Content = new System.Net.Http.StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); } // Set Credentials @@ -782,9 +782,9 @@ internal CertificatesOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("DELETE"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("DELETE"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -838,11 +838,19 @@ internal CertificatesOperations(LogicManagementClient client) if ((int)_statusCode != 200 && (int)_statusCode != 204) { var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { + try + { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<CloudError>(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } } - else { - _responseContent = string.Empty; + catch (JsonException) + { + // Ignore the exception } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); @@ -903,7 +911,7 @@ internal CertificatesOperations(LogicManagementClient client) /// <return> /// A response object containing the response body and response headers. /// </return> - public async Task<AzureOperationResponse<IPage<IntegrationAccountCertificate>>> ListByIntegrationAccountsNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task<AzureOperationResponse<IPage<IntegrationAccountCertificate>>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (nextPageLink == null) { @@ -918,7 +926,7 @@ internal CertificatesOperations(LogicManagementClient client) Dictionary<string, object> tracingParameters = new Dictionary<string, object>(); tracingParameters.Add("nextPageLink", nextPageLink); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListByIntegrationAccountsNext", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListNext", tracingParameters); } // Construct URL string _url = "{nextLink}"; @@ -929,9 +937,9 @@ internal CertificatesOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -1051,4 +1059,3 @@ internal CertificatesOperations(LogicManagementClient client) } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/CertificatesOperationsExtensions.cs b/src/SDKs/Logic/Management.Logic/Generated/IntegrationAccountCertificatesOperationsExtensions.cs similarity index 76% rename from src/SDKs/Logic/Management.Logic/Generated/CertificatesOperationsExtensions.cs rename to src/SDKs/Logic/Management.Logic/Generated/IntegrationAccountCertificatesOperationsExtensions.cs index b908dedf888d7..ad21128e12813 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/CertificatesOperationsExtensions.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/IntegrationAccountCertificatesOperationsExtensions.cs @@ -1,25 +1,25 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic { - using Azure; - using Management; - using Rest; - using Rest.Azure; + using Microsoft.Rest; + using Microsoft.Rest.Azure; using Models; using System.Threading; using System.Threading.Tasks; /// <summary> - /// Extension methods for CertificatesOperations. + /// Extension methods for IntegrationAccountCertificatesOperations. /// </summary> - public static partial class CertificatesOperationsExtensions + public static partial class IntegrationAccountCertificatesOperationsExtensions { /// <summary> /// Gets a list of integration account certificates. @@ -36,9 +36,9 @@ public static partial class CertificatesOperationsExtensions /// <param name='top'> /// The number of items to be included in the result. /// </param> - public static IPage<IntegrationAccountCertificate> ListByIntegrationAccounts(this ICertificatesOperations operations, string resourceGroupName, string integrationAccountName, int? top = default(int?)) + public static IPage<IntegrationAccountCertificate> List(this IIntegrationAccountCertificatesOperations operations, string resourceGroupName, string integrationAccountName, int? top = default(int?)) { - return operations.ListByIntegrationAccountsAsync(resourceGroupName, integrationAccountName, top).GetAwaiter().GetResult(); + return operations.ListAsync(resourceGroupName, integrationAccountName, top).GetAwaiter().GetResult(); } /// <summary> @@ -59,9 +59,9 @@ public static partial class CertificatesOperationsExtensions /// <param name='cancellationToken'> /// The cancellation token. /// </param> - public static async Task<IPage<IntegrationAccountCertificate>> ListByIntegrationAccountsAsync(this ICertificatesOperations operations, string resourceGroupName, string integrationAccountName, int? top = default(int?), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task<IPage<IntegrationAccountCertificate>> ListAsync(this IIntegrationAccountCertificatesOperations operations, string resourceGroupName, string integrationAccountName, int? top = default(int?), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListByIntegrationAccountsWithHttpMessagesAsync(resourceGroupName, integrationAccountName, top, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroupName, integrationAccountName, top, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -82,7 +82,7 @@ public static partial class CertificatesOperationsExtensions /// <param name='certificateName'> /// The integration account certificate name. /// </param> - public static IntegrationAccountCertificate Get(this ICertificatesOperations operations, string resourceGroupName, string integrationAccountName, string certificateName) + public static IntegrationAccountCertificate Get(this IIntegrationAccountCertificatesOperations operations, string resourceGroupName, string integrationAccountName, string certificateName) { return operations.GetAsync(resourceGroupName, integrationAccountName, certificateName).GetAwaiter().GetResult(); } @@ -105,7 +105,7 @@ public static IntegrationAccountCertificate Get(this ICertificatesOperations ope /// <param name='cancellationToken'> /// The cancellation token. /// </param> - public static async Task<IntegrationAccountCertificate> GetAsync(this ICertificatesOperations operations, string resourceGroupName, string integrationAccountName, string certificateName, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task<IntegrationAccountCertificate> GetAsync(this IIntegrationAccountCertificatesOperations operations, string resourceGroupName, string integrationAccountName, string certificateName, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, integrationAccountName, certificateName, null, cancellationToken).ConfigureAwait(false)) { @@ -131,7 +131,7 @@ public static IntegrationAccountCertificate Get(this ICertificatesOperations ope /// <param name='certificate'> /// The integration account certificate. /// </param> - public static IntegrationAccountCertificate CreateOrUpdate(this ICertificatesOperations operations, string resourceGroupName, string integrationAccountName, string certificateName, IntegrationAccountCertificate certificate) + public static IntegrationAccountCertificate CreateOrUpdate(this IIntegrationAccountCertificatesOperations operations, string resourceGroupName, string integrationAccountName, string certificateName, IntegrationAccountCertificate certificate) { return operations.CreateOrUpdateAsync(resourceGroupName, integrationAccountName, certificateName, certificate).GetAwaiter().GetResult(); } @@ -157,7 +157,7 @@ public static IntegrationAccountCertificate CreateOrUpdate(this ICertificatesOpe /// <param name='cancellationToken'> /// The cancellation token. /// </param> - public static async Task<IntegrationAccountCertificate> CreateOrUpdateAsync(this ICertificatesOperations operations, string resourceGroupName, string integrationAccountName, string certificateName, IntegrationAccountCertificate certificate, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task<IntegrationAccountCertificate> CreateOrUpdateAsync(this IIntegrationAccountCertificatesOperations operations, string resourceGroupName, string integrationAccountName, string certificateName, IntegrationAccountCertificate certificate, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, integrationAccountName, certificateName, certificate, null, cancellationToken).ConfigureAwait(false)) { @@ -180,7 +180,7 @@ public static IntegrationAccountCertificate CreateOrUpdate(this ICertificatesOpe /// <param name='certificateName'> /// The integration account certificate name. /// </param> - public static void Delete(this ICertificatesOperations operations, string resourceGroupName, string integrationAccountName, string certificateName) + public static void Delete(this IIntegrationAccountCertificatesOperations operations, string resourceGroupName, string integrationAccountName, string certificateName) { operations.DeleteAsync(resourceGroupName, integrationAccountName, certificateName).GetAwaiter().GetResult(); } @@ -203,9 +203,9 @@ public static void Delete(this ICertificatesOperations operations, string resour /// <param name='cancellationToken'> /// The cancellation token. /// </param> - public static async Task DeleteAsync(this ICertificatesOperations operations, string resourceGroupName, string integrationAccountName, string certificateName, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteAsync(this IIntegrationAccountCertificatesOperations operations, string resourceGroupName, string integrationAccountName, string certificateName, CancellationToken cancellationToken = default(CancellationToken)) { - await operations.DeleteWithHttpMessagesAsync(resourceGroupName, integrationAccountName, certificateName, null, cancellationToken).ConfigureAwait(false); + (await operations.DeleteWithHttpMessagesAsync(resourceGroupName, integrationAccountName, certificateName, null, cancellationToken).ConfigureAwait(false)).Dispose(); } /// <summary> @@ -217,9 +217,9 @@ public static void Delete(this ICertificatesOperations operations, string resour /// <param name='nextPageLink'> /// The NextLink from the previous successful call to List operation. /// </param> - public static IPage<IntegrationAccountCertificate> ListByIntegrationAccountsNext(this ICertificatesOperations operations, string nextPageLink) + public static IPage<IntegrationAccountCertificate> ListNext(this IIntegrationAccountCertificatesOperations operations, string nextPageLink) { - return operations.ListByIntegrationAccountsNextAsync(nextPageLink).GetAwaiter().GetResult(); + return operations.ListNextAsync(nextPageLink).GetAwaiter().GetResult(); } /// <summary> @@ -234,9 +234,9 @@ public static IPage<IntegrationAccountCertificate> ListByIntegrationAccountsNext /// <param name='cancellationToken'> /// The cancellation token. /// </param> - public static async Task<IPage<IntegrationAccountCertificate>> ListByIntegrationAccountsNextAsync(this ICertificatesOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task<IPage<IntegrationAccountCertificate>> ListNextAsync(this IIntegrationAccountCertificatesOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListByIntegrationAccountsNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -244,4 +244,3 @@ public static IPage<IntegrationAccountCertificate> ListByIntegrationAccountsNext } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/MapsOperations.cs b/src/SDKs/Logic/Management.Logic/Generated/IntegrationAccountMapsOperations.cs similarity index 77% rename from src/SDKs/Logic/Management.Logic/Generated/MapsOperations.cs rename to src/SDKs/Logic/Management.Logic/Generated/IntegrationAccountMapsOperations.cs index ca612377999d9..93afbc6d05394 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/MapsOperations.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/IntegrationAccountMapsOperations.cs @@ -1,18 +1,18 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic { - using Azure; - using Management; - using Rest; - using Rest.Azure; - using Rest.Azure.OData; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; using Models; using Newtonsoft.Json; using System.Collections; @@ -24,12 +24,12 @@ namespace Microsoft.Azure.Management.Logic using System.Threading.Tasks; /// <summary> - /// MapsOperations operations. + /// IntegrationAccountMapsOperations operations. /// </summary> - internal partial class MapsOperations : IServiceOperations<LogicManagementClient>, IMapsOperations + internal partial class IntegrationAccountMapsOperations : IServiceOperations<LogicManagementClient>, IIntegrationAccountMapsOperations { /// <summary> - /// Initializes a new instance of the MapsOperations class. + /// Initializes a new instance of the IntegrationAccountMapsOperations class. /// </summary> /// <param name='client'> /// Reference to the service client. @@ -37,7 +37,7 @@ internal partial class MapsOperations : IServiceOperations<LogicManagementClient /// <exception cref="System.ArgumentNullException"> /// Thrown when a required parameter is null /// </exception> - internal MapsOperations(LogicManagementClient client) + internal IntegrationAccountMapsOperations(LogicManagementClient client) { if (client == null) { @@ -84,7 +84,7 @@ internal MapsOperations(LogicManagementClient client) /// <return> /// A response object containing the response body and response headers. /// </return> - public async Task<AzureOperationResponse<IPage<IntegrationAccountMap>>> ListByIntegrationAccountsWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, ODataQuery<IntegrationAccountMapFilter> odataQuery = default(ODataQuery<IntegrationAccountMapFilter>), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task<AzureOperationResponse<IPage<IntegrationAccountMap>>> ListWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, ODataQuery<IntegrationAccountMapFilter> odataQuery = default(ODataQuery<IntegrationAccountMapFilter>), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (Client.SubscriptionId == null) { @@ -113,7 +113,7 @@ internal MapsOperations(LogicManagementClient client) tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("integrationAccountName", integrationAccountName); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListByIntegrationAccounts", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters); } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; @@ -139,9 +139,9 @@ internal MapsOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -344,9 +344,9 @@ internal MapsOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -561,9 +561,9 @@ internal MapsOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("PUT"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PUT"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -597,7 +597,7 @@ internal MapsOperations(LogicManagementClient client) if(map != null) { _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(map, Client.SerializationSettings); - _httpRequest.Content = new System.Net.Http.StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); } // Set Credentials @@ -787,9 +787,9 @@ internal MapsOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("DELETE"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("DELETE"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -843,11 +843,19 @@ internal MapsOperations(LogicManagementClient client) if ((int)_statusCode != 200 && (int)_statusCode != 204) { var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { + try + { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<CloudError>(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } } - else { - _responseContent = string.Empty; + catch (JsonException) + { + // Ignore the exception } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); @@ -881,6 +889,224 @@ internal MapsOperations(LogicManagementClient client) return _result; } + /// <summary> + /// Get the content callback url. + /// </summary> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + /// <param name='mapName'> + /// The integration account map name. + /// </param> + /// <param name='listContentCallbackUrl'> + /// </param> + /// <param name='customHeaders'> + /// Headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="CloudException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="SerializationException"> + /// Thrown when unable to deserialize the response + /// </exception> + /// <exception cref="ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + /// <exception cref="System.ArgumentNullException"> + /// Thrown when a required parameter is null + /// </exception> + /// <return> + /// A response object containing the response body and response headers. + /// </return> + public async Task<AzureOperationResponse<WorkflowTriggerCallbackUrl>> ListContentCallbackUrlWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, string mapName, GetCallbackUrlParameters listContentCallbackUrl, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (integrationAccountName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "integrationAccountName"); + } + if (mapName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "mapName"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (listContentCallbackUrl == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "listContentCallbackUrl"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary<string, object> tracingParameters = new Dictionary<string, object>(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("integrationAccountName", integrationAccountName); + tracingParameters.Add("mapName", mapName); + tracingParameters.Add("listContentCallbackUrl", listContentCallbackUrl); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListContentCallbackUrl", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/maps/{mapName}/listContentCallbackUrl").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{integrationAccountName}", System.Uri.EscapeDataString(integrationAccountName)); + _url = _url.Replace("{mapName}", System.Uri.EscapeDataString(mapName)); + List<string> _queryParameters = new List<string>(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(listContentCallbackUrl != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(listContentCallbackUrl, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<CloudError>(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse<WorkflowTriggerCallbackUrl>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<WorkflowTriggerCallbackUrl>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + /// <summary> /// Gets a list of integration account maps. /// </summary> @@ -908,7 +1134,7 @@ internal MapsOperations(LogicManagementClient client) /// <return> /// A response object containing the response body and response headers. /// </return> - public async Task<AzureOperationResponse<IPage<IntegrationAccountMap>>> ListByIntegrationAccountsNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task<AzureOperationResponse<IPage<IntegrationAccountMap>>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (nextPageLink == null) { @@ -923,7 +1149,7 @@ internal MapsOperations(LogicManagementClient client) Dictionary<string, object> tracingParameters = new Dictionary<string, object>(); tracingParameters.Add("nextPageLink", nextPageLink); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListByIntegrationAccountsNext", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListNext", tracingParameters); } // Construct URL string _url = "{nextLink}"; @@ -934,9 +1160,9 @@ internal MapsOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -1056,4 +1282,3 @@ internal MapsOperations(LogicManagementClient client) } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/MapsOperationsExtensions.cs b/src/SDKs/Logic/Management.Logic/Generated/IntegrationAccountMapsOperationsExtensions.cs similarity index 60% rename from src/SDKs/Logic/Management.Logic/Generated/MapsOperationsExtensions.cs rename to src/SDKs/Logic/Management.Logic/Generated/IntegrationAccountMapsOperationsExtensions.cs index cdadf6d239ddb..7dfa4d1b03a8a 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/MapsOperationsExtensions.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/IntegrationAccountMapsOperationsExtensions.cs @@ -1,26 +1,26 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic { - using Azure; - using Management; - using Rest; - using Rest.Azure; - using Rest.Azure.OData; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; using Models; using System.Threading; using System.Threading.Tasks; /// <summary> - /// Extension methods for MapsOperations. + /// Extension methods for IntegrationAccountMapsOperations. /// </summary> - public static partial class MapsOperationsExtensions + public static partial class IntegrationAccountMapsOperationsExtensions { /// <summary> /// Gets a list of integration account maps. @@ -37,9 +37,9 @@ public static partial class MapsOperationsExtensions /// <param name='odataQuery'> /// OData parameters to apply to the operation. /// </param> - public static IPage<IntegrationAccountMap> ListByIntegrationAccounts(this IMapsOperations operations, string resourceGroupName, string integrationAccountName, ODataQuery<IntegrationAccountMapFilter> odataQuery = default(ODataQuery<IntegrationAccountMapFilter>)) + public static IPage<IntegrationAccountMap> List(this IIntegrationAccountMapsOperations operations, string resourceGroupName, string integrationAccountName, ODataQuery<IntegrationAccountMapFilter> odataQuery = default(ODataQuery<IntegrationAccountMapFilter>)) { - return operations.ListByIntegrationAccountsAsync(resourceGroupName, integrationAccountName, odataQuery).GetAwaiter().GetResult(); + return operations.ListAsync(resourceGroupName, integrationAccountName, odataQuery).GetAwaiter().GetResult(); } /// <summary> @@ -60,9 +60,9 @@ public static partial class MapsOperationsExtensions /// <param name='cancellationToken'> /// The cancellation token. /// </param> - public static async Task<IPage<IntegrationAccountMap>> ListByIntegrationAccountsAsync(this IMapsOperations operations, string resourceGroupName, string integrationAccountName, ODataQuery<IntegrationAccountMapFilter> odataQuery = default(ODataQuery<IntegrationAccountMapFilter>), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task<IPage<IntegrationAccountMap>> ListAsync(this IIntegrationAccountMapsOperations operations, string resourceGroupName, string integrationAccountName, ODataQuery<IntegrationAccountMapFilter> odataQuery = default(ODataQuery<IntegrationAccountMapFilter>), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListByIntegrationAccountsWithHttpMessagesAsync(resourceGroupName, integrationAccountName, odataQuery, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroupName, integrationAccountName, odataQuery, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -83,7 +83,7 @@ public static partial class MapsOperationsExtensions /// <param name='mapName'> /// The integration account map name. /// </param> - public static IntegrationAccountMap Get(this IMapsOperations operations, string resourceGroupName, string integrationAccountName, string mapName) + public static IntegrationAccountMap Get(this IIntegrationAccountMapsOperations operations, string resourceGroupName, string integrationAccountName, string mapName) { return operations.GetAsync(resourceGroupName, integrationAccountName, mapName).GetAwaiter().GetResult(); } @@ -106,7 +106,7 @@ public static IntegrationAccountMap Get(this IMapsOperations operations, string /// <param name='cancellationToken'> /// The cancellation token. /// </param> - public static async Task<IntegrationAccountMap> GetAsync(this IMapsOperations operations, string resourceGroupName, string integrationAccountName, string mapName, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task<IntegrationAccountMap> GetAsync(this IIntegrationAccountMapsOperations operations, string resourceGroupName, string integrationAccountName, string mapName, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, integrationAccountName, mapName, null, cancellationToken).ConfigureAwait(false)) { @@ -132,7 +132,7 @@ public static IntegrationAccountMap Get(this IMapsOperations operations, string /// <param name='map'> /// The integration account map. /// </param> - public static IntegrationAccountMap CreateOrUpdate(this IMapsOperations operations, string resourceGroupName, string integrationAccountName, string mapName, IntegrationAccountMap map) + public static IntegrationAccountMap CreateOrUpdate(this IIntegrationAccountMapsOperations operations, string resourceGroupName, string integrationAccountName, string mapName, IntegrationAccountMap map) { return operations.CreateOrUpdateAsync(resourceGroupName, integrationAccountName, mapName, map).GetAwaiter().GetResult(); } @@ -158,7 +158,7 @@ public static IntegrationAccountMap CreateOrUpdate(this IMapsOperations operatio /// <param name='cancellationToken'> /// The cancellation token. /// </param> - public static async Task<IntegrationAccountMap> CreateOrUpdateAsync(this IMapsOperations operations, string resourceGroupName, string integrationAccountName, string mapName, IntegrationAccountMap map, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task<IntegrationAccountMap> CreateOrUpdateAsync(this IIntegrationAccountMapsOperations operations, string resourceGroupName, string integrationAccountName, string mapName, IntegrationAccountMap map, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, integrationAccountName, mapName, map, null, cancellationToken).ConfigureAwait(false)) { @@ -181,7 +181,7 @@ public static IntegrationAccountMap CreateOrUpdate(this IMapsOperations operatio /// <param name='mapName'> /// The integration account map name. /// </param> - public static void Delete(this IMapsOperations operations, string resourceGroupName, string integrationAccountName, string mapName) + public static void Delete(this IIntegrationAccountMapsOperations operations, string resourceGroupName, string integrationAccountName, string mapName) { operations.DeleteAsync(resourceGroupName, integrationAccountName, mapName).GetAwaiter().GetResult(); } @@ -204,9 +204,59 @@ public static void Delete(this IMapsOperations operations, string resourceGroupN /// <param name='cancellationToken'> /// The cancellation token. /// </param> - public static async Task DeleteAsync(this IMapsOperations operations, string resourceGroupName, string integrationAccountName, string mapName, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteAsync(this IIntegrationAccountMapsOperations operations, string resourceGroupName, string integrationAccountName, string mapName, CancellationToken cancellationToken = default(CancellationToken)) { - await operations.DeleteWithHttpMessagesAsync(resourceGroupName, integrationAccountName, mapName, null, cancellationToken).ConfigureAwait(false); + (await operations.DeleteWithHttpMessagesAsync(resourceGroupName, integrationAccountName, mapName, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + /// <summary> + /// Get the content callback url. + /// </summary> + /// <param name='operations'> + /// The operations group for this extension method. + /// </param> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + /// <param name='mapName'> + /// The integration account map name. + /// </param> + /// <param name='listContentCallbackUrl'> + /// </param> + public static WorkflowTriggerCallbackUrl ListContentCallbackUrl(this IIntegrationAccountMapsOperations operations, string resourceGroupName, string integrationAccountName, string mapName, GetCallbackUrlParameters listContentCallbackUrl) + { + return operations.ListContentCallbackUrlAsync(resourceGroupName, integrationAccountName, mapName, listContentCallbackUrl).GetAwaiter().GetResult(); + } + + /// <summary> + /// Get the content callback url. + /// </summary> + /// <param name='operations'> + /// The operations group for this extension method. + /// </param> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + /// <param name='mapName'> + /// The integration account map name. + /// </param> + /// <param name='listContentCallbackUrl'> + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + public static async Task<WorkflowTriggerCallbackUrl> ListContentCallbackUrlAsync(this IIntegrationAccountMapsOperations operations, string resourceGroupName, string integrationAccountName, string mapName, GetCallbackUrlParameters listContentCallbackUrl, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListContentCallbackUrlWithHttpMessagesAsync(resourceGroupName, integrationAccountName, mapName, listContentCallbackUrl, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } } /// <summary> @@ -218,9 +268,9 @@ public static void Delete(this IMapsOperations operations, string resourceGroupN /// <param name='nextPageLink'> /// The NextLink from the previous successful call to List operation. /// </param> - public static IPage<IntegrationAccountMap> ListByIntegrationAccountsNext(this IMapsOperations operations, string nextPageLink) + public static IPage<IntegrationAccountMap> ListNext(this IIntegrationAccountMapsOperations operations, string nextPageLink) { - return operations.ListByIntegrationAccountsNextAsync(nextPageLink).GetAwaiter().GetResult(); + return operations.ListNextAsync(nextPageLink).GetAwaiter().GetResult(); } /// <summary> @@ -235,9 +285,9 @@ public static IPage<IntegrationAccountMap> ListByIntegrationAccountsNext(this IM /// <param name='cancellationToken'> /// The cancellation token. /// </param> - public static async Task<IPage<IntegrationAccountMap>> ListByIntegrationAccountsNextAsync(this IMapsOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task<IPage<IntegrationAccountMap>> ListNextAsync(this IIntegrationAccountMapsOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListByIntegrationAccountsNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -245,4 +295,3 @@ public static IPage<IntegrationAccountMap> ListByIntegrationAccountsNext(this IM } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/IntegrationAccountPartnersOperations.cs b/src/SDKs/Logic/Management.Logic/Generated/IntegrationAccountPartnersOperations.cs new file mode 100644 index 0000000000000..9d055dfac25d2 --- /dev/null +++ b/src/SDKs/Logic/Management.Logic/Generated/IntegrationAccountPartnersOperations.cs @@ -0,0 +1,1284 @@ +// <auto-generated> +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// </auto-generated> + +namespace Microsoft.Azure.Management.Logic +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; + using Models; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; + + /// <summary> + /// IntegrationAccountPartnersOperations operations. + /// </summary> + internal partial class IntegrationAccountPartnersOperations : IServiceOperations<LogicManagementClient>, IIntegrationAccountPartnersOperations + { + /// <summary> + /// Initializes a new instance of the IntegrationAccountPartnersOperations class. + /// </summary> + /// <param name='client'> + /// Reference to the service client. + /// </param> + /// <exception cref="System.ArgumentNullException"> + /// Thrown when a required parameter is null + /// </exception> + internal IntegrationAccountPartnersOperations(LogicManagementClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + Client = client; + } + + /// <summary> + /// Gets a reference to the LogicManagementClient + /// </summary> + public LogicManagementClient Client { get; private set; } + + /// <summary> + /// Gets a list of integration account partners. + /// </summary> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + /// <param name='odataQuery'> + /// OData parameters to apply to the operation. + /// </param> + /// <param name='customHeaders'> + /// Headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="CloudException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="SerializationException"> + /// Thrown when unable to deserialize the response + /// </exception> + /// <exception cref="ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + /// <exception cref="System.ArgumentNullException"> + /// Thrown when a required parameter is null + /// </exception> + /// <return> + /// A response object containing the response body and response headers. + /// </return> + public async Task<AzureOperationResponse<IPage<IntegrationAccountPartner>>> ListWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, ODataQuery<IntegrationAccountPartnerFilter> odataQuery = default(ODataQuery<IntegrationAccountPartnerFilter>), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (integrationAccountName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "integrationAccountName"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary<string, object> tracingParameters = new Dictionary<string, object>(); + tracingParameters.Add("odataQuery", odataQuery); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("integrationAccountName", integrationAccountName); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/partners").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{integrationAccountName}", System.Uri.EscapeDataString(integrationAccountName)); + List<string> _queryParameters = new List<string>(); + if (odataQuery != null) + { + var _odataFilter = odataQuery.ToString(); + if (!string.IsNullOrEmpty(_odataFilter)) + { + _queryParameters.Add(_odataFilter); + } + } + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<CloudError>(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse<IPage<IntegrationAccountPartner>>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<Page<IntegrationAccountPartner>>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// <summary> + /// Gets an integration account partner. + /// </summary> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + /// <param name='partnerName'> + /// The integration account partner name. + /// </param> + /// <param name='customHeaders'> + /// Headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="CloudException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="SerializationException"> + /// Thrown when unable to deserialize the response + /// </exception> + /// <exception cref="ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + /// <exception cref="System.ArgumentNullException"> + /// Thrown when a required parameter is null + /// </exception> + /// <return> + /// A response object containing the response body and response headers. + /// </return> + public async Task<AzureOperationResponse<IntegrationAccountPartner>> GetWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, string partnerName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (integrationAccountName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "integrationAccountName"); + } + if (partnerName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "partnerName"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary<string, object> tracingParameters = new Dictionary<string, object>(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("integrationAccountName", integrationAccountName); + tracingParameters.Add("partnerName", partnerName); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/partners/{partnerName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{integrationAccountName}", System.Uri.EscapeDataString(integrationAccountName)); + _url = _url.Replace("{partnerName}", System.Uri.EscapeDataString(partnerName)); + List<string> _queryParameters = new List<string>(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<CloudError>(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse<IntegrationAccountPartner>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<IntegrationAccountPartner>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// <summary> + /// Creates or updates an integration account partner. + /// </summary> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + /// <param name='partnerName'> + /// The integration account partner name. + /// </param> + /// <param name='partner'> + /// The integration account partner. + /// </param> + /// <param name='customHeaders'> + /// Headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="CloudException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="SerializationException"> + /// Thrown when unable to deserialize the response + /// </exception> + /// <exception cref="ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + /// <exception cref="System.ArgumentNullException"> + /// Thrown when a required parameter is null + /// </exception> + /// <return> + /// A response object containing the response body and response headers. + /// </return> + public async Task<AzureOperationResponse<IntegrationAccountPartner>> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, string partnerName, IntegrationAccountPartner partner, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (integrationAccountName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "integrationAccountName"); + } + if (partnerName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "partnerName"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (partner == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "partner"); + } + if (partner != null) + { + partner.Validate(); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary<string, object> tracingParameters = new Dictionary<string, object>(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("integrationAccountName", integrationAccountName); + tracingParameters.Add("partnerName", partnerName); + tracingParameters.Add("partner", partner); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "CreateOrUpdate", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/partners/{partnerName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{integrationAccountName}", System.Uri.EscapeDataString(integrationAccountName)); + _url = _url.Replace("{partnerName}", System.Uri.EscapeDataString(partnerName)); + List<string> _queryParameters = new List<string>(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(partner != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(partner, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 201) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<CloudError>(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse<IntegrationAccountPartner>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<IntegrationAccountPartner>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<IntegrationAccountPartner>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// <summary> + /// Deletes an integration account partner. + /// </summary> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + /// <param name='partnerName'> + /// The integration account partner name. + /// </param> + /// <param name='customHeaders'> + /// Headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="CloudException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + /// <exception cref="System.ArgumentNullException"> + /// Thrown when a required parameter is null + /// </exception> + /// <return> + /// A response object containing the response body and response headers. + /// </return> + public async Task<AzureOperationResponse> DeleteWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, string partnerName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (integrationAccountName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "integrationAccountName"); + } + if (partnerName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "partnerName"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary<string, object> tracingParameters = new Dictionary<string, object>(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("integrationAccountName", integrationAccountName); + tracingParameters.Add("partnerName", partnerName); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Delete", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/partners/{partnerName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{integrationAccountName}", System.Uri.EscapeDataString(integrationAccountName)); + _url = _url.Replace("{partnerName}", System.Uri.EscapeDataString(partnerName)); + List<string> _queryParameters = new List<string>(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 204) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<CloudError>(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// <summary> + /// Get the content callback url. + /// </summary> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + /// <param name='partnerName'> + /// The integration account partner name. + /// </param> + /// <param name='listContentCallbackUrl'> + /// </param> + /// <param name='customHeaders'> + /// Headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="CloudException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="SerializationException"> + /// Thrown when unable to deserialize the response + /// </exception> + /// <exception cref="ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + /// <exception cref="System.ArgumentNullException"> + /// Thrown when a required parameter is null + /// </exception> + /// <return> + /// A response object containing the response body and response headers. + /// </return> + public async Task<AzureOperationResponse<WorkflowTriggerCallbackUrl>> ListContentCallbackUrlWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, string partnerName, GetCallbackUrlParameters listContentCallbackUrl, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (integrationAccountName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "integrationAccountName"); + } + if (partnerName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "partnerName"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (listContentCallbackUrl == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "listContentCallbackUrl"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary<string, object> tracingParameters = new Dictionary<string, object>(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("integrationAccountName", integrationAccountName); + tracingParameters.Add("partnerName", partnerName); + tracingParameters.Add("listContentCallbackUrl", listContentCallbackUrl); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListContentCallbackUrl", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/partners/{partnerName}/listContentCallbackUrl").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{integrationAccountName}", System.Uri.EscapeDataString(integrationAccountName)); + _url = _url.Replace("{partnerName}", System.Uri.EscapeDataString(partnerName)); + List<string> _queryParameters = new List<string>(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(listContentCallbackUrl != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(listContentCallbackUrl, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<CloudError>(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse<WorkflowTriggerCallbackUrl>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<WorkflowTriggerCallbackUrl>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// <summary> + /// Gets a list of integration account partners. + /// </summary> + /// <param name='nextPageLink'> + /// The NextLink from the previous successful call to List operation. + /// </param> + /// <param name='customHeaders'> + /// Headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="CloudException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="SerializationException"> + /// Thrown when unable to deserialize the response + /// </exception> + /// <exception cref="ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + /// <exception cref="System.ArgumentNullException"> + /// Thrown when a required parameter is null + /// </exception> + /// <return> + /// A response object containing the response body and response headers. + /// </return> + public async Task<AzureOperationResponse<IPage<IntegrationAccountPartner>>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (nextPageLink == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "nextPageLink"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary<string, object> tracingParameters = new Dictionary<string, object>(); + tracingParameters.Add("nextPageLink", nextPageLink); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListNext", tracingParameters); + } + // Construct URL + string _url = "{nextLink}"; + _url = _url.Replace("{nextLink}", nextPageLink); + List<string> _queryParameters = new List<string>(); + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<CloudError>(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse<IPage<IntegrationAccountPartner>>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<Page<IntegrationAccountPartner>>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + } +} diff --git a/src/SDKs/Logic/Management.Logic/Generated/PartnersOperationsExtensions.cs b/src/SDKs/Logic/Management.Logic/Generated/IntegrationAccountPartnersOperationsExtensions.cs similarity index 61% rename from src/SDKs/Logic/Management.Logic/Generated/PartnersOperationsExtensions.cs rename to src/SDKs/Logic/Management.Logic/Generated/IntegrationAccountPartnersOperationsExtensions.cs index 82dd920738a10..d79efabb3c807 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/PartnersOperationsExtensions.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/IntegrationAccountPartnersOperationsExtensions.cs @@ -1,26 +1,26 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic { - using Azure; - using Management; - using Rest; - using Rest.Azure; - using Rest.Azure.OData; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; using Models; using System.Threading; using System.Threading.Tasks; /// <summary> - /// Extension methods for PartnersOperations. + /// Extension methods for IntegrationAccountPartnersOperations. /// </summary> - public static partial class PartnersOperationsExtensions + public static partial class IntegrationAccountPartnersOperationsExtensions { /// <summary> /// Gets a list of integration account partners. @@ -37,9 +37,9 @@ public static partial class PartnersOperationsExtensions /// <param name='odataQuery'> /// OData parameters to apply to the operation. /// </param> - public static IPage<IntegrationAccountPartner> ListByIntegrationAccounts(this IPartnersOperations operations, string resourceGroupName, string integrationAccountName, ODataQuery<IntegrationAccountPartnerFilter> odataQuery = default(ODataQuery<IntegrationAccountPartnerFilter>)) + public static IPage<IntegrationAccountPartner> List(this IIntegrationAccountPartnersOperations operations, string resourceGroupName, string integrationAccountName, ODataQuery<IntegrationAccountPartnerFilter> odataQuery = default(ODataQuery<IntegrationAccountPartnerFilter>)) { - return operations.ListByIntegrationAccountsAsync(resourceGroupName, integrationAccountName, odataQuery).GetAwaiter().GetResult(); + return operations.ListAsync(resourceGroupName, integrationAccountName, odataQuery).GetAwaiter().GetResult(); } /// <summary> @@ -60,9 +60,9 @@ public static partial class PartnersOperationsExtensions /// <param name='cancellationToken'> /// The cancellation token. /// </param> - public static async Task<IPage<IntegrationAccountPartner>> ListByIntegrationAccountsAsync(this IPartnersOperations operations, string resourceGroupName, string integrationAccountName, ODataQuery<IntegrationAccountPartnerFilter> odataQuery = default(ODataQuery<IntegrationAccountPartnerFilter>), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task<IPage<IntegrationAccountPartner>> ListAsync(this IIntegrationAccountPartnersOperations operations, string resourceGroupName, string integrationAccountName, ODataQuery<IntegrationAccountPartnerFilter> odataQuery = default(ODataQuery<IntegrationAccountPartnerFilter>), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListByIntegrationAccountsWithHttpMessagesAsync(resourceGroupName, integrationAccountName, odataQuery, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroupName, integrationAccountName, odataQuery, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -83,7 +83,7 @@ public static partial class PartnersOperationsExtensions /// <param name='partnerName'> /// The integration account partner name. /// </param> - public static IntegrationAccountPartner Get(this IPartnersOperations operations, string resourceGroupName, string integrationAccountName, string partnerName) + public static IntegrationAccountPartner Get(this IIntegrationAccountPartnersOperations operations, string resourceGroupName, string integrationAccountName, string partnerName) { return operations.GetAsync(resourceGroupName, integrationAccountName, partnerName).GetAwaiter().GetResult(); } @@ -106,7 +106,7 @@ public static IntegrationAccountPartner Get(this IPartnersOperations operations, /// <param name='cancellationToken'> /// The cancellation token. /// </param> - public static async Task<IntegrationAccountPartner> GetAsync(this IPartnersOperations operations, string resourceGroupName, string integrationAccountName, string partnerName, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task<IntegrationAccountPartner> GetAsync(this IIntegrationAccountPartnersOperations operations, string resourceGroupName, string integrationAccountName, string partnerName, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, integrationAccountName, partnerName, null, cancellationToken).ConfigureAwait(false)) { @@ -132,7 +132,7 @@ public static IntegrationAccountPartner Get(this IPartnersOperations operations, /// <param name='partner'> /// The integration account partner. /// </param> - public static IntegrationAccountPartner CreateOrUpdate(this IPartnersOperations operations, string resourceGroupName, string integrationAccountName, string partnerName, IntegrationAccountPartner partner) + public static IntegrationAccountPartner CreateOrUpdate(this IIntegrationAccountPartnersOperations operations, string resourceGroupName, string integrationAccountName, string partnerName, IntegrationAccountPartner partner) { return operations.CreateOrUpdateAsync(resourceGroupName, integrationAccountName, partnerName, partner).GetAwaiter().GetResult(); } @@ -158,7 +158,7 @@ public static IntegrationAccountPartner CreateOrUpdate(this IPartnersOperations /// <param name='cancellationToken'> /// The cancellation token. /// </param> - public static async Task<IntegrationAccountPartner> CreateOrUpdateAsync(this IPartnersOperations operations, string resourceGroupName, string integrationAccountName, string partnerName, IntegrationAccountPartner partner, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task<IntegrationAccountPartner> CreateOrUpdateAsync(this IIntegrationAccountPartnersOperations operations, string resourceGroupName, string integrationAccountName, string partnerName, IntegrationAccountPartner partner, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, integrationAccountName, partnerName, partner, null, cancellationToken).ConfigureAwait(false)) { @@ -181,7 +181,7 @@ public static IntegrationAccountPartner CreateOrUpdate(this IPartnersOperations /// <param name='partnerName'> /// The integration account partner name. /// </param> - public static void Delete(this IPartnersOperations operations, string resourceGroupName, string integrationAccountName, string partnerName) + public static void Delete(this IIntegrationAccountPartnersOperations operations, string resourceGroupName, string integrationAccountName, string partnerName) { operations.DeleteAsync(resourceGroupName, integrationAccountName, partnerName).GetAwaiter().GetResult(); } @@ -204,9 +204,59 @@ public static void Delete(this IPartnersOperations operations, string resourceGr /// <param name='cancellationToken'> /// The cancellation token. /// </param> - public static async Task DeleteAsync(this IPartnersOperations operations, string resourceGroupName, string integrationAccountName, string partnerName, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteAsync(this IIntegrationAccountPartnersOperations operations, string resourceGroupName, string integrationAccountName, string partnerName, CancellationToken cancellationToken = default(CancellationToken)) { - await operations.DeleteWithHttpMessagesAsync(resourceGroupName, integrationAccountName, partnerName, null, cancellationToken).ConfigureAwait(false); + (await operations.DeleteWithHttpMessagesAsync(resourceGroupName, integrationAccountName, partnerName, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + /// <summary> + /// Get the content callback url. + /// </summary> + /// <param name='operations'> + /// The operations group for this extension method. + /// </param> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + /// <param name='partnerName'> + /// The integration account partner name. + /// </param> + /// <param name='listContentCallbackUrl'> + /// </param> + public static WorkflowTriggerCallbackUrl ListContentCallbackUrl(this IIntegrationAccountPartnersOperations operations, string resourceGroupName, string integrationAccountName, string partnerName, GetCallbackUrlParameters listContentCallbackUrl) + { + return operations.ListContentCallbackUrlAsync(resourceGroupName, integrationAccountName, partnerName, listContentCallbackUrl).GetAwaiter().GetResult(); + } + + /// <summary> + /// Get the content callback url. + /// </summary> + /// <param name='operations'> + /// The operations group for this extension method. + /// </param> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + /// <param name='partnerName'> + /// The integration account partner name. + /// </param> + /// <param name='listContentCallbackUrl'> + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + public static async Task<WorkflowTriggerCallbackUrl> ListContentCallbackUrlAsync(this IIntegrationAccountPartnersOperations operations, string resourceGroupName, string integrationAccountName, string partnerName, GetCallbackUrlParameters listContentCallbackUrl, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListContentCallbackUrlWithHttpMessagesAsync(resourceGroupName, integrationAccountName, partnerName, listContentCallbackUrl, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } } /// <summary> @@ -218,9 +268,9 @@ public static void Delete(this IPartnersOperations operations, string resourceGr /// <param name='nextPageLink'> /// The NextLink from the previous successful call to List operation. /// </param> - public static IPage<IntegrationAccountPartner> ListByIntegrationAccountsNext(this IPartnersOperations operations, string nextPageLink) + public static IPage<IntegrationAccountPartner> ListNext(this IIntegrationAccountPartnersOperations operations, string nextPageLink) { - return operations.ListByIntegrationAccountsNextAsync(nextPageLink).GetAwaiter().GetResult(); + return operations.ListNextAsync(nextPageLink).GetAwaiter().GetResult(); } /// <summary> @@ -235,9 +285,9 @@ public static IPage<IntegrationAccountPartner> ListByIntegrationAccountsNext(thi /// <param name='cancellationToken'> /// The cancellation token. /// </param> - public static async Task<IPage<IntegrationAccountPartner>> ListByIntegrationAccountsNextAsync(this IPartnersOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task<IPage<IntegrationAccountPartner>> ListNextAsync(this IIntegrationAccountPartnersOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListByIntegrationAccountsNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -245,4 +295,3 @@ public static IPage<IntegrationAccountPartner> ListByIntegrationAccountsNext(thi } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/SchemasOperations.cs b/src/SDKs/Logic/Management.Logic/Generated/IntegrationAccountSchemasOperations.cs similarity index 77% rename from src/SDKs/Logic/Management.Logic/Generated/SchemasOperations.cs rename to src/SDKs/Logic/Management.Logic/Generated/IntegrationAccountSchemasOperations.cs index 62c8b00e7e399..7a753e8ed044b 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/SchemasOperations.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/IntegrationAccountSchemasOperations.cs @@ -1,18 +1,18 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic { - using Azure; - using Management; - using Rest; - using Rest.Azure; - using Rest.Azure.OData; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; using Models; using Newtonsoft.Json; using System.Collections; @@ -24,12 +24,12 @@ namespace Microsoft.Azure.Management.Logic using System.Threading.Tasks; /// <summary> - /// SchemasOperations operations. + /// IntegrationAccountSchemasOperations operations. /// </summary> - internal partial class SchemasOperations : IServiceOperations<LogicManagementClient>, ISchemasOperations + internal partial class IntegrationAccountSchemasOperations : IServiceOperations<LogicManagementClient>, IIntegrationAccountSchemasOperations { /// <summary> - /// Initializes a new instance of the SchemasOperations class. + /// Initializes a new instance of the IntegrationAccountSchemasOperations class. /// </summary> /// <param name='client'> /// Reference to the service client. @@ -37,7 +37,7 @@ internal partial class SchemasOperations : IServiceOperations<LogicManagementCli /// <exception cref="System.ArgumentNullException"> /// Thrown when a required parameter is null /// </exception> - internal SchemasOperations(LogicManagementClient client) + internal IntegrationAccountSchemasOperations(LogicManagementClient client) { if (client == null) { @@ -84,7 +84,7 @@ internal SchemasOperations(LogicManagementClient client) /// <return> /// A response object containing the response body and response headers. /// </return> - public async Task<AzureOperationResponse<IPage<IntegrationAccountSchema>>> ListByIntegrationAccountsWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, ODataQuery<IntegrationAccountSchemaFilter> odataQuery = default(ODataQuery<IntegrationAccountSchemaFilter>), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task<AzureOperationResponse<IPage<IntegrationAccountSchema>>> ListWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, ODataQuery<IntegrationAccountSchemaFilter> odataQuery = default(ODataQuery<IntegrationAccountSchemaFilter>), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (Client.SubscriptionId == null) { @@ -113,7 +113,7 @@ internal SchemasOperations(LogicManagementClient client) tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("integrationAccountName", integrationAccountName); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListByIntegrationAccounts", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters); } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; @@ -139,9 +139,9 @@ internal SchemasOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -344,9 +344,9 @@ internal SchemasOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -561,9 +561,9 @@ internal SchemasOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("PUT"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PUT"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -597,7 +597,7 @@ internal SchemasOperations(LogicManagementClient client) if(schema != null) { _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(schema, Client.SerializationSettings); - _httpRequest.Content = new System.Net.Http.StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); } // Set Credentials @@ -787,9 +787,9 @@ internal SchemasOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("DELETE"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("DELETE"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -843,11 +843,19 @@ internal SchemasOperations(LogicManagementClient client) if ((int)_statusCode != 200 && (int)_statusCode != 204) { var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { + try + { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<CloudError>(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } } - else { - _responseContent = string.Empty; + catch (JsonException) + { + // Ignore the exception } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); @@ -881,6 +889,224 @@ internal SchemasOperations(LogicManagementClient client) return _result; } + /// <summary> + /// Get the content callback url. + /// </summary> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + /// <param name='schemaName'> + /// The integration account schema name. + /// </param> + /// <param name='listContentCallbackUrl'> + /// </param> + /// <param name='customHeaders'> + /// Headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="CloudException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="SerializationException"> + /// Thrown when unable to deserialize the response + /// </exception> + /// <exception cref="ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + /// <exception cref="System.ArgumentNullException"> + /// Thrown when a required parameter is null + /// </exception> + /// <return> + /// A response object containing the response body and response headers. + /// </return> + public async Task<AzureOperationResponse<WorkflowTriggerCallbackUrl>> ListContentCallbackUrlWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, string schemaName, GetCallbackUrlParameters listContentCallbackUrl, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (integrationAccountName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "integrationAccountName"); + } + if (schemaName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "schemaName"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (listContentCallbackUrl == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "listContentCallbackUrl"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary<string, object> tracingParameters = new Dictionary<string, object>(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("integrationAccountName", integrationAccountName); + tracingParameters.Add("schemaName", schemaName); + tracingParameters.Add("listContentCallbackUrl", listContentCallbackUrl); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListContentCallbackUrl", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/schemas/{schemaName}/listContentCallbackUrl").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{integrationAccountName}", System.Uri.EscapeDataString(integrationAccountName)); + _url = _url.Replace("{schemaName}", System.Uri.EscapeDataString(schemaName)); + List<string> _queryParameters = new List<string>(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(listContentCallbackUrl != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(listContentCallbackUrl, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<CloudError>(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse<WorkflowTriggerCallbackUrl>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<WorkflowTriggerCallbackUrl>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + /// <summary> /// Gets a list of integration account schemas. /// </summary> @@ -908,7 +1134,7 @@ internal SchemasOperations(LogicManagementClient client) /// <return> /// A response object containing the response body and response headers. /// </return> - public async Task<AzureOperationResponse<IPage<IntegrationAccountSchema>>> ListByIntegrationAccountsNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task<AzureOperationResponse<IPage<IntegrationAccountSchema>>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (nextPageLink == null) { @@ -923,7 +1149,7 @@ internal SchemasOperations(LogicManagementClient client) Dictionary<string, object> tracingParameters = new Dictionary<string, object>(); tracingParameters.Add("nextPageLink", nextPageLink); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListByIntegrationAccountsNext", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListNext", tracingParameters); } // Construct URL string _url = "{nextLink}"; @@ -934,9 +1160,9 @@ internal SchemasOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -1056,4 +1282,3 @@ internal SchemasOperations(LogicManagementClient client) } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/SchemasOperationsExtensions.cs b/src/SDKs/Logic/Management.Logic/Generated/IntegrationAccountSchemasOperationsExtensions.cs similarity index 60% rename from src/SDKs/Logic/Management.Logic/Generated/SchemasOperationsExtensions.cs rename to src/SDKs/Logic/Management.Logic/Generated/IntegrationAccountSchemasOperationsExtensions.cs index e357a8e69d1e4..00959cbbf0f35 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/SchemasOperationsExtensions.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/IntegrationAccountSchemasOperationsExtensions.cs @@ -1,26 +1,26 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic { - using Azure; - using Management; - using Rest; - using Rest.Azure; - using Rest.Azure.OData; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; using Models; using System.Threading; using System.Threading.Tasks; /// <summary> - /// Extension methods for SchemasOperations. + /// Extension methods for IntegrationAccountSchemasOperations. /// </summary> - public static partial class SchemasOperationsExtensions + public static partial class IntegrationAccountSchemasOperationsExtensions { /// <summary> /// Gets a list of integration account schemas. @@ -37,9 +37,9 @@ public static partial class SchemasOperationsExtensions /// <param name='odataQuery'> /// OData parameters to apply to the operation. /// </param> - public static IPage<IntegrationAccountSchema> ListByIntegrationAccounts(this ISchemasOperations operations, string resourceGroupName, string integrationAccountName, ODataQuery<IntegrationAccountSchemaFilter> odataQuery = default(ODataQuery<IntegrationAccountSchemaFilter>)) + public static IPage<IntegrationAccountSchema> List(this IIntegrationAccountSchemasOperations operations, string resourceGroupName, string integrationAccountName, ODataQuery<IntegrationAccountSchemaFilter> odataQuery = default(ODataQuery<IntegrationAccountSchemaFilter>)) { - return operations.ListByIntegrationAccountsAsync(resourceGroupName, integrationAccountName, odataQuery).GetAwaiter().GetResult(); + return operations.ListAsync(resourceGroupName, integrationAccountName, odataQuery).GetAwaiter().GetResult(); } /// <summary> @@ -60,9 +60,9 @@ public static partial class SchemasOperationsExtensions /// <param name='cancellationToken'> /// The cancellation token. /// </param> - public static async Task<IPage<IntegrationAccountSchema>> ListByIntegrationAccountsAsync(this ISchemasOperations operations, string resourceGroupName, string integrationAccountName, ODataQuery<IntegrationAccountSchemaFilter> odataQuery = default(ODataQuery<IntegrationAccountSchemaFilter>), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task<IPage<IntegrationAccountSchema>> ListAsync(this IIntegrationAccountSchemasOperations operations, string resourceGroupName, string integrationAccountName, ODataQuery<IntegrationAccountSchemaFilter> odataQuery = default(ODataQuery<IntegrationAccountSchemaFilter>), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListByIntegrationAccountsWithHttpMessagesAsync(resourceGroupName, integrationAccountName, odataQuery, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroupName, integrationAccountName, odataQuery, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -83,7 +83,7 @@ public static partial class SchemasOperationsExtensions /// <param name='schemaName'> /// The integration account schema name. /// </param> - public static IntegrationAccountSchema Get(this ISchemasOperations operations, string resourceGroupName, string integrationAccountName, string schemaName) + public static IntegrationAccountSchema Get(this IIntegrationAccountSchemasOperations operations, string resourceGroupName, string integrationAccountName, string schemaName) { return operations.GetAsync(resourceGroupName, integrationAccountName, schemaName).GetAwaiter().GetResult(); } @@ -106,7 +106,7 @@ public static IntegrationAccountSchema Get(this ISchemasOperations operations, s /// <param name='cancellationToken'> /// The cancellation token. /// </param> - public static async Task<IntegrationAccountSchema> GetAsync(this ISchemasOperations operations, string resourceGroupName, string integrationAccountName, string schemaName, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task<IntegrationAccountSchema> GetAsync(this IIntegrationAccountSchemasOperations operations, string resourceGroupName, string integrationAccountName, string schemaName, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, integrationAccountName, schemaName, null, cancellationToken).ConfigureAwait(false)) { @@ -132,7 +132,7 @@ public static IntegrationAccountSchema Get(this ISchemasOperations operations, s /// <param name='schema'> /// The integration account schema. /// </param> - public static IntegrationAccountSchema CreateOrUpdate(this ISchemasOperations operations, string resourceGroupName, string integrationAccountName, string schemaName, IntegrationAccountSchema schema) + public static IntegrationAccountSchema CreateOrUpdate(this IIntegrationAccountSchemasOperations operations, string resourceGroupName, string integrationAccountName, string schemaName, IntegrationAccountSchema schema) { return operations.CreateOrUpdateAsync(resourceGroupName, integrationAccountName, schemaName, schema).GetAwaiter().GetResult(); } @@ -158,7 +158,7 @@ public static IntegrationAccountSchema CreateOrUpdate(this ISchemasOperations op /// <param name='cancellationToken'> /// The cancellation token. /// </param> - public static async Task<IntegrationAccountSchema> CreateOrUpdateAsync(this ISchemasOperations operations, string resourceGroupName, string integrationAccountName, string schemaName, IntegrationAccountSchema schema, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task<IntegrationAccountSchema> CreateOrUpdateAsync(this IIntegrationAccountSchemasOperations operations, string resourceGroupName, string integrationAccountName, string schemaName, IntegrationAccountSchema schema, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, integrationAccountName, schemaName, schema, null, cancellationToken).ConfigureAwait(false)) { @@ -181,7 +181,7 @@ public static IntegrationAccountSchema CreateOrUpdate(this ISchemasOperations op /// <param name='schemaName'> /// The integration account schema name. /// </param> - public static void Delete(this ISchemasOperations operations, string resourceGroupName, string integrationAccountName, string schemaName) + public static void Delete(this IIntegrationAccountSchemasOperations operations, string resourceGroupName, string integrationAccountName, string schemaName) { operations.DeleteAsync(resourceGroupName, integrationAccountName, schemaName).GetAwaiter().GetResult(); } @@ -204,9 +204,59 @@ public static void Delete(this ISchemasOperations operations, string resourceGro /// <param name='cancellationToken'> /// The cancellation token. /// </param> - public static async Task DeleteAsync(this ISchemasOperations operations, string resourceGroupName, string integrationAccountName, string schemaName, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteAsync(this IIntegrationAccountSchemasOperations operations, string resourceGroupName, string integrationAccountName, string schemaName, CancellationToken cancellationToken = default(CancellationToken)) { - await operations.DeleteWithHttpMessagesAsync(resourceGroupName, integrationAccountName, schemaName, null, cancellationToken).ConfigureAwait(false); + (await operations.DeleteWithHttpMessagesAsync(resourceGroupName, integrationAccountName, schemaName, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + /// <summary> + /// Get the content callback url. + /// </summary> + /// <param name='operations'> + /// The operations group for this extension method. + /// </param> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + /// <param name='schemaName'> + /// The integration account schema name. + /// </param> + /// <param name='listContentCallbackUrl'> + /// </param> + public static WorkflowTriggerCallbackUrl ListContentCallbackUrl(this IIntegrationAccountSchemasOperations operations, string resourceGroupName, string integrationAccountName, string schemaName, GetCallbackUrlParameters listContentCallbackUrl) + { + return operations.ListContentCallbackUrlAsync(resourceGroupName, integrationAccountName, schemaName, listContentCallbackUrl).GetAwaiter().GetResult(); + } + + /// <summary> + /// Get the content callback url. + /// </summary> + /// <param name='operations'> + /// The operations group for this extension method. + /// </param> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + /// <param name='schemaName'> + /// The integration account schema name. + /// </param> + /// <param name='listContentCallbackUrl'> + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + public static async Task<WorkflowTriggerCallbackUrl> ListContentCallbackUrlAsync(this IIntegrationAccountSchemasOperations operations, string resourceGroupName, string integrationAccountName, string schemaName, GetCallbackUrlParameters listContentCallbackUrl, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListContentCallbackUrlWithHttpMessagesAsync(resourceGroupName, integrationAccountName, schemaName, listContentCallbackUrl, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } } /// <summary> @@ -218,9 +268,9 @@ public static void Delete(this ISchemasOperations operations, string resourceGro /// <param name='nextPageLink'> /// The NextLink from the previous successful call to List operation. /// </param> - public static IPage<IntegrationAccountSchema> ListByIntegrationAccountsNext(this ISchemasOperations operations, string nextPageLink) + public static IPage<IntegrationAccountSchema> ListNext(this IIntegrationAccountSchemasOperations operations, string nextPageLink) { - return operations.ListByIntegrationAccountsNextAsync(nextPageLink).GetAwaiter().GetResult(); + return operations.ListNextAsync(nextPageLink).GetAwaiter().GetResult(); } /// <summary> @@ -235,9 +285,9 @@ public static IPage<IntegrationAccountSchema> ListByIntegrationAccountsNext(this /// <param name='cancellationToken'> /// The cancellation token. /// </param> - public static async Task<IPage<IntegrationAccountSchema>> ListByIntegrationAccountsNextAsync(this ISchemasOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task<IPage<IntegrationAccountSchema>> ListNextAsync(this IIntegrationAccountSchemasOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListByIntegrationAccountsNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -245,4 +295,3 @@ public static IPage<IntegrationAccountSchema> ListByIntegrationAccountsNext(this } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/SessionsOperations.cs b/src/SDKs/Logic/Management.Logic/Generated/IntegrationAccountSessionsOperations.cs similarity index 89% rename from src/SDKs/Logic/Management.Logic/Generated/SessionsOperations.cs rename to src/SDKs/Logic/Management.Logic/Generated/IntegrationAccountSessionsOperations.cs index e2dbd70c67db5..f2d60300c51a9 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/SessionsOperations.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/IntegrationAccountSessionsOperations.cs @@ -1,18 +1,18 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic { - using Azure; - using Management; - using Rest; - using Rest.Azure; - using Rest.Azure.OData; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; using Models; using Newtonsoft.Json; using System.Collections; @@ -24,12 +24,12 @@ namespace Microsoft.Azure.Management.Logic using System.Threading.Tasks; /// <summary> - /// SessionsOperations operations. + /// IntegrationAccountSessionsOperations operations. /// </summary> - internal partial class SessionsOperations : IServiceOperations<LogicManagementClient>, ISessionsOperations + internal partial class IntegrationAccountSessionsOperations : IServiceOperations<LogicManagementClient>, IIntegrationAccountSessionsOperations { /// <summary> - /// Initializes a new instance of the SessionsOperations class. + /// Initializes a new instance of the IntegrationAccountSessionsOperations class. /// </summary> /// <param name='client'> /// Reference to the service client. @@ -37,7 +37,7 @@ internal partial class SessionsOperations : IServiceOperations<LogicManagementCl /// <exception cref="System.ArgumentNullException"> /// Thrown when a required parameter is null /// </exception> - internal SessionsOperations(LogicManagementClient client) + internal IntegrationAccountSessionsOperations(LogicManagementClient client) { if (client == null) { @@ -69,7 +69,7 @@ internal SessionsOperations(LogicManagementClient client) /// <param name='cancellationToken'> /// The cancellation token. /// </param> - /// <exception cref="ErrorResponseException"> + /// <exception cref="CloudException"> /// Thrown when the operation returned an invalid status code /// </exception> /// <exception cref="SerializationException"> @@ -84,7 +84,7 @@ internal SessionsOperations(LogicManagementClient client) /// <return> /// A response object containing the response body and response headers. /// </return> - public async Task<AzureOperationResponse<IPage<IntegrationAccountSession>>> ListByIntegrationAccountsWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, ODataQuery<IntegrationAccountSessionFilter> odataQuery = default(ODataQuery<IntegrationAccountSessionFilter>), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task<AzureOperationResponse<IPage<IntegrationAccountSession>>> ListWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, ODataQuery<IntegrationAccountSessionFilter> odataQuery = default(ODataQuery<IntegrationAccountSessionFilter>), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (Client.SubscriptionId == null) { @@ -113,7 +113,7 @@ internal SessionsOperations(LogicManagementClient client) tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("integrationAccountName", integrationAccountName); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListByIntegrationAccounts", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters); } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; @@ -139,9 +139,9 @@ internal SessionsOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -194,13 +194,14 @@ internal SessionsOperations(LogicManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<ErrorResponse>(_responseContent, Client.DeserializationSettings); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<CloudError>(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { + ex = new CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -210,6 +211,10 @@ internal SessionsOperations(LogicManagementClient client) } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } if (_shouldTrace) { ServiceClientTracing.Error(_invocationId, ex); @@ -272,7 +277,7 @@ internal SessionsOperations(LogicManagementClient client) /// <param name='cancellationToken'> /// The cancellation token. /// </param> - /// <exception cref="ErrorResponseException"> + /// <exception cref="CloudException"> /// Thrown when the operation returned an invalid status code /// </exception> /// <exception cref="SerializationException"> @@ -339,9 +344,9 @@ internal SessionsOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -394,13 +399,14 @@ internal SessionsOperations(LogicManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<ErrorResponse>(_responseContent, Client.DeserializationSettings); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<CloudError>(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { + ex = new CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -410,6 +416,10 @@ internal SessionsOperations(LogicManagementClient client) } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } if (_shouldTrace) { ServiceClientTracing.Error(_invocationId, ex); @@ -475,7 +485,7 @@ internal SessionsOperations(LogicManagementClient client) /// <param name='cancellationToken'> /// The cancellation token. /// </param> - /// <exception cref="ErrorResponseException"> + /// <exception cref="CloudException"> /// Thrown when the operation returned an invalid status code /// </exception> /// <exception cref="SerializationException"> @@ -547,9 +557,9 @@ internal SessionsOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("PUT"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PUT"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -583,7 +593,7 @@ internal SessionsOperations(LogicManagementClient client) if(session != null) { _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(session, Client.SerializationSettings); - _httpRequest.Content = new System.Net.Http.StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); } // Set Credentials @@ -608,13 +618,14 @@ internal SessionsOperations(LogicManagementClient client) string _responseContent = null; if ((int)_statusCode != 200 && (int)_statusCode != 201) { - var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<ErrorResponse>(_responseContent, Client.DeserializationSettings); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<CloudError>(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { + ex = new CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -624,6 +635,10 @@ internal SessionsOperations(LogicManagementClient client) } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } if (_shouldTrace) { ServiceClientTracing.Error(_invocationId, ex); @@ -704,7 +719,7 @@ internal SessionsOperations(LogicManagementClient client) /// <param name='cancellationToken'> /// The cancellation token. /// </param> - /// <exception cref="ErrorResponseException"> + /// <exception cref="CloudException"> /// Thrown when the operation returned an invalid status code /// </exception> /// <exception cref="ValidationException"> @@ -768,9 +783,9 @@ internal SessionsOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("DELETE"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("DELETE"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -823,13 +838,14 @@ internal SessionsOperations(LogicManagementClient client) string _responseContent = null; if ((int)_statusCode != 200 && (int)_statusCode != 204) { - var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<ErrorResponse>(_responseContent, Client.DeserializationSettings); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<CloudError>(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { + ex = new CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -839,6 +855,10 @@ internal SessionsOperations(LogicManagementClient client) } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } if (_shouldTrace) { ServiceClientTracing.Error(_invocationId, ex); @@ -877,7 +897,7 @@ internal SessionsOperations(LogicManagementClient client) /// <param name='cancellationToken'> /// The cancellation token. /// </param> - /// <exception cref="ErrorResponseException"> + /// <exception cref="CloudException"> /// Thrown when the operation returned an invalid status code /// </exception> /// <exception cref="SerializationException"> @@ -892,7 +912,7 @@ internal SessionsOperations(LogicManagementClient client) /// <return> /// A response object containing the response body and response headers. /// </return> - public async Task<AzureOperationResponse<IPage<IntegrationAccountSession>>> ListByIntegrationAccountsNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task<AzureOperationResponse<IPage<IntegrationAccountSession>>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (nextPageLink == null) { @@ -907,7 +927,7 @@ internal SessionsOperations(LogicManagementClient client) Dictionary<string, object> tracingParameters = new Dictionary<string, object>(); tracingParameters.Add("nextPageLink", nextPageLink); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListByIntegrationAccountsNext", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListNext", tracingParameters); } // Construct URL string _url = "{nextLink}"; @@ -918,9 +938,9 @@ internal SessionsOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -973,13 +993,14 @@ internal SessionsOperations(LogicManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<ErrorResponse>(_responseContent, Client.DeserializationSettings); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<CloudError>(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { + ex = new CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -989,6 +1010,10 @@ internal SessionsOperations(LogicManagementClient client) } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } if (_shouldTrace) { ServiceClientTracing.Error(_invocationId, ex); @@ -1035,4 +1060,3 @@ internal SessionsOperations(LogicManagementClient client) } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/SessionsOperationsExtensions.cs b/src/SDKs/Logic/Management.Logic/Generated/IntegrationAccountSessionsOperationsExtensions.cs similarity index 74% rename from src/SDKs/Logic/Management.Logic/Generated/SessionsOperationsExtensions.cs rename to src/SDKs/Logic/Management.Logic/Generated/IntegrationAccountSessionsOperationsExtensions.cs index ac828ee38ef46..d4bd09e1b6692 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/SessionsOperationsExtensions.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/IntegrationAccountSessionsOperationsExtensions.cs @@ -1,26 +1,26 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic { - using Azure; - using Management; - using Rest; - using Rest.Azure; - using Rest.Azure.OData; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; using Models; using System.Threading; using System.Threading.Tasks; /// <summary> - /// Extension methods for SessionsOperations. + /// Extension methods for IntegrationAccountSessionsOperations. /// </summary> - public static partial class SessionsOperationsExtensions + public static partial class IntegrationAccountSessionsOperationsExtensions { /// <summary> /// Gets a list of integration account sessions. @@ -37,9 +37,9 @@ public static partial class SessionsOperationsExtensions /// <param name='odataQuery'> /// OData parameters to apply to the operation. /// </param> - public static IPage<IntegrationAccountSession> ListByIntegrationAccounts(this ISessionsOperations operations, string resourceGroupName, string integrationAccountName, ODataQuery<IntegrationAccountSessionFilter> odataQuery = default(ODataQuery<IntegrationAccountSessionFilter>)) + public static IPage<IntegrationAccountSession> List(this IIntegrationAccountSessionsOperations operations, string resourceGroupName, string integrationAccountName, ODataQuery<IntegrationAccountSessionFilter> odataQuery = default(ODataQuery<IntegrationAccountSessionFilter>)) { - return operations.ListByIntegrationAccountsAsync(resourceGroupName, integrationAccountName, odataQuery).GetAwaiter().GetResult(); + return operations.ListAsync(resourceGroupName, integrationAccountName, odataQuery).GetAwaiter().GetResult(); } /// <summary> @@ -60,9 +60,9 @@ public static partial class SessionsOperationsExtensions /// <param name='cancellationToken'> /// The cancellation token. /// </param> - public static async Task<IPage<IntegrationAccountSession>> ListByIntegrationAccountsAsync(this ISessionsOperations operations, string resourceGroupName, string integrationAccountName, ODataQuery<IntegrationAccountSessionFilter> odataQuery = default(ODataQuery<IntegrationAccountSessionFilter>), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task<IPage<IntegrationAccountSession>> ListAsync(this IIntegrationAccountSessionsOperations operations, string resourceGroupName, string integrationAccountName, ODataQuery<IntegrationAccountSessionFilter> odataQuery = default(ODataQuery<IntegrationAccountSessionFilter>), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListByIntegrationAccountsWithHttpMessagesAsync(resourceGroupName, integrationAccountName, odataQuery, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroupName, integrationAccountName, odataQuery, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -83,7 +83,7 @@ public static partial class SessionsOperationsExtensions /// <param name='sessionName'> /// The integration account session name. /// </param> - public static IntegrationAccountSession Get(this ISessionsOperations operations, string resourceGroupName, string integrationAccountName, string sessionName) + public static IntegrationAccountSession Get(this IIntegrationAccountSessionsOperations operations, string resourceGroupName, string integrationAccountName, string sessionName) { return operations.GetAsync(resourceGroupName, integrationAccountName, sessionName).GetAwaiter().GetResult(); } @@ -106,7 +106,7 @@ public static IntegrationAccountSession Get(this ISessionsOperations operations, /// <param name='cancellationToken'> /// The cancellation token. /// </param> - public static async Task<IntegrationAccountSession> GetAsync(this ISessionsOperations operations, string resourceGroupName, string integrationAccountName, string sessionName, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task<IntegrationAccountSession> GetAsync(this IIntegrationAccountSessionsOperations operations, string resourceGroupName, string integrationAccountName, string sessionName, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, integrationAccountName, sessionName, null, cancellationToken).ConfigureAwait(false)) { @@ -132,7 +132,7 @@ public static IntegrationAccountSession Get(this ISessionsOperations operations, /// <param name='session'> /// The integration account session. /// </param> - public static IntegrationAccountSession CreateOrUpdate(this ISessionsOperations operations, string resourceGroupName, string integrationAccountName, string sessionName, IntegrationAccountSession session) + public static IntegrationAccountSession CreateOrUpdate(this IIntegrationAccountSessionsOperations operations, string resourceGroupName, string integrationAccountName, string sessionName, IntegrationAccountSession session) { return operations.CreateOrUpdateAsync(resourceGroupName, integrationAccountName, sessionName, session).GetAwaiter().GetResult(); } @@ -158,7 +158,7 @@ public static IntegrationAccountSession CreateOrUpdate(this ISessionsOperations /// <param name='cancellationToken'> /// The cancellation token. /// </param> - public static async Task<IntegrationAccountSession> CreateOrUpdateAsync(this ISessionsOperations operations, string resourceGroupName, string integrationAccountName, string sessionName, IntegrationAccountSession session, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task<IntegrationAccountSession> CreateOrUpdateAsync(this IIntegrationAccountSessionsOperations operations, string resourceGroupName, string integrationAccountName, string sessionName, IntegrationAccountSession session, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, integrationAccountName, sessionName, session, null, cancellationToken).ConfigureAwait(false)) { @@ -181,7 +181,7 @@ public static IntegrationAccountSession CreateOrUpdate(this ISessionsOperations /// <param name='sessionName'> /// The integration account session name. /// </param> - public static void Delete(this ISessionsOperations operations, string resourceGroupName, string integrationAccountName, string sessionName) + public static void Delete(this IIntegrationAccountSessionsOperations operations, string resourceGroupName, string integrationAccountName, string sessionName) { operations.DeleteAsync(resourceGroupName, integrationAccountName, sessionName).GetAwaiter().GetResult(); } @@ -204,9 +204,9 @@ public static void Delete(this ISessionsOperations operations, string resourceGr /// <param name='cancellationToken'> /// The cancellation token. /// </param> - public static async Task DeleteAsync(this ISessionsOperations operations, string resourceGroupName, string integrationAccountName, string sessionName, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteAsync(this IIntegrationAccountSessionsOperations operations, string resourceGroupName, string integrationAccountName, string sessionName, CancellationToken cancellationToken = default(CancellationToken)) { - await operations.DeleteWithHttpMessagesAsync(resourceGroupName, integrationAccountName, sessionName, null, cancellationToken).ConfigureAwait(false); + (await operations.DeleteWithHttpMessagesAsync(resourceGroupName, integrationAccountName, sessionName, null, cancellationToken).ConfigureAwait(false)).Dispose(); } /// <summary> @@ -218,9 +218,9 @@ public static void Delete(this ISessionsOperations operations, string resourceGr /// <param name='nextPageLink'> /// The NextLink from the previous successful call to List operation. /// </param> - public static IPage<IntegrationAccountSession> ListByIntegrationAccountsNext(this ISessionsOperations operations, string nextPageLink) + public static IPage<IntegrationAccountSession> ListNext(this IIntegrationAccountSessionsOperations operations, string nextPageLink) { - return operations.ListByIntegrationAccountsNextAsync(nextPageLink).GetAwaiter().GetResult(); + return operations.ListNextAsync(nextPageLink).GetAwaiter().GetResult(); } /// <summary> @@ -235,9 +235,9 @@ public static IPage<IntegrationAccountSession> ListByIntegrationAccountsNext(thi /// <param name='cancellationToken'> /// The cancellation token. /// </param> - public static async Task<IPage<IntegrationAccountSession>> ListByIntegrationAccountsNextAsync(this ISessionsOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task<IPage<IntegrationAccountSession>> ListNextAsync(this IIntegrationAccountSessionsOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListByIntegrationAccountsNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -245,4 +245,3 @@ public static IPage<IntegrationAccountSession> ListByIntegrationAccountsNext(thi } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/IntegrationAccountsOperations.cs b/src/SDKs/Logic/Management.Logic/Generated/IntegrationAccountsOperations.cs index 5e686ce2bdf6b..c3ba4844be323 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/IntegrationAccountsOperations.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/IntegrationAccountsOperations.cs @@ -1,17 +1,17 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic { - using Azure; - using Management; - using Rest; - using Rest.Azure; + using Microsoft.Rest; + using Microsoft.Rest.Azure; using Models; using Newtonsoft.Json; using System.Collections; @@ -116,9 +116,9 @@ internal IntegrationAccountsOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -311,9 +311,9 @@ internal IntegrationAccountsOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -507,9 +507,9 @@ internal IntegrationAccountsOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -715,9 +715,9 @@ internal IntegrationAccountsOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("PUT"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PUT"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -751,7 +751,7 @@ internal IntegrationAccountsOperations(LogicManagementClient client) if(integrationAccount != null) { _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(integrationAccount, Client.SerializationSettings); - _httpRequest.Content = new System.Net.Http.StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); } // Set Credentials @@ -943,9 +943,9 @@ internal IntegrationAccountsOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("PATCH"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PATCH"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -979,7 +979,7 @@ internal IntegrationAccountsOperations(LogicManagementClient client) if(integrationAccount != null) { _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(integrationAccount, Client.SerializationSettings); - _httpRequest.Content = new System.Net.Http.StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); } // Set Credentials @@ -1142,9 +1142,9 @@ internal IntegrationAccountsOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("DELETE"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("DELETE"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -1198,11 +1198,425 @@ internal IntegrationAccountsOperations(LogicManagementClient client) if ((int)_statusCode != 200 && (int)_statusCode != 204) { var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<CloudError>(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// <summary> + /// Gets the integration account callback URL. + /// </summary> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + /// <param name='parameters'> + /// The callback URL parameters. + /// </param> + /// <param name='customHeaders'> + /// Headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="CloudException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="SerializationException"> + /// Thrown when unable to deserialize the response + /// </exception> + /// <exception cref="ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + /// <exception cref="System.ArgumentNullException"> + /// Thrown when a required parameter is null + /// </exception> + /// <return> + /// A response object containing the response body and response headers. + /// </return> + public async Task<AzureOperationResponse<CallbackUrl>> ListCallbackUrlWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, GetCallbackUrlParameters parameters, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (integrationAccountName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "integrationAccountName"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (parameters == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "parameters"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary<string, object> tracingParameters = new Dictionary<string, object>(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("integrationAccountName", integrationAccountName); + tracingParameters.Add("parameters", parameters); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListCallbackUrl", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/listCallbackUrl").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{integrationAccountName}", System.Uri.EscapeDataString(integrationAccountName)); + List<string> _queryParameters = new List<string>(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(parameters != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<CloudError>(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse<CallbackUrl>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<CallbackUrl>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// <summary> + /// Gets the integration account's Key Vault keys. + /// </summary> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + /// <param name='listKeyVaultKeys'> + /// The key vault parameters. + /// </param> + /// <param name='customHeaders'> + /// Headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="CloudException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="SerializationException"> + /// Thrown when unable to deserialize the response + /// </exception> + /// <exception cref="ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + /// <exception cref="System.ArgumentNullException"> + /// Thrown when a required parameter is null + /// </exception> + /// <return> + /// A response object containing the response body and response headers. + /// </return> + public async Task<AzureOperationResponse<IEnumerable<KeyVaultKey>>> ListKeyVaultKeysWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, ListKeyVaultKeysDefinition listKeyVaultKeys, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (integrationAccountName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "integrationAccountName"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (listKeyVaultKeys == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "listKeyVaultKeys"); + } + if (listKeyVaultKeys != null) + { + listKeyVaultKeys.Validate(); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary<string, object> tracingParameters = new Dictionary<string, object>(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("integrationAccountName", integrationAccountName); + tracingParameters.Add("listKeyVaultKeys", listKeyVaultKeys); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListKeyVaultKeys", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/listKeyVaultKeys").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{integrationAccountName}", System.Uri.EscapeDataString(integrationAccountName)); + List<string> _queryParameters = new List<string>(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(listKeyVaultKeys != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(listKeyVaultKeys, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<CloudError>(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } } - else { - _responseContent = string.Empty; + catch (JsonException) + { + // Ignore the exception } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); @@ -1222,13 +1636,31 @@ internal IntegrationAccountsOperations(LogicManagementClient client) throw ex; } // Create Result - var _result = new AzureOperationResponse(); + var _result = new AzureOperationResponse<IEnumerable<KeyVaultKey>>(); _result.Request = _httpRequest; _result.Response = _httpResponse; if (_httpResponse.Headers.Contains("x-ms-request-id")) { _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<Page2<KeyVaultKey>>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -1237,7 +1669,7 @@ internal IntegrationAccountsOperations(LogicManagementClient client) } /// <summary> - /// Gets the integration account callback URL. + /// Logs the integration account's tracking events. /// </summary> /// <param name='resourceGroupName'> /// The resource group name. @@ -1245,7 +1677,7 @@ internal IntegrationAccountsOperations(LogicManagementClient client) /// <param name='integrationAccountName'> /// The integration account name. /// </param> - /// <param name='parameters'> + /// <param name='logTrackingEvents'> /// The callback URL parameters. /// </param> /// <param name='customHeaders'> @@ -1257,6 +1689,199 @@ internal IntegrationAccountsOperations(LogicManagementClient client) /// <exception cref="CloudException"> /// Thrown when the operation returned an invalid status code /// </exception> + /// <exception cref="ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + /// <exception cref="System.ArgumentNullException"> + /// Thrown when a required parameter is null + /// </exception> + /// <return> + /// A response object containing the response body and response headers. + /// </return> + public async Task<AzureOperationResponse> LogTrackingEventsWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, TrackingEventsDefinition logTrackingEvents, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (integrationAccountName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "integrationAccountName"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (logTrackingEvents == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "logTrackingEvents"); + } + if (logTrackingEvents != null) + { + logTrackingEvents.Validate(); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary<string, object> tracingParameters = new Dictionary<string, object>(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("integrationAccountName", integrationAccountName); + tracingParameters.Add("logTrackingEvents", logTrackingEvents); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "LogTrackingEvents", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/logTrackingEvents").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{integrationAccountName}", System.Uri.EscapeDataString(integrationAccountName)); + List<string> _queryParameters = new List<string>(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(logTrackingEvents != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(logTrackingEvents, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<CloudError>(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// <summary> + /// Regenerates the integration account access key. + /// </summary> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + /// <param name='regenerateAccessKey'> + /// The access key type. + /// </param> + /// <param name='customHeaders'> + /// Headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="CloudException"> + /// Thrown when the operation returned an invalid status code + /// </exception> /// <exception cref="SerializationException"> /// Thrown when unable to deserialize the response /// </exception> @@ -1269,7 +1894,7 @@ internal IntegrationAccountsOperations(LogicManagementClient client) /// <return> /// A response object containing the response body and response headers. /// </return> - public async Task<AzureOperationResponse<CallbackUrl>> GetCallbackUrlWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, GetCallbackUrlParameters parameters, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task<AzureOperationResponse<IntegrationAccount>> RegenerateAccessKeyWithHttpMessagesAsync(string resourceGroupName, string integrationAccountName, RegenerateActionParameter regenerateAccessKey, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (Client.SubscriptionId == null) { @@ -1287,9 +1912,9 @@ internal IntegrationAccountsOperations(LogicManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); } - if (parameters == null) + if (regenerateAccessKey == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "parameters"); + throw new ValidationException(ValidationRules.CannotBeNull, "regenerateAccessKey"); } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -1300,13 +1925,13 @@ internal IntegrationAccountsOperations(LogicManagementClient client) Dictionary<string, object> tracingParameters = new Dictionary<string, object>(); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("integrationAccountName", integrationAccountName); - tracingParameters.Add("parameters", parameters); + tracingParameters.Add("regenerateAccessKey", regenerateAccessKey); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetCallbackUrl", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "RegenerateAccessKey", tracingParameters); } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/listCallbackUrl").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/regenerateAccessKey").ToString(); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{integrationAccountName}", System.Uri.EscapeDataString(integrationAccountName)); @@ -1320,9 +1945,9 @@ internal IntegrationAccountsOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("POST"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("POST"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -1353,10 +1978,10 @@ internal IntegrationAccountsOperations(LogicManagementClient client) // Serialize Request string _requestContent = null; - if(parameters != null) + if(regenerateAccessKey != null) { - _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); - _httpRequest.Content = new System.Net.Http.StringContent(_requestContent, System.Text.Encoding.UTF8); + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(regenerateAccessKey, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); } // Set Credentials @@ -1414,7 +2039,7 @@ internal IntegrationAccountsOperations(LogicManagementClient client) throw ex; } // Create Result - var _result = new AzureOperationResponse<CallbackUrl>(); + var _result = new AzureOperationResponse<IntegrationAccount>(); _result.Request = _httpRequest; _result.Response = _httpResponse; if (_httpResponse.Headers.Contains("x-ms-request-id")) @@ -1427,7 +2052,7 @@ internal IntegrationAccountsOperations(LogicManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<CallbackUrl>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<IntegrationAccount>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -1499,9 +2124,9 @@ internal IntegrationAccountsOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -1672,9 +2297,9 @@ internal IntegrationAccountsOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -1794,4 +2419,3 @@ internal IntegrationAccountsOperations(LogicManagementClient client) } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/IntegrationAccountsOperationsExtensions.cs b/src/SDKs/Logic/Management.Logic/Generated/IntegrationAccountsOperationsExtensions.cs index 5aea3b16a4a87..20cfa080b899f 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/IntegrationAccountsOperationsExtensions.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/IntegrationAccountsOperationsExtensions.cs @@ -1,18 +1,20 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic { - using Azure; - using Management; - using Rest; - using Rest.Azure; + using Microsoft.Rest; + using Microsoft.Rest.Azure; using Models; + using System.Collections; + using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; @@ -261,7 +263,7 @@ public static void Delete(this IIntegrationAccountsOperations operations, string /// </param> public static async Task DeleteAsync(this IIntegrationAccountsOperations operations, string resourceGroupName, string integrationAccountName, CancellationToken cancellationToken = default(CancellationToken)) { - await operations.DeleteWithHttpMessagesAsync(resourceGroupName, integrationAccountName, null, cancellationToken).ConfigureAwait(false); + (await operations.DeleteWithHttpMessagesAsync(resourceGroupName, integrationAccountName, null, cancellationToken).ConfigureAwait(false)).Dispose(); } /// <summary> @@ -279,9 +281,9 @@ public static void Delete(this IIntegrationAccountsOperations operations, string /// <param name='parameters'> /// The callback URL parameters. /// </param> - public static CallbackUrl GetCallbackUrl(this IIntegrationAccountsOperations operations, string resourceGroupName, string integrationAccountName, GetCallbackUrlParameters parameters) + public static CallbackUrl ListCallbackUrl(this IIntegrationAccountsOperations operations, string resourceGroupName, string integrationAccountName, GetCallbackUrlParameters parameters) { - return operations.GetCallbackUrlAsync(resourceGroupName, integrationAccountName, parameters).GetAwaiter().GetResult(); + return operations.ListCallbackUrlAsync(resourceGroupName, integrationAccountName, parameters).GetAwaiter().GetResult(); } /// <summary> @@ -302,9 +304,144 @@ public static CallbackUrl GetCallbackUrl(this IIntegrationAccountsOperations ope /// <param name='cancellationToken'> /// The cancellation token. /// </param> - public static async Task<CallbackUrl> GetCallbackUrlAsync(this IIntegrationAccountsOperations operations, string resourceGroupName, string integrationAccountName, GetCallbackUrlParameters parameters, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task<CallbackUrl> ListCallbackUrlAsync(this IIntegrationAccountsOperations operations, string resourceGroupName, string integrationAccountName, GetCallbackUrlParameters parameters, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetCallbackUrlWithHttpMessagesAsync(resourceGroupName, integrationAccountName, parameters, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListCallbackUrlWithHttpMessagesAsync(resourceGroupName, integrationAccountName, parameters, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// <summary> + /// Gets the integration account's Key Vault keys. + /// </summary> + /// <param name='operations'> + /// The operations group for this extension method. + /// </param> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + /// <param name='listKeyVaultKeys'> + /// The key vault parameters. + /// </param> + public static IEnumerable<KeyVaultKey> ListKeyVaultKeys(this IIntegrationAccountsOperations operations, string resourceGroupName, string integrationAccountName, ListKeyVaultKeysDefinition listKeyVaultKeys) + { + return operations.ListKeyVaultKeysAsync(resourceGroupName, integrationAccountName, listKeyVaultKeys).GetAwaiter().GetResult(); + } + + /// <summary> + /// Gets the integration account's Key Vault keys. + /// </summary> + /// <param name='operations'> + /// The operations group for this extension method. + /// </param> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + /// <param name='listKeyVaultKeys'> + /// The key vault parameters. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + public static async Task<IEnumerable<KeyVaultKey>> ListKeyVaultKeysAsync(this IIntegrationAccountsOperations operations, string resourceGroupName, string integrationAccountName, ListKeyVaultKeysDefinition listKeyVaultKeys, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListKeyVaultKeysWithHttpMessagesAsync(resourceGroupName, integrationAccountName, listKeyVaultKeys, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// <summary> + /// Logs the integration account's tracking events. + /// </summary> + /// <param name='operations'> + /// The operations group for this extension method. + /// </param> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + /// <param name='logTrackingEvents'> + /// The callback URL parameters. + /// </param> + public static void LogTrackingEvents(this IIntegrationAccountsOperations operations, string resourceGroupName, string integrationAccountName, TrackingEventsDefinition logTrackingEvents) + { + operations.LogTrackingEventsAsync(resourceGroupName, integrationAccountName, logTrackingEvents).GetAwaiter().GetResult(); + } + + /// <summary> + /// Logs the integration account's tracking events. + /// </summary> + /// <param name='operations'> + /// The operations group for this extension method. + /// </param> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + /// <param name='logTrackingEvents'> + /// The callback URL parameters. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + public static async Task LogTrackingEventsAsync(this IIntegrationAccountsOperations operations, string resourceGroupName, string integrationAccountName, TrackingEventsDefinition logTrackingEvents, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.LogTrackingEventsWithHttpMessagesAsync(resourceGroupName, integrationAccountName, logTrackingEvents, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + /// <summary> + /// Regenerates the integration account access key. + /// </summary> + /// <param name='operations'> + /// The operations group for this extension method. + /// </param> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + /// <param name='regenerateAccessKey'> + /// The access key type. + /// </param> + public static IntegrationAccount RegenerateAccessKey(this IIntegrationAccountsOperations operations, string resourceGroupName, string integrationAccountName, RegenerateActionParameter regenerateAccessKey) + { + return operations.RegenerateAccessKeyAsync(resourceGroupName, integrationAccountName, regenerateAccessKey).GetAwaiter().GetResult(); + } + + /// <summary> + /// Regenerates the integration account access key. + /// </summary> + /// <param name='operations'> + /// The operations group for this extension method. + /// </param> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='integrationAccountName'> + /// The integration account name. + /// </param> + /// <param name='regenerateAccessKey'> + /// The access key type. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + public static async Task<IntegrationAccount> RegenerateAccessKeyAsync(this IIntegrationAccountsOperations operations, string resourceGroupName, string integrationAccountName, RegenerateActionParameter regenerateAccessKey, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.RegenerateAccessKeyWithHttpMessagesAsync(resourceGroupName, integrationAccountName, regenerateAccessKey, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -380,4 +517,3 @@ public static IPage<IntegrationAccount> ListByResourceGroupNext(this IIntegratio } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/LogicManagementClient.cs b/src/SDKs/Logic/Management.Logic/Generated/LogicManagementClient.cs index 1fa493d667127..e6dd75e5b1958 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/LogicManagementClient.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/LogicManagementClient.cs @@ -1,18 +1,18 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic { - using Azure; - using Management; - using Rest; - using Rest.Azure; - using Rest.Serialization; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Serialization; using Models; using Newtonsoft.Json; using System.Collections; @@ -20,8 +20,6 @@ namespace Microsoft.Azure.Management.Logic using System.Linq; using System.Net; using System.Net.Http; - using System.Threading; - using System.Threading.Tasks; /// <summary> /// REST API for Azure Logic Apps. @@ -59,19 +57,20 @@ public partial class LogicManagementClient : ServiceClient<LogicManagementClient public string ApiVersion { get; private set; } /// <summary> - /// Gets or sets the preferred language for the response. + /// The preferred language for the response. /// </summary> public string AcceptLanguage { get; set; } /// <summary> - /// Gets or sets the retry timeout in seconds for Long Running Operations. - /// Default value is 30. + /// The retry timeout in seconds for Long Running Operations. Default value is + /// 30. /// </summary> public int? LongRunningOperationRetryTimeout { get; set; } /// <summary> - /// When set to true a unique x-ms-client-request-id value is generated and - /// included in each request. Default is true. + /// Whether a unique x-ms-client-request-id should be generated. When set to + /// true a unique x-ms-client-request-id value is generated and included in + /// each request. Default is true. /// </summary> public bool? GenerateClientRequestId { get; set; } @@ -90,6 +89,11 @@ public partial class LogicManagementClient : ServiceClient<LogicManagementClient /// </summary> public virtual IWorkflowTriggersOperations WorkflowTriggers { get; private set; } + /// <summary> + /// Gets the IWorkflowVersionTriggersOperations. + /// </summary> + public virtual IWorkflowVersionTriggersOperations WorkflowVersionTriggers { get; private set; } + /// <summary> /// Gets the IWorkflowTriggerHistoriesOperations. /// </summary> @@ -105,40 +109,83 @@ public partial class LogicManagementClient : ServiceClient<LogicManagementClient /// </summary> public virtual IWorkflowRunActionsOperations WorkflowRunActions { get; private set; } + /// <summary> + /// Gets the IWorkflowRunActionRepetitionsOperations. + /// </summary> + public virtual IWorkflowRunActionRepetitionsOperations WorkflowRunActionRepetitions { get; private set; } + + /// <summary> + /// Gets the IWorkflowRunActionScopeRepetitionsOperations. + /// </summary> + public virtual IWorkflowRunActionScopeRepetitionsOperations WorkflowRunActionScopeRepetitions { get; private set; } + + /// <summary> + /// Gets the IWorkflowRunOperations. + /// </summary> + public virtual IWorkflowRunOperations WorkflowRunOperations { get; private set; } + /// <summary> /// Gets the IIntegrationAccountsOperations. /// </summary> public virtual IIntegrationAccountsOperations IntegrationAccounts { get; private set; } /// <summary> - /// Gets the ISchemasOperations. + /// Gets the IIntegrationAccountAssembliesOperations. + /// </summary> + public virtual IIntegrationAccountAssembliesOperations IntegrationAccountAssemblies { get; private set; } + + /// <summary> + /// Gets the IIntegrationAccountBatchConfigurationsOperations. /// </summary> - public virtual ISchemasOperations Schemas { get; private set; } + public virtual IIntegrationAccountBatchConfigurationsOperations IntegrationAccountBatchConfigurations { get; private set; } /// <summary> - /// Gets the IMapsOperations. + /// Gets the IIntegrationAccountSchemasOperations. /// </summary> - public virtual IMapsOperations Maps { get; private set; } + public virtual IIntegrationAccountSchemasOperations IntegrationAccountSchemas { get; private set; } /// <summary> - /// Gets the IPartnersOperations. + /// Gets the IIntegrationAccountMapsOperations. /// </summary> - public virtual IPartnersOperations Partners { get; private set; } + public virtual IIntegrationAccountMapsOperations IntegrationAccountMaps { get; private set; } /// <summary> - /// Gets the IAgreementsOperations. + /// Gets the IIntegrationAccountPartnersOperations. /// </summary> - public virtual IAgreementsOperations Agreements { get; private set; } + public virtual IIntegrationAccountPartnersOperations IntegrationAccountPartners { get; private set; } /// <summary> - /// Gets the ICertificatesOperations. + /// Gets the IIntegrationAccountAgreementsOperations. /// </summary> - public virtual ICertificatesOperations Certificates { get; private set; } + public virtual IIntegrationAccountAgreementsOperations IntegrationAccountAgreements { get; private set; } /// <summary> - /// Gets the ISessionsOperations. + /// Gets the IIntegrationAccountCertificatesOperations. /// </summary> - public virtual ISessionsOperations Sessions { get; private set; } + public virtual IIntegrationAccountCertificatesOperations IntegrationAccountCertificates { get; private set; } + + /// <summary> + /// Gets the IIntegrationAccountSessionsOperations. + /// </summary> + public virtual IIntegrationAccountSessionsOperations IntegrationAccountSessions { get; private set; } + + /// <summary> + /// Gets the IOperations. + /// </summary> + public virtual IOperations Operations { get; private set; } + + /// <summary> + /// Initializes a new instance of the LogicManagementClient class. + /// </summary> + /// <param name='httpClient'> + /// HttpClient to be used + /// </param> + /// <param name='disposeHttpClient'> + /// True: will dispose the provided httpClient on calling LogicManagementClient.Dispose(). False: will not dispose provided httpClient</param> + protected LogicManagementClient(HttpClient httpClient, bool disposeHttpClient) : base(httpClient, disposeHttpClient) + { + Initialize(); + } /// <summary> /// Initializes a new instance of the LogicManagementClient class. @@ -146,7 +193,7 @@ public partial class LogicManagementClient : ServiceClient<LogicManagementClient /// <param name='handlers'> /// Optional. The delegating handlers to add to the http client pipeline. /// </param> - protected LogicManagementClient(params System.Net.Http.DelegatingHandler[] handlers) : base(handlers) + protected LogicManagementClient(params DelegatingHandler[] handlers) : base(handlers) { Initialize(); } @@ -160,7 +207,7 @@ protected LogicManagementClient(params System.Net.Http.DelegatingHandler[] handl /// <param name='handlers'> /// Optional. The delegating handlers to add to the http client pipeline. /// </param> - protected LogicManagementClient(System.Net.Http.HttpClientHandler rootHandler, params System.Net.Http.DelegatingHandler[] handlers) : base(rootHandler, handlers) + protected LogicManagementClient(HttpClientHandler rootHandler, params DelegatingHandler[] handlers) : base(rootHandler, handlers) { Initialize(); } @@ -177,7 +224,7 @@ protected LogicManagementClient(System.Net.Http.HttpClientHandler rootHandler, p /// <exception cref="System.ArgumentNullException"> /// Thrown when a required parameter is null /// </exception> - protected LogicManagementClient(System.Uri baseUri, params System.Net.Http.DelegatingHandler[] handlers) : this(handlers) + protected LogicManagementClient(System.Uri baseUri, params DelegatingHandler[] handlers) : this(handlers) { if (baseUri == null) { @@ -201,7 +248,7 @@ protected LogicManagementClient(System.Uri baseUri, params System.Net.Http.Deleg /// <exception cref="System.ArgumentNullException"> /// Thrown when a required parameter is null /// </exception> - protected LogicManagementClient(System.Uri baseUri, System.Net.Http.HttpClientHandler rootHandler, params System.Net.Http.DelegatingHandler[] handlers) : this(rootHandler, handlers) + protected LogicManagementClient(System.Uri baseUri, HttpClientHandler rootHandler, params DelegatingHandler[] handlers) : this(rootHandler, handlers) { if (baseUri == null) { @@ -222,7 +269,34 @@ protected LogicManagementClient(System.Uri baseUri, System.Net.Http.HttpClientHa /// <exception cref="System.ArgumentNullException"> /// Thrown when a required parameter is null /// </exception> - public LogicManagementClient(ServiceClientCredentials credentials, params System.Net.Http.DelegatingHandler[] handlers) : this(handlers) + public LogicManagementClient(ServiceClientCredentials credentials, params DelegatingHandler[] handlers) : this(handlers) + { + if (credentials == null) + { + throw new System.ArgumentNullException("credentials"); + } + Credentials = credentials; + if (Credentials != null) + { + Credentials.InitializeServiceClient(this); + } + } + + /// <summary> + /// Initializes a new instance of the LogicManagementClient class. + /// </summary> + /// <param name='credentials'> + /// Required. Credentials needed for the client to connect to Azure. + /// </param> + /// <param name='httpClient'> + /// HttpClient to be used + /// </param> + /// <param name='disposeHttpClient'> + /// True: will dispose the provided httpClient on calling LogicManagementClient.Dispose(). False: will not dispose provided httpClient</param> + /// <exception cref="System.ArgumentNullException"> + /// Thrown when a required parameter is null + /// </exception> + public LogicManagementClient(ServiceClientCredentials credentials, HttpClient httpClient, bool disposeHttpClient) : this(httpClient, disposeHttpClient) { if (credentials == null) { @@ -250,7 +324,7 @@ public LogicManagementClient(ServiceClientCredentials credentials, params System /// <exception cref="System.ArgumentNullException"> /// Thrown when a required parameter is null /// </exception> - public LogicManagementClient(ServiceClientCredentials credentials, System.Net.Http.HttpClientHandler rootHandler, params System.Net.Http.DelegatingHandler[] handlers) : this(rootHandler, handlers) + public LogicManagementClient(ServiceClientCredentials credentials, HttpClientHandler rootHandler, params DelegatingHandler[] handlers) : this(rootHandler, handlers) { if (credentials == null) { @@ -278,7 +352,7 @@ public LogicManagementClient(ServiceClientCredentials credentials, System.Net.Ht /// <exception cref="System.ArgumentNullException"> /// Thrown when a required parameter is null /// </exception> - public LogicManagementClient(System.Uri baseUri, ServiceClientCredentials credentials, params System.Net.Http.DelegatingHandler[] handlers) : this(handlers) + public LogicManagementClient(System.Uri baseUri, ServiceClientCredentials credentials, params DelegatingHandler[] handlers) : this(handlers) { if (baseUri == null) { @@ -314,7 +388,7 @@ public LogicManagementClient(System.Uri baseUri, ServiceClientCredentials creden /// <exception cref="System.ArgumentNullException"> /// Thrown when a required parameter is null /// </exception> - public LogicManagementClient(System.Uri baseUri, ServiceClientCredentials credentials, System.Net.Http.HttpClientHandler rootHandler, params System.Net.Http.DelegatingHandler[] handlers) : this(rootHandler, handlers) + public LogicManagementClient(System.Uri baseUri, ServiceClientCredentials credentials, HttpClientHandler rootHandler, params DelegatingHandler[] handlers) : this(rootHandler, handlers) { if (baseUri == null) { @@ -344,28 +418,35 @@ private void Initialize() Workflows = new WorkflowsOperations(this); WorkflowVersions = new WorkflowVersionsOperations(this); WorkflowTriggers = new WorkflowTriggersOperations(this); + WorkflowVersionTriggers = new WorkflowVersionTriggersOperations(this); WorkflowTriggerHistories = new WorkflowTriggerHistoriesOperations(this); WorkflowRuns = new WorkflowRunsOperations(this); WorkflowRunActions = new WorkflowRunActionsOperations(this); + WorkflowRunActionRepetitions = new WorkflowRunActionRepetitionsOperations(this); + WorkflowRunActionScopeRepetitions = new WorkflowRunActionScopeRepetitionsOperations(this); + WorkflowRunOperations = new WorkflowRunOperations(this); IntegrationAccounts = new IntegrationAccountsOperations(this); - Schemas = new SchemasOperations(this); - Maps = new MapsOperations(this); - Partners = new PartnersOperations(this); - Agreements = new AgreementsOperations(this); - Certificates = new CertificatesOperations(this); - Sessions = new SessionsOperations(this); + IntegrationAccountAssemblies = new IntegrationAccountAssembliesOperations(this); + IntegrationAccountBatchConfigurations = new IntegrationAccountBatchConfigurationsOperations(this); + IntegrationAccountSchemas = new IntegrationAccountSchemasOperations(this); + IntegrationAccountMaps = new IntegrationAccountMapsOperations(this); + IntegrationAccountPartners = new IntegrationAccountPartnersOperations(this); + IntegrationAccountAgreements = new IntegrationAccountAgreementsOperations(this); + IntegrationAccountCertificates = new IntegrationAccountCertificatesOperations(this); + IntegrationAccountSessions = new IntegrationAccountSessionsOperations(this); + Operations = new Operations(this); BaseUri = new System.Uri("https://management.azure.com"); - ApiVersion = "2016-06-01"; + ApiVersion = "2018-07-01-preview"; AcceptLanguage = "en-US"; LongRunningOperationRetryTimeout = 30; GenerateClientRequestId = true; SerializationSettings = new JsonSerializerSettings { - Formatting = Formatting.Indented, - DateFormatHandling = DateFormatHandling.IsoDateFormat, - DateTimeZoneHandling = DateTimeZoneHandling.Utc, - NullValueHandling = NullValueHandling.Ignore, - ReferenceLoopHandling = ReferenceLoopHandling.Serialize, + Formatting = Newtonsoft.Json.Formatting.Indented, + DateFormatHandling = Newtonsoft.Json.DateFormatHandling.IsoDateFormat, + DateTimeZoneHandling = Newtonsoft.Json.DateTimeZoneHandling.Utc, + NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, + ReferenceLoopHandling = Newtonsoft.Json.ReferenceLoopHandling.Serialize, ContractResolver = new ReadOnlyJsonContractResolver(), Converters = new List<JsonConverter> { @@ -375,10 +456,10 @@ private void Initialize() SerializationSettings.Converters.Add(new TransformationJsonConverter()); DeserializationSettings = new JsonSerializerSettings { - DateFormatHandling = DateFormatHandling.IsoDateFormat, - DateTimeZoneHandling = DateTimeZoneHandling.Utc, - NullValueHandling = NullValueHandling.Ignore, - ReferenceLoopHandling = ReferenceLoopHandling.Serialize, + DateFormatHandling = Newtonsoft.Json.DateFormatHandling.IsoDateFormat, + DateTimeZoneHandling = Newtonsoft.Json.DateTimeZoneHandling.Utc, + NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, + ReferenceLoopHandling = Newtonsoft.Json.ReferenceLoopHandling.Serialize, ContractResolver = new ReadOnlyJsonContractResolver(), Converters = new List<JsonConverter> { @@ -389,342 +470,5 @@ private void Initialize() DeserializationSettings.Converters.Add(new TransformationJsonConverter()); DeserializationSettings.Converters.Add(new CloudErrorJsonConverter()); } - /// <summary> - /// Lists all of the available Logic REST API operations. - /// </summary> - /// <param name='customHeaders'> - /// Headers that will be added to request. - /// </param> - /// <param name='cancellationToken'> - /// The cancellation token. - /// </param> - /// <exception cref="ErrorResponseException"> - /// Thrown when the operation returned an invalid status code - /// </exception> - /// <exception cref="SerializationException"> - /// Thrown when unable to deserialize the response - /// </exception> - /// <exception cref="ValidationException"> - /// Thrown when a required parameter is null - /// </exception> - /// <exception cref="System.ArgumentNullException"> - /// Thrown when a required parameter is null - /// </exception> - /// <return> - /// A response object containing the response body and response headers. - /// </return> - public async Task<AzureOperationResponse<IPage<Operation>>> ListOperationsWithHttpMessagesAsync(Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (ApiVersion == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.ApiVersion"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary<string, object> tracingParameters = new Dictionary<string, object>(); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListOperations", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "providers/Microsoft.Logic/operations").ToString(); - List<string> _queryParameters = new List<string>(); - if (ApiVersion != null) - { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(ApiVersion))); - } - if (_queryParameters.Count > 0) - { - _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - if (GenerateClientRequestId != null && GenerateClientRequestId.Value) - { - _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); - } - if (AcceptLanguage != null) - { - if (_httpRequest.Headers.Contains("accept-language")) - { - _httpRequest.Headers.Remove("accept-language"); - } - _httpRequest.Headers.TryAddWithoutValidation("accept-language", AcceptLanguage); - } - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200) - { - var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - try - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorResponse _errorBody = SafeJsonConvert.DeserializeObject<ErrorResponse>(_responseContent, DeserializationSettings); - if (_errorBody != null) - { - ex.Body = _errorBody; - } - } - catch (JsonException) - { - // Ignore the exception - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new AzureOperationResponse<IPage<Operation>>(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject<Page<Operation>>(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// <summary> - /// Lists all of the available Logic REST API operations. - /// </summary> - /// <param name='nextPageLink'> - /// The NextLink from the previous successful call to List operation. - /// </param> - /// <param name='customHeaders'> - /// Headers that will be added to request. - /// </param> - /// <param name='cancellationToken'> - /// The cancellation token. - /// </param> - /// <exception cref="ErrorResponseException"> - /// Thrown when the operation returned an invalid status code - /// </exception> - /// <exception cref="SerializationException"> - /// Thrown when unable to deserialize the response - /// </exception> - /// <exception cref="ValidationException"> - /// Thrown when a required parameter is null - /// </exception> - /// <exception cref="System.ArgumentNullException"> - /// Thrown when a required parameter is null - /// </exception> - /// <return> - /// A response object containing the response body and response headers. - /// </return> - public async Task<AzureOperationResponse<IPage<Operation>>> ListOperationsNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (nextPageLink == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "nextPageLink"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary<string, object> tracingParameters = new Dictionary<string, object>(); - tracingParameters.Add("nextPageLink", nextPageLink); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListOperationsNext", tracingParameters); - } - // Construct URL - string _url = "{nextLink}"; - _url = _url.Replace("{nextLink}", nextPageLink); - List<string> _queryParameters = new List<string>(); - if (_queryParameters.Count > 0) - { - _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - if (GenerateClientRequestId != null && GenerateClientRequestId.Value) - { - _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); - } - if (AcceptLanguage != null) - { - if (_httpRequest.Headers.Contains("accept-language")) - { - _httpRequest.Headers.Remove("accept-language"); - } - _httpRequest.Headers.TryAddWithoutValidation("accept-language", AcceptLanguage); - } - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200) - { - var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - try - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorResponse _errorBody = SafeJsonConvert.DeserializeObject<ErrorResponse>(_responseContent, DeserializationSettings); - if (_errorBody != null) - { - ex.Body = _errorBody; - } - } - catch (JsonException) - { - // Ignore the exception - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new AzureOperationResponse<IPage<Operation>>(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject<Page<Operation>>(_responseContent, DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/AS2AcknowledgementConnectionSettings.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/AS2AcknowledgementConnectionSettings.cs index c492758beecdb..e4713157d8fbf 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/AS2AcknowledgementConnectionSettings.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/AS2AcknowledgementConnectionSettings.cs @@ -1,21 +1,20 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; using Newtonsoft.Json; using System.Linq; /// <summary> - /// The AS2 agreement acknowledegment connection settings. + /// The AS2 agreement acknowledgement connection settings. /// </summary> public partial class AS2AcknowledgementConnectionSettings { @@ -23,7 +22,10 @@ public partial class AS2AcknowledgementConnectionSettings /// Initializes a new instance of the /// AS2AcknowledgementConnectionSettings class. /// </summary> - public AS2AcknowledgementConnectionSettings() { } + public AS2AcknowledgementConnectionSettings() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the @@ -43,8 +45,14 @@ public AS2AcknowledgementConnectionSettings(bool ignoreCertificateNameMismatch, SupportHttpStatusCodeContinue = supportHttpStatusCodeContinue; KeepHttpConnectionAlive = keepHttpConnectionAlive; UnfoldHttpHeaders = unfoldHttpHeaders; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the value indicating whether to ignore mismatch in /// certificate name. @@ -85,4 +93,3 @@ public virtual void Validate() } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/AS2AgreementContent.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/AS2AgreementContent.cs index 6c47d95892093..32a3d95556828 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/AS2AgreementContent.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/AS2AgreementContent.cs @@ -1,17 +1,16 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; - using Rest; + using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -23,7 +22,10 @@ public partial class AS2AgreementContent /// <summary> /// Initializes a new instance of the AS2AgreementContent class. /// </summary> - public AS2AgreementContent() { } + public AS2AgreementContent() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the AS2AgreementContent class. @@ -35,8 +37,14 @@ public AS2AgreementContent(AS2OneWayAgreement receiveAgreement, AS2OneWayAgreeme { ReceiveAgreement = receiveAgreement; SendAgreement = sendAgreement; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the AS2 one-way receive agreement. /// </summary> @@ -76,4 +84,3 @@ public virtual void Validate() } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/AS2EnvelopeSettings.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/AS2EnvelopeSettings.cs index 10d6fd3ad41c9..eaafaac1afefc 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/AS2EnvelopeSettings.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/AS2EnvelopeSettings.cs @@ -1,17 +1,16 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; - using Rest; + using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -23,7 +22,10 @@ public partial class AS2EnvelopeSettings /// <summary> /// Initializes a new instance of the AS2EnvelopeSettings class. /// </summary> - public AS2EnvelopeSettings() { } + public AS2EnvelopeSettings() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the AS2EnvelopeSettings class. @@ -44,8 +46,14 @@ public AS2EnvelopeSettings(string messageContentType, bool transmitFileNameInMim FileNameTemplate = fileNameTemplate; SuspendMessageOnFileNameGenerationError = suspendMessageOnFileNameGenerationError; AutogenerateFileName = autogenerateFileName; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the message content type. /// </summary> @@ -98,4 +106,3 @@ public virtual void Validate() } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/AS2ErrorSettings.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/AS2ErrorSettings.cs index 91580b0465c07..6b87becd9e4fe 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/AS2ErrorSettings.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/AS2ErrorSettings.cs @@ -1,16 +1,15 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; using Newtonsoft.Json; using System.Linq; @@ -22,7 +21,10 @@ public partial class AS2ErrorSettings /// <summary> /// Initializes a new instance of the AS2ErrorSettings class. /// </summary> - public AS2ErrorSettings() { } + public AS2ErrorSettings() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the AS2ErrorSettings class. @@ -35,8 +37,14 @@ public AS2ErrorSettings(bool suspendDuplicateMessage, bool resendIfMdnNotReceive { SuspendDuplicateMessage = suspendDuplicateMessage; ResendIfMdnNotReceived = resendIfMdnNotReceived; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the value indicating whether to suspend duplicate /// message. @@ -63,4 +71,3 @@ public virtual void Validate() } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/AS2MdnSettings.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/AS2MdnSettings.cs index 8fe0776a82d67..3cc8eb78121bd 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/AS2MdnSettings.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/AS2MdnSettings.cs @@ -1,16 +1,16 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; + using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -22,7 +22,10 @@ public partial class AS2MdnSettings /// <summary> /// Initializes a new instance of the AS2MdnSettings class. /// </summary> - public AS2MdnSettings() { } + public AS2MdnSettings() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the AS2MdnSettings class. @@ -44,7 +47,7 @@ public AS2MdnSettings() { } /// <param name="dispositionNotificationTo">The disposition /// notification to header value.</param> /// <param name="mdnText">The MDN text.</param> - public AS2MdnSettings(bool needMdn, bool signMdn, bool sendMdnAsynchronously, bool signOutboundMdnIfOptional, bool sendInboundMdnToMessageBox, HashingAlgorithm micHashingAlgorithm, string receiptDeliveryUrl = default(string), string dispositionNotificationTo = default(string), string mdnText = default(string)) + public AS2MdnSettings(bool needMdn, bool signMdn, bool sendMdnAsynchronously, bool signOutboundMdnIfOptional, bool sendInboundMdnToMessageBox, string micHashingAlgorithm, string receiptDeliveryUrl = default(string), string dispositionNotificationTo = default(string), string mdnText = default(string)) { NeedMdn = needMdn; SignMdn = signMdn; @@ -55,8 +58,14 @@ public AS2MdnSettings() { } MdnText = mdnText; SendInboundMdnToMessageBox = sendInboundMdnToMessageBox; MicHashingAlgorithm = micHashingAlgorithm; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the value indicating whether to send or request a MDN. /// </summary> @@ -115,17 +124,20 @@ public AS2MdnSettings() { } /// 'SHA2384', 'SHA2512' /// </summary> [JsonProperty(PropertyName = "micHashingAlgorithm")] - public HashingAlgorithm MicHashingAlgorithm { get; set; } + public string MicHashingAlgorithm { get; set; } /// <summary> /// Validate the object. /// </summary> - /// <exception cref="Rest.ValidationException"> + /// <exception cref="ValidationException"> /// Thrown if validation fails /// </exception> public virtual void Validate() { + if (MicHashingAlgorithm == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "MicHashingAlgorithm"); + } } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/AS2MessageConnectionSettings.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/AS2MessageConnectionSettings.cs index c339345f83f67..ef880d311e555 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/AS2MessageConnectionSettings.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/AS2MessageConnectionSettings.cs @@ -1,16 +1,15 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; using Newtonsoft.Json; using System.Linq; @@ -23,7 +22,10 @@ public partial class AS2MessageConnectionSettings /// Initializes a new instance of the AS2MessageConnectionSettings /// class. /// </summary> - public AS2MessageConnectionSettings() { } + public AS2MessageConnectionSettings() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the AS2MessageConnectionSettings @@ -43,8 +45,14 @@ public AS2MessageConnectionSettings(bool ignoreCertificateNameMismatch, bool sup SupportHttpStatusCodeContinue = supportHttpStatusCodeContinue; KeepHttpConnectionAlive = keepHttpConnectionAlive; UnfoldHttpHeaders = unfoldHttpHeaders; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the value indicating whether to ignore mismatch in /// certificate name. @@ -85,4 +93,3 @@ public virtual void Validate() } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/AS2OneWayAgreement.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/AS2OneWayAgreement.cs index 1d0235e070fdc..24b60d76bbf13 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/AS2OneWayAgreement.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/AS2OneWayAgreement.cs @@ -1,29 +1,31 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; - using Rest; + using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; /// <summary> - /// The integration account AS2 oneway agreement. + /// The integration account AS2 one-way agreement. /// </summary> public partial class AS2OneWayAgreement { /// <summary> /// Initializes a new instance of the AS2OneWayAgreement class. /// </summary> - public AS2OneWayAgreement() { } + public AS2OneWayAgreement() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the AS2OneWayAgreement class. @@ -38,8 +40,14 @@ public AS2OneWayAgreement(BusinessIdentity senderBusinessIdentity, BusinessIdent SenderBusinessIdentity = senderBusinessIdentity; ReceiverBusinessIdentity = receiverBusinessIdentity; ProtocolSettings = protocolSettings; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the sender business identity /// </summary> @@ -93,4 +101,3 @@ public virtual void Validate() } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/AS2ProtocolSettings.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/AS2ProtocolSettings.cs index ff05f2d86bd19..252901fdf8729 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/AS2ProtocolSettings.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/AS2ProtocolSettings.cs @@ -1,17 +1,16 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; - using Rest; + using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -23,7 +22,10 @@ public partial class AS2ProtocolSettings /// <summary> /// Initializes a new instance of the AS2ProtocolSettings class. /// </summary> - public AS2ProtocolSettings() { } + public AS2ProtocolSettings() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the AS2ProtocolSettings class. @@ -46,8 +48,14 @@ public AS2ProtocolSettings(AS2MessageConnectionSettings messageConnectionSetting ValidationSettings = validationSettings; EnvelopeSettings = envelopeSettings; ErrorSettings = errorSettings; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the message connection settings. /// </summary> @@ -157,4 +165,3 @@ public virtual void Validate() } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/AS2SecuritySettings.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/AS2SecuritySettings.cs index 4da32f9414cf9..e082b18a357c2 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/AS2SecuritySettings.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/AS2SecuritySettings.cs @@ -1,16 +1,15 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; using Newtonsoft.Json; using System.Linq; @@ -22,7 +21,10 @@ public partial class AS2SecuritySettings /// <summary> /// Initializes a new instance of the AS2SecuritySettings class. /// </summary> - public AS2SecuritySettings() { } + public AS2SecuritySettings() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the AS2SecuritySettings class. @@ -49,7 +51,10 @@ public AS2SecuritySettings() { } /// certificate.</param> /// <param name="encryptionCertificateName">The name of the encryption /// certificate.</param> - public AS2SecuritySettings(bool overrideGroupSigningCertificate, bool enableNrrForInboundEncodedMessages, bool enableNrrForInboundDecodedMessages, bool enableNrrForOutboundMdn, bool enableNrrForOutboundEncodedMessages, bool enableNrrForOutboundDecodedMessages, bool enableNrrForInboundMdn, string signingCertificateName = default(string), string encryptionCertificateName = default(string)) + /// <param name="sha2AlgorithmFormat">The Sha2 algorithm format. Valid + /// values are Sha2, ShaHashSize, ShaHyphenHashSize, + /// Sha2UnderscoreHashSize.</param> + public AS2SecuritySettings(bool overrideGroupSigningCertificate, bool enableNrrForInboundEncodedMessages, bool enableNrrForInboundDecodedMessages, bool enableNrrForOutboundMdn, bool enableNrrForOutboundEncodedMessages, bool enableNrrForOutboundDecodedMessages, bool enableNrrForInboundMdn, string signingCertificateName = default(string), string encryptionCertificateName = default(string), string sha2AlgorithmFormat = default(string)) { OverrideGroupSigningCertificate = overrideGroupSigningCertificate; SigningCertificateName = signingCertificateName; @@ -60,8 +65,15 @@ public AS2SecuritySettings() { } EnableNrrForOutboundEncodedMessages = enableNrrForOutboundEncodedMessages; EnableNrrForOutboundDecodedMessages = enableNrrForOutboundDecodedMessages; EnableNrrForInboundMdn = enableNrrForInboundMdn; + Sha2AlgorithmFormat = sha2AlgorithmFormat; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the value indicating whether to send or request a MDN. /// </summary> @@ -122,6 +134,13 @@ public AS2SecuritySettings() { } [JsonProperty(PropertyName = "enableNrrForInboundMdn")] public bool EnableNrrForInboundMdn { get; set; } + /// <summary> + /// Gets or sets the Sha2 algorithm format. Valid values are Sha2, + /// ShaHashSize, ShaHyphenHashSize, Sha2UnderscoreHashSize. + /// </summary> + [JsonProperty(PropertyName = "sha2AlgorithmFormat")] + public string Sha2AlgorithmFormat { get; set; } + /// <summary> /// Validate the object. /// </summary> @@ -134,4 +153,3 @@ public virtual void Validate() } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/AS2ValidationSettings.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/AS2ValidationSettings.cs index 568d2b0f4cc5a..80c57ce835743 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/AS2ValidationSettings.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/AS2ValidationSettings.cs @@ -1,16 +1,16 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; + using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -22,7 +22,10 @@ public partial class AS2ValidationSettings /// <summary> /// Initializes a new instance of the AS2ValidationSettings class. /// </summary> - public AS2ValidationSettings() { } + public AS2ValidationSettings() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the AS2ValidationSettings class. @@ -49,7 +52,10 @@ public AS2ValidationSettings() { } /// <param name="encryptionAlgorithm">The encryption algorithm. /// Possible values include: 'NotSpecified', 'None', 'DES3', 'RC2', /// 'AES128', 'AES192', 'AES256'</param> - public AS2ValidationSettings(bool overrideMessageProperties, bool encryptMessage, bool signMessage, bool compressMessage, bool checkDuplicateMessage, int interchangeDuplicatesValidityDays, bool checkCertificateRevocationListOnSend, bool checkCertificateRevocationListOnReceive, EncryptionAlgorithm encryptionAlgorithm) + /// <param name="signingAlgorithm">The signing algorithm. Possible + /// values include: 'NotSpecified', 'Default', 'SHA1', 'SHA2256', + /// 'SHA2384', 'SHA2512'</param> + public AS2ValidationSettings(bool overrideMessageProperties, bool encryptMessage, bool signMessage, bool compressMessage, bool checkDuplicateMessage, int interchangeDuplicatesValidityDays, bool checkCertificateRevocationListOnSend, bool checkCertificateRevocationListOnReceive, string encryptionAlgorithm, string signingAlgorithm = default(string)) { OverrideMessageProperties = overrideMessageProperties; EncryptMessage = encryptMessage; @@ -60,8 +66,15 @@ public AS2ValidationSettings(bool overrideMessageProperties, bool encryptMessage CheckCertificateRevocationListOnSend = checkCertificateRevocationListOnSend; CheckCertificateRevocationListOnReceive = checkCertificateRevocationListOnReceive; EncryptionAlgorithm = encryptionAlgorithm; + SigningAlgorithm = signingAlgorithm; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the value indicating whether to override incoming /// message properties with those in agreement. @@ -123,17 +136,27 @@ public AS2ValidationSettings(bool overrideMessageProperties, bool encryptMessage /// 'NotSpecified', 'None', 'DES3', 'RC2', 'AES128', 'AES192', 'AES256' /// </summary> [JsonProperty(PropertyName = "encryptionAlgorithm")] - public EncryptionAlgorithm EncryptionAlgorithm { get; set; } + public string EncryptionAlgorithm { get; set; } + + /// <summary> + /// Gets or sets the signing algorithm. Possible values include: + /// 'NotSpecified', 'Default', 'SHA1', 'SHA2256', 'SHA2384', 'SHA2512' + /// </summary> + [JsonProperty(PropertyName = "signingAlgorithm")] + public string SigningAlgorithm { get; set; } /// <summary> /// Validate the object. /// </summary> - /// <exception cref="Rest.ValidationException"> + /// <exception cref="ValidationException"> /// Thrown if validation fails /// </exception> public virtual void Validate() { + if (EncryptionAlgorithm == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "EncryptionAlgorithm"); + } } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/AgreementContent.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/AgreementContent.cs index 16e468d5f8079..a9b14d8c645f3 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/AgreementContent.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/AgreementContent.cs @@ -1,16 +1,15 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; using Newtonsoft.Json; using System.Linq; @@ -22,7 +21,10 @@ public partial class AgreementContent /// <summary> /// Initializes a new instance of the AgreementContent class. /// </summary> - public AgreementContent() { } + public AgreementContent() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the AgreementContent class. @@ -35,8 +37,14 @@ public AgreementContent() { } AS2 = aS2; X12 = x12; Edifact = edifact; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the AS2 agreement content. /// </summary> @@ -78,4 +86,3 @@ public virtual void Validate() } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/AgreementType.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/AgreementType.cs index 64dc65cdf9df9..10253604706eb 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/AgreementType.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/AgreementType.cs @@ -1,16 +1,15 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.Runtime; @@ -31,5 +30,43 @@ public enum AgreementType [EnumMember(Value = "Edifact")] Edifact } -} + internal static class AgreementTypeEnumExtension + { + internal static string ToSerializedValue(this AgreementType? value) + { + return value == null ? null : ((AgreementType)value).ToSerializedValue(); + } + + internal static string ToSerializedValue(this AgreementType value) + { + switch( value ) + { + case AgreementType.NotSpecified: + return "NotSpecified"; + case AgreementType.AS2: + return "AS2"; + case AgreementType.X12: + return "X12"; + case AgreementType.Edifact: + return "Edifact"; + } + return null; + } + internal static AgreementType? ParseAgreementType(this string value) + { + switch( value ) + { + case "NotSpecified": + return AgreementType.NotSpecified; + case "AS2": + return AgreementType.AS2; + case "X12": + return AgreementType.X12; + case "Edifact": + return AgreementType.Edifact; + } + return null; + } + } +} diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/ArtifactContentPropertiesDefinition.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/ArtifactContentPropertiesDefinition.cs new file mode 100644 index 0000000000000..bb7aeaa970615 --- /dev/null +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/ArtifactContentPropertiesDefinition.cs @@ -0,0 +1,70 @@ +// <auto-generated> +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// </auto-generated> + +namespace Microsoft.Azure.Management.Logic.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// <summary> + /// The artifact content properties definition. + /// </summary> + public partial class ArtifactContentPropertiesDefinition : ArtifactProperties + { + /// <summary> + /// Initializes a new instance of the + /// ArtifactContentPropertiesDefinition class. + /// </summary> + public ArtifactContentPropertiesDefinition() + { + CustomInit(); + } + + /// <summary> + /// Initializes a new instance of the + /// ArtifactContentPropertiesDefinition class. + /// </summary> + /// <param name="createdTime">The artifact creation time.</param> + /// <param name="changedTime">The artifact changed time.</param> + /// <param name="contentType">The content type.</param> + /// <param name="contentLink">The content link.</param> + public ArtifactContentPropertiesDefinition(System.DateTime? createdTime = default(System.DateTime?), System.DateTime? changedTime = default(System.DateTime?), object metadata = default(object), object content = default(object), string contentType = default(string), ContentLink contentLink = default(ContentLink)) + : base(createdTime, changedTime, metadata) + { + Content = content; + ContentType = contentType; + ContentLink = contentLink; + CustomInit(); + } + + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + + /// <summary> + /// </summary> + [JsonProperty(PropertyName = "content")] + public object Content { get; set; } + + /// <summary> + /// Gets or sets the content type. + /// </summary> + [JsonProperty(PropertyName = "contentType")] + public string ContentType { get; set; } + + /// <summary> + /// Gets or sets the content link. + /// </summary> + [JsonProperty(PropertyName = "contentLink")] + public ContentLink ContentLink { get; set; } + + } +} diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/ArtifactProperties.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/ArtifactProperties.cs new file mode 100644 index 0000000000000..020e79c1faca5 --- /dev/null +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/ArtifactProperties.cs @@ -0,0 +1,65 @@ +// <auto-generated> +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// </auto-generated> + +namespace Microsoft.Azure.Management.Logic.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// <summary> + /// The artifact properties definition. + /// </summary> + public partial class ArtifactProperties + { + /// <summary> + /// Initializes a new instance of the ArtifactProperties class. + /// </summary> + public ArtifactProperties() + { + CustomInit(); + } + + /// <summary> + /// Initializes a new instance of the ArtifactProperties class. + /// </summary> + /// <param name="createdTime">The artifact creation time.</param> + /// <param name="changedTime">The artifact changed time.</param> + public ArtifactProperties(System.DateTime? createdTime = default(System.DateTime?), System.DateTime? changedTime = default(System.DateTime?), object metadata = default(object)) + { + CreatedTime = createdTime; + ChangedTime = changedTime; + Metadata = metadata; + CustomInit(); + } + + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + + /// <summary> + /// Gets or sets the artifact creation time. + /// </summary> + [JsonProperty(PropertyName = "createdTime")] + public System.DateTime? CreatedTime { get; set; } + + /// <summary> + /// Gets or sets the artifact changed time. + /// </summary> + [JsonProperty(PropertyName = "changedTime")] + public System.DateTime? ChangedTime { get; set; } + + /// <summary> + /// </summary> + [JsonProperty(PropertyName = "metadata")] + public object Metadata { get; set; } + + } +} diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/AssemblyDefinition.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/AssemblyDefinition.cs new file mode 100644 index 0000000000000..7603dbc5ee5e8 --- /dev/null +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/AssemblyDefinition.cs @@ -0,0 +1,77 @@ +// <auto-generated> +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// </auto-generated> + +namespace Microsoft.Azure.Management.Logic.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// <summary> + /// The assembly definition. + /// </summary> + public partial class AssemblyDefinition : Resource + { + /// <summary> + /// Initializes a new instance of the AssemblyDefinition class. + /// </summary> + public AssemblyDefinition() + { + CustomInit(); + } + + /// <summary> + /// Initializes a new instance of the AssemblyDefinition class. + /// </summary> + /// <param name="properties">The assembly properties.</param> + /// <param name="id">The resource id.</param> + /// <param name="name">Gets the resource name.</param> + /// <param name="type">Gets the resource type.</param> + /// <param name="location">The resource location.</param> + /// <param name="tags">The resource tags.</param> + public AssemblyDefinition(AssemblyProperties properties, string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary<string, string> tags = default(IDictionary<string, string>)) + : base(id, name, type, location, tags) + { + Properties = properties; + CustomInit(); + } + + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + + /// <summary> + /// Gets or sets the assembly properties. + /// </summary> + [JsonProperty(PropertyName = "properties")] + public AssemblyProperties Properties { get; set; } + + /// <summary> + /// Validate the object. + /// </summary> + /// <exception cref="ValidationException"> + /// Thrown if validation fails + /// </exception> + public virtual void Validate() + { + if (Properties == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Properties"); + } + if (Properties != null) + { + Properties.Validate(); + } + } + } +} diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/AssemblyProperties.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/AssemblyProperties.cs new file mode 100644 index 0000000000000..b90de5d51fcd7 --- /dev/null +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/AssemblyProperties.cs @@ -0,0 +1,95 @@ +// <auto-generated> +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// </auto-generated> + +namespace Microsoft.Azure.Management.Logic.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Linq; + + /// <summary> + /// The assembly properties definition. + /// </summary> + public partial class AssemblyProperties : ArtifactContentPropertiesDefinition + { + /// <summary> + /// Initializes a new instance of the AssemblyProperties class. + /// </summary> + public AssemblyProperties() + { + CustomInit(); + } + + /// <summary> + /// Initializes a new instance of the AssemblyProperties class. + /// </summary> + /// <param name="assemblyName">The assembly name.</param> + /// <param name="createdTime">The artifact creation time.</param> + /// <param name="changedTime">The artifact changed time.</param> + /// <param name="contentType">The content type.</param> + /// <param name="contentLink">The content link.</param> + /// <param name="assemblyVersion">The assembly version.</param> + /// <param name="assemblyCulture">The assembly culture.</param> + /// <param name="assemblyPublicKeyToken">The assembly public key + /// token.</param> + public AssemblyProperties(string assemblyName, System.DateTime? createdTime = default(System.DateTime?), System.DateTime? changedTime = default(System.DateTime?), object metadata = default(object), object content = default(object), string contentType = default(string), ContentLink contentLink = default(ContentLink), string assemblyVersion = default(string), string assemblyCulture = default(string), string assemblyPublicKeyToken = default(string)) + : base(createdTime, changedTime, metadata, content, contentType, contentLink) + { + AssemblyName = assemblyName; + AssemblyVersion = assemblyVersion; + AssemblyCulture = assemblyCulture; + AssemblyPublicKeyToken = assemblyPublicKeyToken; + CustomInit(); + } + + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + + /// <summary> + /// Gets or sets the assembly name. + /// </summary> + [JsonProperty(PropertyName = "assemblyName")] + public string AssemblyName { get; set; } + + /// <summary> + /// Gets or sets the assembly version. + /// </summary> + [JsonProperty(PropertyName = "assemblyVersion")] + public string AssemblyVersion { get; set; } + + /// <summary> + /// Gets or sets the assembly culture. + /// </summary> + [JsonProperty(PropertyName = "assemblyCulture")] + public string AssemblyCulture { get; set; } + + /// <summary> + /// Gets or sets the assembly public key token. + /// </summary> + [JsonProperty(PropertyName = "assemblyPublicKeyToken")] + public string AssemblyPublicKeyToken { get; set; } + + /// <summary> + /// Validate the object. + /// </summary> + /// <exception cref="ValidationException"> + /// Thrown if validation fails + /// </exception> + public virtual void Validate() + { + if (AssemblyName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "AssemblyName"); + } + } + } +} diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/AzureResourceErrorInfo.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/AzureResourceErrorInfo.cs new file mode 100644 index 0000000000000..f69d6995232b9 --- /dev/null +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/AzureResourceErrorInfo.cs @@ -0,0 +1,88 @@ +// <auto-generated> +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// </auto-generated> + +namespace Microsoft.Azure.Management.Logic.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// <summary> + /// The azure resource error info. + /// </summary> + public partial class AzureResourceErrorInfo : ErrorInfo + { + /// <summary> + /// Initializes a new instance of the AzureResourceErrorInfo class. + /// </summary> + public AzureResourceErrorInfo() + { + CustomInit(); + } + + /// <summary> + /// Initializes a new instance of the AzureResourceErrorInfo class. + /// </summary> + /// <param name="code">The error code.</param> + /// <param name="message">The error message.</param> + /// <param name="details">The error details.</param> + public AzureResourceErrorInfo(string code, string message, IList<AzureResourceErrorInfo> details = default(IList<AzureResourceErrorInfo>)) + : base(code) + { + Message = message; + Details = details; + CustomInit(); + } + + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + + /// <summary> + /// Gets or sets the error message. + /// </summary> + [JsonProperty(PropertyName = "message")] + public string Message { get; set; } + + /// <summary> + /// Gets or sets the error details. + /// </summary> + [JsonProperty(PropertyName = "details")] + public IList<AzureResourceErrorInfo> Details { get; set; } + + /// <summary> + /// Validate the object. + /// </summary> + /// <exception cref="ValidationException"> + /// Thrown if validation fails + /// </exception> + public override void Validate() + { + base.Validate(); + if (Message == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Message"); + } + if (Details != null) + { + foreach (var element in Details) + { + if (element != null) + { + element.Validate(); + } + } + } + } + } +} diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/B2BPartnerContent.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/B2BPartnerContent.cs index 2e4691bf4cbd0..20ad28c96d0b6 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/B2BPartnerContent.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/B2BPartnerContent.cs @@ -1,16 +1,15 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; @@ -24,7 +23,10 @@ public partial class B2BPartnerContent /// <summary> /// Initializes a new instance of the B2BPartnerContent class. /// </summary> - public B2BPartnerContent() { } + public B2BPartnerContent() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the B2BPartnerContent class. @@ -34,8 +36,14 @@ public B2BPartnerContent() { } public B2BPartnerContent(IList<BusinessIdentity> businessIdentities = default(IList<BusinessIdentity>)) { BusinessIdentities = businessIdentities; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the list of partner business identities. /// </summary> @@ -44,4 +52,3 @@ public B2BPartnerContent() { } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/BatchConfiguration.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/BatchConfiguration.cs new file mode 100644 index 0000000000000..5e3d8457c5da9 --- /dev/null +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/BatchConfiguration.cs @@ -0,0 +1,78 @@ +// <auto-generated> +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// </auto-generated> + +namespace Microsoft.Azure.Management.Logic.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// <summary> + /// The batch configuration resource definition. + /// </summary> + public partial class BatchConfiguration : Resource + { + /// <summary> + /// Initializes a new instance of the BatchConfiguration class. + /// </summary> + public BatchConfiguration() + { + CustomInit(); + } + + /// <summary> + /// Initializes a new instance of the BatchConfiguration class. + /// </summary> + /// <param name="properties">The batch configuration + /// properties.</param> + /// <param name="id">The resource id.</param> + /// <param name="name">Gets the resource name.</param> + /// <param name="type">Gets the resource type.</param> + /// <param name="location">The resource location.</param> + /// <param name="tags">The resource tags.</param> + public BatchConfiguration(BatchConfigurationProperties properties, string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary<string, string> tags = default(IDictionary<string, string>)) + : base(id, name, type, location, tags) + { + Properties = properties; + CustomInit(); + } + + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + + /// <summary> + /// Gets or sets the batch configuration properties. + /// </summary> + [JsonProperty(PropertyName = "properties")] + public BatchConfigurationProperties Properties { get; set; } + + /// <summary> + /// Validate the object. + /// </summary> + /// <exception cref="ValidationException"> + /// Thrown if validation fails + /// </exception> + public virtual void Validate() + { + if (Properties == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Properties"); + } + if (Properties != null) + { + Properties.Validate(); + } + } + } +} diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/BatchConfigurationProperties.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/BatchConfigurationProperties.cs new file mode 100644 index 0000000000000..0ec0b7fd6c4d1 --- /dev/null +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/BatchConfigurationProperties.cs @@ -0,0 +1,82 @@ +// <auto-generated> +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// </auto-generated> + +namespace Microsoft.Azure.Management.Logic.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Linq; + + /// <summary> + /// The batch configuration properties definition. + /// </summary> + public partial class BatchConfigurationProperties : ArtifactProperties + { + /// <summary> + /// Initializes a new instance of the BatchConfigurationProperties + /// class. + /// </summary> + public BatchConfigurationProperties() + { + CustomInit(); + } + + /// <summary> + /// Initializes a new instance of the BatchConfigurationProperties + /// class. + /// </summary> + /// <param name="batchGroupName">The name of the batch group.</param> + /// <param name="releaseCriteria">The batch release criteria.</param> + /// <param name="createdTime">The artifact creation time.</param> + /// <param name="changedTime">The artifact changed time.</param> + public BatchConfigurationProperties(string batchGroupName, BatchReleaseCriteria releaseCriteria, System.DateTime? createdTime = default(System.DateTime?), System.DateTime? changedTime = default(System.DateTime?), object metadata = default(object)) + : base(createdTime, changedTime, metadata) + { + BatchGroupName = batchGroupName; + ReleaseCriteria = releaseCriteria; + CustomInit(); + } + + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + + /// <summary> + /// Gets or sets the name of the batch group. + /// </summary> + [JsonProperty(PropertyName = "batchGroupName")] + public string BatchGroupName { get; set; } + + /// <summary> + /// Gets or sets the batch release criteria. + /// </summary> + [JsonProperty(PropertyName = "releaseCriteria")] + public BatchReleaseCriteria ReleaseCriteria { get; set; } + + /// <summary> + /// Validate the object. + /// </summary> + /// <exception cref="ValidationException"> + /// Thrown if validation fails + /// </exception> + public virtual void Validate() + { + if (BatchGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "BatchGroupName"); + } + if (ReleaseCriteria == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "ReleaseCriteria"); + } + } + } +} diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/BatchReleaseCriteria.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/BatchReleaseCriteria.cs new file mode 100644 index 0000000000000..2c7d968da6c83 --- /dev/null +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/BatchReleaseCriteria.cs @@ -0,0 +1,67 @@ +// <auto-generated> +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// </auto-generated> + +namespace Microsoft.Azure.Management.Logic.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// <summary> + /// The batch release criteria. + /// </summary> + public partial class BatchReleaseCriteria + { + /// <summary> + /// Initializes a new instance of the BatchReleaseCriteria class. + /// </summary> + public BatchReleaseCriteria() + { + CustomInit(); + } + + /// <summary> + /// Initializes a new instance of the BatchReleaseCriteria class. + /// </summary> + /// <param name="messageCount">The message count.</param> + /// <param name="batchSize">The batch size in bytes.</param> + /// <param name="recurrence">The recurrence.</param> + public BatchReleaseCriteria(int? messageCount = default(int?), int? batchSize = default(int?), WorkflowTriggerRecurrence recurrence = default(WorkflowTriggerRecurrence)) + { + MessageCount = messageCount; + BatchSize = batchSize; + Recurrence = recurrence; + CustomInit(); + } + + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + + /// <summary> + /// Gets or sets the message count. + /// </summary> + [JsonProperty(PropertyName = "messageCount")] + public int? MessageCount { get; set; } + + /// <summary> + /// Gets or sets the batch size in bytes. + /// </summary> + [JsonProperty(PropertyName = "batchSize")] + public int? BatchSize { get; set; } + + /// <summary> + /// Gets or sets the recurrence. + /// </summary> + [JsonProperty(PropertyName = "recurrence")] + public WorkflowTriggerRecurrence Recurrence { get; set; } + + } +} diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/BusinessIdentity.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/BusinessIdentity.cs index 0f5a877a3db84..f2504387c7684 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/BusinessIdentity.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/BusinessIdentity.cs @@ -1,17 +1,16 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; - using Rest; + using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -23,7 +22,10 @@ public partial class BusinessIdentity /// <summary> /// Initializes a new instance of the BusinessIdentity class. /// </summary> - public BusinessIdentity() { } + public BusinessIdentity() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the BusinessIdentity class. @@ -36,8 +38,14 @@ public BusinessIdentity(string qualifier, string value) { Qualifier = qualifier; Value = value; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the business identity qualifier e.g. as2identity, ZZ, /// ZZZ, 31, 32 @@ -70,4 +78,3 @@ public virtual void Validate() } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/CallbackUrl.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/CallbackUrl.cs index e7a92fb7c7cea..d85a2dc7c2823 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/CallbackUrl.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/CallbackUrl.cs @@ -1,16 +1,15 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; using Newtonsoft.Json; using System.Linq; @@ -22,7 +21,10 @@ public partial class CallbackUrl /// <summary> /// Initializes a new instance of the CallbackUrl class. /// </summary> - public CallbackUrl() { } + public CallbackUrl() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the CallbackUrl class. @@ -31,8 +33,14 @@ public CallbackUrl() { } public CallbackUrl(string value = default(string)) { Value = value; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the URL value. /// </summary> @@ -41,4 +49,3 @@ public CallbackUrl() { } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/ContentHash.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/ContentHash.cs index 1dc7ecab37c83..802da63c421cf 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/ContentHash.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/ContentHash.cs @@ -1,16 +1,15 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; using Newtonsoft.Json; using System.Linq; @@ -22,7 +21,10 @@ public partial class ContentHash /// <summary> /// Initializes a new instance of the ContentHash class. /// </summary> - public ContentHash() { } + public ContentHash() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the ContentHash class. @@ -33,8 +35,14 @@ public ContentHash() { } { Algorithm = algorithm; Value = value; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the algorithm of the content hash. /// </summary> @@ -49,4 +57,3 @@ public ContentHash() { } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/ContentLink.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/ContentLink.cs index ad6f7a6f708ce..3a238df44a3cb 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/ContentLink.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/ContentLink.cs @@ -1,16 +1,15 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; using Newtonsoft.Json; using System.Linq; @@ -22,7 +21,10 @@ public partial class ContentLink /// <summary> /// Initializes a new instance of the ContentLink class. /// </summary> - public ContentLink() { } + public ContentLink() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the ContentLink class. @@ -39,8 +41,14 @@ public ContentLink() { } ContentSize = contentSize; ContentHash = contentHash; Metadata = metadata; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the content link URI. /// </summary> @@ -73,4 +81,3 @@ public ContentLink() { } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/Correlation.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/Correlation.cs index 629a0634febc7..2f48715214785 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/Correlation.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/Correlation.cs @@ -1,16 +1,15 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; using Newtonsoft.Json; using System.Linq; @@ -22,7 +21,10 @@ public partial class Correlation /// <summary> /// Initializes a new instance of the Correlation class. /// </summary> - public Correlation() { } + public Correlation() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the Correlation class. @@ -31,8 +33,14 @@ public Correlation() { } public Correlation(string clientTrackingId = default(string)) { ClientTrackingId = clientTrackingId; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the client tracking id. /// </summary> @@ -41,4 +49,3 @@ public Correlation() { } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/DayOfWeek.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/DayOfWeek.cs index 050ac58f8a7a2..c24ae7a102596 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/DayOfWeek.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/DayOfWeek.cs @@ -1,16 +1,15 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.Runtime; @@ -37,5 +36,55 @@ public enum DayOfWeek [EnumMember(Value = "Saturday")] Saturday } -} + internal static class DayOfWeekEnumExtension + { + internal static string ToSerializedValue(this DayOfWeek? value) + { + return value == null ? null : ((DayOfWeek)value).ToSerializedValue(); + } + + internal static string ToSerializedValue(this DayOfWeek value) + { + switch( value ) + { + case DayOfWeek.Sunday: + return "Sunday"; + case DayOfWeek.Monday: + return "Monday"; + case DayOfWeek.Tuesday: + return "Tuesday"; + case DayOfWeek.Wednesday: + return "Wednesday"; + case DayOfWeek.Thursday: + return "Thursday"; + case DayOfWeek.Friday: + return "Friday"; + case DayOfWeek.Saturday: + return "Saturday"; + } + return null; + } + internal static DayOfWeek? ParseDayOfWeek(this string value) + { + switch( value ) + { + case "Sunday": + return DayOfWeek.Sunday; + case "Monday": + return DayOfWeek.Monday; + case "Tuesday": + return DayOfWeek.Tuesday; + case "Wednesday": + return DayOfWeek.Wednesday; + case "Thursday": + return DayOfWeek.Thursday; + case "Friday": + return DayOfWeek.Friday; + case "Saturday": + return DayOfWeek.Saturday; + } + return null; + } + } +} diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/DaysOfWeek.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/DaysOfWeek.cs index 5b96d482b9a7b..3287539dd019c 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/DaysOfWeek.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/DaysOfWeek.cs @@ -1,16 +1,15 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.Runtime; @@ -37,5 +36,55 @@ public enum DaysOfWeek [EnumMember(Value = "Saturday")] Saturday } -} + internal static class DaysOfWeekEnumExtension + { + internal static string ToSerializedValue(this DaysOfWeek? value) + { + return value == null ? null : ((DaysOfWeek)value).ToSerializedValue(); + } + + internal static string ToSerializedValue(this DaysOfWeek value) + { + switch( value ) + { + case DaysOfWeek.Sunday: + return "Sunday"; + case DaysOfWeek.Monday: + return "Monday"; + case DaysOfWeek.Tuesday: + return "Tuesday"; + case DaysOfWeek.Wednesday: + return "Wednesday"; + case DaysOfWeek.Thursday: + return "Thursday"; + case DaysOfWeek.Friday: + return "Friday"; + case DaysOfWeek.Saturday: + return "Saturday"; + } + return null; + } + internal static DaysOfWeek? ParseDaysOfWeek(this string value) + { + switch( value ) + { + case "Sunday": + return DaysOfWeek.Sunday; + case "Monday": + return DaysOfWeek.Monday; + case "Tuesday": + return DaysOfWeek.Tuesday; + case "Wednesday": + return DaysOfWeek.Wednesday; + case "Thursday": + return DaysOfWeek.Thursday; + case "Friday": + return DaysOfWeek.Friday; + case "Saturday": + return DaysOfWeek.Saturday; + } + return null; + } + } +} diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactAcknowledgementSettings.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactAcknowledgementSettings.cs index 0bdeb191cfbe6..8721edfb2c10d 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactAcknowledgementSettings.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactAcknowledgementSettings.cs @@ -1,16 +1,15 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; using Newtonsoft.Json; using System.Linq; @@ -23,7 +22,10 @@ public partial class EdifactAcknowledgementSettings /// Initializes a new instance of the EdifactAcknowledgementSettings /// class. /// </summary> - public EdifactAcknowledgementSettings() { } + public EdifactAcknowledgementSettings() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the EdifactAcknowledgementSettings @@ -65,8 +67,14 @@ public EdifactAcknowledgementSettings() { } AcknowledgementControlNumberLowerBound = acknowledgementControlNumberLowerBound; AcknowledgementControlNumberUpperBound = acknowledgementControlNumberUpperBound; RolloverAcknowledgementControlNumber = rolloverAcknowledgementControlNumber; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the value indicating whether technical acknowledgement /// is needed. @@ -152,4 +160,3 @@ public virtual void Validate() } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactAgreementContent.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactAgreementContent.cs index dfef5cf1a474d..7abdce4885ee6 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactAgreementContent.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactAgreementContent.cs @@ -1,17 +1,16 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; - using Rest; + using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -23,7 +22,10 @@ public partial class EdifactAgreementContent /// <summary> /// Initializes a new instance of the EdifactAgreementContent class. /// </summary> - public EdifactAgreementContent() { } + public EdifactAgreementContent() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the EdifactAgreementContent class. @@ -36,8 +38,14 @@ public EdifactAgreementContent(EdifactOneWayAgreement receiveAgreement, EdifactO { ReceiveAgreement = receiveAgreement; SendAgreement = sendAgreement; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the EDIFACT one-way receive agreement. /// </summary> @@ -77,4 +85,3 @@ public virtual void Validate() } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactCharacterSet.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactCharacterSet.cs index 858590e1a77db..096ee876cc62d 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactCharacterSet.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactCharacterSet.cs @@ -1,57 +1,35 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; - using Newtonsoft.Json; - using Newtonsoft.Json.Converters; - using System.Runtime; - using System.Runtime.Serialization; /// <summary> /// Defines values for EdifactCharacterSet. /// </summary> - [JsonConverter(typeof(StringEnumConverter))] - public enum EdifactCharacterSet + public static class EdifactCharacterSet { - [EnumMember(Value = "NotSpecified")] - NotSpecified, - [EnumMember(Value = "UNOB")] - UNOB, - [EnumMember(Value = "UNOA")] - UNOA, - [EnumMember(Value = "UNOC")] - UNOC, - [EnumMember(Value = "UNOD")] - UNOD, - [EnumMember(Value = "UNOE")] - UNOE, - [EnumMember(Value = "UNOF")] - UNOF, - [EnumMember(Value = "UNOG")] - UNOG, - [EnumMember(Value = "UNOH")] - UNOH, - [EnumMember(Value = "UNOI")] - UNOI, - [EnumMember(Value = "UNOJ")] - UNOJ, - [EnumMember(Value = "UNOK")] - UNOK, - [EnumMember(Value = "UNOX")] - UNOX, - [EnumMember(Value = "UNOY")] - UNOY, - [EnumMember(Value = "KECA")] - KECA + public const string NotSpecified = "NotSpecified"; + public const string UNOB = "UNOB"; + public const string UNOA = "UNOA"; + public const string UNOC = "UNOC"; + public const string UNOD = "UNOD"; + public const string UNOE = "UNOE"; + public const string UNOF = "UNOF"; + public const string UNOG = "UNOG"; + public const string UNOH = "UNOH"; + public const string UNOI = "UNOI"; + public const string UNOJ = "UNOJ"; + public const string UNOK = "UNOK"; + public const string UNOX = "UNOX"; + public const string UNOY = "UNOY"; + public const string KECA = "KECA"; } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactDecimalIndicator.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactDecimalIndicator.cs index 091c84aa642c4..fcd8e14784db7 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactDecimalIndicator.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactDecimalIndicator.cs @@ -1,16 +1,15 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.Runtime; @@ -29,5 +28,39 @@ public enum EdifactDecimalIndicator [EnumMember(Value = "Decimal")] Decimal } -} + internal static class EdifactDecimalIndicatorEnumExtension + { + internal static string ToSerializedValue(this EdifactDecimalIndicator? value) + { + return value == null ? null : ((EdifactDecimalIndicator)value).ToSerializedValue(); + } + + internal static string ToSerializedValue(this EdifactDecimalIndicator value) + { + switch( value ) + { + case EdifactDecimalIndicator.NotSpecified: + return "NotSpecified"; + case EdifactDecimalIndicator.Comma: + return "Comma"; + case EdifactDecimalIndicator.Decimal: + return "Decimal"; + } + return null; + } + internal static EdifactDecimalIndicator? ParseEdifactDecimalIndicator(this string value) + { + switch( value ) + { + case "NotSpecified": + return EdifactDecimalIndicator.NotSpecified; + case "Comma": + return EdifactDecimalIndicator.Comma; + case "Decimal": + return EdifactDecimalIndicator.Decimal; + } + return null; + } + } +} diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactDelimiterOverride.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactDelimiterOverride.cs index 6a89b970f3e36..86244ae455041 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactDelimiterOverride.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactDelimiterOverride.cs @@ -1,16 +1,15 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; using Newtonsoft.Json; using System.Linq; @@ -22,7 +21,10 @@ public partial class EdifactDelimiterOverride /// <summary> /// Initializes a new instance of the EdifactDelimiterOverride class. /// </summary> - public EdifactDelimiterOverride() { } + public EdifactDelimiterOverride() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the EdifactDelimiterOverride class. @@ -40,7 +42,7 @@ public EdifactDelimiterOverride() { } /// <param name="releaseIndicator">The release indicator.</param> /// <param name="messageId">The message id.</param> /// <param name="messageVersion">The message version.</param> - /// <param name="messageRelease">The message releaseversion.</param> + /// <param name="messageRelease">The message release.</param> /// <param name="messageAssociationAssignedCode">The message /// association assigned code.</param> /// <param name="targetNamespace">The target namespace on which this @@ -59,8 +61,14 @@ public EdifactDelimiterOverride() { } ReleaseIndicator = releaseIndicator; MessageAssociationAssignedCode = messageAssociationAssignedCode; TargetNamespace = targetNamespace; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the message id. /// </summary> @@ -74,7 +82,7 @@ public EdifactDelimiterOverride() { } public string MessageVersion { get; set; } /// <summary> - /// Gets or sets the message releaseversion. + /// Gets or sets the message release. /// </summary> [JsonProperty(PropertyName = "messageRelease")] public string MessageRelease { get; set; } @@ -147,4 +155,3 @@ public virtual void Validate() } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactEnvelopeOverride.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactEnvelopeOverride.cs index e29cf2daac0b8..efde39ffe1295 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactEnvelopeOverride.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactEnvelopeOverride.cs @@ -1,28 +1,30 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; using Newtonsoft.Json; using System.Linq; /// <summary> - /// The Edifact enevlope override settings. + /// The Edifact envelope override settings. /// </summary> public partial class EdifactEnvelopeOverride { /// <summary> /// Initializes a new instance of the EdifactEnvelopeOverride class. /// </summary> - public EdifactEnvelopeOverride() { } + public EdifactEnvelopeOverride() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the EdifactEnvelopeOverride class. @@ -72,8 +74,14 @@ public EdifactEnvelopeOverride() { } GroupHeaderMessageRelease = groupHeaderMessageRelease; AssociationAssignedCode = associationAssignedCode; ApplicationPassword = applicationPassword; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the message id on which this envelope settings has to /// be applied. @@ -170,4 +178,3 @@ public EdifactEnvelopeOverride() { } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactEnvelopeSettings.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactEnvelopeSettings.cs index 7c0a279fed034..160fd15b78443 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactEnvelopeSettings.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactEnvelopeSettings.cs @@ -1,16 +1,15 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; using Newtonsoft.Json; using System.Linq; @@ -22,7 +21,10 @@ public partial class EdifactEnvelopeSettings /// <summary> /// Initializes a new instance of the EdifactEnvelopeSettings class. /// </summary> - public EdifactEnvelopeSettings() { } + public EdifactEnvelopeSettings() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the EdifactEnvelopeSettings class. @@ -153,8 +155,14 @@ public EdifactEnvelopeSettings() { } SenderInternalSubIdentification = senderInternalSubIdentification; ReceiverInternalIdentification = receiverInternalIdentification; ReceiverInternalSubIdentification = receiverInternalSubIdentification; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the group association assigned code. /// </summary> @@ -421,4 +429,3 @@ public virtual void Validate() } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactFramingSettings.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactFramingSettings.cs index 7f9fadea3dce0..f5f2ce55d4657 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactFramingSettings.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactFramingSettings.cs @@ -1,16 +1,16 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; + using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -22,7 +22,10 @@ public partial class EdifactFramingSettings /// <summary> /// Initializes a new instance of the EdifactFramingSettings class. /// </summary> - public EdifactFramingSettings() { } + public EdifactFramingSettings() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the EdifactFramingSettings class. @@ -47,7 +50,7 @@ public EdifactFramingSettings() { } /// <param name="serviceCodeListDirectoryVersion">The service code list /// directory version.</param> /// <param name="characterEncoding">The character encoding.</param> - public EdifactFramingSettings(int protocolVersion, int dataElementSeparator, int componentSeparator, int segmentTerminator, int releaseIndicator, int repetitionSeparator, EdifactCharacterSet characterSet, EdifactDecimalIndicator decimalPointIndicator, SegmentTerminatorSuffix segmentTerminatorSuffix, string serviceCodeListDirectoryVersion = default(string), string characterEncoding = default(string)) + public EdifactFramingSettings(int protocolVersion, int dataElementSeparator, int componentSeparator, int segmentTerminator, int releaseIndicator, int repetitionSeparator, string characterSet, EdifactDecimalIndicator decimalPointIndicator, SegmentTerminatorSuffix segmentTerminatorSuffix, string serviceCodeListDirectoryVersion = default(string), string characterEncoding = default(string)) { ServiceCodeListDirectoryVersion = serviceCodeListDirectoryVersion; CharacterEncoding = characterEncoding; @@ -60,8 +63,14 @@ public EdifactFramingSettings() { } CharacterSet = characterSet; DecimalPointIndicator = decimalPointIndicator; SegmentTerminatorSuffix = segmentTerminatorSuffix; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the service code list directory version. /// </summary> @@ -117,7 +126,7 @@ public EdifactFramingSettings() { } /// 'UNOY', 'KECA' /// </summary> [JsonProperty(PropertyName = "characterSet")] - public EdifactCharacterSet CharacterSet { get; set; } + public string CharacterSet { get; set; } /// <summary> /// Gets or sets the EDIFACT frame setting decimal indicator. Possible @@ -136,12 +145,15 @@ public EdifactFramingSettings() { } /// <summary> /// Validate the object. /// </summary> - /// <exception cref="Rest.ValidationException"> + /// <exception cref="ValidationException"> /// Thrown if validation fails /// </exception> public virtual void Validate() { + if (CharacterSet == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "CharacterSet"); + } } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactMessageFilter.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactMessageFilter.cs index de2fec13cff97..83b8ddbe4fbd5 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactMessageFilter.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactMessageFilter.cs @@ -1,16 +1,16 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; + using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -22,34 +22,46 @@ public partial class EdifactMessageFilter /// <summary> /// Initializes a new instance of the EdifactMessageFilter class. /// </summary> - public EdifactMessageFilter() { } + public EdifactMessageFilter() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the EdifactMessageFilter class. /// </summary> /// <param name="messageFilterType">The message filter type. Possible /// values include: 'NotSpecified', 'Include', 'Exclude'</param> - public EdifactMessageFilter(MessageFilterType messageFilterType) + public EdifactMessageFilter(string messageFilterType) { MessageFilterType = messageFilterType; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the message filter type. Possible values include: /// 'NotSpecified', 'Include', 'Exclude' /// </summary> [JsonProperty(PropertyName = "messageFilterType")] - public MessageFilterType MessageFilterType { get; set; } + public string MessageFilterType { get; set; } /// <summary> /// Validate the object. /// </summary> - /// <exception cref="Rest.ValidationException"> + /// <exception cref="ValidationException"> /// Thrown if validation fails /// </exception> public virtual void Validate() { + if (MessageFilterType == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "MessageFilterType"); + } } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactMessageIdentifier.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactMessageIdentifier.cs index c344ac8b44620..6bfe2b613b2ed 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactMessageIdentifier.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactMessageIdentifier.cs @@ -1,17 +1,16 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; - using Rest; + using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -23,7 +22,10 @@ public partial class EdifactMessageIdentifier /// <summary> /// Initializes a new instance of the EdifactMessageIdentifier class. /// </summary> - public EdifactMessageIdentifier() { } + public EdifactMessageIdentifier() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the EdifactMessageIdentifier class. @@ -33,8 +35,14 @@ public EdifactMessageIdentifier() { } public EdifactMessageIdentifier(string messageId) { MessageId = messageId; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the message id on which this envelope settings has to /// be applied. @@ -57,4 +65,3 @@ public virtual void Validate() } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactOneWayAgreement.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactOneWayAgreement.cs index c60a17ab8a4ae..f44ee563aad9a 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactOneWayAgreement.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactOneWayAgreement.cs @@ -1,17 +1,16 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; - using Rest; + using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -23,7 +22,10 @@ public partial class EdifactOneWayAgreement /// <summary> /// Initializes a new instance of the EdifactOneWayAgreement class. /// </summary> - public EdifactOneWayAgreement() { } + public EdifactOneWayAgreement() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the EdifactOneWayAgreement class. @@ -39,8 +41,14 @@ public EdifactOneWayAgreement(BusinessIdentity senderBusinessIdentity, BusinessI SenderBusinessIdentity = senderBusinessIdentity; ReceiverBusinessIdentity = receiverBusinessIdentity; ProtocolSettings = protocolSettings; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the sender business identity /// </summary> @@ -94,4 +102,3 @@ public virtual void Validate() } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactProcessingSettings.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactProcessingSettings.cs index a874a5295f91e..a6ab1d28574cb 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactProcessingSettings.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactProcessingSettings.cs @@ -1,16 +1,15 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; using Newtonsoft.Json; using System.Linq; @@ -22,7 +21,10 @@ public partial class EdifactProcessingSettings /// <summary> /// Initializes a new instance of the EdifactProcessingSettings class. /// </summary> - public EdifactProcessingSettings() { } + public EdifactProcessingSettings() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the EdifactProcessingSettings class. @@ -45,8 +47,14 @@ public EdifactProcessingSettings(bool maskSecurityInfo, bool preserveInterchange SuspendInterchangeOnError = suspendInterchangeOnError; CreateEmptyXmlTagsForTrailingSeparators = createEmptyXmlTagsForTrailingSeparators; UseDotAsDecimalSeparator = useDotAsDecimalSeparator; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the value indicating whether to mask security /// information. @@ -93,4 +101,3 @@ public virtual void Validate() } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactProtocolSettings.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactProtocolSettings.cs index 40e795d272473..12f81409a3847 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactProtocolSettings.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactProtocolSettings.cs @@ -1,17 +1,16 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; - using Rest; + using Microsoft.Rest; using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; @@ -25,7 +24,10 @@ public partial class EdifactProtocolSettings /// <summary> /// Initializes a new instance of the EdifactProtocolSettings class. /// </summary> - public EdifactProtocolSettings() { } + public EdifactProtocolSettings() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the EdifactProtocolSettings class. @@ -63,8 +65,14 @@ public EdifactProtocolSettings() { } SchemaReferences = schemaReferences; ValidationOverrides = validationOverrides; EdifactDelimiterOverrides = edifactDelimiterOverrides; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the EDIFACT validation settings. /// </summary> @@ -234,4 +242,3 @@ public virtual void Validate() } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactSchemaReference.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactSchemaReference.cs index 539bcddc31798..3ab99325b32c0 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactSchemaReference.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactSchemaReference.cs @@ -1,17 +1,16 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; - using Rest; + using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -23,7 +22,10 @@ public partial class EdifactSchemaReference /// <summary> /// Initializes a new instance of the EdifactSchemaReference class. /// </summary> - public EdifactSchemaReference() { } + public EdifactSchemaReference() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the EdifactSchemaReference class. @@ -47,8 +49,14 @@ public EdifactSchemaReference() { } SenderApplicationQualifier = senderApplicationQualifier; AssociationAssignedCode = associationAssignedCode; SchemaName = schemaName; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the message id. /// </summary> @@ -118,4 +126,3 @@ public virtual void Validate() } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactValidationOverride.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactValidationOverride.cs index e2dbc3e7898ca..0f604576eb2df 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactValidationOverride.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactValidationOverride.cs @@ -1,17 +1,16 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; - using Rest; + using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -23,7 +22,10 @@ public partial class EdifactValidationOverride /// <summary> /// Initializes a new instance of the EdifactValidationOverride class. /// </summary> - public EdifactValidationOverride() { } + public EdifactValidationOverride() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the EdifactValidationOverride class. @@ -45,7 +47,7 @@ public EdifactValidationOverride() { } /// <param name="trimLeadingAndTrailingSpacesAndZeroes">The value /// indicating whether to trim leading and trailing spaces and /// zeroes.</param> - public EdifactValidationOverride(string messageId, bool enforceCharacterSet, bool validateEdiTypes, bool validateXsdTypes, bool allowLeadingAndTrailingSpacesAndZeroes, TrailingSeparatorPolicy trailingSeparatorPolicy, bool trimLeadingAndTrailingSpacesAndZeroes) + public EdifactValidationOverride(string messageId, bool enforceCharacterSet, bool validateEdiTypes, bool validateXsdTypes, bool allowLeadingAndTrailingSpacesAndZeroes, string trailingSeparatorPolicy, bool trimLeadingAndTrailingSpacesAndZeroes) { MessageId = messageId; EnforceCharacterSet = enforceCharacterSet; @@ -54,8 +56,14 @@ public EdifactValidationOverride(string messageId, bool enforceCharacterSet, boo AllowLeadingAndTrailingSpacesAndZeroes = allowLeadingAndTrailingSpacesAndZeroes; TrailingSeparatorPolicy = trailingSeparatorPolicy; TrimLeadingAndTrailingSpacesAndZeroes = trimLeadingAndTrailingSpacesAndZeroes; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the message id on which the validation settings has to /// be applied. @@ -94,7 +102,7 @@ public EdifactValidationOverride(string messageId, bool enforceCharacterSet, boo /// include: 'NotSpecified', 'NotAllowed', 'Optional', 'Mandatory' /// </summary> [JsonProperty(PropertyName = "trailingSeparatorPolicy")] - public TrailingSeparatorPolicy TrailingSeparatorPolicy { get; set; } + public string TrailingSeparatorPolicy { get; set; } /// <summary> /// Gets or sets the value indicating whether to trim leading and @@ -115,7 +123,10 @@ public virtual void Validate() { throw new ValidationException(ValidationRules.CannotBeNull, "MessageId"); } + if (TrailingSeparatorPolicy == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "TrailingSeparatorPolicy"); + } } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactValidationSettings.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactValidationSettings.cs index df872552502e6..3220d3fcc08a0 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactValidationSettings.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/EdifactValidationSettings.cs @@ -1,16 +1,16 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; + using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -22,7 +22,10 @@ public partial class EdifactValidationSettings /// <summary> /// Initializes a new instance of the EdifactValidationSettings class. /// </summary> - public EdifactValidationSettings() { } + public EdifactValidationSettings() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the EdifactValidationSettings class. @@ -52,7 +55,7 @@ public EdifactValidationSettings() { } /// <param name="trailingSeparatorPolicy">The trailing separator /// policy. Possible values include: 'NotSpecified', 'NotAllowed', /// 'Optional', 'Mandatory'</param> - public EdifactValidationSettings(bool validateCharacterSet, bool checkDuplicateInterchangeControlNumber, int interchangeControlNumberValidityDays, bool checkDuplicateGroupControlNumber, bool checkDuplicateTransactionSetControlNumber, bool validateEdiTypes, bool validateXsdTypes, bool allowLeadingAndTrailingSpacesAndZeroes, bool trimLeadingAndTrailingSpacesAndZeroes, TrailingSeparatorPolicy trailingSeparatorPolicy) + public EdifactValidationSettings(bool validateCharacterSet, bool checkDuplicateInterchangeControlNumber, int interchangeControlNumberValidityDays, bool checkDuplicateGroupControlNumber, bool checkDuplicateTransactionSetControlNumber, bool validateEdiTypes, bool validateXsdTypes, bool allowLeadingAndTrailingSpacesAndZeroes, bool trimLeadingAndTrailingSpacesAndZeroes, string trailingSeparatorPolicy) { ValidateCharacterSet = validateCharacterSet; CheckDuplicateInterchangeControlNumber = checkDuplicateInterchangeControlNumber; @@ -64,8 +67,14 @@ public EdifactValidationSettings(bool validateCharacterSet, bool checkDuplicateI AllowLeadingAndTrailingSpacesAndZeroes = allowLeadingAndTrailingSpacesAndZeroes; TrimLeadingAndTrailingSpacesAndZeroes = trimLeadingAndTrailingSpacesAndZeroes; TrailingSeparatorPolicy = trailingSeparatorPolicy; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the value indicating whether to validate character set /// in the message. @@ -133,17 +142,20 @@ public EdifactValidationSettings(bool validateCharacterSet, bool checkDuplicateI /// include: 'NotSpecified', 'NotAllowed', 'Optional', 'Mandatory' /// </summary> [JsonProperty(PropertyName = "trailingSeparatorPolicy")] - public TrailingSeparatorPolicy TrailingSeparatorPolicy { get; set; } + public string TrailingSeparatorPolicy { get; set; } /// <summary> /// Validate the object. /// </summary> - /// <exception cref="Rest.ValidationException"> + /// <exception cref="ValidationException"> /// Thrown if validation fails /// </exception> public virtual void Validate() { + if (TrailingSeparatorPolicy == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "TrailingSeparatorPolicy"); + } } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/EncryptionAlgorithm.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/EncryptionAlgorithm.cs index 7f38a5831d4a0..b1c182d784948 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/EncryptionAlgorithm.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/EncryptionAlgorithm.cs @@ -1,41 +1,27 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; - using Newtonsoft.Json; - using Newtonsoft.Json.Converters; - using System.Runtime; - using System.Runtime.Serialization; /// <summary> /// Defines values for EncryptionAlgorithm. /// </summary> - [JsonConverter(typeof(StringEnumConverter))] - public enum EncryptionAlgorithm + public static class EncryptionAlgorithm { - [EnumMember(Value = "NotSpecified")] - NotSpecified, - [EnumMember(Value = "None")] - None, - [EnumMember(Value = "DES3")] - DES3, - [EnumMember(Value = "RC2")] - RC2, - [EnumMember(Value = "AES128")] - AES128, - [EnumMember(Value = "AES192")] - AES192, - [EnumMember(Value = "AES256")] - AES256 + public const string NotSpecified = "NotSpecified"; + public const string None = "None"; + public const string DES3 = "DES3"; + public const string RC2 = "RC2"; + public const string AES128 = "AES128"; + public const string AES192 = "AES192"; + public const string AES256 = "AES256"; } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/ErrorInfo.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/ErrorInfo.cs new file mode 100644 index 0000000000000..424d333c72804 --- /dev/null +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/ErrorInfo.cs @@ -0,0 +1,65 @@ +// <auto-generated> +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// </auto-generated> + +namespace Microsoft.Azure.Management.Logic.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Linq; + + /// <summary> + /// The error info. + /// </summary> + public partial class ErrorInfo + { + /// <summary> + /// Initializes a new instance of the ErrorInfo class. + /// </summary> + public ErrorInfo() + { + CustomInit(); + } + + /// <summary> + /// Initializes a new instance of the ErrorInfo class. + /// </summary> + /// <param name="code">The error code.</param> + public ErrorInfo(string code) + { + Code = code; + CustomInit(); + } + + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + + /// <summary> + /// Gets or sets the error code. + /// </summary> + [JsonProperty(PropertyName = "code")] + public string Code { get; set; } + + /// <summary> + /// Validate the object. + /// </summary> + /// <exception cref="ValidationException"> + /// Thrown if validation fails + /// </exception> + public virtual void Validate() + { + if (Code == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Code"); + } + } + } +} diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/ErrorProperties.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/ErrorProperties.cs index 194c8bbae35f1..8a86b76b59a58 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/ErrorProperties.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/ErrorProperties.cs @@ -1,16 +1,15 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; using Newtonsoft.Json; using System.Linq; @@ -23,7 +22,10 @@ public partial class ErrorProperties /// <summary> /// Initializes a new instance of the ErrorProperties class. /// </summary> - public ErrorProperties() { } + public ErrorProperties() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the ErrorProperties class. @@ -35,8 +37,14 @@ public ErrorProperties() { } { Code = code; Message = message; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets error code. /// </summary> @@ -51,4 +59,3 @@ public ErrorProperties() { } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/ErrorResponse.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/ErrorResponse.cs index 3d086f30a44fd..b419053bae71c 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/ErrorResponse.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/ErrorResponse.cs @@ -1,21 +1,20 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; using Newtonsoft.Json; using System.Linq; /// <summary> - /// Error reponse indicates Logic service is not able to process the + /// Error response indicates Logic service is not able to process the /// incoming request. The error property contains the error details. /// </summary> public partial class ErrorResponse @@ -23,7 +22,10 @@ public partial class ErrorResponse /// <summary> /// Initializes a new instance of the ErrorResponse class. /// </summary> - public ErrorResponse() { } + public ErrorResponse() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the ErrorResponse class. @@ -32,8 +34,14 @@ public ErrorResponse() { } public ErrorResponse(ErrorProperties error = default(ErrorProperties)) { Error = error; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the error properties. /// </summary> @@ -42,4 +50,3 @@ public ErrorResponse() { } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/ErrorResponseException.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/ErrorResponseException.cs index 6d61369b60288..814f4f6d1328b 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/ErrorResponseException.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/ErrorResponseException.cs @@ -1,29 +1,22 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; - using Rest; - using System.Runtime; - using System.Runtime.Serialization; - using System.Security; + using Microsoft.Rest; /// <summary> /// Exception thrown for an invalid response with ErrorResponse /// information. /// </summary> -#if FullNetFx - [System.Serializable] -#endif - public class ErrorResponseException : RestException + public partial class ErrorResponseException : RestException { /// <summary> /// Gets information about the associated HTTP request. @@ -65,40 +58,5 @@ public ErrorResponseException(string message, System.Exception innerException) : base(message, innerException) { } - -#if FullNetFx - /// <summary> - /// Initializes a new instance of the ErrorResponseException class. - /// </summary> - /// <param name="info">Serialization info.</param> - /// <param name="context">Streaming context.</param> - protected ErrorResponseException(SerializationInfo info, StreamingContext context) - : base(info, context) - { - } - - /// <summary> - /// Serializes content of the exception. - /// </summary> - /// <param name="info">Serialization info.</param> - /// <param name="context">Streaming context.</param> - /// <exception cref="System.ArgumentNullException"> - /// Thrown when a required parameter is null - /// </exception> - [System.Security.Permissions.SecurityPermission(System.Security.Permissions.SecurityAction.Demand, SerializationFormatter = true)] - public override void GetObjectData(SerializationInfo info, StreamingContext context) - { - base.GetObjectData(info, context); - if (info == null) - { - throw new System.ArgumentNullException("info"); - } - - info.AddValue("Request", Request); - info.AddValue("Response", Response); - info.AddValue("Body", Body); - } -#endif } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/EventLevel.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/EventLevel.cs new file mode 100644 index 0000000000000..4524e23e6a22c --- /dev/null +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/EventLevel.cs @@ -0,0 +1,84 @@ +// <auto-generated> +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// </auto-generated> + +namespace Microsoft.Azure.Management.Logic.Models +{ + using Newtonsoft.Json; + using Newtonsoft.Json.Converters; + using System.Runtime; + using System.Runtime.Serialization; + + /// <summary> + /// Defines values for EventLevel. + /// </summary> + [JsonConverter(typeof(StringEnumConverter))] + public enum EventLevel + { + [EnumMember(Value = "LogAlways")] + LogAlways, + [EnumMember(Value = "Critical")] + Critical, + [EnumMember(Value = "Error")] + Error, + [EnumMember(Value = "Warning")] + Warning, + [EnumMember(Value = "Informational")] + Informational, + [EnumMember(Value = "Verbose")] + Verbose + } + internal static class EventLevelEnumExtension + { + internal static string ToSerializedValue(this EventLevel? value) + { + return value == null ? null : ((EventLevel)value).ToSerializedValue(); + } + + internal static string ToSerializedValue(this EventLevel value) + { + switch( value ) + { + case EventLevel.LogAlways: + return "LogAlways"; + case EventLevel.Critical: + return "Critical"; + case EventLevel.Error: + return "Error"; + case EventLevel.Warning: + return "Warning"; + case EventLevel.Informational: + return "Informational"; + case EventLevel.Verbose: + return "Verbose"; + } + return null; + } + + internal static EventLevel? ParseEventLevel(this string value) + { + switch( value ) + { + case "LogAlways": + return EventLevel.LogAlways; + case "Critical": + return EventLevel.Critical; + case "Error": + return EventLevel.Error; + case "Warning": + return EventLevel.Warning; + case "Informational": + return EventLevel.Informational; + case "Verbose": + return EventLevel.Verbose; + } + return null; + } + } +} diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/Expression.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/Expression.cs new file mode 100644 index 0000000000000..0705152a1c64f --- /dev/null +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/Expression.cs @@ -0,0 +1,89 @@ +// <auto-generated> +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// </auto-generated> + +namespace Microsoft.Azure.Management.Logic.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + public partial class Expression + { + /// <summary> + /// Initializes a new instance of the Expression class. + /// </summary> + public Expression() + { + CustomInit(); + } + + /// <summary> + /// Initializes a new instance of the Expression class. + /// </summary> + public Expression(string text = default(string), object value = default(object), IList<Expression> subexpressions = default(IList<Expression>), AzureResourceErrorInfo error = default(AzureResourceErrorInfo)) + { + Text = text; + Value = value; + Subexpressions = subexpressions; + Error = error; + CustomInit(); + } + + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + + /// <summary> + /// </summary> + [JsonProperty(PropertyName = "text")] + public string Text { get; set; } + + /// <summary> + /// </summary> + [JsonProperty(PropertyName = "value")] + public object Value { get; set; } + + /// <summary> + /// </summary> + [JsonProperty(PropertyName = "subexpressions")] + public IList<Expression> Subexpressions { get; set; } + + /// <summary> + /// </summary> + [JsonProperty(PropertyName = "error")] + public AzureResourceErrorInfo Error { get; set; } + + /// <summary> + /// Validate the object. + /// </summary> + /// <exception cref="Rest.ValidationException"> + /// Thrown if validation fails + /// </exception> + public virtual void Validate() + { + if (Subexpressions != null) + { + foreach (var element in Subexpressions) + { + if (element != null) + { + element.Validate(); + } + } + } + if (Error != null) + { + Error.Validate(); + } + } + } +} diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/ExpressionRoot.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/ExpressionRoot.cs new file mode 100644 index 0000000000000..d0f4c595df2d8 --- /dev/null +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/ExpressionRoot.cs @@ -0,0 +1,61 @@ +// <auto-generated> +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// </auto-generated> + +namespace Microsoft.Azure.Management.Logic.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + public partial class ExpressionRoot : Expression + { + /// <summary> + /// Initializes a new instance of the ExpressionRoot class. + /// </summary> + public ExpressionRoot() + { + CustomInit(); + } + + /// <summary> + /// Initializes a new instance of the ExpressionRoot class. + /// </summary> + /// <param name="path">The path.</param> + public ExpressionRoot(string text = default(string), object value = default(object), IList<Expression> subexpressions = default(IList<Expression>), AzureResourceErrorInfo error = default(AzureResourceErrorInfo), string path = default(string)) + : base(text, value, subexpressions, error) + { + Path = path; + CustomInit(); + } + + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + + /// <summary> + /// Gets or sets the path. + /// </summary> + [JsonProperty(PropertyName = "path")] + public string Path { get; set; } + + /// <summary> + /// Validate the object. + /// </summary> + /// <exception cref="Rest.ValidationException"> + /// Thrown if validation fails + /// </exception> + public override void Validate() + { + base.Validate(); + } + } +} diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/GenerateUpgradedDefinitionParameters.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/GenerateUpgradedDefinitionParameters.cs index 996c58bc6a61b..7beb68ffb2c6e 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/GenerateUpgradedDefinitionParameters.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/GenerateUpgradedDefinitionParameters.cs @@ -1,16 +1,15 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; using Newtonsoft.Json; using System.Linq; @@ -23,7 +22,10 @@ public partial class GenerateUpgradedDefinitionParameters /// Initializes a new instance of the /// GenerateUpgradedDefinitionParameters class. /// </summary> - public GenerateUpgradedDefinitionParameters() { } + public GenerateUpgradedDefinitionParameters() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the @@ -34,8 +36,14 @@ public GenerateUpgradedDefinitionParameters() { } public GenerateUpgradedDefinitionParameters(string targetSchemaVersion = default(string)) { TargetSchemaVersion = targetSchemaVersion; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the target schema version. /// </summary> @@ -44,4 +52,3 @@ public GenerateUpgradedDefinitionParameters() { } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/GetCallbackUrlParameters.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/GetCallbackUrlParameters.cs index 8fb6ce6e7c92d..c20a18b7984a8 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/GetCallbackUrlParameters.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/GetCallbackUrlParameters.cs @@ -1,16 +1,15 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; using Newtonsoft.Json; using System.Linq; @@ -22,7 +21,10 @@ public partial class GetCallbackUrlParameters /// <summary> /// Initializes a new instance of the GetCallbackUrlParameters class. /// </summary> - public GetCallbackUrlParameters() { } + public GetCallbackUrlParameters() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the GetCallbackUrlParameters class. @@ -30,12 +32,18 @@ public GetCallbackUrlParameters() { } /// <param name="notAfter">The expiry time.</param> /// <param name="keyType">The key type. Possible values include: /// 'NotSpecified', 'Primary', 'Secondary'</param> - public GetCallbackUrlParameters(System.DateTime? notAfter = default(System.DateTime?), KeyType? keyType = default(KeyType?)) + public GetCallbackUrlParameters(System.DateTime? notAfter = default(System.DateTime?), string keyType = default(string)) { NotAfter = notAfter; KeyType = keyType; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the expiry time. /// </summary> @@ -47,8 +55,7 @@ public GetCallbackUrlParameters() { } /// 'Primary', 'Secondary' /// </summary> [JsonProperty(PropertyName = "keyType")] - public KeyType? KeyType { get; set; } + public string KeyType { get; set; } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/HashingAlgorithm.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/HashingAlgorithm.cs index 9b1a8f2099033..412e346215e8d 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/HashingAlgorithm.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/HashingAlgorithm.cs @@ -1,41 +1,27 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; - using Newtonsoft.Json; - using Newtonsoft.Json.Converters; - using System.Runtime; - using System.Runtime.Serialization; /// <summary> /// Defines values for HashingAlgorithm. /// </summary> - [JsonConverter(typeof(StringEnumConverter))] - public enum HashingAlgorithm + public static class HashingAlgorithm { - [EnumMember(Value = "NotSpecified")] - NotSpecified, - [EnumMember(Value = "None")] - None, - [EnumMember(Value = "MD5")] - MD5, - [EnumMember(Value = "SHA1")] - SHA1, - [EnumMember(Value = "SHA2256")] - SHA2256, - [EnumMember(Value = "SHA2384")] - SHA2384, - [EnumMember(Value = "SHA2512")] - SHA2512 + public const string NotSpecified = "NotSpecified"; + public const string None = "None"; + public const string MD5 = "MD5"; + public const string SHA1 = "SHA1"; + public const string SHA2256 = "SHA2256"; + public const string SHA2384 = "SHA2384"; + public const string SHA2512 = "SHA2512"; } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/IntegrationAccount.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/IntegrationAccount.cs index a67af528f1324..c705e1e10f9b1 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/IntegrationAccount.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/IntegrationAccount.cs @@ -1,16 +1,15 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; @@ -24,7 +23,10 @@ public partial class IntegrationAccount : Resource /// <summary> /// Initializes a new instance of the IntegrationAccount class. /// </summary> - public IntegrationAccount() { } + public IntegrationAccount() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the IntegrationAccount class. @@ -42,8 +44,14 @@ public IntegrationAccount() { } { Properties = properties; Sku = sku; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the integration account properties. /// </summary> @@ -71,4 +79,3 @@ public virtual void Validate() } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/IntegrationAccountAgreement.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/IntegrationAccountAgreement.cs index dc733d7e837d8..48e2dea0138e3 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/IntegrationAccountAgreement.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/IntegrationAccountAgreement.cs @@ -1,18 +1,17 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; - using Rest; - using Rest.Serialization; + using Microsoft.Rest; + using Microsoft.Rest.Serialization; using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; @@ -21,14 +20,17 @@ namespace Microsoft.Azure.Management.Logic.Models /// <summary> /// The integration account agreement. /// </summary> - [JsonTransformation] + [Rest.Serialization.JsonTransformation] public partial class IntegrationAccountAgreement : Resource { /// <summary> /// Initializes a new instance of the IntegrationAccountAgreement /// class. /// </summary> - public IntegrationAccountAgreement() { } + public IntegrationAccountAgreement() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the IntegrationAccountAgreement @@ -65,19 +67,25 @@ public IntegrationAccountAgreement() { } HostIdentity = hostIdentity; GuestIdentity = guestIdentity; Content = content; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets the created time. /// </summary> [JsonProperty(PropertyName = "properties.createdTime")] - public System.DateTime? CreatedTime { get; protected set; } + public System.DateTime? CreatedTime { get; private set; } /// <summary> /// Gets the changed time. /// </summary> [JsonProperty(PropertyName = "properties.changedTime")] - public System.DateTime? ChangedTime { get; protected set; } + public System.DateTime? ChangedTime { get; private set; } /// <summary> /// Gets or sets the metadata. @@ -167,4 +175,3 @@ public virtual void Validate() } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/IntegrationAccountAgreementFilter.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/IntegrationAccountAgreementFilter.cs index 0708818c3fc5e..d720ae5424e13 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/IntegrationAccountAgreementFilter.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/IntegrationAccountAgreementFilter.cs @@ -1,16 +1,15 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; using Newtonsoft.Json; using System.Linq; @@ -23,7 +22,10 @@ public partial class IntegrationAccountAgreementFilter /// Initializes a new instance of the IntegrationAccountAgreementFilter /// class. /// </summary> - public IntegrationAccountAgreementFilter() { } + public IntegrationAccountAgreementFilter() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the IntegrationAccountAgreementFilter @@ -35,8 +37,14 @@ public IntegrationAccountAgreementFilter() { } public IntegrationAccountAgreementFilter(AgreementType agreementType) { AgreementType = agreementType; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the agreement type of integration account agreement. /// Possible values include: 'NotSpecified', 'AS2', 'X12', 'Edifact' @@ -55,4 +63,3 @@ public virtual void Validate() } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/IntegrationAccountCertificate.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/IntegrationAccountCertificate.cs index 7ce2e9ca245f2..ebd3a9c292676 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/IntegrationAccountCertificate.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/IntegrationAccountCertificate.cs @@ -1,18 +1,17 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; - using Rest; - using Rest.Serialization; + using Microsoft.Rest; + using Microsoft.Rest.Serialization; using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; @@ -21,14 +20,17 @@ namespace Microsoft.Azure.Management.Logic.Models /// <summary> /// The integration account certificate. /// </summary> - [JsonTransformation] + [Rest.Serialization.JsonTransformation] public partial class IntegrationAccountCertificate : Resource { /// <summary> /// Initializes a new instance of the IntegrationAccountCertificate /// class. /// </summary> - public IntegrationAccountCertificate() { } + public IntegrationAccountCertificate() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the IntegrationAccountCertificate @@ -52,19 +54,25 @@ public IntegrationAccountCertificate() { } Metadata = metadata; Key = key; PublicCertificate = publicCertificate; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets the created time. /// </summary> [JsonProperty(PropertyName = "properties.createdTime")] - public System.DateTime? CreatedTime { get; protected set; } + public System.DateTime? CreatedTime { get; private set; } /// <summary> /// Gets the changed time. /// </summary> [JsonProperty(PropertyName = "properties.changedTime")] - public System.DateTime? ChangedTime { get; protected set; } + public System.DateTime? ChangedTime { get; private set; } /// <summary> /// Gets or sets the metadata. @@ -99,4 +107,3 @@ public virtual void Validate() } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/IntegrationAccountMap.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/IntegrationAccountMap.cs index 966a49e2376f3..9ab9d31d2375b 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/IntegrationAccountMap.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/IntegrationAccountMap.cs @@ -1,18 +1,17 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; - using Rest; - using Rest.Serialization; + using Microsoft.Rest; + using Microsoft.Rest.Serialization; using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; @@ -21,19 +20,22 @@ namespace Microsoft.Azure.Management.Logic.Models /// <summary> /// The integration account map. /// </summary> - [JsonTransformation] + [Rest.Serialization.JsonTransformation] public partial class IntegrationAccountMap : Resource { /// <summary> /// Initializes a new instance of the IntegrationAccountMap class. /// </summary> - public IntegrationAccountMap() { } + public IntegrationAccountMap() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the IntegrationAccountMap class. /// </summary> /// <param name="mapType">The map type. Possible values include: - /// 'NotSpecified', 'Xslt'</param> + /// 'NotSpecified', 'Xslt', 'Xslt20', 'Xslt30', 'Liquid'</param> /// <param name="id">The resource id.</param> /// <param name="name">Gets the resource name.</param> /// <param name="type">Gets the resource type.</param> @@ -47,7 +49,7 @@ public IntegrationAccountMap() { } /// <param name="contentType">The content type.</param> /// <param name="contentLink">The content link.</param> /// <param name="metadata">The metadata.</param> - public IntegrationAccountMap(MapType mapType, string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary<string, string> tags = default(IDictionary<string, string>), IntegrationAccountMapPropertiesParametersSchema parametersSchema = default(IntegrationAccountMapPropertiesParametersSchema), System.DateTime? createdTime = default(System.DateTime?), System.DateTime? changedTime = default(System.DateTime?), object content = default(object), string contentType = default(string), ContentLink contentLink = default(ContentLink), object metadata = default(object)) + public IntegrationAccountMap(string mapType, string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary<string, string> tags = default(IDictionary<string, string>), IntegrationAccountMapPropertiesParametersSchema parametersSchema = default(IntegrationAccountMapPropertiesParametersSchema), System.DateTime? createdTime = default(System.DateTime?), System.DateTime? changedTime = default(System.DateTime?), string content = default(string), string contentType = default(string), ContentLink contentLink = default(ContentLink), object metadata = default(object)) : base(id, name, type, location, tags) { MapType = mapType; @@ -58,14 +60,20 @@ public IntegrationAccountMap() { } ContentType = contentType; ContentLink = contentLink; Metadata = metadata; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the map type. Possible values include: 'NotSpecified', - /// 'Xslt' + /// 'Xslt', 'Xslt20', 'Xslt30', 'Liquid' /// </summary> [JsonProperty(PropertyName = "properties.mapType")] - public MapType MapType { get; set; } + public string MapType { get; set; } /// <summary> /// Gets or sets the parameters schema of integration account map. @@ -77,19 +85,19 @@ public IntegrationAccountMap() { } /// Gets the created time. /// </summary> [JsonProperty(PropertyName = "properties.createdTime")] - public System.DateTime? CreatedTime { get; protected set; } + public System.DateTime? CreatedTime { get; private set; } /// <summary> /// Gets the changed time. /// </summary> [JsonProperty(PropertyName = "properties.changedTime")] - public System.DateTime? ChangedTime { get; protected set; } + public System.DateTime? ChangedTime { get; private set; } /// <summary> /// Gets or sets the content. /// </summary> [JsonProperty(PropertyName = "properties.content")] - public object Content { get; set; } + public string Content { get; set; } /// <summary> /// Gets or sets the content type. @@ -101,7 +109,7 @@ public IntegrationAccountMap() { } /// Gets the content link. /// </summary> [JsonProperty(PropertyName = "properties.contentLink")] - public ContentLink ContentLink { get; protected set; } + public ContentLink ContentLink { get; private set; } /// <summary> /// Gets or sets the metadata. @@ -117,7 +125,10 @@ public IntegrationAccountMap() { } /// </exception> public virtual void Validate() { + if (MapType == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "MapType"); + } } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/IntegrationAccountMapFilter.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/IntegrationAccountMapFilter.cs index 6a2c2aff2d023..eccf6f9680c1e 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/IntegrationAccountMapFilter.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/IntegrationAccountMapFilter.cs @@ -1,16 +1,16 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; + using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -23,35 +23,49 @@ public partial class IntegrationAccountMapFilter /// Initializes a new instance of the IntegrationAccountMapFilter /// class. /// </summary> - public IntegrationAccountMapFilter() { } + public IntegrationAccountMapFilter() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the IntegrationAccountMapFilter /// class. /// </summary> /// <param name="mapType">The map type of integration account map. - /// Possible values include: 'NotSpecified', 'Xslt'</param> - public IntegrationAccountMapFilter(MapType mapType) + /// Possible values include: 'NotSpecified', 'Xslt', 'Xslt20', + /// 'Xslt30', 'Liquid'</param> + public IntegrationAccountMapFilter(string mapType) { MapType = mapType; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the map type of integration account map. Possible - /// values include: 'NotSpecified', 'Xslt' + /// values include: 'NotSpecified', 'Xslt', 'Xslt20', 'Xslt30', + /// 'Liquid' /// </summary> [JsonProperty(PropertyName = "mapType")] - public MapType MapType { get; set; } + public string MapType { get; set; } /// <summary> /// Validate the object. /// </summary> - /// <exception cref="Rest.ValidationException"> + /// <exception cref="ValidationException"> /// Thrown if validation fails /// </exception> public virtual void Validate() { + if (MapType == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "MapType"); + } } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/IntegrationAccountMapPropertiesParametersSchema.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/IntegrationAccountMapPropertiesParametersSchema.cs index b0c93baa953af..f462bd7667569 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/IntegrationAccountMapPropertiesParametersSchema.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/IntegrationAccountMapPropertiesParametersSchema.cs @@ -1,16 +1,15 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; using Newtonsoft.Json; using System.Linq; @@ -23,7 +22,10 @@ public partial class IntegrationAccountMapPropertiesParametersSchema /// Initializes a new instance of the /// IntegrationAccountMapPropertiesParametersSchema class. /// </summary> - public IntegrationAccountMapPropertiesParametersSchema() { } + public IntegrationAccountMapPropertiesParametersSchema() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the @@ -33,8 +35,14 @@ public IntegrationAccountMapPropertiesParametersSchema() { } public IntegrationAccountMapPropertiesParametersSchema(string refProperty = default(string)) { RefProperty = refProperty; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the reference name. /// </summary> @@ -43,4 +51,3 @@ public IntegrationAccountMapPropertiesParametersSchema() { } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/IntegrationAccountPartner.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/IntegrationAccountPartner.cs index b473c37230a54..5e09553831f65 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/IntegrationAccountPartner.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/IntegrationAccountPartner.cs @@ -1,18 +1,17 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; - using Rest; - using Rest.Serialization; + using Microsoft.Rest; + using Microsoft.Rest.Serialization; using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; @@ -21,13 +20,16 @@ namespace Microsoft.Azure.Management.Logic.Models /// <summary> /// The integration account partner. /// </summary> - [JsonTransformation] + [Rest.Serialization.JsonTransformation] public partial class IntegrationAccountPartner : Resource { /// <summary> /// Initializes a new instance of the IntegrationAccountPartner class. /// </summary> - public IntegrationAccountPartner() { } + public IntegrationAccountPartner() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the IntegrationAccountPartner class. @@ -43,7 +45,7 @@ public IntegrationAccountPartner() { } /// <param name="createdTime">The created time.</param> /// <param name="changedTime">The changed time.</param> /// <param name="metadata">The metadata.</param> - public IntegrationAccountPartner(PartnerType partnerType, PartnerContent content, string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary<string, string> tags = default(IDictionary<string, string>), System.DateTime? createdTime = default(System.DateTime?), System.DateTime? changedTime = default(System.DateTime?), object metadata = default(object)) + public IntegrationAccountPartner(string partnerType, PartnerContent content, string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary<string, string> tags = default(IDictionary<string, string>), System.DateTime? createdTime = default(System.DateTime?), System.DateTime? changedTime = default(System.DateTime?), object metadata = default(object)) : base(id, name, type, location, tags) { PartnerType = partnerType; @@ -51,26 +53,32 @@ public IntegrationAccountPartner() { } ChangedTime = changedTime; Metadata = metadata; Content = content; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the partner type. Possible values include: /// 'NotSpecified', 'B2B' /// </summary> [JsonProperty(PropertyName = "properties.partnerType")] - public PartnerType PartnerType { get; set; } + public string PartnerType { get; set; } /// <summary> /// Gets the created time. /// </summary> [JsonProperty(PropertyName = "properties.createdTime")] - public System.DateTime? CreatedTime { get; protected set; } + public System.DateTime? CreatedTime { get; private set; } /// <summary> /// Gets the changed time. /// </summary> [JsonProperty(PropertyName = "properties.changedTime")] - public System.DateTime? ChangedTime { get; protected set; } + public System.DateTime? ChangedTime { get; private set; } /// <summary> /// Gets or sets the metadata. @@ -92,6 +100,10 @@ public IntegrationAccountPartner() { } /// </exception> public virtual void Validate() { + if (PartnerType == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "PartnerType"); + } if (Content == null) { throw new ValidationException(ValidationRules.CannotBeNull, "Content"); @@ -99,4 +111,3 @@ public virtual void Validate() } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/IntegrationAccountPartnerFilter.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/IntegrationAccountPartnerFilter.cs index ebe4d8589a425..dbddad228644e 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/IntegrationAccountPartnerFilter.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/IntegrationAccountPartnerFilter.cs @@ -1,16 +1,16 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; + using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -23,7 +23,10 @@ public partial class IntegrationAccountPartnerFilter /// Initializes a new instance of the IntegrationAccountPartnerFilter /// class. /// </summary> - public IntegrationAccountPartnerFilter() { } + public IntegrationAccountPartnerFilter() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the IntegrationAccountPartnerFilter @@ -31,27 +34,36 @@ public IntegrationAccountPartnerFilter() { } /// </summary> /// <param name="partnerType">The partner type of integration account /// partner. Possible values include: 'NotSpecified', 'B2B'</param> - public IntegrationAccountPartnerFilter(PartnerType partnerType) + public IntegrationAccountPartnerFilter(string partnerType) { PartnerType = partnerType; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the partner type of integration account partner. /// Possible values include: 'NotSpecified', 'B2B' /// </summary> [JsonProperty(PropertyName = "partnerType")] - public PartnerType PartnerType { get; set; } + public string PartnerType { get; set; } /// <summary> /// Validate the object. /// </summary> - /// <exception cref="Rest.ValidationException"> + /// <exception cref="ValidationException"> /// Thrown if validation fails /// </exception> public virtual void Validate() { + if (PartnerType == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "PartnerType"); + } } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/IntegrationAccountSchema.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/IntegrationAccountSchema.cs index 48677949280fe..e9171b501bd2f 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/IntegrationAccountSchema.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/IntegrationAccountSchema.cs @@ -1,18 +1,17 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; - using Rest; - using Rest.Serialization; + using Microsoft.Rest; + using Microsoft.Rest.Serialization; using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; @@ -21,13 +20,16 @@ namespace Microsoft.Azure.Management.Logic.Models /// <summary> /// The integration account schema. /// </summary> - [JsonTransformation] + [Rest.Serialization.JsonTransformation] public partial class IntegrationAccountSchema : Resource { /// <summary> /// Initializes a new instance of the IntegrationAccountSchema class. /// </summary> - public IntegrationAccountSchema() { } + public IntegrationAccountSchema() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the IntegrationAccountSchema class. @@ -49,7 +51,7 @@ public IntegrationAccountSchema() { } /// <param name="content">The content.</param> /// <param name="contentType">The content type.</param> /// <param name="contentLink">The content link.</param> - public IntegrationAccountSchema(SchemaType schemaType, string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary<string, string> tags = default(IDictionary<string, string>), string targetNamespace = default(string), string documentName = default(string), string fileName = default(string), System.DateTime? createdTime = default(System.DateTime?), System.DateTime? changedTime = default(System.DateTime?), object metadata = default(object), object content = default(object), string contentType = default(string), ContentLink contentLink = default(ContentLink)) + public IntegrationAccountSchema(string schemaType, string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary<string, string> tags = default(IDictionary<string, string>), string targetNamespace = default(string), string documentName = default(string), string fileName = default(string), System.DateTime? createdTime = default(System.DateTime?), System.DateTime? changedTime = default(System.DateTime?), object metadata = default(object), string content = default(string), string contentType = default(string), ContentLink contentLink = default(ContentLink)) : base(id, name, type, location, tags) { SchemaType = schemaType; @@ -62,14 +64,20 @@ public IntegrationAccountSchema() { } Content = content; ContentType = contentType; ContentLink = contentLink; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the schema type. Possible values include: /// 'NotSpecified', 'Xml' /// </summary> [JsonProperty(PropertyName = "properties.schemaType")] - public SchemaType SchemaType { get; set; } + public string SchemaType { get; set; } /// <summary> /// Gets or sets the target namespace of the schema. @@ -93,13 +101,13 @@ public IntegrationAccountSchema() { } /// Gets the created time. /// </summary> [JsonProperty(PropertyName = "properties.createdTime")] - public System.DateTime? CreatedTime { get; protected set; } + public System.DateTime? CreatedTime { get; private set; } /// <summary> /// Gets the changed time. /// </summary> [JsonProperty(PropertyName = "properties.changedTime")] - public System.DateTime? ChangedTime { get; protected set; } + public System.DateTime? ChangedTime { get; private set; } /// <summary> /// Gets or sets the metadata. @@ -111,7 +119,7 @@ public IntegrationAccountSchema() { } /// Gets or sets the content. /// </summary> [JsonProperty(PropertyName = "properties.content")] - public object Content { get; set; } + public string Content { get; set; } /// <summary> /// Gets or sets the content type. @@ -123,7 +131,7 @@ public IntegrationAccountSchema() { } /// Gets the content link. /// </summary> [JsonProperty(PropertyName = "properties.contentLink")] - public ContentLink ContentLink { get; protected set; } + public ContentLink ContentLink { get; private set; } /// <summary> /// Validate the object. @@ -133,7 +141,10 @@ public IntegrationAccountSchema() { } /// </exception> public virtual void Validate() { + if (SchemaType == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "SchemaType"); + } } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/IntegrationAccountSchemaFilter.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/IntegrationAccountSchemaFilter.cs index 1c64cd95a0a12..d16acb802ac28 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/IntegrationAccountSchemaFilter.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/IntegrationAccountSchemaFilter.cs @@ -1,16 +1,16 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; + using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -23,7 +23,10 @@ public partial class IntegrationAccountSchemaFilter /// Initializes a new instance of the IntegrationAccountSchemaFilter /// class. /// </summary> - public IntegrationAccountSchemaFilter() { } + public IntegrationAccountSchemaFilter() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the IntegrationAccountSchemaFilter @@ -31,27 +34,36 @@ public IntegrationAccountSchemaFilter() { } /// </summary> /// <param name="schemaType">The schema type of integration account /// schema. Possible values include: 'NotSpecified', 'Xml'</param> - public IntegrationAccountSchemaFilter(SchemaType schemaType) + public IntegrationAccountSchemaFilter(string schemaType) { SchemaType = schemaType; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the schema type of integration account schema. /// Possible values include: 'NotSpecified', 'Xml' /// </summary> [JsonProperty(PropertyName = "schemaType")] - public SchemaType SchemaType { get; set; } + public string SchemaType { get; set; } /// <summary> /// Validate the object. /// </summary> - /// <exception cref="Rest.ValidationException"> + /// <exception cref="ValidationException"> /// Thrown if validation fails /// </exception> public virtual void Validate() { + if (SchemaType == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "SchemaType"); + } } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/IntegrationAccountSession.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/IntegrationAccountSession.cs index 97b4d3d2fe29f..e9f620e304d62 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/IntegrationAccountSession.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/IntegrationAccountSession.cs @@ -1,18 +1,17 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; - using Rest; - using Rest.Serialization; + using Microsoft.Rest; + using Microsoft.Rest.Serialization; using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; @@ -21,13 +20,16 @@ namespace Microsoft.Azure.Management.Logic.Models /// <summary> /// The integration account session. /// </summary> - [JsonTransformation] + [Rest.Serialization.JsonTransformation] public partial class IntegrationAccountSession : Resource { /// <summary> /// Initializes a new instance of the IntegrationAccountSession class. /// </summary> - public IntegrationAccountSession() { } + public IntegrationAccountSession() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the IntegrationAccountSession class. @@ -46,19 +48,25 @@ public IntegrationAccountSession() { } CreatedTime = createdTime; ChangedTime = changedTime; Content = content; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets the created time. /// </summary> [JsonProperty(PropertyName = "properties.createdTime")] - public System.DateTime? CreatedTime { get; protected set; } + public System.DateTime? CreatedTime { get; private set; } /// <summary> /// Gets the changed time. /// </summary> [JsonProperty(PropertyName = "properties.changedTime")] - public System.DateTime? ChangedTime { get; protected set; } + public System.DateTime? ChangedTime { get; private set; } /// <summary> /// Gets or sets the session content. @@ -68,4 +76,3 @@ public IntegrationAccountSession() { } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/IntegrationAccountSessionFilter.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/IntegrationAccountSessionFilter.cs index 7042cef101e60..df04899640223 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/IntegrationAccountSessionFilter.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/IntegrationAccountSessionFilter.cs @@ -1,16 +1,15 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; using Newtonsoft.Json; using System.Linq; @@ -23,7 +22,10 @@ public partial class IntegrationAccountSessionFilter /// Initializes a new instance of the IntegrationAccountSessionFilter /// class. /// </summary> - public IntegrationAccountSessionFilter() { } + public IntegrationAccountSessionFilter() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the IntegrationAccountSessionFilter @@ -34,8 +36,14 @@ public IntegrationAccountSessionFilter() { } public IntegrationAccountSessionFilter(System.DateTime changedTime) { ChangedTime = changedTime; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the changed time of integration account sessions. /// </summary> @@ -54,4 +62,3 @@ public virtual void Validate() } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/IntegrationAccountSku.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/IntegrationAccountSku.cs index e26dab3e15a70..05b456ff4dc70 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/IntegrationAccountSku.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/IntegrationAccountSku.cs @@ -1,16 +1,16 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; + using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -22,34 +22,46 @@ public partial class IntegrationAccountSku /// <summary> /// Initializes a new instance of the IntegrationAccountSku class. /// </summary> - public IntegrationAccountSku() { } + public IntegrationAccountSku() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the IntegrationAccountSku class. /// </summary> /// <param name="name">The sku name. Possible values include: - /// 'NotSpecified', 'Free', 'Standard'</param> - public IntegrationAccountSku(IntegrationAccountSkuName name) + /// 'NotSpecified', 'Free', 'Basic', 'Standard'</param> + public IntegrationAccountSku(string name) { Name = name; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the sku name. Possible values include: 'NotSpecified', - /// 'Free', 'Standard' + /// 'Free', 'Basic', 'Standard' /// </summary> [JsonProperty(PropertyName = "name")] - public IntegrationAccountSkuName Name { get; set; } + public string Name { get; set; } /// <summary> /// Validate the object. /// </summary> - /// <exception cref="Rest.ValidationException"> + /// <exception cref="ValidationException"> /// Thrown if validation fails /// </exception> public virtual void Validate() { + if (Name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Name"); + } } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/IntegrationAccountSkuName.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/IntegrationAccountSkuName.cs index b7dba290f77d8..4319b0e597a0b 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/IntegrationAccountSkuName.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/IntegrationAccountSkuName.cs @@ -1,33 +1,24 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; - using Newtonsoft.Json; - using Newtonsoft.Json.Converters; - using System.Runtime; - using System.Runtime.Serialization; /// <summary> /// Defines values for IntegrationAccountSkuName. /// </summary> - [JsonConverter(typeof(StringEnumConverter))] - public enum IntegrationAccountSkuName + public static class IntegrationAccountSkuName { - [EnumMember(Value = "NotSpecified")] - NotSpecified, - [EnumMember(Value = "Free")] - Free, - [EnumMember(Value = "Standard")] - Standard + public const string NotSpecified = "NotSpecified"; + public const string Free = "Free"; + public const string Basic = "Basic"; + public const string Standard = "Standard"; } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/JsonSchema.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/JsonSchema.cs new file mode 100644 index 0000000000000..d65d5e09dd60c --- /dev/null +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/JsonSchema.cs @@ -0,0 +1,59 @@ +// <auto-generated> +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// </auto-generated> + +namespace Microsoft.Azure.Management.Logic.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// <summary> + /// The JSON schema. + /// </summary> + public partial class JsonSchema + { + /// <summary> + /// Initializes a new instance of the JsonSchema class. + /// </summary> + public JsonSchema() + { + CustomInit(); + } + + /// <summary> + /// Initializes a new instance of the JsonSchema class. + /// </summary> + /// <param name="title">The JSON title.</param> + /// <param name="content">The JSON content.</param> + public JsonSchema(string title = default(string), string content = default(string)) + { + Title = title; + Content = content; + CustomInit(); + } + + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + + /// <summary> + /// Gets or sets the JSON title. + /// </summary> + [JsonProperty(PropertyName = "title")] + public string Title { get; set; } + + /// <summary> + /// Gets or sets the JSON content. + /// </summary> + [JsonProperty(PropertyName = "content")] + public string Content { get; set; } + + } +} diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/KeyType.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/KeyType.cs index 491b73fb53127..9c076fb571fe4 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/KeyType.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/KeyType.cs @@ -1,33 +1,23 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; - using Newtonsoft.Json; - using Newtonsoft.Json.Converters; - using System.Runtime; - using System.Runtime.Serialization; /// <summary> /// Defines values for KeyType. /// </summary> - [JsonConverter(typeof(StringEnumConverter))] - public enum KeyType + public static class KeyType { - [EnumMember(Value = "NotSpecified")] - NotSpecified, - [EnumMember(Value = "Primary")] - Primary, - [EnumMember(Value = "Secondary")] - Secondary + public const string NotSpecified = "NotSpecified"; + public const string Primary = "Primary"; + public const string Secondary = "Secondary"; } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/KeyVaultKey.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/KeyVaultKey.cs new file mode 100644 index 0000000000000..9c00310c46a4d --- /dev/null +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/KeyVaultKey.cs @@ -0,0 +1,59 @@ +// <auto-generated> +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// </auto-generated> + +namespace Microsoft.Azure.Management.Logic.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// <summary> + /// The key vault key. + /// </summary> + public partial class KeyVaultKey + { + /// <summary> + /// Initializes a new instance of the KeyVaultKey class. + /// </summary> + public KeyVaultKey() + { + CustomInit(); + } + + /// <summary> + /// Initializes a new instance of the KeyVaultKey class. + /// </summary> + /// <param name="kid">The key id.</param> + /// <param name="attributes">The key attributes.</param> + public KeyVaultKey(string kid = default(string), KeyVaultKeyAttributes attributes = default(KeyVaultKeyAttributes)) + { + Kid = kid; + Attributes = attributes; + CustomInit(); + } + + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + + /// <summary> + /// Gets or sets the key id. + /// </summary> + [JsonProperty(PropertyName = "kid")] + public string Kid { get; set; } + + /// <summary> + /// Gets or sets the key attributes. + /// </summary> + [JsonProperty(PropertyName = "attributes")] + public KeyVaultKeyAttributes Attributes { get; set; } + + } +} diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/KeyVaultKeyAttributes.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/KeyVaultKeyAttributes.cs new file mode 100644 index 0000000000000..d51c88e22bfb9 --- /dev/null +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/KeyVaultKeyAttributes.cs @@ -0,0 +1,67 @@ +// <auto-generated> +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// </auto-generated> + +namespace Microsoft.Azure.Management.Logic.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// <summary> + /// The key attributes. + /// </summary> + public partial class KeyVaultKeyAttributes + { + /// <summary> + /// Initializes a new instance of the KeyVaultKeyAttributes class. + /// </summary> + public KeyVaultKeyAttributes() + { + CustomInit(); + } + + /// <summary> + /// Initializes a new instance of the KeyVaultKeyAttributes class. + /// </summary> + /// <param name="enabled">Whether the key is enabled or not.</param> + /// <param name="created">When the key was created.</param> + /// <param name="updated">When the key was updated.</param> + public KeyVaultKeyAttributes(bool? enabled = default(bool?), long? created = default(long?), long? updated = default(long?)) + { + Enabled = enabled; + Created = created; + Updated = updated; + CustomInit(); + } + + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + + /// <summary> + /// Gets or sets whether the key is enabled or not. + /// </summary> + [JsonProperty(PropertyName = "enabled")] + public bool? Enabled { get; set; } + + /// <summary> + /// Gets or sets when the key was created. + /// </summary> + [JsonProperty(PropertyName = "created")] + public long? Created { get; set; } + + /// <summary> + /// Gets or sets when the key was updated. + /// </summary> + [JsonProperty(PropertyName = "updated")] + public long? Updated { get; set; } + + } +} diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/KeyVaultKeyReference.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/KeyVaultKeyReference.cs index c9526cd8c30b5..c3eca617f6c39 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/KeyVaultKeyReference.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/KeyVaultKeyReference.cs @@ -1,17 +1,16 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; - using Rest; + using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -23,7 +22,10 @@ public partial class KeyVaultKeyReference /// <summary> /// Initializes a new instance of the KeyVaultKeyReference class. /// </summary> - public KeyVaultKeyReference() { } + public KeyVaultKeyReference() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the KeyVaultKeyReference class. @@ -37,8 +39,14 @@ public KeyVaultKeyReference() { } KeyVault = keyVault; KeyName = keyName; KeyVersion = keyVersion; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the key vault reference. /// </summary> @@ -76,4 +84,3 @@ public virtual void Validate() } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/KeyVaultKeyReferenceKeyVault.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/KeyVaultKeyReferenceKeyVault.cs index 329afe0e4452c..0cd737390b1dc 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/KeyVaultKeyReferenceKeyVault.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/KeyVaultKeyReferenceKeyVault.cs @@ -1,16 +1,15 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; using Newtonsoft.Json; using System.Linq; @@ -23,7 +22,10 @@ public partial class KeyVaultKeyReferenceKeyVault /// Initializes a new instance of the KeyVaultKeyReferenceKeyVault /// class. /// </summary> - public KeyVaultKeyReferenceKeyVault() { } + public KeyVaultKeyReferenceKeyVault() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the KeyVaultKeyReferenceKeyVault @@ -37,8 +39,14 @@ public KeyVaultKeyReferenceKeyVault() { } Id = id; Name = name; Type = type; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the resource id. /// </summary> @@ -49,14 +57,13 @@ public KeyVaultKeyReferenceKeyVault() { } /// Gets the resource name. /// </summary> [JsonProperty(PropertyName = "name")] - public string Name { get; protected set; } + public string Name { get; private set; } /// <summary> /// Gets the resource type. /// </summary> [JsonProperty(PropertyName = "type")] - public string Type { get; protected set; } + public string Type { get; private set; } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/KeyVaultReference.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/KeyVaultReference.cs new file mode 100644 index 0000000000000..4ebe8f4f982a5 --- /dev/null +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/KeyVaultReference.cs @@ -0,0 +1,46 @@ +// <auto-generated> +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// </auto-generated> + +namespace Microsoft.Azure.Management.Logic.Models +{ + using System.Linq; + + /// <summary> + /// The key vault reference. + /// </summary> + public partial class KeyVaultReference : ResourceReference + { + /// <summary> + /// Initializes a new instance of the KeyVaultReference class. + /// </summary> + public KeyVaultReference() + { + CustomInit(); + } + + /// <summary> + /// Initializes a new instance of the KeyVaultReference class. + /// </summary> + /// <param name="id">The resource id.</param> + /// <param name="name">Gets the resource name.</param> + /// <param name="type">Gets the resource type.</param> + public KeyVaultReference(string id = default(string), string name = default(string), string type = default(string)) + : base(id, name, type) + { + CustomInit(); + } + + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + + } +} diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/ListKeyVaultKeysDefinition.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/ListKeyVaultKeysDefinition.cs new file mode 100644 index 0000000000000..ef3e01e6b43d2 --- /dev/null +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/ListKeyVaultKeysDefinition.cs @@ -0,0 +1,73 @@ +// <auto-generated> +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// </auto-generated> + +namespace Microsoft.Azure.Management.Logic.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Linq; + + /// <summary> + /// The list key vault keys definition. + /// </summary> + public partial class ListKeyVaultKeysDefinition + { + /// <summary> + /// Initializes a new instance of the ListKeyVaultKeysDefinition class. + /// </summary> + public ListKeyVaultKeysDefinition() + { + CustomInit(); + } + + /// <summary> + /// Initializes a new instance of the ListKeyVaultKeysDefinition class. + /// </summary> + /// <param name="keyVault">The key vault reference.</param> + /// <param name="skipToken">The skip token.</param> + public ListKeyVaultKeysDefinition(KeyVaultReference keyVault, string skipToken = default(string)) + { + KeyVault = keyVault; + SkipToken = skipToken; + CustomInit(); + } + + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + + /// <summary> + /// Gets or sets the key vault reference. + /// </summary> + [JsonProperty(PropertyName = "keyVault")] + public KeyVaultReference KeyVault { get; set; } + + /// <summary> + /// Gets or sets the skip token. + /// </summary> + [JsonProperty(PropertyName = "skipToken")] + public string SkipToken { get; set; } + + /// <summary> + /// Validate the object. + /// </summary> + /// <exception cref="ValidationException"> + /// Thrown if validation fails + /// </exception> + public virtual void Validate() + { + if (KeyVault == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "KeyVault"); + } + } + } +} diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/MapType.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/MapType.cs index 63a5b64cc452c..e641132e945e6 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/MapType.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/MapType.cs @@ -1,31 +1,25 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; - using Newtonsoft.Json; - using Newtonsoft.Json.Converters; - using System.Runtime; - using System.Runtime.Serialization; /// <summary> /// Defines values for MapType. /// </summary> - [JsonConverter(typeof(StringEnumConverter))] - public enum MapType + public static class MapType { - [EnumMember(Value = "NotSpecified")] - NotSpecified, - [EnumMember(Value = "Xslt")] - Xslt + public const string NotSpecified = "NotSpecified"; + public const string Xslt = "Xslt"; + public const string Xslt20 = "Xslt20"; + public const string Xslt30 = "Xslt30"; + public const string Liquid = "Liquid"; } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/MessageFilterType.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/MessageFilterType.cs index f8216f86d5122..951ac61748627 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/MessageFilterType.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/MessageFilterType.cs @@ -1,33 +1,23 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; - using Newtonsoft.Json; - using Newtonsoft.Json.Converters; - using System.Runtime; - using System.Runtime.Serialization; /// <summary> /// Defines values for MessageFilterType. /// </summary> - [JsonConverter(typeof(StringEnumConverter))] - public enum MessageFilterType + public static class MessageFilterType { - [EnumMember(Value = "NotSpecified")] - NotSpecified, - [EnumMember(Value = "Include")] - Include, - [EnumMember(Value = "Exclude")] - Exclude + public const string NotSpecified = "NotSpecified"; + public const string Include = "Include"; + public const string Exclude = "Exclude"; } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/Operation.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/Operation.cs index 3ccce9a84f2ef..363bc4506890e 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/Operation.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/Operation.cs @@ -1,16 +1,15 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; using Newtonsoft.Json; using System.Linq; @@ -22,7 +21,10 @@ public partial class Operation /// <summary> /// Initializes a new instance of the Operation class. /// </summary> - public Operation() { } + public Operation() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the Operation class. @@ -35,8 +37,14 @@ public Operation() { } { Name = name; Display = display; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets operation name: {provider}/{resource}/{operation} /// </summary> @@ -51,4 +59,3 @@ public Operation() { } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/OperationDisplay.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/OperationDisplay.cs index ee55e751ca013..7c60ed2999445 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/OperationDisplay.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/OperationDisplay.cs @@ -1,16 +1,15 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; using Newtonsoft.Json; using System.Linq; @@ -22,7 +21,10 @@ public partial class OperationDisplay /// <summary> /// Initializes a new instance of the OperationDisplay class. /// </summary> - public OperationDisplay() { } + public OperationDisplay() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the OperationDisplay class. @@ -37,8 +39,14 @@ public OperationDisplay() { } Provider = provider; Resource = resource; Operation = operation; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets service provider: Microsoft.Logic /// </summary> @@ -60,4 +68,3 @@ public OperationDisplay() { } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/OperationResult.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/OperationResult.cs new file mode 100644 index 0000000000000..1a16ebd20d03a --- /dev/null +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/OperationResult.cs @@ -0,0 +1,119 @@ +// <auto-generated> +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// </auto-generated> + +namespace Microsoft.Azure.Management.Logic.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// <summary> + /// The operation result definition. + /// </summary> + public partial class OperationResult : OperationResultProperties + { + /// <summary> + /// Initializes a new instance of the OperationResult class. + /// </summary> + public OperationResult() + { + CustomInit(); + } + + /// <summary> + /// Initializes a new instance of the OperationResult class. + /// </summary> + /// <param name="startTime">The start time of the workflow scope + /// repetition.</param> + /// <param name="endTime">The end time of the workflow scope + /// repetition.</param> + /// <param name="correlation">The correlation properties.</param> + /// <param name="status">The status of the workflow scope repetition. + /// Possible values include: 'NotSpecified', 'Paused', 'Running', + /// 'Waiting', 'Succeeded', 'Skipped', 'Suspended', 'Cancelled', + /// 'Failed', 'Faulted', 'TimedOut', 'Aborted', 'Ignored'</param> + /// <param name="code">The workflow scope repetition code.</param> + /// <param name="trackingId">Gets the tracking id.</param> + /// <param name="inputs">Gets the inputs.</param> + /// <param name="inputsLink">Gets the link to inputs.</param> + /// <param name="outputs">Gets the outputs.</param> + /// <param name="outputsLink">Gets the link to outputs.</param> + /// <param name="trackedProperties">Gets the tracked + /// properties.</param> + /// <param name="retryHistory">Gets the retry histories.</param> + public OperationResult(System.DateTime? startTime = default(System.DateTime?), System.DateTime? endTime = default(System.DateTime?), RunActionCorrelation correlation = default(RunActionCorrelation), string status = default(string), string code = default(string), object error = default(object), string trackingId = default(string), object inputs = default(object), ContentLink inputsLink = default(ContentLink), object outputs = default(object), ContentLink outputsLink = default(ContentLink), object trackedProperties = default(object), IList<RetryHistory> retryHistory = default(IList<RetryHistory>), int? iterationCount = default(int?)) + : base(startTime, endTime, correlation, status, code, error) + { + TrackingId = trackingId; + Inputs = inputs; + InputsLink = inputsLink; + Outputs = outputs; + OutputsLink = outputsLink; + TrackedProperties = trackedProperties; + RetryHistory = retryHistory; + IterationCount = iterationCount; + CustomInit(); + } + + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + + /// <summary> + /// Gets the tracking id. + /// </summary> + [JsonProperty(PropertyName = "trackingId")] + public string TrackingId { get; private set; } + + /// <summary> + /// Gets the inputs. + /// </summary> + [JsonProperty(PropertyName = "inputs")] + public object Inputs { get; private set; } + + /// <summary> + /// Gets the link to inputs. + /// </summary> + [JsonProperty(PropertyName = "inputsLink")] + public ContentLink InputsLink { get; private set; } + + /// <summary> + /// Gets the outputs. + /// </summary> + [JsonProperty(PropertyName = "outputs")] + public object Outputs { get; private set; } + + /// <summary> + /// Gets the link to outputs. + /// </summary> + [JsonProperty(PropertyName = "outputsLink")] + public ContentLink OutputsLink { get; private set; } + + /// <summary> + /// Gets the tracked properties. + /// </summary> + [JsonProperty(PropertyName = "trackedProperties")] + public object TrackedProperties { get; private set; } + + /// <summary> + /// Gets the retry histories. + /// </summary> + [JsonProperty(PropertyName = "retryHistory")] + public IList<RetryHistory> RetryHistory { get; set; } + + /// <summary> + /// </summary> + [JsonProperty(PropertyName = "iterationCount")] + public int? IterationCount { get; set; } + + } +} diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/OperationResultProperties.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/OperationResultProperties.cs new file mode 100644 index 0000000000000..81e304a3db597 --- /dev/null +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/OperationResultProperties.cs @@ -0,0 +1,97 @@ +// <auto-generated> +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// </auto-generated> + +namespace Microsoft.Azure.Management.Logic.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// <summary> + /// The run operation result properties. + /// </summary> + public partial class OperationResultProperties + { + /// <summary> + /// Initializes a new instance of the OperationResultProperties class. + /// </summary> + public OperationResultProperties() + { + CustomInit(); + } + + /// <summary> + /// Initializes a new instance of the OperationResultProperties class. + /// </summary> + /// <param name="startTime">The start time of the workflow scope + /// repetition.</param> + /// <param name="endTime">The end time of the workflow scope + /// repetition.</param> + /// <param name="correlation">The correlation properties.</param> + /// <param name="status">The status of the workflow scope repetition. + /// Possible values include: 'NotSpecified', 'Paused', 'Running', + /// 'Waiting', 'Succeeded', 'Skipped', 'Suspended', 'Cancelled', + /// 'Failed', 'Faulted', 'TimedOut', 'Aborted', 'Ignored'</param> + /// <param name="code">The workflow scope repetition code.</param> + public OperationResultProperties(System.DateTime? startTime = default(System.DateTime?), System.DateTime? endTime = default(System.DateTime?), RunActionCorrelation correlation = default(RunActionCorrelation), string status = default(string), string code = default(string), object error = default(object)) + { + StartTime = startTime; + EndTime = endTime; + Correlation = correlation; + Status = status; + Code = code; + Error = error; + CustomInit(); + } + + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + + /// <summary> + /// Gets or sets the start time of the workflow scope repetition. + /// </summary> + [JsonProperty(PropertyName = "startTime")] + public System.DateTime? StartTime { get; set; } + + /// <summary> + /// Gets or sets the end time of the workflow scope repetition. + /// </summary> + [JsonProperty(PropertyName = "endTime")] + public System.DateTime? EndTime { get; set; } + + /// <summary> + /// Gets or sets the correlation properties. + /// </summary> + [JsonProperty(PropertyName = "correlation")] + public RunActionCorrelation Correlation { get; set; } + + /// <summary> + /// Gets or sets the status of the workflow scope repetition. Possible + /// values include: 'NotSpecified', 'Paused', 'Running', 'Waiting', + /// 'Succeeded', 'Skipped', 'Suspended', 'Cancelled', 'Failed', + /// 'Faulted', 'TimedOut', 'Aborted', 'Ignored' + /// </summary> + [JsonProperty(PropertyName = "status")] + public string Status { get; set; } + + /// <summary> + /// Gets or sets the workflow scope repetition code. + /// </summary> + [JsonProperty(PropertyName = "code")] + public string Code { get; set; } + + /// <summary> + /// </summary> + [JsonProperty(PropertyName = "error")] + public object Error { get; set; } + + } +} diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/Page.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/Page.cs index f40be2a364603..fcd3bd86eaf25 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/Page.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/Page.cs @@ -1,18 +1,17 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; - using Rest; - using Rest.Azure; + using Microsoft.Rest; + using Microsoft.Rest.Azure; using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; @@ -52,4 +51,3 @@ IEnumerator IEnumerable.GetEnumerator() } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/Page1.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/Page1.cs new file mode 100644 index 0000000000000..b63c0b97451f7 --- /dev/null +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/Page1.cs @@ -0,0 +1,53 @@ +// <auto-generated> +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// </auto-generated> + +namespace Microsoft.Azure.Management.Logic.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + + /// <summary> + /// Defines a page in Azure responses. + /// </summary> + /// <typeparam name="T">Type of the page content items</typeparam> + [JsonObject] + public class Page1<T> : IPage<T> + { + /// <summary> + /// Gets the link to the next page. + /// </summary> + [JsonProperty("")] + public string NextPageLink { get; private set; } + + [JsonProperty("inputs")] + private IList<T> Items{ get; set; } + + /// <summary> + /// Returns an enumerator that iterates through the collection. + /// </summary> + /// <returns>A an enumerator that can be used to iterate through the collection.</returns> + public IEnumerator<T> GetEnumerator() + { + return Items == null ? System.Linq.Enumerable.Empty<T>().GetEnumerator() : Items.GetEnumerator(); + } + + /// <summary> + /// Returns an enumerator that iterates through the collection. + /// </summary> + /// <returns>A an enumerator that can be used to iterate through the collection.</returns> + IEnumerator IEnumerable.GetEnumerator() + { + return GetEnumerator(); + } + } +} diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/Page2.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/Page2.cs new file mode 100644 index 0000000000000..4d4135f8dbd46 --- /dev/null +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/Page2.cs @@ -0,0 +1,53 @@ +// <auto-generated> +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// </auto-generated> + +namespace Microsoft.Azure.Management.Logic.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + + /// <summary> + /// Defines a page in Azure responses. + /// </summary> + /// <typeparam name="T">Type of the page content items</typeparam> + [JsonObject] + public class Page2<T> : IPage<T> + { + /// <summary> + /// Gets the link to the next page. + /// </summary> + [JsonProperty("")] + public string NextPageLink { get; private set; } + + [JsonProperty("value")] + private IList<T> Items{ get; set; } + + /// <summary> + /// Returns an enumerator that iterates through the collection. + /// </summary> + /// <returns>A an enumerator that can be used to iterate through the collection.</returns> + public IEnumerator<T> GetEnumerator() + { + return Items == null ? System.Linq.Enumerable.Empty<T>().GetEnumerator() : Items.GetEnumerator(); + } + + /// <summary> + /// Returns an enumerator that iterates through the collection. + /// </summary> + /// <returns>A an enumerator that can be used to iterate through the collection.</returns> + IEnumerator IEnumerable.GetEnumerator() + { + return GetEnumerator(); + } + } +} diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/ParameterType.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/ParameterType.cs index 6f3d415267bbd..2097be0bf72d9 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/ParameterType.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/ParameterType.cs @@ -1,45 +1,29 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; - using Newtonsoft.Json; - using Newtonsoft.Json.Converters; - using System.Runtime; - using System.Runtime.Serialization; /// <summary> /// Defines values for ParameterType. /// </summary> - [JsonConverter(typeof(StringEnumConverter))] - public enum ParameterType + public static class ParameterType { - [EnumMember(Value = "NotSpecified")] - NotSpecified, - [EnumMember(Value = "String")] - String, - [EnumMember(Value = "SecureString")] - SecureString, - [EnumMember(Value = "Int")] - Int, - [EnumMember(Value = "Float")] - Float, - [EnumMember(Value = "Bool")] - Bool, - [EnumMember(Value = "Array")] - Array, - [EnumMember(Value = "Object")] - Object, - [EnumMember(Value = "SecureObject")] - SecureObject + public const string NotSpecified = "NotSpecified"; + public const string String = "String"; + public const string SecureString = "SecureString"; + public const string Int = "Int"; + public const string Float = "Float"; + public const string Bool = "Bool"; + public const string Array = "Array"; + public const string Object = "Object"; + public const string SecureObject = "SecureObject"; } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/PartnerContent.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/PartnerContent.cs index 82cabe7ba1c6d..2709d04290705 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/PartnerContent.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/PartnerContent.cs @@ -1,16 +1,15 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; using Newtonsoft.Json; using System.Linq; @@ -22,7 +21,10 @@ public partial class PartnerContent /// <summary> /// Initializes a new instance of the PartnerContent class. /// </summary> - public PartnerContent() { } + public PartnerContent() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the PartnerContent class. @@ -31,8 +33,14 @@ public PartnerContent() { } public PartnerContent(B2BPartnerContent b2b = default(B2BPartnerContent)) { B2b = b2b; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the B2B partner content. /// </summary> @@ -41,4 +49,3 @@ public PartnerContent() { } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/PartnerType.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/PartnerType.cs index 731f505821b37..72a9664134221 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/PartnerType.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/PartnerType.cs @@ -1,31 +1,22 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; - using Newtonsoft.Json; - using Newtonsoft.Json.Converters; - using System.Runtime; - using System.Runtime.Serialization; /// <summary> /// Defines values for PartnerType. /// </summary> - [JsonConverter(typeof(StringEnumConverter))] - public enum PartnerType + public static class PartnerType { - [EnumMember(Value = "NotSpecified")] - NotSpecified, - [EnumMember(Value = "B2B")] - B2B + public const string NotSpecified = "NotSpecified"; + public const string B2B = "B2B"; } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/RecurrenceFrequency.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/RecurrenceFrequency.cs index ec834f6a46a62..366e621e7a706 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/RecurrenceFrequency.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/RecurrenceFrequency.cs @@ -1,43 +1,28 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; - using Newtonsoft.Json; - using Newtonsoft.Json.Converters; - using System.Runtime; - using System.Runtime.Serialization; /// <summary> /// Defines values for RecurrenceFrequency. /// </summary> - [JsonConverter(typeof(StringEnumConverter))] - public enum RecurrenceFrequency + public static class RecurrenceFrequency { - [EnumMember(Value = "NotSpecified")] - NotSpecified, - [EnumMember(Value = "Second")] - Second, - [EnumMember(Value = "Minute")] - Minute, - [EnumMember(Value = "Hour")] - Hour, - [EnumMember(Value = "Day")] - Day, - [EnumMember(Value = "Week")] - Week, - [EnumMember(Value = "Month")] - Month, - [EnumMember(Value = "Year")] - Year + public const string NotSpecified = "NotSpecified"; + public const string Second = "Second"; + public const string Minute = "Minute"; + public const string Hour = "Hour"; + public const string Day = "Day"; + public const string Week = "Week"; + public const string Month = "Month"; + public const string Year = "Year"; } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/RecurrenceSchedule.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/RecurrenceSchedule.cs index 7e63f856f4c14..62d9a0898bdc6 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/RecurrenceSchedule.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/RecurrenceSchedule.cs @@ -1,16 +1,15 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; @@ -24,7 +23,10 @@ public partial class RecurrenceSchedule /// <summary> /// Initializes a new instance of the RecurrenceSchedule class. /// </summary> - public RecurrenceSchedule() { } + public RecurrenceSchedule() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the RecurrenceSchedule class. @@ -41,8 +43,14 @@ public RecurrenceSchedule() { } WeekDays = weekDays; MonthDays = monthDays; MonthlyOccurrences = monthlyOccurrences; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the minutes. /// </summary> @@ -75,4 +83,3 @@ public RecurrenceSchedule() { } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/RecurrenceScheduleOccurrence.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/RecurrenceScheduleOccurrence.cs index 3dd1d3369e6b8..c0bdf75bacc1d 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/RecurrenceScheduleOccurrence.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/RecurrenceScheduleOccurrence.cs @@ -1,21 +1,20 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; using Newtonsoft.Json; using System.Linq; /// <summary> - /// The recurrence schedule occurence. + /// The recurrence schedule occurrence. /// </summary> public partial class RecurrenceScheduleOccurrence { @@ -23,7 +22,10 @@ public partial class RecurrenceScheduleOccurrence /// Initializes a new instance of the RecurrenceScheduleOccurrence /// class. /// </summary> - public RecurrenceScheduleOccurrence() { } + public RecurrenceScheduleOccurrence() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the RecurrenceScheduleOccurrence @@ -37,8 +39,14 @@ public RecurrenceScheduleOccurrence() { } { Day = day; Occurrence = occurrence; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the day of the week. Possible values include: /// 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', @@ -55,4 +63,3 @@ public RecurrenceScheduleOccurrence() { } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/RegenerateActionParameter.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/RegenerateActionParameter.cs index a9ed20d1a708a..ab8c67fd13306 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/RegenerateActionParameter.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/RegenerateActionParameter.cs @@ -1,16 +1,15 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; using Newtonsoft.Json; using System.Linq; @@ -22,25 +21,33 @@ public partial class RegenerateActionParameter /// <summary> /// Initializes a new instance of the RegenerateActionParameter class. /// </summary> - public RegenerateActionParameter() { } + public RegenerateActionParameter() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the RegenerateActionParameter class. /// </summary> /// <param name="keyType">The key type. Possible values include: /// 'NotSpecified', 'Primary', 'Secondary'</param> - public RegenerateActionParameter(KeyType? keyType = default(KeyType?)) + public RegenerateActionParameter(string keyType = default(string)) { KeyType = keyType; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the key type. Possible values include: 'NotSpecified', /// 'Primary', 'Secondary' /// </summary> [JsonProperty(PropertyName = "keyType")] - public KeyType? KeyType { get; set; } + public string KeyType { get; set; } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/RepetitionIndex.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/RepetitionIndex.cs new file mode 100644 index 0000000000000..33bee8409711f --- /dev/null +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/RepetitionIndex.cs @@ -0,0 +1,69 @@ +// <auto-generated> +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// </auto-generated> + +namespace Microsoft.Azure.Management.Logic.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// <summary> + /// The workflow run action repetition index. + /// </summary> + public partial class RepetitionIndex + { + /// <summary> + /// Initializes a new instance of the RepetitionIndex class. + /// </summary> + public RepetitionIndex() + { + CustomInit(); + } + + /// <summary> + /// Initializes a new instance of the RepetitionIndex class. + /// </summary> + /// <param name="itemIndex">The index.</param> + /// <param name="scopeName">The scope.</param> + public RepetitionIndex(int itemIndex, string scopeName = default(string)) + { + ScopeName = scopeName; + ItemIndex = itemIndex; + CustomInit(); + } + + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + + /// <summary> + /// Gets or sets the scope. + /// </summary> + [JsonProperty(PropertyName = "scopeName")] + public string ScopeName { get; set; } + + /// <summary> + /// Gets or sets the index. + /// </summary> + [JsonProperty(PropertyName = "itemIndex")] + public int ItemIndex { get; set; } + + /// <summary> + /// Validate the object. + /// </summary> + /// <exception cref="Rest.ValidationException"> + /// Thrown if validation fails + /// </exception> + public virtual void Validate() + { + //Nothing to validate + } + } +} diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/Resource.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/Resource.cs index ea23771933cfa..9268071161816 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/Resource.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/Resource.cs @@ -1,18 +1,17 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; - using Rest; - using Rest.Azure; + using Microsoft.Rest; + using Microsoft.Rest.Azure; using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; @@ -26,7 +25,10 @@ public partial class Resource : IResource /// <summary> /// Initializes a new instance of the Resource class. /// </summary> - public Resource() { } + public Resource() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the Resource class. @@ -43,25 +45,31 @@ public Resource() { } Type = type; Location = location; Tags = tags; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets the resource id. /// </summary> [JsonProperty(PropertyName = "id")] - public string Id { get; protected set; } + public string Id { get; private set; } /// <summary> /// Gets the resource name. /// </summary> [JsonProperty(PropertyName = "name")] - public string Name { get; protected set; } + public string Name { get; private set; } /// <summary> /// Gets the resource type. /// </summary> [JsonProperty(PropertyName = "type")] - public string Type { get; protected set; } + public string Type { get; private set; } /// <summary> /// Gets or sets the resource location. @@ -77,4 +85,3 @@ public Resource() { } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/ResourceReference.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/ResourceReference.cs index e5562de2e9030..c1d9e2f284ce1 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/ResourceReference.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/ResourceReference.cs @@ -1,16 +1,15 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; using Newtonsoft.Json; using System.Linq; @@ -22,7 +21,10 @@ public partial class ResourceReference /// <summary> /// Initializes a new instance of the ResourceReference class. /// </summary> - public ResourceReference() { } + public ResourceReference() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the ResourceReference class. @@ -35,26 +37,31 @@ public ResourceReference() { } Id = id; Name = name; Type = type; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets the resource id. /// </summary> [JsonProperty(PropertyName = "id")] - public string Id { get; protected set; } + public string Id { get; private set; } /// <summary> /// Gets the resource name. /// </summary> [JsonProperty(PropertyName = "name")] - public string Name { get; protected set; } + public string Name { get; private set; } /// <summary> /// Gets the resource type. /// </summary> [JsonProperty(PropertyName = "type")] - public string Type { get; protected set; } + public string Type { get; private set; } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/RetryHistory.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/RetryHistory.cs index 0dbb8c9f6bc79..fcaa3fd6509ff 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/RetryHistory.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/RetryHistory.cs @@ -1,16 +1,15 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; using Newtonsoft.Json; using System.Linq; @@ -22,7 +21,10 @@ public partial class RetryHistory /// <summary> /// Initializes a new instance of the RetryHistory class. /// </summary> - public RetryHistory() { } + public RetryHistory() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the RetryHistory class. @@ -41,8 +43,14 @@ public RetryHistory() { } ClientRequestId = clientRequestId; ServiceRequestId = serviceRequestId; Error = error; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets the start time. /// </summary> @@ -81,4 +89,3 @@ public RetryHistory() { } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/RunActionCorrelation.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/RunActionCorrelation.cs new file mode 100644 index 0000000000000..3f688eadff7b8 --- /dev/null +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/RunActionCorrelation.cs @@ -0,0 +1,58 @@ +// <auto-generated> +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// </auto-generated> + +namespace Microsoft.Azure.Management.Logic.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// <summary> + /// The workflow run action correlation properties. + /// </summary> + public partial class RunActionCorrelation : RunCorrelation + { + /// <summary> + /// Initializes a new instance of the RunActionCorrelation class. + /// </summary> + public RunActionCorrelation() + { + CustomInit(); + } + + /// <summary> + /// Initializes a new instance of the RunActionCorrelation class. + /// </summary> + /// <param name="clientTrackingId">The client tracking + /// identifier.</param> + /// <param name="clientKeywords">The client keywords.</param> + /// <param name="actionTrackingId">The action tracking + /// identifier.</param> + public RunActionCorrelation(string clientTrackingId = default(string), IList<string> clientKeywords = default(IList<string>), string actionTrackingId = default(string)) + : base(clientTrackingId, clientKeywords) + { + ActionTrackingId = actionTrackingId; + CustomInit(); + } + + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + + /// <summary> + /// Gets or sets the action tracking identifier. + /// </summary> + [JsonProperty(PropertyName = "actionTrackingId")] + public string ActionTrackingId { get; set; } + + } +} diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/RunCorrelation.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/RunCorrelation.cs new file mode 100644 index 0000000000000..2bd28b3f6c49a --- /dev/null +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/RunCorrelation.cs @@ -0,0 +1,62 @@ +// <auto-generated> +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// </auto-generated> + +namespace Microsoft.Azure.Management.Logic.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// <summary> + /// The correlation properties. + /// </summary> + public partial class RunCorrelation + { + /// <summary> + /// Initializes a new instance of the RunCorrelation class. + /// </summary> + public RunCorrelation() + { + CustomInit(); + } + + /// <summary> + /// Initializes a new instance of the RunCorrelation class. + /// </summary> + /// <param name="clientTrackingId">The client tracking + /// identifier.</param> + /// <param name="clientKeywords">The client keywords.</param> + public RunCorrelation(string clientTrackingId = default(string), IList<string> clientKeywords = default(IList<string>)) + { + ClientTrackingId = clientTrackingId; + ClientKeywords = clientKeywords; + CustomInit(); + } + + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + + /// <summary> + /// Gets or sets the client tracking identifier. + /// </summary> + [JsonProperty(PropertyName = "clientTrackingId")] + public string ClientTrackingId { get; set; } + + /// <summary> + /// Gets or sets the client keywords. + /// </summary> + [JsonProperty(PropertyName = "clientKeywords")] + public IList<string> ClientKeywords { get; set; } + + } +} diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/SchemaType.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/SchemaType.cs index 4d324118c590b..12ce57484ea68 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/SchemaType.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/SchemaType.cs @@ -1,31 +1,22 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; - using Newtonsoft.Json; - using Newtonsoft.Json.Converters; - using System.Runtime; - using System.Runtime.Serialization; /// <summary> /// Defines values for SchemaType. /// </summary> - [JsonConverter(typeof(StringEnumConverter))] - public enum SchemaType + public static class SchemaType { - [EnumMember(Value = "NotSpecified")] - NotSpecified, - [EnumMember(Value = "Xml")] - Xml + public const string NotSpecified = "NotSpecified"; + public const string Xml = "Xml"; } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/SegmentTerminatorSuffix.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/SegmentTerminatorSuffix.cs index 1e4ac3a6591f0..597b0ae8b8f77 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/SegmentTerminatorSuffix.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/SegmentTerminatorSuffix.cs @@ -1,16 +1,15 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.Runtime; @@ -33,5 +32,47 @@ public enum SegmentTerminatorSuffix [EnumMember(Value = "CRLF")] CRLF } -} + internal static class SegmentTerminatorSuffixEnumExtension + { + internal static string ToSerializedValue(this SegmentTerminatorSuffix? value) + { + return value == null ? null : ((SegmentTerminatorSuffix)value).ToSerializedValue(); + } + + internal static string ToSerializedValue(this SegmentTerminatorSuffix value) + { + switch( value ) + { + case SegmentTerminatorSuffix.NotSpecified: + return "NotSpecified"; + case SegmentTerminatorSuffix.None: + return "None"; + case SegmentTerminatorSuffix.CR: + return "CR"; + case SegmentTerminatorSuffix.LF: + return "LF"; + case SegmentTerminatorSuffix.CRLF: + return "CRLF"; + } + return null; + } + internal static SegmentTerminatorSuffix? ParseSegmentTerminatorSuffix(this string value) + { + switch( value ) + { + case "NotSpecified": + return SegmentTerminatorSuffix.NotSpecified; + case "None": + return SegmentTerminatorSuffix.None; + case "CR": + return SegmentTerminatorSuffix.CR; + case "LF": + return SegmentTerminatorSuffix.LF; + case "CRLF": + return SegmentTerminatorSuffix.CRLF; + } + return null; + } + } +} diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/SetTriggerStateActionDefinition.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/SetTriggerStateActionDefinition.cs new file mode 100644 index 0000000000000..8641f12ea2017 --- /dev/null +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/SetTriggerStateActionDefinition.cs @@ -0,0 +1,62 @@ +// <auto-generated> +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// </auto-generated> + +namespace Microsoft.Azure.Management.Logic.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Linq; + + public partial class SetTriggerStateActionDefinition + { + /// <summary> + /// Initializes a new instance of the SetTriggerStateActionDefinition + /// class. + /// </summary> + public SetTriggerStateActionDefinition() + { + CustomInit(); + } + + /// <summary> + /// Initializes a new instance of the SetTriggerStateActionDefinition + /// class. + /// </summary> + public SetTriggerStateActionDefinition(WorkflowTrigger source) + { + Source = source; + CustomInit(); + } + + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + + /// <summary> + /// </summary> + [JsonProperty(PropertyName = "source")] + public WorkflowTrigger Source { get; set; } + + /// <summary> + /// Validate the object. + /// </summary> + /// <exception cref="ValidationException"> + /// Thrown if validation fails + /// </exception> + public virtual void Validate() + { + if (Source == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Source"); + } + } + } +} diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/SigningAlgorithm.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/SigningAlgorithm.cs new file mode 100644 index 0000000000000..1ad8cc3df6df2 --- /dev/null +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/SigningAlgorithm.cs @@ -0,0 +1,26 @@ +// <auto-generated> +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// </auto-generated> + +namespace Microsoft.Azure.Management.Logic.Models +{ + + /// <summary> + /// Defines values for SigningAlgorithm. + /// </summary> + public static class SigningAlgorithm + { + public const string NotSpecified = "NotSpecified"; + public const string Default = "Default"; + public const string SHA1 = "SHA1"; + public const string SHA2256 = "SHA2256"; + public const string SHA2384 = "SHA2384"; + public const string SHA2512 = "SHA2512"; + } +} diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/Sku.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/Sku.cs index 2ee1d57b1d3e5..496338c0483cf 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/Sku.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/Sku.cs @@ -1,16 +1,16 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; + using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -22,7 +22,10 @@ public partial class Sku /// <summary> /// Initializes a new instance of the Sku class. /// </summary> - public Sku() { } + public Sku() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the Sku class. @@ -31,18 +34,24 @@ public Sku() { } /// 'NotSpecified', 'Free', 'Shared', 'Basic', 'Standard', /// 'Premium'</param> /// <param name="plan">The reference to plan.</param> - public Sku(SkuName name, ResourceReference plan = default(ResourceReference)) + public Sku(string name, ResourceReference plan = default(ResourceReference)) { Name = name; Plan = plan; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the name. Possible values include: 'NotSpecified', /// 'Free', 'Shared', 'Basic', 'Standard', 'Premium' /// </summary> [JsonProperty(PropertyName = "name")] - public SkuName Name { get; set; } + public string Name { get; set; } /// <summary> /// Gets or sets the reference to plan. @@ -53,12 +62,15 @@ public Sku() { } /// <summary> /// Validate the object. /// </summary> - /// <exception cref="Rest.ValidationException"> + /// <exception cref="ValidationException"> /// Thrown if validation fails /// </exception> public virtual void Validate() { + if (Name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Name"); + } } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/SkuName.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/SkuName.cs index 17ffbe9e6b80f..360228e2aea8c 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/SkuName.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/SkuName.cs @@ -1,39 +1,26 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; - using Newtonsoft.Json; - using Newtonsoft.Json.Converters; - using System.Runtime; - using System.Runtime.Serialization; /// <summary> /// Defines values for SkuName. /// </summary> - [JsonConverter(typeof(StringEnumConverter))] - public enum SkuName + public static class SkuName { - [EnumMember(Value = "NotSpecified")] - NotSpecified, - [EnumMember(Value = "Free")] - Free, - [EnumMember(Value = "Shared")] - Shared, - [EnumMember(Value = "Basic")] - Basic, - [EnumMember(Value = "Standard")] - Standard, - [EnumMember(Value = "Premium")] - Premium + public const string NotSpecified = "NotSpecified"; + public const string Free = "Free"; + public const string Shared = "Shared"; + public const string Basic = "Basic"; + public const string Standard = "Standard"; + public const string Premium = "Premium"; } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/SubResource.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/SubResource.cs index d735e261ade03..55eebcc507584 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/SubResource.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/SubResource.cs @@ -1,18 +1,17 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; - using Rest; - using Rest.Azure; + using Microsoft.Rest; + using Microsoft.Rest.Azure; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,10 @@ public partial class SubResource : IResource /// <summary> /// Initializes a new instance of the SubResource class. /// </summary> - public SubResource() { } + public SubResource() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the SubResource class. @@ -33,14 +35,19 @@ public SubResource() { } public SubResource(string id = default(string)) { Id = id; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets the resource id. /// </summary> [JsonProperty(PropertyName = "id")] - public string Id { get; protected set; } + public string Id { get; private set; } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/TrackEventsOperationOptions.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/TrackEventsOperationOptions.cs new file mode 100644 index 0000000000000..1d6f8b78b77a7 --- /dev/null +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/TrackEventsOperationOptions.cs @@ -0,0 +1,22 @@ +// <auto-generated> +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// </auto-generated> + +namespace Microsoft.Azure.Management.Logic.Models +{ + + /// <summary> + /// Defines values for TrackEventsOperationOptions. + /// </summary> + public static class TrackEventsOperationOptions + { + public const string None = "None"; + public const string DisableSourceInfoEnrich = "DisableSourceInfoEnrich"; + } +} diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/TrackingEvent.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/TrackingEvent.cs new file mode 100644 index 0000000000000..9e4887be1f310 --- /dev/null +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/TrackingEvent.cs @@ -0,0 +1,100 @@ +// <auto-generated> +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// </auto-generated> + +namespace Microsoft.Azure.Management.Logic.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Linq; + + public partial class TrackingEvent + { + /// <summary> + /// Initializes a new instance of the TrackingEvent class. + /// </summary> + public TrackingEvent() + { + CustomInit(); + } + + /// <summary> + /// Initializes a new instance of the TrackingEvent class. + /// </summary> + /// <param name="eventLevel">Possible values include: 'LogAlways', + /// 'Critical', 'Error', 'Warning', 'Informational', 'Verbose'</param> + /// <param name="recordType">Possible values include: 'NotSpecified', + /// 'Custom', 'AS2Message', 'AS2MDN', 'X12Interchange', + /// 'X12FunctionalGroup', 'X12TransactionSet', + /// 'X12InterchangeAcknowledgment', 'X12FunctionalGroupAcknowledgment', + /// 'X12TransactionSetAcknowledgment', 'EdifactInterchange', + /// 'EdifactFunctionalGroup', 'EdifactTransactionSet', + /// 'EdifactInterchangeAcknowledgment', + /// 'EdifactFunctionalGroupAcknowledgment', + /// 'EdifactTransactionSetAcknowledgment'</param> + public TrackingEvent(EventLevel eventLevel, System.DateTime eventTime, string recordType, TrackingEventErrorInfo error = default(TrackingEventErrorInfo)) + { + EventLevel = eventLevel; + EventTime = eventTime; + RecordType = recordType; + Error = error; + CustomInit(); + } + + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + + /// <summary> + /// Gets or sets possible values include: 'LogAlways', 'Critical', + /// 'Error', 'Warning', 'Informational', 'Verbose' + /// </summary> + [JsonProperty(PropertyName = "eventLevel")] + public EventLevel EventLevel { get; set; } + + /// <summary> + /// </summary> + [JsonProperty(PropertyName = "eventTime")] + public System.DateTime EventTime { get; set; } + + /// <summary> + /// Gets or sets possible values include: 'NotSpecified', 'Custom', + /// 'AS2Message', 'AS2MDN', 'X12Interchange', 'X12FunctionalGroup', + /// 'X12TransactionSet', 'X12InterchangeAcknowledgment', + /// 'X12FunctionalGroupAcknowledgment', + /// 'X12TransactionSetAcknowledgment', 'EdifactInterchange', + /// 'EdifactFunctionalGroup', 'EdifactTransactionSet', + /// 'EdifactInterchangeAcknowledgment', + /// 'EdifactFunctionalGroupAcknowledgment', + /// 'EdifactTransactionSetAcknowledgment' + /// </summary> + [JsonProperty(PropertyName = "recordType")] + public string RecordType { get; set; } + + /// <summary> + /// </summary> + [JsonProperty(PropertyName = "error")] + public TrackingEventErrorInfo Error { get; set; } + + /// <summary> + /// Validate the object. + /// </summary> + /// <exception cref="ValidationException"> + /// Thrown if validation fails + /// </exception> + public virtual void Validate() + { + if (RecordType == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "RecordType"); + } + } + } +} diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/TrackingEventErrorInfo.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/TrackingEventErrorInfo.cs new file mode 100644 index 0000000000000..d7089c948147f --- /dev/null +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/TrackingEventErrorInfo.cs @@ -0,0 +1,52 @@ +// <auto-generated> +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// </auto-generated> + +namespace Microsoft.Azure.Management.Logic.Models +{ + using Newtonsoft.Json; + using System.Linq; + + public partial class TrackingEventErrorInfo + { + /// <summary> + /// Initializes a new instance of the TrackingEventErrorInfo class. + /// </summary> + public TrackingEventErrorInfo() + { + CustomInit(); + } + + /// <summary> + /// Initializes a new instance of the TrackingEventErrorInfo class. + /// </summary> + public TrackingEventErrorInfo(string message = default(string), string code = default(string)) + { + Message = message; + Code = code; + CustomInit(); + } + + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + + /// <summary> + /// </summary> + [JsonProperty(PropertyName = "message")] + public string Message { get; set; } + + /// <summary> + /// </summary> + [JsonProperty(PropertyName = "code")] + public string Code { get; set; } + + } +} diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/TrackingEventsDefinition.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/TrackingEventsDefinition.cs new file mode 100644 index 0000000000000..89556856542f4 --- /dev/null +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/TrackingEventsDefinition.cs @@ -0,0 +1,92 @@ +// <auto-generated> +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// </auto-generated> + +namespace Microsoft.Azure.Management.Logic.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + public partial class TrackingEventsDefinition + { + /// <summary> + /// Initializes a new instance of the TrackingEventsDefinition class. + /// </summary> + public TrackingEventsDefinition() + { + CustomInit(); + } + + /// <summary> + /// Initializes a new instance of the TrackingEventsDefinition class. + /// </summary> + /// <param name="trackEventsOptions">Possible values include: 'None', + /// 'DisableSourceInfoEnrich'</param> + public TrackingEventsDefinition(string sourceType, IList<TrackingEvent> events, string trackEventsOptions = default(string)) + { + SourceType = sourceType; + TrackEventsOptions = trackEventsOptions; + Events = events; + CustomInit(); + } + + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + + /// <summary> + /// </summary> + [JsonProperty(PropertyName = "sourceType")] + public string SourceType { get; set; } + + /// <summary> + /// Gets or sets possible values include: 'None', + /// 'DisableSourceInfoEnrich' + /// </summary> + [JsonProperty(PropertyName = "trackEventsOptions")] + public string TrackEventsOptions { get; set; } + + /// <summary> + /// </summary> + [JsonProperty(PropertyName = "events")] + public IList<TrackingEvent> Events { get; set; } + + /// <summary> + /// Validate the object. + /// </summary> + /// <exception cref="ValidationException"> + /// Thrown if validation fails + /// </exception> + public virtual void Validate() + { + if (SourceType == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "SourceType"); + } + if (Events == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Events"); + } + if (Events != null) + { + foreach (var element in Events) + { + if (element != null) + { + element.Validate(); + } + } + } + } + } +} diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/TrackingRecordType.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/TrackingRecordType.cs new file mode 100644 index 0000000000000..3fc27a0edbc57 --- /dev/null +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/TrackingRecordType.cs @@ -0,0 +1,36 @@ +// <auto-generated> +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// </auto-generated> + +namespace Microsoft.Azure.Management.Logic.Models +{ + + /// <summary> + /// Defines values for TrackingRecordType. + /// </summary> + public static class TrackingRecordType + { + public const string NotSpecified = "NotSpecified"; + public const string Custom = "Custom"; + public const string AS2Message = "AS2Message"; + public const string AS2MDN = "AS2MDN"; + public const string X12Interchange = "X12Interchange"; + public const string X12FunctionalGroup = "X12FunctionalGroup"; + public const string X12TransactionSet = "X12TransactionSet"; + public const string X12InterchangeAcknowledgment = "X12InterchangeAcknowledgment"; + public const string X12FunctionalGroupAcknowledgment = "X12FunctionalGroupAcknowledgment"; + public const string X12TransactionSetAcknowledgment = "X12TransactionSetAcknowledgment"; + public const string EdifactInterchange = "EdifactInterchange"; + public const string EdifactFunctionalGroup = "EdifactFunctionalGroup"; + public const string EdifactTransactionSet = "EdifactTransactionSet"; + public const string EdifactInterchangeAcknowledgment = "EdifactInterchangeAcknowledgment"; + public const string EdifactFunctionalGroupAcknowledgment = "EdifactFunctionalGroupAcknowledgment"; + public const string EdifactTransactionSetAcknowledgment = "EdifactTransactionSetAcknowledgment"; + } +} diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/TrailingSeparatorPolicy.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/TrailingSeparatorPolicy.cs index 32d330de3892b..f7d27a76b4fe9 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/TrailingSeparatorPolicy.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/TrailingSeparatorPolicy.cs @@ -1,35 +1,24 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; - using Newtonsoft.Json; - using Newtonsoft.Json.Converters; - using System.Runtime; - using System.Runtime.Serialization; /// <summary> /// Defines values for TrailingSeparatorPolicy. /// </summary> - [JsonConverter(typeof(StringEnumConverter))] - public enum TrailingSeparatorPolicy + public static class TrailingSeparatorPolicy { - [EnumMember(Value = "NotSpecified")] - NotSpecified, - [EnumMember(Value = "NotAllowed")] - NotAllowed, - [EnumMember(Value = "Optional")] - Optional, - [EnumMember(Value = "Mandatory")] - Mandatory + public const string NotSpecified = "NotSpecified"; + public const string NotAllowed = "NotAllowed"; + public const string Optional = "Optional"; + public const string Mandatory = "Mandatory"; } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/UsageIndicator.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/UsageIndicator.cs index 93c486ef0a37a..563eb1cf62604 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/UsageIndicator.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/UsageIndicator.cs @@ -1,35 +1,24 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; - using Newtonsoft.Json; - using Newtonsoft.Json.Converters; - using System.Runtime; - using System.Runtime.Serialization; /// <summary> /// Defines values for UsageIndicator. /// </summary> - [JsonConverter(typeof(StringEnumConverter))] - public enum UsageIndicator + public static class UsageIndicator { - [EnumMember(Value = "NotSpecified")] - NotSpecified, - [EnumMember(Value = "Test")] - Test, - [EnumMember(Value = "Information")] - Information, - [EnumMember(Value = "Production")] - Production + public const string NotSpecified = "NotSpecified"; + public const string Test = "Test"; + public const string Information = "Information"; + public const string Production = "Production"; } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/Workflow.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/Workflow.cs index 479dcec1689e5..f6a3322a3dfd3 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/Workflow.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/Workflow.cs @@ -1,18 +1,17 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; - using Rest; - using Rest.Serialization; + using Microsoft.Rest; + using Microsoft.Rest.Serialization; using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; @@ -21,13 +20,16 @@ namespace Microsoft.Azure.Management.Logic.Models /// <summary> /// The workflow type. /// </summary> - [JsonTransformation] + [Rest.Serialization.JsonTransformation] public partial class Workflow : Resource { /// <summary> /// Initializes a new instance of the Workflow class. /// </summary> - public Workflow() { } + public Workflow() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the Workflow class. @@ -53,7 +55,7 @@ public Workflow() { } /// <param name="integrationAccount">The integration account.</param> /// <param name="definition">The definition.</param> /// <param name="parameters">The parameters.</param> - public Workflow(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary<string, string> tags = default(IDictionary<string, string>), WorkflowProvisioningState? provisioningState = default(WorkflowProvisioningState?), System.DateTime? createdTime = default(System.DateTime?), System.DateTime? changedTime = default(System.DateTime?), WorkflowState? state = default(WorkflowState?), string version = default(string), string accessEndpoint = default(string), Sku sku = default(Sku), ResourceReference integrationAccount = default(ResourceReference), object definition = default(object), IDictionary<string, WorkflowParameter> parameters = default(IDictionary<string, WorkflowParameter>)) + public Workflow(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary<string, string> tags = default(IDictionary<string, string>), string provisioningState = default(string), System.DateTime? createdTime = default(System.DateTime?), System.DateTime? changedTime = default(System.DateTime?), string state = default(string), string version = default(string), string accessEndpoint = default(string), Sku sku = default(Sku), ResourceReference integrationAccount = default(ResourceReference), object definition = default(object), IDictionary<string, WorkflowParameter> parameters = default(IDictionary<string, WorkflowParameter>)) : base(id, name, type, location, tags) { ProvisioningState = provisioningState; @@ -66,8 +68,14 @@ public Workflow() { } IntegrationAccount = integrationAccount; Definition = definition; Parameters = parameters; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets the provisioning state. Possible values include: /// 'NotSpecified', 'Accepted', 'Running', 'Ready', 'Creating', @@ -76,38 +84,38 @@ public Workflow() { } /// 'Unregistering', 'Unregistered', 'Completed' /// </summary> [JsonProperty(PropertyName = "properties.provisioningState")] - public WorkflowProvisioningState? ProvisioningState { get; protected set; } + public string ProvisioningState { get; private set; } /// <summary> /// Gets the created time. /// </summary> [JsonProperty(PropertyName = "properties.createdTime")] - public System.DateTime? CreatedTime { get; protected set; } + public System.DateTime? CreatedTime { get; private set; } /// <summary> /// Gets the changed time. /// </summary> [JsonProperty(PropertyName = "properties.changedTime")] - public System.DateTime? ChangedTime { get; protected set; } + public System.DateTime? ChangedTime { get; private set; } /// <summary> /// Gets or sets the state. Possible values include: 'NotSpecified', /// 'Completed', 'Enabled', 'Disabled', 'Deleted', 'Suspended' /// </summary> [JsonProperty(PropertyName = "properties.state")] - public WorkflowState? State { get; set; } + public string State { get; set; } /// <summary> /// Gets the version. /// </summary> [JsonProperty(PropertyName = "properties.version")] - public string Version { get; protected set; } + public string Version { get; private set; } /// <summary> /// Gets the access endpoint. /// </summary> [JsonProperty(PropertyName = "properties.accessEndpoint")] - public string AccessEndpoint { get; protected set; } + public string AccessEndpoint { get; private set; } /// <summary> /// Gets or sets the sku. @@ -148,4 +156,3 @@ public virtual void Validate() } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowFilter.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowFilter.cs index 121bd43e03003..7d3621647181a 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowFilter.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowFilter.cs @@ -1,16 +1,15 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; using Newtonsoft.Json; using System.Linq; @@ -22,7 +21,10 @@ public partial class WorkflowFilter /// <summary> /// Initializes a new instance of the WorkflowFilter class. /// </summary> - public WorkflowFilter() { } + public WorkflowFilter() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the WorkflowFilter class. @@ -30,19 +32,24 @@ public WorkflowFilter() { } /// <param name="state">The state of workflows. Possible values /// include: 'NotSpecified', 'Completed', 'Enabled', 'Disabled', /// 'Deleted', 'Suspended'</param> - public WorkflowFilter(WorkflowState? state = default(WorkflowState?)) + public WorkflowFilter(string state = default(string)) { State = state; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the state of workflows. Possible values include: /// 'NotSpecified', 'Completed', 'Enabled', 'Disabled', 'Deleted', /// 'Suspended' /// </summary> [JsonProperty(PropertyName = "state")] - public WorkflowState? State { get; set; } + public string State { get; set; } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowOutputParameter.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowOutputParameter.cs index 8fb67077ba91e..d98d227eb0bfc 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowOutputParameter.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowOutputParameter.cs @@ -1,16 +1,15 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; using Newtonsoft.Json; using System.Linq; @@ -22,7 +21,10 @@ public partial class WorkflowOutputParameter : WorkflowParameter /// <summary> /// Initializes a new instance of the WorkflowOutputParameter class. /// </summary> - public WorkflowOutputParameter() { } + public WorkflowOutputParameter() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the WorkflowOutputParameter class. @@ -34,18 +36,23 @@ public WorkflowOutputParameter() { } /// <param name="metadata">The metadata.</param> /// <param name="description">The description.</param> /// <param name="error">Gets the error.</param> - public WorkflowOutputParameter(ParameterType? type = default(ParameterType?), object value = default(object), object metadata = default(object), string description = default(string), object error = default(object)) + public WorkflowOutputParameter(string type = default(string), object value = default(object), object metadata = default(object), string description = default(string), object error = default(object)) : base(type, value, metadata, description) { Error = error; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets the error. /// </summary> [JsonProperty(PropertyName = "error")] - public object Error { get; protected set; } + public object Error { get; private set; } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowParameter.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowParameter.cs index 5bbdad30a6c0d..fcf6c3bf15285 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowParameter.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowParameter.cs @@ -1,16 +1,15 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; using Newtonsoft.Json; using System.Linq; @@ -22,7 +21,10 @@ public partial class WorkflowParameter /// <summary> /// Initializes a new instance of the WorkflowParameter class. /// </summary> - public WorkflowParameter() { } + public WorkflowParameter() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the WorkflowParameter class. @@ -33,21 +35,27 @@ public WorkflowParameter() { } /// <param name="value">The value.</param> /// <param name="metadata">The metadata.</param> /// <param name="description">The description.</param> - public WorkflowParameter(ParameterType? type = default(ParameterType?), object value = default(object), object metadata = default(object), string description = default(string)) + public WorkflowParameter(string type = default(string), object value = default(object), object metadata = default(object), string description = default(string)) { Type = type; Value = value; Metadata = metadata; Description = description; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the type. Possible values include: 'NotSpecified', /// 'String', 'SecureString', 'Int', 'Float', 'Bool', 'Array', /// 'Object', 'SecureObject' /// </summary> [JsonProperty(PropertyName = "type")] - public ParameterType? Type { get; set; } + public string Type { get; set; } /// <summary> /// Gets or sets the value. @@ -69,4 +77,3 @@ public WorkflowParameter() { } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowProvisioningState.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowProvisioningState.cs index 5181625e54b71..860b09873c891 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowProvisioningState.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowProvisioningState.cs @@ -1,63 +1,38 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; - using Newtonsoft.Json; - using Newtonsoft.Json.Converters; - using System.Runtime; - using System.Runtime.Serialization; /// <summary> /// Defines values for WorkflowProvisioningState. /// </summary> - [JsonConverter(typeof(StringEnumConverter))] - public enum WorkflowProvisioningState + public static class WorkflowProvisioningState { - [EnumMember(Value = "NotSpecified")] - NotSpecified, - [EnumMember(Value = "Accepted")] - Accepted, - [EnumMember(Value = "Running")] - Running, - [EnumMember(Value = "Ready")] - Ready, - [EnumMember(Value = "Creating")] - Creating, - [EnumMember(Value = "Created")] - Created, - [EnumMember(Value = "Deleting")] - Deleting, - [EnumMember(Value = "Deleted")] - Deleted, - [EnumMember(Value = "Canceled")] - Canceled, - [EnumMember(Value = "Failed")] - Failed, - [EnumMember(Value = "Succeeded")] - Succeeded, - [EnumMember(Value = "Moving")] - Moving, - [EnumMember(Value = "Updating")] - Updating, - [EnumMember(Value = "Registering")] - Registering, - [EnumMember(Value = "Registered")] - Registered, - [EnumMember(Value = "Unregistering")] - Unregistering, - [EnumMember(Value = "Unregistered")] - Unregistered, - [EnumMember(Value = "Completed")] - Completed + public const string NotSpecified = "NotSpecified"; + public const string Accepted = "Accepted"; + public const string Running = "Running"; + public const string Ready = "Ready"; + public const string Creating = "Creating"; + public const string Created = "Created"; + public const string Deleting = "Deleting"; + public const string Deleted = "Deleted"; + public const string Canceled = "Canceled"; + public const string Failed = "Failed"; + public const string Succeeded = "Succeeded"; + public const string Moving = "Moving"; + public const string Updating = "Updating"; + public const string Registering = "Registering"; + public const string Registered = "Registered"; + public const string Unregistering = "Unregistering"; + public const string Unregistered = "Unregistered"; + public const string Completed = "Completed"; } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowRun.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowRun.cs index 476aaeac9cc3f..e91be90359b94 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowRun.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowRun.cs @@ -1,18 +1,17 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; - using Rest; - using Rest.Serialization; + using Microsoft.Rest; + using Microsoft.Rest.Serialization; using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; @@ -21,18 +20,22 @@ namespace Microsoft.Azure.Management.Logic.Models /// <summary> /// The workflow run. /// </summary> - [JsonTransformation] + [Rest.Serialization.JsonTransformation] public partial class WorkflowRun : SubResource { /// <summary> /// Initializes a new instance of the WorkflowRun class. /// </summary> - public WorkflowRun() { } + public WorkflowRun() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the WorkflowRun class. /// </summary> /// <param name="id">The resource id.</param> + /// <param name="waitEndTime">Gets the wait end time.</param> /// <param name="startTime">Gets the start time.</param> /// <param name="endTime">Gets the end time.</param> /// <param name="status">Gets the status. Possible values include: @@ -50,9 +53,10 @@ public WorkflowRun() { } /// <param name="response">Gets the response of the flow run.</param> /// <param name="name">Gets the workflow run name.</param> /// <param name="type">Gets the workflow run type.</param> - public WorkflowRun(string id = default(string), System.DateTime? startTime = default(System.DateTime?), System.DateTime? endTime = default(System.DateTime?), WorkflowStatus? status = default(WorkflowStatus?), string code = default(string), object error = default(object), string correlationId = default(string), Correlation correlation = default(Correlation), ResourceReference workflow = default(ResourceReference), WorkflowRunTrigger trigger = default(WorkflowRunTrigger), IDictionary<string, WorkflowOutputParameter> outputs = default(IDictionary<string, WorkflowOutputParameter>), WorkflowRunTrigger response = default(WorkflowRunTrigger), string name = default(string), string type = default(string)) + public WorkflowRun(string id = default(string), System.DateTime? waitEndTime = default(System.DateTime?), System.DateTime? startTime = default(System.DateTime?), System.DateTime? endTime = default(System.DateTime?), string status = default(string), string code = default(string), object error = default(object), string correlationId = default(string), Correlation correlation = default(Correlation), ResourceReference workflow = default(ResourceReference), WorkflowRunTrigger trigger = default(WorkflowRunTrigger), IDictionary<string, WorkflowOutputParameter> outputs = default(IDictionary<string, WorkflowOutputParameter>), WorkflowRunTrigger response = default(WorkflowRunTrigger), string name = default(string), string type = default(string)) : base(id) { + WaitEndTime = waitEndTime; StartTime = startTime; EndTime = endTime; Status = status; @@ -66,19 +70,31 @@ public WorkflowRun() { } Response = response; Name = name; Type = type; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + + /// <summary> + /// Gets the wait end time. + /// </summary> + [JsonProperty(PropertyName = "properties.waitEndTime")] + public System.DateTime? WaitEndTime { get; private set; } + /// <summary> /// Gets the start time. /// </summary> [JsonProperty(PropertyName = "properties.startTime")] - public System.DateTime? StartTime { get; protected set; } + public System.DateTime? StartTime { get; private set; } /// <summary> /// Gets the end time. /// </summary> [JsonProperty(PropertyName = "properties.endTime")] - public System.DateTime? EndTime { get; protected set; } + public System.DateTime? EndTime { get; private set; } /// <summary> /// Gets the status. Possible values include: 'NotSpecified', 'Paused', @@ -86,25 +102,25 @@ public WorkflowRun() { } /// 'Cancelled', 'Failed', 'Faulted', 'TimedOut', 'Aborted', 'Ignored' /// </summary> [JsonProperty(PropertyName = "properties.status")] - public WorkflowStatus? Status { get; protected set; } + public string Status { get; private set; } /// <summary> /// Gets the code. /// </summary> [JsonProperty(PropertyName = "properties.code")] - public string Code { get; protected set; } + public string Code { get; private set; } /// <summary> /// Gets the error. /// </summary> [JsonProperty(PropertyName = "properties.error")] - public object Error { get; protected set; } + public object Error { get; private set; } /// <summary> /// Gets the correlation id. /// </summary> [JsonProperty(PropertyName = "properties.correlationId")] - public string CorrelationId { get; protected set; } + public string CorrelationId { get; private set; } /// <summary> /// Gets or sets the run correlation. @@ -116,38 +132,37 @@ public WorkflowRun() { } /// Gets the reference to workflow version. /// </summary> [JsonProperty(PropertyName = "properties.workflow")] - public ResourceReference Workflow { get; protected set; } + public ResourceReference Workflow { get; private set; } /// <summary> /// Gets the fired trigger. /// </summary> [JsonProperty(PropertyName = "properties.trigger")] - public WorkflowRunTrigger Trigger { get; protected set; } + public WorkflowRunTrigger Trigger { get; private set; } /// <summary> /// Gets the outputs. /// </summary> [JsonProperty(PropertyName = "properties.outputs")] - public IDictionary<string, WorkflowOutputParameter> Outputs { get; protected set; } + public IDictionary<string, WorkflowOutputParameter> Outputs { get; private set; } /// <summary> /// Gets the response of the flow run. /// </summary> [JsonProperty(PropertyName = "properties.response")] - public WorkflowRunTrigger Response { get; protected set; } + public WorkflowRunTrigger Response { get; private set; } /// <summary> /// Gets the workflow run name. /// </summary> [JsonProperty(PropertyName = "name")] - public string Name { get; protected set; } + public string Name { get; private set; } /// <summary> /// Gets the workflow run type. /// </summary> [JsonProperty(PropertyName = "type")] - public string Type { get; protected set; } + public string Type { get; private set; } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowRunAction.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowRunAction.cs index 583c2480aae95..bac3cf0f5dc72 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowRunAction.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowRunAction.cs @@ -1,18 +1,17 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; - using Rest; - using Rest.Serialization; + using Microsoft.Rest; + using Microsoft.Rest.Serialization; using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; @@ -21,13 +20,16 @@ namespace Microsoft.Azure.Management.Logic.Models /// <summary> /// The workflow run action. /// </summary> - [JsonTransformation] + [Rest.Serialization.JsonTransformation] public partial class WorkflowRunAction : SubResource { /// <summary> /// Initializes a new instance of the WorkflowRunAction class. /// </summary> - public WorkflowRunAction() { } + public WorkflowRunAction() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the WorkflowRunAction class. @@ -50,7 +52,7 @@ public WorkflowRunAction() { } /// <param name="retryHistory">Gets the retry histories.</param> /// <param name="name">Gets the workflow run action name.</param> /// <param name="type">Gets the workflow run action type.</param> - public WorkflowRunAction(string id = default(string), System.DateTime? startTime = default(System.DateTime?), System.DateTime? endTime = default(System.DateTime?), WorkflowStatus? status = default(WorkflowStatus?), string code = default(string), object error = default(object), string trackingId = default(string), Correlation correlation = default(Correlation), ContentLink inputsLink = default(ContentLink), ContentLink outputsLink = default(ContentLink), object trackedProperties = default(object), IList<RetryHistory> retryHistory = default(IList<RetryHistory>), string name = default(string), string type = default(string)) + public WorkflowRunAction(string id = default(string), System.DateTime? startTime = default(System.DateTime?), System.DateTime? endTime = default(System.DateTime?), string status = default(string), string code = default(string), object error = default(object), string trackingId = default(string), Correlation correlation = default(Correlation), ContentLink inputsLink = default(ContentLink), ContentLink outputsLink = default(ContentLink), object trackedProperties = default(object), IList<RetryHistory> retryHistory = default(IList<RetryHistory>), string name = default(string), string type = default(string)) : base(id) { StartTime = startTime; @@ -66,19 +68,25 @@ public WorkflowRunAction() { } RetryHistory = retryHistory; Name = name; Type = type; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets the start time. /// </summary> [JsonProperty(PropertyName = "properties.startTime")] - public System.DateTime? StartTime { get; protected set; } + public System.DateTime? StartTime { get; private set; } /// <summary> /// Gets the end time. /// </summary> [JsonProperty(PropertyName = "properties.endTime")] - public System.DateTime? EndTime { get; protected set; } + public System.DateTime? EndTime { get; private set; } /// <summary> /// Gets the status. Possible values include: 'NotSpecified', 'Paused', @@ -86,25 +94,25 @@ public WorkflowRunAction() { } /// 'Cancelled', 'Failed', 'Faulted', 'TimedOut', 'Aborted', 'Ignored' /// </summary> [JsonProperty(PropertyName = "properties.status")] - public WorkflowStatus? Status { get; protected set; } + public string Status { get; private set; } /// <summary> /// Gets the code. /// </summary> [JsonProperty(PropertyName = "properties.code")] - public string Code { get; protected set; } + public string Code { get; private set; } /// <summary> /// Gets the error. /// </summary> [JsonProperty(PropertyName = "properties.error")] - public object Error { get; protected set; } + public object Error { get; private set; } /// <summary> /// Gets the tracking id. /// </summary> [JsonProperty(PropertyName = "properties.trackingId")] - public string TrackingId { get; protected set; } + public string TrackingId { get; private set; } /// <summary> /// Gets or sets the correlation properties. @@ -116,19 +124,19 @@ public WorkflowRunAction() { } /// Gets the link to inputs. /// </summary> [JsonProperty(PropertyName = "properties.inputsLink")] - public ContentLink InputsLink { get; protected set; } + public ContentLink InputsLink { get; private set; } /// <summary> /// Gets the link to outputs. /// </summary> [JsonProperty(PropertyName = "properties.outputsLink")] - public ContentLink OutputsLink { get; protected set; } + public ContentLink OutputsLink { get; private set; } /// <summary> /// Gets the tracked properties. /// </summary> [JsonProperty(PropertyName = "properties.trackedProperties")] - public object TrackedProperties { get; protected set; } + public object TrackedProperties { get; private set; } /// <summary> /// Gets the retry histories. @@ -140,14 +148,13 @@ public WorkflowRunAction() { } /// Gets the workflow run action name. /// </summary> [JsonProperty(PropertyName = "name")] - public string Name { get; protected set; } + public string Name { get; private set; } /// <summary> /// Gets the workflow run action type. /// </summary> [JsonProperty(PropertyName = "type")] - public string Type { get; protected set; } + public string Type { get; private set; } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowRunActionFilter.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowRunActionFilter.cs index 2cae0bd4130e0..62d4e6953b7fe 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowRunActionFilter.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowRunActionFilter.cs @@ -1,16 +1,15 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; using Newtonsoft.Json; using System.Linq; @@ -22,7 +21,10 @@ public partial class WorkflowRunActionFilter /// <summary> /// Initializes a new instance of the WorkflowRunActionFilter class. /// </summary> - public WorkflowRunActionFilter() { } + public WorkflowRunActionFilter() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the WorkflowRunActionFilter class. @@ -31,11 +33,17 @@ public WorkflowRunActionFilter() { } /// values include: 'NotSpecified', 'Paused', 'Running', 'Waiting', /// 'Succeeded', 'Skipped', 'Suspended', 'Cancelled', 'Failed', /// 'Faulted', 'TimedOut', 'Aborted', 'Ignored'</param> - public WorkflowRunActionFilter(WorkflowStatus? status = default(WorkflowStatus?)) + public WorkflowRunActionFilter(string status = default(string)) { Status = status; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the status of workflow run action. Possible values /// include: 'NotSpecified', 'Paused', 'Running', 'Waiting', @@ -43,8 +51,7 @@ public WorkflowRunActionFilter() { } /// 'Faulted', 'TimedOut', 'Aborted', 'Ignored' /// </summary> [JsonProperty(PropertyName = "status")] - public WorkflowStatus? Status { get; set; } + public string Status { get; set; } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowRunActionRepetitionDefinition.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowRunActionRepetitionDefinition.cs new file mode 100644 index 0000000000000..0b0bfc7376f2c --- /dev/null +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowRunActionRepetitionDefinition.cs @@ -0,0 +1,181 @@ +// <auto-generated> +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// </auto-generated> + +namespace Microsoft.Azure.Management.Logic.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// <summary> + /// The workflow run action repetition definition. + /// </summary> + [Rest.Serialization.JsonTransformation] + public partial class WorkflowRunActionRepetitionDefinition : Resource + { + /// <summary> + /// Initializes a new instance of the + /// WorkflowRunActionRepetitionDefinition class. + /// </summary> + public WorkflowRunActionRepetitionDefinition() + { + CustomInit(); + } + + /// <summary> + /// Initializes a new instance of the + /// WorkflowRunActionRepetitionDefinition class. + /// </summary> + /// <param name="id">The resource id.</param> + /// <param name="name">Gets the resource name.</param> + /// <param name="type">Gets the resource type.</param> + /// <param name="location">The resource location.</param> + /// <param name="tags">The resource tags.</param> + /// <param name="startTime">The start time of the workflow scope + /// repetition.</param> + /// <param name="endTime">The end time of the workflow scope + /// repetition.</param> + /// <param name="correlation">The correlation properties.</param> + /// <param name="status">The status of the workflow scope repetition. + /// Possible values include: 'NotSpecified', 'Paused', 'Running', + /// 'Waiting', 'Succeeded', 'Skipped', 'Suspended', 'Cancelled', + /// 'Failed', 'Faulted', 'TimedOut', 'Aborted', 'Ignored'</param> + /// <param name="code">The workflow scope repetition code.</param> + /// <param name="trackingId">Gets the tracking id.</param> + /// <param name="inputs">Gets the inputs.</param> + /// <param name="inputsLink">Gets the link to inputs.</param> + /// <param name="outputs">Gets the outputs.</param> + /// <param name="outputsLink">Gets the link to outputs.</param> + /// <param name="trackedProperties">Gets the tracked + /// properties.</param> + /// <param name="retryHistory">Gets the retry histories.</param> + /// <param name="repetitionIndexes">The repetition indexes.</param> + public WorkflowRunActionRepetitionDefinition(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary<string, string> tags = default(IDictionary<string, string>), System.DateTime? startTime = default(System.DateTime?), System.DateTime? endTime = default(System.DateTime?), RunActionCorrelation correlation = default(RunActionCorrelation), string status = default(string), string code = default(string), object error = default(object), string trackingId = default(string), object inputs = default(object), ContentLink inputsLink = default(ContentLink), object outputs = default(object), ContentLink outputsLink = default(ContentLink), object trackedProperties = default(object), IList<RetryHistory> retryHistory = default(IList<RetryHistory>), int? iterationCount = default(int?), IList<RepetitionIndex> repetitionIndexes = default(IList<RepetitionIndex>)) + : base(id, name, type, location, tags) + { + StartTime = startTime; + EndTime = endTime; + Correlation = correlation; + Status = status; + Code = code; + Error = error; + TrackingId = trackingId; + Inputs = inputs; + InputsLink = inputsLink; + Outputs = outputs; + OutputsLink = outputsLink; + TrackedProperties = trackedProperties; + RetryHistory = retryHistory; + IterationCount = iterationCount; + RepetitionIndexes = repetitionIndexes; + CustomInit(); + } + + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + + /// <summary> + /// Gets or sets the start time of the workflow scope repetition. + /// </summary> + [JsonProperty(PropertyName = "properties.startTime")] + public System.DateTime? StartTime { get; set; } + + /// <summary> + /// Gets or sets the end time of the workflow scope repetition. + /// </summary> + [JsonProperty(PropertyName = "properties.endTime")] + public System.DateTime? EndTime { get; set; } + + /// <summary> + /// Gets or sets the correlation properties. + /// </summary> + [JsonProperty(PropertyName = "properties.correlation")] + public RunActionCorrelation Correlation { get; set; } + + /// <summary> + /// Gets or sets the status of the workflow scope repetition. Possible + /// values include: 'NotSpecified', 'Paused', 'Running', 'Waiting', + /// 'Succeeded', 'Skipped', 'Suspended', 'Cancelled', 'Failed', + /// 'Faulted', 'TimedOut', 'Aborted', 'Ignored' + /// </summary> + [JsonProperty(PropertyName = "properties.status")] + public string Status { get; set; } + + /// <summary> + /// Gets or sets the workflow scope repetition code. + /// </summary> + [JsonProperty(PropertyName = "properties.code")] + public string Code { get; set; } + + /// <summary> + /// </summary> + [JsonProperty(PropertyName = "properties.error")] + public object Error { get; set; } + + /// <summary> + /// Gets the tracking id. + /// </summary> + [JsonProperty(PropertyName = "properties.trackingId")] + public string TrackingId { get; private set; } + + /// <summary> + /// Gets the inputs. + /// </summary> + [JsonProperty(PropertyName = "properties.inputs")] + public object Inputs { get; private set; } + + /// <summary> + /// Gets the link to inputs. + /// </summary> + [JsonProperty(PropertyName = "properties.inputsLink")] + public ContentLink InputsLink { get; private set; } + + /// <summary> + /// Gets the outputs. + /// </summary> + [JsonProperty(PropertyName = "properties.outputs")] + public object Outputs { get; private set; } + + /// <summary> + /// Gets the link to outputs. + /// </summary> + [JsonProperty(PropertyName = "properties.outputsLink")] + public ContentLink OutputsLink { get; private set; } + + /// <summary> + /// Gets the tracked properties. + /// </summary> + [JsonProperty(PropertyName = "properties.trackedProperties")] + public object TrackedProperties { get; private set; } + + /// <summary> + /// Gets the retry histories. + /// </summary> + [JsonProperty(PropertyName = "properties.retryHistory")] + public IList<RetryHistory> RetryHistory { get; set; } + + /// <summary> + /// </summary> + [JsonProperty(PropertyName = "properties.iterationCount")] + public int? IterationCount { get; set; } + + /// <summary> + /// Gets or sets the repetition indexes. + /// </summary> + [JsonProperty(PropertyName = "properties.repetitionIndexes")] + public IList<RepetitionIndex> RepetitionIndexes { get; set; } + + } +} diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowRunActionRepetitionDefinitionCollection.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowRunActionRepetitionDefinitionCollection.cs new file mode 100644 index 0000000000000..148ec055cfa1e --- /dev/null +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowRunActionRepetitionDefinitionCollection.cs @@ -0,0 +1,53 @@ +// <auto-generated> +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// </auto-generated> + +namespace Microsoft.Azure.Management.Logic.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// <summary> + /// A collection of workflow run action repetitions. + /// </summary> + public partial class WorkflowRunActionRepetitionDefinitionCollection + { + /// <summary> + /// Initializes a new instance of the + /// WorkflowRunActionRepetitionDefinitionCollection class. + /// </summary> + public WorkflowRunActionRepetitionDefinitionCollection() + { + CustomInit(); + } + + /// <summary> + /// Initializes a new instance of the + /// WorkflowRunActionRepetitionDefinitionCollection class. + /// </summary> + public WorkflowRunActionRepetitionDefinitionCollection(IList<WorkflowRunActionRepetitionDefinition> value = default(IList<WorkflowRunActionRepetitionDefinition>)) + { + Value = value; + CustomInit(); + } + + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + + /// <summary> + /// </summary> + [JsonProperty(PropertyName = "value")] + public IList<WorkflowRunActionRepetitionDefinition> Value { get; set; } + + } +} diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowRunFilter.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowRunFilter.cs index bb0a8fa898ae1..729ef36b01bdd 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowRunFilter.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowRunFilter.cs @@ -1,16 +1,15 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; using Newtonsoft.Json; using System.Linq; @@ -22,7 +21,10 @@ public partial class WorkflowRunFilter /// <summary> /// Initializes a new instance of the WorkflowRunFilter class. /// </summary> - public WorkflowRunFilter() { } + public WorkflowRunFilter() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the WorkflowRunFilter class. @@ -31,11 +33,17 @@ public WorkflowRunFilter() { } /// include: 'NotSpecified', 'Paused', 'Running', 'Waiting', /// 'Succeeded', 'Skipped', 'Suspended', 'Cancelled', 'Failed', /// 'Faulted', 'TimedOut', 'Aborted', 'Ignored'</param> - public WorkflowRunFilter(WorkflowStatus? status = default(WorkflowStatus?)) + public WorkflowRunFilter(string status = default(string)) { Status = status; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the status of workflow run. Possible values include: /// 'NotSpecified', 'Paused', 'Running', 'Waiting', 'Succeeded', @@ -43,8 +51,7 @@ public WorkflowRunFilter() { } /// 'TimedOut', 'Aborted', 'Ignored' /// </summary> [JsonProperty(PropertyName = "status")] - public WorkflowStatus? Status { get; set; } + public string Status { get; set; } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowRunTrigger.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowRunTrigger.cs index fd5d9db7a9f79..7bb0fc4ce18e2 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowRunTrigger.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowRunTrigger.cs @@ -1,16 +1,15 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; using Newtonsoft.Json; using System.Linq; @@ -22,7 +21,10 @@ public partial class WorkflowRunTrigger /// <summary> /// Initializes a new instance of the WorkflowRunTrigger class. /// </summary> - public WorkflowRunTrigger() { } + public WorkflowRunTrigger() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the WorkflowRunTrigger class. @@ -32,6 +34,7 @@ public WorkflowRunTrigger() { } /// <param name="inputsLink">Gets the link to inputs.</param> /// <param name="outputs">Gets the outputs.</param> /// <param name="outputsLink">Gets the link to outputs.</param> + /// <param name="scheduledTime">Gets the scheduled time.</param> /// <param name="startTime">Gets the start time.</param> /// <param name="endTime">Gets the end time.</param> /// <param name="trackingId">Gets the tracking id.</param> @@ -44,13 +47,14 @@ public WorkflowRunTrigger() { } /// <param name="error">Gets the error.</param> /// <param name="trackedProperties">Gets the tracked /// properties.</param> - public WorkflowRunTrigger(string name = default(string), object inputs = default(object), ContentLink inputsLink = default(ContentLink), object outputs = default(object), ContentLink outputsLink = default(ContentLink), System.DateTime? startTime = default(System.DateTime?), System.DateTime? endTime = default(System.DateTime?), string trackingId = default(string), Correlation correlation = default(Correlation), string code = default(string), WorkflowStatus? status = default(WorkflowStatus?), object error = default(object), object trackedProperties = default(object)) + public WorkflowRunTrigger(string name = default(string), object inputs = default(object), ContentLink inputsLink = default(ContentLink), object outputs = default(object), ContentLink outputsLink = default(ContentLink), System.DateTime? scheduledTime = default(System.DateTime?), System.DateTime? startTime = default(System.DateTime?), System.DateTime? endTime = default(System.DateTime?), string trackingId = default(string), Correlation correlation = default(Correlation), string code = default(string), string status = default(string), object error = default(object), object trackedProperties = default(object)) { Name = name; Inputs = inputs; InputsLink = inputsLink; Outputs = outputs; OutputsLink = outputsLink; + ScheduledTime = scheduledTime; StartTime = startTime; EndTime = endTime; TrackingId = trackingId; @@ -59,55 +63,67 @@ public WorkflowRunTrigger() { } Status = status; Error = error; TrackedProperties = trackedProperties; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets the name. /// </summary> [JsonProperty(PropertyName = "name")] - public string Name { get; protected set; } + public string Name { get; private set; } /// <summary> /// Gets the inputs. /// </summary> [JsonProperty(PropertyName = "inputs")] - public object Inputs { get; protected set; } + public object Inputs { get; private set; } /// <summary> /// Gets the link to inputs. /// </summary> [JsonProperty(PropertyName = "inputsLink")] - public ContentLink InputsLink { get; protected set; } + public ContentLink InputsLink { get; private set; } /// <summary> /// Gets the outputs. /// </summary> [JsonProperty(PropertyName = "outputs")] - public object Outputs { get; protected set; } + public object Outputs { get; private set; } /// <summary> /// Gets the link to outputs. /// </summary> [JsonProperty(PropertyName = "outputsLink")] - public ContentLink OutputsLink { get; protected set; } + public ContentLink OutputsLink { get; private set; } + + /// <summary> + /// Gets the scheduled time. + /// </summary> + [JsonProperty(PropertyName = "scheduledTime")] + public System.DateTime? ScheduledTime { get; private set; } /// <summary> /// Gets the start time. /// </summary> [JsonProperty(PropertyName = "startTime")] - public System.DateTime? StartTime { get; protected set; } + public System.DateTime? StartTime { get; private set; } /// <summary> /// Gets the end time. /// </summary> [JsonProperty(PropertyName = "endTime")] - public System.DateTime? EndTime { get; protected set; } + public System.DateTime? EndTime { get; private set; } /// <summary> /// Gets the tracking id. /// </summary> [JsonProperty(PropertyName = "trackingId")] - public string TrackingId { get; protected set; } + public string TrackingId { get; private set; } /// <summary> /// Gets or sets the run correlation. @@ -119,7 +135,7 @@ public WorkflowRunTrigger() { } /// Gets the code. /// </summary> [JsonProperty(PropertyName = "code")] - public string Code { get; protected set; } + public string Code { get; private set; } /// <summary> /// Gets the status. Possible values include: 'NotSpecified', 'Paused', @@ -127,20 +143,19 @@ public WorkflowRunTrigger() { } /// 'Cancelled', 'Failed', 'Faulted', 'TimedOut', 'Aborted', 'Ignored' /// </summary> [JsonProperty(PropertyName = "status")] - public WorkflowStatus? Status { get; protected set; } + public string Status { get; private set; } /// <summary> /// Gets the error. /// </summary> [JsonProperty(PropertyName = "error")] - public object Error { get; protected set; } + public object Error { get; private set; } /// <summary> /// Gets the tracked properties. /// </summary> [JsonProperty(PropertyName = "trackedProperties")] - public object TrackedProperties { get; protected set; } + public object TrackedProperties { get; private set; } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowState.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowState.cs index 672ba70b9c687..09696f42183db 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowState.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowState.cs @@ -1,39 +1,26 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; - using Newtonsoft.Json; - using Newtonsoft.Json.Converters; - using System.Runtime; - using System.Runtime.Serialization; /// <summary> /// Defines values for WorkflowState. /// </summary> - [JsonConverter(typeof(StringEnumConverter))] - public enum WorkflowState + public static class WorkflowState { - [EnumMember(Value = "NotSpecified")] - NotSpecified, - [EnumMember(Value = "Completed")] - Completed, - [EnumMember(Value = "Enabled")] - Enabled, - [EnumMember(Value = "Disabled")] - Disabled, - [EnumMember(Value = "Deleted")] - Deleted, - [EnumMember(Value = "Suspended")] - Suspended + public const string NotSpecified = "NotSpecified"; + public const string Completed = "Completed"; + public const string Enabled = "Enabled"; + public const string Disabled = "Disabled"; + public const string Deleted = "Deleted"; + public const string Suspended = "Suspended"; } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowStatus.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowStatus.cs index 984fde58c6bb7..e23114f252d21 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowStatus.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowStatus.cs @@ -1,53 +1,33 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; - using Newtonsoft.Json; - using Newtonsoft.Json.Converters; - using System.Runtime; - using System.Runtime.Serialization; /// <summary> /// Defines values for WorkflowStatus. /// </summary> - [JsonConverter(typeof(StringEnumConverter))] - public enum WorkflowStatus + public static class WorkflowStatus { - [EnumMember(Value = "NotSpecified")] - NotSpecified, - [EnumMember(Value = "Paused")] - Paused, - [EnumMember(Value = "Running")] - Running, - [EnumMember(Value = "Waiting")] - Waiting, - [EnumMember(Value = "Succeeded")] - Succeeded, - [EnumMember(Value = "Skipped")] - Skipped, - [EnumMember(Value = "Suspended")] - Suspended, - [EnumMember(Value = "Cancelled")] - Cancelled, - [EnumMember(Value = "Failed")] - Failed, - [EnumMember(Value = "Faulted")] - Faulted, - [EnumMember(Value = "TimedOut")] - TimedOut, - [EnumMember(Value = "Aborted")] - Aborted, - [EnumMember(Value = "Ignored")] - Ignored + public const string NotSpecified = "NotSpecified"; + public const string Paused = "Paused"; + public const string Running = "Running"; + public const string Waiting = "Waiting"; + public const string Succeeded = "Succeeded"; + public const string Skipped = "Skipped"; + public const string Suspended = "Suspended"; + public const string Cancelled = "Cancelled"; + public const string Failed = "Failed"; + public const string Faulted = "Faulted"; + public const string TimedOut = "TimedOut"; + public const string Aborted = "Aborted"; + public const string Ignored = "Ignored"; } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowTrigger.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowTrigger.cs index 5b01c5add756d..f1c896ecc72ae 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowTrigger.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowTrigger.cs @@ -1,31 +1,33 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; - using Rest; - using Rest.Serialization; + using Microsoft.Rest; + using Microsoft.Rest.Serialization; using Newtonsoft.Json; using System.Linq; /// <summary> /// The workflow trigger. /// </summary> - [JsonTransformation] + [Rest.Serialization.JsonTransformation] public partial class WorkflowTrigger : SubResource { /// <summary> /// Initializes a new instance of the WorkflowTrigger class. /// </summary> - public WorkflowTrigger() { } + public WorkflowTrigger() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the WorkflowTrigger class. @@ -54,7 +56,7 @@ public WorkflowTrigger() { } /// <param name="workflow">Gets the reference to workflow.</param> /// <param name="name">Gets the workflow trigger name.</param> /// <param name="type">Gets the workflow trigger type.</param> - public WorkflowTrigger(string id = default(string), WorkflowTriggerProvisioningState? provisioningState = default(WorkflowTriggerProvisioningState?), System.DateTime? createdTime = default(System.DateTime?), System.DateTime? changedTime = default(System.DateTime?), WorkflowState? state = default(WorkflowState?), WorkflowStatus? status = default(WorkflowStatus?), System.DateTime? lastExecutionTime = default(System.DateTime?), System.DateTime? nextExecutionTime = default(System.DateTime?), WorkflowTriggerRecurrence recurrence = default(WorkflowTriggerRecurrence), ResourceReference workflow = default(ResourceReference), string name = default(string), string type = default(string)) + public WorkflowTrigger(string id = default(string), string provisioningState = default(string), System.DateTime? createdTime = default(System.DateTime?), System.DateTime? changedTime = default(System.DateTime?), string state = default(string), string status = default(string), System.DateTime? lastExecutionTime = default(System.DateTime?), System.DateTime? nextExecutionTime = default(System.DateTime?), WorkflowTriggerRecurrence recurrence = default(WorkflowTriggerRecurrence), ResourceReference workflow = default(ResourceReference), string name = default(string), string type = default(string)) : base(id) { ProvisioningState = provisioningState; @@ -68,8 +70,14 @@ public WorkflowTrigger() { } Workflow = workflow; Name = name; Type = type; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets the provisioning state. Possible values include: /// 'NotSpecified', 'Accepted', 'Running', 'Ready', 'Creating', @@ -78,26 +86,26 @@ public WorkflowTrigger() { } /// 'Unregistering', 'Unregistered', 'Completed' /// </summary> [JsonProperty(PropertyName = "properties.provisioningState")] - public WorkflowTriggerProvisioningState? ProvisioningState { get; protected set; } + public string ProvisioningState { get; private set; } /// <summary> /// Gets the created time. /// </summary> [JsonProperty(PropertyName = "properties.createdTime")] - public System.DateTime? CreatedTime { get; protected set; } + public System.DateTime? CreatedTime { get; private set; } /// <summary> /// Gets the changed time. /// </summary> [JsonProperty(PropertyName = "properties.changedTime")] - public System.DateTime? ChangedTime { get; protected set; } + public System.DateTime? ChangedTime { get; private set; } /// <summary> /// Gets the state. Possible values include: 'NotSpecified', /// 'Completed', 'Enabled', 'Disabled', 'Deleted', 'Suspended' /// </summary> [JsonProperty(PropertyName = "properties.state")] - public WorkflowState? State { get; protected set; } + public string State { get; private set; } /// <summary> /// Gets the status. Possible values include: 'NotSpecified', 'Paused', @@ -105,44 +113,43 @@ public WorkflowTrigger() { } /// 'Cancelled', 'Failed', 'Faulted', 'TimedOut', 'Aborted', 'Ignored' /// </summary> [JsonProperty(PropertyName = "properties.status")] - public WorkflowStatus? Status { get; protected set; } + public string Status { get; private set; } /// <summary> /// Gets the last execution time. /// </summary> [JsonProperty(PropertyName = "properties.lastExecutionTime")] - public System.DateTime? LastExecutionTime { get; protected set; } + public System.DateTime? LastExecutionTime { get; private set; } /// <summary> /// Gets the next execution time. /// </summary> [JsonProperty(PropertyName = "properties.nextExecutionTime")] - public System.DateTime? NextExecutionTime { get; protected set; } + public System.DateTime? NextExecutionTime { get; private set; } /// <summary> /// Gets the workflow trigger recurrence. /// </summary> [JsonProperty(PropertyName = "properties.recurrence")] - public WorkflowTriggerRecurrence Recurrence { get; protected set; } + public WorkflowTriggerRecurrence Recurrence { get; private set; } /// <summary> /// Gets the reference to workflow. /// </summary> [JsonProperty(PropertyName = "properties.workflow")] - public ResourceReference Workflow { get; protected set; } + public ResourceReference Workflow { get; private set; } /// <summary> /// Gets the workflow trigger name. /// </summary> [JsonProperty(PropertyName = "name")] - public string Name { get; protected set; } + public string Name { get; private set; } /// <summary> /// Gets the workflow trigger type. /// </summary> [JsonProperty(PropertyName = "type")] - public string Type { get; protected set; } + public string Type { get; private set; } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowTriggerCallbackUrl.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowTriggerCallbackUrl.cs index 7d09a24a3b646..6a7c14dde71bc 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowTriggerCallbackUrl.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowTriggerCallbackUrl.cs @@ -1,16 +1,15 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; @@ -24,7 +23,10 @@ public partial class WorkflowTriggerCallbackUrl /// <summary> /// Initializes a new instance of the WorkflowTriggerCallbackUrl class. /// </summary> - public WorkflowTriggerCallbackUrl() { } + public WorkflowTriggerCallbackUrl() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the WorkflowTriggerCallbackUrl class. @@ -48,31 +50,37 @@ public WorkflowTriggerCallbackUrl() { } RelativePath = relativePath; RelativePathParameters = relativePathParameters; Queries = queries; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets the workflow trigger callback URL. /// </summary> [JsonProperty(PropertyName = "value")] - public string Value { get; protected set; } + public string Value { get; private set; } /// <summary> /// Gets the workflow trigger callback URL HTTP method. /// </summary> [JsonProperty(PropertyName = "method")] - public string Method { get; protected set; } + public string Method { get; private set; } /// <summary> /// Gets the workflow trigger callback URL base path. /// </summary> [JsonProperty(PropertyName = "basePath")] - public string BasePath { get; protected set; } + public string BasePath { get; private set; } /// <summary> /// Gets the workflow trigger callback URL relative path. /// </summary> [JsonProperty(PropertyName = "relativePath")] - public string RelativePath { get; protected set; } + public string RelativePath { get; private set; } /// <summary> /// Gets the workflow trigger callback URL relative path parameters. @@ -88,4 +96,3 @@ public WorkflowTriggerCallbackUrl() { } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowTriggerFilter.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowTriggerFilter.cs index 73eb4c4b95a77..c6c926858464c 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowTriggerFilter.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowTriggerFilter.cs @@ -1,16 +1,15 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; using Newtonsoft.Json; using System.Linq; @@ -22,7 +21,10 @@ public partial class WorkflowTriggerFilter /// <summary> /// Initializes a new instance of the WorkflowTriggerFilter class. /// </summary> - public WorkflowTriggerFilter() { } + public WorkflowTriggerFilter() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the WorkflowTriggerFilter class. @@ -30,19 +32,24 @@ public WorkflowTriggerFilter() { } /// <param name="state">The state of workflow trigger. Possible values /// include: 'NotSpecified', 'Completed', 'Enabled', 'Disabled', /// 'Deleted', 'Suspended'</param> - public WorkflowTriggerFilter(WorkflowState? state = default(WorkflowState?)) + public WorkflowTriggerFilter(string state = default(string)) { State = state; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the state of workflow trigger. Possible values /// include: 'NotSpecified', 'Completed', 'Enabled', 'Disabled', /// 'Deleted', 'Suspended' /// </summary> [JsonProperty(PropertyName = "state")] - public WorkflowState? State { get; set; } + public string State { get; set; } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowTriggerHistory.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowTriggerHistory.cs index 33f5111b189b0..49bfd277adff8 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowTriggerHistory.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowTriggerHistory.cs @@ -1,31 +1,33 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; - using Rest; - using Rest.Serialization; + using Microsoft.Rest; + using Microsoft.Rest.Serialization; using Newtonsoft.Json; using System.Linq; /// <summary> /// The workflow trigger history. /// </summary> - [JsonTransformation] + [Rest.Serialization.JsonTransformation] public partial class WorkflowTriggerHistory : SubResource { /// <summary> /// Initializes a new instance of the WorkflowTriggerHistory class. /// </summary> - public WorkflowTriggerHistory() { } + public WorkflowTriggerHistory() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the WorkflowTriggerHistory class. @@ -49,7 +51,7 @@ public WorkflowTriggerHistory() { } /// <param name="run">Gets the reference to workflow run.</param> /// <param name="name">Gets the workflow trigger history name.</param> /// <param name="type">Gets the workflow trigger history type.</param> - public WorkflowTriggerHistory(string id = default(string), System.DateTime? startTime = default(System.DateTime?), System.DateTime? endTime = default(System.DateTime?), WorkflowStatus? status = default(WorkflowStatus?), string code = default(string), object error = default(object), string trackingId = default(string), Correlation correlation = default(Correlation), ContentLink inputsLink = default(ContentLink), ContentLink outputsLink = default(ContentLink), bool? fired = default(bool?), ResourceReference run = default(ResourceReference), string name = default(string), string type = default(string)) + public WorkflowTriggerHistory(string id = default(string), System.DateTime? startTime = default(System.DateTime?), System.DateTime? endTime = default(System.DateTime?), string status = default(string), string code = default(string), object error = default(object), string trackingId = default(string), Correlation correlation = default(Correlation), ContentLink inputsLink = default(ContentLink), ContentLink outputsLink = default(ContentLink), bool? fired = default(bool?), ResourceReference run = default(ResourceReference), string name = default(string), string type = default(string)) : base(id) { StartTime = startTime; @@ -65,19 +67,25 @@ public WorkflowTriggerHistory() { } Run = run; Name = name; Type = type; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets the start time. /// </summary> [JsonProperty(PropertyName = "properties.startTime")] - public System.DateTime? StartTime { get; protected set; } + public System.DateTime? StartTime { get; private set; } /// <summary> /// Gets the end time. /// </summary> [JsonProperty(PropertyName = "properties.endTime")] - public System.DateTime? EndTime { get; protected set; } + public System.DateTime? EndTime { get; private set; } /// <summary> /// Gets the status. Possible values include: 'NotSpecified', 'Paused', @@ -85,25 +93,25 @@ public WorkflowTriggerHistory() { } /// 'Cancelled', 'Failed', 'Faulted', 'TimedOut', 'Aborted', 'Ignored' /// </summary> [JsonProperty(PropertyName = "properties.status")] - public WorkflowStatus? Status { get; protected set; } + public string Status { get; private set; } /// <summary> /// Gets the code. /// </summary> [JsonProperty(PropertyName = "properties.code")] - public string Code { get; protected set; } + public string Code { get; private set; } /// <summary> /// Gets the error. /// </summary> [JsonProperty(PropertyName = "properties.error")] - public object Error { get; protected set; } + public object Error { get; private set; } /// <summary> /// Gets the tracking id. /// </summary> [JsonProperty(PropertyName = "properties.trackingId")] - public string TrackingId { get; protected set; } + public string TrackingId { get; private set; } /// <summary> /// Gets or sets the run correlation. @@ -115,38 +123,37 @@ public WorkflowTriggerHistory() { } /// Gets the link to input parameters. /// </summary> [JsonProperty(PropertyName = "properties.inputsLink")] - public ContentLink InputsLink { get; protected set; } + public ContentLink InputsLink { get; private set; } /// <summary> /// Gets the link to output parameters. /// </summary> [JsonProperty(PropertyName = "properties.outputsLink")] - public ContentLink OutputsLink { get; protected set; } + public ContentLink OutputsLink { get; private set; } /// <summary> /// Gets a value indicating whether trigger was fired. /// </summary> [JsonProperty(PropertyName = "properties.fired")] - public bool? Fired { get; protected set; } + public bool? Fired { get; private set; } /// <summary> /// Gets the reference to workflow run. /// </summary> [JsonProperty(PropertyName = "properties.run")] - public ResourceReference Run { get; protected set; } + public ResourceReference Run { get; private set; } /// <summary> /// Gets the workflow trigger history name. /// </summary> [JsonProperty(PropertyName = "name")] - public string Name { get; protected set; } + public string Name { get; private set; } /// <summary> /// Gets the workflow trigger history type. /// </summary> [JsonProperty(PropertyName = "type")] - public string Type { get; protected set; } + public string Type { get; private set; } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowTriggerHistoryFilter.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowTriggerHistoryFilter.cs index 7ea8e5c40e322..7e7edfb14378f 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowTriggerHistoryFilter.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowTriggerHistoryFilter.cs @@ -1,16 +1,15 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; using Newtonsoft.Json; using System.Linq; @@ -23,7 +22,10 @@ public partial class WorkflowTriggerHistoryFilter /// Initializes a new instance of the WorkflowTriggerHistoryFilter /// class. /// </summary> - public WorkflowTriggerHistoryFilter() { } + public WorkflowTriggerHistoryFilter() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the WorkflowTriggerHistoryFilter @@ -33,11 +35,17 @@ public WorkflowTriggerHistoryFilter() { } /// Possible values include: 'NotSpecified', 'Paused', 'Running', /// 'Waiting', 'Succeeded', 'Skipped', 'Suspended', 'Cancelled', /// 'Failed', 'Faulted', 'TimedOut', 'Aborted', 'Ignored'</param> - public WorkflowTriggerHistoryFilter(WorkflowStatus? status = default(WorkflowStatus?)) + public WorkflowTriggerHistoryFilter(string status = default(string)) { Status = status; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the status of workflow trigger history. Possible /// values include: 'NotSpecified', 'Paused', 'Running', 'Waiting', @@ -45,8 +53,7 @@ public WorkflowTriggerHistoryFilter() { } /// 'Faulted', 'TimedOut', 'Aborted', 'Ignored' /// </summary> [JsonProperty(PropertyName = "status")] - public WorkflowStatus? Status { get; set; } + public string Status { get; set; } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowTriggerListCallbackUrlQueries.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowTriggerListCallbackUrlQueries.cs index 2d0282b4e5fe6..fb8ee30161df7 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowTriggerListCallbackUrlQueries.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowTriggerListCallbackUrlQueries.cs @@ -1,16 +1,15 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; using Newtonsoft.Json; using System.Linq; @@ -23,7 +22,10 @@ public partial class WorkflowTriggerListCallbackUrlQueries /// Initializes a new instance of the /// WorkflowTriggerListCallbackUrlQueries class. /// </summary> - public WorkflowTriggerListCallbackUrlQueries() { } + public WorkflowTriggerListCallbackUrlQueries() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the @@ -33,14 +35,22 @@ public WorkflowTriggerListCallbackUrlQueries() { } /// <param name="sp">The SAS permissions.</param> /// <param name="sv">The SAS version.</param> /// <param name="sig">The SAS signature.</param> - public WorkflowTriggerListCallbackUrlQueries(string apiVersion = default(string), string sp = default(string), string sv = default(string), string sig = default(string)) + /// <param name="se">The SAS timestamp.</param> + public WorkflowTriggerListCallbackUrlQueries(string apiVersion = default(string), string sp = default(string), string sv = default(string), string sig = default(string), string se = default(string)) { ApiVersion = apiVersion; Sp = sp; Sv = sv; Sig = sig; + Se = se; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the api version. /// </summary> @@ -65,6 +75,11 @@ public WorkflowTriggerListCallbackUrlQueries() { } [JsonProperty(PropertyName = "sig")] public string Sig { get; set; } + /// <summary> + /// Gets or sets the SAS timestamp. + /// </summary> + [JsonProperty(PropertyName = "se")] + public string Se { get; set; } + } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowTriggerProvisioningState.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowTriggerProvisioningState.cs index a468be9f0b5ce..7b052832f3ff4 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowTriggerProvisioningState.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowTriggerProvisioningState.cs @@ -1,63 +1,38 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; - using Newtonsoft.Json; - using Newtonsoft.Json.Converters; - using System.Runtime; - using System.Runtime.Serialization; /// <summary> /// Defines values for WorkflowTriggerProvisioningState. /// </summary> - [JsonConverter(typeof(StringEnumConverter))] - public enum WorkflowTriggerProvisioningState + public static class WorkflowTriggerProvisioningState { - [EnumMember(Value = "NotSpecified")] - NotSpecified, - [EnumMember(Value = "Accepted")] - Accepted, - [EnumMember(Value = "Running")] - Running, - [EnumMember(Value = "Ready")] - Ready, - [EnumMember(Value = "Creating")] - Creating, - [EnumMember(Value = "Created")] - Created, - [EnumMember(Value = "Deleting")] - Deleting, - [EnumMember(Value = "Deleted")] - Deleted, - [EnumMember(Value = "Canceled")] - Canceled, - [EnumMember(Value = "Failed")] - Failed, - [EnumMember(Value = "Succeeded")] - Succeeded, - [EnumMember(Value = "Moving")] - Moving, - [EnumMember(Value = "Updating")] - Updating, - [EnumMember(Value = "Registering")] - Registering, - [EnumMember(Value = "Registered")] - Registered, - [EnumMember(Value = "Unregistering")] - Unregistering, - [EnumMember(Value = "Unregistered")] - Unregistered, - [EnumMember(Value = "Completed")] - Completed + public const string NotSpecified = "NotSpecified"; + public const string Accepted = "Accepted"; + public const string Running = "Running"; + public const string Ready = "Ready"; + public const string Creating = "Creating"; + public const string Created = "Created"; + public const string Deleting = "Deleting"; + public const string Deleted = "Deleted"; + public const string Canceled = "Canceled"; + public const string Failed = "Failed"; + public const string Succeeded = "Succeeded"; + public const string Moving = "Moving"; + public const string Updating = "Updating"; + public const string Registering = "Registering"; + public const string Registered = "Registered"; + public const string Unregistering = "Unregistering"; + public const string Unregistered = "Unregistered"; + public const string Completed = "Completed"; } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowTriggerRecurrence.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowTriggerRecurrence.cs index 75edee7af62ee..767eb40bd0bf7 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowTriggerRecurrence.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowTriggerRecurrence.cs @@ -1,16 +1,15 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; using Newtonsoft.Json; using System.Linq; @@ -22,7 +21,10 @@ public partial class WorkflowTriggerRecurrence /// <summary> /// Initializes a new instance of the WorkflowTriggerRecurrence class. /// </summary> - public WorkflowTriggerRecurrence() { } + public WorkflowTriggerRecurrence() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the WorkflowTriggerRecurrence class. @@ -35,7 +37,7 @@ public WorkflowTriggerRecurrence() { } /// <param name="endTime">The end time.</param> /// <param name="timeZone">The time zone.</param> /// <param name="schedule">The recurrence schedule.</param> - public WorkflowTriggerRecurrence(RecurrenceFrequency? frequency = default(RecurrenceFrequency?), int? interval = default(int?), System.DateTime? startTime = default(System.DateTime?), System.DateTime? endTime = default(System.DateTime?), string timeZone = default(string), RecurrenceSchedule schedule = default(RecurrenceSchedule)) + public WorkflowTriggerRecurrence(string frequency = default(string), int? interval = default(int?), string startTime = default(string), string endTime = default(string), string timeZone = default(string), RecurrenceSchedule schedule = default(RecurrenceSchedule)) { Frequency = frequency; Interval = interval; @@ -43,15 +45,21 @@ public WorkflowTriggerRecurrence() { } EndTime = endTime; TimeZone = timeZone; Schedule = schedule; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the frequency. Possible values include: /// 'NotSpecified', 'Second', 'Minute', 'Hour', 'Day', 'Week', 'Month', /// 'Year' /// </summary> [JsonProperty(PropertyName = "frequency")] - public RecurrenceFrequency? Frequency { get; set; } + public string Frequency { get; set; } /// <summary> /// Gets or sets the interval. @@ -63,13 +71,13 @@ public WorkflowTriggerRecurrence() { } /// Gets or sets the start time. /// </summary> [JsonProperty(PropertyName = "startTime")] - public System.DateTime? StartTime { get; set; } + public string StartTime { get; set; } /// <summary> /// Gets or sets the end time. /// </summary> [JsonProperty(PropertyName = "endTime")] - public System.DateTime? EndTime { get; set; } + public string EndTime { get; set; } /// <summary> /// Gets or sets the time zone. @@ -85,4 +93,3 @@ public WorkflowTriggerRecurrence() { } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowVersion.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowVersion.cs index 6c1064bcb3743..f12d6d12421b3 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowVersion.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowVersion.cs @@ -1,18 +1,17 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; - using Rest; - using Rest.Serialization; + using Microsoft.Rest; + using Microsoft.Rest.Serialization; using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; @@ -21,13 +20,16 @@ namespace Microsoft.Azure.Management.Logic.Models /// <summary> /// The workflow version. /// </summary> - [JsonTransformation] + [Rest.Serialization.JsonTransformation] public partial class WorkflowVersion : Resource { /// <summary> /// Initializes a new instance of the WorkflowVersion class. /// </summary> - public WorkflowVersion() { } + public WorkflowVersion() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the WorkflowVersion class. @@ -48,7 +50,7 @@ public WorkflowVersion() { } /// <param name="integrationAccount">The integration account.</param> /// <param name="definition">The definition.</param> /// <param name="parameters">The parameters.</param> - public WorkflowVersion(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary<string, string> tags = default(IDictionary<string, string>), System.DateTime? createdTime = default(System.DateTime?), System.DateTime? changedTime = default(System.DateTime?), WorkflowState? state = default(WorkflowState?), string version = default(string), string accessEndpoint = default(string), Sku sku = default(Sku), ResourceReference integrationAccount = default(ResourceReference), object definition = default(object), IDictionary<string, WorkflowParameter> parameters = default(IDictionary<string, WorkflowParameter>)) + public WorkflowVersion(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary<string, string> tags = default(IDictionary<string, string>), System.DateTime? createdTime = default(System.DateTime?), System.DateTime? changedTime = default(System.DateTime?), string state = default(string), string version = default(string), string accessEndpoint = default(string), Sku sku = default(Sku), ResourceReference integrationAccount = default(ResourceReference), object definition = default(object), IDictionary<string, WorkflowParameter> parameters = default(IDictionary<string, WorkflowParameter>)) : base(id, name, type, location, tags) { CreatedTime = createdTime; @@ -60,38 +62,44 @@ public WorkflowVersion() { } IntegrationAccount = integrationAccount; Definition = definition; Parameters = parameters; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets the created time. /// </summary> [JsonProperty(PropertyName = "properties.createdTime")] - public System.DateTime? CreatedTime { get; protected set; } + public System.DateTime? CreatedTime { get; private set; } /// <summary> /// Gets the changed time. /// </summary> [JsonProperty(PropertyName = "properties.changedTime")] - public System.DateTime? ChangedTime { get; protected set; } + public System.DateTime? ChangedTime { get; private set; } /// <summary> /// Gets or sets the state. Possible values include: 'NotSpecified', /// 'Completed', 'Enabled', 'Disabled', 'Deleted', 'Suspended' /// </summary> [JsonProperty(PropertyName = "properties.state")] - public WorkflowState? State { get; set; } + public string State { get; set; } /// <summary> /// Gets the version. /// </summary> [JsonProperty(PropertyName = "properties.version")] - public string Version { get; protected set; } + public string Version { get; private set; } /// <summary> /// Gets the access endpoint. /// </summary> [JsonProperty(PropertyName = "properties.accessEndpoint")] - public string AccessEndpoint { get; protected set; } + public string AccessEndpoint { get; private set; } /// <summary> /// Gets or sets the sku. @@ -132,4 +140,3 @@ public virtual void Validate() } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/X12AcknowledgementSettings.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/X12AcknowledgementSettings.cs index f5a2a1c521e5e..214a1952ad340 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/X12AcknowledgementSettings.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/X12AcknowledgementSettings.cs @@ -1,16 +1,15 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; using Newtonsoft.Json; using System.Linq; @@ -22,7 +21,10 @@ public partial class X12AcknowledgementSettings /// <summary> /// Initializes a new instance of the X12AcknowledgementSettings class. /// </summary> - public X12AcknowledgementSettings() { } + public X12AcknowledgementSettings() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the X12AcknowledgementSettings class. @@ -77,8 +79,14 @@ public X12AcknowledgementSettings() { } AcknowledgementControlNumberLowerBound = acknowledgementControlNumberLowerBound; AcknowledgementControlNumberUpperBound = acknowledgementControlNumberUpperBound; RolloverAcknowledgementControlNumber = rolloverAcknowledgementControlNumber; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the value indicating whether technical acknowledgement /// is needed. @@ -190,4 +198,3 @@ public virtual void Validate() } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/X12AgreementContent.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/X12AgreementContent.cs index 10a4263902dd1..e2b8b11ee9ff1 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/X12AgreementContent.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/X12AgreementContent.cs @@ -1,17 +1,16 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; - using Rest; + using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -23,7 +22,10 @@ public partial class X12AgreementContent /// <summary> /// Initializes a new instance of the X12AgreementContent class. /// </summary> - public X12AgreementContent() { } + public X12AgreementContent() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the X12AgreementContent class. @@ -35,8 +37,14 @@ public X12AgreementContent(X12OneWayAgreement receiveAgreement, X12OneWayAgreeme { ReceiveAgreement = receiveAgreement; SendAgreement = sendAgreement; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the X12 one-way receive agreement. /// </summary> @@ -76,4 +84,3 @@ public virtual void Validate() } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/X12CharacterSet.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/X12CharacterSet.cs index 972dc19b3894a..85b916347d4d8 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/X12CharacterSet.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/X12CharacterSet.cs @@ -1,35 +1,24 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; - using Newtonsoft.Json; - using Newtonsoft.Json.Converters; - using System.Runtime; - using System.Runtime.Serialization; /// <summary> /// Defines values for X12CharacterSet. /// </summary> - [JsonConverter(typeof(StringEnumConverter))] - public enum X12CharacterSet + public static class X12CharacterSet { - [EnumMember(Value = "NotSpecified")] - NotSpecified, - [EnumMember(Value = "Basic")] - Basic, - [EnumMember(Value = "Extended")] - Extended, - [EnumMember(Value = "UTF8")] - UTF8 + public const string NotSpecified = "NotSpecified"; + public const string Basic = "Basic"; + public const string Extended = "Extended"; + public const string UTF8 = "UTF8"; } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/X12DateFormat.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/X12DateFormat.cs index d61384e83cab3..a053300562591 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/X12DateFormat.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/X12DateFormat.cs @@ -1,33 +1,23 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; - using Newtonsoft.Json; - using Newtonsoft.Json.Converters; - using System.Runtime; - using System.Runtime.Serialization; /// <summary> /// Defines values for X12DateFormat. /// </summary> - [JsonConverter(typeof(StringEnumConverter))] - public enum X12DateFormat + public static class X12DateFormat { - [EnumMember(Value = "NotSpecified")] - NotSpecified, - [EnumMember(Value = "CCYYMMDD")] - CCYYMMDD, - [EnumMember(Value = "YYMMDD")] - YYMMDD + public const string NotSpecified = "NotSpecified"; + public const string CCYYMMDD = "CCYYMMDD"; + public const string YYMMDD = "YYMMDD"; } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/X12DelimiterOverrides.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/X12DelimiterOverrides.cs index 250c045531c70..9a785fa0929fe 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/X12DelimiterOverrides.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/X12DelimiterOverrides.cs @@ -1,16 +1,15 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; using Newtonsoft.Json; using System.Linq; @@ -22,7 +21,10 @@ public partial class X12DelimiterOverrides /// <summary> /// Initializes a new instance of the X12DelimiterOverrides class. /// </summary> - public X12DelimiterOverrides() { } + public X12DelimiterOverrides() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the X12DelimiterOverrides class. @@ -52,8 +54,14 @@ public X12DelimiterOverrides() { } ReplaceCharacter = replaceCharacter; ReplaceSeparatorsInPayload = replaceSeparatorsInPayload; TargetNamespace = targetNamespace; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the protocol version. /// </summary> @@ -122,4 +130,3 @@ public virtual void Validate() } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/X12EnvelopeOverride.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/X12EnvelopeOverride.cs index 6f8cc7bb59fc0..7a277d2d4bc2d 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/X12EnvelopeOverride.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/X12EnvelopeOverride.cs @@ -1,17 +1,16 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; - using Rest; + using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -23,7 +22,10 @@ public partial class X12EnvelopeOverride /// <summary> /// Initializes a new instance of the X12EnvelopeOverride class. /// </summary> - public X12EnvelopeOverride() { } + public X12EnvelopeOverride() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the X12EnvelopeOverride class. @@ -47,7 +49,7 @@ public X12EnvelopeOverride() { } /// 'NotSpecified', 'HHMM', 'HHMMSS', 'HHMMSSdd', 'HHMMSSd'</param> /// <param name="functionalIdentifierCode">The functional identifier /// code.</param> - public X12EnvelopeOverride(string targetNamespace, string protocolVersion, string messageId, string responsibleAgencyCode, string headerVersion, string senderApplicationId, string receiverApplicationId, X12DateFormat dateFormat, X12TimeFormat timeFormat, string functionalIdentifierCode = default(string)) + public X12EnvelopeOverride(string targetNamespace, string protocolVersion, string messageId, string responsibleAgencyCode, string headerVersion, string senderApplicationId, string receiverApplicationId, string dateFormat, string timeFormat, string functionalIdentifierCode = default(string)) { TargetNamespace = targetNamespace; ProtocolVersion = protocolVersion; @@ -59,8 +61,14 @@ public X12EnvelopeOverride() { } FunctionalIdentifierCode = functionalIdentifierCode; DateFormat = dateFormat; TimeFormat = timeFormat; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the target namespace on which this envelope settings /// has to be applied. @@ -117,14 +125,14 @@ public X12EnvelopeOverride() { } /// 'NotSpecified', 'CCYYMMDD', 'YYMMDD' /// </summary> [JsonProperty(PropertyName = "dateFormat")] - public X12DateFormat DateFormat { get; set; } + public string DateFormat { get; set; } /// <summary> /// Gets or sets the time format. Possible values include: /// 'NotSpecified', 'HHMM', 'HHMMSS', 'HHMMSSdd', 'HHMMSSd' /// </summary> [JsonProperty(PropertyName = "timeFormat")] - public X12TimeFormat TimeFormat { get; set; } + public string TimeFormat { get; set; } /// <summary> /// Validate the object. @@ -162,7 +170,14 @@ public virtual void Validate() { throw new ValidationException(ValidationRules.CannotBeNull, "ReceiverApplicationId"); } + if (DateFormat == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "DateFormat"); + } + if (TimeFormat == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "TimeFormat"); + } } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/X12EnvelopeSettings.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/X12EnvelopeSettings.cs index 485b02bf5c03a..2b6c2775b8168 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/X12EnvelopeSettings.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/X12EnvelopeSettings.cs @@ -1,17 +1,16 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; - using Rest; + using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -23,7 +22,10 @@ public partial class X12EnvelopeSettings /// <summary> /// Initializes a new instance of the X12EnvelopeSettings class. /// </summary> - public X12EnvelopeSettings() { } + public X12EnvelopeSettings() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the X12EnvelopeSettings class. @@ -79,7 +81,7 @@ public X12EnvelopeSettings() { } /// control number prefix.</param> /// <param name="transactionSetControlNumberSuffix">The transaction set /// control number suffix.</param> - public X12EnvelopeSettings(int controlStandardsId, bool useControlStandardsIdAsRepetitionCharacter, string senderApplicationId, string receiverApplicationId, string controlVersionNumber, int interchangeControlNumberLowerBound, int interchangeControlNumberUpperBound, bool rolloverInterchangeControlNumber, bool enableDefaultGroupHeaders, int groupControlNumberLowerBound, int groupControlNumberUpperBound, bool rolloverGroupControlNumber, string groupHeaderAgencyCode, string groupHeaderVersion, int transactionSetControlNumberLowerBound, int transactionSetControlNumberUpperBound, bool rolloverTransactionSetControlNumber, bool overwriteExistingTransactionSetControlNumber, X12DateFormat groupHeaderDateFormat, X12TimeFormat groupHeaderTimeFormat, UsageIndicator usageIndicator, string functionalGroupId = default(string), string transactionSetControlNumberPrefix = default(string), string transactionSetControlNumberSuffix = default(string)) + public X12EnvelopeSettings(int controlStandardsId, bool useControlStandardsIdAsRepetitionCharacter, string senderApplicationId, string receiverApplicationId, string controlVersionNumber, int interchangeControlNumberLowerBound, int interchangeControlNumberUpperBound, bool rolloverInterchangeControlNumber, bool enableDefaultGroupHeaders, int groupControlNumberLowerBound, int groupControlNumberUpperBound, bool rolloverGroupControlNumber, string groupHeaderAgencyCode, string groupHeaderVersion, int transactionSetControlNumberLowerBound, int transactionSetControlNumberUpperBound, bool rolloverTransactionSetControlNumber, bool overwriteExistingTransactionSetControlNumber, string groupHeaderDateFormat, string groupHeaderTimeFormat, string usageIndicator, string functionalGroupId = default(string), string transactionSetControlNumberPrefix = default(string), string transactionSetControlNumberSuffix = default(string)) { ControlStandardsId = controlStandardsId; UseControlStandardsIdAsRepetitionCharacter = useControlStandardsIdAsRepetitionCharacter; @@ -105,8 +107,14 @@ public X12EnvelopeSettings() { } GroupHeaderDateFormat = groupHeaderDateFormat; GroupHeaderTimeFormat = groupHeaderTimeFormat; UsageIndicator = usageIndicator; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the controls standards id. /// </summary> @@ -244,21 +252,21 @@ public X12EnvelopeSettings() { } /// 'NotSpecified', 'CCYYMMDD', 'YYMMDD' /// </summary> [JsonProperty(PropertyName = "groupHeaderDateFormat")] - public X12DateFormat GroupHeaderDateFormat { get; set; } + public string GroupHeaderDateFormat { get; set; } /// <summary> /// Gets or sets the group header time format. Possible values include: /// 'NotSpecified', 'HHMM', 'HHMMSS', 'HHMMSSdd', 'HHMMSSd' /// </summary> [JsonProperty(PropertyName = "groupHeaderTimeFormat")] - public X12TimeFormat GroupHeaderTimeFormat { get; set; } + public string GroupHeaderTimeFormat { get; set; } /// <summary> /// Gets or sets the usage indicator. Possible values include: /// 'NotSpecified', 'Test', 'Information', 'Production' /// </summary> [JsonProperty(PropertyName = "usageIndicator")] - public UsageIndicator UsageIndicator { get; set; } + public string UsageIndicator { get; set; } /// <summary> /// Validate the object. @@ -288,7 +296,18 @@ public virtual void Validate() { throw new ValidationException(ValidationRules.CannotBeNull, "GroupHeaderVersion"); } + if (GroupHeaderDateFormat == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "GroupHeaderDateFormat"); + } + if (GroupHeaderTimeFormat == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "GroupHeaderTimeFormat"); + } + if (UsageIndicator == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "UsageIndicator"); + } } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/X12FramingSettings.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/X12FramingSettings.cs index a3ce6e8ef5811..eb32c11d83ada 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/X12FramingSettings.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/X12FramingSettings.cs @@ -1,16 +1,16 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; + using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -22,7 +22,10 @@ public partial class X12FramingSettings /// <summary> /// Initializes a new instance of the X12FramingSettings class. /// </summary> - public X12FramingSettings() { } + public X12FramingSettings() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the X12FramingSettings class. @@ -39,7 +42,7 @@ public X12FramingSettings() { } /// <param name="segmentTerminatorSuffix">The segment terminator /// suffix. Possible values include: 'NotSpecified', 'None', 'CR', /// 'LF', 'CRLF'</param> - public X12FramingSettings(int dataElementSeparator, int componentSeparator, bool replaceSeparatorsInPayload, int replaceCharacter, int segmentTerminator, X12CharacterSet characterSet, SegmentTerminatorSuffix segmentTerminatorSuffix) + public X12FramingSettings(int dataElementSeparator, int componentSeparator, bool replaceSeparatorsInPayload, int replaceCharacter, int segmentTerminator, string characterSet, SegmentTerminatorSuffix segmentTerminatorSuffix) { DataElementSeparator = dataElementSeparator; ComponentSeparator = componentSeparator; @@ -48,8 +51,14 @@ public X12FramingSettings(int dataElementSeparator, int componentSeparator, bool SegmentTerminator = segmentTerminator; CharacterSet = characterSet; SegmentTerminatorSuffix = segmentTerminatorSuffix; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the data element separator. /// </summary> @@ -86,7 +95,7 @@ public X12FramingSettings(int dataElementSeparator, int componentSeparator, bool /// 'NotSpecified', 'Basic', 'Extended', 'UTF8' /// </summary> [JsonProperty(PropertyName = "characterSet")] - public X12CharacterSet CharacterSet { get; set; } + public string CharacterSet { get; set; } /// <summary> /// Gets or sets the segment terminator suffix. Possible values @@ -98,12 +107,15 @@ public X12FramingSettings(int dataElementSeparator, int componentSeparator, bool /// <summary> /// Validate the object. /// </summary> - /// <exception cref="Rest.ValidationException"> + /// <exception cref="ValidationException"> /// Thrown if validation fails /// </exception> public virtual void Validate() { + if (CharacterSet == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "CharacterSet"); + } } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/X12MessageFilter.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/X12MessageFilter.cs index f333ccc8d3df1..e4988abbba20d 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/X12MessageFilter.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/X12MessageFilter.cs @@ -1,16 +1,16 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; + using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -22,34 +22,46 @@ public partial class X12MessageFilter /// <summary> /// Initializes a new instance of the X12MessageFilter class. /// </summary> - public X12MessageFilter() { } + public X12MessageFilter() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the X12MessageFilter class. /// </summary> /// <param name="messageFilterType">The message filter type. Possible /// values include: 'NotSpecified', 'Include', 'Exclude'</param> - public X12MessageFilter(MessageFilterType messageFilterType) + public X12MessageFilter(string messageFilterType) { MessageFilterType = messageFilterType; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the message filter type. Possible values include: /// 'NotSpecified', 'Include', 'Exclude' /// </summary> [JsonProperty(PropertyName = "messageFilterType")] - public MessageFilterType MessageFilterType { get; set; } + public string MessageFilterType { get; set; } /// <summary> /// Validate the object. /// </summary> - /// <exception cref="Rest.ValidationException"> + /// <exception cref="ValidationException"> /// Thrown if validation fails /// </exception> public virtual void Validate() { + if (MessageFilterType == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "MessageFilterType"); + } } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/X12MessageIdentifier.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/X12MessageIdentifier.cs index 00d70fe57ec8e..10ebed6003cea 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/X12MessageIdentifier.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/X12MessageIdentifier.cs @@ -1,17 +1,16 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; - using Rest; + using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -23,7 +22,10 @@ public partial class X12MessageIdentifier /// <summary> /// Initializes a new instance of the X12MessageIdentifier class. /// </summary> - public X12MessageIdentifier() { } + public X12MessageIdentifier() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the X12MessageIdentifier class. @@ -32,8 +34,14 @@ public X12MessageIdentifier() { } public X12MessageIdentifier(string messageId) { MessageId = messageId; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the message id. /// </summary> @@ -55,4 +63,3 @@ public virtual void Validate() } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/X12OneWayAgreement.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/X12OneWayAgreement.cs index 2e3379685f918..38d7b4da0c357 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/X12OneWayAgreement.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/X12OneWayAgreement.cs @@ -1,29 +1,31 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; - using Rest; + using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; /// <summary> - /// The X12 oneway agreement. + /// The X12 one-way agreement. /// </summary> public partial class X12OneWayAgreement { /// <summary> /// Initializes a new instance of the X12OneWayAgreement class. /// </summary> - public X12OneWayAgreement() { } + public X12OneWayAgreement() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the X12OneWayAgreement class. @@ -38,8 +40,14 @@ public X12OneWayAgreement(BusinessIdentity senderBusinessIdentity, BusinessIdent SenderBusinessIdentity = senderBusinessIdentity; ReceiverBusinessIdentity = receiverBusinessIdentity; ProtocolSettings = protocolSettings; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the sender business identity /// </summary> @@ -93,4 +101,3 @@ public virtual void Validate() } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/X12ProcessingSettings.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/X12ProcessingSettings.cs index 67bb232947bba..1ca22b0b07ac8 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/X12ProcessingSettings.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/X12ProcessingSettings.cs @@ -1,16 +1,15 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; using Newtonsoft.Json; using System.Linq; @@ -22,7 +21,10 @@ public partial class X12ProcessingSettings /// <summary> /// Initializes a new instance of the X12ProcessingSettings class. /// </summary> - public X12ProcessingSettings() { } + public X12ProcessingSettings() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the X12ProcessingSettings class. @@ -48,8 +50,14 @@ public X12ProcessingSettings(bool maskSecurityInfo, bool convertImpliedDecimal, SuspendInterchangeOnError = suspendInterchangeOnError; CreateEmptyXmlTagsForTrailingSeparators = createEmptyXmlTagsForTrailingSeparators; UseDotAsDecimalSeparator = useDotAsDecimalSeparator; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the value indicating whether to mask security /// information. @@ -103,4 +111,3 @@ public virtual void Validate() } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/X12ProtocolSettings.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/X12ProtocolSettings.cs index 8a83d988246c0..713a6a6ae3b61 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/X12ProtocolSettings.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/X12ProtocolSettings.cs @@ -1,17 +1,16 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; - using Rest; + using Microsoft.Rest; using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; @@ -25,7 +24,10 @@ public partial class X12ProtocolSettings /// <summary> /// Initializes a new instance of the X12ProtocolSettings class. /// </summary> - public X12ProtocolSettings() { } + public X12ProtocolSettings() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the X12ProtocolSettings class. @@ -63,8 +65,14 @@ public X12ProtocolSettings() { } MessageFilterList = messageFilterList; SchemaReferences = schemaReferences; X12DelimiterOverrides = x12DelimiterOverrides; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the X12 validation settings. /// </summary> @@ -258,4 +266,3 @@ public virtual void Validate() } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/X12SchemaReference.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/X12SchemaReference.cs index ad948c7443a77..3e7ae4245e27d 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/X12SchemaReference.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/X12SchemaReference.cs @@ -1,17 +1,16 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; - using Rest; + using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -23,7 +22,10 @@ public partial class X12SchemaReference /// <summary> /// Initializes a new instance of the X12SchemaReference class. /// </summary> - public X12SchemaReference() { } + public X12SchemaReference() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the X12SchemaReference class. @@ -39,8 +41,14 @@ public X12SchemaReference() { } SenderApplicationId = senderApplicationId; SchemaVersion = schemaVersion; SchemaName = schemaName; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the message id. /// </summary> @@ -88,4 +96,3 @@ public virtual void Validate() } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/X12SecuritySettings.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/X12SecuritySettings.cs index 83e1385604176..a968017c9c6b4 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/X12SecuritySettings.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/X12SecuritySettings.cs @@ -1,17 +1,16 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; - using Rest; + using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -23,7 +22,10 @@ public partial class X12SecuritySettings /// <summary> /// Initializes a new instance of the X12SecuritySettings class. /// </summary> - public X12SecuritySettings() { } + public X12SecuritySettings() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the X12SecuritySettings class. @@ -39,8 +41,14 @@ public X12SecuritySettings() { } AuthorizationValue = authorizationValue; SecurityQualifier = securityQualifier; PasswordValue = passwordValue; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the authorization qualifier. /// </summary> @@ -84,4 +92,3 @@ public virtual void Validate() } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/X12TimeFormat.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/X12TimeFormat.cs index 7db8b83fb31e9..fb2461ecb43a0 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/X12TimeFormat.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/X12TimeFormat.cs @@ -1,37 +1,25 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; - using Newtonsoft.Json; - using Newtonsoft.Json.Converters; - using System.Runtime; - using System.Runtime.Serialization; /// <summary> /// Defines values for X12TimeFormat. /// </summary> - [JsonConverter(typeof(StringEnumConverter))] - public enum X12TimeFormat + public static class X12TimeFormat { - [EnumMember(Value = "NotSpecified")] - NotSpecified, - [EnumMember(Value = "HHMM")] - HHMM, - [EnumMember(Value = "HHMMSS")] - HHMMSS, - [EnumMember(Value = "HHMMSSdd")] - HHMMSSdd, - [EnumMember(Value = "HHMMSSd")] - HHMMSSd + public const string NotSpecified = "NotSpecified"; + public const string HHMM = "HHMM"; + public const string HHMMSS = "HHMMSS"; + public const string HHMMSSdd = "HHMMSSdd"; + public const string HHMMSSd = "HHMMSSd"; } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/X12ValidationOverride.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/X12ValidationOverride.cs index ccb0398c0901c..855fb4a9ff730 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/X12ValidationOverride.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/X12ValidationOverride.cs @@ -1,17 +1,16 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; - using Rest; + using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -23,7 +22,10 @@ public partial class X12ValidationOverride /// <summary> /// Initializes a new instance of the X12ValidationOverride class. /// </summary> - public X12ValidationOverride() { } + public X12ValidationOverride() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the X12ValidationOverride class. @@ -45,7 +47,7 @@ public X12ValidationOverride() { } /// <param name="trailingSeparatorPolicy">The trailing separator /// policy. Possible values include: 'NotSpecified', 'NotAllowed', /// 'Optional', 'Mandatory'</param> - public X12ValidationOverride(string messageId, bool validateEdiTypes, bool validateXsdTypes, bool allowLeadingAndTrailingSpacesAndZeroes, bool validateCharacterSet, bool trimLeadingAndTrailingSpacesAndZeroes, TrailingSeparatorPolicy trailingSeparatorPolicy) + public X12ValidationOverride(string messageId, bool validateEdiTypes, bool validateXsdTypes, bool allowLeadingAndTrailingSpacesAndZeroes, bool validateCharacterSet, bool trimLeadingAndTrailingSpacesAndZeroes, string trailingSeparatorPolicy) { MessageId = messageId; ValidateEdiTypes = validateEdiTypes; @@ -54,8 +56,14 @@ public X12ValidationOverride(string messageId, bool validateEdiTypes, bool valid ValidateCharacterSet = validateCharacterSet; TrimLeadingAndTrailingSpacesAndZeroes = trimLeadingAndTrailingSpacesAndZeroes; TrailingSeparatorPolicy = trailingSeparatorPolicy; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the message id on which the validation settings has to /// be applied. @@ -101,7 +109,7 @@ public X12ValidationOverride(string messageId, bool validateEdiTypes, bool valid /// include: 'NotSpecified', 'NotAllowed', 'Optional', 'Mandatory' /// </summary> [JsonProperty(PropertyName = "trailingSeparatorPolicy")] - public TrailingSeparatorPolicy TrailingSeparatorPolicy { get; set; } + public string TrailingSeparatorPolicy { get; set; } /// <summary> /// Validate the object. @@ -115,7 +123,10 @@ public virtual void Validate() { throw new ValidationException(ValidationRules.CannotBeNull, "MessageId"); } + if (TrailingSeparatorPolicy == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "TrailingSeparatorPolicy"); + } } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Models/X12ValidationSettings.cs b/src/SDKs/Logic/Management.Logic/Generated/Models/X12ValidationSettings.cs index 8dd76566d974d..2ae403a332bd7 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/Models/X12ValidationSettings.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/Models/X12ValidationSettings.cs @@ -1,16 +1,16 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic.Models { - using Azure; - using Management; - using Logic; + using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -22,7 +22,10 @@ public partial class X12ValidationSettings /// <summary> /// Initializes a new instance of the X12ValidationSettings class. /// </summary> - public X12ValidationSettings() { } + public X12ValidationSettings() + { + CustomInit(); + } /// <summary> /// Initializes a new instance of the X12ValidationSettings class. @@ -52,7 +55,7 @@ public X12ValidationSettings() { } /// <param name="trailingSeparatorPolicy">The trailing separator /// policy. Possible values include: 'NotSpecified', 'NotAllowed', /// 'Optional', 'Mandatory'</param> - public X12ValidationSettings(bool validateCharacterSet, bool checkDuplicateInterchangeControlNumber, int interchangeControlNumberValidityDays, bool checkDuplicateGroupControlNumber, bool checkDuplicateTransactionSetControlNumber, bool validateEdiTypes, bool validateXsdTypes, bool allowLeadingAndTrailingSpacesAndZeroes, bool trimLeadingAndTrailingSpacesAndZeroes, TrailingSeparatorPolicy trailingSeparatorPolicy) + public X12ValidationSettings(bool validateCharacterSet, bool checkDuplicateInterchangeControlNumber, int interchangeControlNumberValidityDays, bool checkDuplicateGroupControlNumber, bool checkDuplicateTransactionSetControlNumber, bool validateEdiTypes, bool validateXsdTypes, bool allowLeadingAndTrailingSpacesAndZeroes, bool trimLeadingAndTrailingSpacesAndZeroes, string trailingSeparatorPolicy) { ValidateCharacterSet = validateCharacterSet; CheckDuplicateInterchangeControlNumber = checkDuplicateInterchangeControlNumber; @@ -64,8 +67,14 @@ public X12ValidationSettings(bool validateCharacterSet, bool checkDuplicateInter AllowLeadingAndTrailingSpacesAndZeroes = allowLeadingAndTrailingSpacesAndZeroes; TrimLeadingAndTrailingSpacesAndZeroes = trimLeadingAndTrailingSpacesAndZeroes; TrailingSeparatorPolicy = trailingSeparatorPolicy; + CustomInit(); } + /// <summary> + /// An initialization method that performs custom operations like setting defaults + /// </summary> + partial void CustomInit(); + /// <summary> /// Gets or sets the value indicating whether to validate character set /// in the message. @@ -133,17 +142,20 @@ public X12ValidationSettings(bool validateCharacterSet, bool checkDuplicateInter /// include: 'NotSpecified', 'NotAllowed', 'Optional', 'Mandatory' /// </summary> [JsonProperty(PropertyName = "trailingSeparatorPolicy")] - public TrailingSeparatorPolicy TrailingSeparatorPolicy { get; set; } + public string TrailingSeparatorPolicy { get; set; } /// <summary> /// Validate the object. /// </summary> - /// <exception cref="Rest.ValidationException"> + /// <exception cref="ValidationException"> /// Thrown if validation fails /// </exception> public virtual void Validate() { + if (TrailingSeparatorPolicy == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "TrailingSeparatorPolicy"); + } } } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/Operations.cs b/src/SDKs/Logic/Management.Logic/Generated/Operations.cs new file mode 100644 index 0000000000000..3e9612aee5b0a --- /dev/null +++ b/src/SDKs/Logic/Management.Logic/Generated/Operations.cs @@ -0,0 +1,390 @@ +// <auto-generated> +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// </auto-generated> + +namespace Microsoft.Azure.Management.Logic +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; + + /// <summary> + /// Operations operations. + /// </summary> + internal partial class Operations : IServiceOperations<LogicManagementClient>, IOperations + { + /// <summary> + /// Initializes a new instance of the Operations class. + /// </summary> + /// <param name='client'> + /// Reference to the service client. + /// </param> + /// <exception cref="System.ArgumentNullException"> + /// Thrown when a required parameter is null + /// </exception> + internal Operations(LogicManagementClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + Client = client; + } + + /// <summary> + /// Gets a reference to the LogicManagementClient + /// </summary> + public LogicManagementClient Client { get; private set; } + + /// <summary> + /// Lists all of the available Logic REST API operations. + /// </summary> + /// <param name='customHeaders'> + /// Headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="ErrorResponseException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="SerializationException"> + /// Thrown when unable to deserialize the response + /// </exception> + /// <exception cref="ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + /// <exception cref="System.ArgumentNullException"> + /// Thrown when a required parameter is null + /// </exception> + /// <return> + /// A response object containing the response body and response headers. + /// </return> + public async Task<AzureOperationResponse<IPage<Operation>>> ListWithHttpMessagesAsync(Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary<string, object> tracingParameters = new Dictionary<string, object>(); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "providers/Microsoft.Logic/operations").ToString(); + List<string> _queryParameters = new List<string>(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<ErrorResponse>(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse<IPage<Operation>>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<Page<Operation>>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// <summary> + /// Lists all of the available Logic REST API operations. + /// </summary> + /// <param name='nextPageLink'> + /// The NextLink from the previous successful call to List operation. + /// </param> + /// <param name='customHeaders'> + /// Headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="ErrorResponseException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="SerializationException"> + /// Thrown when unable to deserialize the response + /// </exception> + /// <exception cref="ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + /// <exception cref="System.ArgumentNullException"> + /// Thrown when a required parameter is null + /// </exception> + /// <return> + /// A response object containing the response body and response headers. + /// </return> + public async Task<AzureOperationResponse<IPage<Operation>>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (nextPageLink == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "nextPageLink"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary<string, object> tracingParameters = new Dictionary<string, object>(); + tracingParameters.Add("nextPageLink", nextPageLink); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListNext", tracingParameters); + } + // Construct URL + string _url = "{nextLink}"; + _url = _url.Replace("{nextLink}", nextPageLink); + List<string> _queryParameters = new List<string>(); + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<ErrorResponse>(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse<IPage<Operation>>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<Page<Operation>>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + } +} diff --git a/src/SDKs/Logic/Management.Logic/Generated/LogicManagementClientExtensions.cs b/src/SDKs/Logic/Management.Logic/Generated/OperationsExtensions.cs similarity index 62% rename from src/SDKs/Logic/Management.Logic/Generated/LogicManagementClientExtensions.cs rename to src/SDKs/Logic/Management.Logic/Generated/OperationsExtensions.cs index 943cef72cac7f..57261f0680ab7 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/LogicManagementClientExtensions.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/OperationsExtensions.cs @@ -1,25 +1,25 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic { - using Azure; - using Management; - using Rest; - using Rest.Azure; + using Microsoft.Rest; + using Microsoft.Rest.Azure; using Models; using System.Threading; using System.Threading.Tasks; /// <summary> - /// Extension methods for LogicManagementClient. + /// Extension methods for Operations. /// </summary> - public static partial class LogicManagementClientExtensions + public static partial class OperationsExtensions { /// <summary> /// Lists all of the available Logic REST API operations. @@ -27,9 +27,9 @@ public static partial class LogicManagementClientExtensions /// <param name='operations'> /// The operations group for this extension method. /// </param> - public static IPage<Operation> ListOperations(this ILogicManagementClient operations) + public static IPage<Operation> List(this IOperations operations) { - return operations.ListOperationsAsync().GetAwaiter().GetResult(); + return operations.ListAsync().GetAwaiter().GetResult(); } /// <summary> @@ -41,9 +41,9 @@ public static IPage<Operation> ListOperations(this ILogicManagementClient operat /// <param name='cancellationToken'> /// The cancellation token. /// </param> - public static async Task<IPage<Operation>> ListOperationsAsync(this ILogicManagementClient operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task<IPage<Operation>> ListAsync(this IOperations operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListOperationsWithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListWithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -58,9 +58,9 @@ public static IPage<Operation> ListOperations(this ILogicManagementClient operat /// <param name='nextPageLink'> /// The NextLink from the previous successful call to List operation. /// </param> - public static IPage<Operation> ListOperationsNext(this ILogicManagementClient operations, string nextPageLink) + public static IPage<Operation> ListNext(this IOperations operations, string nextPageLink) { - return operations.ListOperationsNextAsync(nextPageLink).GetAwaiter().GetResult(); + return operations.ListNextAsync(nextPageLink).GetAwaiter().GetResult(); } /// <summary> @@ -75,9 +75,9 @@ public static IPage<Operation> ListOperationsNext(this ILogicManagementClient op /// <param name='cancellationToken'> /// The cancellation token. /// </param> - public static async Task<IPage<Operation>> ListOperationsNextAsync(this ILogicManagementClient operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task<IPage<Operation>> ListNextAsync(this IOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListOperationsNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -85,4 +85,3 @@ public static IPage<Operation> ListOperationsNext(this ILogicManagementClient op } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/SdkInfo_LogicManagementClient.cs b/src/SDKs/Logic/Management.Logic/Generated/SdkInfo_LogicManagementClient.cs new file mode 100644 index 0000000000000..862ad2f9408a4 --- /dev/null +++ b/src/SDKs/Logic/Management.Logic/Generated/SdkInfo_LogicManagementClient.cs @@ -0,0 +1,46 @@ + +// <auto-generated> +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// </auto-generated> + +namespace Microsoft.Azure.Management.Logic +{ + using System; + using System.Collections.Generic; + using System.Linq; + + internal static partial class SdkInfo + { + public static IEnumerable<Tuple<string, string, string>> ApiInfo_LogicManagementClient + { + get + { + return new Tuple<string, string, string>[] + { + new Tuple<string, string, string>("Logic", "IntegrationAccountAgreements", "2018-07-01-preview"), + new Tuple<string, string, string>("Logic", "IntegrationAccountAssemblies", "2018-07-01-preview"), + new Tuple<string, string, string>("Logic", "IntegrationAccountBatchConfigurations", "2018-07-01-preview"), + new Tuple<string, string, string>("Logic", "IntegrationAccountCertificates", "2018-07-01-preview"), + new Tuple<string, string, string>("Logic", "IntegrationAccountMaps", "2018-07-01-preview"), + new Tuple<string, string, string>("Logic", "IntegrationAccountPartners", "2018-07-01-preview"), + new Tuple<string, string, string>("Logic", "IntegrationAccountSchemas", "2018-07-01-preview"), + new Tuple<string, string, string>("Logic", "IntegrationAccountSessions", "2018-07-01-preview"), + new Tuple<string, string, string>("Logic", "IntegrationAccounts", "2018-07-01-preview"), + new Tuple<string, string, string>("Logic", "Operations", "2018-07-01-preview"), + new Tuple<string, string, string>("Logic", "WorkflowRunActionRepetitions", "2018-07-01-preview"), + new Tuple<string, string, string>("Logic", "WorkflowRunActionScopeRepetitions", "2018-07-01-preview"), + new Tuple<string, string, string>("Logic", "WorkflowRunActions", "2018-07-01-preview"), + new Tuple<string, string, string>("Logic", "WorkflowRunOperations", "2018-07-01-preview"), + new Tuple<string, string, string>("Logic", "WorkflowRuns", "2018-07-01-preview"), + new Tuple<string, string, string>("Logic", "WorkflowTriggerHistories", "2018-07-01-preview"), + new Tuple<string, string, string>("Logic", "WorkflowTriggers", "2018-07-01-preview"), + new Tuple<string, string, string>("Logic", "WorkflowVersionTriggers", "2018-07-01-preview"), + new Tuple<string, string, string>("Logic", "WorkflowVersions", "2018-07-01-preview"), + new Tuple<string, string, string>("Logic", "Workflows", "2018-07-01-preview"), + }.AsEnumerable(); + } + } + } +} diff --git a/src/SDKs/Logic/Management.Logic/Generated/WorkflowRunActionRepetitionsOperations.cs b/src/SDKs/Logic/Management.Logic/Generated/WorkflowRunActionRepetitionsOperations.cs new file mode 100644 index 0000000000000..cd11a12135a84 --- /dev/null +++ b/src/SDKs/Logic/Management.Logic/Generated/WorkflowRunActionRepetitionsOperations.cs @@ -0,0 +1,714 @@ +// <auto-generated> +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// </auto-generated> + +namespace Microsoft.Azure.Management.Logic +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; + + /// <summary> + /// WorkflowRunActionRepetitionsOperations operations. + /// </summary> + internal partial class WorkflowRunActionRepetitionsOperations : IServiceOperations<LogicManagementClient>, IWorkflowRunActionRepetitionsOperations + { + /// <summary> + /// Initializes a new instance of the WorkflowRunActionRepetitionsOperations class. + /// </summary> + /// <param name='client'> + /// Reference to the service client. + /// </param> + /// <exception cref="System.ArgumentNullException"> + /// Thrown when a required parameter is null + /// </exception> + internal WorkflowRunActionRepetitionsOperations(LogicManagementClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + Client = client; + } + + /// <summary> + /// Gets a reference to the LogicManagementClient + /// </summary> + public LogicManagementClient Client { get; private set; } + + /// <summary> + /// Get all of a workflow run action repetitions. + /// </summary> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='workflowName'> + /// The workflow name. + /// </param> + /// <param name='runName'> + /// The workflow run name. + /// </param> + /// <param name='actionName'> + /// The workflow action name. + /// </param> + /// <param name='customHeaders'> + /// Headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="CloudException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="SerializationException"> + /// Thrown when unable to deserialize the response + /// </exception> + /// <exception cref="ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + /// <exception cref="System.ArgumentNullException"> + /// Thrown when a required parameter is null + /// </exception> + /// <return> + /// A response object containing the response body and response headers. + /// </return> + public async Task<AzureOperationResponse<IEnumerable<WorkflowRunActionRepetitionDefinition>>> ListWithHttpMessagesAsync(string resourceGroupName, string workflowName, string runName, string actionName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (workflowName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "workflowName"); + } + if (runName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "runName"); + } + if (actionName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "actionName"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary<string, object> tracingParameters = new Dictionary<string, object>(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("workflowName", workflowName); + tracingParameters.Add("runName", runName); + tracingParameters.Add("actionName", actionName); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}/actions/{actionName}/repetitions").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{workflowName}", System.Uri.EscapeDataString(workflowName)); + _url = _url.Replace("{runName}", System.Uri.EscapeDataString(runName)); + _url = _url.Replace("{actionName}", System.Uri.EscapeDataString(actionName)); + List<string> _queryParameters = new List<string>(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<CloudError>(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse<IEnumerable<WorkflowRunActionRepetitionDefinition>>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<Page2<WorkflowRunActionRepetitionDefinition>>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// <summary> + /// Get a workflow run action repetition. + /// </summary> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='workflowName'> + /// The workflow name. + /// </param> + /// <param name='runName'> + /// The workflow run name. + /// </param> + /// <param name='actionName'> + /// The workflow action name. + /// </param> + /// <param name='repetitionName'> + /// The workflow repetition. + /// </param> + /// <param name='customHeaders'> + /// Headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="CloudException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="SerializationException"> + /// Thrown when unable to deserialize the response + /// </exception> + /// <exception cref="ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + /// <exception cref="System.ArgumentNullException"> + /// Thrown when a required parameter is null + /// </exception> + /// <return> + /// A response object containing the response body and response headers. + /// </return> + public async Task<AzureOperationResponse<WorkflowRunActionRepetitionDefinition>> GetWithHttpMessagesAsync(string resourceGroupName, string workflowName, string runName, string actionName, string repetitionName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (workflowName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "workflowName"); + } + if (runName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "runName"); + } + if (actionName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "actionName"); + } + if (repetitionName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "repetitionName"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary<string, object> tracingParameters = new Dictionary<string, object>(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("workflowName", workflowName); + tracingParameters.Add("runName", runName); + tracingParameters.Add("actionName", actionName); + tracingParameters.Add("repetitionName", repetitionName); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}/actions/{actionName}/repetitions/{repetitionName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{workflowName}", System.Uri.EscapeDataString(workflowName)); + _url = _url.Replace("{runName}", System.Uri.EscapeDataString(runName)); + _url = _url.Replace("{actionName}", System.Uri.EscapeDataString(actionName)); + _url = _url.Replace("{repetitionName}", System.Uri.EscapeDataString(repetitionName)); + List<string> _queryParameters = new List<string>(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<CloudError>(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse<WorkflowRunActionRepetitionDefinition>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<WorkflowRunActionRepetitionDefinition>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// <summary> + /// Lists a workflow run expression trace. + /// </summary> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='workflowName'> + /// The workflow name. + /// </param> + /// <param name='runName'> + /// The workflow run name. + /// </param> + /// <param name='actionName'> + /// The workflow action name. + /// </param> + /// <param name='repetitionName'> + /// The workflow repetition. + /// </param> + /// <param name='customHeaders'> + /// Headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="CloudException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="SerializationException"> + /// Thrown when unable to deserialize the response + /// </exception> + /// <exception cref="ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + /// <exception cref="System.ArgumentNullException"> + /// Thrown when a required parameter is null + /// </exception> + /// <return> + /// A response object containing the response body and response headers. + /// </return> + public async Task<AzureOperationResponse<IEnumerable<ExpressionRoot>>> ListExpressionTracesWithHttpMessagesAsync(string resourceGroupName, string workflowName, string runName, string actionName, string repetitionName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (workflowName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "workflowName"); + } + if (runName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "runName"); + } + if (actionName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "actionName"); + } + if (repetitionName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "repetitionName"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary<string, object> tracingParameters = new Dictionary<string, object>(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("workflowName", workflowName); + tracingParameters.Add("runName", runName); + tracingParameters.Add("actionName", actionName); + tracingParameters.Add("repetitionName", repetitionName); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListExpressionTraces", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}/actions/{actionName}/repetitions/{repetitionName}/listExpressionTraces").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{workflowName}", System.Uri.EscapeDataString(workflowName)); + _url = _url.Replace("{runName}", System.Uri.EscapeDataString(runName)); + _url = _url.Replace("{actionName}", System.Uri.EscapeDataString(actionName)); + _url = _url.Replace("{repetitionName}", System.Uri.EscapeDataString(repetitionName)); + List<string> _queryParameters = new List<string>(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<CloudError>(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse<IEnumerable<ExpressionRoot>>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<Page1<ExpressionRoot>>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + } +} diff --git a/src/SDKs/Logic/Management.Logic/Generated/WorkflowRunActionRepetitionsOperationsExtensions.cs b/src/SDKs/Logic/Management.Logic/Generated/WorkflowRunActionRepetitionsOperationsExtensions.cs new file mode 100644 index 0000000000000..c7d1633857bfe --- /dev/null +++ b/src/SDKs/Logic/Management.Logic/Generated/WorkflowRunActionRepetitionsOperationsExtensions.cs @@ -0,0 +1,195 @@ +// <auto-generated> +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// </auto-generated> + +namespace Microsoft.Azure.Management.Logic +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// <summary> + /// Extension methods for WorkflowRunActionRepetitionsOperations. + /// </summary> + public static partial class WorkflowRunActionRepetitionsOperationsExtensions + { + /// <summary> + /// Get all of a workflow run action repetitions. + /// </summary> + /// <param name='operations'> + /// The operations group for this extension method. + /// </param> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='workflowName'> + /// The workflow name. + /// </param> + /// <param name='runName'> + /// The workflow run name. + /// </param> + /// <param name='actionName'> + /// The workflow action name. + /// </param> + public static IEnumerable<WorkflowRunActionRepetitionDefinition> List(this IWorkflowRunActionRepetitionsOperations operations, string resourceGroupName, string workflowName, string runName, string actionName) + { + return operations.ListAsync(resourceGroupName, workflowName, runName, actionName).GetAwaiter().GetResult(); + } + + /// <summary> + /// Get all of a workflow run action repetitions. + /// </summary> + /// <param name='operations'> + /// The operations group for this extension method. + /// </param> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='workflowName'> + /// The workflow name. + /// </param> + /// <param name='runName'> + /// The workflow run name. + /// </param> + /// <param name='actionName'> + /// The workflow action name. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + public static async Task<IEnumerable<WorkflowRunActionRepetitionDefinition>> ListAsync(this IWorkflowRunActionRepetitionsOperations operations, string resourceGroupName, string workflowName, string runName, string actionName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroupName, workflowName, runName, actionName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// <summary> + /// Get a workflow run action repetition. + /// </summary> + /// <param name='operations'> + /// The operations group for this extension method. + /// </param> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='workflowName'> + /// The workflow name. + /// </param> + /// <param name='runName'> + /// The workflow run name. + /// </param> + /// <param name='actionName'> + /// The workflow action name. + /// </param> + /// <param name='repetitionName'> + /// The workflow repetition. + /// </param> + public static WorkflowRunActionRepetitionDefinition Get(this IWorkflowRunActionRepetitionsOperations operations, string resourceGroupName, string workflowName, string runName, string actionName, string repetitionName) + { + return operations.GetAsync(resourceGroupName, workflowName, runName, actionName, repetitionName).GetAwaiter().GetResult(); + } + + /// <summary> + /// Get a workflow run action repetition. + /// </summary> + /// <param name='operations'> + /// The operations group for this extension method. + /// </param> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='workflowName'> + /// The workflow name. + /// </param> + /// <param name='runName'> + /// The workflow run name. + /// </param> + /// <param name='actionName'> + /// The workflow action name. + /// </param> + /// <param name='repetitionName'> + /// The workflow repetition. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + public static async Task<WorkflowRunActionRepetitionDefinition> GetAsync(this IWorkflowRunActionRepetitionsOperations operations, string resourceGroupName, string workflowName, string runName, string actionName, string repetitionName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, workflowName, runName, actionName, repetitionName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// <summary> + /// Lists a workflow run expression trace. + /// </summary> + /// <param name='operations'> + /// The operations group for this extension method. + /// </param> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='workflowName'> + /// The workflow name. + /// </param> + /// <param name='runName'> + /// The workflow run name. + /// </param> + /// <param name='actionName'> + /// The workflow action name. + /// </param> + /// <param name='repetitionName'> + /// The workflow repetition. + /// </param> + public static IEnumerable<ExpressionRoot> ListExpressionTraces(this IWorkflowRunActionRepetitionsOperations operations, string resourceGroupName, string workflowName, string runName, string actionName, string repetitionName) + { + return operations.ListExpressionTracesAsync(resourceGroupName, workflowName, runName, actionName, repetitionName).GetAwaiter().GetResult(); + } + + /// <summary> + /// Lists a workflow run expression trace. + /// </summary> + /// <param name='operations'> + /// The operations group for this extension method. + /// </param> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='workflowName'> + /// The workflow name. + /// </param> + /// <param name='runName'> + /// The workflow run name. + /// </param> + /// <param name='actionName'> + /// The workflow action name. + /// </param> + /// <param name='repetitionName'> + /// The workflow repetition. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + public static async Task<IEnumerable<ExpressionRoot>> ListExpressionTracesAsync(this IWorkflowRunActionRepetitionsOperations operations, string resourceGroupName, string workflowName, string runName, string actionName, string repetitionName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListExpressionTracesWithHttpMessagesAsync(resourceGroupName, workflowName, runName, actionName, repetitionName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + } +} diff --git a/src/SDKs/Logic/Management.Logic/Generated/WorkflowRunActionScopeRepetitionsOperations.cs b/src/SDKs/Logic/Management.Logic/Generated/WorkflowRunActionScopeRepetitionsOperations.cs new file mode 100644 index 0000000000000..17cd51567d08e --- /dev/null +++ b/src/SDKs/Logic/Management.Logic/Generated/WorkflowRunActionScopeRepetitionsOperations.cs @@ -0,0 +1,491 @@ +// <auto-generated> +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// </auto-generated> + +namespace Microsoft.Azure.Management.Logic +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; + + /// <summary> + /// WorkflowRunActionScopeRepetitionsOperations operations. + /// </summary> + internal partial class WorkflowRunActionScopeRepetitionsOperations : IServiceOperations<LogicManagementClient>, IWorkflowRunActionScopeRepetitionsOperations + { + /// <summary> + /// Initializes a new instance of the WorkflowRunActionScopeRepetitionsOperations class. + /// </summary> + /// <param name='client'> + /// Reference to the service client. + /// </param> + /// <exception cref="System.ArgumentNullException"> + /// Thrown when a required parameter is null + /// </exception> + internal WorkflowRunActionScopeRepetitionsOperations(LogicManagementClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + Client = client; + } + + /// <summary> + /// Gets a reference to the LogicManagementClient + /// </summary> + public LogicManagementClient Client { get; private set; } + + /// <summary> + /// List the workflow run action scoped repetitions. + /// </summary> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='workflowName'> + /// The workflow name. + /// </param> + /// <param name='runName'> + /// The workflow run name. + /// </param> + /// <param name='actionName'> + /// The workflow action name. + /// </param> + /// <param name='customHeaders'> + /// Headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="CloudException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="SerializationException"> + /// Thrown when unable to deserialize the response + /// </exception> + /// <exception cref="ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + /// <exception cref="System.ArgumentNullException"> + /// Thrown when a required parameter is null + /// </exception> + /// <return> + /// A response object containing the response body and response headers. + /// </return> + public async Task<AzureOperationResponse<WorkflowRunActionRepetitionDefinitionCollection>> ListWithHttpMessagesAsync(string resourceGroupName, string workflowName, string runName, string actionName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (workflowName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "workflowName"); + } + if (runName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "runName"); + } + if (actionName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "actionName"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary<string, object> tracingParameters = new Dictionary<string, object>(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("workflowName", workflowName); + tracingParameters.Add("runName", runName); + tracingParameters.Add("actionName", actionName); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}/actions/{actionName}/scopeRepetitions").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{workflowName}", System.Uri.EscapeDataString(workflowName)); + _url = _url.Replace("{runName}", System.Uri.EscapeDataString(runName)); + _url = _url.Replace("{actionName}", System.Uri.EscapeDataString(actionName)); + List<string> _queryParameters = new List<string>(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<CloudError>(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse<WorkflowRunActionRepetitionDefinitionCollection>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<WorkflowRunActionRepetitionDefinitionCollection>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// <summary> + /// Get a workflow run action scoped repetition. + /// </summary> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='workflowName'> + /// The workflow name. + /// </param> + /// <param name='runName'> + /// The workflow run name. + /// </param> + /// <param name='actionName'> + /// The workflow action name. + /// </param> + /// <param name='repetitionName'> + /// The workflow repetition. + /// </param> + /// <param name='customHeaders'> + /// Headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="CloudException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="SerializationException"> + /// Thrown when unable to deserialize the response + /// </exception> + /// <exception cref="ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + /// <exception cref="System.ArgumentNullException"> + /// Thrown when a required parameter is null + /// </exception> + /// <return> + /// A response object containing the response body and response headers. + /// </return> + public async Task<AzureOperationResponse<WorkflowRunActionRepetitionDefinition>> GetWithHttpMessagesAsync(string resourceGroupName, string workflowName, string runName, string actionName, string repetitionName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (workflowName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "workflowName"); + } + if (runName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "runName"); + } + if (actionName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "actionName"); + } + if (repetitionName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "repetitionName"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary<string, object> tracingParameters = new Dictionary<string, object>(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("workflowName", workflowName); + tracingParameters.Add("runName", runName); + tracingParameters.Add("actionName", actionName); + tracingParameters.Add("repetitionName", repetitionName); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}/actions/{actionName}/scopeRepetitions/{repetitionName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{workflowName}", System.Uri.EscapeDataString(workflowName)); + _url = _url.Replace("{runName}", System.Uri.EscapeDataString(runName)); + _url = _url.Replace("{actionName}", System.Uri.EscapeDataString(actionName)); + _url = _url.Replace("{repetitionName}", System.Uri.EscapeDataString(repetitionName)); + List<string> _queryParameters = new List<string>(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<CloudError>(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse<WorkflowRunActionRepetitionDefinition>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<WorkflowRunActionRepetitionDefinition>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + } +} diff --git a/src/SDKs/Logic/Management.Logic/Generated/WorkflowRunActionScopeRepetitionsOperationsExtensions.cs b/src/SDKs/Logic/Management.Logic/Generated/WorkflowRunActionScopeRepetitionsOperationsExtensions.cs new file mode 100644 index 0000000000000..360710f64fe10 --- /dev/null +++ b/src/SDKs/Logic/Management.Logic/Generated/WorkflowRunActionScopeRepetitionsOperationsExtensions.cs @@ -0,0 +1,135 @@ +// <auto-generated> +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// </auto-generated> + +namespace Microsoft.Azure.Management.Logic +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Threading; + using System.Threading.Tasks; + + /// <summary> + /// Extension methods for WorkflowRunActionScopeRepetitionsOperations. + /// </summary> + public static partial class WorkflowRunActionScopeRepetitionsOperationsExtensions + { + /// <summary> + /// List the workflow run action scoped repetitions. + /// </summary> + /// <param name='operations'> + /// The operations group for this extension method. + /// </param> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='workflowName'> + /// The workflow name. + /// </param> + /// <param name='runName'> + /// The workflow run name. + /// </param> + /// <param name='actionName'> + /// The workflow action name. + /// </param> + public static WorkflowRunActionRepetitionDefinitionCollection List(this IWorkflowRunActionScopeRepetitionsOperations operations, string resourceGroupName, string workflowName, string runName, string actionName) + { + return operations.ListAsync(resourceGroupName, workflowName, runName, actionName).GetAwaiter().GetResult(); + } + + /// <summary> + /// List the workflow run action scoped repetitions. + /// </summary> + /// <param name='operations'> + /// The operations group for this extension method. + /// </param> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='workflowName'> + /// The workflow name. + /// </param> + /// <param name='runName'> + /// The workflow run name. + /// </param> + /// <param name='actionName'> + /// The workflow action name. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + public static async Task<WorkflowRunActionRepetitionDefinitionCollection> ListAsync(this IWorkflowRunActionScopeRepetitionsOperations operations, string resourceGroupName, string workflowName, string runName, string actionName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroupName, workflowName, runName, actionName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// <summary> + /// Get a workflow run action scoped repetition. + /// </summary> + /// <param name='operations'> + /// The operations group for this extension method. + /// </param> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='workflowName'> + /// The workflow name. + /// </param> + /// <param name='runName'> + /// The workflow run name. + /// </param> + /// <param name='actionName'> + /// The workflow action name. + /// </param> + /// <param name='repetitionName'> + /// The workflow repetition. + /// </param> + public static WorkflowRunActionRepetitionDefinition Get(this IWorkflowRunActionScopeRepetitionsOperations operations, string resourceGroupName, string workflowName, string runName, string actionName, string repetitionName) + { + return operations.GetAsync(resourceGroupName, workflowName, runName, actionName, repetitionName).GetAwaiter().GetResult(); + } + + /// <summary> + /// Get a workflow run action scoped repetition. + /// </summary> + /// <param name='operations'> + /// The operations group for this extension method. + /// </param> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='workflowName'> + /// The workflow name. + /// </param> + /// <param name='runName'> + /// The workflow run name. + /// </param> + /// <param name='actionName'> + /// The workflow action name. + /// </param> + /// <param name='repetitionName'> + /// The workflow repetition. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + public static async Task<WorkflowRunActionRepetitionDefinition> GetAsync(this IWorkflowRunActionScopeRepetitionsOperations operations, string resourceGroupName, string workflowName, string runName, string actionName, string repetitionName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, workflowName, runName, actionName, repetitionName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + } +} diff --git a/src/SDKs/Logic/Management.Logic/Generated/WorkflowRunActionsOperations.cs b/src/SDKs/Logic/Management.Logic/Generated/WorkflowRunActionsOperations.cs index 0830a055577d4..a76ac63c450bd 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/WorkflowRunActionsOperations.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/WorkflowRunActionsOperations.cs @@ -1,18 +1,18 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic { - using Azure; - using Management; - using Rest; - using Rest.Azure; - using Rest.Azure.OData; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; using Models; using Newtonsoft.Json; using System.Collections; @@ -148,9 +148,9 @@ internal WorkflowRunActionsOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -362,9 +362,9 @@ internal WorkflowRunActionsOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -482,6 +482,220 @@ internal WorkflowRunActionsOperations(LogicManagementClient client) return _result; } + /// <summary> + /// Lists a workflow run expression trace. + /// </summary> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='workflowName'> + /// The workflow name. + /// </param> + /// <param name='runName'> + /// The workflow run name. + /// </param> + /// <param name='actionName'> + /// The workflow action name. + /// </param> + /// <param name='customHeaders'> + /// Headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="CloudException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="SerializationException"> + /// Thrown when unable to deserialize the response + /// </exception> + /// <exception cref="ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + /// <exception cref="System.ArgumentNullException"> + /// Thrown when a required parameter is null + /// </exception> + /// <return> + /// A response object containing the response body and response headers. + /// </return> + public async Task<AzureOperationResponse<IEnumerable<ExpressionRoot>>> ListExpressionTracesWithHttpMessagesAsync(string resourceGroupName, string workflowName, string runName, string actionName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (workflowName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "workflowName"); + } + if (runName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "runName"); + } + if (actionName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "actionName"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary<string, object> tracingParameters = new Dictionary<string, object>(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("workflowName", workflowName); + tracingParameters.Add("runName", runName); + tracingParameters.Add("actionName", actionName); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListExpressionTraces", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}/actions/{actionName}/listExpressionTraces").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{workflowName}", System.Uri.EscapeDataString(workflowName)); + _url = _url.Replace("{runName}", System.Uri.EscapeDataString(runName)); + _url = _url.Replace("{actionName}", System.Uri.EscapeDataString(actionName)); + List<string> _queryParameters = new List<string>(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<CloudError>(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse<IEnumerable<ExpressionRoot>>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<Page1<ExpressionRoot>>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + /// <summary> /// Gets a list of workflow run actions. /// </summary> @@ -535,9 +749,9 @@ internal WorkflowRunActionsOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -657,4 +871,3 @@ internal WorkflowRunActionsOperations(LogicManagementClient client) } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/WorkflowRunActionsOperationsExtensions.cs b/src/SDKs/Logic/Management.Logic/Generated/WorkflowRunActionsOperationsExtensions.cs index a04959a3b6915..1e4511516c64f 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/WorkflowRunActionsOperationsExtensions.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/WorkflowRunActionsOperationsExtensions.cs @@ -1,19 +1,21 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic { - using Azure; - using Management; - using Rest; - using Rest.Azure; - using Rest.Azure.OData; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; using Models; + using System.Collections; + using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; @@ -126,6 +128,58 @@ public static WorkflowRunAction Get(this IWorkflowRunActionsOperations operation } } + /// <summary> + /// Lists a workflow run expression trace. + /// </summary> + /// <param name='operations'> + /// The operations group for this extension method. + /// </param> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='workflowName'> + /// The workflow name. + /// </param> + /// <param name='runName'> + /// The workflow run name. + /// </param> + /// <param name='actionName'> + /// The workflow action name. + /// </param> + public static IEnumerable<ExpressionRoot> ListExpressionTraces(this IWorkflowRunActionsOperations operations, string resourceGroupName, string workflowName, string runName, string actionName) + { + return operations.ListExpressionTracesAsync(resourceGroupName, workflowName, runName, actionName).GetAwaiter().GetResult(); + } + + /// <summary> + /// Lists a workflow run expression trace. + /// </summary> + /// <param name='operations'> + /// The operations group for this extension method. + /// </param> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='workflowName'> + /// The workflow name. + /// </param> + /// <param name='runName'> + /// The workflow run name. + /// </param> + /// <param name='actionName'> + /// The workflow action name. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + public static async Task<IEnumerable<ExpressionRoot>> ListExpressionTracesAsync(this IWorkflowRunActionsOperations operations, string resourceGroupName, string workflowName, string runName, string actionName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListExpressionTracesWithHttpMessagesAsync(resourceGroupName, workflowName, runName, actionName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + /// <summary> /// Gets a list of workflow run actions. /// </summary> @@ -162,4 +216,3 @@ public static IPage<WorkflowRunAction> ListNext(this IWorkflowRunActionsOperatio } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/WorkflowRunOperations.cs b/src/SDKs/Logic/Management.Logic/Generated/WorkflowRunOperations.cs new file mode 100644 index 0000000000000..321aa494a8cb2 --- /dev/null +++ b/src/SDKs/Logic/Management.Logic/Generated/WorkflowRunOperations.cs @@ -0,0 +1,268 @@ +// <auto-generated> +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// </auto-generated> + +namespace Microsoft.Azure.Management.Logic +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; + + /// <summary> + /// WorkflowRunOperations operations. + /// </summary> + internal partial class WorkflowRunOperations : IServiceOperations<LogicManagementClient>, IWorkflowRunOperations + { + /// <summary> + /// Initializes a new instance of the WorkflowRunOperations class. + /// </summary> + /// <param name='client'> + /// Reference to the service client. + /// </param> + /// <exception cref="System.ArgumentNullException"> + /// Thrown when a required parameter is null + /// </exception> + internal WorkflowRunOperations(LogicManagementClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + Client = client; + } + + /// <summary> + /// Gets a reference to the LogicManagementClient + /// </summary> + public LogicManagementClient Client { get; private set; } + + /// <summary> + /// Gets an operation for a run. + /// </summary> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='workflowName'> + /// The workflow name. + /// </param> + /// <param name='runName'> + /// The workflow run name. + /// </param> + /// <param name='operationId'> + /// The workflow operation id. + /// </param> + /// <param name='customHeaders'> + /// Headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="CloudException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="SerializationException"> + /// Thrown when unable to deserialize the response + /// </exception> + /// <exception cref="ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + /// <exception cref="System.ArgumentNullException"> + /// Thrown when a required parameter is null + /// </exception> + /// <return> + /// A response object containing the response body and response headers. + /// </return> + public async Task<AzureOperationResponse<WorkflowRun>> GetWithHttpMessagesAsync(string resourceGroupName, string workflowName, string runName, string operationId, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (workflowName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "workflowName"); + } + if (runName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "runName"); + } + if (operationId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "operationId"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary<string, object> tracingParameters = new Dictionary<string, object>(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("workflowName", workflowName); + tracingParameters.Add("runName", runName); + tracingParameters.Add("operationId", operationId); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}/operations/{operationId}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{workflowName}", System.Uri.EscapeDataString(workflowName)); + _url = _url.Replace("{runName}", System.Uri.EscapeDataString(runName)); + _url = _url.Replace("{operationId}", System.Uri.EscapeDataString(operationId)); + List<string> _queryParameters = new List<string>(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<CloudError>(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse<WorkflowRun>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<WorkflowRun>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + } +} diff --git a/src/SDKs/Logic/Management.Logic/Generated/WorkflowRunOperationsExtensions.cs b/src/SDKs/Logic/Management.Logic/Generated/WorkflowRunOperationsExtensions.cs new file mode 100644 index 0000000000000..a8f6be8cabf79 --- /dev/null +++ b/src/SDKs/Logic/Management.Logic/Generated/WorkflowRunOperationsExtensions.cs @@ -0,0 +1,77 @@ +// <auto-generated> +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// </auto-generated> + +namespace Microsoft.Azure.Management.Logic +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Threading; + using System.Threading.Tasks; + + /// <summary> + /// Extension methods for WorkflowRunOperations. + /// </summary> + public static partial class WorkflowRunOperationsExtensions + { + /// <summary> + /// Gets an operation for a run. + /// </summary> + /// <param name='operations'> + /// The operations group for this extension method. + /// </param> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='workflowName'> + /// The workflow name. + /// </param> + /// <param name='runName'> + /// The workflow run name. + /// </param> + /// <param name='operationId'> + /// The workflow operation id. + /// </param> + public static WorkflowRun Get(this IWorkflowRunOperations operations, string resourceGroupName, string workflowName, string runName, string operationId) + { + return operations.GetAsync(resourceGroupName, workflowName, runName, operationId).GetAwaiter().GetResult(); + } + + /// <summary> + /// Gets an operation for a run. + /// </summary> + /// <param name='operations'> + /// The operations group for this extension method. + /// </param> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='workflowName'> + /// The workflow name. + /// </param> + /// <param name='runName'> + /// The workflow run name. + /// </param> + /// <param name='operationId'> + /// The workflow operation id. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + public static async Task<WorkflowRun> GetAsync(this IWorkflowRunOperations operations, string resourceGroupName, string workflowName, string runName, string operationId, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, workflowName, runName, operationId, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + } +} diff --git a/src/SDKs/Logic/Management.Logic/Generated/WorkflowRunsOperations.cs b/src/SDKs/Logic/Management.Logic/Generated/WorkflowRunsOperations.cs index 14219be91af1f..e960a04b58e7b 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/WorkflowRunsOperations.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/WorkflowRunsOperations.cs @@ -1,18 +1,18 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic { - using Azure; - using Management; - using Rest; - using Rest.Azure; - using Rest.Azure.OData; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; using Models; using Newtonsoft.Json; using System.Collections; @@ -139,9 +139,9 @@ internal WorkflowRunsOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -344,9 +344,9 @@ internal WorkflowRunsOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -546,9 +546,9 @@ internal WorkflowRunsOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("POST"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("POST"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -602,11 +602,19 @@ internal WorkflowRunsOperations(LogicManagementClient client) if ((int)_statusCode != 200) { var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { + try + { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<CloudError>(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } } - else { - _responseContent = string.Empty; + catch (JsonException) + { + // Ignore the exception } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); @@ -693,9 +701,9 @@ internal WorkflowRunsOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -815,4 +823,3 @@ internal WorkflowRunsOperations(LogicManagementClient client) } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/WorkflowRunsOperationsExtensions.cs b/src/SDKs/Logic/Management.Logic/Generated/WorkflowRunsOperationsExtensions.cs index 6984700ba322b..a2b1a386223b0 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/WorkflowRunsOperationsExtensions.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/WorkflowRunsOperationsExtensions.cs @@ -1,18 +1,18 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic { - using Azure; - using Management; - using Rest; - using Rest.Azure; - using Rest.Azure.OData; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; using Models; using System.Threading; using System.Threading.Tasks; @@ -154,7 +154,7 @@ public static void Cancel(this IWorkflowRunsOperations operations, string resour /// </param> public static async Task CancelAsync(this IWorkflowRunsOperations operations, string resourceGroupName, string workflowName, string runName, CancellationToken cancellationToken = default(CancellationToken)) { - await operations.CancelWithHttpMessagesAsync(resourceGroupName, workflowName, runName, null, cancellationToken).ConfigureAwait(false); + (await operations.CancelWithHttpMessagesAsync(resourceGroupName, workflowName, runName, null, cancellationToken).ConfigureAwait(false)).Dispose(); } /// <summary> @@ -193,4 +193,3 @@ public static IPage<WorkflowRun> ListNext(this IWorkflowRunsOperations operation } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/WorkflowTriggerHistoriesOperations.cs b/src/SDKs/Logic/Management.Logic/Generated/WorkflowTriggerHistoriesOperations.cs index 12adb9dbac7d3..c235d90dbbccb 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/WorkflowTriggerHistoriesOperations.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/WorkflowTriggerHistoriesOperations.cs @@ -1,18 +1,18 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic { - using Azure; - using Management; - using Rest; - using Rest.Azure; - using Rest.Azure.OData; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; using Models; using Newtonsoft.Json; using System.Collections; @@ -148,9 +148,9 @@ internal WorkflowTriggerHistoriesOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -363,9 +363,9 @@ internal WorkflowTriggerHistoriesOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -575,9 +575,9 @@ internal WorkflowTriggerHistoriesOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("POST"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("POST"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -631,11 +631,19 @@ internal WorkflowTriggerHistoriesOperations(LogicManagementClient client) if ((int)_statusCode != 202) { var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { + try + { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<CloudError>(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } } - else { - _responseContent = string.Empty; + catch (JsonException) + { + // Ignore the exception } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); @@ -722,9 +730,9 @@ internal WorkflowTriggerHistoriesOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -844,4 +852,3 @@ internal WorkflowTriggerHistoriesOperations(LogicManagementClient client) } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/WorkflowTriggerHistoriesOperationsExtensions.cs b/src/SDKs/Logic/Management.Logic/Generated/WorkflowTriggerHistoriesOperationsExtensions.cs index 83ba37b02d344..31e2ca9eef01b 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/WorkflowTriggerHistoriesOperationsExtensions.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/WorkflowTriggerHistoriesOperationsExtensions.cs @@ -1,18 +1,18 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic { - using Azure; - using Management; - using Rest; - using Rest.Azure; - using Rest.Azure.OData; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; using Models; using System.Threading; using System.Threading.Tasks; @@ -176,7 +176,7 @@ public static void Resubmit(this IWorkflowTriggerHistoriesOperations operations, /// </param> public static async Task ResubmitAsync(this IWorkflowTriggerHistoriesOperations operations, string resourceGroupName, string workflowName, string triggerName, string historyName, CancellationToken cancellationToken = default(CancellationToken)) { - await operations.ResubmitWithHttpMessagesAsync(resourceGroupName, workflowName, triggerName, historyName, null, cancellationToken).ConfigureAwait(false); + (await operations.ResubmitWithHttpMessagesAsync(resourceGroupName, workflowName, triggerName, historyName, null, cancellationToken).ConfigureAwait(false)).Dispose(); } /// <summary> @@ -215,4 +215,3 @@ public static IPage<WorkflowTriggerHistory> ListNext(this IWorkflowTriggerHistor } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/WorkflowTriggersOperations.cs b/src/SDKs/Logic/Management.Logic/Generated/WorkflowTriggersOperations.cs index d2b78dc4fa518..2203d32a6d8cc 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/WorkflowTriggersOperations.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/WorkflowTriggersOperations.cs @@ -1,18 +1,18 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic { - using Azure; - using Management; - using Rest; - using Rest.Azure; - using Rest.Azure.OData; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; using Models; using Newtonsoft.Json; using System.Collections; @@ -117,7 +117,7 @@ internal WorkflowTriggersOperations(LogicManagementClient client) } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/triggers/").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/triggers").ToString(); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{workflowName}", System.Uri.EscapeDataString(workflowName)); @@ -139,9 +139,9 @@ internal WorkflowTriggersOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -344,9 +344,9 @@ internal WorkflowTriggersOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -464,6 +464,190 @@ internal WorkflowTriggersOperations(LogicManagementClient client) return _result; } + /// <summary> + /// Resets a workflow trigger. + /// </summary> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='workflowName'> + /// The workflow name. + /// </param> + /// <param name='triggerName'> + /// The workflow trigger name. + /// </param> + /// <param name='customHeaders'> + /// Headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="CloudException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + /// <exception cref="System.ArgumentNullException"> + /// Thrown when a required parameter is null + /// </exception> + /// <return> + /// A response object containing the response body and response headers. + /// </return> + public async Task<AzureOperationResponse> ResetWithHttpMessagesAsync(string resourceGroupName, string workflowName, string triggerName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (workflowName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "workflowName"); + } + if (triggerName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "triggerName"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary<string, object> tracingParameters = new Dictionary<string, object>(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("workflowName", workflowName); + tracingParameters.Add("triggerName", triggerName); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Reset", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/triggers/{triggerName}/reset").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{workflowName}", System.Uri.EscapeDataString(workflowName)); + _url = _url.Replace("{triggerName}", System.Uri.EscapeDataString(triggerName)); + List<string> _queryParameters = new List<string>(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<CloudError>(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + /// <summary> /// Runs a workflow trigger. /// </summary> @@ -482,9 +666,205 @@ internal WorkflowTriggersOperations(LogicManagementClient client) /// <param name='cancellationToken'> /// The cancellation token. /// </param> - /// <exception cref="HttpOperationException"> + /// <exception cref="HttpOperationException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + /// <exception cref="System.ArgumentNullException"> + /// Thrown when a required parameter is null + /// </exception> + /// <return> + /// A response object containing the response body and response headers. + /// </return> + public async Task<AzureOperationResponse<object>> RunWithHttpMessagesAsync(string resourceGroupName, string workflowName, string triggerName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (workflowName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "workflowName"); + } + if (triggerName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "triggerName"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary<string, object> tracingParameters = new Dictionary<string, object>(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("workflowName", workflowName); + tracingParameters.Add("triggerName", triggerName); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Run", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/triggers/{triggerName}/run").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{workflowName}", System.Uri.EscapeDataString(workflowName)); + _url = _url.Replace("{triggerName}", System.Uri.EscapeDataString(triggerName)); + List<string> _queryParameters = new List<string>(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if (!_httpResponse.IsSuccessStatusCode) + { + var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + object _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<object>(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse<object>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + string _defaultResponseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<object>(_defaultResponseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _defaultResponseContent, ex); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// <summary> + /// Get the trigger schema as JSON. + /// </summary> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='workflowName'> + /// The workflow name. + /// </param> + /// <param name='triggerName'> + /// The workflow trigger name. + /// </param> + /// <param name='customHeaders'> + /// Headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="CloudException"> /// Thrown when the operation returned an invalid status code /// </exception> + /// <exception cref="SerializationException"> + /// Thrown when unable to deserialize the response + /// </exception> /// <exception cref="ValidationException"> /// Thrown when a required parameter is null /// </exception> @@ -494,7 +874,7 @@ internal WorkflowTriggersOperations(LogicManagementClient client) /// <return> /// A response object containing the response body and response headers. /// </return> - public async Task<AzureOperationResponse<object>> RunWithHttpMessagesAsync(string resourceGroupName, string workflowName, string triggerName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task<AzureOperationResponse<JsonSchema>> GetSchemaJsonWithHttpMessagesAsync(string resourceGroupName, string workflowName, string triggerName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (Client.SubscriptionId == null) { @@ -527,11 +907,11 @@ internal WorkflowTriggersOperations(LogicManagementClient client) tracingParameters.Add("workflowName", workflowName); tracingParameters.Add("triggerName", triggerName); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "Run", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetSchemaJson", tracingParameters); } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/triggers/{triggerName}/run").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/triggers/{triggerName}/schemas/json").ToString(); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{workflowName}", System.Uri.EscapeDataString(workflowName)); @@ -546,9 +926,9 @@ internal WorkflowTriggersOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("POST"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -599,15 +979,16 @@ internal WorkflowTriggersOperations(LogicManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if (!_httpResponse.IsSuccessStatusCode) + if ((int)_statusCode != 200) { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - object _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<object>(_responseContent, Client.DeserializationSettings); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<CloudError>(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { + ex = new CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -617,6 +998,10 @@ internal WorkflowTriggersOperations(LogicManagementClient client) } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } if (_shouldTrace) { ServiceClientTracing.Error(_invocationId, ex); @@ -629,26 +1014,232 @@ internal WorkflowTriggersOperations(LogicManagementClient client) throw ex; } // Create Result - var _result = new AzureOperationResponse<object>(); + var _result = new AzureOperationResponse<JsonSchema>(); _result.Request = _httpRequest; _result.Response = _httpResponse; if (_httpResponse.Headers.Contains("x-ms-request-id")) { _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); } - string _defaultResponseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try + // Deserialize Response + if ((int)_statusCode == 200) { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<object>(_defaultResponseContent, Client.DeserializationSettings); + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<JsonSchema>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } } - catch (JsonException ex) + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// <summary> + /// Sets the state of a workflow trigger. + /// </summary> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='workflowName'> + /// The workflow name. + /// </param> + /// <param name='triggerName'> + /// The workflow trigger name. + /// </param> + /// <param name='setState'> + /// The workflow trigger state. + /// </param> + /// <param name='customHeaders'> + /// Headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="CloudException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + /// <exception cref="System.ArgumentNullException"> + /// Thrown when a required parameter is null + /// </exception> + /// <return> + /// A response object containing the response body and response headers. + /// </return> + public async Task<AzureOperationResponse> SetStateWithHttpMessagesAsync(string resourceGroupName, string workflowName, string triggerName, SetTriggerStateActionDefinition setState, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (workflowName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "workflowName"); + } + if (triggerName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "triggerName"); + } + if (setState == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "setState"); + } + if (setState != null) + { + setState.Validate(); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary<string, object> tracingParameters = new Dictionary<string, object>(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("workflowName", workflowName); + tracingParameters.Add("triggerName", triggerName); + tracingParameters.Add("setState", setState); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "SetState", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/triggers/{triggerName}/setState").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{workflowName}", System.Uri.EscapeDataString(workflowName)); + _url = _url.Replace("{triggerName}", System.Uri.EscapeDataString(triggerName)); + List<string> _queryParameters = new List<string>(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(setState != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(setState, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<CloudError>(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } _httpRequest.Dispose(); if (_httpResponse != null) { _httpResponse.Dispose(); } - throw new SerializationException("Unable to deserialize the response.", _defaultResponseContent, ex); + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); } if (_shouldTrace) { @@ -658,7 +1249,7 @@ internal WorkflowTriggersOperations(LogicManagementClient client) } /// <summary> - /// Gets the callback URL for a workflow trigger. + /// Get the callback URL for a workflow trigger. /// </summary> /// <param name='resourceGroupName'> /// The resource group name. @@ -742,9 +1333,9 @@ internal WorkflowTriggersOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("POST"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("POST"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -915,9 +1506,9 @@ internal WorkflowTriggersOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -1037,4 +1628,3 @@ internal WorkflowTriggersOperations(LogicManagementClient client) } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/WorkflowTriggersOperationsExtensions.cs b/src/SDKs/Logic/Management.Logic/Generated/WorkflowTriggersOperationsExtensions.cs index c96f234cb4813..29bcdaeb13eeb 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/WorkflowTriggersOperationsExtensions.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/WorkflowTriggersOperationsExtensions.cs @@ -1,18 +1,18 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic { - using Azure; - using Management; - using Rest; - using Rest.Azure; - using Rest.Azure.OData; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; using Models; using System.Threading; using System.Threading.Tasks; @@ -114,6 +114,49 @@ public static WorkflowTrigger Get(this IWorkflowTriggersOperations operations, s } } + /// <summary> + /// Resets a workflow trigger. + /// </summary> + /// <param name='operations'> + /// The operations group for this extension method. + /// </param> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='workflowName'> + /// The workflow name. + /// </param> + /// <param name='triggerName'> + /// The workflow trigger name. + /// </param> + public static void Reset(this IWorkflowTriggersOperations operations, string resourceGroupName, string workflowName, string triggerName) + { + operations.ResetAsync(resourceGroupName, workflowName, triggerName).GetAwaiter().GetResult(); + } + + /// <summary> + /// Resets a workflow trigger. + /// </summary> + /// <param name='operations'> + /// The operations group for this extension method. + /// </param> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='workflowName'> + /// The workflow name. + /// </param> + /// <param name='triggerName'> + /// The workflow trigger name. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + public static async Task ResetAsync(this IWorkflowTriggersOperations operations, string resourceGroupName, string workflowName, string triggerName, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.ResetWithHttpMessagesAsync(resourceGroupName, workflowName, triggerName, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + /// <summary> /// Runs a workflow trigger. /// </summary> @@ -161,7 +204,102 @@ public static object Run(this IWorkflowTriggersOperations operations, string res } /// <summary> - /// Gets the callback URL for a workflow trigger. + /// Get the trigger schema as JSON. + /// </summary> + /// <param name='operations'> + /// The operations group for this extension method. + /// </param> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='workflowName'> + /// The workflow name. + /// </param> + /// <param name='triggerName'> + /// The workflow trigger name. + /// </param> + public static JsonSchema GetSchemaJson(this IWorkflowTriggersOperations operations, string resourceGroupName, string workflowName, string triggerName) + { + return operations.GetSchemaJsonAsync(resourceGroupName, workflowName, triggerName).GetAwaiter().GetResult(); + } + + /// <summary> + /// Get the trigger schema as JSON. + /// </summary> + /// <param name='operations'> + /// The operations group for this extension method. + /// </param> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='workflowName'> + /// The workflow name. + /// </param> + /// <param name='triggerName'> + /// The workflow trigger name. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + public static async Task<JsonSchema> GetSchemaJsonAsync(this IWorkflowTriggersOperations operations, string resourceGroupName, string workflowName, string triggerName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetSchemaJsonWithHttpMessagesAsync(resourceGroupName, workflowName, triggerName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// <summary> + /// Sets the state of a workflow trigger. + /// </summary> + /// <param name='operations'> + /// The operations group for this extension method. + /// </param> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='workflowName'> + /// The workflow name. + /// </param> + /// <param name='triggerName'> + /// The workflow trigger name. + /// </param> + /// <param name='setState'> + /// The workflow trigger state. + /// </param> + public static void SetState(this IWorkflowTriggersOperations operations, string resourceGroupName, string workflowName, string triggerName, SetTriggerStateActionDefinition setState) + { + operations.SetStateAsync(resourceGroupName, workflowName, triggerName, setState).GetAwaiter().GetResult(); + } + + /// <summary> + /// Sets the state of a workflow trigger. + /// </summary> + /// <param name='operations'> + /// The operations group for this extension method. + /// </param> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='workflowName'> + /// The workflow name. + /// </param> + /// <param name='triggerName'> + /// The workflow trigger name. + /// </param> + /// <param name='setState'> + /// The workflow trigger state. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + public static async Task SetStateAsync(this IWorkflowTriggersOperations operations, string resourceGroupName, string workflowName, string triggerName, SetTriggerStateActionDefinition setState, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.SetStateWithHttpMessagesAsync(resourceGroupName, workflowName, triggerName, setState, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + /// <summary> + /// Get the callback URL for a workflow trigger. /// </summary> /// <param name='operations'> /// The operations group for this extension method. @@ -181,7 +319,7 @@ public static WorkflowTriggerCallbackUrl ListCallbackUrl(this IWorkflowTriggersO } /// <summary> - /// Gets the callback URL for a workflow trigger. + /// Get the callback URL for a workflow trigger. /// </summary> /// <param name='operations'> /// The operations group for this extension method. @@ -242,4 +380,3 @@ public static IPage<WorkflowTrigger> ListNext(this IWorkflowTriggersOperations o } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/WorkflowVersionTriggersOperations.cs b/src/SDKs/Logic/Management.Logic/Generated/WorkflowVersionTriggersOperations.cs new file mode 100644 index 0000000000000..5785ada9a9d71 --- /dev/null +++ b/src/SDKs/Logic/Management.Logic/Generated/WorkflowVersionTriggersOperations.cs @@ -0,0 +1,278 @@ +// <auto-generated> +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// </auto-generated> + +namespace Microsoft.Azure.Management.Logic +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; + + /// <summary> + /// WorkflowVersionTriggersOperations operations. + /// </summary> + internal partial class WorkflowVersionTriggersOperations : IServiceOperations<LogicManagementClient>, IWorkflowVersionTriggersOperations + { + /// <summary> + /// Initializes a new instance of the WorkflowVersionTriggersOperations class. + /// </summary> + /// <param name='client'> + /// Reference to the service client. + /// </param> + /// <exception cref="System.ArgumentNullException"> + /// Thrown when a required parameter is null + /// </exception> + internal WorkflowVersionTriggersOperations(LogicManagementClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + Client = client; + } + + /// <summary> + /// Gets a reference to the LogicManagementClient + /// </summary> + public LogicManagementClient Client { get; private set; } + + /// <summary> + /// Get the callback url for a trigger of a workflow version. + /// </summary> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='workflowName'> + /// The workflow name. + /// </param> + /// <param name='versionId'> + /// The workflow versionId. + /// </param> + /// <param name='triggerName'> + /// The workflow trigger name. + /// </param> + /// <param name='parameters'> + /// The callback URL parameters. + /// </param> + /// <param name='customHeaders'> + /// Headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="CloudException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="SerializationException"> + /// Thrown when unable to deserialize the response + /// </exception> + /// <exception cref="ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + /// <exception cref="System.ArgumentNullException"> + /// Thrown when a required parameter is null + /// </exception> + /// <return> + /// A response object containing the response body and response headers. + /// </return> + public async Task<AzureOperationResponse<WorkflowTriggerCallbackUrl>> ListCallbackUrlWithHttpMessagesAsync(string resourceGroupName, string workflowName, string versionId, string triggerName, GetCallbackUrlParameters parameters = default(GetCallbackUrlParameters), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (workflowName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "workflowName"); + } + if (versionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "versionId"); + } + if (triggerName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "triggerName"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary<string, object> tracingParameters = new Dictionary<string, object>(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("workflowName", workflowName); + tracingParameters.Add("versionId", versionId); + tracingParameters.Add("triggerName", triggerName); + tracingParameters.Add("parameters", parameters); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListCallbackUrl", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/versions/{versionId}/triggers/{triggerName}/listCallbackUrl").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{workflowName}", System.Uri.EscapeDataString(workflowName)); + _url = _url.Replace("{versionId}", System.Uri.EscapeDataString(versionId)); + _url = _url.Replace("{triggerName}", System.Uri.EscapeDataString(triggerName)); + List<string> _queryParameters = new List<string>(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(parameters != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<CloudError>(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse<WorkflowTriggerCallbackUrl>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<WorkflowTriggerCallbackUrl>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + } +} diff --git a/src/SDKs/Logic/Management.Logic/Generated/WorkflowVersionTriggersOperationsExtensions.cs b/src/SDKs/Logic/Management.Logic/Generated/WorkflowVersionTriggersOperationsExtensions.cs new file mode 100644 index 0000000000000..8f57a4d302c59 --- /dev/null +++ b/src/SDKs/Logic/Management.Logic/Generated/WorkflowVersionTriggersOperationsExtensions.cs @@ -0,0 +1,83 @@ +// <auto-generated> +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// </auto-generated> + +namespace Microsoft.Azure.Management.Logic +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Threading; + using System.Threading.Tasks; + + /// <summary> + /// Extension methods for WorkflowVersionTriggersOperations. + /// </summary> + public static partial class WorkflowVersionTriggersOperationsExtensions + { + /// <summary> + /// Get the callback url for a trigger of a workflow version. + /// </summary> + /// <param name='operations'> + /// The operations group for this extension method. + /// </param> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='workflowName'> + /// The workflow name. + /// </param> + /// <param name='versionId'> + /// The workflow versionId. + /// </param> + /// <param name='triggerName'> + /// The workflow trigger name. + /// </param> + /// <param name='parameters'> + /// The callback URL parameters. + /// </param> + public static WorkflowTriggerCallbackUrl ListCallbackUrl(this IWorkflowVersionTriggersOperations operations, string resourceGroupName, string workflowName, string versionId, string triggerName, GetCallbackUrlParameters parameters = default(GetCallbackUrlParameters)) + { + return operations.ListCallbackUrlAsync(resourceGroupName, workflowName, versionId, triggerName, parameters).GetAwaiter().GetResult(); + } + + /// <summary> + /// Get the callback url for a trigger of a workflow version. + /// </summary> + /// <param name='operations'> + /// The operations group for this extension method. + /// </param> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='workflowName'> + /// The workflow name. + /// </param> + /// <param name='versionId'> + /// The workflow versionId. + /// </param> + /// <param name='triggerName'> + /// The workflow trigger name. + /// </param> + /// <param name='parameters'> + /// The callback URL parameters. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + public static async Task<WorkflowTriggerCallbackUrl> ListCallbackUrlAsync(this IWorkflowVersionTriggersOperations operations, string resourceGroupName, string workflowName, string versionId, string triggerName, GetCallbackUrlParameters parameters = default(GetCallbackUrlParameters), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListCallbackUrlWithHttpMessagesAsync(resourceGroupName, workflowName, versionId, triggerName, parameters, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + } +} diff --git a/src/SDKs/Logic/Management.Logic/Generated/WorkflowVersionsOperations.cs b/src/SDKs/Logic/Management.Logic/Generated/WorkflowVersionsOperations.cs index d6950f6d9127e..b385194916946 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/WorkflowVersionsOperations.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/WorkflowVersionsOperations.cs @@ -1,17 +1,17 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic { - using Azure; - using Management; - using Rest; - using Rest.Azure; + using Microsoft.Rest; + using Microsoft.Rest.Azure; using Models; using Newtonsoft.Json; using System.Collections; @@ -134,9 +134,9 @@ internal WorkflowVersionsOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -339,9 +339,9 @@ internal WorkflowVersionsOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -459,230 +459,6 @@ internal WorkflowVersionsOperations(LogicManagementClient client) return _result; } - /// <summary> - /// Lists the callback URL for a trigger of a workflow version. - /// </summary> - /// <param name='resourceGroupName'> - /// The resource group name. - /// </param> - /// <param name='workflowName'> - /// The workflow name. - /// </param> - /// <param name='versionId'> - /// The workflow versionId. - /// </param> - /// <param name='triggerName'> - /// The workflow trigger name. - /// </param> - /// <param name='parameters'> - /// The callback URL parameters. - /// </param> - /// <param name='customHeaders'> - /// Headers that will be added to request. - /// </param> - /// <param name='cancellationToken'> - /// The cancellation token. - /// </param> - /// <exception cref="CloudException"> - /// Thrown when the operation returned an invalid status code - /// </exception> - /// <exception cref="SerializationException"> - /// Thrown when unable to deserialize the response - /// </exception> - /// <exception cref="ValidationException"> - /// Thrown when a required parameter is null - /// </exception> - /// <exception cref="System.ArgumentNullException"> - /// Thrown when a required parameter is null - /// </exception> - /// <return> - /// A response object containing the response body and response headers. - /// </return> - public async Task<AzureOperationResponse<WorkflowTriggerCallbackUrl>> ListCallbackUrlWithHttpMessagesAsync(string resourceGroupName, string workflowName, string versionId, string triggerName, GetCallbackUrlParameters parameters = default(GetCallbackUrlParameters), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (Client.SubscriptionId == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (resourceGroupName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); - } - if (workflowName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "workflowName"); - } - if (versionId == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "versionId"); - } - if (triggerName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "triggerName"); - } - if (Client.ApiVersion == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary<string, object> tracingParameters = new Dictionary<string, object>(); - tracingParameters.Add("resourceGroupName", resourceGroupName); - tracingParameters.Add("workflowName", workflowName); - tracingParameters.Add("versionId", versionId); - tracingParameters.Add("triggerName", triggerName); - tracingParameters.Add("parameters", parameters); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListCallbackUrl", tracingParameters); - } - // Construct URL - var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/versions/{versionId}/triggers/{triggerName}/listCallbackUrl").ToString(); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); - _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); - _url = _url.Replace("{workflowName}", System.Uri.EscapeDataString(workflowName)); - _url = _url.Replace("{versionId}", System.Uri.EscapeDataString(versionId)); - _url = _url.Replace("{triggerName}", System.Uri.EscapeDataString(triggerName)); - List<string> _queryParameters = new List<string>(); - if (Client.ApiVersion != null) - { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); - } - if (_queryParameters.Count > 0) - { - _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("POST"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) - { - _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); - } - if (Client.AcceptLanguage != null) - { - if (_httpRequest.Headers.Contains("accept-language")) - { - _httpRequest.Headers.Remove("accept-language"); - } - _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); - } - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(parameters != null) - { - _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); - _httpRequest.Content = new System.Net.Http.StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Client.Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200) - { - var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - try - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<CloudError>(_responseContent, Client.DeserializationSettings); - if (_errorBody != null) - { - ex = new CloudException(_errorBody.Message); - ex.Body = _errorBody; - } - } - catch (JsonException) - { - // Ignore the exception - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new AzureOperationResponse<WorkflowTriggerCallbackUrl>(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<WorkflowTriggerCallbackUrl>(_responseContent, Client.DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - /// <summary> /// Gets a list of workflow versions. /// </summary> @@ -736,9 +512,9 @@ internal WorkflowVersionsOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -858,4 +634,3 @@ internal WorkflowVersionsOperations(LogicManagementClient client) } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/WorkflowVersionsOperationsExtensions.cs b/src/SDKs/Logic/Management.Logic/Generated/WorkflowVersionsOperationsExtensions.cs index cf91b2efc98d8..099b66b6f03cb 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/WorkflowVersionsOperationsExtensions.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/WorkflowVersionsOperationsExtensions.cs @@ -1,17 +1,17 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic { - using Azure; - using Management; - using Rest; - using Rest.Azure; + using Microsoft.Rest; + using Microsoft.Rest.Azure; using Models; using System.Threading; using System.Threading.Tasks; @@ -113,64 +113,6 @@ public static WorkflowVersion Get(this IWorkflowVersionsOperations operations, s } } - /// <summary> - /// Lists the callback URL for a trigger of a workflow version. - /// </summary> - /// <param name='operations'> - /// The operations group for this extension method. - /// </param> - /// <param name='resourceGroupName'> - /// The resource group name. - /// </param> - /// <param name='workflowName'> - /// The workflow name. - /// </param> - /// <param name='versionId'> - /// The workflow versionId. - /// </param> - /// <param name='triggerName'> - /// The workflow trigger name. - /// </param> - /// <param name='parameters'> - /// The callback URL parameters. - /// </param> - public static WorkflowTriggerCallbackUrl ListCallbackUrl(this IWorkflowVersionsOperations operations, string resourceGroupName, string workflowName, string versionId, string triggerName, GetCallbackUrlParameters parameters = default(GetCallbackUrlParameters)) - { - return operations.ListCallbackUrlAsync(resourceGroupName, workflowName, versionId, triggerName, parameters).GetAwaiter().GetResult(); - } - - /// <summary> - /// Lists the callback URL for a trigger of a workflow version. - /// </summary> - /// <param name='operations'> - /// The operations group for this extension method. - /// </param> - /// <param name='resourceGroupName'> - /// The resource group name. - /// </param> - /// <param name='workflowName'> - /// The workflow name. - /// </param> - /// <param name='versionId'> - /// The workflow versionId. - /// </param> - /// <param name='triggerName'> - /// The workflow trigger name. - /// </param> - /// <param name='parameters'> - /// The callback URL parameters. - /// </param> - /// <param name='cancellationToken'> - /// The cancellation token. - /// </param> - public static async Task<WorkflowTriggerCallbackUrl> ListCallbackUrlAsync(this IWorkflowVersionsOperations operations, string resourceGroupName, string workflowName, string versionId, string triggerName, GetCallbackUrlParameters parameters = default(GetCallbackUrlParameters), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ListCallbackUrlWithHttpMessagesAsync(resourceGroupName, workflowName, versionId, triggerName, parameters, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - /// <summary> /// Gets a list of workflow versions. /// </summary> @@ -207,4 +149,3 @@ public static IPage<WorkflowVersion> ListNext(this IWorkflowVersionsOperations o } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/WorkflowsOperations.cs b/src/SDKs/Logic/Management.Logic/Generated/WorkflowsOperations.cs index 4c6f1c9f660b7..3c1fbf42137a1 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/WorkflowsOperations.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/WorkflowsOperations.cs @@ -1,18 +1,18 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic { - using Azure; - using Management; - using Rest; - using Rest.Azure; - using Rest.Azure.OData; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; using Models; using Newtonsoft.Json; using System.Collections; @@ -121,9 +121,9 @@ internal WorkflowsOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -320,9 +320,9 @@ internal WorkflowsOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -516,9 +516,9 @@ internal WorkflowsOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -724,9 +724,9 @@ internal WorkflowsOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("PUT"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PUT"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -760,7 +760,7 @@ internal WorkflowsOperations(LogicManagementClient client) if(workflow != null) { _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(workflow, Client.SerializationSettings); - _httpRequest.Content = new System.Net.Http.StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); } // Set Credentials @@ -952,9 +952,9 @@ internal WorkflowsOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("PATCH"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PATCH"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -988,7 +988,7 @@ internal WorkflowsOperations(LogicManagementClient client) if(workflow != null) { _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(workflow, Client.SerializationSettings); - _httpRequest.Content = new System.Net.Http.StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); } // Set Credentials @@ -1151,9 +1151,9 @@ internal WorkflowsOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("DELETE"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("DELETE"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -1207,11 +1207,561 @@ internal WorkflowsOperations(LogicManagementClient client) if ((int)_statusCode != 200 && (int)_statusCode != 204) { var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<CloudError>(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// <summary> + /// Disables a workflow. + /// </summary> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='workflowName'> + /// The workflow name. + /// </param> + /// <param name='customHeaders'> + /// Headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="CloudException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + /// <exception cref="System.ArgumentNullException"> + /// Thrown when a required parameter is null + /// </exception> + /// <return> + /// A response object containing the response body and response headers. + /// </return> + public async Task<AzureOperationResponse> DisableWithHttpMessagesAsync(string resourceGroupName, string workflowName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (workflowName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "workflowName"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary<string, object> tracingParameters = new Dictionary<string, object>(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("workflowName", workflowName); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Disable", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/disable").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{workflowName}", System.Uri.EscapeDataString(workflowName)); + List<string> _queryParameters = new List<string>(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<CloudError>(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// <summary> + /// Enables a workflow. + /// </summary> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='workflowName'> + /// The workflow name. + /// </param> + /// <param name='customHeaders'> + /// Headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="CloudException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + /// <exception cref="System.ArgumentNullException"> + /// Thrown when a required parameter is null + /// </exception> + /// <return> + /// A response object containing the response body and response headers. + /// </return> + public async Task<AzureOperationResponse> EnableWithHttpMessagesAsync(string resourceGroupName, string workflowName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (workflowName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "workflowName"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary<string, object> tracingParameters = new Dictionary<string, object>(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("workflowName", workflowName); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Enable", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/enable").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{workflowName}", System.Uri.EscapeDataString(workflowName)); + List<string> _queryParameters = new List<string>(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<CloudError>(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// <summary> + /// Generates the upgraded definition for a workflow. + /// </summary> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='workflowName'> + /// The workflow name. + /// </param> + /// <param name='parameters'> + /// Parameters for generating an upgraded definition. + /// </param> + /// <param name='customHeaders'> + /// Headers that will be added to request. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + /// <exception cref="CloudException"> + /// Thrown when the operation returned an invalid status code + /// </exception> + /// <exception cref="SerializationException"> + /// Thrown when unable to deserialize the response + /// </exception> + /// <exception cref="ValidationException"> + /// Thrown when a required parameter is null + /// </exception> + /// <exception cref="System.ArgumentNullException"> + /// Thrown when a required parameter is null + /// </exception> + /// <return> + /// A response object containing the response body and response headers. + /// </return> + public async Task<AzureOperationResponse<object>> GenerateUpgradedDefinitionWithHttpMessagesAsync(string resourceGroupName, string workflowName, GenerateUpgradedDefinitionParameters parameters, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (workflowName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "workflowName"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (parameters == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "parameters"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary<string, object> tracingParameters = new Dictionary<string, object>(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("workflowName", workflowName); + tracingParameters.Add("parameters", parameters); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GenerateUpgradedDefinition", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/generateUpgradedDefinition").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{workflowName}", System.Uri.EscapeDataString(workflowName)); + List<string> _queryParameters = new List<string>(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(parameters != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<CloudError>(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } } - else { - _responseContent = string.Empty; + catch (JsonException) + { + // Ignore the exception } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); @@ -1231,13 +1781,31 @@ internal WorkflowsOperations(LogicManagementClient client) throw ex; } // Create Result - var _result = new AzureOperationResponse(); + var _result = new AzureOperationResponse<object>(); _result.Request = _httpRequest; _result.Response = _httpResponse; if (_httpResponse.Headers.Contains("x-ms-request-id")) { _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<object>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -1246,7 +1814,7 @@ internal WorkflowsOperations(LogicManagementClient client) } /// <summary> - /// Disables a workflow. + /// Get the workflow callback Url. /// </summary> /// <param name='resourceGroupName'> /// The resource group name. @@ -1254,6 +1822,9 @@ internal WorkflowsOperations(LogicManagementClient client) /// <param name='workflowName'> /// The workflow name. /// </param> + /// <param name='listCallbackUrl'> + /// Which callback url to list. + /// </param> /// <param name='customHeaders'> /// Headers that will be added to request. /// </param> @@ -1263,6 +1834,9 @@ internal WorkflowsOperations(LogicManagementClient client) /// <exception cref="CloudException"> /// Thrown when the operation returned an invalid status code /// </exception> + /// <exception cref="SerializationException"> + /// Thrown when unable to deserialize the response + /// </exception> /// <exception cref="ValidationException"> /// Thrown when a required parameter is null /// </exception> @@ -1272,7 +1846,7 @@ internal WorkflowsOperations(LogicManagementClient client) /// <return> /// A response object containing the response body and response headers. /// </return> - public async Task<AzureOperationResponse> DisableWithHttpMessagesAsync(string resourceGroupName, string workflowName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task<AzureOperationResponse<WorkflowTriggerCallbackUrl>> ListCallbackUrlWithHttpMessagesAsync(string resourceGroupName, string workflowName, GetCallbackUrlParameters listCallbackUrl, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (Client.SubscriptionId == null) { @@ -1286,6 +1860,10 @@ internal WorkflowsOperations(LogicManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "workflowName"); } + if (listCallbackUrl == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "listCallbackUrl"); + } if (Client.ApiVersion == null) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); @@ -1299,12 +1877,13 @@ internal WorkflowsOperations(LogicManagementClient client) Dictionary<string, object> tracingParameters = new Dictionary<string, object>(); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("workflowName", workflowName); + tracingParameters.Add("listCallbackUrl", listCallbackUrl); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "Disable", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListCallbackUrl", tracingParameters); } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/disable").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/listCallbackUrl").ToString(); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{workflowName}", System.Uri.EscapeDataString(workflowName)); @@ -1318,9 +1897,9 @@ internal WorkflowsOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("POST"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("POST"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -1351,6 +1930,12 @@ internal WorkflowsOperations(LogicManagementClient client) // Serialize Request string _requestContent = null; + if(listCallbackUrl != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(listCallbackUrl, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } // Set Credentials if (Client.Credentials != null) { @@ -1374,11 +1959,19 @@ internal WorkflowsOperations(LogicManagementClient client) if ((int)_statusCode != 200) { var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { + try + { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<CloudError>(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } } - else { - _responseContent = string.Empty; + catch (JsonException) + { + // Ignore the exception } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); @@ -1398,13 +1991,31 @@ internal WorkflowsOperations(LogicManagementClient client) throw ex; } // Create Result - var _result = new AzureOperationResponse(); + var _result = new AzureOperationResponse<WorkflowTriggerCallbackUrl>(); _result.Request = _httpRequest; _result.Response = _httpResponse; if (_httpResponse.Headers.Contains("x-ms-request-id")) { _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<WorkflowTriggerCallbackUrl>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -1413,7 +2024,7 @@ internal WorkflowsOperations(LogicManagementClient client) } /// <summary> - /// Enables a workflow. + /// Gets an OpenAPI definition for the workflow. /// </summary> /// <param name='resourceGroupName'> /// The resource group name. @@ -1430,6 +2041,9 @@ internal WorkflowsOperations(LogicManagementClient client) /// <exception cref="CloudException"> /// Thrown when the operation returned an invalid status code /// </exception> + /// <exception cref="SerializationException"> + /// Thrown when unable to deserialize the response + /// </exception> /// <exception cref="ValidationException"> /// Thrown when a required parameter is null /// </exception> @@ -1439,7 +2053,7 @@ internal WorkflowsOperations(LogicManagementClient client) /// <return> /// A response object containing the response body and response headers. /// </return> - public async Task<AzureOperationResponse> EnableWithHttpMessagesAsync(string resourceGroupName, string workflowName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task<AzureOperationResponse<object>> ListSwaggerWithHttpMessagesAsync(string resourceGroupName, string workflowName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (Client.SubscriptionId == null) { @@ -1467,11 +2081,11 @@ internal WorkflowsOperations(LogicManagementClient client) tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("workflowName", workflowName); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "Enable", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListSwagger", tracingParameters); } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/enable").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/listSwagger").ToString(); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{workflowName}", System.Uri.EscapeDataString(workflowName)); @@ -1485,9 +2099,9 @@ internal WorkflowsOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("POST"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("POST"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -1541,11 +2155,19 @@ internal WorkflowsOperations(LogicManagementClient client) if ((int)_statusCode != 200) { var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { + try + { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<CloudError>(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } } - else { - _responseContent = string.Empty; + catch (JsonException) + { + // Ignore the exception } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); @@ -1565,13 +2187,31 @@ internal WorkflowsOperations(LogicManagementClient client) throw ex; } // Create Result - var _result = new AzureOperationResponse(); + var _result = new AzureOperationResponse<object>(); _result.Request = _httpRequest; _result.Response = _httpResponse; if (_httpResponse.Headers.Contains("x-ms-request-id")) { _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<object>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -1580,7 +2220,7 @@ internal WorkflowsOperations(LogicManagementClient client) } /// <summary> - /// Generates the upgraded definition for a workflow. + /// Moves an existing workflow. /// </summary> /// <param name='resourceGroupName'> /// The resource group name. @@ -1588,8 +2228,8 @@ internal WorkflowsOperations(LogicManagementClient client) /// <param name='workflowName'> /// The workflow name. /// </param> - /// <param name='parameters'> - /// Parameters for generating an upgraded definition. + /// <param name='move'> + /// The workflow to move. /// </param> /// <param name='customHeaders'> /// Headers that will be added to request. @@ -1600,9 +2240,6 @@ internal WorkflowsOperations(LogicManagementClient client) /// <exception cref="CloudException"> /// Thrown when the operation returned an invalid status code /// </exception> - /// <exception cref="SerializationException"> - /// Thrown when unable to deserialize the response - /// </exception> /// <exception cref="ValidationException"> /// Thrown when a required parameter is null /// </exception> @@ -1612,7 +2249,7 @@ internal WorkflowsOperations(LogicManagementClient client) /// <return> /// A response object containing the response body and response headers. /// </return> - public async Task<AzureOperationResponse<object>> GenerateUpgradedDefinitionWithHttpMessagesAsync(string resourceGroupName, string workflowName, GenerateUpgradedDefinitionParameters parameters, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task<AzureOperationResponse> MoveWithHttpMessagesAsync(string resourceGroupName, string workflowName, Workflow move, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (Client.SubscriptionId == null) { @@ -1626,13 +2263,17 @@ internal WorkflowsOperations(LogicManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "workflowName"); } - if (Client.ApiVersion == null) + if (move == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + throw new ValidationException(ValidationRules.CannotBeNull, "move"); } - if (parameters == null) + if (move != null) { - throw new ValidationException(ValidationRules.CannotBeNull, "parameters"); + move.Validate(); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -1643,13 +2284,13 @@ internal WorkflowsOperations(LogicManagementClient client) Dictionary<string, object> tracingParameters = new Dictionary<string, object>(); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("workflowName", workflowName); - tracingParameters.Add("parameters", parameters); + tracingParameters.Add("move", move); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GenerateUpgradedDefinition", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "Move", tracingParameters); } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/generateUpgradedDefinition").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/move").ToString(); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{workflowName}", System.Uri.EscapeDataString(workflowName)); @@ -1663,9 +2304,9 @@ internal WorkflowsOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("POST"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("POST"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -1696,10 +2337,10 @@ internal WorkflowsOperations(LogicManagementClient client) // Serialize Request string _requestContent = null; - if(parameters != null) + if(move != null) { - _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); - _httpRequest.Content = new System.Net.Http.StringContent(_requestContent, System.Text.Encoding.UTF8); + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(move, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); } // Set Credentials @@ -1722,7 +2363,7 @@ internal WorkflowsOperations(LogicManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200) + if ((int)_statusCode != 200 && (int)_statusCode != 202) { var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -1757,31 +2398,13 @@ internal WorkflowsOperations(LogicManagementClient client) throw ex; } // Create Result - var _result = new AzureOperationResponse<object>(); + var _result = new AzureOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; if (_httpResponse.Headers.Contains("x-ms-request-id")) { _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); } - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<object>(_responseContent, Client.DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -1790,7 +2413,7 @@ internal WorkflowsOperations(LogicManagementClient client) } /// <summary> - /// Gets an OpenAPI definition for the workflow. + /// Regenerates the callback URL access key for request triggers. /// </summary> /// <param name='resourceGroupName'> /// The resource group name. @@ -1798,6 +2421,9 @@ internal WorkflowsOperations(LogicManagementClient client) /// <param name='workflowName'> /// The workflow name. /// </param> + /// <param name='keyType'> + /// The access key type. + /// </param> /// <param name='customHeaders'> /// Headers that will be added to request. /// </param> @@ -1807,9 +2433,6 @@ internal WorkflowsOperations(LogicManagementClient client) /// <exception cref="CloudException"> /// Thrown when the operation returned an invalid status code /// </exception> - /// <exception cref="SerializationException"> - /// Thrown when unable to deserialize the response - /// </exception> /// <exception cref="ValidationException"> /// Thrown when a required parameter is null /// </exception> @@ -1819,7 +2442,7 @@ internal WorkflowsOperations(LogicManagementClient client) /// <return> /// A response object containing the response body and response headers. /// </return> - public async Task<AzureOperationResponse<object>> ListSwaggerWithHttpMessagesAsync(string resourceGroupName, string workflowName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task<AzureOperationResponse> RegenerateAccessKeyWithHttpMessagesAsync(string resourceGroupName, string workflowName, RegenerateActionParameter keyType, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (Client.SubscriptionId == null) { @@ -1833,6 +2456,10 @@ internal WorkflowsOperations(LogicManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "workflowName"); } + if (keyType == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "keyType"); + } if (Client.ApiVersion == null) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); @@ -1846,12 +2473,13 @@ internal WorkflowsOperations(LogicManagementClient client) Dictionary<string, object> tracingParameters = new Dictionary<string, object>(); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("workflowName", workflowName); + tracingParameters.Add("keyType", keyType); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListSwagger", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "RegenerateAccessKey", tracingParameters); } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/listSwagger").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/regenerateAccessKey").ToString(); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{workflowName}", System.Uri.EscapeDataString(workflowName)); @@ -1865,9 +2493,9 @@ internal WorkflowsOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("POST"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("POST"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -1898,6 +2526,12 @@ internal WorkflowsOperations(LogicManagementClient client) // Serialize Request string _requestContent = null; + if(keyType != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(keyType, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } // Set Credentials if (Client.Credentials != null) { @@ -1953,31 +2587,13 @@ internal WorkflowsOperations(LogicManagementClient client) throw ex; } // Create Result - var _result = new AzureOperationResponse<object>(); + var _result = new AzureOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; if (_httpResponse.Headers.Contains("x-ms-request-id")) { _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); } - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject<object>(_responseContent, Client.DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -1986,7 +2602,7 @@ internal WorkflowsOperations(LogicManagementClient client) } /// <summary> - /// Regenerates the callback URL access key for request triggers. + /// Validates the workflow. /// </summary> /// <param name='resourceGroupName'> /// The resource group name. @@ -1994,8 +2610,8 @@ internal WorkflowsOperations(LogicManagementClient client) /// <param name='workflowName'> /// The workflow name. /// </param> - /// <param name='keyType'> - /// The access key type. + /// <param name='validate'> + /// The workflow. /// </param> /// <param name='customHeaders'> /// Headers that will be added to request. @@ -2015,7 +2631,7 @@ internal WorkflowsOperations(LogicManagementClient client) /// <return> /// A response object containing the response body and response headers. /// </return> - public async Task<AzureOperationResponse> RegenerateAccessKeyWithHttpMessagesAsync(string resourceGroupName, string workflowName, RegenerateActionParameter keyType, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task<AzureOperationResponse> ValidateByResourceGroupWithHttpMessagesAsync(string resourceGroupName, string workflowName, Workflow validate, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (Client.SubscriptionId == null) { @@ -2029,9 +2645,13 @@ internal WorkflowsOperations(LogicManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "workflowName"); } - if (keyType == null) + if (validate == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "keyType"); + throw new ValidationException(ValidationRules.CannotBeNull, "validate"); + } + if (validate != null) + { + validate.Validate(); } if (Client.ApiVersion == null) { @@ -2046,13 +2666,13 @@ internal WorkflowsOperations(LogicManagementClient client) Dictionary<string, object> tracingParameters = new Dictionary<string, object>(); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("workflowName", workflowName); - tracingParameters.Add("keyType", keyType); + tracingParameters.Add("validate", validate); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "RegenerateAccessKey", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ValidateByResourceGroup", tracingParameters); } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/regenerateAccessKey").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/validate").ToString(); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{workflowName}", System.Uri.EscapeDataString(workflowName)); @@ -2066,9 +2686,9 @@ internal WorkflowsOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("POST"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("POST"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -2099,10 +2719,10 @@ internal WorkflowsOperations(LogicManagementClient client) // Serialize Request string _requestContent = null; - if(keyType != null) + if(validate != null) { - _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(keyType, Client.SerializationSettings); - _httpRequest.Content = new System.Net.Http.StringContent(_requestContent, System.Text.Encoding.UTF8); + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(validate, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); } // Set Credentials @@ -2128,11 +2748,19 @@ internal WorkflowsOperations(LogicManagementClient client) if ((int)_statusCode != 200) { var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { + try + { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<CloudError>(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } } - else { - _responseContent = string.Empty; + catch (JsonException) + { + // Ignore the exception } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); @@ -2199,7 +2827,7 @@ internal WorkflowsOperations(LogicManagementClient client) /// <return> /// A response object containing the response body and response headers. /// </return> - public async Task<AzureOperationResponse> ValidateWithHttpMessagesAsync(string resourceGroupName, string location, string workflowName, Workflow workflow, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task<AzureOperationResponse> ValidateByLocationWithHttpMessagesAsync(string resourceGroupName, string location, string workflowName, Workflow workflow, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (Client.SubscriptionId == null) { @@ -2241,7 +2869,7 @@ internal WorkflowsOperations(LogicManagementClient client) tracingParameters.Add("workflowName", workflowName); tracingParameters.Add("workflow", workflow); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "Validate", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ValidateByLocation", tracingParameters); } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; @@ -2260,9 +2888,9 @@ internal WorkflowsOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("POST"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("POST"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -2296,7 +2924,7 @@ internal WorkflowsOperations(LogicManagementClient client) if(workflow != null) { _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(workflow, Client.SerializationSettings); - _httpRequest.Content = new System.Net.Http.StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); } // Set Credentials @@ -2322,11 +2950,19 @@ internal WorkflowsOperations(LogicManagementClient client) if ((int)_statusCode != 200) { var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) { + try + { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject<CloudError>(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } } - else { - _responseContent = string.Empty; + catch (JsonException) + { + // Ignore the exception } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); @@ -2413,9 +3049,9 @@ internal WorkflowsOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -2586,9 +3222,9 @@ internal WorkflowsOperations(LogicManagementClient client) _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); } // Create HTTP transport objects - var _httpRequest = new System.Net.Http.HttpRequestMessage(); - System.Net.Http.HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new System.Net.Http.HttpMethod("GET"); + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -2708,4 +3344,3 @@ internal WorkflowsOperations(LogicManagementClient client) } } - diff --git a/src/SDKs/Logic/Management.Logic/Generated/WorkflowsOperationsExtensions.cs b/src/SDKs/Logic/Management.Logic/Generated/WorkflowsOperationsExtensions.cs index 8d144fad0f19a..44ee7a70bcbde 100644 --- a/src/SDKs/Logic/Management.Logic/Generated/WorkflowsOperationsExtensions.cs +++ b/src/SDKs/Logic/Management.Logic/Generated/WorkflowsOperationsExtensions.cs @@ -1,18 +1,18 @@ +// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// </auto-generated> namespace Microsoft.Azure.Management.Logic { - using Azure; - using Management; - using Rest; - using Rest.Azure; - using Rest.Azure.OData; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; using Models; using System.Threading; using System.Threading.Tasks; @@ -262,7 +262,7 @@ public static void Delete(this IWorkflowsOperations operations, string resourceG /// </param> public static async Task DeleteAsync(this IWorkflowsOperations operations, string resourceGroupName, string workflowName, CancellationToken cancellationToken = default(CancellationToken)) { - await operations.DeleteWithHttpMessagesAsync(resourceGroupName, workflowName, null, cancellationToken).ConfigureAwait(false); + (await operations.DeleteWithHttpMessagesAsync(resourceGroupName, workflowName, null, cancellationToken).ConfigureAwait(false)).Dispose(); } /// <summary> @@ -299,7 +299,7 @@ public static void Disable(this IWorkflowsOperations operations, string resource /// </param> public static async Task DisableAsync(this IWorkflowsOperations operations, string resourceGroupName, string workflowName, CancellationToken cancellationToken = default(CancellationToken)) { - await operations.DisableWithHttpMessagesAsync(resourceGroupName, workflowName, null, cancellationToken).ConfigureAwait(false); + (await operations.DisableWithHttpMessagesAsync(resourceGroupName, workflowName, null, cancellationToken).ConfigureAwait(false)).Dispose(); } /// <summary> @@ -336,7 +336,7 @@ public static void Enable(this IWorkflowsOperations operations, string resourceG /// </param> public static async Task EnableAsync(this IWorkflowsOperations operations, string resourceGroupName, string workflowName, CancellationToken cancellationToken = default(CancellationToken)) { - await operations.EnableWithHttpMessagesAsync(resourceGroupName, workflowName, null, cancellationToken).ConfigureAwait(false); + (await operations.EnableWithHttpMessagesAsync(resourceGroupName, workflowName, null, cancellationToken).ConfigureAwait(false)).Dispose(); } /// <summary> @@ -385,6 +385,52 @@ public static object GenerateUpgradedDefinition(this IWorkflowsOperations operat } } + /// <summary> + /// Get the workflow callback Url. + /// </summary> + /// <param name='operations'> + /// The operations group for this extension method. + /// </param> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='workflowName'> + /// The workflow name. + /// </param> + /// <param name='listCallbackUrl'> + /// Which callback url to list. + /// </param> + public static WorkflowTriggerCallbackUrl ListCallbackUrl(this IWorkflowsOperations operations, string resourceGroupName, string workflowName, GetCallbackUrlParameters listCallbackUrl) + { + return operations.ListCallbackUrlAsync(resourceGroupName, workflowName, listCallbackUrl).GetAwaiter().GetResult(); + } + + /// <summary> + /// Get the workflow callback Url. + /// </summary> + /// <param name='operations'> + /// The operations group for this extension method. + /// </param> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='workflowName'> + /// The workflow name. + /// </param> + /// <param name='listCallbackUrl'> + /// Which callback url to list. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + public static async Task<WorkflowTriggerCallbackUrl> ListCallbackUrlAsync(this IWorkflowsOperations operations, string resourceGroupName, string workflowName, GetCallbackUrlParameters listCallbackUrl, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListCallbackUrlWithHttpMessagesAsync(resourceGroupName, workflowName, listCallbackUrl, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + /// <summary> /// Gets an OpenAPI definition for the workflow. /// </summary> @@ -425,6 +471,49 @@ public static object ListSwagger(this IWorkflowsOperations operations, string re } } + /// <summary> + /// Moves an existing workflow. + /// </summary> + /// <param name='operations'> + /// The operations group for this extension method. + /// </param> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='workflowName'> + /// The workflow name. + /// </param> + /// <param name='move'> + /// The workflow to move. + /// </param> + public static void Move(this IWorkflowsOperations operations, string resourceGroupName, string workflowName, Workflow move) + { + operations.MoveAsync(resourceGroupName, workflowName, move).GetAwaiter().GetResult(); + } + + /// <summary> + /// Moves an existing workflow. + /// </summary> + /// <param name='operations'> + /// The operations group for this extension method. + /// </param> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='workflowName'> + /// The workflow name. + /// </param> + /// <param name='move'> + /// The workflow to move. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + public static async Task MoveAsync(this IWorkflowsOperations operations, string resourceGroupName, string workflowName, Workflow move, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.MoveWithHttpMessagesAsync(resourceGroupName, workflowName, move, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + /// <summary> /// Regenerates the callback URL access key for request triggers. /// </summary> @@ -465,7 +554,50 @@ public static void RegenerateAccessKey(this IWorkflowsOperations operations, str /// </param> public static async Task RegenerateAccessKeyAsync(this IWorkflowsOperations operations, string resourceGroupName, string workflowName, RegenerateActionParameter keyType, CancellationToken cancellationToken = default(CancellationToken)) { - await operations.RegenerateAccessKeyWithHttpMessagesAsync(resourceGroupName, workflowName, keyType, null, cancellationToken).ConfigureAwait(false); + (await operations.RegenerateAccessKeyWithHttpMessagesAsync(resourceGroupName, workflowName, keyType, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + /// <summary> + /// Validates the workflow. + /// </summary> + /// <param name='operations'> + /// The operations group for this extension method. + /// </param> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='workflowName'> + /// The workflow name. + /// </param> + /// <param name='validate'> + /// The workflow. + /// </param> + public static void ValidateByResourceGroup(this IWorkflowsOperations operations, string resourceGroupName, string workflowName, Workflow validate) + { + operations.ValidateByResourceGroupAsync(resourceGroupName, workflowName, validate).GetAwaiter().GetResult(); + } + + /// <summary> + /// Validates the workflow. + /// </summary> + /// <param name='operations'> + /// The operations group for this extension method. + /// </param> + /// <param name='resourceGroupName'> + /// The resource group name. + /// </param> + /// <param name='workflowName'> + /// The workflow name. + /// </param> + /// <param name='validate'> + /// The workflow. + /// </param> + /// <param name='cancellationToken'> + /// The cancellation token. + /// </param> + public static async Task ValidateByResourceGroupAsync(this IWorkflowsOperations operations, string resourceGroupName, string workflowName, Workflow validate, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.ValidateByResourceGroupWithHttpMessagesAsync(resourceGroupName, workflowName, validate, null, cancellationToken).ConfigureAwait(false)).Dispose(); } /// <summary> @@ -486,9 +618,9 @@ public static void RegenerateAccessKey(this IWorkflowsOperations operations, str /// <param name='workflow'> /// The workflow definition. /// </param> - public static void Validate(this IWorkflowsOperations operations, string resourceGroupName, string location, string workflowName, Workflow workflow) + public static void ValidateByLocation(this IWorkflowsOperations operations, string resourceGroupName, string location, string workflowName, Workflow workflow) { - operations.ValidateAsync(resourceGroupName, location, workflowName, workflow).GetAwaiter().GetResult(); + operations.ValidateByLocationAsync(resourceGroupName, location, workflowName, workflow).GetAwaiter().GetResult(); } /// <summary> @@ -512,9 +644,9 @@ public static void Validate(this IWorkflowsOperations operations, string resourc /// <param name='cancellationToken'> /// The cancellation token. /// </param> - public static async Task ValidateAsync(this IWorkflowsOperations operations, string resourceGroupName, string location, string workflowName, Workflow workflow, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ValidateByLocationAsync(this IWorkflowsOperations operations, string resourceGroupName, string location, string workflowName, Workflow workflow, CancellationToken cancellationToken = default(CancellationToken)) { - await operations.ValidateWithHttpMessagesAsync(resourceGroupName, location, workflowName, workflow, null, cancellationToken).ConfigureAwait(false); + (await operations.ValidateByLocationWithHttpMessagesAsync(resourceGroupName, location, workflowName, workflow, null, cancellationToken).ConfigureAwait(false)).Dispose(); } /// <summary> @@ -587,4 +719,3 @@ public static IPage<Workflow> ListByResourceGroupNext(this IWorkflowsOperations } } - diff --git a/src/SDKs/Logic/Management.Logic/Microsoft.Azure.Management.Logic.csproj b/src/SDKs/Logic/Management.Logic/Microsoft.Azure.Management.Logic.csproj index b9fcc803c3c84..c9cc4ef4e5448 100644 --- a/src/SDKs/Logic/Management.Logic/Microsoft.Azure.Management.Logic.csproj +++ b/src/SDKs/Logic/Management.Logic/Microsoft.Azure.Management.Logic.csproj @@ -5,10 +5,18 @@ <PropertyGroup> <Description>Microsoft Azure LogicApps Management Library</Description> - <Version>3.1.0</Version> + <Version>4.0.0</Version> <PackageId>Microsoft.Azure.Management.Logic</PackageId> <PackageTags>Microsoft Azure LogicApps management;LogicApps;LogicApps management;</PackageTags> - <PackageReleaseNotes/> + <PackageReleaseNotes> + <![CDATA[ + - Updated API Version to 2018-07-01-preview + - Most enums have become strings, added Liquid, XSLT 2.0 and 3.0 to Integration Account Maps, and Basic to Integration Account Sku + - Added IntegrationAccountAssemblies, IntegrationAccountBatchConfigurations, WorkflowRunActionRepetitions, WorkflowRunActionScopeRepetitions, WorkflowVersionTriggers, WorkflowRunOperations + - Several operations have changed name, primarily ListByIntegrationAccounts has become List + - Integration Account artifacts have all had IntegrationAccount added as a prefix to them (Example: Maps has become IntegrationAccountMaps) + - Many new operations have been added + ]]></PackageReleaseNotes> </PropertyGroup> <PropertyGroup> <TargetFrameworks>net452;netstandard1.4</TargetFrameworks> diff --git a/src/SDKs/Logic/Management.Logic/Properties/AssemblyInfo.cs b/src/SDKs/Logic/Management.Logic/Properties/AssemblyInfo.cs index 864d3ba585b82..cbbd347e0fdbb 100644 --- a/src/SDKs/Logic/Management.Logic/Properties/AssemblyInfo.cs +++ b/src/SDKs/Logic/Management.Logic/Properties/AssemblyInfo.cs @@ -11,8 +11,8 @@ [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Microsoft")] [assembly: AssemblyProduct("Azure .NET SDK")] -[assembly: AssemblyVersion("3.0.0.0")] -[assembly: AssemblyFileVersion("3.1.0.0")] +[assembly: AssemblyVersion("4.0.0.0")] +[assembly: AssemblyFileVersion("4.0.0.0")] [assembly: AssemblyCopyright("Copyright (c) Microsoft Corporation")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] diff --git a/src/SDKs/Logic/Management.Logic/generate.cmd b/src/SDKs/Logic/Management.Logic/generate.cmd deleted file mode 100644 index 4b0908ed14ff8..0000000000000 --- a/src/SDKs/Logic/Management.Logic/generate.cmd +++ /dev/null @@ -1,7 +0,0 @@ -:: -:: Microsoft Azure SDK for Net - Generate library code -:: Copyright (C) Microsoft Corporation. All Rights Reserved. -:: - -@echo off -call %~dp0..\..\..\..\tools\generate.cmd logic/resource-manager %* diff --git a/src/SDKs/Logic/Management.Logic/generate.ps1 b/src/SDKs/Logic/Management.Logic/generate.ps1 new file mode 100644 index 0000000000000..86e0e1c18c216 --- /dev/null +++ b/src/SDKs/Logic/Management.Logic/generate.ps1 @@ -0,0 +1 @@ +Start-AutoRestCodeGeneration -ResourceProvider "logic/resource-manager" -AutoRestVersion "latest" diff --git a/src/SDKs/_metadata/logic_resource-manager.txt b/src/SDKs/_metadata/logic_resource-manager.txt new file mode 100644 index 0000000000000..d3d88dba6dcf3 --- /dev/null +++ b/src/SDKs/_metadata/logic_resource-manager.txt @@ -0,0 +1,20 @@ +Installing AutoRest version: latest +AutoRest installed successfully. +Commencing code generation +Generating CSharp code +Executing AutoRest command +cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/logic/resource-manager/readme.md --csharp --version=latest --reflect-api-versions --csharp-sdks-folder=D:\src\Other\azure-sdk-for-net\src\SDKs +2018-09-17 22:50:07 UTC +1) azure-rest-api-specs repository information +GitHub fork: Azure +Branch: master +Commit: 6294790a3caf35527dbf387680660bb4ab3af36e + +2) AutoRest information +Requested version: latest +Bootstrapper version: autorest@2.0.4283 + + +Latest installed version: + +