diff --git a/AzurePowershell.Test.targets b/AzurePowershell.Test.targets
index 96d75364a44b..c7f24c47bbe7 100644
--- a/AzurePowershell.Test.targets
+++ b/AzurePowershell.Test.targets
@@ -24,6 +24,7 @@
.\src\ResourceManager\OperationalInsights\Commands.OperationalInsights.Test\bin\Debug\Microsoft.Azure.Commands.OperationalInsights.Test.dll
.\src\ResourceManager\AzureBatch\Commands.Batch.Test\bin\Debug\Microsoft.Azure.Commands.Batch.Test.dll
.\src\ResourceManager\Websites\Commands.Websites.Test\bin\Debug\Microsoft.Azure.Commands.Websites.Test.dll
+ .\src\ResourceManager\LogicApp\Commands.LogicApp.Test\bin\Debug\Microsoft.Azure.Commands.LogicApp.Test.dll
.\src\ServiceManagement\RemoteApp\Commands.RemoteApp.Test\bin\Debug\Microsoft.Azure.Commands.RemoteApp.Tests.dll
.\src\ServiceManagement\Compute\Commands.ServiceManagement.Test\bin\Debug\Microsoft.WindowsAzure.Commands.ServiceManagement.Test.dll
.\src\ServiceManagement\Sql\Commands.SqlDatabase.Test\bin\Debug\Microsoft.WindowsAzure.Commands.SqlDatabase.Test.dll
@@ -76,6 +77,7 @@
+
@@ -163,6 +165,12 @@
IncludeTraits="$(XUnitIncludedTrait)" MaxParallelThreads="0" ParallelizeAssemblies="false" ParallelizeTestCollections="false" />
+
+
+
+
+
diff --git a/ChangeLog.md b/ChangeLog.md
index 5a5f0f612015..ca50061a8f8b 100644
--- a/ChangeLog.md
+++ b/ChangeLog.md
@@ -1,3 +1,18 @@
+##2016.03.08 version 1.3.0
+* Azure LogicApp: New cmdlets for managing LogicApps
+ * Get-AzureLogicAppAccessKey
+ * Get-AzureLogicApp
+ * Get-AzureLogicAppRunAction
+ * Get-AzureLogicAppRunHistory
+ * Get-AzureLogicAppTrigger
+ * Get-AzureLogicAppTriggerHistory
+ * New-AzureLogicApp
+ * Remove-AzureLogicApp
+ * Start-AzureLogicApp
+ * Set-AzureLogicAppAccessKey
+ * Set-AzureLogicApp
+ * Stop-AzureLogicAppRun
+
## 2016.02.04 version 1.2.1
* Fix installer issue - remove PSGallery modules on install
diff --git a/setup/azurecmdfiles.wxi b/setup/azurecmdfiles.wxi
index 59c16954d621..a257f77c1b0f 100644
--- a/setup/azurecmdfiles.wxi
+++ b/setup/azurecmdfiles.wxi
@@ -1483,6 +1483,122 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -5412,6 +5528,44 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/ResourceManager.ForRefactoringOnly.sln b/src/ResourceManager.ForRefactoringOnly.sln
index c3c56344c748..d1914567a0a7 100644
--- a/src/ResourceManager.ForRefactoringOnly.sln
+++ b/src/ResourceManager.ForRefactoringOnly.sln
@@ -1,6 +1,6 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013
-VisualStudioVersion = 12.0.31101.0
+VisualStudioVersion = 12.0.40629.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{8531411A-0137-4E27-9C5E-49E07C245048}"
ProjectSection(SolutionItems) = preProject
@@ -139,6 +139,10 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Intune", "Resource
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Intune.Test", "ResourceManager\Intune\Commands.Intune.Test\Commands.Intune.Test.csproj", "{CA5F571B-550B-4BE3-9BA3-06442DF52768}"
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.LogicApp", "ResourceManager\LogicApp\Commands.LogicApp\Commands.LogicApp.csproj", "{FFE4E475-B32C-4F89-9D52-F7CEBF709C74}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.LogicApp.Test", "ResourceManager\LogicApp\Commands.LogicApp.Test\Commands.LogicApp.Test.csproj", "{F1F11BB1-592B-45A3-844C-7F8A585AD107}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -401,6 +405,14 @@ Global
{CA5F571B-550B-4BE3-9BA3-06442DF52768}.Debug|Any CPU.Build.0 = Debug|Any CPU
{CA5F571B-550B-4BE3-9BA3-06442DF52768}.Release|Any CPU.ActiveCfg = Release|Any CPU
{CA5F571B-550B-4BE3-9BA3-06442DF52768}.Release|Any CPU.Build.0 = Release|Any CPU
+ {FFE4E475-B32C-4F89-9D52-F7CEBF709C74}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {FFE4E475-B32C-4F89-9D52-F7CEBF709C74}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {FFE4E475-B32C-4F89-9D52-F7CEBF709C74}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {FFE4E475-B32C-4F89-9D52-F7CEBF709C74}.Release|Any CPU.Build.0 = Release|Any CPU
+ {F1F11BB1-592B-45A3-844C-7F8A585AD107}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {F1F11BB1-592B-45A3-844C-7F8A585AD107}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {F1F11BB1-592B-45A3-844C-7F8A585AD107}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {F1F11BB1-592B-45A3-844C-7F8A585AD107}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -434,5 +446,6 @@ Global
{B0D03ECF-9F25-499A-BE25-D668E0D208AA} = {95C16AED-FD57-42A0-86C3-2CF4300A4817}
{E6122DB1-1466-47EE-8BA0-73F9CA90F826} = {95C16AED-FD57-42A0-86C3-2CF4300A4817}
{CA5F571B-550B-4BE3-9BA3-06442DF52768} = {95C16AED-FD57-42A0-86C3-2CF4300A4817}
+ {F1F11BB1-592B-45A3-844C-7F8A585AD107} = {95C16AED-FD57-42A0-86C3-2CF4300A4817}
EndGlobalSection
EndGlobal
diff --git a/src/ResourceManager/LogicApp/.nuget/packages.config b/src/ResourceManager/LogicApp/.nuget/packages.config
new file mode 100644
index 000000000000..091917678945
--- /dev/null
+++ b/src/ResourceManager/LogicApp/.nuget/packages.config
@@ -0,0 +1,4 @@
+
+
+
+
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/AzureRM.LogicApp.psd1 b/src/ResourceManager/LogicApp/AzureRM.LogicApp.psd1
new file mode 100644
index 000000000000..2108193be467
--- /dev/null
+++ b/src/ResourceManager/LogicApp/AzureRM.LogicApp.psd1
@@ -0,0 +1,90 @@
+#
+# Module manifest for module 'Microsoft.Azure.Commands.LogicApp'
+#
+# Generated by: Microsoft Corporation
+#
+# Generated on: 10/22/2015
+#
+
+@{
+
+# Version number of this module.
+ModuleVersion = '1.0.0'
+
+# ID used to uniquely identify this module
+GUID = '8A7D44BB-E747-4265-8F22-B3937961D709'
+
+# Author of this module
+Author = 'Microsoft Corporation'
+
+# Company or vendor of this module
+CompanyName = 'Microsoft Corporation'
+
+# Copyright statement for this module
+Copyright = 'Microsoft Corporation. All rights reserved.'
+
+# Description of the functionality provided by this module
+Description = 'Microsoft Azure PowerShell - LogicApp cmdlets for Azure Resource Manager'
+
+# Minimum version of the Windows PowerShell engine required by this module
+PowerShellVersion = '3.0'
+
+# Name of the Windows PowerShell host required by this module
+PowerShellHostName = ''
+
+# Minimum version of the Windows PowerShell host required by this module
+PowerShellHostVersion = ''
+
+# Minimum version of the .NET Framework required by this module
+DotNetFrameworkVersion = '4.0'
+
+# Minimum version of the common language runtime (CLR) required by this module
+CLRVersion='4.0'
+
+# Processor architecture (None, X86, Amd64, IA64) required by this module
+ProcessorArchitecture = 'None'
+
+# Modules that must be imported into the global environment prior to importing this module
+RequiredModules = @( @{ ModuleName = 'AzureRM.Profile'; ModuleVersion = '1.0.4'} )
+
+# Assemblies that must be loaded prior to importing this module
+RequiredAssemblies = @()
+
+# Script files (.ps1) that are run in the caller's environment prior to importing this module
+ScriptsToProcess = @()
+
+# Type files (.ps1xml) to be loaded when importing this module
+TypesToProcess = @()
+
+# Format files (.ps1xml) to be loaded when importing this module
+FormatsToProcess = @(
+ '.\Microsoft.Azure.Commands.LogicApp.format.ps1xml'
+)
+
+# Modules to import as nested modules of the module specified in ModuleToProcess
+NestedModules = @(
+ '.\Microsoft.Azure.Commands.LogicApp.dll'
+)
+
+# Functions to export from this module
+FunctionsToExport = '*'
+
+# Cmdlets to export from this module
+CmdletsToExport = '*'
+
+# Variables to export from this module
+VariablesToExport = '*'
+
+# Aliases to export from this module
+AliasesToExport = @()
+
+# List of all modules packaged with this module
+ModuleList = @()
+
+# List of all files packaged with this module
+FileList = @()
+
+# Private data to pass to the module specified in ModuleToProcess
+PrivateData = ''
+
+}
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp.Test/Commands.LogicApp.Test.csproj b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/Commands.LogicApp.Test.csproj
new file mode 100644
index 000000000000..c2f75fc5480d
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/Commands.LogicApp.Test.csproj
@@ -0,0 +1,257 @@
+
+
+
+
+
+ Debug
+ AnyCPU
+ {F1F11BB1-592B-45A3-844C-7F8A585AD107}
+ Library
+ Properties
+ Microsoft.Azure.Commands.LogicApp.Test
+ Microsoft.Azure.Commands.LogicApp.Test
+ v4.5
+ 512
+ {3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
+ 10.0
+ $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)
+ $(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages
+ False
+ ..\
+ true
+ a5adf578
+
+
+ true
+ full
+ false
+ bin\Debug\
+ DEBUG;TRACE
+ prompt
+ 4
+ false
+
+
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+ false
+
+
+
+ False
+ ..\..\..\packages\Hyak.Common.1.0.3\lib\net45\Hyak.Common.dll
+
+
+ False
+ ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.dll
+
+
+ False
+ ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.6.1-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll
+
+
+ False
+ ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll
+ True
+
+
+ False
+ ..\..\..\packages\Microsoft.Azure.Gallery.2.6.2-preview\lib\net40\Microsoft.Azure.Gallery.dll
+
+
+ False
+ ..\..\..\packages\Microsoft.Azure.Management.Authorization.2.0.0\lib\net40\Microsoft.Azure.Management.Authorization.dll
+
+
+ False
+ ..\..\..\packages\Microsoft.Azure.Management.Logic.0.1.0-preview\lib\net45\Microsoft.Azure.Management.Logic.dll
+
+
+ False
+ ..\..\..\packages\Microsoft.Azure.Management.WebSites.0.16.7-preview\lib\net45\Microsoft.Azure.Management.WebSites.dll
+
+
+ False
+ ..\..\..\packages\Microsoft.Azure.Management.Resources.2.18.11-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
+
+
+ False
+ ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5799.28345-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
+
+
+ False
+ ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.6.0-preview\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
+
+
+ False
+ ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.18.206251556\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll
+
+
+ False
+ ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.18.206251556\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll
+
+
+ False
+ ..\..\..\packages\Microsoft.Rest.ClientRuntime.1.2.0\lib\net45\Microsoft.Rest.ClientRuntime.dll
+
+
+ False
+ ..\..\..\packages\Microsoft.Rest.ClientRuntime.Azure.1.0.20\lib\net45\Microsoft.Rest.ClientRuntime.Azure.dll
+
+
+ ..\..\..\packages\Microsoft.Rest.ClientRuntime.Azure.Authentication.1.2.1-preview\lib\net45\Microsoft.Rest.ClientRuntime.Azure.Authentication.dll
+
+
+ False
+ ..\..\..\packages\Microsoft.Rest.ClientRuntime.Azure.TestFramework.1.2.0-preview\lib\net45\Microsoft.Rest.ClientRuntime.Azure.TestFramework.dll
+
+
+ False
+ ..\..\..\packages\Newtonsoft.Json.6.0.8\lib\net45\Newtonsoft.Json.dll
+
+
+
+
+
+
+
+
+ 3.5
+
+
+ False
+
+
+ ..\..\..\packages\xunit.1.9.2\lib\net20\xunit.dll
+ True
+
+
+ ..\..\..\packages\xunit.extensions.1.9.2\lib\net20\xunit.extensions.dll
+ True
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Designer
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+
+
+ {5ee72c53-1720-4309-b54b-5fb79703195f}
+ Commands.Common
+
+
+ {3819d8a7-c62c-4c47-8ddd-0332d9ce1252}
+ Commands.ResourceManager.Common
+
+
+ {3436a126-edc9-4060-8952-9a1be34cdd95}
+ Commands.ScenarioTests.ResourceManager.Common
+
+
+ {ffe4e475-b32c-4f89-9d52-f7cebf709c74}
+ Commands.LogicApp
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp.Test/Properties/AssemblyInfo.cs b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/Properties/AssemblyInfo.cs
new file mode 100644
index 000000000000..4cb1d98dbf19
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/Properties/AssemblyInfo.cs
@@ -0,0 +1,50 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System.Reflection;
+using System.Runtime.InteropServices;
+using Xunit;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("Microsoft.Azure.Commands.LogicApp.Test")]
+[assembly: AssemblyDescription("Azure LogicApp PowerShell cmdlet test assembly")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("Microsoft")]
+[assembly: AssemblyProduct("Microsoft.Azure.Commands.LogicApp.Test")]
+[assembly: AssemblyCopyright(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyCopyright)]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("de7887f1-5984-42eb-96a0-8730673c04a8")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Build and Revision Numbers
+// by using the '*' as shown below:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0")]
+[assembly: AssemblyFileVersion("1.0.0")]
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp.Test/Resources/TestSimpleWorkflowActionDefinition.json b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/Resources/TestSimpleWorkflowActionDefinition.json
new file mode 100644
index 000000000000..6df1734404b0
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/Resources/TestSimpleWorkflowActionDefinition.json
@@ -0,0 +1,45 @@
+{
+ "$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":"72f988bf-86f1-41af-91ab-2d7cd011db47",
+ "clientId":"64011f29-3932-4168-b73d-adc835a56732",
+ "secret":"q8Wf7SwoM4iSVgaHZdghScLX8xDxMMUATWvRalclJjo="
+ },
+ "type":"object"
+ }
+ },
+ "triggers":{
+ },
+ "actions":{
+ "listWorkflows":{
+ "type":"Http",
+ "inputs":{
+ "method":"GET",
+ "uri":"someUri",
+ "authentication":"@parameters('authentication')"
+ },
+ "conditions":[
+
+ ]
+ }
+ },
+ "outputs":{
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp.Test/Resources/TestSimpleWorkflowDefinition.json b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/Resources/TestSimpleWorkflowDefinition.json
new file mode 100644
index 000000000000..dbaab7de830d
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/Resources/TestSimpleWorkflowDefinition.json
@@ -0,0 +1,27 @@
+{
+ "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2014-12-01-preview/workflowdefinition.json#",
+ "contentVersion": "1.0.0.0",
+ "parameters": {
+ "runworkflowmanually": {
+ "type": "bool",
+ "defaultValue": true
+ },
+ "destinationUri": {
+ "type": "string",
+ "defaultValue": "http://tempuri.org"
+ }
+ },
+ "triggers": {},
+ "actions": {
+ "http": {
+ "type": "Http",
+ "inputs": {
+ "method": "POST",
+ "uri": "@parameters('destinationUri')",
+ "body": "Test"
+ },
+ "conditions": []
+ }
+ },
+ "outputs": {}
+}
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp.Test/Resources/TestSimpleWorkflowParameter.json b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/Resources/TestSimpleWorkflowParameter.json
new file mode 100644
index 000000000000..a541a73d9290
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/Resources/TestSimpleWorkflowParameter.json
@@ -0,0 +1,5 @@
+{
+ "destinationUri": {
+ "value": "http://requestb.in/1kj7g8e1"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp.Test/Resources/TestSimpleWorkflowTriggerDefinition.json b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/Resources/TestSimpleWorkflowTriggerDefinition.json
new file mode 100644
index 000000000000..692518c4015f
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/Resources/TestSimpleWorkflowTriggerDefinition.json
@@ -0,0 +1,60 @@
+{
+ "$schema": "http://schema.management.azure.com/providers/Microsoft.Logic/schemas/2014-12-01-preview/workflowdefinition.json#",
+ "contentVersion": "1.0.0.0",
+ "parameters": {
+ "runworkflowmanually": {
+ "defaultValue": false,
+ "type": "bool"
+ }
+ },
+ "triggers": {
+ "httpTrigger": {
+ "type": "Http",
+ "inputs": {
+ "method": "GET",
+ "uri": "http://www.bing.com"
+ },
+ "recurrence": {
+ "frequency": "Hour",
+ "interval": 1
+ },
+ "conditions": [
+ {
+ "expression": "@bool('true')"
+ }
+ ]
+ }
+ },
+ "actions": {
+ "http": {
+ "type": "Http",
+ "inputs": {
+ "method": "GET",
+ "uri": "http://www.bing.com",
+ },
+ "conditions": [
+ {
+ "expression": "@bool('true')"
+ }
+ ]
+ },
+ "http1": {
+ "type": "Http",
+ "inputs": {
+ "method": "GET",
+ "uri": "http://www.bing.com",
+ },
+ "conditions": [
+ {
+ "expression": "@bool('true')"
+ }
+ ]
+ }
+ },
+ "outputs": {
+ "output1": {
+ "type": "string",
+ "value": "true"
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp.Test/ScenarioTests/Common.ps1 b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/ScenarioTests/Common.ps1
new file mode 100644
index 000000000000..a234ba419ed9
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/ScenarioTests/Common.ps1
@@ -0,0 +1,109 @@
+# ----------------------------------------------------------------------------------
+#
+# Copyright Microsoft Corporation
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+<#
+.SYNOPSIS
+Gets valid resource group name
+#>
+function Get-ResourceGroupName
+{
+ return getAssetName
+}
+
+<#
+.SYNOPSIS
+Gets valid resource name
+#>
+function Get-ResourceName
+{
+ return getAssetName
+}
+
+<#
+.SYNOPSIS
+Gets the default location for a provider
+#>
+function Get-ProviderLocation($provider)
+{
+ if ([Microsoft.Azure.Test.HttpRecorder.HttpMockServer]::Mode -ne [Microsoft.Azure.Test.HttpRecorder.HttpRecorderMode]::Playback)
+ {
+ $namespace = $provider.Split("/")[0]
+ if($provider.Contains("/"))
+ {
+ $type = $provider.Substring($namespace.Length + 1)
+ $location = Get-AzureRmResourceProvider -ProviderNamespace $namespace | where {$_.ResourceTypes[0].ResourceTypeName -eq $type}
+
+ if ($location -eq $null)
+ {
+ return "West US"
+ } else
+ {
+ return $location.Locations[0]
+ }
+ }
+
+ return "West US"
+ }
+
+ return "WestUS"
+}
+
+<#
+.SYNOPSIS
+Creates a resource group to use in tests
+#>
+function TestSetup-CreateResourceGroup
+{
+ $resourceGroupName = getAssetName
+ $rglocation = Get-ProviderLocation "North Europe"
+ $resourceGroup = New-AzureRmResourceGroup -Name $resourceGroupName -location $rglocation -Force
+
+ return $resourceGroup
+}
+
+<#
+.SYNOPSIS
+Creates an App Service Plan
+#>
+function TestSetup-CreateAppServicePlan ([string]$resourceGroupName, [string]$AppServicePlan)
+{
+ if(Test-Path Env:AZURE_TEST_MODE)
+ {
+ $AZURE_TEST_MODE = Get-ChildItem Env:AZURE_TEST_MODE
+ if($AZURE_TEST_MODE.Value.ToLowerInvariant() -eq 'record')
+ {
+ $PropertiesObject = @{}
+ $Sku = @{Name='S1'; Tier='Standard'; Size='S1'; Family='S'; Capacity=1}
+ $Plan = New-AzureRmResource -Name $AppServicePlan -Location "West US" -ResourceGroupName $resourceGroupName -ResourceType "Microsoft.Web/serverfarms" -ApiVersion 2015-08-01 -SkuObject $Sku -PropertyObject $PropertiesObject -Force
+ return $Plan
+ }
+ }
+ return $null
+}
+
+<#
+.SYNOPSIS
+Creates a new workflow
+#>
+function TestSetup-CreateWorkflow ([string]$resourceGroupName, [string]$workflowName, [string]$AppServicePlan)
+{
+ $rglocation = Get-ProviderLocation "North Europe"
+ $resourceGroup = New-AzureRmResourceGroup -Name $resourceGroupName -location $rglocation -Force
+
+ TestSetup-CreateAppServicePlan $resourceGroupName $AppServicePlan
+
+ $definitionFilePath = "Resources\TestSimpleWorkflowDefinition.json"
+ $parameterFilePath = "Resources\TestSimpleWorkflowParameter.json"
+ $workflow = $resourceGroup | New-AzureRmLogicApp -Name $workflowName -AppServicePlan $AppServicePlan -DefinitionFilePath $definitionFilePath -ParameterFilePath $parameterFilePath
+ return $workflow
+}
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp.Test/ScenarioTests/WorkflowAccessKeyTests.cs b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/ScenarioTests/WorkflowAccessKeyTests.cs
new file mode 100644
index 000000000000..82fd105aff56
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/ScenarioTests/WorkflowAccessKeyTests.cs
@@ -0,0 +1,47 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+
+namespace Microsoft.Azure.Commands.LogicApp.Test.ScenarioTests
+{
+ using Microsoft.WindowsAzure.Commands.ScenarioTest;
+ using Microsoft.WindowsAzure.Commands.Test.Utilities.Common;
+ using Xunit;
+
+ ///
+ /// Scenario tests for the Workflow access key commands
+ ///
+ public class WorkflowAccessKeyTests : RMTestBase
+ {
+ ///
+ /// Test Get-AzureLogicAppAccessKey command to verify the get operation for access keys of a workflow.
+ ///
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void TestGetAzureLogicAppAccessKey()
+ {
+ WorkflowController.NewInstance.RunPowerShellTest("Test-GetAzureLogicAppAccessKey");
+ }
+
+ ///
+ /// Test Set-AzureLogicAppAccessKey command to verify the secret regeneration operation for the access keys of a workflow.
+ ///
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void TestSetAzureLogicAppAccessKey()
+ {
+ WorkflowController.NewInstance.RunPowerShellTest("Test-SetAzureLogicAppAccessKey");
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp.Test/ScenarioTests/WorkflowAccessKeyTests.ps1 b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/ScenarioTests/WorkflowAccessKeyTests.ps1
new file mode 100644
index 000000000000..de19c3fbc473
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/ScenarioTests/WorkflowAccessKeyTests.ps1
@@ -0,0 +1,55 @@
+# ----------------------------------------------------------------------------------
+#
+# Copyright Microsoft Corporation
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ----------------------------------------------------------------------------------
+
+<#
+.SYNOPSIS
+Test Get-AzureLogicAppAccessKey for workflow
+#>
+function Test-GetAzureLogicAppAccessKey
+{
+
+ $resourceGroupName = getAssetname
+ $workflowName = getAssetname
+ $planName = "StandardServicePlan"
+
+ $workflow = TestSetup-CreateWorkflow $resourceGroupName $workflowName $planName
+
+ #Case1: Get access keys of the workflow
+ $workflowAccessKeys = Get-AzureRmLogicAppAccessKey -ResourceGroupName $resourceGroupName -Name $workflowName
+ Assert-NotNull $workflowAccessKeys
+
+ #Case2: Get specific access key of the workflow
+ $workflowAccessKeys = Get-AzureRmLogicAppAccessKey -ResourceGroupName $resourceGroupName -Name $workflowName -AccessKeyName "default"
+ Assert-NotNull $workflowAccessKeys
+}
+
+<#
+.SYNOPSIS
+Test Set-AzureLogicAppAccessKey for workflow
+#>
+function Test-SetAzureLogicAppAccessKey
+{
+ $resourceGroupName = getAssetname
+ $workflowName = getAssetname
+ $planName = "StandardServicePlan"
+ $workflow = TestSetup-CreateWorkflow $resourceGroupName $workflowName $planName
+
+ #Case1: Regenerate secret for the access key of the workflow
+ $workflowAccessKeys = Get-AzureRmLogicAppAccessKey -ResourceGroupName $resourceGroupName -Name $workflowName
+ $workflowAccessKey1 = Set-AzureRmLogicAppAccessKey -ResourceGroupName $resourceGroupName -Name $workflowName -AccessKeyName "default" -KeyType "Primary"
+ $workflowAccessKey2 = Set-AzureRmLogicAppAccessKey -ResourceGroupName $resourceGroupName -Name $workflowName -AccessKeyName "default" -KeyType "Secondary"
+
+ Assert-AreNotEqual $workflowAccessKey1.PrimarySecretKey $workflowAccessKeys.PrimarySecretKey
+ Assert-AreNotEqual $workflowAccessKey2.SecondarySecretKey $workflowAccessKeys.SecondarySecretKey
+}
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp.Test/ScenarioTests/WorkflowController.cs b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/ScenarioTests/WorkflowController.cs
new file mode 100644
index 000000000000..a685cd20e4f2
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/ScenarioTests/WorkflowController.cs
@@ -0,0 +1,254 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+namespace Microsoft.Azure.Commands.LogicApp.Test.ScenarioTests
+{
+ using System;
+ using System.Collections.Generic;
+ using System.Linq;
+ using Microsoft.Azure.Common.Authentication;
+ using Microsoft.Azure.Gallery;
+ using Microsoft.Azure.Management.Authorization;
+ using Microsoft.Azure.Management.Resources;
+ using Microsoft.Azure.Management.Logic;
+ using Microsoft.Azure.Subscriptions;
+ using Microsoft.Azure.Test.HttpRecorder;
+ using Microsoft.Rest.ClientRuntime.Azure.TestFramework;
+ using Microsoft.WindowsAzure.Commands.ScenarioTest;
+ using LegacyTest = Microsoft.Azure.Test;
+ using TestEnvironmentFactory = Microsoft.Rest.ClientRuntime.Azure.TestFramework.TestEnvironmentFactory;
+ using TestUtilities = Microsoft.Rest.ClientRuntime.Azure.TestFramework.TestUtilities;
+ using Microsoft.Azure.Management.WebSites;
+
+ ///
+ /// Test controller for the logic app scenario testing
+ ///
+ public class WorkflowController
+ {
+ ///
+ /// CSM test factory
+ ///
+ private LegacyTest.CSMTestEnvironmentFactory csmTestFactory;
+
+ ///
+ /// EnvironmentSetupHelper instance
+ ///
+ private EnvironmentSetupHelper helper;
+
+ ///
+ /// Authorization Api Version
+ ///
+ private const string AuthorizationApiVersion = "2014-07-01-preview";
+
+ ///
+ /// Gets or sets the ResourceManagementClient
+ ///
+ public ResourceManagementClient ResourceManagementClient { get; private set; }
+
+ ///
+ /// Gets or sets the SubscriptionClient
+ ///
+ public SubscriptionClient SubscriptionClient { get; private set; }
+
+ ///
+ /// Gets or sets the LogicManagementClient
+ ///
+ public LogicManagementClient LogicManagementClient { get; private set; }
+
+ ///
+ /// Gets or sets the WebSiteManagementClient
+ ///
+ public WebSiteManagementClient WebsiteManagementClient { get; private set; }
+
+ ///
+ /// Gets or sets the AuthorizationManagementClient
+ ///
+ public AuthorizationManagementClient AuthorizationManagementClient { get; private set; }
+
+ ///
+ /// Gets or sets the GalleryClient
+ ///
+ public GalleryClient GalleryClient { get; private set; }
+
+ ///
+ /// Create a new instance of workflow controller.
+ ///
+ public static WorkflowController NewInstance
+ {
+ get { return new WorkflowController(); }
+ }
+
+ ///
+ /// Initiliazes the workflow controller
+ ///
+ public WorkflowController()
+ {
+ helper = new EnvironmentSetupHelper();
+ }
+
+ ///
+ /// Runs the PowerShell test
+ ///
+ /// script to be executed
+ public void RunPowerShellTest(params string[] scripts)
+ {
+ var callingClassType = TestUtilities.GetCallingClass(2);
+ var mockName = TestUtilities.GetCurrentMethodName(2);
+
+ RunPsTestWorkflow(
+ () => scripts,
+ // no custom initializer
+ null,
+ // no custom cleanup
+ null,
+ callingClassType,
+ mockName);
+ }
+
+ ///
+ /// Runs the PowerShell test under mock undo context based on the test mode setting (Record|Playback)
+ ///
+ /// Script builder delegate
+ /// initialize action
+ /// cleanup action
+ /// Calling class type
+ /// Mock Name
+ public void RunPsTestWorkflow(
+ Func scriptBuilder,
+ Action initialize,
+ Action cleanup,
+ string callingClassType,
+ string mockName)
+ {
+ Dictionary d = new Dictionary();
+ d.Add("Microsoft.Authorization", AuthorizationApiVersion);
+ HttpMockServer.Matcher = new PermissiveRecordMatcherWithApiExclusion(false, d);
+
+ using (MockContext context = MockContext.Start(callingClassType, mockName))
+ {
+ this.csmTestFactory = new LegacyTest.CSMTestEnvironmentFactory();
+ if (initialize != null)
+ {
+ initialize(this.csmTestFactory);
+ }
+ SetupManagementClients(context);
+ helper.SetupEnvironment(AzureModule.AzureResourceManager);
+
+ var callingClassName = callingClassType
+ .Split(new[] {"."}, StringSplitOptions.RemoveEmptyEntries)
+ .Last();
+ helper.SetupModules(AzureModule.AzureResourceManager,
+ "ScenarioTests\\Common.ps1",
+ "ScenarioTests\\" + callingClassName + ".ps1",
+ helper.RMProfileModule,
+ helper.RMResourceModule,
+ helper.GetRMModulePath(@"AzureRM.LogicApp.psd1"));
+
+ try
+ {
+ if (scriptBuilder != null)
+ {
+ var psScripts = scriptBuilder();
+
+ if (psScripts != null)
+ {
+ helper.RunPowerShellTest(psScripts);
+ }
+ }
+ }
+ finally
+ {
+ if (cleanup != null)
+ {
+ cleanup();
+ }
+ }
+ }
+ }
+
+ ///
+ /// Set up mock clients
+ ///
+ ///
+ private void SetupManagementClients(MockContext context)
+ {
+ ResourceManagementClient = GetResourceManagementClient();
+ SubscriptionClient = GetSubscriptionClient();
+ AuthorizationManagementClient = GetAuthorizationManagementClient();
+ GalleryClient = GetGalleryClient();
+ LogicManagementClient = GetLogicManagementClient(context);
+ WebsiteManagementClient = GetWebsiteManagementClient(context);
+ helper.SetupManagementClients(ResourceManagementClient,
+ SubscriptionClient,
+ AuthorizationManagementClient,
+ GalleryClient,
+ LogicManagementClient,
+ WebsiteManagementClient
+ );
+ }
+
+ ///
+ /// Create an AuthorizationManagementClient instance based on mode setting
+ ///
+ /// AuthorizationManagementClient instance
+ private AuthorizationManagementClient GetAuthorizationManagementClient()
+ {
+ return LegacyTest.TestBase.GetServiceClient(this.csmTestFactory);
+ }
+
+ ///
+ /// Creates a ResourceManagementClient instance
+ ///
+ /// ResourceManagementClient instance
+ private ResourceManagementClient GetResourceManagementClient()
+ {
+ return LegacyTest.TestBase.GetServiceClient(this.csmTestFactory);
+ }
+
+ ///
+ /// Creates LogicManagementClient instance based on mode setting
+ ///
+ /// Mock undocontext
+ /// LogicManagementClient instance
+ private LogicManagementClient GetLogicManagementClient(MockContext context)
+ {
+ return context.GetServiceClient(TestEnvironmentFactory.GetTestEnvironment());
+ }
+
+ ///
+ /// Creates WebSiteManagementClient instance based on mode setting
+ ///
+ /// Mock undocontext
+ /// WebSiteManagementClient instance
+ private WebSiteManagementClient GetWebsiteManagementClient(MockContext context)
+ {
+ return context.GetServiceClient(TestEnvironmentFactory.GetTestEnvironment());
+ }
+
+ private SubscriptionClient GetSubscriptionClient()
+ {
+ return LegacyTest.TestBase.GetServiceClient(this.csmTestFactory);
+ }
+
+ ///
+ /// Creates a Gallery Client based on mode setting
+ ///
+ /// GalleryClient instamce
+ private GalleryClient GetGalleryClient()
+ {
+ return LegacyTest.TestBase.GetServiceClient(this.csmTestFactory);
+ }
+ }
+}
+
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp.Test/ScenarioTests/WorkflowRunTests.cs b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/ScenarioTests/WorkflowRunTests.cs
new file mode 100644
index 000000000000..5383167a09c0
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/ScenarioTests/WorkflowRunTests.cs
@@ -0,0 +1,56 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+namespace Microsoft.Azure.Commands.LogicApp.Test.ScenarioTests
+{
+ using Microsoft.WindowsAzure.Commands.ScenarioTest;
+ using Microsoft.WindowsAzure.Commands.Test.Utilities.Common;
+ using Xunit;
+
+ ///
+ /// Scenario tests for the Workflow run commands
+ ///
+ public class WorkflowRunTests : RMTestBase
+ {
+ ///
+ /// Test Start-Azurelogicapp and Stop-Azurelogicapp command to run workflow
+ ///
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void TestRunLogicApp()
+ {
+ WorkflowController.NewInstance.RunPowerShellTest("Test-StartLogicApp");
+ }
+
+ ///
+ /// Test Get-AzureLogicAppRun and Get-AzureLogicAppRunHistory command to get logic app run history
+ ///
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void TestGetAzureLogicAppRunHistory()
+ {
+ WorkflowController.NewInstance.RunPowerShellTest("Test-GetAzureLogicAppRunHistory");
+ }
+
+ ///
+ /// Test Get-AzureLogicAppRunAction command to get logic app run action
+ ///
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void TestGetAzureLogicAppRunAction()
+ {
+ WorkflowController.NewInstance.RunPowerShellTest("Test-GetAzureLogicAppRunAction");
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp.Test/ScenarioTests/WorkflowRunTests.ps1 b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/ScenarioTests/WorkflowRunTests.ps1
new file mode 100644
index 000000000000..720bdfa998f7
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/ScenarioTests/WorkflowRunTests.ps1
@@ -0,0 +1,105 @@
+# ----------------------------------------------------------------------------------
+#
+# Copyright Microsoft Corporation
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ----------------------------------------------------------------------------------
+
+<#
+.SYNOPSIS
+Test Start and Stop AzureLogicApp command for logic app workflow.
+#>
+function Test-StartLogicApp
+{
+ $resourceGroup = TestSetup-CreateResourceGroup
+ $resourceGroupName = $resourceGroup.ResourceGroupName
+ $planName = "StandardServicePlan"
+ $Plan = TestSetup-CreateAppServicePlan $resourceGroup.ResourceGroupName $planName
+
+ $workflowName = getAssetname
+ $definitionFilePath = "Resources\TestSimpleWorkflowTriggerDefinition.json"
+
+ $workflow = New-AzureRmLogicApp -ResourceGroupName $resourceGroupName -Name $workflowName -DefinitionFilePath $definitionFilePath -AppServicePlan $planName
+
+ [int]$counter = 0
+ do {
+ Sleep -seconds 2
+ $workflow = Get-AzureRmLogicApp -ResourceGroupName $resourceGroupName -Name $workflowName
+ } while ($workflow.State -ne "Enabled" -and $counter++ -lt 5)
+
+ Start-AzureRmLogicApp -ResourceGroupName $resourceGroupName -Name $workflowName -TriggerName "httpTrigger"
+}
+
+<#
+.SYNOPSIS
+Test Get-AzureRmLogicAppRunHistory and Get-AzureRmLogicAppRun command to get the logic app history
+#>
+function Test-GetAzureLogicAppRunHistory
+{
+ $resourceGroup = TestSetup-CreateResourceGroup
+ $resourceGroupName = $resourceGroup.ResourceGroupName
+ $planName = "StandardServicePlan"
+ $Plan = TestSetup-CreateAppServicePlan $resourceGroup.ResourceGroupName $planName
+
+ $workflowName = getAssetname
+ $definitionFilePath = "Resources\TestSimpleWorkflowTriggerDefinition.json"
+
+ $workflow = New-AzureRmLogicApp -ResourceGroupName $resourceGroupName -Name $workflowName -DefinitionFilePath $definitionFilePath -AppServicePlan $planName
+
+ [int]$counter = 0
+ do {
+ Sleep -seconds 2
+ $workflow = Get-AzureRmLogicApp -ResourceGroupName $resourceGroupName -Name $workflowName
+ } while ($workflow.State -ne "Enabled" -and $counter++ -lt 5)
+
+ Start-AzureRmLogicApp -ResourceGroupName $resourceGroupName -Name $workflowName -TriggerName "httpTrigger"
+
+ $runHistory = Get-AzureRmLogicAppRunHistory -ResourceGroupName $resourceGroupName -Name $workflowName
+ Assert-NotNull $runHistory
+ $run = Get-AzureRmLogicAppRunHistory -ResourceGroupName $resourceGroupName -Name $workflowName -RunName $runHistory[0].Name
+ Assert-NotNull $run
+ Assert-AreEqual $runHistory[0].Name $run.Name
+}
+
+<#
+.SYNOPSIS
+Test Get-AzureRmLogicAppRunAction command to get the logic app run action
+#>
+function Test-GetAzureLogicAppRunAction
+{
+ $resourceGroup = TestSetup-CreateResourceGroup
+ $resourceGroupName = $resourceGroup.ResourceGroupName
+ $planName = "StandardServicePlan"
+ $Plan = TestSetup-CreateAppServicePlan $resourceGroup.ResourceGroupName $planName
+
+ $workflowName = getAssetname
+ $definitionFilePath = "Resources\TestSimpleWorkflowTriggerDefinition.json"
+
+ $workflow = New-AzureRmLogicApp -ResourceGroupName $resourceGroupName -Name $workflowName -DefinitionFilePath $definitionFilePath -AppServicePlan $planName
+
+ [int]$counter = 0
+ do {
+ Sleep -seconds 2
+ $workflow = Get-AzureRmLogicApp -ResourceGroupName $resourceGroupName -Name $workflowName
+ } while ($workflow.State -ne "Enabled" -and $counter++ -lt 5)
+
+ Start-AzureRmLogicApp -ResourceGroupName $resourceGroupName -Name $workflowName -TriggerName "httpTrigger"
+
+ $runHistory = Get-AzureRmLogicAppRunHistory -ResourceGroupName $resourceGroupName -Name $workflowName
+ Assert-NotNull $runHistory
+
+ $actions = Get-AzureRmLogicAppRunAction -ResourceGroupName $resourceGroupName -Name $workflowName -RunName $runHistory[0].Name
+ Assert-NotNull $actions
+ Assert-AreEqual 2 $actions.Count
+
+ $action = Get-AzureRmLogicAppRunAction -ResourceGroupName $resourceGroupName -Name $workflowName -RunName $runHistory[0].Name -ActionName "http"
+ Assert-NotNull $action
+
+}
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp.Test/ScenarioTests/WorkflowTests.cs b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/ScenarioTests/WorkflowTests.cs
new file mode 100644
index 000000000000..88de24be8932
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/ScenarioTests/WorkflowTests.cs
@@ -0,0 +1,126 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+
+namespace Microsoft.Azure.Commands.LogicApp.Test.ScenarioTests
+{
+ using Microsoft.WindowsAzure.Commands.ScenarioTest;
+ using Microsoft.WindowsAzure.Commands.Test.Utilities.Common;
+ using Xunit;
+
+ ///
+ /// Scenario tests for the Create logic app command
+ ///
+ public class WorkflowTests : RMTestBase
+ {
+
+ ///
+ ///Test New-AzureLogicApp with physical file paths
+ ///Test New-AzureLogicApp using definition object and parameter file
+ ///Test New-AzureLogicApp using piped input
+ ///
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void TestCreateAndRemoveLogicApp()
+ {
+ WorkflowController.NewInstance.RunPowerShellTest("Test-CreateAndRemoveLogicApp");
+ }
+
+ ///
+ /// Test New-AzurelogicApp command to create workflow with duplicate name.
+ ///
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void TestCreateLogicAppWithDuplicateName()
+ {
+ WorkflowController.NewInstance.RunPowerShellTest("Test-CreateLogicAppWithDuplicateName");
+ }
+
+ ///
+ /// Test New-AzurelogicApp command with workflow object for parameters and definition input.
+ ///
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void TestCreateLogicAppUsingInputfromWorkflowObject()
+ {
+ WorkflowController.NewInstance.RunPowerShellTest("Test-CreateLogicAppUsingInputfromWorkflowObject");
+ }
+
+ ///
+ /// Test New-AzurelogicApp command with parameters parameter as Hashtable
+ ///
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void TestCreateLogicAppUsingInputParameterAsHashTable()
+ {
+ WorkflowController.NewInstance.RunPowerShellTest("Test-CreateLogicAppUsingInputParameterAsHashTable");
+ }
+
+ ///
+ /// Test New-AzurelogicApp command with workflow definition with triggers
+ ///
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void TestCreateLogicAppUsingDefinitionWithTriggers()
+ {
+ WorkflowController.NewInstance.RunPowerShellTest("Test-CreateLogicAppUsingDefinitionWithTriggers");
+ }
+
+ ///
+ ///Test New-AzureLogicApp with only definition
+ ///Test Get-AzureLogicApp
+ ///Test Get-AzureLogicApp for a non-existing logic app
+ ///
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void TestCreateAndGetLogicAppUsingDefinitionWithActions()
+ {
+ WorkflowController.NewInstance.RunPowerShellTest("Test-CreateAndGetLogicAppUsingDefinitionWithActions");
+ }
+
+ ///
+ /// Test Remove-AzurelogicApp command to remove non-existing workflow
+ ///
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void TestRemoveNonExistingLogicApp()
+ {
+ WorkflowController.NewInstance.RunPowerShellTest("Test-RemoveNonExistingLogicApp");
+ }
+
+ ///
+ ///Test Set-AzureLogicApp command to update workflow defintion without parametrs.
+ ///Test Set-AzureLogicApp command to update workflow defintion and state to Disabled.
+ ///Test Set-AzureLogicApp command to update workflow state to Enabled.
+ ///Test Set-AzureLogicApp command to set logic app with null definition.
+ ///Test Set-AzureLogicApp command to set non-existing logic app.
+ ///
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void TestUpdateLogicApp()
+ {
+ WorkflowController.NewInstance.RunPowerShellTest("Test-UpdateLogicApp");
+ }
+
+ ///
+ ///Test New-AzureLogicApp to create logic app for non-existing service plan. Constraint validation.
+ ///
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void TestCreateLogicAppWithNonExistingAppServicePlan()
+ {
+ WorkflowController.NewInstance.RunPowerShellTest("Test-CreateLogicAppWithNonExistingAppServicePlan");
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp.Test/ScenarioTests/WorkflowTests.ps1 b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/ScenarioTests/WorkflowTests.ps1
new file mode 100644
index 000000000000..6de5830202b2
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/ScenarioTests/WorkflowTests.ps1
@@ -0,0 +1,304 @@
+# ----------------------------------------------------------------------------------
+#
+# Copyright Microsoft Corporation
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ----------------------------------------------------------------------------------
+
+<#
+.SYNOPSIS
+Test New-AzureRmLogicApp with physical file paths
+Test New-AzureRmLogicApp using definition object and parameter file
+Test New-AzureRmLogicApp using piped input
+#>
+function Test-CreateAndRemoveLogicApp
+{
+ $resourceGroup = TestSetup-CreateResourceGroup
+ $workflowName = getAssetname
+ $definitionFilePath = "Resources\TestSimpleWorkflowDefinition.json"
+ $parameterFilePath = "Resources\TestSimpleWorkflowParameter.json"
+
+ #Create App Service Plan
+ $planName = "StandardServicePlan"
+ $Plan = TestSetup-CreateAppServicePlan $resourceGroup.ResourceGroupName $planName
+
+ #Case1 : Using physical file
+ $workflow = New-AzureRmLogicApp -ResourceGroupName $resourceGroup.ResourceGroupName -Name $workflowName -AppServicePlan $planName -DefinitionFilePath $definitionFilePath -ParameterFilePath $parameterFilePath
+
+ Assert-NotNull $workflow
+ Assert-NotNull $workflow.Definition
+ Assert-NotNull $workflow.Parameters
+ Assert-AreEqual $workflowName $workflow.Name
+ Remove-AzureRmLogicApp -ResourceGroupName $resourceGroup.ResourceGroupName -Name $WorkflowName -Force
+
+ #Case2 : Using definition object and parameter file
+ $parameterFilePath = "Resources\TestSimpleWorkflowParameter.json"
+ $definition = [IO.File]::ReadAllText("Resources\TestSimpleWorkflowDefinition.json")
+
+ $workflowName = getAssetname
+ $workflow = New-AzureRmLogicApp -ResourceGroupName $resourceGroup.ResourceGroupName -Name $workflowName -Definition $definition -ParameterFilePath $parameterFilePath -AppServicePlan $planName
+
+ Assert-NotNull $workflow
+ Assert-NotNull $workflow.Definition
+ Assert-NotNull $workflow.Parameters
+ Assert-AreEqual $workflowName $workflow.Name
+ Remove-AzureRmLogicApp -ResourceGroupName $resourceGroup.ResourceGroupName -Name $WorkflowName -Force
+
+ #Case3 : Create using Piped input
+
+ $workflowName = getAssetname
+ $workflow = $resourceGroup | New-AzureRmLogicApp -Name $workflowName -AppServicePlan $planName -DefinitionFilePath $definitionFilePath -ParameterFilePath $parameterFilePath
+
+ Assert-NotNull $workflow
+ Remove-AzureRmLogicApp -ResourceGroupName $resourceGroup.ResourceGroupName -Name $WorkflowName -Force
+}
+
+<#
+.SYNOPSIS
+Test New-AzureRmLogicApp to create a workflow with a duplicate name.
+#>
+function Test-CreateLogicAppWithDuplicateName
+{
+ $resourceGroup = TestSetup-CreateResourceGroup
+ $workflowName = getAssetname
+
+ $definitionFilePath = "Resources\TestSimpleWorkflowDefinition.json"
+ $parameterFilePath = "Resources\TestSimpleWorkflowParameter.json"
+ $resourceGroupName = $resourceGroup.ResourceGroupName
+
+ #Create App Service Plan
+ $planName = "StandardServicePlan"
+ $Plan = TestSetup-CreateAppServicePlan $resourceGroup.ResourceGroupName $planName
+
+ $workflow = $resourceGroup | New-AzureRmLogicApp -Name $workflowName -AppServicePlan $planName -DefinitionFilePath $definitionFilePath -ParameterFilePath $parameterFilePath
+
+ Assert-NotNull $workflow
+ try
+ {
+ $workflow = $resourceGroup | New-AzureRmLogicApp -Name $workflowName -AppServicePlan $planName -DefinitionFilePath $definitionFilePath -ParameterFilePath $parameterFilePath
+ }
+ catch
+ {
+ Assert-AreEqual $_.Exception.Message "The Resource 'Microsoft.Logic/workflows/$WorkflowName' under resource group '$resourceGroupName' already exists."
+ }
+
+ Remove-AzureRmLogicApp -ResourceGroupName $resourceGroup.ResourceGroupName -Name $WorkflowName -Force
+}
+
+<#
+.SYNOPSIS
+Test New-AzureRmLogicApp with workflow object
+#>
+function Test-CreateLogicAppUsingInputfromWorkflowObject
+{
+ $resourceGroup = TestSetup-CreateResourceGroup
+ $workflowName = getAssetname
+ $newWorkflowName = getAssetname
+ $resourceGroupName = $resourceGroup.ResourceGroupName
+
+ $planName = "StandardServicePlan"
+ $Plan = TestSetup-CreateAppServicePlan $resourceGroup.ResourceGroupName $planName
+
+ $definitionFilePath = "Resources\TestSimpleWorkflowDefinition.json"
+ $parameterFilePath = "Resources\TestSimpleWorkflowParameter.json"
+
+ $workflow = New-AzureRmLogicApp -ResourceGroupName $resourceGroupName -Name $workflowName -AppServicePlan $planName -DefinitionFilePath $definitionFilePath -ParameterFilePath $parameterFilePath
+ $workflow = New-AzureRmLogicApp -ResourceGroupName $resourceGroupName -Name $newWorkflowName -AppServicePlan $planName -Definition $workflow.Definition -Parameters $workflow.Parameters
+
+ Assert-NotNull $workflow
+ Assert-NotNull $workflow.Definition
+ Assert-NotNull $workflow.Parameters
+ Assert-AreEqual $newWorkflowName $workflow.Name
+ Assert-AreEqual "Enabled" $workflow.State
+
+ Remove-AzureRmLogicApp -ResourceGroupName $resourceGroupName -Name $workflowName -Force
+}
+
+<#
+.SYNOPSIS
+Test New-AzureRmLogicApp with Parameter as hash table
+#>
+function Test-CreateLogicAppUsingInputParameterAsHashTable
+{
+ $resourceGroup = TestSetup-CreateResourceGroup
+ $workflowName = getAssetname
+ $resourceGroupName = $resourceGroup.ResourceGroupName
+
+ $planName = "StandardServicePlan"
+ $Plan = TestSetup-CreateAppServicePlan $resourceGroup.ResourceGroupName $planName
+
+ $definitionFilePath = "Resources\TestSimpleWorkflowDefinition.json"
+ $parameters = @{destinationUri="http://www.bing.com"}
+
+ $workflow = New-AzureRmLogicApp -ResourceGroupName $resourceGroupName -Name $workflowName -DefinitionFilePath $definitionFilePath -Parameters $parameters -AppServicePlan $planName
+
+ Assert-NotNull $workflow
+ Assert-NotNull $workflow.Parameters
+
+ Remove-AzureRmLogicApp -ResourceGroupName $resourceGroup.ResourceGroupName -Name $WorkflowName -Force
+}
+
+<#
+.SYNOPSIS
+Test New-AzureRmLogicApp with only definition
+#>
+function Test-CreateLogicAppUsingDefinitionWithTriggers
+{
+ $resourceGroup = TestSetup-CreateResourceGroup
+ $workflowName = getAssetname
+ $resourceGroupName = $resourceGroup.ResourceGroupName
+ $definitionFilePath = "Resources\TestSimpleWorkflowTriggerDefinition.json"
+
+ $planName = "StandardServicePlan"
+ $Plan = TestSetup-CreateAppServicePlan $resourceGroup.ResourceGroupName $planName
+
+ $workflow = New-AzureRmLogicApp -ResourceGroupName $resourceGroupName -Name $workflowName -DefinitionFilePath $definitionFilePath -AppServicePlan $planName
+
+ Assert-NotNull $workflow
+
+ Remove-AzureRmLogicApp -ResourceGroupName $resourceGroup.ResourceGroupName -Name $workflowName -Force
+}
+
+<#
+.SYNOPSIS
+Test New-AzureRmLogicApp with only definition
+Test Get-AzureRmLogicApp
+Test Get-AzureRmLogicApp for a non-existing logic app
+#>
+function Test-CreateAndGetLogicAppUsingDefinitionWithActions
+{
+ $resourceGroup = TestSetup-CreateResourceGroup
+ $workflowName = getAssetname
+ $resourceGroupName = $resourceGroup.ResourceGroupName
+ $definitionFilePath = "Resources\TestSimpleWorkflowActionDefinition.json"
+ $planName = "StandardServicePlan"
+ $Plan = TestSetup-CreateAppServicePlan $resourceGroup.ResourceGroupName $planName
+
+ #Case1: Create logic app without parameters
+ $workflow1 = New-AzureRmLogicApp -ResourceGroupName $resourceGroupName -Name $workflowName -DefinitionFilePath $definitionFilePath -AppServicePlan $planName
+ Assert-NotNull $workflow1
+
+ #Case1: Get logic app using get cmdlet
+ $workflow2 = Get-AzureRmLogicApp -ResourceGroupName $resourceGroupName -Name $workflowName
+ Assert-NotNull $workflow2
+
+ #Case1: Get non-existing logic app using get cmdlet
+ try
+ {
+ Get-AzureRmLogicApp -ResourceGroupName $resourceGroupName -Name "InvalidWorkflow"
+ }
+ catch
+ {
+ Assert-AreEqual $_.Exception.Message "The Resource 'Microsoft.Logic/workflows/InvalidWorkflow' under resource group '$resourceGroupName' was not found."
+ }
+
+ Remove-AzureRmLogicApp -ResourceGroupName $resourceGroup.ResourceGroupName -Name $workflowName -Force
+}
+
+<#
+.SYNOPSIS
+Test Remove-AzureRmLogicApp command to remove nonexisting workflow by name.
+#>
+function Test-RemoveNonExistingLogicApp
+{
+ $WorkflowName = "09e81ac4-848a-428d-82a6-7d61953e3940"
+ $resourceGroup = TestSetup-CreateResourceGroup
+ $resourceGroupName = $resourceGroup.ResourceGroupName
+
+ Remove-AzureRmLogicApp -ResourceGroupName $resourceGroupName -Name $WorkflowName -Force
+}
+
+<#
+.SYNOPSIS
+Test Set-AzureRmLogicApp command to update workflow defintion without parametrs.
+Test Set-AzureRmLogicApp command to update workflow defintion and state to Disabled.
+Test Set-AzureRmLogicApp command to update workflow state to Enabled.
+Test Set-AzureRmLogicApp command to set logic app with null definition.
+Test Set-AzureRmLogicApp command to set non-existing logic app.
+#>
+function Test-UpdateLogicApp
+{
+ $resourceGroup = TestSetup-CreateResourceGroup
+ $workflowName = getAssetname
+ $resourceGroupName = $resourceGroup.ResourceGroupName
+
+ $planName = "StandardServicePlan"
+ $Plan = TestSetup-CreateAppServicePlan $resourceGroup.ResourceGroupName $planName
+
+ $simpleDefinitionFilePath = "Resources\TestSimpleWorkflowDefinition.json"
+ $simpleParameterFilePath = "Resources\TestSimpleWorkflowParameter.json"
+ $workflow = $resourceGroup | New-AzureRmLogicApp -Name $workflowName -AppServicePlan $planName -DefinitionFilePath $simpleDefinitionFilePath -ParameterFilePath $simpleParameterFilePath
+
+ Assert-NotNull $workflow
+
+ #Case1: Update definition with no parameters and disable
+ $definitionFilePath = "Resources\TestSimpleWorkflowTriggerDefinition.json"
+
+ $UpdatedWorkflow = Set-AzureRmLogicApp -ResourceGroupName $resourceGroupName -Name $workflowName -State "Disabled" -DefinitionFilePath $definitionFilePath -Parameters $null
+
+ Assert-NotNull $UpdatedWorkflow
+ Assert-AreEqual $UpdatedWorkflow.State "Disabled"
+
+ #Case2: Update definition with parameters of logic app
+ $UpdatedWorkflow = Set-AzureRmLogicApp -ResourceGroupName $resourceGroupName -Name $workflowName -DefinitionFilePath $simpleDefinitionFilePath -ParameterFilePath $simpleParameterFilePath
+
+ Assert-NotNull $UpdatedWorkflow
+
+ #Case3: Enable the logic app
+ $UpdatedWorkflow = Set-AzureRmLogicApp -ResourceGroupName $resourceGroupName -Name $workflowName -State "Enabled"
+
+ Assert-NotNull $UpdatedWorkflow
+ Assert-AreEqual $UpdatedWorkflow.State "Enabled"
+
+ #Case4: Test update command to set logic app with null definition
+ try
+ {
+ $UpdatedWorkflow = Set-AzureRmLogicApp -ResourceGroupName $resourceGroupName -Name $workflowName -Definition $null
+ }
+ catch
+ {
+ Assert-AreEqual $_.Exception.Message "Definition content needs to be specified."
+ }
+
+ #Case5: Update non-existing workflow
+
+ try
+ {
+ $workflowName = "82D2D842-C312-445C-8A4D-E3EE9542436D"
+ $definitionFilePath = "Resources\TestSimpleWorkflowTriggerDefinition.json"
+ Set-AzureRmLogicApp -ResourceGroupName $resourceGroupName -Name $workflowName -AppServicePlan $planName -DefinitionFilePath $definitionFilePath
+ }
+ catch
+ {
+ Assert-AreEqual $_.Exception.Message "The Resource 'Microsoft.Logic/workflows/$workflowName' under resource group '$resourceGroupName' was not found."
+ }
+}
+
+<#
+.SYNOPSIS
+Test New-AzureRmLogicApp to create logic app for non-existing service plan. Constraint validation.
+#>
+function Test-CreateLogicAppWithNonExistingAppServicePlan
+{
+ $resourceGroup = TestSetup-CreateResourceGroup
+ $workflowName = getAssetname
+ $resourceGroupName = $resourceGroup.ResourceGroupName
+ $definitionFilePath = "Resources\TestSimpleWorkflowDefinition.json"
+ $parameterFilePath = "Resources\TestSimpleWorkflowParameter.json"
+ $Plan = "B9F87338CAE4470F9116F3D685365748"
+ try
+ {
+ $workflow = New-AzureRmLogicApp -ResourceGroupName $resourceGroupName -Name $workflowName -AppServicePlan $Plan -DefinitionFilePath $definitionFilePath -ParameterFilePath $parameterFilePath
+ }
+ catch
+ {
+ Assert-AreEqual $_.Exception.Message "The Resource 'Microsoft.Web/serverFarms/$Plan' under resource group '$resourceGroupName' was not found."
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp.Test/ScenarioTests/WorkflowTriggerTests.cs b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/ScenarioTests/WorkflowTriggerTests.cs
new file mode 100644
index 000000000000..b65710bc1948
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/ScenarioTests/WorkflowTriggerTests.cs
@@ -0,0 +1,58 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+
+namespace Microsoft.Azure.Commands.LogicApp.Test.ScenarioTests
+{
+ using Microsoft.WindowsAzure.Commands.ScenarioTest;
+ using Microsoft.WindowsAzure.Commands.Test.Utilities.Common;
+ using Xunit;
+
+ ///
+ /// Scenario tests for the Workflow trigger commands
+ ///
+ public class WorkflowTriggerTests : RMTestBase
+ {
+
+ ///
+ /// Test Test-GetAzureLogicAppTrigger command to verify the trigger in the workflow.
+ ///
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void TestGetAzureLogicAppTrigger()
+ {
+ WorkflowController.NewInstance.RunPowerShellTest("Test-GetAzureLogicAppTrigger");
+ }
+
+ ///
+ /// Test Get-AzureLogicAppTriggerHistory command to verify the trigger history for the workflow.
+ ///
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void TestGetAzureLogicAppTriggerHistory()
+ {
+ WorkflowController.NewInstance.RunPowerShellTest("Test-GetAzureLogicAppTriggerHistory");
+ }
+
+ ///
+ /// Test Start-AzureLogicAppTrigger command to run the trigger of the workflow.
+ ///
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void TestStartAzureLogicAppTrigger()
+ {
+ WorkflowController.NewInstance.RunPowerShellTest("Test-StartAzureLogicAppTrigger");
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp.Test/ScenarioTests/WorkflowTriggerTests.ps1 b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/ScenarioTests/WorkflowTriggerTests.ps1
new file mode 100644
index 000000000000..1f3f58ed9c36
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/ScenarioTests/WorkflowTriggerTests.ps1
@@ -0,0 +1,104 @@
+# ----------------------------------------------------------------------------------
+#
+# Copyright Microsoft Corporation
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ----------------------------------------------------------------------------------
+
+<#
+.SYNOPSIS
+Test Get-AzureRmLogicAppTrigger for workflow triggers and test to get trigger by name
+#>
+function Test-GetAzureLogicAppTrigger
+{
+ $resourceGroup = TestSetup-CreateResourceGroup
+ $resourceGroupName = $resourceGroup.ResourceGroupName
+ $planName = "StandardServicePlan"
+ $Plan = TestSetup-CreateAppServicePlan $resourceGroup.ResourceGroupName $planName
+
+ $workflowName = getAssetname
+ $definitionFilePath = "Resources\TestSimpleWorkflowTriggerDefinition.json"
+
+ $workflow = New-AzureRmLogicApp -ResourceGroupName $resourceGroupName -Name $workflowName -DefinitionFilePath $definitionFilePath -AppServicePlan $planName
+
+ $workflowTrigger = Get-AzureRmLogicAppTrigger -ResourceGroupName $resourceGroupName -Name $workflowName
+ Assert-NotNull $workflowTrigger
+
+ $workflowTrigger = Get-AzureRmLogicAppTrigger -ResourceGroupName $resourceGroupName -Name $workflowName -TriggerName "httpTrigger"
+ Assert-NotNull $workflowTrigger
+}
+
+<#
+.SYNOPSIS
+Test Get-AzureRmLogicAppTriggerHistory command to get workflow trigger histories and history by history name
+#>
+function Test-GetAzureLogicAppTriggerHistory
+{
+ $resourceGroup = TestSetup-CreateResourceGroup
+ $resourceGroupName = $resourceGroup.ResourceGroupName
+ $planName = "StandardServicePlan"
+ $Plan = TestSetup-CreateAppServicePlan $resourceGroup.ResourceGroupName $planName
+
+ $workflowName = getAssetname
+ $definitionFilePath = "Resources\TestSimpleWorkflowTriggerDefinition.json"
+
+ $workflow = New-AzureRmLogicApp -ResourceGroupName $resourceGroupName -Name $workflowName -DefinitionFilePath $definitionFilePath -AppServicePlan $planName
+
+ [int]$counter = 0
+ do {
+ Sleep -seconds 2
+ $workflow = Get-AzureRmLogicApp -ResourceGroupName $resourceGroupName -Name $workflowName
+ } while ($workflow.State -ne "Enabled" -or $counter++ -lt 5)
+
+ Start-AzureRmLogicApp -ResourceGroupName $resourceGroupName -Name $workflowName -TriggerName "httpTrigger"
+
+ $workflowTriggerHistories = Get-AzureRmLogicAppTriggerHistory -ResourceGroupName $resourceGroupName -Name $workflowName -TriggerName "httpTrigger"
+ Assert-NotNull $workflowTriggerHistories
+ $firstHistory = $workflowTriggerHistories[0]
+
+ $workflowTriggerHistory = Get-AzureRmLogicAppTriggerHistory -ResourceGroupName $resourceGroupName -Name $workflowName -TriggerName "httpTrigger" -HistoryName $firstHistory.Name
+ Assert-NotNull $workflowTriggerHistory
+}
+
+<#
+.SYNOPSIS
+Test Start-AzureRmLogicAppTrigger command to run workflow trigger
+#>
+function Test-StartAzureLogicAppTrigger
+{
+ $resourceGroup = TestSetup-CreateResourceGroup
+ $resourceGroupName = $resourceGroup.ResourceGroupName
+ $planName = "StandardServicePlan"
+ $Plan = TestSetup-CreateAppServicePlan $resourceGroup.ResourceGroupName $planName
+
+ $workflowName = getAssetname
+ $definitionFilePath = "Resources\TestSimpleWorkflowTriggerDefinition.json"
+
+ $workflow = New-AzureRmLogicApp -ResourceGroupName $resourceGroupName -Name $workflowName -DefinitionFilePath $definitionFilePath -AppServicePlan $planName
+
+ [int]$counter = 0
+ do {
+ Sleep -seconds 2
+ $workflow = Get-AzureRmLogicApp -ResourceGroupName $resourceGroupName -Name $workflowName
+ } while ($workflow.State -ne "Enabled" -or $counter++ -lt 5)
+
+ $workflowTriggerHistories1 = Get-AzureRmLogicAppTriggerHistory -ResourceGroupName $resourceGroupName -Name $workflowName -TriggerName "httpTrigger"
+ $counter = 2
+ while($val -lt $counter)
+ {
+ Start-AzureRmLogicApp -ResourceGroupName $resourceGroupName -Name $workflowName -TriggerName "httpTrigger"
+ Sleep -seconds 1
+ $val++
+ }
+
+ $workflowTriggerHistories2 = Get-AzureRmLogicAppTriggerHistory -ResourceGroupName $resourceGroupName -Name $workflowName -TriggerName "httpTrigger"
+ $count = $workflowTriggerHistories2.Count - $workflowTriggerHistories1.Count
+ Assert-AreEqual $counter $count
+}
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp.Test/SessionRecords/Microsoft.Azure.Commands.LogicApp.Test.ScenarioTests.WorkflowAccessKeyTests/TestGetAzureLogicAppAccessKey.json b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/SessionRecords/Microsoft.Azure.Commands.LogicApp.Test.ScenarioTests.WorkflowAccessKeyTests/TestGetAzureLogicAppAccessKey.json
new file mode 100644
index 000000000000..19538599e64e
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/SessionRecords/Microsoft.Azure.Commands.LogicApp.Test.ScenarioTests.WorkflowAccessKeyTests/TestGetAzureLogicAppAccessKey.json
@@ -0,0 +1,460 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk714?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlZ3JvdXBzL29uZXNkazcxND9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=",
+ "RequestMethod": "HEAD",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "101"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14944"
+ ],
+ "x-ms-request-id": [
+ "81759903-7d0b-4d25-9fc9-1a7320294ba4"
+ ],
+ "x-ms-correlation-request-id": [
+ "81759903-7d0b-4d25-9fc9-1a7320294ba4"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221246Z:81759903-7d0b-4d25-9fc9-1a7320294ba4"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:12:46 GMT"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk714?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlZ3JvdXBzL29uZXNkazcxND9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"West US\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "29"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk714\",\r\n \"name\": \"onesdk714\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "171"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "x-ms-request-id": [
+ "8608402a-796a-4f90-b5ef-213ef4015185"
+ ],
+ "x-ms-correlation-request-id": [
+ "8608402a-796a-4f90-b5ef-213ef4015185"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221247Z:8608402a-796a-4f90-b5ef-213ef4015185"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:12:47 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk714/resources?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazcxNC9yZXNvdXJjZXM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.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": [
+ "14942"
+ ],
+ "x-ms-request-id": [
+ "ff920b73-2528-4cf1-bc7c-c5020cdd8122"
+ ],
+ "x-ms-correlation-request-id": [
+ "ff920b73-2528-4cf1-bc7c-c5020cdd8122"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221247Z:ff920b73-2528-4cf1-bc7c-c5020cdd8122"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:12:47 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk714/providers/Microsoft.Web/serverfarms/StandardServicePlan?api-version=2015-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazcxNC9wcm92aWRlcnMvTWljcm9zb2Z0LldlYi9zZXJ2ZXJmYXJtcy9TdGFuZGFyZFNlcnZpY2VQbGFuP2FwaS12ZXJzaW9uPTIwMTUtMDgtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "7d26d55e-9ec1-401e-b524-5e2ffd2957ff"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.WebSites.WebSiteManagementClient/0.9.0.0"
+ ],
+ "Accept": [
+ "application/json"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk714/providers/Microsoft.Web/serverfarms/StandardServicePlan\",\r\n \"name\": \"StandardServicePlan\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"West US\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"serverFarmId\": 0,\r\n \"name\": \"StandardServicePlan\",\r\n \"workerSize\": 0,\r\n \"workerSizeId\": 0,\r\n \"numberOfWorkers\": 1,\r\n \"currentWorkerSize\": 0,\r\n \"currentWorkerSizeId\": 0,\r\n \"currentNumberOfWorkers\": 1,\r\n \"status\": 0,\r\n \"webSpace\": \"onesdk714-WestUSwebspace\",\r\n \"subscription\": \"57b7034d-72d4-433d-ace2-a7460aed6a99\",\r\n \"adminSiteName\": null,\r\n \"hostingEnvironment\": null,\r\n \"hostingEnvironmentProfile\": null,\r\n \"maximumNumberOfWorkers\": 10,\r\n \"planName\": \"VirtualDedicatedPlan\",\r\n \"adminRuntimeSiteName\": null,\r\n \"computeMode\": 0,\r\n \"siteMode\": null,\r\n \"geoRegion\": \"West US\",\r\n \"perSiteScaling\": false,\r\n \"numberOfSites\": 0,\r\n \"hostingEnvironmentId\": null,\r\n \"tags\": null,\r\n \"kind\": null,\r\n \"resourceGroup\": \"onesdk714\"\r\n },\r\n \"sku\": {\r\n \"name\": \"S1\",\r\n \"tier\": \"Standard\",\r\n \"size\": \"S1\",\r\n \"family\": \"S\",\r\n \"capacity\": 1\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "948"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "e3144fd5-efe3-4c20-aa11-39d1d0955ea9"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14965"
+ ],
+ "x-ms-correlation-request-id": [
+ "cdbba261-47a1-4abb-bf04-72efcb9f3898"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221305Z:cdbba261-47a1-4abb-bf04-72efcb9f3898"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:13:05 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.0"
+ ],
+ "X-AspNet-Version": [
+ "4.0.30319"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk714/providers/Microsoft.Logic/workflows/onesdk2491?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazcxNC9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9vbmVzZGsyNDkxP2FwaS12ZXJzaW9uPTIwMTUtMDItMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "c5d006f7-e3ab-4cf0-a5c5-ff32dfc022b5"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Logic/workflows/onesdk2491' under resource group 'onesdk714' was not found.\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "149"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-request-id": [
+ "eeca8aea-15f7-4d65-9c83-540bf07d50d4"
+ ],
+ "x-ms-correlation-request-id": [
+ "eeca8aea-15f7-4d65-9c83-540bf07d50d4"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221307Z:eeca8aea-15f7-4d65-9c83-540bf07d50d4"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:13:07 GMT"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk714/providers/Microsoft.Logic/workflows/onesdk2491?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazcxNC9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9vbmVzZGsyNDkxP2FwaS12ZXJzaW9uPTIwMTUtMDItMDEtcHJldmlldw==",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"state\": \"Enabled\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk714/providers/Microsoft.Web/serverfarms/StandardServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"https://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 \"type\": \"bool\",\r\n \"defaultValue\": true\r\n },\r\n \"destinationUri\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"http://tempuri.org\"\r\n }\r\n },\r\n \"triggers\": {},\r\n \"actions\": {\r\n \"http\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"POST\",\r\n \"uri\": \"@parameters('destinationUri')\",\r\n \"body\": \"Test\"\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {\r\n \"destinationUri\": {\r\n \"value\": \"http://requestb.in/1kj7g8e1\"\r\n }\r\n }\r\n }\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "1178"
+ ],
+ "x-ms-client-request-id": [
+ "8e58a6c3-a913-4d1e-99f4-2874c7d0b5ac"
+ ],
+ "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-01-29T22:13:07.353892Z\",\r\n \"changedTime\": \"2016-01-29T22:13:07.353892Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587475012981977063\",\r\n \"accessEndpoint\": \"https://westus.logic.azure.com:443/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk714/providers/Microsoft.Logic/workflows/onesdk2491\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk714/providers/Microsoft.Web/serverfarms/StandardServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"StandardServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"https://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 \"destinationUri\": {\r\n \"defaultValue\": \"http://tempuri.org\",\r\n \"type\": \"String\"\r\n }\r\n },\r\n \"triggers\": {},\r\n \"actions\": {\r\n \"http\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"POST\",\r\n \"uri\": \"@parameters('destinationUri')\",\r\n \"body\": \"Test\"\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {\r\n \"destinationUri\": {\r\n \"value\": \"http://requestb.in/1kj7g8e1\"\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk714/providers/Microsoft.Logic/workflows/onesdk2491\",\r\n \"name\": \"onesdk2491\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1350"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "westus:33f283a4-ec94-4ce1-b53b-22d31fa25a8f"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1197"
+ ],
+ "x-ms-correlation-request-id": [
+ "846e11d9-8715-4510-87e9-8cac8bd2f233"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221308Z:846e11d9-8715-4510-87e9-8cac8bd2f233"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:13:08 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk714/providers/Microsoft.Logic/workflows/onesdk2491/accessKeys/default/list?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazcxNC9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9vbmVzZGsyNDkxL2FjY2Vzc0tleXMvZGVmYXVsdC9saXN0P2FwaS12ZXJzaW9uPTIwMTUtMDItMDEtcHJldmlldw==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "715aa51d-8da8-4e91-b25b-77b279772cbc"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"primarySecretKey\": \"Vq4hTG21NWbyO51KJ_9mSX3aylGxGtzs4i_9Ksu32D0\",\r\n \"secondarySecretKey\": \"nGrfBeTiKLgBok1J1ffsWBe5_KJDoPm4XRitoytuhbc\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "133"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Vary": [
+ "Accept-Encoding"
+ ],
+ "x-ms-request-id": [
+ "westus:8fcd2b7a-7f22-4fe9-a5f0-f20b456363ef"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1196"
+ ],
+ "x-ms-correlation-request-id": [
+ "42cdbf2d-c168-4735-8c25-432f4be328ee"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221309Z:42cdbf2d-c168-4735-8c25-432f4be328ee"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:13:08 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk714/providers/Microsoft.Logic/workflows/onesdk2491/accessKeys/default/list?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazcxNC9wcm92aWRlcnMvTWljcm9zb2Z0LkxvZ2ljL3dvcmtmbG93cy9vbmVzZGsyNDkxL2FjY2Vzc0tleXMvZGVmYXVsdC9saXN0P2FwaS12ZXJzaW9uPTIwMTUtMDItMDEtcHJldmlldw==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "44f13322-c4fb-4565-a1bb-bf3bb078f0bf"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"primarySecretKey\": \"Vq4hTG21NWbyO51KJ_9mSX3aylGxGtzs4i_9Ksu32D0\",\r\n \"secondarySecretKey\": \"nGrfBeTiKLgBok1J1ffsWBe5_KJDoPm4XRitoytuhbc\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "133"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Vary": [
+ "Accept-Encoding"
+ ],
+ "x-ms-request-id": [
+ "westus:475256b4-50d7-4982-8d4e-3cf7996973f5"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1195"
+ ],
+ "x-ms-correlation-request-id": [
+ "bd5e0a13-ef4a-409c-b864-95d369669717"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221309Z:bd5e0a13-ef4a-409c-b864-95d369669717"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:13:08 GMT"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {
+ "Test-GetAzureLogicAppAccessKey": [
+ "onesdk714",
+ "onesdk2491"
+ ]
+ },
+ "Variables": {
+ "SubscriptionId": "57b7034d-72d4-433d-ace2-a7460aed6a99"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp.Test/SessionRecords/Microsoft.Azure.Commands.LogicApp.Test.ScenarioTests.WorkflowAccessKeyTests/TestSetAzureLogicAppAccessKey.json b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/SessionRecords/Microsoft.Azure.Commands.LogicApp.Test.ScenarioTests.WorkflowAccessKeyTests/TestSetAzureLogicAppAccessKey.json
new file mode 100644
index 000000000000..773dbf1abb4c
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/SessionRecords/Microsoft.Azure.Commands.LogicApp.Test.ScenarioTests.WorkflowAccessKeyTests/TestSetAzureLogicAppAccessKey.json
@@ -0,0 +1,529 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk3830?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlZ3JvdXBzL29uZXNkazM4MzA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "HEAD",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "102"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14968"
+ ],
+ "x-ms-request-id": [
+ "00d4e1bf-8f45-4ef2-a77e-6de0ffb76165"
+ ],
+ "x-ms-correlation-request-id": [
+ "00d4e1bf-8f45-4ef2-a77e-6de0ffb76165"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221208Z:00d4e1bf-8f45-4ef2-a77e-6de0ffb76165"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:12:08 GMT"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk3830?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlZ3JvdXBzL29uZXNkazM4MzA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"West US\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "29"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk3830\",\r\n \"name\": \"onesdk3830\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "173"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1197"
+ ],
+ "x-ms-request-id": [
+ "7874487d-c5dd-401c-862c-d6de04f2bf4d"
+ ],
+ "x-ms-correlation-request-id": [
+ "7874487d-c5dd-401c-862c-d6de04f2bf4d"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221209Z:7874487d-c5dd-401c-862c-d6de04f2bf4d"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:12:09 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk3830/resources?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazM4MzAvcmVzb3VyY2VzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.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": [
+ "14967"
+ ],
+ "x-ms-request-id": [
+ "b35af272-d175-4566-b946-6754fc44af12"
+ ],
+ "x-ms-correlation-request-id": [
+ "b35af272-d175-4566-b946-6754fc44af12"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221209Z:b35af272-d175-4566-b946-6754fc44af12"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:12:09 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk3830/providers/Microsoft.Web/serverfarms/StandardServicePlan?api-version=2015-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazM4MzAvcHJvdmlkZXJzL01pY3Jvc29mdC5XZWIvc2VydmVyZmFybXMvU3RhbmRhcmRTZXJ2aWNlUGxhbj9hcGktdmVyc2lvbj0yMDE1LTA4LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "17d3a7b5-0790-484a-8552-2da9eb33dabc"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.WebSites.WebSiteManagementClient/0.9.0.0"
+ ],
+ "Accept": [
+ "application/json"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk3830/providers/Microsoft.Web/serverfarms/StandardServicePlan\",\r\n \"name\": \"StandardServicePlan\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"West US\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"serverFarmId\": 0,\r\n \"name\": \"StandardServicePlan\",\r\n \"workerSize\": 0,\r\n \"workerSizeId\": 0,\r\n \"numberOfWorkers\": 1,\r\n \"currentWorkerSize\": 0,\r\n \"currentWorkerSizeId\": 0,\r\n \"currentNumberOfWorkers\": 1,\r\n \"status\": 0,\r\n \"webSpace\": \"onesdk3830-WestUSwebspace\",\r\n \"subscription\": \"57b7034d-72d4-433d-ace2-a7460aed6a99\",\r\n \"adminSiteName\": null,\r\n \"hostingEnvironment\": null,\r\n \"hostingEnvironmentProfile\": null,\r\n \"maximumNumberOfWorkers\": 10,\r\n \"planName\": \"VirtualDedicatedPlan\",\r\n \"adminRuntimeSiteName\": null,\r\n \"computeMode\": 0,\r\n \"siteMode\": null,\r\n \"geoRegion\": \"West US\",\r\n \"perSiteScaling\": false,\r\n \"numberOfSites\": 0,\r\n \"hostingEnvironmentId\": null,\r\n \"tags\": null,\r\n \"kind\": null,\r\n \"resourceGroup\": \"onesdk3830\"\r\n },\r\n \"sku\": {\r\n \"name\": \"S1\",\r\n \"tier\": \"Standard\",\r\n \"size\": \"S1\",\r\n \"family\": \"S\",\r\n \"capacity\": 1\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "951"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "4ab2046d-cf70-4a1f-8cda-499f9185bcdb"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14961"
+ ],
+ "x-ms-correlation-request-id": [
+ "9f252bca-c7fc-452c-bbe9-c6616b64231b"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221218Z:9f252bca-c7fc-452c-bbe9-c6616b64231b"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:12:18 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.0"
+ ],
+ "X-AspNet-Version": [
+ "4.0.30319"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk3830/providers/Microsoft.Logic/workflows/onesdk8944?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazM4MzAvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrODk0ND9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "a8475af0-f5e9-4ec1-9075-35db5f4381bd"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Logic/workflows/onesdk8944' under resource group 'onesdk3830' was not found.\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "150"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-request-id": [
+ "ee530c22-6397-4455-8300-ac259a5a6849"
+ ],
+ "x-ms-correlation-request-id": [
+ "ee530c22-6397-4455-8300-ac259a5a6849"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221217Z:ee530c22-6397-4455-8300-ac259a5a6849"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:12:17 GMT"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk3830/providers/Microsoft.Logic/workflows/onesdk8944?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazM4MzAvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrODk0ND9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"state\": \"Enabled\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk3830/providers/Microsoft.Web/serverfarms/StandardServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"https://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 \"type\": \"bool\",\r\n \"defaultValue\": true\r\n },\r\n \"destinationUri\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"http://tempuri.org\"\r\n }\r\n },\r\n \"triggers\": {},\r\n \"actions\": {\r\n \"http\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"POST\",\r\n \"uri\": \"@parameters('destinationUri')\",\r\n \"body\": \"Test\"\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {\r\n \"destinationUri\": {\r\n \"value\": \"http://requestb.in/1kj7g8e1\"\r\n }\r\n }\r\n }\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "1179"
+ ],
+ "x-ms-client-request-id": [
+ "d08b70ca-fa8d-4023-b795-1ca15cfd5605"
+ ],
+ "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-01-29T22:12:19.3431277Z\",\r\n \"changedTime\": \"2016-01-29T22:12:19.3431277Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587475013471380353\",\r\n \"accessEndpoint\": \"https://westus.logic.azure.com:443/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk3830/providers/Microsoft.Logic/workflows/onesdk8944\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk3830/providers/Microsoft.Web/serverfarms/StandardServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"StandardServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"https://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 \"destinationUri\": {\r\n \"defaultValue\": \"http://tempuri.org\",\r\n \"type\": \"String\"\r\n }\r\n },\r\n \"triggers\": {},\r\n \"actions\": {\r\n \"http\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"POST\",\r\n \"uri\": \"@parameters('destinationUri')\",\r\n \"body\": \"Test\"\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {\r\n \"destinationUri\": {\r\n \"value\": \"http://requestb.in/1kj7g8e1\"\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk3830/providers/Microsoft.Logic/workflows/onesdk8944\",\r\n \"name\": \"onesdk8944\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1355"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "westus:573e3950-3c99-4357-99cf-9a387fff35d2"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1198"
+ ],
+ "x-ms-correlation-request-id": [
+ "09842449-e7f0-473f-a778-4cd6ef4a1ab9"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221220Z:09842449-e7f0-473f-a778-4cd6ef4a1ab9"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:12:20 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk3830/providers/Microsoft.Logic/workflows/onesdk8944/accessKeys/default/list?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazM4MzAvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrODk0NC9hY2Nlc3NLZXlzL2RlZmF1bHQvbGlzdD9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "0eb926cb-b494-4820-8cf4-424cd603eb9a"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"primarySecretKey\": \"rAuvo9A4kw6I-RhDvZysuV93MRjLZtslG_9DBjywSbQ\",\r\n \"secondarySecretKey\": \"kA6EfzOxHhUbQPsCifiKTik3rx9e4LaRo6Pcy_uyA4M\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "133"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Vary": [
+ "Accept-Encoding"
+ ],
+ "x-ms-request-id": [
+ "westus:4e378704-5e9a-4a88-8261-0e54010d156b"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1197"
+ ],
+ "x-ms-correlation-request-id": [
+ "b06875e9-cadc-41b1-a0ac-1e48d5b9e0e7"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221220Z:b06875e9-cadc-41b1-a0ac-1e48d5b9e0e7"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:12:20 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk3830/providers/Microsoft.Logic/workflows/onesdk8944/accessKeys/default/regenerate?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazM4MzAvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrODk0NC9hY2Nlc3NLZXlzL2RlZmF1bHQvcmVnZW5lcmF0ZT9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "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": [
+ "0bf67a58-a444-4b38-9792-84899707ad4c"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"primarySecretKey\": \"CuLqVtlycVYAKFdiuAjJQvkfr8GwSFey2Jtu1vjcgMQ\",\r\n \"secondarySecretKey\": \"kA6EfzOxHhUbQPsCifiKTik3rx9e4LaRo6Pcy_uyA4M\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "133"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Vary": [
+ "Accept-Encoding"
+ ],
+ "x-ms-request-id": [
+ "westus:09749a53-7b36-48f5-ad8b-a15b5246bc65"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1196"
+ ],
+ "x-ms-correlation-request-id": [
+ "7681123d-5116-479e-8425-8ad934bd7845"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221221Z:7681123d-5116-479e-8425-8ad934bd7845"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:12:21 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk3830/providers/Microsoft.Logic/workflows/onesdk8944/accessKeys/default/regenerate?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazM4MzAvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrODk0NC9hY2Nlc3NLZXlzL2RlZmF1bHQvcmVnZW5lcmF0ZT9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "POST",
+ "RequestBody": "{\r\n \"keyType\": \"Secondary\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "30"
+ ],
+ "x-ms-client-request-id": [
+ "194de73c-6509-4e5b-b4f9-a9303fd59f4d"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"primarySecretKey\": \"CuLqVtlycVYAKFdiuAjJQvkfr8GwSFey2Jtu1vjcgMQ\",\r\n \"secondarySecretKey\": \"nkFinxt7GIYjSBRvZ8dss11MU0tCnpg_oQmy3G80YK8\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "133"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Vary": [
+ "Accept-Encoding"
+ ],
+ "x-ms-request-id": [
+ "westus:e7067e42-ba42-43b8-9458-a45b16ddacb9"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1195"
+ ],
+ "x-ms-correlation-request-id": [
+ "c40af44a-0991-45be-847a-1c9dfe37a07e"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221221Z:c40af44a-0991-45be-847a-1c9dfe37a07e"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:12:21 GMT"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {
+ "Test-SetAzureLogicAppAccessKey": [
+ "onesdk3830",
+ "onesdk8944"
+ ]
+ },
+ "Variables": {
+ "SubscriptionId": "57b7034d-72d4-433d-ace2-a7460aed6a99"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp.Test/SessionRecords/Microsoft.Azure.Commands.LogicApp.Test.ScenarioTests.WorkflowRunTests/TestGetAzureLogicAppRunAction.json b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/SessionRecords/Microsoft.Azure.Commands.LogicApp.Test.ScenarioTests.WorkflowRunTests/TestGetAzureLogicAppRunAction.json
new file mode 100644
index 000000000000..c1ea207013f6
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/SessionRecords/Microsoft.Azure.Commands.LogicApp.Test.ScenarioTests.WorkflowRunTests/TestGetAzureLogicAppRunAction.json
@@ -0,0 +1,625 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk3131?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlZ3JvdXBzL29uZXNkazMxMzE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "HEAD",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "102"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14902"
+ ],
+ "x-ms-request-id": [
+ "5c508153-50f7-42e5-b663-e472875c7dbc"
+ ],
+ "x-ms-correlation-request-id": [
+ "5c508153-50f7-42e5-b663-e472875c7dbc"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T222948Z:5c508153-50f7-42e5-b663-e472875c7dbc"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:29:47 GMT"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk3131?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlZ3JvdXBzL29uZXNkazMxMzE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"West US\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "29"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk3131\",\r\n \"name\": \"onesdk3131\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "173"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1198"
+ ],
+ "x-ms-request-id": [
+ "4b1431e8-339b-4fba-96e6-84c68bc835b6"
+ ],
+ "x-ms-correlation-request-id": [
+ "4b1431e8-339b-4fba-96e6-84c68bc835b6"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T222949Z:4b1431e8-339b-4fba-96e6-84c68bc835b6"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:29:49 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk3131/resources?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazMxMzEvcmVzb3VyY2VzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.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": [
+ "14901"
+ ],
+ "x-ms-request-id": [
+ "8352c72b-43ed-4376-a808-cf745800cc33"
+ ],
+ "x-ms-correlation-request-id": [
+ "8352c72b-43ed-4376-a808-cf745800cc33"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T222950Z:8352c72b-43ed-4376-a808-cf745800cc33"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:29:49 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk3131/providers/Microsoft.Web/serverfarms/StandardServicePlan?api-version=2015-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazMxMzEvcHJvdmlkZXJzL01pY3Jvc29mdC5XZWIvc2VydmVyZmFybXMvU3RhbmRhcmRTZXJ2aWNlUGxhbj9hcGktdmVyc2lvbj0yMDE1LTA4LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "a2c62557-d8b2-416c-a1a4-8c4dab23c047"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.WebSites.WebSiteManagementClient/0.9.0.0"
+ ],
+ "Accept": [
+ "application/json"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk3131/providers/Microsoft.Web/serverfarms/StandardServicePlan\",\r\n \"name\": \"StandardServicePlan\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"West US\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"serverFarmId\": 0,\r\n \"name\": \"StandardServicePlan\",\r\n \"workerSize\": 0,\r\n \"workerSizeId\": 0,\r\n \"numberOfWorkers\": 1,\r\n \"currentWorkerSize\": 0,\r\n \"currentWorkerSizeId\": 0,\r\n \"currentNumberOfWorkers\": 1,\r\n \"status\": 0,\r\n \"webSpace\": \"onesdk3131-WestUSwebspace\",\r\n \"subscription\": \"57b7034d-72d4-433d-ace2-a7460aed6a99\",\r\n \"adminSiteName\": null,\r\n \"hostingEnvironment\": null,\r\n \"hostingEnvironmentProfile\": null,\r\n \"maximumNumberOfWorkers\": 10,\r\n \"planName\": \"VirtualDedicatedPlan\",\r\n \"adminRuntimeSiteName\": null,\r\n \"computeMode\": 0,\r\n \"siteMode\": null,\r\n \"geoRegion\": \"West US\",\r\n \"perSiteScaling\": false,\r\n \"numberOfSites\": 0,\r\n \"hostingEnvironmentId\": null,\r\n \"tags\": null,\r\n \"kind\": null,\r\n \"resourceGroup\": \"onesdk3131\"\r\n },\r\n \"sku\": {\r\n \"name\": \"S1\",\r\n \"tier\": \"Standard\",\r\n \"size\": \"S1\",\r\n \"family\": \"S\",\r\n \"capacity\": 1\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "951"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "b581bd57-2f44-4f16-b2bf-ecbbd895ede8"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14962"
+ ],
+ "x-ms-correlation-request-id": [
+ "3134efc6-4e72-43fe-bcb3-d8382a093f09"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T222958Z:3134efc6-4e72-43fe-bcb3-d8382a093f09"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:29:58 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.0"
+ ],
+ "X-AspNet-Version": [
+ "4.0.30319"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk3131/providers/Microsoft.Logic/workflows/onesdk2279?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazMxMzEvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrMjI3OT9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "bd633bc1-e1e8-4c83-b1f3-0a14e7c229c2"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Logic/workflows/onesdk2279' under resource group 'onesdk3131' was not found.\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "150"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-request-id": [
+ "e1d35f45-ee3c-4836-8c80-28d539bff3e5"
+ ],
+ "x-ms-correlation-request-id": [
+ "e1d35f45-ee3c-4836-8c80-28d539bff3e5"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T222958Z:e1d35f45-ee3c-4836-8c80-28d539bff3e5"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:29:58 GMT"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk3131/providers/Microsoft.Logic/workflows/onesdk2279?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazMxMzEvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrMjI3OT9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "720a2a5f-e987-4e57-aab7-3ddd7e185328"
+ ],
+ "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-01-29T22:29:59.9028426Z\",\r\n \"changedTime\": \"2016-01-29T22:29:59.9033572Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587475002857136925\",\r\n \"accessEndpoint\": \"https://westus.logic.azure.com:443/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk3131/providers/Microsoft.Logic/workflows/onesdk2279\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk3131/providers/Microsoft.Web/serverfarms/StandardServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"StandardServicePlan\"\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\": false,\r\n \"type\": \"Bool\"\r\n }\r\n },\r\n \"triggers\": {\r\n \"httpTrigger\": {\r\n \"recurrence\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\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 \"expression\": \"@bool('true')\"\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n },\r\n \"http1\": {\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n }\r\n },\r\n \"outputs\": {\r\n \"output1\": {\r\n \"type\": \"String\",\r\n \"value\": \"true\"\r\n }\r\n }\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk3131/providers/Microsoft.Logic/workflows/onesdk2279\",\r\n \"name\": \"onesdk2279\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"West US\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1576"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Vary": [
+ "Accept-Encoding"
+ ],
+ "x-ms-request-id": [
+ "westus:bdee8888-28c5-4815-bbd1-d193dca450d4"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14942"
+ ],
+ "x-ms-correlation-request-id": [
+ "42328027-a2e1-4618-bc15-0d58c6ea48bc"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T223002Z:42328027-a2e1-4618-bc15-0d58c6ea48bc"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:30:02 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk3131/providers/Microsoft.Logic/workflows/onesdk2279?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazMxMzEvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrMjI3OT9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"state\": \"Enabled\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk3131/providers/Microsoft.Web/serverfarms/StandardServicePlan\"\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\": false,\r\n \"type\": \"bool\"\r\n }\r\n },\r\n \"triggers\": {\r\n \"httpTrigger\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"GET\",\r\n \"uri\": \"http://www.bing.com\"\r\n },\r\n \"recurrence\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\r\n \"conditions\": [\r\n {\r\n \"expression\": \"@bool('true')\"\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n },\r\n \"http1\": {\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n }\r\n },\r\n \"outputs\": {\r\n \"output1\": {\r\n \"type\": \"string\",\r\n \"value\": \"true\"\r\n }\r\n }\r\n }\r\n }\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "1774"
+ ],
+ "x-ms-client-request-id": [
+ "6e0e02a0-9a25-44c6-899e-30bb0e05e09f"
+ ],
+ "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-01-29T22:29:59.9028426Z\",\r\n \"changedTime\": \"2016-01-29T22:29:59.9028426Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587475002857136925\",\r\n \"accessEndpoint\": \"https://westus.logic.azure.com:443/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk3131/providers/Microsoft.Logic/workflows/onesdk2279\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk3131/providers/Microsoft.Web/serverfarms/StandardServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"StandardServicePlan\"\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\": false,\r\n \"type\": \"Bool\"\r\n }\r\n },\r\n \"triggers\": {\r\n \"httpTrigger\": {\r\n \"recurrence\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\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 \"expression\": \"@bool('true')\"\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n },\r\n \"http1\": {\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n }\r\n },\r\n \"outputs\": {\r\n \"output1\": {\r\n \"type\": \"String\",\r\n \"value\": \"true\"\r\n }\r\n }\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk3131/providers/Microsoft.Logic/workflows/onesdk2279\",\r\n \"name\": \"onesdk2279\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"West US\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1576"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "westus:8aca3c76-627f-426f-ba6e-04cde2dc4186"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1197"
+ ],
+ "x-ms-correlation-request-id": [
+ "3b9decf0-6cfb-43b7-9ba2-ca2da1549594"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T223000Z:3b9decf0-6cfb-43b7-9ba2-ca2da1549594"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:30:00 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk3131/providers/Microsoft.Logic/workflows/onesdk2279/triggers/httpTrigger/run?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazMxMzEvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrMjI3OS90cmlnZ2Vycy9odHRwVHJpZ2dlci9ydW4/YXBpLXZlcnNpb249MjAxNS0wMi0wMS1wcmV2aWV3",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "63c61041-0f1f-435a-8f91-1400b507eff6"
+ ],
+ "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:57f1f210-6e6c-463a-9a31-7d00d2ceb370"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1196"
+ ],
+ "x-ms-correlation-request-id": [
+ "6d8f87b7-eb24-4e52-a725-aa0515e991ea"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T223002Z:6d8f87b7-eb24-4e52-a725-aa0515e991ea"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:30:02 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk3131/providers/Microsoft.Logic/workflows/onesdk2279/runs?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazMxMzEvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrMjI3OS9ydW5zP2FwaS12ZXJzaW9uPTIwMTUtMDItMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "36276394-60a0-4671-b134-0ef2b99b531d"
+ ],
+ "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-01-29T22:30:01.5263478Z\",\r\n \"status\": \"Running\",\r\n \"correlationId\": \"2bd50c44-1835-4abb-b3d1-67eddc597ce7\",\r\n \"workflow\": {\r\n \"name\": \"onesdk2279/08587475002857136925\",\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk3131/providers/Microsoft.Logic/workflows/onesdk2279/versions/08587475002857136925\",\r\n \"type\": \"Microsoft.Logic/workflows/versions\"\r\n },\r\n \"trigger\": {\r\n \"name\": \"httpTrigger\",\r\n \"inputsLink\": {\r\n \"uri\": \"https://flowprodcu00by01.blob.core.windows.net/flowaca040d3726645a0be4334b9186cf2c920160129t000000zcontent/F126E_425229758d084dae854d038d40c7bcc0_httpTrigger:5Finputs:2Ejson?sv=2014-02-14&sr=b&sig=9GFY35DlF4Pd8ikc8E0YmaFWBr6FI2O9qnT6asKhxW8%3D&se=2016-01-30T02%3A30%3A02Z&sp=r\",\r\n \"contentVersion\": \"\\\"0x8D328FBB9F25550\\\"\",\r\n \"contentSize\": 45,\r\n \"contentHash\": {\r\n \"algorithm\": \"md5\",\r\n \"value\": \"Q+Xqe9OStPsuFRv/FtPA3Q==\"\r\n }\r\n },\r\n \"outputsLink\": {\r\n \"uri\": \"https://flowprodcu00by01.blob.core.windows.net/flowaca040d3726645a0be4334b9186cf2c920160129t000000zcontent/6FF14_3ee48b1f9e2344c29ac92eaa664f225d_httpTrigger:5Foutputs:2Ejson?sv=2014-02-14&sr=b&sig=lPv2s8mHcVIQ%2BkE8UZQlJkZ0suCVCRn4ezQSL58Utso%3D&se=2016-01-30T02%3A30%3A02Z&sp=r\",\r\n \"contentVersion\": \"\\\"0x8D328FBB9F2A384\\\"\",\r\n \"contentSize\": 86273,\r\n \"contentHash\": {\r\n \"algorithm\": \"md5\",\r\n \"value\": \"RhkpKtCqAyiE/7HzL6whFA==\"\r\n }\r\n },\r\n \"startTime\": \"2016-01-29T22:30:01.364958Z\",\r\n \"endTime\": \"2016-01-29T22:30:01.4274534Z\",\r\n \"trackingId\": \"2bd50c44-1835-4abb-b3d1-67eddc597ce7\",\r\n \"code\": \"OK\",\r\n \"status\": \"Succeeded\"\r\n },\r\n \"outputs\": {\r\n \"output1\": {\r\n \"type\": \"String\"\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk3131/providers/Microsoft.Logic/workflows/onesdk2279/runs/08587475002841126244\",\r\n \"name\": \"08587475002841126244\",\r\n \"type\": \"Microsoft.Logic/workflows/runs\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1735"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Vary": [
+ "Accept-Encoding"
+ ],
+ "x-ms-request-id": [
+ "westus:d0b09df1-3e3c-4180-a1ad-425b5e7558d8"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14941"
+ ],
+ "x-ms-correlation-request-id": [
+ "412db0af-62a4-44c9-8100-f4d660babc24"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T223002Z:412db0af-62a4-44c9-8100-f4d660babc24"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:30:02 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk3131/providers/Microsoft.Logic/workflows/onesdk2279/runs/08587475002841126244/actions?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazMxMzEvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrMjI3OS9ydW5zLzA4NTg3NDc1MDAyODQxMTI2MjQ0L2FjdGlvbnM/YXBpLXZlcnNpb249MjAxNS0wMi0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "a8bad692-9bd7-4c07-939e-66da029fad95"
+ ],
+ "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-01-29T22:30:02.4930811Z\",\r\n \"endTime\": \"2016-01-29T22:30:02.6223148Z\",\r\n \"status\": \"Succeeded\",\r\n \"code\": \"OK\",\r\n \"trackingId\": \"6aea6494-47b0-4633-aad4-ebb511da1d37\",\r\n \"inputsLink\": {\r\n \"uri\": \"https://flowprodcu00by01.blob.core.windows.net/flowaca040d3726645a0be4334b9186cf2c920160129t000000zcontent/D5175_241bab9c54f14ca683239a5c5540ca79_http:5Finputs:2Ejson?sv=2014-02-14&sr=b&sig=3aG8Hi7lNgmUeeHKOFj3MImMgBYVcuLEjvpf3pTy%2BNc%3D&se=2016-01-30T02%3A30%3A02Z&sp=r\",\r\n \"contentVersion\": \"\\\"0x8D328FBBA98AC35\\\"\",\r\n \"contentSize\": 45,\r\n \"contentHash\": {\r\n \"algorithm\": \"md5\",\r\n \"value\": \"Q+Xqe9OStPsuFRv/FtPA3Q==\"\r\n }\r\n },\r\n \"outputsLink\": {\r\n \"uri\": \"https://flowprodcu00by01.blob.core.windows.net/flowaca040d3726645a0be4334b9186cf2c920160129t000000zcontent/10667_b311c7551967424d982d9dc2567f63c0_http:5Foutputs:2Ejson?sv=2014-02-14&sr=b&sig=ddK%2BabOoaAZK17Jr4pUEqyLAvc5OdXlIJTNFxXCCJo0%3D&se=2016-01-30T02%3A30%3A02Z&sp=r\",\r\n \"contentVersion\": \"\\\"0x8D328FBBA98D351\\\"\",\r\n \"contentSize\": 86273,\r\n \"contentHash\": {\r\n \"algorithm\": \"md5\",\r\n \"value\": \"ZP3HxRZ1aoA9mx4wZl7Tdw==\"\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk3131/providers/Microsoft.Logic/workflows/onesdk2279/runs/08587475002841126244/actions/http\",\r\n \"name\": \"http\",\r\n \"type\": \"Microsoft.Logic/workflows/runs/actions\"\r\n },\r\n {\r\n \"properties\": {\r\n \"startTime\": \"2016-01-29T22:30:02.5086741Z\",\r\n \"endTime\": \"2016-01-29T22:30:02.6701012Z\",\r\n \"status\": \"Succeeded\",\r\n \"code\": \"OK\",\r\n \"trackingId\": \"814a483f-e7c2-46d7-9933-d48c49d50ed0\",\r\n \"inputsLink\": {\r\n \"uri\": \"https://flowprodcu00by01.blob.core.windows.net/flowaca040d3726645a0be4334b9186cf2c920160129t000000zcontent/1DE66_5779970ad5b24cfebcd557d82fb7abd4_http1:5Finputs:2Ejson?sv=2014-02-14&sr=b&sig=Kg8GhtL8Ev7AcsTmjKh9Ef1yE7S7LZPkmo7lLzZJn%2Bk%3D&se=2016-01-30T02%3A30%3A02Z&sp=r\",\r\n \"contentVersion\": \"\\\"0x8D328FBBA98D351\\\"\",\r\n \"contentSize\": 45,\r\n \"contentHash\": {\r\n \"algorithm\": \"md5\",\r\n \"value\": \"Q+Xqe9OStPsuFRv/FtPA3Q==\"\r\n }\r\n },\r\n \"outputsLink\": {\r\n \"uri\": \"https://flowprodcu00by01.blob.core.windows.net/flowaca040d3726645a0be4334b9186cf2c920160129t000000zcontent/2B420_62cb9a035aec4be8a824f9f0b31a8de9_http1:5Foutputs:2Ejson?sv=2014-02-14&sr=b&sig=71IahBTLJQM1me3h8EnI24wL4yntNgR4u8jNGxOki0Y%3D&se=2016-01-30T02%3A30%3A02Z&sp=r\",\r\n \"contentVersion\": \"\\\"0x8D328FBBA9D8F7E\\\"\",\r\n \"contentSize\": 86273,\r\n \"contentHash\": {\r\n \"algorithm\": \"md5\",\r\n \"value\": \"f2YWMJitWJWDODRIm5Bgkw==\"\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk3131/providers/Microsoft.Logic/workflows/onesdk2279/runs/08587475002841126244/actions/http1\",\r\n \"name\": \"http1\",\r\n \"type\": \"Microsoft.Logic/workflows/runs/actions\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "2549"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Vary": [
+ "Accept-Encoding"
+ ],
+ "x-ms-request-id": [
+ "westus:984993f7-8b3d-456e-92f3-8b62419d9f4a"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14940"
+ ],
+ "x-ms-correlation-request-id": [
+ "8ab04a9f-0a00-43ee-8c52-a03ad345437a"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T223002Z:8ab04a9f-0a00-43ee-8c52-a03ad345437a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:30:02 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk3131/providers/Microsoft.Logic/workflows/onesdk2279/runs/08587475002841126244/actions/http?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazMxMzEvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrMjI3OS9ydW5zLzA4NTg3NDc1MDAyODQxMTI2MjQ0L2FjdGlvbnMvaHR0cD9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "970f0702-70e8-4838-b1c3-13fbc1ffd0ed"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"startTime\": \"2016-01-29T22:30:02.4930811Z\",\r\n \"endTime\": \"2016-01-29T22:30:02.6223148Z\",\r\n \"status\": \"Succeeded\",\r\n \"code\": \"OK\",\r\n \"trackingId\": \"6aea6494-47b0-4633-aad4-ebb511da1d37\",\r\n \"inputsLink\": {\r\n \"uri\": \"https://flowprodcu00by01.blob.core.windows.net/flowaca040d3726645a0be4334b9186cf2c920160129t000000zcontent/D5175_241bab9c54f14ca683239a5c5540ca79_http:5Finputs:2Ejson?sv=2014-02-14&sr=b&sig=3aG8Hi7lNgmUeeHKOFj3MImMgBYVcuLEjvpf3pTy%2BNc%3D&se=2016-01-30T02%3A30%3A02Z&sp=r\",\r\n \"contentVersion\": \"\\\"0x8D328FBBA98AC35\\\"\",\r\n \"contentSize\": 45,\r\n \"contentHash\": {\r\n \"algorithm\": \"md5\",\r\n \"value\": \"Q+Xqe9OStPsuFRv/FtPA3Q==\"\r\n }\r\n },\r\n \"outputsLink\": {\r\n \"uri\": \"https://flowprodcu00by01.blob.core.windows.net/flowaca040d3726645a0be4334b9186cf2c920160129t000000zcontent/10667_b311c7551967424d982d9dc2567f63c0_http:5Foutputs:2Ejson?sv=2014-02-14&sr=b&sig=ddK%2BabOoaAZK17Jr4pUEqyLAvc5OdXlIJTNFxXCCJo0%3D&se=2016-01-30T02%3A30%3A02Z&sp=r\",\r\n \"contentVersion\": \"\\\"0x8D328FBBA98D351\\\"\",\r\n \"contentSize\": 86273,\r\n \"contentHash\": {\r\n \"algorithm\": \"md5\",\r\n \"value\": \"ZP3HxRZ1aoA9mx4wZl7Tdw==\"\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk3131/providers/Microsoft.Logic/workflows/onesdk2279/runs/08587475002841126244/actions/http\",\r\n \"name\": \"http\",\r\n \"type\": \"Microsoft.Logic/workflows/runs/actions\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1267"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Vary": [
+ "Accept-Encoding"
+ ],
+ "x-ms-request-id": [
+ "westus:0743ab15-b522-4a58-b351-12026324c6bd"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14939"
+ ],
+ "x-ms-correlation-request-id": [
+ "36c230b6-e479-4003-8b64-d0e1e572a855"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T223002Z:36c230b6-e479-4003-8b64-d0e1e572a855"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:30:02 GMT"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {
+ "Test-GetAzureLogicAppRunAction": [
+ "onesdk3131",
+ "onesdk2279"
+ ]
+ },
+ "Variables": {
+ "SubscriptionId": "57b7034d-72d4-433d-ace2-a7460aed6a99"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp.Test/SessionRecords/Microsoft.Azure.Commands.LogicApp.Test.ScenarioTests.WorkflowRunTests/TestGetAzureLogicAppRunHistory.json b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/SessionRecords/Microsoft.Azure.Commands.LogicApp.Test.ScenarioTests.WorkflowRunTests/TestGetAzureLogicAppRunHistory.json
new file mode 100644
index 000000000000..f1bd2668c931
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/SessionRecords/Microsoft.Azure.Commands.LogicApp.Test.ScenarioTests.WorkflowRunTests/TestGetAzureLogicAppRunHistory.json
@@ -0,0 +1,568 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk4708?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlZ3JvdXBzL29uZXNkazQ3MDg/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "HEAD",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "102"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14849"
+ ],
+ "x-ms-request-id": [
+ "be821929-a970-4490-b8ea-c2a557e99704"
+ ],
+ "x-ms-correlation-request-id": [
+ "be821929-a970-4490-b8ea-c2a557e99704"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T223027Z:be821929-a970-4490-b8ea-c2a557e99704"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:30:26 GMT"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk4708?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlZ3JvdXBzL29uZXNkazQ3MDg/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"West US\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "29"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk4708\",\r\n \"name\": \"onesdk4708\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "173"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "x-ms-request-id": [
+ "11f420f1-9dd7-4461-8b3d-9b242597cfa8"
+ ],
+ "x-ms-correlation-request-id": [
+ "11f420f1-9dd7-4461-8b3d-9b242597cfa8"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T223028Z:11f420f1-9dd7-4461-8b3d-9b242597cfa8"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:30:28 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk4708/resources?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazQ3MDgvcmVzb3VyY2VzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.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": [
+ "14848"
+ ],
+ "x-ms-request-id": [
+ "f592d499-84c8-4303-9468-38f1e5c071d5"
+ ],
+ "x-ms-correlation-request-id": [
+ "f592d499-84c8-4303-9468-38f1e5c071d5"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T223028Z:f592d499-84c8-4303-9468-38f1e5c071d5"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:30:28 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk4708/providers/Microsoft.Web/serverfarms/StandardServicePlan?api-version=2015-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazQ3MDgvcHJvdmlkZXJzL01pY3Jvc29mdC5XZWIvc2VydmVyZmFybXMvU3RhbmRhcmRTZXJ2aWNlUGxhbj9hcGktdmVyc2lvbj0yMDE1LTA4LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "074ddce1-ad35-4c0f-a354-83f3556f26e3"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.WebSites.WebSiteManagementClient/0.9.0.0"
+ ],
+ "Accept": [
+ "application/json"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk4708/providers/Microsoft.Web/serverfarms/StandardServicePlan\",\r\n \"name\": \"StandardServicePlan\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"West US\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"serverFarmId\": 0,\r\n \"name\": \"StandardServicePlan\",\r\n \"workerSize\": 0,\r\n \"workerSizeId\": 0,\r\n \"numberOfWorkers\": 1,\r\n \"currentWorkerSize\": 0,\r\n \"currentWorkerSizeId\": 0,\r\n \"currentNumberOfWorkers\": 1,\r\n \"status\": 0,\r\n \"webSpace\": \"onesdk4708-WestUSwebspace\",\r\n \"subscription\": \"57b7034d-72d4-433d-ace2-a7460aed6a99\",\r\n \"adminSiteName\": null,\r\n \"hostingEnvironment\": null,\r\n \"hostingEnvironmentProfile\": null,\r\n \"maximumNumberOfWorkers\": 10,\r\n \"planName\": \"VirtualDedicatedPlan\",\r\n \"adminRuntimeSiteName\": null,\r\n \"computeMode\": 0,\r\n \"siteMode\": null,\r\n \"geoRegion\": \"West US\",\r\n \"perSiteScaling\": false,\r\n \"numberOfSites\": 0,\r\n \"hostingEnvironmentId\": null,\r\n \"tags\": null,\r\n \"kind\": null,\r\n \"resourceGroup\": \"onesdk4708\"\r\n },\r\n \"sku\": {\r\n \"name\": \"S1\",\r\n \"tier\": \"Standard\",\r\n \"size\": \"S1\",\r\n \"family\": \"S\",\r\n \"capacity\": 1\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "951"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "2092e855-8234-4589-a331-3537aa213373"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14938"
+ ],
+ "x-ms-correlation-request-id": [
+ "d18dd484-c179-44b0-a1d9-c8abfee4faac"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T223037Z:d18dd484-c179-44b0-a1d9-c8abfee4faac"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:30:37 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.0"
+ ],
+ "X-AspNet-Version": [
+ "4.0.30319"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk4708/providers/Microsoft.Logic/workflows/onesdk5407?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazQ3MDgvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrNTQwNz9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "93778cdc-8c17-4a85-ae4d-26ef76d04376"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Logic/workflows/onesdk5407' under resource group 'onesdk4708' was not found.\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "150"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-request-id": [
+ "c114b079-9ce9-453e-9f81-754f7351a568"
+ ],
+ "x-ms-correlation-request-id": [
+ "c114b079-9ce9-453e-9f81-754f7351a568"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T223038Z:c114b079-9ce9-453e-9f81-754f7351a568"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:30:38 GMT"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk4708/providers/Microsoft.Logic/workflows/onesdk5407?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazQ3MDgvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrNTQwNz9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "c165f279-cb4c-40bb-b46e-6e3825b5f184"
+ ],
+ "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-01-29T22:30:39.5861522Z\",\r\n \"changedTime\": \"2016-01-29T22:30:39.5866944Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587475002460475631\",\r\n \"accessEndpoint\": \"https://westus.logic.azure.com:443/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk4708/providers/Microsoft.Logic/workflows/onesdk5407\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk4708/providers/Microsoft.Web/serverfarms/StandardServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"StandardServicePlan\"\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\": false,\r\n \"type\": \"Bool\"\r\n }\r\n },\r\n \"triggers\": {\r\n \"httpTrigger\": {\r\n \"recurrence\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\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 \"expression\": \"@bool('true')\"\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n },\r\n \"http1\": {\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n }\r\n },\r\n \"outputs\": {\r\n \"output1\": {\r\n \"type\": \"String\",\r\n \"value\": \"true\"\r\n }\r\n }\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk4708/providers/Microsoft.Logic/workflows/onesdk5407\",\r\n \"name\": \"onesdk5407\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"West US\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1576"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Vary": [
+ "Accept-Encoding"
+ ],
+ "x-ms-request-id": [
+ "westus:81a8b043-a2ab-4678-8a54-52e40520764a"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14972"
+ ],
+ "x-ms-correlation-request-id": [
+ "f7f88d7b-e199-4d19-bd44-ba3311ec86c3"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T223041Z:f7f88d7b-e199-4d19-bd44-ba3311ec86c3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:30:41 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk4708/providers/Microsoft.Logic/workflows/onesdk5407?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazQ3MDgvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrNTQwNz9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"state\": \"Enabled\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk4708/providers/Microsoft.Web/serverfarms/StandardServicePlan\"\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\": false,\r\n \"type\": \"bool\"\r\n }\r\n },\r\n \"triggers\": {\r\n \"httpTrigger\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"GET\",\r\n \"uri\": \"http://www.bing.com\"\r\n },\r\n \"recurrence\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\r\n \"conditions\": [\r\n {\r\n \"expression\": \"@bool('true')\"\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n },\r\n \"http1\": {\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n }\r\n },\r\n \"outputs\": {\r\n \"output1\": {\r\n \"type\": \"string\",\r\n \"value\": \"true\"\r\n }\r\n }\r\n }\r\n }\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "1774"
+ ],
+ "x-ms-client-request-id": [
+ "814eb50a-7b39-4150-9860-db94368b2c79"
+ ],
+ "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-01-29T22:30:39.5861522Z\",\r\n \"changedTime\": \"2016-01-29T22:30:39.5861522Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587475002460475631\",\r\n \"accessEndpoint\": \"https://westus.logic.azure.com:443/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk4708/providers/Microsoft.Logic/workflows/onesdk5407\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk4708/providers/Microsoft.Web/serverfarms/StandardServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"StandardServicePlan\"\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\": false,\r\n \"type\": \"Bool\"\r\n }\r\n },\r\n \"triggers\": {\r\n \"httpTrigger\": {\r\n \"recurrence\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\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 \"expression\": \"@bool('true')\"\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n },\r\n \"http1\": {\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n }\r\n },\r\n \"outputs\": {\r\n \"output1\": {\r\n \"type\": \"String\",\r\n \"value\": \"true\"\r\n }\r\n }\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk4708/providers/Microsoft.Logic/workflows/onesdk5407\",\r\n \"name\": \"onesdk5407\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"West US\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1576"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "westus:f2af123c-e5ab-4299-9431-3fd3a373b442"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1195"
+ ],
+ "x-ms-correlation-request-id": [
+ "76932aaf-9d6b-460c-91ca-53353fac4666"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T223039Z:76932aaf-9d6b-460c-91ca-53353fac4666"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:30:39 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk4708/providers/Microsoft.Logic/workflows/onesdk5407/triggers/httpTrigger/run?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazQ3MDgvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrNTQwNy90cmlnZ2Vycy9odHRwVHJpZ2dlci9ydW4/YXBpLXZlcnNpb249MjAxNS0wMi0wMS1wcmV2aWV3",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "e234df99-7d97-43e5-a003-95933957bbf2"
+ ],
+ "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:a8640853-368e-4511-aafe-6212736cc154"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1194"
+ ],
+ "x-ms-correlation-request-id": [
+ "4f60a6b6-41c6-404a-b6d3-3c47db6f390e"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T223042Z:4f60a6b6-41c6-404a-b6d3-3c47db6f390e"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:30:41 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk4708/providers/Microsoft.Logic/workflows/onesdk5407/runs?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazQ3MDgvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrNTQwNy9ydW5zP2FwaS12ZXJzaW9uPTIwMTUtMDItMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "1525b9fb-9ef4-4530-be5f-f3ddc73c0376"
+ ],
+ "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-01-29T22:30:40.9385488Z\",\r\n \"status\": \"Running\",\r\n \"correlationId\": \"784a2db3-aad7-470c-8356-5bbdb23a3263\",\r\n \"workflow\": {\r\n \"name\": \"onesdk5407/08587475002460475631\",\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk4708/providers/Microsoft.Logic/workflows/onesdk5407/versions/08587475002460475631\",\r\n \"type\": \"Microsoft.Logic/workflows/versions\"\r\n },\r\n \"trigger\": {\r\n \"name\": \"httpTrigger\",\r\n \"inputsLink\": {\r\n \"uri\": \"https://flowprodcu00by01.blob.core.windows.net/flowe50ad96a3a854ac7aad1323a2d087b0220160129t000000zcontent/77EFA_4816dc40fde44f5b9228042a7d2e08d7_httpTrigger:5Finputs:2Ejson?sv=2014-02-14&sr=b&sig=vj%2FYUeQmYZZisu%2FTL02LMHFKyU1c4WgDbbQzGDtTdbY%3D&se=2016-01-30T02%3A30%3A42Z&sp=r\",\r\n \"contentVersion\": \"\\\"0x8D328FBD1708543\\\"\",\r\n \"contentSize\": 45,\r\n \"contentHash\": {\r\n \"algorithm\": \"md5\",\r\n \"value\": \"Q+Xqe9OStPsuFRv/FtPA3Q==\"\r\n }\r\n },\r\n \"outputsLink\": {\r\n \"uri\": \"https://flowprodcu00by01.blob.core.windows.net/flowe50ad96a3a854ac7aad1323a2d087b0220160129t000000zcontent/FD79A_cb7b24e7669f4dee9dc242492d255ebb_httpTrigger:5Foutputs:2Ejson?sv=2014-02-14&sr=b&sig=bWmdEuninX9fk3lKHbvdK7t1a2MMAZVB3592a3Pg7oI%3D&se=2016-01-30T02%3A30%3A42Z&sp=r\",\r\n \"contentVersion\": \"\\\"0x8D328FBD1708543\\\"\",\r\n \"contentSize\": 86273,\r\n \"contentHash\": {\r\n \"algorithm\": \"md5\",\r\n \"value\": \"NPkaCHXwTEv7OX8AebNAtA==\"\r\n }\r\n },\r\n \"startTime\": \"2016-01-29T22:30:40.7134781Z\",\r\n \"endTime\": \"2016-01-29T22:30:40.8072288Z\",\r\n \"trackingId\": \"784a2db3-aad7-470c-8356-5bbdb23a3263\",\r\n \"code\": \"OK\",\r\n \"status\": \"Succeeded\"\r\n },\r\n \"outputs\": {\r\n \"output1\": {\r\n \"type\": \"String\"\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk4708/providers/Microsoft.Logic/workflows/onesdk5407/runs/08587475002447513577\",\r\n \"name\": \"08587475002447513577\",\r\n \"type\": \"Microsoft.Logic/workflows/runs\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1738"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Vary": [
+ "Accept-Encoding"
+ ],
+ "x-ms-request-id": [
+ "westus:0cb4ec30-1ed0-4ae3-a22b-cde791470db6"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14971"
+ ],
+ "x-ms-correlation-request-id": [
+ "b47de646-6716-4fa2-a16b-13253f251ce3"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T223042Z:b47de646-6716-4fa2-a16b-13253f251ce3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:30:42 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk4708/providers/Microsoft.Logic/workflows/onesdk5407/runs/08587475002447513577?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazQ3MDgvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrNTQwNy9ydW5zLzA4NTg3NDc1MDAyNDQ3NTEzNTc3P2FwaS12ZXJzaW9uPTIwMTUtMDItMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "d4ea3db5-77e3-40c7-8d91-924658461e6f"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"startTime\": \"2016-01-29T22:30:40.9385488Z\",\r\n \"status\": \"Running\",\r\n \"correlationId\": \"784a2db3-aad7-470c-8356-5bbdb23a3263\",\r\n \"workflow\": {\r\n \"name\": \"onesdk5407/08587475002460475631\",\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk4708/providers/Microsoft.Logic/workflows/onesdk5407/versions/08587475002460475631\",\r\n \"type\": \"Microsoft.Logic/workflows/versions\"\r\n },\r\n \"trigger\": {\r\n \"name\": \"httpTrigger\",\r\n \"inputsLink\": {\r\n \"uri\": \"https://flowprodcu00by01.blob.core.windows.net/flowe50ad96a3a854ac7aad1323a2d087b0220160129t000000zcontent/77EFA_4816dc40fde44f5b9228042a7d2e08d7_httpTrigger:5Finputs:2Ejson?sv=2014-02-14&sr=b&sig=vj%2FYUeQmYZZisu%2FTL02LMHFKyU1c4WgDbbQzGDtTdbY%3D&se=2016-01-30T02%3A30%3A42Z&sp=r\",\r\n \"contentVersion\": \"\\\"0x8D328FBD1708543\\\"\",\r\n \"contentSize\": 45,\r\n \"contentHash\": {\r\n \"algorithm\": \"md5\",\r\n \"value\": \"Q+Xqe9OStPsuFRv/FtPA3Q==\"\r\n }\r\n },\r\n \"outputsLink\": {\r\n \"uri\": \"https://flowprodcu00by01.blob.core.windows.net/flowe50ad96a3a854ac7aad1323a2d087b0220160129t000000zcontent/FD79A_cb7b24e7669f4dee9dc242492d255ebb_httpTrigger:5Foutputs:2Ejson?sv=2014-02-14&sr=b&sig=bWmdEuninX9fk3lKHbvdK7t1a2MMAZVB3592a3Pg7oI%3D&se=2016-01-30T02%3A30%3A42Z&sp=r\",\r\n \"contentVersion\": \"\\\"0x8D328FBD1708543\\\"\",\r\n \"contentSize\": 86273,\r\n \"contentHash\": {\r\n \"algorithm\": \"md5\",\r\n \"value\": \"NPkaCHXwTEv7OX8AebNAtA==\"\r\n }\r\n },\r\n \"startTime\": \"2016-01-29T22:30:40.7134781Z\",\r\n \"endTime\": \"2016-01-29T22:30:40.8072288Z\",\r\n \"trackingId\": \"784a2db3-aad7-470c-8356-5bbdb23a3263\",\r\n \"code\": \"OK\",\r\n \"status\": \"Succeeded\"\r\n },\r\n \"outputs\": {\r\n \"output1\": {\r\n \"type\": \"String\"\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk4708/providers/Microsoft.Logic/workflows/onesdk5407/runs/08587475002447513577\",\r\n \"name\": \"08587475002447513577\",\r\n \"type\": \"Microsoft.Logic/workflows/runs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1726"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Vary": [
+ "Accept-Encoding"
+ ],
+ "x-ms-request-id": [
+ "westus:81a8eaf8-2b1e-4158-aaea-14049e76fd78"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14970"
+ ],
+ "x-ms-correlation-request-id": [
+ "a7f94df3-1d83-4a1b-a569-c569f265f978"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T223042Z:a7f94df3-1d83-4a1b-a569-c569f265f978"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:30:42 GMT"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {
+ "Test-GetAzureLogicAppRunHistory": [
+ "onesdk4708",
+ "onesdk5407"
+ ]
+ },
+ "Variables": {
+ "SubscriptionId": "57b7034d-72d4-433d-ace2-a7460aed6a99"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp.Test/SessionRecords/Microsoft.Azure.Commands.LogicApp.Test.ScenarioTests.WorkflowRunTests/TestRunLogicApp.json b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/SessionRecords/Microsoft.Azure.Commands.LogicApp.Test.ScenarioTests.WorkflowRunTests/TestRunLogicApp.json
new file mode 100644
index 000000000000..a1e88b98085e
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/SessionRecords/Microsoft.Azure.Commands.LogicApp.Test.ScenarioTests.WorkflowRunTests/TestRunLogicApp.json
@@ -0,0 +1,454 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk7146?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlZ3JvdXBzL29uZXNkazcxNDY/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "HEAD",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "102"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14953"
+ ],
+ "x-ms-request-id": [
+ "ceecb989-bbd2-4839-8fd8-d82917126602"
+ ],
+ "x-ms-correlation-request-id": [
+ "ceecb989-bbd2-4839-8fd8-d82917126602"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20160129T221408Z:ceecb989-bbd2-4839-8fd8-d82917126602"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:14:07 GMT"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk7146?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlZ3JvdXBzL29uZXNkazcxNDY/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"West US\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "29"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk7146\",\r\n \"name\": \"onesdk7146\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "173"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "x-ms-request-id": [
+ "96e3f938-6c53-45b6-a255-6b101b0d01c9"
+ ],
+ "x-ms-correlation-request-id": [
+ "96e3f938-6c53-45b6-a255-6b101b0d01c9"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20160129T221409Z:96e3f938-6c53-45b6-a255-6b101b0d01c9"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:14:09 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk7146/resources?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazcxNDYvcmVzb3VyY2VzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.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": [
+ "14952"
+ ],
+ "x-ms-request-id": [
+ "7a95ee2b-092a-4dab-acae-f3b268c275cb"
+ ],
+ "x-ms-correlation-request-id": [
+ "7a95ee2b-092a-4dab-acae-f3b268c275cb"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20160129T221409Z:7a95ee2b-092a-4dab-acae-f3b268c275cb"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:14:09 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk7146/providers/Microsoft.Web/serverfarms/StandardServicePlan?api-version=2015-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazcxNDYvcHJvdmlkZXJzL01pY3Jvc29mdC5XZWIvc2VydmVyZmFybXMvU3RhbmRhcmRTZXJ2aWNlUGxhbj9hcGktdmVyc2lvbj0yMDE1LTA4LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "df2c3c34-ee7c-423f-9e74-5959ae94ef73"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.WebSites.WebSiteManagementClient/0.9.0.0"
+ ],
+ "Accept": [
+ "application/json"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk7146/providers/Microsoft.Web/serverfarms/StandardServicePlan\",\r\n \"name\": \"StandardServicePlan\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"West US\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"serverFarmId\": 0,\r\n \"name\": \"StandardServicePlan\",\r\n \"workerSize\": 0,\r\n \"workerSizeId\": 0,\r\n \"numberOfWorkers\": 1,\r\n \"currentWorkerSize\": 0,\r\n \"currentWorkerSizeId\": 0,\r\n \"currentNumberOfWorkers\": 1,\r\n \"status\": 0,\r\n \"webSpace\": \"onesdk7146-WestUSwebspace\",\r\n \"subscription\": \"57b7034d-72d4-433d-ace2-a7460aed6a99\",\r\n \"adminSiteName\": null,\r\n \"hostingEnvironment\": null,\r\n \"hostingEnvironmentProfile\": null,\r\n \"maximumNumberOfWorkers\": 10,\r\n \"planName\": \"VirtualDedicatedPlan\",\r\n \"adminRuntimeSiteName\": null,\r\n \"computeMode\": 0,\r\n \"siteMode\": null,\r\n \"geoRegion\": \"West US\",\r\n \"perSiteScaling\": false,\r\n \"numberOfSites\": 0,\r\n \"hostingEnvironmentId\": null,\r\n \"tags\": null,\r\n \"kind\": null,\r\n \"resourceGroup\": \"onesdk7146\"\r\n },\r\n \"sku\": {\r\n \"name\": \"S1\",\r\n \"tier\": \"Standard\",\r\n \"size\": \"S1\",\r\n \"family\": \"S\",\r\n \"capacity\": 1\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "951"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "900a3733-3628-4d31-bd98-1a5d97d398b3"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14971"
+ ],
+ "x-ms-correlation-request-id": [
+ "e8cd2c94-f654-41cb-ab17-b5cfae68cedc"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20160129T221419Z:e8cd2c94-f654-41cb-ab17-b5cfae68cedc"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:14:19 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.0"
+ ],
+ "X-AspNet-Version": [
+ "4.0.30319"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk7146/providers/Microsoft.Logic/workflows/onesdk1160?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazcxNDYvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrMTE2MD9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "0cd0a39d-e435-4094-8ca6-b2e602e13989"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Logic/workflows/onesdk1160' under resource group 'onesdk7146' was not found.\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "150"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-request-id": [
+ "c6d5949d-f785-401b-b0ba-9988f724e167"
+ ],
+ "x-ms-correlation-request-id": [
+ "c6d5949d-f785-401b-b0ba-9988f724e167"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20160129T221420Z:c6d5949d-f785-401b-b0ba-9988f724e167"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:14:19 GMT"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk7146/providers/Microsoft.Logic/workflows/onesdk1160?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazcxNDYvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrMTE2MD9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "4bfcfe78-c844-4cc1-822f-fb7d6e373c91"
+ ],
+ "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-01-29T22:14:21.9413756Z\",\r\n \"changedTime\": \"2016-01-29T22:14:21.9421884Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587475012236528224\",\r\n \"accessEndpoint\": \"https://westus.logic.azure.com:443/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk7146/providers/Microsoft.Logic/workflows/onesdk1160\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk7146/providers/Microsoft.Web/serverfarms/StandardServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"StandardServicePlan\"\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\": false,\r\n \"type\": \"Bool\"\r\n }\r\n },\r\n \"triggers\": {\r\n \"httpTrigger\": {\r\n \"recurrence\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\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 \"expression\": \"@bool('true')\"\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n },\r\n \"http1\": {\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n }\r\n },\r\n \"outputs\": {\r\n \"output1\": {\r\n \"type\": \"String\",\r\n \"value\": \"true\"\r\n }\r\n }\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk7146/providers/Microsoft.Logic/workflows/onesdk1160\",\r\n \"name\": \"onesdk1160\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"West US\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1576"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Vary": [
+ "Accept-Encoding"
+ ],
+ "x-ms-request-id": [
+ "westus:0b4f153a-6fde-405f-8e54-441502cb05f3"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14899"
+ ],
+ "x-ms-correlation-request-id": [
+ "3c41b2b9-d2b4-4a3b-b1b5-415dcdff65e1"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20160129T221424Z:3c41b2b9-d2b4-4a3b-b1b5-415dcdff65e1"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:14:24 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk7146/providers/Microsoft.Logic/workflows/onesdk1160?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazcxNDYvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrMTE2MD9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"state\": \"Enabled\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk7146/providers/Microsoft.Web/serverfarms/StandardServicePlan\"\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\": false,\r\n \"type\": \"bool\"\r\n }\r\n },\r\n \"triggers\": {\r\n \"httpTrigger\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"GET\",\r\n \"uri\": \"http://www.bing.com\"\r\n },\r\n \"recurrence\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\r\n \"conditions\": [\r\n {\r\n \"expression\": \"@bool('true')\"\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n },\r\n \"http1\": {\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n }\r\n },\r\n \"outputs\": {\r\n \"output1\": {\r\n \"type\": \"string\",\r\n \"value\": \"true\"\r\n }\r\n }\r\n }\r\n }\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "1774"
+ ],
+ "x-ms-client-request-id": [
+ "89588461-e646-4d9f-8b75-b56623036963"
+ ],
+ "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-01-29T22:14:21.9413756Z\",\r\n \"changedTime\": \"2016-01-29T22:14:21.9413756Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587475012236528224\",\r\n \"accessEndpoint\": \"https://westus.logic.azure.com:443/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk7146/providers/Microsoft.Logic/workflows/onesdk1160\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk7146/providers/Microsoft.Web/serverfarms/StandardServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"StandardServicePlan\"\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\": false,\r\n \"type\": \"Bool\"\r\n }\r\n },\r\n \"triggers\": {\r\n \"httpTrigger\": {\r\n \"recurrence\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\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 \"expression\": \"@bool('true')\"\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n },\r\n \"http1\": {\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n }\r\n },\r\n \"outputs\": {\r\n \"output1\": {\r\n \"type\": \"String\",\r\n \"value\": \"true\"\r\n }\r\n }\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk7146/providers/Microsoft.Logic/workflows/onesdk1160\",\r\n \"name\": \"onesdk1160\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"West US\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1576"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "westus:d61e8dd1-c93c-4723-970a-2f91f9a68793"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "x-ms-correlation-request-id": [
+ "a6a9b52f-272d-4f46-adcf-b2839ba5fe08"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20160129T221422Z:a6a9b52f-272d-4f46-adcf-b2839ba5fe08"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:14:21 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk7146/providers/Microsoft.Logic/workflows/onesdk1160/triggers/httpTrigger/run?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazcxNDYvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrMTE2MC90cmlnZ2Vycy9odHRwVHJpZ2dlci9ydW4/YXBpLXZlcnNpb249MjAxNS0wMi0wMS1wcmV2aWV3",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "9f1b15be-6e72-4389-b3da-8785c4a5c26e"
+ ],
+ "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:7c1a9433-24f6-4d2a-bf23-97170c6e5bb0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1198"
+ ],
+ "x-ms-correlation-request-id": [
+ "5cfaea68-abb8-4a22-8cf1-dde90c2e1501"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20160129T221425Z:5cfaea68-abb8-4a22-8cf1-dde90c2e1501"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:14:25 GMT"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {
+ "Test-StartLogicApp": [
+ "onesdk7146",
+ "onesdk1160"
+ ]
+ },
+ "Variables": {
+ "SubscriptionId": "57b7034d-72d4-433d-ace2-a7460aed6a99"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp.Test/SessionRecords/Microsoft.Azure.Commands.LogicApp.Test.ScenarioTests.WorkflowTests/TestCreateAndGetLogicAppUsingDefinitionWithActions.json b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/SessionRecords/Microsoft.Azure.Commands.LogicApp.Test.ScenarioTests.WorkflowTests/TestCreateAndGetLogicAppUsingDefinitionWithActions.json
new file mode 100644
index 000000000000..8b6209ea646b
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/SessionRecords/Microsoft.Azure.Commands.LogicApp.Test.ScenarioTests.WorkflowTests/TestCreateAndGetLogicAppUsingDefinitionWithActions.json
@@ -0,0 +1,508 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk5191?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlZ3JvdXBzL29uZXNkazUxOTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "HEAD",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "102"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14944"
+ ],
+ "x-ms-request-id": [
+ "85563436-37e1-41fb-acc0-7280137d4b25"
+ ],
+ "x-ms-correlation-request-id": [
+ "85563436-37e1-41fb-acc0-7280137d4b25"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T222058Z:85563436-37e1-41fb-acc0-7280137d4b25"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:20:58 GMT"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk5191?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlZ3JvdXBzL29uZXNkazUxOTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"West US\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "29"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk5191\",\r\n \"name\": \"onesdk5191\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "173"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1198"
+ ],
+ "x-ms-request-id": [
+ "d072ae26-d3e1-4f32-be73-98d1196d8794"
+ ],
+ "x-ms-correlation-request-id": [
+ "d072ae26-d3e1-4f32-be73-98d1196d8794"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T222059Z:d072ae26-d3e1-4f32-be73-98d1196d8794"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:20:58 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk5191/resources?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazUxOTEvcmVzb3VyY2VzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.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": [
+ "14943"
+ ],
+ "x-ms-request-id": [
+ "be82518e-48df-445d-990d-9b0798a59d4d"
+ ],
+ "x-ms-correlation-request-id": [
+ "be82518e-48df-445d-990d-9b0798a59d4d"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T222059Z:be82518e-48df-445d-990d-9b0798a59d4d"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:20:58 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk5191/providers/Microsoft.Web/serverfarms/StandardServicePlan?api-version=2015-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazUxOTEvcHJvdmlkZXJzL01pY3Jvc29mdC5XZWIvc2VydmVyZmFybXMvU3RhbmRhcmRTZXJ2aWNlUGxhbj9hcGktdmVyc2lvbj0yMDE1LTA4LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "b4956375-4ac3-4a36-ac0e-c7ed4d5ffc92"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.WebSites.WebSiteManagementClient/0.9.0.0"
+ ],
+ "Accept": [
+ "application/json"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk5191/providers/Microsoft.Web/serverfarms/StandardServicePlan\",\r\n \"name\": \"StandardServicePlan\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"West US\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"serverFarmId\": 0,\r\n \"name\": \"StandardServicePlan\",\r\n \"workerSize\": 0,\r\n \"workerSizeId\": 0,\r\n \"numberOfWorkers\": 1,\r\n \"currentWorkerSize\": 0,\r\n \"currentWorkerSizeId\": 0,\r\n \"currentNumberOfWorkers\": 1,\r\n \"status\": 0,\r\n \"webSpace\": \"onesdk5191-WestUSwebspace\",\r\n \"subscription\": \"57b7034d-72d4-433d-ace2-a7460aed6a99\",\r\n \"adminSiteName\": null,\r\n \"hostingEnvironment\": null,\r\n \"hostingEnvironmentProfile\": null,\r\n \"maximumNumberOfWorkers\": 10,\r\n \"planName\": \"VirtualDedicatedPlan\",\r\n \"adminRuntimeSiteName\": null,\r\n \"computeMode\": 0,\r\n \"siteMode\": null,\r\n \"geoRegion\": \"West US\",\r\n \"perSiteScaling\": false,\r\n \"numberOfSites\": 0,\r\n \"hostingEnvironmentId\": null,\r\n \"tags\": null,\r\n \"kind\": null,\r\n \"resourceGroup\": \"onesdk5191\"\r\n },\r\n \"sku\": {\r\n \"name\": \"S1\",\r\n \"tier\": \"Standard\",\r\n \"size\": \"S1\",\r\n \"family\": \"S\",\r\n \"capacity\": 1\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "951"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "7db9d302-450f-424c-87f7-fc23f208b9c0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14931"
+ ],
+ "x-ms-correlation-request-id": [
+ "53d1e057-84bb-49c1-b0de-c98eedbf338d"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T222106Z:53d1e057-84bb-49c1-b0de-c98eedbf338d"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:21:05 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.0"
+ ],
+ "X-AspNet-Version": [
+ "4.0.30319"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk5191/providers/Microsoft.Logic/workflows/onesdk5265?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazUxOTEvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrNTI2NT9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "39e55891-ed39-4fc8-92c1-9550902ea6fe"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Logic/workflows/onesdk5265' under resource group 'onesdk5191' was not found.\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "150"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-request-id": [
+ "6bda0c79-416e-4de0-84ab-9929c506b580"
+ ],
+ "x-ms-correlation-request-id": [
+ "6bda0c79-416e-4de0-84ab-9929c506b580"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T222106Z:6bda0c79-416e-4de0-84ab-9929c506b580"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:21:05 GMT"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk5191/providers/Microsoft.Logic/workflows/onesdk5265?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazUxOTEvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrNTI2NT9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "416042cd-b337-4c96-a4e8-1751ecd3ecc3"
+ ],
+ "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-01-29T22:21:07.5697847Z\",\r\n \"changedTime\": \"2016-01-29T22:21:07.5707533Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587475008179549791\",\r\n \"accessEndpoint\": \"https://westus.logic.azure.com:443/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk5191/providers/Microsoft.Logic/workflows/onesdk5265\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk5191/providers/Microsoft.Web/serverfarms/StandardServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"StandardServicePlan\"\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\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"clientId\": \"64011f29-3932-4168-b73d-adc835a56732\",\r\n \"secret\": \"q8Wf7SwoM4iSVgaHZdghScLX8xDxMMUATWvRalclJjo=\"\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/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk5191/providers/Microsoft.Logic/workflows/onesdk5265\",\r\n \"name\": \"onesdk5265\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"West US\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1680"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Vary": [
+ "Accept-Encoding"
+ ],
+ "x-ms-request-id": [
+ "westus:80cebc8b-f5f6-4bf3-9a1c-f7e2bf67b57c"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14937"
+ ],
+ "x-ms-correlation-request-id": [
+ "efdcbbf5-bdf1-4fa9-9915-b7ed8e7ca1b8"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T222107Z:efdcbbf5-bdf1-4fa9-9915-b7ed8e7ca1b8"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:21:07 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk5191/providers/Microsoft.Logic/workflows/onesdk5265?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazUxOTEvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrNTI2NT9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"state\": \"Enabled\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk5191/providers/Microsoft.Web/serverfarms/StandardServicePlan\"\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\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"clientId\": \"64011f29-3932-4168-b73d-adc835a56732\",\r\n \"secret\": \"q8Wf7SwoM4iSVgaHZdghScLX8xDxMMUATWvRalclJjo=\"\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}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "1628"
+ ],
+ "x-ms-client-request-id": [
+ "83d9336d-3299-42a2-84b1-5c2a4ef08d98"
+ ],
+ "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-01-29T22:21:07.5697847Z\",\r\n \"changedTime\": \"2016-01-29T22:21:07.5697847Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587475008179549791\",\r\n \"accessEndpoint\": \"https://westus.logic.azure.com:443/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk5191/providers/Microsoft.Logic/workflows/onesdk5265\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk5191/providers/Microsoft.Web/serverfarms/StandardServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"StandardServicePlan\"\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\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"clientId\": \"64011f29-3932-4168-b73d-adc835a56732\",\r\n \"secret\": \"q8Wf7SwoM4iSVgaHZdghScLX8xDxMMUATWvRalclJjo=\"\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/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk5191/providers/Microsoft.Logic/workflows/onesdk5265\",\r\n \"name\": \"onesdk5265\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"West US\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1680"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "westus:d0951d65-ac02-4b27-b1ec-5e6a9869959d"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1197"
+ ],
+ "x-ms-correlation-request-id": [
+ "7078fb00-72c9-41b9-9aa4-780d6ee3a5b6"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T222107Z:7078fb00-72c9-41b9-9aa4-780d6ee3a5b6"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:21:07 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk5191/providers/Microsoft.Logic/workflows/InvalidWorkflow?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazUxOTEvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3MvSW52YWxpZFdvcmtmbG93P2FwaS12ZXJzaW9uPTIwMTUtMDItMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "d685bb0b-126e-4c84-9414-3a583d05efaa"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Logic/workflows/InvalidWorkflow' under resource group 'onesdk5191' was not found.\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "155"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-request-id": [
+ "2b8121a8-7ba0-4c19-9d55-5bba2c74f3f2"
+ ],
+ "x-ms-correlation-request-id": [
+ "2b8121a8-7ba0-4c19-9d55-5bba2c74f3f2"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T222108Z:2b8121a8-7ba0-4c19-9d55-5bba2c74f3f2"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:21:07 GMT"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk5191/providers/Microsoft.Logic/workflows/onesdk5265?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazUxOTEvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrNTI2NT9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "3bce4c75-9d9d-4de1-ba55-ec1274e4ce59"
+ ],
+ "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:0849b125-f858-4a51-afed-710ebc2fa059"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1196"
+ ],
+ "x-ms-correlation-request-id": [
+ "d04b583f-a549-4373-9685-836f8d17d82e"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T222108Z:d04b583f-a549-4373-9685-836f8d17d82e"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:21:07 GMT"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {
+ "Test-CreateAndGetLogicAppUsingDefinitionWithActions": [
+ "onesdk5191",
+ "onesdk5265"
+ ]
+ },
+ "Variables": {
+ "SubscriptionId": "57b7034d-72d4-433d-ace2-a7460aed6a99"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp.Test/SessionRecords/Microsoft.Azure.Commands.LogicApp.Test.ScenarioTests.WorkflowTests/TestCreateAndRemoveLogicApp.json b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/SessionRecords/Microsoft.Azure.Commands.LogicApp.Test.ScenarioTests.WorkflowTests/TestCreateAndRemoveLogicApp.json
new file mode 100644
index 000000000000..490f143f3b47
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/SessionRecords/Microsoft.Azure.Commands.LogicApp.Test.ScenarioTests.WorkflowTests/TestCreateAndRemoveLogicApp.json
@@ -0,0 +1,861 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk9024?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlZ3JvdXBzL29uZXNkazkwMjQ/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "HEAD",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "102"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14963"
+ ],
+ "x-ms-request-id": [
+ "83da1de4-d154-452d-a541-e2ddffb04f60"
+ ],
+ "x-ms-correlation-request-id": [
+ "83da1de4-d154-452d-a541-e2ddffb04f60"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221900Z:83da1de4-d154-452d-a541-e2ddffb04f60"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:18:59 GMT"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk9024?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlZ3JvdXBzL29uZXNkazkwMjQ/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"West US\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "29"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk9024\",\r\n \"name\": \"onesdk9024\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "173"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1196"
+ ],
+ "x-ms-request-id": [
+ "aaaa8429-6c4f-4321-a5f3-0cba2d12da19"
+ ],
+ "x-ms-correlation-request-id": [
+ "aaaa8429-6c4f-4321-a5f3-0cba2d12da19"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221900Z:aaaa8429-6c4f-4321-a5f3-0cba2d12da19"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:19:00 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk9024/resources?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazkwMjQvcmVzb3VyY2VzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.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": [
+ "14962"
+ ],
+ "x-ms-request-id": [
+ "42a2a19d-17e1-493b-b8e5-b326fb25b24a"
+ ],
+ "x-ms-correlation-request-id": [
+ "42a2a19d-17e1-493b-b8e5-b326fb25b24a"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221900Z:42a2a19d-17e1-493b-b8e5-b326fb25b24a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:19:00 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk9024/providers/Microsoft.Web/serverfarms/StandardServicePlan?api-version=2015-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazkwMjQvcHJvdmlkZXJzL01pY3Jvc29mdC5XZWIvc2VydmVyZmFybXMvU3RhbmRhcmRTZXJ2aWNlUGxhbj9hcGktdmVyc2lvbj0yMDE1LTA4LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "37ec1652-11b2-4981-af92-84a0bb1e7ec0"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.WebSites.WebSiteManagementClient/0.9.0.0"
+ ],
+ "Accept": [
+ "application/json"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk9024/providers/Microsoft.Web/serverfarms/StandardServicePlan\",\r\n \"name\": \"StandardServicePlan\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"West US\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"serverFarmId\": 0,\r\n \"name\": \"StandardServicePlan\",\r\n \"workerSize\": 0,\r\n \"workerSizeId\": 0,\r\n \"numberOfWorkers\": 1,\r\n \"currentWorkerSize\": 0,\r\n \"currentWorkerSizeId\": 0,\r\n \"currentNumberOfWorkers\": 1,\r\n \"status\": 0,\r\n \"webSpace\": \"onesdk9024-WestUSwebspace\",\r\n \"subscription\": \"57b7034d-72d4-433d-ace2-a7460aed6a99\",\r\n \"adminSiteName\": null,\r\n \"hostingEnvironment\": null,\r\n \"hostingEnvironmentProfile\": null,\r\n \"maximumNumberOfWorkers\": 10,\r\n \"planName\": \"VirtualDedicatedPlan\",\r\n \"adminRuntimeSiteName\": null,\r\n \"computeMode\": 0,\r\n \"siteMode\": null,\r\n \"geoRegion\": \"West US\",\r\n \"perSiteScaling\": false,\r\n \"numberOfSites\": 0,\r\n \"hostingEnvironmentId\": null,\r\n \"tags\": null,\r\n \"kind\": null,\r\n \"resourceGroup\": \"onesdk9024\"\r\n },\r\n \"sku\": {\r\n \"name\": \"S1\",\r\n \"tier\": \"Standard\",\r\n \"size\": \"S1\",\r\n \"family\": \"S\",\r\n \"capacity\": 1\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "951"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "c5d7712b-d615-4743-9dbc-67ff7aa91fe5"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14922"
+ ],
+ "x-ms-correlation-request-id": [
+ "3cafc6d3-2f0f-4567-b98e-e1f97bb5305d"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221907Z:3cafc6d3-2f0f-4567-b98e-e1f97bb5305d"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:19:06 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.0"
+ ],
+ "X-AspNet-Version": [
+ "4.0.30319"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk9024/providers/Microsoft.Web/serverfarms/StandardServicePlan?api-version=2015-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazkwMjQvcHJvdmlkZXJzL01pY3Jvc29mdC5XZWIvc2VydmVyZmFybXMvU3RhbmRhcmRTZXJ2aWNlUGxhbj9hcGktdmVyc2lvbj0yMDE1LTA4LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "0a7d45fe-fedd-46b5-a787-c534794f154d"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.WebSites.WebSiteManagementClient/0.9.0.0"
+ ],
+ "Accept": [
+ "application/json"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk9024/providers/Microsoft.Web/serverfarms/StandardServicePlan\",\r\n \"name\": \"StandardServicePlan\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"West US\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"serverFarmId\": 0,\r\n \"name\": \"StandardServicePlan\",\r\n \"workerSize\": 0,\r\n \"workerSizeId\": 0,\r\n \"numberOfWorkers\": 1,\r\n \"currentWorkerSize\": 0,\r\n \"currentWorkerSizeId\": 0,\r\n \"currentNumberOfWorkers\": 1,\r\n \"status\": 0,\r\n \"webSpace\": \"onesdk9024-WestUSwebspace\",\r\n \"subscription\": \"57b7034d-72d4-433d-ace2-a7460aed6a99\",\r\n \"adminSiteName\": null,\r\n \"hostingEnvironment\": null,\r\n \"hostingEnvironmentProfile\": null,\r\n \"maximumNumberOfWorkers\": 10,\r\n \"planName\": \"VirtualDedicatedPlan\",\r\n \"adminRuntimeSiteName\": null,\r\n \"computeMode\": 0,\r\n \"siteMode\": null,\r\n \"geoRegion\": \"West US\",\r\n \"perSiteScaling\": false,\r\n \"numberOfSites\": 0,\r\n \"hostingEnvironmentId\": null,\r\n \"tags\": null,\r\n \"kind\": null,\r\n \"resourceGroup\": \"onesdk9024\"\r\n },\r\n \"sku\": {\r\n \"name\": \"S1\",\r\n \"tier\": \"Standard\",\r\n \"size\": \"S1\",\r\n \"family\": \"S\",\r\n \"capacity\": 1\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "951"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "792abf9d-34ab-4a7d-99d2-400baf2c9762"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14921"
+ ],
+ "x-ms-correlation-request-id": [
+ "df5531c5-68d1-48d2-bba9-948141f15bab"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221909Z:df5531c5-68d1-48d2-bba9-948141f15bab"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:19:08 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.0"
+ ],
+ "X-AspNet-Version": [
+ "4.0.30319"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk9024/providers/Microsoft.Web/serverfarms/StandardServicePlan?api-version=2015-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazkwMjQvcHJvdmlkZXJzL01pY3Jvc29mdC5XZWIvc2VydmVyZmFybXMvU3RhbmRhcmRTZXJ2aWNlUGxhbj9hcGktdmVyc2lvbj0yMDE1LTA4LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "0ad77f27-c104-4289-aa04-e4eb0253f135"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.WebSites.WebSiteManagementClient/0.9.0.0"
+ ],
+ "Accept": [
+ "application/json"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk9024/providers/Microsoft.Web/serverfarms/StandardServicePlan\",\r\n \"name\": \"StandardServicePlan\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"West US\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"serverFarmId\": 0,\r\n \"name\": \"StandardServicePlan\",\r\n \"workerSize\": 0,\r\n \"workerSizeId\": 0,\r\n \"numberOfWorkers\": 1,\r\n \"currentWorkerSize\": 0,\r\n \"currentWorkerSizeId\": 0,\r\n \"currentNumberOfWorkers\": 1,\r\n \"status\": 0,\r\n \"webSpace\": \"onesdk9024-WestUSwebspace\",\r\n \"subscription\": \"57b7034d-72d4-433d-ace2-a7460aed6a99\",\r\n \"adminSiteName\": null,\r\n \"hostingEnvironment\": null,\r\n \"hostingEnvironmentProfile\": null,\r\n \"maximumNumberOfWorkers\": 10,\r\n \"planName\": \"VirtualDedicatedPlan\",\r\n \"adminRuntimeSiteName\": null,\r\n \"computeMode\": 0,\r\n \"siteMode\": null,\r\n \"geoRegion\": \"West US\",\r\n \"perSiteScaling\": false,\r\n \"numberOfSites\": 0,\r\n \"hostingEnvironmentId\": null,\r\n \"tags\": null,\r\n \"kind\": null,\r\n \"resourceGroup\": \"onesdk9024\"\r\n },\r\n \"sku\": {\r\n \"name\": \"S1\",\r\n \"tier\": \"Standard\",\r\n \"size\": \"S1\",\r\n \"family\": \"S\",\r\n \"capacity\": 1\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "951"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "16f87ff5-4212-4bc3-a502-27327a222260"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14920"
+ ],
+ "x-ms-correlation-request-id": [
+ "37841c4e-29d6-4477-86b7-1567b950a747"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221912Z:37841c4e-29d6-4477-86b7-1567b950a747"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:19:11 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.0"
+ ],
+ "X-AspNet-Version": [
+ "4.0.30319"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk9024/providers/Microsoft.Logic/workflows/onesdk7241?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazkwMjQvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrNzI0MT9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "870be863-fd3e-4774-972d-adf05a6338a2"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Logic/workflows/onesdk7241' under resource group 'onesdk9024' was not found.\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "150"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-request-id": [
+ "f5d5ba89-6ed9-4a8d-9d30-5717e8148a6e"
+ ],
+ "x-ms-correlation-request-id": [
+ "f5d5ba89-6ed9-4a8d-9d30-5717e8148a6e"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221910Z:f5d5ba89-6ed9-4a8d-9d30-5717e8148a6e"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:19:09 GMT"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk9024/providers/Microsoft.Logic/workflows/onesdk7241?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazkwMjQvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrNzI0MT9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"state\": \"Enabled\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk9024/providers/Microsoft.Web/serverfarms/StandardServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"https://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 \"type\": \"bool\",\r\n \"defaultValue\": true\r\n },\r\n \"destinationUri\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"http://tempuri.org\"\r\n }\r\n },\r\n \"triggers\": {},\r\n \"actions\": {\r\n \"http\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"POST\",\r\n \"uri\": \"@parameters('destinationUri')\",\r\n \"body\": \"Test\"\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {\r\n \"destinationUri\": {\r\n \"value\": \"http://requestb.in/1kj7g8e1\"\r\n }\r\n }\r\n }\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "1180"
+ ],
+ "x-ms-client-request-id": [
+ "796e841f-c985-4f70-849a-2fef1096490a"
+ ],
+ "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-01-29T22:19:08.708234Z\",\r\n \"changedTime\": \"2016-01-29T22:19:08.708234Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587475009368560487\",\r\n \"accessEndpoint\": \"https://westus.logic.azure.com:443/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk9024/providers/Microsoft.Logic/workflows/onesdk7241\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk9024/providers/Microsoft.Web/serverfarms/StandardServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"StandardServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"https://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 \"destinationUri\": {\r\n \"defaultValue\": \"http://tempuri.org\",\r\n \"type\": \"String\"\r\n }\r\n },\r\n \"triggers\": {},\r\n \"actions\": {\r\n \"http\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"POST\",\r\n \"uri\": \"@parameters('destinationUri')\",\r\n \"body\": \"Test\"\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {\r\n \"destinationUri\": {\r\n \"value\": \"http://requestb.in/1kj7g8e1\"\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk9024/providers/Microsoft.Logic/workflows/onesdk7241\",\r\n \"name\": \"onesdk7241\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"West US\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1354"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "westus:36dc9607-85d7-443e-b226-419a39b62b4d"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1198"
+ ],
+ "x-ms-correlation-request-id": [
+ "d25f6e16-6263-4202-b3d6-e5e901e97786"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221911Z:d25f6e16-6263-4202-b3d6-e5e901e97786"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:19:10 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk9024/providers/Microsoft.Logic/workflows/onesdk7241?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazkwMjQvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrNzI0MT9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "1cc98604-1e7a-4873-8075-cbe14320b8a4"
+ ],
+ "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:a502a5eb-f761-4ac7-a5fd-7f8f30490b95"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1197"
+ ],
+ "x-ms-correlation-request-id": [
+ "9e703e45-2b5f-49c3-b161-ec42d95e92b1"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221911Z:9e703e45-2b5f-49c3-b161-ec42d95e92b1"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:19:10 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk9024/providers/Microsoft.Logic/workflows/onesdk7620?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazkwMjQvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrNzYyMD9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "5199f36c-743b-4712-b776-b3a285a0c111"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Logic/workflows/onesdk7620' under resource group 'onesdk9024' was not found.\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "150"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-request-id": [
+ "0e76843c-4279-43a3-8508-3ac184fff62a"
+ ],
+ "x-ms-correlation-request-id": [
+ "0e76843c-4279-43a3-8508-3ac184fff62a"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221911Z:0e76843c-4279-43a3-8508-3ac184fff62a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:19:10 GMT"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk9024/providers/Microsoft.Logic/workflows/onesdk7620?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazkwMjQvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrNzYyMD9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"state\": \"Enabled\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk9024/providers/Microsoft.Web/serverfarms/StandardServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"https://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 \"type\": \"bool\",\r\n \"defaultValue\": true\r\n },\r\n \"destinationUri\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"http://tempuri.org\"\r\n }\r\n },\r\n \"triggers\": {},\r\n \"actions\": {\r\n \"http\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"POST\",\r\n \"uri\": \"@parameters('destinationUri')\",\r\n \"body\": \"Test\"\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {\r\n \"destinationUri\": {\r\n \"value\": \"http://requestb.in/1kj7g8e1\"\r\n }\r\n }\r\n }\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "1180"
+ ],
+ "x-ms-client-request-id": [
+ "38195421-e1f6-4627-9e55-827e74508589"
+ ],
+ "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-01-29T22:19:10.9491001Z\",\r\n \"changedTime\": \"2016-01-29T22:19:10.9491001Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587475009345641085\",\r\n \"accessEndpoint\": \"https://westus.logic.azure.com:443/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk9024/providers/Microsoft.Logic/workflows/onesdk7620\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk9024/providers/Microsoft.Web/serverfarms/StandardServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"StandardServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"https://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 \"destinationUri\": {\r\n \"defaultValue\": \"http://tempuri.org\",\r\n \"type\": \"String\"\r\n }\r\n },\r\n \"triggers\": {},\r\n \"actions\": {\r\n \"http\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"POST\",\r\n \"uri\": \"@parameters('destinationUri')\",\r\n \"body\": \"Test\"\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {\r\n \"destinationUri\": {\r\n \"value\": \"http://requestb.in/1kj7g8e1\"\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk9024/providers/Microsoft.Logic/workflows/onesdk7620\",\r\n \"name\": \"onesdk7620\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"West US\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1356"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "westus:e58f2335-3308-4009-baaa-98495906a71a"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1196"
+ ],
+ "x-ms-correlation-request-id": [
+ "4b962e4c-e2ee-4322-9fb1-6d3c7b4f38e3"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221913Z:4b962e4c-e2ee-4322-9fb1-6d3c7b4f38e3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:19:13 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk9024/providers/Microsoft.Logic/workflows/onesdk7620?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazkwMjQvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrNzYyMD9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "79e61657-ede4-4235-86a2-fff27277783c"
+ ],
+ "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:c3624715-d0b7-417f-9680-5ac44c40e585"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1195"
+ ],
+ "x-ms-correlation-request-id": [
+ "cdab1a43-4e97-4ef7-9314-2ff92dee27e5"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221913Z:cdab1a43-4e97-4ef7-9314-2ff92dee27e5"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:19:13 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk9024/providers/Microsoft.Logic/workflows/onesdk3578?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazkwMjQvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrMzU3OD9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "ee97ea6e-9007-4184-8caf-318ac8dd5447"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Logic/workflows/onesdk3578' under resource group 'onesdk9024' was not found.\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "150"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-request-id": [
+ "dcf85eac-18e7-4b07-ada0-7f4440b614e3"
+ ],
+ "x-ms-correlation-request-id": [
+ "dcf85eac-18e7-4b07-ada0-7f4440b614e3"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221914Z:dcf85eac-18e7-4b07-ada0-7f4440b614e3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:19:14 GMT"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk9024/providers/Microsoft.Logic/workflows/onesdk3578?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazkwMjQvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrMzU3OD9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"state\": \"Enabled\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk9024/providers/Microsoft.Web/serverfarms/StandardServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"https://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 \"type\": \"bool\",\r\n \"defaultValue\": true\r\n },\r\n \"destinationUri\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"http://tempuri.org\"\r\n }\r\n },\r\n \"triggers\": {},\r\n \"actions\": {\r\n \"http\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"POST\",\r\n \"uri\": \"@parameters('destinationUri')\",\r\n \"body\": \"Test\"\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {\r\n \"destinationUri\": {\r\n \"value\": \"http://requestb.in/1kj7g8e1\"\r\n }\r\n }\r\n }\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "1179"
+ ],
+ "x-ms-client-request-id": [
+ "8c440189-e7a2-4a53-bdc5-55d40eb25f8d"
+ ],
+ "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-01-29T22:19:13.0157938Z\",\r\n \"changedTime\": \"2016-01-29T22:19:13.0157938Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587475009325169529\",\r\n \"accessEndpoint\": \"https://westus.logic.azure.com:443/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk9024/providers/Microsoft.Logic/workflows/onesdk3578\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk9024/providers/Microsoft.Web/serverfarms/StandardServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"StandardServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"https://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 \"destinationUri\": {\r\n \"defaultValue\": \"http://tempuri.org\",\r\n \"type\": \"String\"\r\n }\r\n },\r\n \"triggers\": {},\r\n \"actions\": {\r\n \"http\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"POST\",\r\n \"uri\": \"@parameters('destinationUri')\",\r\n \"body\": \"Test\"\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {\r\n \"destinationUri\": {\r\n \"value\": \"http://requestb.in/1kj7g8e1\"\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk9024/providers/Microsoft.Logic/workflows/onesdk3578\",\r\n \"name\": \"onesdk3578\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1355"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "westus:c706530a-45d1-4573-bc2c-4611cd362a10"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1194"
+ ],
+ "x-ms-correlation-request-id": [
+ "313a16e9-cde1-4c85-a385-7aad89556541"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221915Z:313a16e9-cde1-4c85-a385-7aad89556541"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:19:15 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk9024/providers/Microsoft.Logic/workflows/onesdk3578?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazkwMjQvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrMzU3OD9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "799e178a-4c28-4d78-81bd-d7b9e39c383e"
+ ],
+ "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:c029ca49-6709-4dca-a4c6-68c10434ae9e"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1193"
+ ],
+ "x-ms-correlation-request-id": [
+ "e56009db-25c5-41e9-a45a-5de8087b8143"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221915Z:e56009db-25c5-41e9-a45a-5de8087b8143"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:19:15 GMT"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {
+ "Test-CreateAndRemoveLogicApp": [
+ "onesdk9024",
+ "onesdk7241",
+ "onesdk7620",
+ "onesdk3578"
+ ]
+ },
+ "Variables": {
+ "SubscriptionId": "57b7034d-72d4-433d-ace2-a7460aed6a99"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp.Test/SessionRecords/Microsoft.Azure.Commands.LogicApp.Test.ScenarioTests.WorkflowTests/TestCreateLogicAppUsingDefinitionWithTriggers.json b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/SessionRecords/Microsoft.Azure.Commands.LogicApp.Test.ScenarioTests.WorkflowTests/TestCreateLogicAppUsingDefinitionWithTriggers.json
new file mode 100644
index 000000000000..cfa07fb46cd2
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/SessionRecords/Microsoft.Azure.Commands.LogicApp.Test.ScenarioTests.WorkflowTests/TestCreateLogicAppUsingDefinitionWithTriggers.json
@@ -0,0 +1,397 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk5856?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlZ3JvdXBzL29uZXNkazU4NTY/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "HEAD",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "102"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14902"
+ ],
+ "x-ms-request-id": [
+ "88c2bc64-8345-4555-aa96-f88a3307c07d"
+ ],
+ "x-ms-correlation-request-id": [
+ "88c2bc64-8345-4555-aa96-f88a3307c07d"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20160129T221720Z:88c2bc64-8345-4555-aa96-f88a3307c07d"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:17:19 GMT"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk5856?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlZ3JvdXBzL29uZXNkazU4NTY/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"West US\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "29"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk5856\",\r\n \"name\": \"onesdk5856\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "173"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "x-ms-request-id": [
+ "cf6cd9da-3737-46c2-bf71-b91dea5d0e3e"
+ ],
+ "x-ms-correlation-request-id": [
+ "cf6cd9da-3737-46c2-bf71-b91dea5d0e3e"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20160129T221721Z:cf6cd9da-3737-46c2-bf71-b91dea5d0e3e"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:17:21 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk5856/resources?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazU4NTYvcmVzb3VyY2VzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.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": [
+ "14901"
+ ],
+ "x-ms-request-id": [
+ "e69c5578-9d7b-4d22-a6f8-b1dff58f9f86"
+ ],
+ "x-ms-correlation-request-id": [
+ "e69c5578-9d7b-4d22-a6f8-b1dff58f9f86"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20160129T221721Z:e69c5578-9d7b-4d22-a6f8-b1dff58f9f86"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:17:21 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk5856/providers/Microsoft.Web/serverfarms/StandardServicePlan?api-version=2015-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazU4NTYvcHJvdmlkZXJzL01pY3Jvc29mdC5XZWIvc2VydmVyZmFybXMvU3RhbmRhcmRTZXJ2aWNlUGxhbj9hcGktdmVyc2lvbj0yMDE1LTA4LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "b8167b21-2cc8-49f9-bea6-122416414a75"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.WebSites.WebSiteManagementClient/0.9.0.0"
+ ],
+ "Accept": [
+ "application/json"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk5856/providers/Microsoft.Web/serverfarms/StandardServicePlan\",\r\n \"name\": \"StandardServicePlan\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"West US\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"serverFarmId\": 0,\r\n \"name\": \"StandardServicePlan\",\r\n \"workerSize\": 0,\r\n \"workerSizeId\": 0,\r\n \"numberOfWorkers\": 1,\r\n \"currentWorkerSize\": 0,\r\n \"currentWorkerSizeId\": 0,\r\n \"currentNumberOfWorkers\": 1,\r\n \"status\": 0,\r\n \"webSpace\": \"onesdk5856-WestUSwebspace\",\r\n \"subscription\": \"57b7034d-72d4-433d-ace2-a7460aed6a99\",\r\n \"adminSiteName\": null,\r\n \"hostingEnvironment\": null,\r\n \"hostingEnvironmentProfile\": null,\r\n \"maximumNumberOfWorkers\": 10,\r\n \"planName\": \"VirtualDedicatedPlan\",\r\n \"adminRuntimeSiteName\": null,\r\n \"computeMode\": 0,\r\n \"siteMode\": null,\r\n \"geoRegion\": \"West US\",\r\n \"perSiteScaling\": false,\r\n \"numberOfSites\": 0,\r\n \"hostingEnvironmentId\": null,\r\n \"tags\": null,\r\n \"kind\": null,\r\n \"resourceGroup\": \"onesdk5856\"\r\n },\r\n \"sku\": {\r\n \"name\": \"S1\",\r\n \"tier\": \"Standard\",\r\n \"size\": \"S1\",\r\n \"family\": \"S\",\r\n \"capacity\": 1\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "951"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "c51589dc-a45c-4e20-b9f2-d86616153d0f"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14968"
+ ],
+ "x-ms-correlation-request-id": [
+ "3520da3b-5863-4943-946c-870afbe43579"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20160129T221737Z:3520da3b-5863-4943-946c-870afbe43579"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:17:36 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.0"
+ ],
+ "X-AspNet-Version": [
+ "4.0.30319"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk5856/providers/Microsoft.Logic/workflows/onesdk8121?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazU4NTYvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrODEyMT9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "ff90b1c2-fa4f-41d5-a325-fc19f741efb0"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Logic/workflows/onesdk8121' under resource group 'onesdk5856' was not found.\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "150"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-request-id": [
+ "55553a79-50cd-4b5f-b5ef-e62d35535187"
+ ],
+ "x-ms-correlation-request-id": [
+ "55553a79-50cd-4b5f-b5ef-e62d35535187"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20160129T221737Z:55553a79-50cd-4b5f-b5ef-e62d35535187"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:17:37 GMT"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk5856/providers/Microsoft.Logic/workflows/onesdk8121?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazU4NTYvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrODEyMT9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"state\": \"Enabled\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk5856/providers/Microsoft.Web/serverfarms/StandardServicePlan\"\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\": false,\r\n \"type\": \"bool\"\r\n }\r\n },\r\n \"triggers\": {\r\n \"httpTrigger\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"GET\",\r\n \"uri\": \"http://www.bing.com\"\r\n },\r\n \"recurrence\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\r\n \"conditions\": [\r\n {\r\n \"expression\": \"@bool('true')\"\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n },\r\n \"http1\": {\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n }\r\n },\r\n \"outputs\": {\r\n \"output1\": {\r\n \"type\": \"string\",\r\n \"value\": \"true\"\r\n }\r\n }\r\n }\r\n }\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "1774"
+ ],
+ "x-ms-client-request-id": [
+ "037e4dd0-4abe-404f-9ed2-b837cf2e0527"
+ ],
+ "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-01-29T22:17:38.9820644Z\",\r\n \"changedTime\": \"2016-01-29T22:17:38.9820644Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587475010265834542\",\r\n \"accessEndpoint\": \"https://westus.logic.azure.com:443/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk5856/providers/Microsoft.Logic/workflows/onesdk8121\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk5856/providers/Microsoft.Web/serverfarms/StandardServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"StandardServicePlan\"\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\": false,\r\n \"type\": \"Bool\"\r\n }\r\n },\r\n \"triggers\": {\r\n \"httpTrigger\": {\r\n \"recurrence\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\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 \"expression\": \"@bool('true')\"\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n },\r\n \"http1\": {\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n }\r\n },\r\n \"outputs\": {\r\n \"output1\": {\r\n \"type\": \"String\",\r\n \"value\": \"true\"\r\n }\r\n }\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk5856/providers/Microsoft.Logic/workflows/onesdk8121\",\r\n \"name\": \"onesdk8121\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"West US\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1576"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "westus:67aa7e04-34ef-4d63-bdac-5b2d7e58c0f0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1198"
+ ],
+ "x-ms-correlation-request-id": [
+ "c1a0979d-3688-45d9-a10e-26ed86b10aa3"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20160129T221740Z:c1a0979d-3688-45d9-a10e-26ed86b10aa3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:17:39 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk5856/providers/Microsoft.Logic/workflows/onesdk8121?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazU4NTYvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrODEyMT9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "39e4d636-2d60-403e-b854-f6f841c2daba"
+ ],
+ "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:bbd271ce-6474-4f20-8753-23feb9945213"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1197"
+ ],
+ "x-ms-correlation-request-id": [
+ "40c14fdb-4bdd-4c33-a09b-da4d37834254"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20160129T221741Z:40c14fdb-4bdd-4c33-a09b-da4d37834254"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:17:40 GMT"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {
+ "Test-CreateLogicAppUsingDefinitionWithTriggers": [
+ "onesdk5856",
+ "onesdk8121"
+ ]
+ },
+ "Variables": {
+ "SubscriptionId": "57b7034d-72d4-433d-ace2-a7460aed6a99"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp.Test/SessionRecords/Microsoft.Azure.Commands.LogicApp.Test.ScenarioTests.WorkflowTests/TestCreateLogicAppUsingInputParameterAsHashTable.json b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/SessionRecords/Microsoft.Azure.Commands.LogicApp.Test.ScenarioTests.WorkflowTests/TestCreateLogicAppUsingInputParameterAsHashTable.json
new file mode 100644
index 000000000000..08c93549516f
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/SessionRecords/Microsoft.Azure.Commands.LogicApp.Test.ScenarioTests.WorkflowTests/TestCreateLogicAppUsingInputParameterAsHashTable.json
@@ -0,0 +1,397 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk1728?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlZ3JvdXBzL29uZXNkazE3Mjg/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "HEAD",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "102"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14958"
+ ],
+ "x-ms-request-id": [
+ "841c8d8c-15e3-488b-93fa-a7e9b700abd7"
+ ],
+ "x-ms-correlation-request-id": [
+ "841c8d8c-15e3-488b-93fa-a7e9b700abd7"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T222016Z:841c8d8c-15e3-488b-93fa-a7e9b700abd7"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:20:16 GMT"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk1728?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlZ3JvdXBzL29uZXNkazE3Mjg/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"West US\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "29"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk1728\",\r\n \"name\": \"onesdk1728\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "173"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1193"
+ ],
+ "x-ms-request-id": [
+ "68b91c0e-2a48-45ee-bd97-0713d63339fb"
+ ],
+ "x-ms-correlation-request-id": [
+ "68b91c0e-2a48-45ee-bd97-0713d63339fb"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T222017Z:68b91c0e-2a48-45ee-bd97-0713d63339fb"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:20:16 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk1728/resources?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazE3MjgvcmVzb3VyY2VzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.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": [
+ "14957"
+ ],
+ "x-ms-request-id": [
+ "dacca8fa-f84d-4991-a6ea-85cc55e31d75"
+ ],
+ "x-ms-correlation-request-id": [
+ "dacca8fa-f84d-4991-a6ea-85cc55e31d75"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T222017Z:dacca8fa-f84d-4991-a6ea-85cc55e31d75"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:20:16 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk1728/providers/Microsoft.Web/serverfarms/StandardServicePlan?api-version=2015-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazE3MjgvcHJvdmlkZXJzL01pY3Jvc29mdC5XZWIvc2VydmVyZmFybXMvU3RhbmRhcmRTZXJ2aWNlUGxhbj9hcGktdmVyc2lvbj0yMDE1LTA4LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "e8e31df1-a428-40ec-9237-8601f8f17417"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.WebSites.WebSiteManagementClient/0.9.0.0"
+ ],
+ "Accept": [
+ "application/json"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk1728/providers/Microsoft.Web/serverfarms/StandardServicePlan\",\r\n \"name\": \"StandardServicePlan\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"West US\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"serverFarmId\": 0,\r\n \"name\": \"StandardServicePlan\",\r\n \"workerSize\": 0,\r\n \"workerSizeId\": 0,\r\n \"numberOfWorkers\": 1,\r\n \"currentWorkerSize\": 0,\r\n \"currentWorkerSizeId\": 0,\r\n \"currentNumberOfWorkers\": 1,\r\n \"status\": 0,\r\n \"webSpace\": \"onesdk1728-WestUSwebspace\",\r\n \"subscription\": \"57b7034d-72d4-433d-ace2-a7460aed6a99\",\r\n \"adminSiteName\": null,\r\n \"hostingEnvironment\": null,\r\n \"hostingEnvironmentProfile\": null,\r\n \"maximumNumberOfWorkers\": 10,\r\n \"planName\": \"VirtualDedicatedPlan\",\r\n \"adminRuntimeSiteName\": null,\r\n \"computeMode\": 0,\r\n \"siteMode\": null,\r\n \"geoRegion\": \"West US\",\r\n \"perSiteScaling\": false,\r\n \"numberOfSites\": 0,\r\n \"hostingEnvironmentId\": null,\r\n \"tags\": null,\r\n \"kind\": null,\r\n \"resourceGroup\": \"onesdk1728\"\r\n },\r\n \"sku\": {\r\n \"name\": \"S1\",\r\n \"tier\": \"Standard\",\r\n \"size\": \"S1\",\r\n \"family\": \"S\",\r\n \"capacity\": 1\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "951"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "71602ba7-166b-48c8-844d-52cf8fff47ff"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14933"
+ ],
+ "x-ms-correlation-request-id": [
+ "6125b943-68f3-42f4-9f0b-1d068ea7ee20"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T222030Z:6125b943-68f3-42f4-9f0b-1d068ea7ee20"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:20:29 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.0"
+ ],
+ "X-AspNet-Version": [
+ "4.0.30319"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk1728/providers/Microsoft.Logic/workflows/onesdk3567?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazE3MjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrMzU2Nz9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "c4e64546-1238-4088-921a-43b0ef056e94"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Logic/workflows/onesdk3567' under resource group 'onesdk1728' was not found.\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "150"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-request-id": [
+ "e35c25c2-227c-4b1b-b064-5ef62ceeea2b"
+ ],
+ "x-ms-correlation-request-id": [
+ "e35c25c2-227c-4b1b-b064-5ef62ceeea2b"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T222030Z:e35c25c2-227c-4b1b-b064-5ef62ceeea2b"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:20:29 GMT"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk1728/providers/Microsoft.Logic/workflows/onesdk3567?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazE3MjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrMzU2Nz9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"state\": \"Enabled\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk1728/providers/Microsoft.Web/serverfarms/StandardServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"https://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 \"type\": \"bool\",\r\n \"defaultValue\": true\r\n },\r\n \"destinationUri\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"http://tempuri.org\"\r\n }\r\n },\r\n \"triggers\": {},\r\n \"actions\": {\r\n \"http\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"POST\",\r\n \"uri\": \"@parameters('destinationUri')\",\r\n \"body\": \"Test\"\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {\r\n \"destinationUri\": {\r\n \"value\": \"http://www.bing.com\"\r\n }\r\n }\r\n }\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "1172"
+ ],
+ "x-ms-client-request-id": [
+ "73a056e6-a05c-4d02-aafe-554f634f2832"
+ ],
+ "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-01-29T22:20:32.4973472Z\",\r\n \"changedTime\": \"2016-01-29T22:20:32.4973472Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587475008531646505\",\r\n \"accessEndpoint\": \"https://westus.logic.azure.com:443/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk1728/providers/Microsoft.Logic/workflows/onesdk3567\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk1728/providers/Microsoft.Web/serverfarms/StandardServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"StandardServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"https://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 \"destinationUri\": {\r\n \"defaultValue\": \"http://tempuri.org\",\r\n \"type\": \"String\"\r\n }\r\n },\r\n \"triggers\": {},\r\n \"actions\": {\r\n \"http\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"POST\",\r\n \"uri\": \"@parameters('destinationUri')\",\r\n \"body\": \"Test\"\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {\r\n \"destinationUri\": {\r\n \"value\": \"http://www.bing.com\"\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk1728/providers/Microsoft.Logic/workflows/onesdk3567\",\r\n \"name\": \"onesdk3567\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"West US\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1348"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "westus:e0f6b624-4933-4ac3-8f20-0e5678eb142b"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "x-ms-correlation-request-id": [
+ "81d9dde4-f645-426c-be7a-5a70efc1c82a"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T222032Z:81d9dde4-f645-426c-be7a-5a70efc1c82a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:20:31 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk1728/providers/Microsoft.Logic/workflows/onesdk3567?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazE3MjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrMzU2Nz9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "172f9f3f-f08f-484c-a4b2-0347d45c6b0b"
+ ],
+ "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:b20bcb11-b79e-4715-b900-693ec54cbab0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1198"
+ ],
+ "x-ms-correlation-request-id": [
+ "5c5e1e61-df6c-467f-a6ae-8d7f37d28ff9"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T222033Z:5c5e1e61-df6c-467f-a6ae-8d7f37d28ff9"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:20:32 GMT"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {
+ "Test-CreateLogicAppUsingInputParameterAsHashTable": [
+ "onesdk1728",
+ "onesdk3567"
+ ]
+ },
+ "Variables": {
+ "SubscriptionId": "57b7034d-72d4-433d-ace2-a7460aed6a99"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp.Test/SessionRecords/Microsoft.Azure.Commands.LogicApp.Test.ScenarioTests.WorkflowTests/TestCreateLogicAppUsingInputfromWorkflowObject.json b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/SessionRecords/Microsoft.Azure.Commands.LogicApp.Test.ScenarioTests.WorkflowTests/TestCreateLogicAppUsingInputfromWorkflowObject.json
new file mode 100644
index 000000000000..06c0cd2dff0c
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/SessionRecords/Microsoft.Azure.Commands.LogicApp.Test.ScenarioTests.WorkflowTests/TestCreateLogicAppUsingInputfromWorkflowObject.json
@@ -0,0 +1,578 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk9495?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlZ3JvdXBzL29uZXNkazk0OTU/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "HEAD",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "102"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14979"
+ ],
+ "x-ms-request-id": [
+ "6cba9c2c-70f3-42fe-b248-454e7ba647a4"
+ ],
+ "x-ms-correlation-request-id": [
+ "6cba9c2c-70f3-42fe-b248-454e7ba647a4"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221642Z:6cba9c2c-70f3-42fe-b248-454e7ba647a4"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:16:41 GMT"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk9495?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlZ3JvdXBzL29uZXNkazk0OTU/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"West US\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "29"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk9495\",\r\n \"name\": \"onesdk9495\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "173"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1196"
+ ],
+ "x-ms-request-id": [
+ "ae47d160-f054-4ea0-ade1-6e5cc4946ae3"
+ ],
+ "x-ms-correlation-request-id": [
+ "ae47d160-f054-4ea0-ade1-6e5cc4946ae3"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221642Z:ae47d160-f054-4ea0-ade1-6e5cc4946ae3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:16:42 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk9495/resources?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazk0OTUvcmVzb3VyY2VzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.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": [
+ "14978"
+ ],
+ "x-ms-request-id": [
+ "816d1c8c-31ed-463d-a009-a8da34663cb9"
+ ],
+ "x-ms-correlation-request-id": [
+ "816d1c8c-31ed-463d-a009-a8da34663cb9"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221642Z:816d1c8c-31ed-463d-a009-a8da34663cb9"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:16:42 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk9495/providers/Microsoft.Web/serverfarms/StandardServicePlan?api-version=2015-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazk0OTUvcHJvdmlkZXJzL01pY3Jvc29mdC5XZWIvc2VydmVyZmFybXMvU3RhbmRhcmRTZXJ2aWNlUGxhbj9hcGktdmVyc2lvbj0yMDE1LTA4LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "6e4d67d9-2a63-4e76-8c4c-c1548ecde360"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.WebSites.WebSiteManagementClient/0.9.0.0"
+ ],
+ "Accept": [
+ "application/json"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk9495/providers/Microsoft.Web/serverfarms/StandardServicePlan\",\r\n \"name\": \"StandardServicePlan\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"West US\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"serverFarmId\": 0,\r\n \"name\": \"StandardServicePlan\",\r\n \"workerSize\": 0,\r\n \"workerSizeId\": 0,\r\n \"numberOfWorkers\": 1,\r\n \"currentWorkerSize\": 0,\r\n \"currentWorkerSizeId\": 0,\r\n \"currentNumberOfWorkers\": 1,\r\n \"status\": 0,\r\n \"webSpace\": \"onesdk9495-WestUSwebspace\",\r\n \"subscription\": \"57b7034d-72d4-433d-ace2-a7460aed6a99\",\r\n \"adminSiteName\": null,\r\n \"hostingEnvironment\": null,\r\n \"hostingEnvironmentProfile\": null,\r\n \"maximumNumberOfWorkers\": 10,\r\n \"planName\": \"VirtualDedicatedPlan\",\r\n \"adminRuntimeSiteName\": null,\r\n \"computeMode\": 0,\r\n \"siteMode\": null,\r\n \"geoRegion\": \"West US\",\r\n \"perSiteScaling\": false,\r\n \"numberOfSites\": 0,\r\n \"hostingEnvironmentId\": null,\r\n \"tags\": null,\r\n \"kind\": null,\r\n \"resourceGroup\": \"onesdk9495\"\r\n },\r\n \"sku\": {\r\n \"name\": \"S1\",\r\n \"tier\": \"Standard\",\r\n \"size\": \"S1\",\r\n \"family\": \"S\",\r\n \"capacity\": 1\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "951"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "de43b540-eb0c-47ea-b3ae-f3c8f5c6b154"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14965"
+ ],
+ "x-ms-correlation-request-id": [
+ "00ff7887-d498-41f1-8188-26af4b8aaa75"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221650Z:00ff7887-d498-41f1-8188-26af4b8aaa75"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:16:49 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.0"
+ ],
+ "X-AspNet-Version": [
+ "4.0.30319"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk9495/providers/Microsoft.Web/serverfarms/StandardServicePlan?api-version=2015-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazk0OTUvcHJvdmlkZXJzL01pY3Jvc29mdC5XZWIvc2VydmVyZmFybXMvU3RhbmRhcmRTZXJ2aWNlUGxhbj9hcGktdmVyc2lvbj0yMDE1LTA4LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "2be239e5-7cee-49d1-90ad-b101b9aed45a"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.WebSites.WebSiteManagementClient/0.9.0.0"
+ ],
+ "Accept": [
+ "application/json"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk9495/providers/Microsoft.Web/serverfarms/StandardServicePlan\",\r\n \"name\": \"StandardServicePlan\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"West US\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"serverFarmId\": 0,\r\n \"name\": \"StandardServicePlan\",\r\n \"workerSize\": 0,\r\n \"workerSizeId\": 0,\r\n \"numberOfWorkers\": 1,\r\n \"currentWorkerSize\": 0,\r\n \"currentWorkerSizeId\": 0,\r\n \"currentNumberOfWorkers\": 1,\r\n \"status\": 0,\r\n \"webSpace\": \"onesdk9495-WestUSwebspace\",\r\n \"subscription\": \"57b7034d-72d4-433d-ace2-a7460aed6a99\",\r\n \"adminSiteName\": null,\r\n \"hostingEnvironment\": null,\r\n \"hostingEnvironmentProfile\": null,\r\n \"maximumNumberOfWorkers\": 10,\r\n \"planName\": \"VirtualDedicatedPlan\",\r\n \"adminRuntimeSiteName\": null,\r\n \"computeMode\": 0,\r\n \"siteMode\": null,\r\n \"geoRegion\": \"West US\",\r\n \"perSiteScaling\": false,\r\n \"numberOfSites\": 0,\r\n \"hostingEnvironmentId\": null,\r\n \"tags\": null,\r\n \"kind\": null,\r\n \"resourceGroup\": \"onesdk9495\"\r\n },\r\n \"sku\": {\r\n \"name\": \"S1\",\r\n \"tier\": \"Standard\",\r\n \"size\": \"S1\",\r\n \"family\": \"S\",\r\n \"capacity\": 1\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "951"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "a1364c86-f5f5-47a8-b93e-b0730b518dbc"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14964"
+ ],
+ "x-ms-correlation-request-id": [
+ "c93c336b-0065-4dd7-8285-85605d5cfc69"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221653Z:c93c336b-0065-4dd7-8285-85605d5cfc69"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:16:52 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.0"
+ ],
+ "X-AspNet-Version": [
+ "4.0.30319"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk9495/providers/Microsoft.Logic/workflows/onesdk5752?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazk0OTUvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrNTc1Mj9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "25665e2e-6fb5-487e-beab-1fc2dbdf0621"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Logic/workflows/onesdk5752' under resource group 'onesdk9495' was not found.\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "150"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-request-id": [
+ "54e4a79c-8b3f-43bf-8c1b-16e4e52d4761"
+ ],
+ "x-ms-correlation-request-id": [
+ "54e4a79c-8b3f-43bf-8c1b-16e4e52d4761"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221651Z:54e4a79c-8b3f-43bf-8c1b-16e4e52d4761"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:16:51 GMT"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk9495/providers/Microsoft.Logic/workflows/onesdk5752?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazk0OTUvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrNTc1Mj9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"state\": \"Enabled\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk9495/providers/Microsoft.Web/serverfarms/StandardServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"https://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 \"type\": \"bool\",\r\n \"defaultValue\": true\r\n },\r\n \"destinationUri\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"http://tempuri.org\"\r\n }\r\n },\r\n \"triggers\": {},\r\n \"actions\": {\r\n \"http\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"POST\",\r\n \"uri\": \"@parameters('destinationUri')\",\r\n \"body\": \"Test\"\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {\r\n \"destinationUri\": {\r\n \"value\": \"http://requestb.in/1kj7g8e1\"\r\n }\r\n }\r\n }\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "1180"
+ ],
+ "x-ms-client-request-id": [
+ "1f19d732-169e-4d22-b0d2-bb78c65022a7"
+ ],
+ "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-01-29T22:16:52.4999396Z\",\r\n \"changedTime\": \"2016-01-29T22:16:52.4999396Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587475010730915790\",\r\n \"accessEndpoint\": \"https://westus.logic.azure.com:443/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk9495/providers/Microsoft.Logic/workflows/onesdk5752\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk9495/providers/Microsoft.Web/serverfarms/StandardServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"StandardServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"https://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 \"destinationUri\": {\r\n \"defaultValue\": \"http://tempuri.org\",\r\n \"type\": \"String\"\r\n }\r\n },\r\n \"triggers\": {},\r\n \"actions\": {\r\n \"http\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"POST\",\r\n \"uri\": \"@parameters('destinationUri')\",\r\n \"body\": \"Test\"\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {\r\n \"destinationUri\": {\r\n \"value\": \"http://requestb.in/1kj7g8e1\"\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk9495/providers/Microsoft.Logic/workflows/onesdk5752\",\r\n \"name\": \"onesdk5752\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"West US\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1356"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "westus:f43df64a-50ea-48d7-b8fe-db1dd733553b"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1192"
+ ],
+ "x-ms-correlation-request-id": [
+ "427dfb46-713f-4fd8-a1ea-e98965b42c3f"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221654Z:427dfb46-713f-4fd8-a1ea-e98965b42c3f"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:16:53 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk9495/providers/Microsoft.Logic/workflows/onesdk7186?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazk0OTUvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrNzE4Nj9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "2b6b2c96-e09d-4d7a-9945-2c4e0d91cc01"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Logic/workflows/onesdk7186' under resource group 'onesdk9495' was not found.\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "150"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-request-id": [
+ "3f61acd2-7a5e-434b-bbc7-0144c1fdb32b"
+ ],
+ "x-ms-correlation-request-id": [
+ "3f61acd2-7a5e-434b-bbc7-0144c1fdb32b"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221654Z:3f61acd2-7a5e-434b-bbc7-0144c1fdb32b"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:16:54 GMT"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk9495/providers/Microsoft.Logic/workflows/onesdk7186?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazk0OTUvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrNzE4Nj9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"state\": \"Enabled\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk9495/providers/Microsoft.Web/serverfarms/StandardServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"https://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 \"destinationUri\": {\r\n \"defaultValue\": \"http://tempuri.org\",\r\n \"type\": \"String\"\r\n }\r\n },\r\n \"triggers\": {},\r\n \"actions\": {\r\n \"http\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"POST\",\r\n \"uri\": \"@parameters('destinationUri')\",\r\n \"body\": \"Test\"\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {\r\n \"destinationUri\": {\r\n \"value\": \"http://requestb.in/1kj7g8e1\"\r\n }\r\n }\r\n }\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "1180"
+ ],
+ "x-ms-client-request-id": [
+ "28699b7e-a991-4375-9cc0-0458388c5ed6"
+ ],
+ "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-01-29T22:16:55.3149852Z\",\r\n \"changedTime\": \"2016-01-29T22:16:55.3149852Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587475010702421005\",\r\n \"accessEndpoint\": \"https://westus.logic.azure.com:443/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk9495/providers/Microsoft.Logic/workflows/onesdk7186\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk9495/providers/Microsoft.Web/serverfarms/StandardServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"StandardServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"https://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 \"destinationUri\": {\r\n \"defaultValue\": \"http://tempuri.org\",\r\n \"type\": \"String\"\r\n }\r\n },\r\n \"triggers\": {},\r\n \"actions\": {\r\n \"http\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"POST\",\r\n \"uri\": \"@parameters('destinationUri')\",\r\n \"body\": \"Test\"\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {\r\n \"destinationUri\": {\r\n \"value\": \"http://requestb.in/1kj7g8e1\"\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk9495/providers/Microsoft.Logic/workflows/onesdk7186\",\r\n \"name\": \"onesdk7186\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"West US\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1356"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "westus:4d78da5c-afe6-4298-9de4-d1e0ec78bd26"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1191"
+ ],
+ "x-ms-correlation-request-id": [
+ "9e132fde-67ef-4ef9-ab0a-df2f15a3e889"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221656Z:9e132fde-67ef-4ef9-ab0a-df2f15a3e889"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:16:56 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk9495/providers/Microsoft.Logic/workflows/onesdk5752?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazk0OTUvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrNTc1Mj9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "77cd3cf7-b840-46c4-b0c1-afc73df775bd"
+ ],
+ "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:6d0ecf5f-dd57-4ed0-99a6-9c6e28c0877c"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1190"
+ ],
+ "x-ms-correlation-request-id": [
+ "dc8c7762-d2ff-4795-a6ae-014b54ba71aa"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221657Z:dc8c7762-d2ff-4795-a6ae-014b54ba71aa"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:16:57 GMT"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {
+ "Test-CreateLogicAppUsingInputfromWorkflowObject": [
+ "onesdk9495",
+ "onesdk5752",
+ "onesdk7186"
+ ]
+ },
+ "Variables": {
+ "SubscriptionId": "57b7034d-72d4-433d-ace2-a7460aed6a99"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp.Test/SessionRecords/Microsoft.Azure.Commands.LogicApp.Test.ScenarioTests.WorkflowTests/TestCreateLogicAppWithDuplicateName.json b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/SessionRecords/Microsoft.Azure.Commands.LogicApp.Test.ScenarioTests.WorkflowTests/TestCreateLogicAppWithDuplicateName.json
new file mode 100644
index 000000000000..236dcb1aa4e6
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/SessionRecords/Microsoft.Azure.Commands.LogicApp.Test.ScenarioTests.WorkflowTests/TestCreateLogicAppWithDuplicateName.json
@@ -0,0 +1,520 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk2480?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlZ3JvdXBzL29uZXNkazI0ODA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "HEAD",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "102"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14950"
+ ],
+ "x-ms-request-id": [
+ "4c87bf3e-a5c4-439a-8279-e5e61a60b069"
+ ],
+ "x-ms-correlation-request-id": [
+ "4c87bf3e-a5c4-439a-8279-e5e61a60b069"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221939Z:4c87bf3e-a5c4-439a-8279-e5e61a60b069"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:19:38 GMT"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk2480?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlZ3JvdXBzL29uZXNkazI0ODA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"West US\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "29"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk2480\",\r\n \"name\": \"onesdk2480\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "173"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "x-ms-request-id": [
+ "9bc00ec8-d411-40c2-a0c2-fbf90b428720"
+ ],
+ "x-ms-correlation-request-id": [
+ "9bc00ec8-d411-40c2-a0c2-fbf90b428720"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221940Z:9bc00ec8-d411-40c2-a0c2-fbf90b428720"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:19:39 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk2480/resources?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazI0ODAvcmVzb3VyY2VzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.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": [
+ "14949"
+ ],
+ "x-ms-request-id": [
+ "8b7d1991-eb56-4d92-b9ec-001d6f45e401"
+ ],
+ "x-ms-correlation-request-id": [
+ "8b7d1991-eb56-4d92-b9ec-001d6f45e401"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221940Z:8b7d1991-eb56-4d92-b9ec-001d6f45e401"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:19:39 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk2480/providers/Microsoft.Web/serverfarms/StandardServicePlan?api-version=2015-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazI0ODAvcHJvdmlkZXJzL01pY3Jvc29mdC5XZWIvc2VydmVyZmFybXMvU3RhbmRhcmRTZXJ2aWNlUGxhbj9hcGktdmVyc2lvbj0yMDE1LTA4LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "74ce34c9-29c1-47e3-8807-c77f9b3e4d5a"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.WebSites.WebSiteManagementClient/0.9.0.0"
+ ],
+ "Accept": [
+ "application/json"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk2480/providers/Microsoft.Web/serverfarms/StandardServicePlan\",\r\n \"name\": \"StandardServicePlan\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"West US\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"serverFarmId\": 0,\r\n \"name\": \"StandardServicePlan\",\r\n \"workerSize\": 0,\r\n \"workerSizeId\": 0,\r\n \"numberOfWorkers\": 1,\r\n \"currentWorkerSize\": 0,\r\n \"currentWorkerSizeId\": 0,\r\n \"currentNumberOfWorkers\": 1,\r\n \"status\": 0,\r\n \"webSpace\": \"onesdk2480-WestUSwebspace\",\r\n \"subscription\": \"57b7034d-72d4-433d-ace2-a7460aed6a99\",\r\n \"adminSiteName\": null,\r\n \"hostingEnvironment\": null,\r\n \"hostingEnvironmentProfile\": null,\r\n \"maximumNumberOfWorkers\": 10,\r\n \"planName\": \"VirtualDedicatedPlan\",\r\n \"adminRuntimeSiteName\": null,\r\n \"computeMode\": 0,\r\n \"siteMode\": null,\r\n \"geoRegion\": \"West US\",\r\n \"perSiteScaling\": false,\r\n \"numberOfSites\": 0,\r\n \"hostingEnvironmentId\": null,\r\n \"tags\": null,\r\n \"kind\": null,\r\n \"resourceGroup\": \"onesdk2480\"\r\n },\r\n \"sku\": {\r\n \"name\": \"S1\",\r\n \"tier\": \"Standard\",\r\n \"size\": \"S1\",\r\n \"family\": \"S\",\r\n \"capacity\": 1\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "951"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "98b6bdd3-25eb-4f10-b5d8-73fed629f100"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14937"
+ ],
+ "x-ms-correlation-request-id": [
+ "835373c3-bfb9-41bd-ad83-7d2e8c2be5c6"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221946Z:835373c3-bfb9-41bd-ad83-7d2e8c2be5c6"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:19:45 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.0"
+ ],
+ "X-AspNet-Version": [
+ "4.0.30319"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk2480/providers/Microsoft.Web/serverfarms/StandardServicePlan?api-version=2015-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazI0ODAvcHJvdmlkZXJzL01pY3Jvc29mdC5XZWIvc2VydmVyZmFybXMvU3RhbmRhcmRTZXJ2aWNlUGxhbj9hcGktdmVyc2lvbj0yMDE1LTA4LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "192e354f-95d7-4301-847c-31899dc20ccd"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.WebSites.WebSiteManagementClient/0.9.0.0"
+ ],
+ "Accept": [
+ "application/json"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk2480/providers/Microsoft.Web/serverfarms/StandardServicePlan\",\r\n \"name\": \"StandardServicePlan\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"West US\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"serverFarmId\": 0,\r\n \"name\": \"StandardServicePlan\",\r\n \"workerSize\": 0,\r\n \"workerSizeId\": 0,\r\n \"numberOfWorkers\": 1,\r\n \"currentWorkerSize\": 0,\r\n \"currentWorkerSizeId\": 0,\r\n \"currentNumberOfWorkers\": 1,\r\n \"status\": 0,\r\n \"webSpace\": \"onesdk2480-WestUSwebspace\",\r\n \"subscription\": \"57b7034d-72d4-433d-ace2-a7460aed6a99\",\r\n \"adminSiteName\": null,\r\n \"hostingEnvironment\": null,\r\n \"hostingEnvironmentProfile\": null,\r\n \"maximumNumberOfWorkers\": 10,\r\n \"planName\": \"VirtualDedicatedPlan\",\r\n \"adminRuntimeSiteName\": null,\r\n \"computeMode\": 0,\r\n \"siteMode\": null,\r\n \"geoRegion\": \"West US\",\r\n \"perSiteScaling\": false,\r\n \"numberOfSites\": 0,\r\n \"hostingEnvironmentId\": null,\r\n \"tags\": null,\r\n \"kind\": null,\r\n \"resourceGroup\": \"onesdk2480\"\r\n },\r\n \"sku\": {\r\n \"name\": \"S1\",\r\n \"tier\": \"Standard\",\r\n \"size\": \"S1\",\r\n \"family\": \"S\",\r\n \"capacity\": 1\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "951"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "fa14574f-c532-4c96-b363-d9f1108d0b1a"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14936"
+ ],
+ "x-ms-correlation-request-id": [
+ "2b5265aa-c1f0-4099-939c-9fcb70a63d59"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221947Z:2b5265aa-c1f0-4099-939c-9fcb70a63d59"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:19:47 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.0"
+ ],
+ "X-AspNet-Version": [
+ "4.0.30319"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk2480/providers/Microsoft.Logic/workflows/onesdk104?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazI0ODAvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrMTA0P2FwaS12ZXJzaW9uPTIwMTUtMDItMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "c0ddede1-b5d6-4a92-be77-b23c88513d1a"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Logic/workflows/onesdk104' under resource group 'onesdk2480' was not found.\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "149"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-request-id": [
+ "80b4583e-e888-415f-8c9b-2176c8cb52bf"
+ ],
+ "x-ms-correlation-request-id": [
+ "80b4583e-e888-415f-8c9b-2176c8cb52bf"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221946Z:80b4583e-e888-415f-8c9b-2176c8cb52bf"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:19:46 GMT"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk2480/providers/Microsoft.Logic/workflows/onesdk104?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazI0ODAvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrMTA0P2FwaS12ZXJzaW9uPTIwMTUtMDItMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "69275226-8ce1-45e1-9de5-17af02df8a3c"
+ ],
+ "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-01-29T22:19:47.4170547Z\",\r\n \"changedTime\": \"2016-01-29T22:19:47.4177421Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587475008981454888\",\r\n \"accessEndpoint\": \"https://westus.logic.azure.com:443/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk2480/providers/Microsoft.Logic/workflows/onesdk104\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk2480/providers/Microsoft.Web/serverfarms/StandardServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"StandardServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"https://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 \"destinationUri\": {\r\n \"defaultValue\": \"http://tempuri.org\",\r\n \"type\": \"String\"\r\n }\r\n },\r\n \"triggers\": {},\r\n \"actions\": {\r\n \"http\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"POST\",\r\n \"uri\": \"@parameters('destinationUri')\",\r\n \"body\": \"Test\"\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {\r\n \"destinationUri\": {\r\n \"value\": \"http://requestb.in/1kj7g8e1\"\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk2480/providers/Microsoft.Logic/workflows/onesdk104\",\r\n \"name\": \"onesdk104\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1352"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Vary": [
+ "Accept-Encoding"
+ ],
+ "x-ms-request-id": [
+ "westus:c358f077-9cd5-49e7-8ff3-15ed335545eb"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14965"
+ ],
+ "x-ms-correlation-request-id": [
+ "386a2b74-de36-4a05-ae10-f03ddc2c3f07"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221948Z:386a2b74-de36-4a05-ae10-f03ddc2c3f07"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:19:47 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk2480/providers/Microsoft.Logic/workflows/onesdk104?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazI0ODAvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrMTA0P2FwaS12ZXJzaW9uPTIwMTUtMDItMDEtcHJldmlldw==",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"state\": \"Enabled\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk2480/providers/Microsoft.Web/serverfarms/StandardServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"https://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 \"type\": \"bool\",\r\n \"defaultValue\": true\r\n },\r\n \"destinationUri\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"http://tempuri.org\"\r\n }\r\n },\r\n \"triggers\": {},\r\n \"actions\": {\r\n \"http\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"POST\",\r\n \"uri\": \"@parameters('destinationUri')\",\r\n \"body\": \"Test\"\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {\r\n \"destinationUri\": {\r\n \"value\": \"http://requestb.in/1kj7g8e1\"\r\n }\r\n }\r\n }\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "1179"
+ ],
+ "x-ms-client-request-id": [
+ "f7297369-0270-4dd2-a460-1fc16b89992d"
+ ],
+ "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-01-29T22:19:47.4170547Z\",\r\n \"changedTime\": \"2016-01-29T22:19:47.4170547Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587475008981454888\",\r\n \"accessEndpoint\": \"https://westus.logic.azure.com:443/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk2480/providers/Microsoft.Logic/workflows/onesdk104\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk2480/providers/Microsoft.Web/serverfarms/StandardServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"StandardServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"https://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 \"destinationUri\": {\r\n \"defaultValue\": \"http://tempuri.org\",\r\n \"type\": \"String\"\r\n }\r\n },\r\n \"triggers\": {},\r\n \"actions\": {\r\n \"http\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"POST\",\r\n \"uri\": \"@parameters('destinationUri')\",\r\n \"body\": \"Test\"\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {\r\n \"destinationUri\": {\r\n \"value\": \"http://requestb.in/1kj7g8e1\"\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk2480/providers/Microsoft.Logic/workflows/onesdk104\",\r\n \"name\": \"onesdk104\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1352"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "westus:59a60360-33fe-462b-8793-a06d3e16cf39"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1193"
+ ],
+ "x-ms-correlation-request-id": [
+ "c25b06c0-575f-43a7-9a52-daed29016a65"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221947Z:c25b06c0-575f-43a7-9a52-daed29016a65"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:19:47 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk2480/providers/Microsoft.Logic/workflows/onesdk104?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazI0ODAvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrMTA0P2FwaS12ZXJzaW9uPTIwMTUtMDItMDEtcHJldmlldw==",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "4c6c434b-c36f-4cb3-a774-d4112aebe9e4"
+ ],
+ "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:9df50e1d-7896-40da-8a7b-0224563bb70d"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1192"
+ ],
+ "x-ms-correlation-request-id": [
+ "6ef9acd5-265a-4ec8-b828-1c46c3ceb68d"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221948Z:6ef9acd5-265a-4ec8-b828-1c46c3ceb68d"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:19:48 GMT"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {
+ "Test-CreateLogicAppWithDuplicateName": [
+ "onesdk2480",
+ "onesdk104"
+ ]
+ },
+ "Variables": {
+ "SubscriptionId": "57b7034d-72d4-433d-ace2-a7460aed6a99"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp.Test/SessionRecords/Microsoft.Azure.Commands.LogicApp.Test.ScenarioTests.WorkflowTests/TestCreateLogicAppWithNonExistingAppServicePlan.json b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/SessionRecords/Microsoft.Azure.Commands.LogicApp.Test.ScenarioTests.WorkflowTests/TestCreateLogicAppWithNonExistingAppServicePlan.json
new file mode 100644
index 000000000000..bccbe8c9ed60
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/SessionRecords/Microsoft.Azure.Commands.LogicApp.Test.ScenarioTests.WorkflowTests/TestCreateLogicAppWithNonExistingAppServicePlan.json
@@ -0,0 +1,223 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk1222?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlZ3JvdXBzL29uZXNkazEyMjI/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "HEAD",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "102"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14977"
+ ],
+ "x-ms-request-id": [
+ "339c1fd7-2288-4d2c-83ec-3f9ab52b1768"
+ ],
+ "x-ms-correlation-request-id": [
+ "339c1fd7-2288-4d2c-83ec-3f9ab52b1768"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20160129T221835Z:339c1fd7-2288-4d2c-83ec-3f9ab52b1768"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:18:35 GMT"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk1222?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlZ3JvdXBzL29uZXNkazEyMjI/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"West US\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "29"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk1222\",\r\n \"name\": \"onesdk1222\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "173"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1198"
+ ],
+ "x-ms-request-id": [
+ "039a9dbd-e523-44ba-a242-ea98c49fca1d"
+ ],
+ "x-ms-correlation-request-id": [
+ "039a9dbd-e523-44ba-a242-ea98c49fca1d"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20160129T221836Z:039a9dbd-e523-44ba-a242-ea98c49fca1d"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:18:36 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk1222/resources?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazEyMjIvcmVzb3VyY2VzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.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": [
+ "14976"
+ ],
+ "x-ms-request-id": [
+ "3b953eab-ff92-4bd3-8e6b-4eb56670a2bc"
+ ],
+ "x-ms-correlation-request-id": [
+ "3b953eab-ff92-4bd3-8e6b-4eb56670a2bc"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20160129T221836Z:3b953eab-ff92-4bd3-8e6b-4eb56670a2bc"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:18:36 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk1222/providers/Microsoft.Web/serverfarms/B9F87338CAE4470F9116F3D685365748?api-version=2015-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazEyMjIvcHJvdmlkZXJzL01pY3Jvc29mdC5XZWIvc2VydmVyZmFybXMvQjlGODczMzhDQUU0NDcwRjkxMTZGM0Q2ODUzNjU3NDg/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "f4a6b7f0-9b13-48de-8a84-d716bd1f9445"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.WebSites.WebSiteManagementClient/0.9.0.0"
+ ],
+ "Accept": [
+ "application/json"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Web/serverFarms/B9F87338CAE4470F9116F3D685365748' under resource group 'onesdk1222' was not found.\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "172"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-request-id": [
+ "ef835c00-600b-4b7f-a22f-581f085eef9d"
+ ],
+ "x-ms-correlation-request-id": [
+ "ef835c00-600b-4b7f-a22f-581f085eef9d"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20160129T221837Z:ef835c00-600b-4b7f-a22f-581f085eef9d"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:18:36 GMT"
+ ]
+ },
+ "StatusCode": 404
+ }
+ ],
+ "Names": {
+ "Test-CreateLogicAppWithNonExistingAppServicePlan": [
+ "onesdk1222",
+ "onesdk7916"
+ ]
+ },
+ "Variables": {
+ "SubscriptionId": "57b7034d-72d4-433d-ace2-a7460aed6a99"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp.Test/SessionRecords/Microsoft.Azure.Commands.LogicApp.Test.ScenarioTests.WorkflowTests/TestRemoveNonExistingLogicApp.json b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/SessionRecords/Microsoft.Azure.Commands.LogicApp.Test.ScenarioTests.WorkflowTests/TestRemoveNonExistingLogicApp.json
new file mode 100644
index 000000000000..949c1f03339b
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/SessionRecords/Microsoft.Azure.Commands.LogicApp.Test.ScenarioTests.WorkflowTests/TestRemoveNonExistingLogicApp.json
@@ -0,0 +1,213 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk7419?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlZ3JvdXBzL29uZXNkazc0MTk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "HEAD",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "102"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14980"
+ ],
+ "x-ms-request-id": [
+ "c247bcc6-5b91-4a43-b883-8d7fdeca6abc"
+ ],
+ "x-ms-correlation-request-id": [
+ "c247bcc6-5b91-4a43-b883-8d7fdeca6abc"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20160129T221804Z:c247bcc6-5b91-4a43-b883-8d7fdeca6abc"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:18:03 GMT"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk7419?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlZ3JvdXBzL29uZXNkazc0MTk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"West US\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "29"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk7419\",\r\n \"name\": \"onesdk7419\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "173"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "x-ms-request-id": [
+ "c3bb443c-9155-4148-9966-ffc3f5e29268"
+ ],
+ "x-ms-correlation-request-id": [
+ "c3bb443c-9155-4148-9966-ffc3f5e29268"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20160129T221805Z:c3bb443c-9155-4148-9966-ffc3f5e29268"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:18:04 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk7419/resources?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazc0MTkvcmVzb3VyY2VzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.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": [
+ "14979"
+ ],
+ "x-ms-request-id": [
+ "f04103dd-2488-43f1-9f97-28f5c2acf125"
+ ],
+ "x-ms-correlation-request-id": [
+ "f04103dd-2488-43f1-9f97-28f5c2acf125"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20160129T221805Z:f04103dd-2488-43f1-9f97-28f5c2acf125"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:18:04 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk7419/providers/Microsoft.Logic/workflows/09e81ac4-848a-428d-82a6-7d61953e3940?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazc0MTkvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3MvMDllODFhYzQtODQ4YS00MjhkLTgyYTYtN2Q2MTk1M2UzOTQwP2FwaS12ZXJzaW9uPTIwMTUtMDItMDEtcHJldmlldw==",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "3031f64d-9f7f-4040-a325-170af29db9b7"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1198"
+ ],
+ "x-ms-request-id": [
+ "34350dd2-6980-46f3-a9d6-5ac4e08e9300"
+ ],
+ "x-ms-correlation-request-id": [
+ "34350dd2-6980-46f3-a9d6-5ac4e08e9300"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20160129T221806Z:34350dd2-6980-46f3-a9d6-5ac4e08e9300"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:18:06 GMT"
+ ]
+ },
+ "StatusCode": 204
+ }
+ ],
+ "Names": {
+ "Test-RemoveNonExistingLogicApp": [
+ "onesdk7419"
+ ]
+ },
+ "Variables": {
+ "SubscriptionId": "57b7034d-72d4-433d-ace2-a7460aed6a99"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp.Test/SessionRecords/Microsoft.Azure.Commands.LogicApp.Test.ScenarioTests.WorkflowTests/TestUpdateLogicApp.json b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/SessionRecords/Microsoft.Azure.Commands.LogicApp.Test.ScenarioTests.WorkflowTests/TestUpdateLogicApp.json
new file mode 100644
index 000000000000..5ba8a05fe8cd
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/SessionRecords/Microsoft.Azure.Commands.LogicApp.Test.ScenarioTests.WorkflowTests/TestUpdateLogicApp.json
@@ -0,0 +1,817 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk2543?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlZ3JvdXBzL29uZXNkazI1NDM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "HEAD",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "102"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14949"
+ ],
+ "x-ms-request-id": [
+ "8bc74203-d099-4345-89e2-03d5fa4b3e23"
+ ],
+ "x-ms-correlation-request-id": [
+ "8bc74203-d099-4345-89e2-03d5fa4b3e23"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221555Z:8bc74203-d099-4345-89e2-03d5fa4b3e23"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:15:54 GMT"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk2543?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlZ3JvdXBzL29uZXNkazI1NDM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"West US\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "29"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk2543\",\r\n \"name\": \"onesdk2543\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "173"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1197"
+ ],
+ "x-ms-request-id": [
+ "f54eb31f-56d3-4be6-bc8f-f57f8833f879"
+ ],
+ "x-ms-correlation-request-id": [
+ "f54eb31f-56d3-4be6-bc8f-f57f8833f879"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221556Z:f54eb31f-56d3-4be6-bc8f-f57f8833f879"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:15:55 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk2543/resources?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazI1NDMvcmVzb3VyY2VzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.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": [
+ "14948"
+ ],
+ "x-ms-request-id": [
+ "ff56e366-f7c4-4522-94d0-8811c184a85c"
+ ],
+ "x-ms-correlation-request-id": [
+ "ff56e366-f7c4-4522-94d0-8811c184a85c"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221556Z:ff56e366-f7c4-4522-94d0-8811c184a85c"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:15:55 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk2543/providers/Microsoft.Web/serverfarms/StandardServicePlan?api-version=2015-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazI1NDMvcHJvdmlkZXJzL01pY3Jvc29mdC5XZWIvc2VydmVyZmFybXMvU3RhbmRhcmRTZXJ2aWNlUGxhbj9hcGktdmVyc2lvbj0yMDE1LTA4LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "98b070da-73d9-448d-a4c9-5d92a42802a2"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.WebSites.WebSiteManagementClient/0.9.0.0"
+ ],
+ "Accept": [
+ "application/json"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk2543/providers/Microsoft.Web/serverfarms/StandardServicePlan\",\r\n \"name\": \"StandardServicePlan\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"West US\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"serverFarmId\": 0,\r\n \"name\": \"StandardServicePlan\",\r\n \"workerSize\": 0,\r\n \"workerSizeId\": 0,\r\n \"numberOfWorkers\": 1,\r\n \"currentWorkerSize\": 0,\r\n \"currentWorkerSizeId\": 0,\r\n \"currentNumberOfWorkers\": 1,\r\n \"status\": 0,\r\n \"webSpace\": \"onesdk2543-WestUSwebspace\",\r\n \"subscription\": \"57b7034d-72d4-433d-ace2-a7460aed6a99\",\r\n \"adminSiteName\": null,\r\n \"hostingEnvironment\": null,\r\n \"hostingEnvironmentProfile\": null,\r\n \"maximumNumberOfWorkers\": 10,\r\n \"planName\": \"VirtualDedicatedPlan\",\r\n \"adminRuntimeSiteName\": null,\r\n \"computeMode\": 0,\r\n \"siteMode\": null,\r\n \"geoRegion\": \"West US\",\r\n \"perSiteScaling\": false,\r\n \"numberOfSites\": 0,\r\n \"hostingEnvironmentId\": null,\r\n \"tags\": null,\r\n \"kind\": null,\r\n \"resourceGroup\": \"onesdk2543\"\r\n },\r\n \"sku\": {\r\n \"name\": \"S1\",\r\n \"tier\": \"Standard\",\r\n \"size\": \"S1\",\r\n \"family\": \"S\",\r\n \"capacity\": 1\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "951"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "033c2de1-66a6-4ae8-a134-9ee842a0978a"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14917"
+ ],
+ "x-ms-correlation-request-id": [
+ "1ed5e292-3302-471b-b91b-51c0e0bbf99a"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221611Z:1ed5e292-3302-471b-b91b-51c0e0bbf99a"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:16:11 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.0"
+ ],
+ "X-AspNet-Version": [
+ "4.0.30319"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk2543/providers/Microsoft.Logic/workflows/onesdk6721?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazI1NDMvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrNjcyMT9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "4f03c4c6-4b97-4d44-81c9-11a3f06106a8"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Logic/workflows/onesdk6721' under resource group 'onesdk2543' was not found.\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "150"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-request-id": [
+ "7ff4a87e-84f0-475e-bcda-09059c8ca10b"
+ ],
+ "x-ms-correlation-request-id": [
+ "7ff4a87e-84f0-475e-bcda-09059c8ca10b"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221612Z:7ff4a87e-84f0-475e-bcda-09059c8ca10b"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:16:11 GMT"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk2543/providers/Microsoft.Logic/workflows/onesdk6721?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazI1NDMvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrNjcyMT9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "68945717-4a8f-4cd6-90f3-8cd0b73831e5"
+ ],
+ "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-01-29T22:16:13.8324068Z\",\r\n \"changedTime\": \"2016-01-29T22:16:13.8327754Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587475011116918888\",\r\n \"accessEndpoint\": \"https://westus.logic.azure.com:443/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk2543/providers/Microsoft.Logic/workflows/onesdk6721\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk2543/providers/Microsoft.Web/serverfarms/StandardServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"StandardServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"https://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 \"destinationUri\": {\r\n \"defaultValue\": \"http://tempuri.org\",\r\n \"type\": \"String\"\r\n }\r\n },\r\n \"triggers\": {},\r\n \"actions\": {\r\n \"http\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"POST\",\r\n \"uri\": \"@parameters('destinationUri')\",\r\n \"body\": \"Test\"\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {\r\n \"destinationUri\": {\r\n \"value\": \"http://requestb.in/1kj7g8e1\"\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk2543/providers/Microsoft.Logic/workflows/onesdk6721\",\r\n \"name\": \"onesdk6721\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1355"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Vary": [
+ "Accept-Encoding"
+ ],
+ "x-ms-request-id": [
+ "westus:c4d93952-b2c6-4e11-930f-298e38c9d02e"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14973"
+ ],
+ "x-ms-correlation-request-id": [
+ "3e6242de-5114-45bf-86b8-2ff9be4e606d"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221614Z:3e6242de-5114-45bf-86b8-2ff9be4e606d"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:16:14 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk2543/providers/Microsoft.Logic/workflows/onesdk6721?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazI1NDMvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrNjcyMT9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "4e282d4c-d499-4b53-82ed-8245d713c4a1"
+ ],
+ "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-01-29T22:16:13.8324068Z\",\r\n \"changedTime\": \"2016-01-29T22:16:15.1004614Z\",\r\n \"state\": \"Disabled\",\r\n \"version\": \"08587475011104127425\",\r\n \"accessEndpoint\": \"https://westus.logic.azure.com:443/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk2543/providers/Microsoft.Logic/workflows/onesdk6721\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk2543/providers/Microsoft.Web/serverfarms/StandardServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"StandardServicePlan\"\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\": false,\r\n \"type\": \"Bool\"\r\n }\r\n },\r\n \"triggers\": {\r\n \"httpTrigger\": {\r\n \"recurrence\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\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 \"expression\": \"@bool('true')\"\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n },\r\n \"http1\": {\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n }\r\n },\r\n \"outputs\": {\r\n \"output1\": {\r\n \"type\": \"String\",\r\n \"value\": \"true\"\r\n }\r\n }\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk2543/providers/Microsoft.Logic/workflows/onesdk6721\",\r\n \"name\": \"onesdk6721\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1576"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Vary": [
+ "Accept-Encoding"
+ ],
+ "x-ms-request-id": [
+ "westus:44a48bfd-814a-4075-bf7c-2e674e5c8a02"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14972"
+ ],
+ "x-ms-correlation-request-id": [
+ "0bd62be2-1429-4d0f-a219-97a2b5d9b462"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221615Z:0bd62be2-1429-4d0f-a219-97a2b5d9b462"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:16:14 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk2543/providers/Microsoft.Logic/workflows/onesdk6721?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazI1NDMvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrNjcyMT9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "b32770c7-953b-49c8-8f7b-77d755eb09a0"
+ ],
+ "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-01-29T22:16:13.8324068Z\",\r\n \"changedTime\": \"2016-01-29T22:16:16.8592647Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587475011086629102\",\r\n \"accessEndpoint\": \"https://westus.logic.azure.com:443/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk2543/providers/Microsoft.Logic/workflows/onesdk6721\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk2543/providers/Microsoft.Web/serverfarms/StandardServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"StandardServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"https://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 \"destinationUri\": {\r\n \"defaultValue\": \"http://tempuri.org\",\r\n \"type\": \"String\"\r\n }\r\n },\r\n \"triggers\": {},\r\n \"actions\": {\r\n \"http\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"POST\",\r\n \"uri\": \"@parameters('destinationUri')\",\r\n \"body\": \"Test\"\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {\r\n \"destinationUri\": {\r\n \"value\": \"http://requestb.in/1kj7g8e1\"\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk2543/providers/Microsoft.Logic/workflows/onesdk6721\",\r\n \"name\": \"onesdk6721\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1355"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Vary": [
+ "Accept-Encoding"
+ ],
+ "x-ms-request-id": [
+ "westus:fe4e15df-5838-47c5-a77f-492b0c69b2a0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14971"
+ ],
+ "x-ms-correlation-request-id": [
+ "2cf9fbc0-a6ce-4359-9430-6e3dbacdd2bb"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221617Z:2cf9fbc0-a6ce-4359-9430-6e3dbacdd2bb"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:16:16 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk2543/providers/Microsoft.Logic/workflows/onesdk6721?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazI1NDMvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrNjcyMT9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "39724f93-fb98-43e5-a515-2427670dc869"
+ ],
+ "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-01-29T22:16:13.8324068Z\",\r\n \"changedTime\": \"2016-01-29T22:16:17.5459997Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587475011079737843\",\r\n \"accessEndpoint\": \"https://westus.logic.azure.com:443/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk2543/providers/Microsoft.Logic/workflows/onesdk6721\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk2543/providers/Microsoft.Web/serverfarms/StandardServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"StandardServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"https://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 \"destinationUri\": {\r\n \"defaultValue\": \"http://tempuri.org\",\r\n \"type\": \"String\"\r\n }\r\n },\r\n \"triggers\": {},\r\n \"actions\": {\r\n \"http\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"POST\",\r\n \"uri\": \"@parameters('destinationUri')\",\r\n \"body\": \"Test\"\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {\r\n \"destinationUri\": {\r\n \"value\": \"http://requestb.in/1kj7g8e1\"\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk2543/providers/Microsoft.Logic/workflows/onesdk6721\",\r\n \"name\": \"onesdk6721\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1355"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Vary": [
+ "Accept-Encoding"
+ ],
+ "x-ms-request-id": [
+ "westus:f7e5b517-bec0-4fc5-91c6-8fee48fb74cb"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14970"
+ ],
+ "x-ms-correlation-request-id": [
+ "a0e598f9-6555-4ec0-906e-00ce62baeb60"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221617Z:a0e598f9-6555-4ec0-906e-00ce62baeb60"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:16:16 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk2543/providers/Microsoft.Logic/workflows/onesdk6721?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazI1NDMvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrNjcyMT9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"state\": \"Enabled\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk2543/providers/Microsoft.Web/serverfarms/StandardServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"https://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 \"type\": \"bool\",\r\n \"defaultValue\": true\r\n },\r\n \"destinationUri\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"http://tempuri.org\"\r\n }\r\n },\r\n \"triggers\": {},\r\n \"actions\": {\r\n \"http\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"POST\",\r\n \"uri\": \"@parameters('destinationUri')\",\r\n \"body\": \"Test\"\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {\r\n \"destinationUri\": {\r\n \"value\": \"http://requestb.in/1kj7g8e1\"\r\n }\r\n }\r\n }\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "1179"
+ ],
+ "x-ms-client-request-id": [
+ "6e664631-7cc0-42f7-9c87-75d4fc63d018"
+ ],
+ "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-01-29T22:16:13.8324068Z\",\r\n \"changedTime\": \"2016-01-29T22:16:13.8324068Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587475011116918888\",\r\n \"accessEndpoint\": \"https://westus.logic.azure.com:443/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk2543/providers/Microsoft.Logic/workflows/onesdk6721\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk2543/providers/Microsoft.Web/serverfarms/StandardServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"StandardServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"https://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 \"destinationUri\": {\r\n \"defaultValue\": \"http://tempuri.org\",\r\n \"type\": \"String\"\r\n }\r\n },\r\n \"triggers\": {},\r\n \"actions\": {\r\n \"http\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"POST\",\r\n \"uri\": \"@parameters('destinationUri')\",\r\n \"body\": \"Test\"\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {\r\n \"destinationUri\": {\r\n \"value\": \"http://requestb.in/1kj7g8e1\"\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk2543/providers/Microsoft.Logic/workflows/onesdk6721\",\r\n \"name\": \"onesdk6721\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1355"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "westus:2e1cac57-e1da-40df-86b5-b512a4b0d857"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1198"
+ ],
+ "x-ms-correlation-request-id": [
+ "2d83d357-780c-4cf0-822b-0f70f1303fb3"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221614Z:2d83d357-780c-4cf0-822b-0f70f1303fb3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:16:14 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk2543/providers/Microsoft.Logic/workflows/onesdk6721?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazI1NDMvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrNjcyMT9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"state\": \"Disabled\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk2543/providers/Microsoft.Web/serverfarms/StandardServicePlan\"\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\": false,\r\n \"type\": \"bool\"\r\n }\r\n },\r\n \"triggers\": {\r\n \"httpTrigger\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"GET\",\r\n \"uri\": \"http://www.bing.com\"\r\n },\r\n \"recurrence\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\r\n \"conditions\": [\r\n {\r\n \"expression\": \"@bool('true')\"\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n },\r\n \"http1\": {\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n }\r\n },\r\n \"outputs\": {\r\n \"output1\": {\r\n \"type\": \"string\",\r\n \"value\": \"true\"\r\n }\r\n }\r\n }\r\n }\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "1774"
+ ],
+ "x-ms-client-request-id": [
+ "7faafb60-6afe-4158-85fd-84d2ae006e49"
+ ],
+ "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-01-29T22:16:15.0997216Z\",\r\n \"changedTime\": \"2016-01-29T22:16:15.1004614Z\",\r\n \"state\": \"Disabled\",\r\n \"version\": \"08587475011104127425\",\r\n \"accessEndpoint\": \"https://westus.logic.azure.com:443/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk2543/providers/Microsoft.Logic/workflows/onesdk6721\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk2543/providers/Microsoft.Web/serverfarms/StandardServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"StandardServicePlan\"\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\": false,\r\n \"type\": \"Bool\"\r\n }\r\n },\r\n \"triggers\": {\r\n \"httpTrigger\": {\r\n \"recurrence\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\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 \"expression\": \"@bool('true')\"\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n },\r\n \"http1\": {\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n }\r\n },\r\n \"outputs\": {\r\n \"output1\": {\r\n \"type\": \"String\",\r\n \"value\": \"true\"\r\n }\r\n }\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk2543/providers/Microsoft.Logic/workflows/onesdk6721\",\r\n \"name\": \"onesdk6721\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1576"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Vary": [
+ "Accept-Encoding"
+ ],
+ "x-ms-request-id": [
+ "westus:4b33ec3e-5397-48ab-b3c7-2b83825e5794"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1197"
+ ],
+ "x-ms-correlation-request-id": [
+ "45f942bb-9949-471c-9204-8962a86a827b"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221615Z:45f942bb-9949-471c-9204-8962a86a827b"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:16:14 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk2543/providers/Microsoft.Logic/workflows/onesdk6721?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazI1NDMvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrNjcyMT9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"state\": \"Enabled\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk2543/providers/Microsoft.Web/serverfarms/StandardServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"https://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 \"type\": \"bool\",\r\n \"defaultValue\": true\r\n },\r\n \"destinationUri\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"http://tempuri.org\"\r\n }\r\n },\r\n \"triggers\": {},\r\n \"actions\": {\r\n \"http\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"POST\",\r\n \"uri\": \"@parameters('destinationUri')\",\r\n \"body\": \"Test\"\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {\r\n \"destinationUri\": {\r\n \"value\": \"http://requestb.in/1kj7g8e1\"\r\n }\r\n }\r\n }\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "1179"
+ ],
+ "x-ms-client-request-id": [
+ "f625102a-8109-47ea-9584-fc1532d71d37"
+ ],
+ "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-01-29T22:16:16.8589691Z\",\r\n \"changedTime\": \"2016-01-29T22:16:16.8592647Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587475011086629102\",\r\n \"accessEndpoint\": \"https://westus.logic.azure.com:443/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk2543/providers/Microsoft.Logic/workflows/onesdk6721\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk2543/providers/Microsoft.Web/serverfarms/StandardServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"StandardServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"https://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 \"destinationUri\": {\r\n \"defaultValue\": \"http://tempuri.org\",\r\n \"type\": \"String\"\r\n }\r\n },\r\n \"triggers\": {},\r\n \"actions\": {\r\n \"http\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"POST\",\r\n \"uri\": \"@parameters('destinationUri')\",\r\n \"body\": \"Test\"\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {\r\n \"destinationUri\": {\r\n \"value\": \"http://requestb.in/1kj7g8e1\"\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk2543/providers/Microsoft.Logic/workflows/onesdk6721\",\r\n \"name\": \"onesdk6721\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1355"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Vary": [
+ "Accept-Encoding"
+ ],
+ "x-ms-request-id": [
+ "westus:4c760f26-5fdd-44e4-8924-aeedd3650d4e"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1196"
+ ],
+ "x-ms-correlation-request-id": [
+ "3b0994fb-b7a0-499c-bbf7-5398f409c56a"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221617Z:3b0994fb-b7a0-499c-bbf7-5398f409c56a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:16:16 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk2543/providers/Microsoft.Logic/workflows/onesdk6721?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazI1NDMvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrNjcyMT9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"state\": \"Enabled\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk2543/providers/Microsoft.Web/serverfarms/StandardServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"https://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 \"destinationUri\": {\r\n \"defaultValue\": \"http://tempuri.org\",\r\n \"type\": \"String\"\r\n }\r\n },\r\n \"triggers\": {},\r\n \"actions\": {\r\n \"http\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"POST\",\r\n \"uri\": \"@parameters('destinationUri')\",\r\n \"body\": \"Test\"\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {\r\n \"destinationUri\": {\r\n \"value\": \"http://requestb.in/1kj7g8e1\"\r\n }\r\n }\r\n }\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "1179"
+ ],
+ "x-ms-client-request-id": [
+ "0a321723-5041-4ee7-baf0-6f22b0d3118f"
+ ],
+ "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-01-29T22:16:17.5454265Z\",\r\n \"changedTime\": \"2016-01-29T22:16:17.5459997Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587475011079737843\",\r\n \"accessEndpoint\": \"https://westus.logic.azure.com:443/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk2543/providers/Microsoft.Logic/workflows/onesdk6721\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk2543/providers/Microsoft.Web/serverfarms/StandardServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"StandardServicePlan\"\r\n }\r\n },\r\n \"definition\": {\r\n \"$schema\": \"https://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 \"destinationUri\": {\r\n \"defaultValue\": \"http://tempuri.org\",\r\n \"type\": \"String\"\r\n }\r\n },\r\n \"triggers\": {},\r\n \"actions\": {\r\n \"http\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"POST\",\r\n \"uri\": \"@parameters('destinationUri')\",\r\n \"body\": \"Test\"\r\n },\r\n \"conditions\": []\r\n }\r\n },\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {\r\n \"destinationUri\": {\r\n \"value\": \"http://requestb.in/1kj7g8e1\"\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk2543/providers/Microsoft.Logic/workflows/onesdk6721\",\r\n \"name\": \"onesdk6721\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"westus\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1355"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Vary": [
+ "Accept-Encoding"
+ ],
+ "x-ms-request-id": [
+ "westus:a4a3871d-6913-4049-909b-0fa289d05613"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1195"
+ ],
+ "x-ms-correlation-request-id": [
+ "2498c6c8-c5d5-4d2a-8af0-f853cc77c995"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221617Z:2498c6c8-c5d5-4d2a-8af0-f853cc77c995"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:16:16 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk2543/providers/Microsoft.Logic/workflows/82D2D842-C312-445C-8A4D-E3EE9542436D?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazI1NDMvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3MvODJEMkQ4NDItQzMxMi00NDVDLThBNEQtRTNFRTk1NDI0MzZEP2FwaS12ZXJzaW9uPTIwMTUtMDItMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "9b486259-2abd-4713-a8e4-43d8a0327f17"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Logic/workflows/82D2D842-C312-445C-8A4D-E3EE9542436D' under resource group 'onesdk2543' was not found.\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "176"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-request-id": [
+ "3926b713-fe3f-4b90-8db7-ee479c70d348"
+ ],
+ "x-ms-correlation-request-id": [
+ "3926b713-fe3f-4b90-8db7-ee479c70d348"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T221617Z:3926b713-fe3f-4b90-8db7-ee479c70d348"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:16:17 GMT"
+ ]
+ },
+ "StatusCode": 404
+ }
+ ],
+ "Names": {
+ "Test-UpdateLogicApp": [
+ "onesdk2543",
+ "onesdk6721"
+ ]
+ },
+ "Variables": {
+ "SubscriptionId": "57b7034d-72d4-433d-ace2-a7460aed6a99"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp.Test/SessionRecords/Microsoft.Azure.Commands.LogicApp.Test.ScenarioTests.WorkflowTriggerTests/TestGetAzureLogicAppTrigger.json b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/SessionRecords/Microsoft.Azure.Commands.LogicApp.Test.ScenarioTests.WorkflowTriggerTests/TestGetAzureLogicAppTrigger.json
new file mode 100644
index 000000000000..7256504f9c8e
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/SessionRecords/Microsoft.Azure.Commands.LogicApp.Test.ScenarioTests.WorkflowTriggerTests/TestGetAzureLogicAppTrigger.json
@@ -0,0 +1,460 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk7383?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlZ3JvdXBzL29uZXNkazczODM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "HEAD",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "102"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14968"
+ ],
+ "x-ms-request-id": [
+ "8b2eb4db-6481-419a-9adf-3564da995947"
+ ],
+ "x-ms-correlation-request-id": [
+ "8b2eb4db-6481-419a-9adf-3564da995947"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T222233Z:8b2eb4db-6481-419a-9adf-3564da995947"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:22:32 GMT"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk7383?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlZ3JvdXBzL29uZXNkazczODM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"West US\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "29"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk7383\",\r\n \"name\": \"onesdk7383\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "173"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1194"
+ ],
+ "x-ms-request-id": [
+ "bc0290ab-6f19-49b2-8601-248fd93a901a"
+ ],
+ "x-ms-correlation-request-id": [
+ "bc0290ab-6f19-49b2-8601-248fd93a901a"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T222233Z:bc0290ab-6f19-49b2-8601-248fd93a901a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:22:33 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk7383/resources?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazczODMvcmVzb3VyY2VzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.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": [
+ "14967"
+ ],
+ "x-ms-request-id": [
+ "2fe64337-addc-408f-be2c-22c0e458f650"
+ ],
+ "x-ms-correlation-request-id": [
+ "2fe64337-addc-408f-be2c-22c0e458f650"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T222233Z:2fe64337-addc-408f-be2c-22c0e458f650"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:22:33 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk7383/providers/Microsoft.Web/serverfarms/StandardServicePlan?api-version=2015-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazczODMvcHJvdmlkZXJzL01pY3Jvc29mdC5XZWIvc2VydmVyZmFybXMvU3RhbmRhcmRTZXJ2aWNlUGxhbj9hcGktdmVyc2lvbj0yMDE1LTA4LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "4e87c122-fcfb-4095-92e8-cfea9e32c7be"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.WebSites.WebSiteManagementClient/0.9.0.0"
+ ],
+ "Accept": [
+ "application/json"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk7383/providers/Microsoft.Web/serverfarms/StandardServicePlan\",\r\n \"name\": \"StandardServicePlan\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"West US\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"serverFarmId\": 0,\r\n \"name\": \"StandardServicePlan\",\r\n \"workerSize\": 0,\r\n \"workerSizeId\": 0,\r\n \"numberOfWorkers\": 1,\r\n \"currentWorkerSize\": 0,\r\n \"currentWorkerSizeId\": 0,\r\n \"currentNumberOfWorkers\": 1,\r\n \"status\": 0,\r\n \"webSpace\": \"onesdk7383-WestUSwebspace\",\r\n \"subscription\": \"57b7034d-72d4-433d-ace2-a7460aed6a99\",\r\n \"adminSiteName\": null,\r\n \"hostingEnvironment\": null,\r\n \"hostingEnvironmentProfile\": null,\r\n \"maximumNumberOfWorkers\": 10,\r\n \"planName\": \"VirtualDedicatedPlan\",\r\n \"adminRuntimeSiteName\": null,\r\n \"computeMode\": 0,\r\n \"siteMode\": null,\r\n \"geoRegion\": \"West US\",\r\n \"perSiteScaling\": false,\r\n \"numberOfSites\": 0,\r\n \"hostingEnvironmentId\": null,\r\n \"tags\": null,\r\n \"kind\": null,\r\n \"resourceGroup\": \"onesdk7383\"\r\n },\r\n \"sku\": {\r\n \"name\": \"S1\",\r\n \"tier\": \"Standard\",\r\n \"size\": \"S1\",\r\n \"family\": \"S\",\r\n \"capacity\": 1\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "951"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "de2d98a9-52f9-43ba-8b02-31fe2f299270"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14912"
+ ],
+ "x-ms-correlation-request-id": [
+ "b88ff123-b287-4d1c-b16f-a9019d952ddb"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T222240Z:b88ff123-b287-4d1c-b16f-a9019d952ddb"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:22:40 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.0"
+ ],
+ "X-AspNet-Version": [
+ "4.0.30319"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk7383/providers/Microsoft.Logic/workflows/onesdk4652?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazczODMvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrNDY1Mj9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "9c3997e6-cbf0-43e3-8f20-f25274b3d1bc"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Logic/workflows/onesdk4652' under resource group 'onesdk7383' was not found.\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "150"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-request-id": [
+ "dd64aae2-b249-40c9-a544-1e77ee30cc16"
+ ],
+ "x-ms-correlation-request-id": [
+ "dd64aae2-b249-40c9-a544-1e77ee30cc16"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T222241Z:dd64aae2-b249-40c9-a544-1e77ee30cc16"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:22:41 GMT"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk7383/providers/Microsoft.Logic/workflows/onesdk4652?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazczODMvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrNDY1Mj9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"state\": \"Enabled\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk7383/providers/Microsoft.Web/serverfarms/StandardServicePlan\"\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\": false,\r\n \"type\": \"bool\"\r\n }\r\n },\r\n \"triggers\": {\r\n \"httpTrigger\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"GET\",\r\n \"uri\": \"http://www.bing.com\"\r\n },\r\n \"recurrence\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\r\n \"conditions\": [\r\n {\r\n \"expression\": \"@bool('true')\"\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n },\r\n \"http1\": {\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n }\r\n },\r\n \"outputs\": {\r\n \"output1\": {\r\n \"type\": \"string\",\r\n \"value\": \"true\"\r\n }\r\n }\r\n }\r\n }\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "1774"
+ ],
+ "x-ms-client-request-id": [
+ "da2e950f-781d-4011-9c7a-0850243ff6b5"
+ ],
+ "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-01-29T22:22:41.8335464Z\",\r\n \"changedTime\": \"2016-01-29T22:22:41.8335464Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587475007237796771\",\r\n \"accessEndpoint\": \"https://westus.logic.azure.com:443/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk7383/providers/Microsoft.Logic/workflows/onesdk4652\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk7383/providers/Microsoft.Web/serverfarms/StandardServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"StandardServicePlan\"\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\": false,\r\n \"type\": \"Bool\"\r\n }\r\n },\r\n \"triggers\": {\r\n \"httpTrigger\": {\r\n \"recurrence\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\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 \"expression\": \"@bool('true')\"\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n },\r\n \"http1\": {\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n }\r\n },\r\n \"outputs\": {\r\n \"output1\": {\r\n \"type\": \"String\",\r\n \"value\": \"true\"\r\n }\r\n }\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk7383/providers/Microsoft.Logic/workflows/onesdk4652\",\r\n \"name\": \"onesdk4652\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"West US\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1576"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "westus:b296aeb8-c999-4b76-8b21-945ee275994f"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "x-ms-correlation-request-id": [
+ "e1a648ff-283b-49f3-98bc-c6b56237c694"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T222242Z:e1a648ff-283b-49f3-98bc-c6b56237c694"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:22:42 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk7383/providers/Microsoft.Logic/workflows/onesdk4652/triggers/?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazczODMvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrNDY1Mi90cmlnZ2Vycy8/YXBpLXZlcnNpb249MjAxNS0wMi0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "fcaee6fb-8cd1-47be-905b-f80b9d10d0c2"
+ ],
+ "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-01-29T22:22:41.8335464Z\",\r\n \"changedTime\": \"2016-01-29T22:22:41.8342765Z\",\r\n \"state\": \"Enabled\",\r\n \"workflow\": {\r\n \"name\": \"onesdk4652/08587475007237796771\",\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk7383/providers/Microsoft.Logic/workflows/onesdk4652/versions/08587475007237796771\",\r\n \"type\": \"Microsoft.Logic/workflows/versions\"\r\n }\r\n },\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk7383/providers/Microsoft.Logic/workflows/onesdk4652/triggers/httpTrigger\",\r\n \"name\": \"httpTrigger\",\r\n \"type\": \"Microsoft.Logic/workflows/triggers\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "645"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Vary": [
+ "Accept-Encoding"
+ ],
+ "x-ms-request-id": [
+ "westus:2ea9f579-81b2-46a3-9291-070c7ef45a92"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14921"
+ ],
+ "x-ms-correlation-request-id": [
+ "07115d95-7e24-4b65-8eb4-787f6bdf0f6c"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T222242Z:07115d95-7e24-4b65-8eb4-787f6bdf0f6c"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:22:42 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk7383/providers/Microsoft.Logic/workflows/onesdk4652/triggers/httpTrigger?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazczODMvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrNDY1Mi90cmlnZ2Vycy9odHRwVHJpZ2dlcj9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "5597fc6c-dcab-4219-a00c-7eafd27cae4a"
+ ],
+ "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-01-29T22:22:41.8335464Z\",\r\n \"changedTime\": \"2016-01-29T22:22:41.8342765Z\",\r\n \"state\": \"Enabled\",\r\n \"workflow\": {\r\n \"name\": \"onesdk4652/08587475007237796771\",\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk7383/providers/Microsoft.Logic/workflows/onesdk4652/versions/08587475007237796771\",\r\n \"type\": \"Microsoft.Logic/workflows/versions\"\r\n }\r\n },\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk7383/providers/Microsoft.Logic/workflows/onesdk4652/triggers/httpTrigger\",\r\n \"name\": \"httpTrigger\",\r\n \"type\": \"Microsoft.Logic/workflows/triggers\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "633"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Vary": [
+ "Accept-Encoding"
+ ],
+ "x-ms-request-id": [
+ "westus:47b94ec9-fa49-43de-9ffe-5f7879e0e999"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14920"
+ ],
+ "x-ms-correlation-request-id": [
+ "19d659c2-0d22-40a8-bc73-d21d38eef0da"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T222242Z:19d659c2-0d22-40a8-bc73-d21d38eef0da"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:22:42 GMT"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {
+ "Test-GetAzureLogicAppTrigger": [
+ "onesdk7383",
+ "onesdk4652"
+ ]
+ },
+ "Variables": {
+ "SubscriptionId": "57b7034d-72d4-433d-ace2-a7460aed6a99"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp.Test/SessionRecords/Microsoft.Azure.Commands.LogicApp.Test.ScenarioTests.WorkflowTriggerTests/TestGetAzureLogicAppTriggerHistory.json b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/SessionRecords/Microsoft.Azure.Commands.LogicApp.Test.ScenarioTests.WorkflowTriggerTests/TestGetAzureLogicAppTriggerHistory.json
new file mode 100644
index 000000000000..98b34f9efcd7
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/SessionRecords/Microsoft.Azure.Commands.LogicApp.Test.ScenarioTests.WorkflowTriggerTests/TestGetAzureLogicAppTriggerHistory.json
@@ -0,0 +1,853 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk1136?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlZ3JvdXBzL29uZXNkazExMzY/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "HEAD",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "102"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14963"
+ ],
+ "x-ms-request-id": [
+ "17f48365-690a-4a98-9ae8-29daf51cb1f3"
+ ],
+ "x-ms-correlation-request-id": [
+ "17f48365-690a-4a98-9ae8-29daf51cb1f3"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T222306Z:17f48365-690a-4a98-9ae8-29daf51cb1f3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:23:05 GMT"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk1136?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlZ3JvdXBzL29uZXNkazExMzY/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"West US\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "29"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk1136\",\r\n \"name\": \"onesdk1136\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "173"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1197"
+ ],
+ "x-ms-request-id": [
+ "130d7394-29c3-40e4-b733-3027305da55d"
+ ],
+ "x-ms-correlation-request-id": [
+ "130d7394-29c3-40e4-b733-3027305da55d"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T222307Z:130d7394-29c3-40e4-b733-3027305da55d"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:23:07 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk1136/resources?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazExMzYvcmVzb3VyY2VzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.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": [
+ "14962"
+ ],
+ "x-ms-request-id": [
+ "e20c3495-432b-4dd3-8fe1-df6bf8162133"
+ ],
+ "x-ms-correlation-request-id": [
+ "e20c3495-432b-4dd3-8fe1-df6bf8162133"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T222307Z:e20c3495-432b-4dd3-8fe1-df6bf8162133"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:23:07 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk1136/providers/Microsoft.Web/serverfarms/StandardServicePlan?api-version=2015-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazExMzYvcHJvdmlkZXJzL01pY3Jvc29mdC5XZWIvc2VydmVyZmFybXMvU3RhbmRhcmRTZXJ2aWNlUGxhbj9hcGktdmVyc2lvbj0yMDE1LTA4LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "97c95337-b01d-45cb-97fc-2b603c343998"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.WebSites.WebSiteManagementClient/0.9.0.0"
+ ],
+ "Accept": [
+ "application/json"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk1136/providers/Microsoft.Web/serverfarms/StandardServicePlan\",\r\n \"name\": \"StandardServicePlan\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"West US\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"serverFarmId\": 0,\r\n \"name\": \"StandardServicePlan\",\r\n \"workerSize\": 0,\r\n \"workerSizeId\": 0,\r\n \"numberOfWorkers\": 1,\r\n \"currentWorkerSize\": 0,\r\n \"currentWorkerSizeId\": 0,\r\n \"currentNumberOfWorkers\": 1,\r\n \"status\": 0,\r\n \"webSpace\": \"onesdk1136-WestUSwebspace\",\r\n \"subscription\": \"57b7034d-72d4-433d-ace2-a7460aed6a99\",\r\n \"adminSiteName\": null,\r\n \"hostingEnvironment\": null,\r\n \"hostingEnvironmentProfile\": null,\r\n \"maximumNumberOfWorkers\": 10,\r\n \"planName\": \"VirtualDedicatedPlan\",\r\n \"adminRuntimeSiteName\": null,\r\n \"computeMode\": 0,\r\n \"siteMode\": null,\r\n \"geoRegion\": \"West US\",\r\n \"perSiteScaling\": false,\r\n \"numberOfSites\": 0,\r\n \"hostingEnvironmentId\": null,\r\n \"tags\": null,\r\n \"kind\": null,\r\n \"resourceGroup\": \"onesdk1136\"\r\n },\r\n \"sku\": {\r\n \"name\": \"S1\",\r\n \"tier\": \"Standard\",\r\n \"size\": \"S1\",\r\n \"family\": \"S\",\r\n \"capacity\": 1\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "951"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "1a896d8b-a9f4-4db3-8599-4e5a87360817"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14923"
+ ],
+ "x-ms-correlation-request-id": [
+ "7712a727-6557-4413-9a33-d89967ef1f0f"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T222314Z:7712a727-6557-4413-9a33-d89967ef1f0f"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:23:13 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.0"
+ ],
+ "X-AspNet-Version": [
+ "4.0.30319"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk1136/providers/Microsoft.Logic/workflows/onesdk2291?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazExMzYvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrMjI5MT9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "25bc462d-528f-4283-86e6-5c04ab65f835"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Logic/workflows/onesdk2291' under resource group 'onesdk1136' was not found.\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "150"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-request-id": [
+ "e527c38a-c7c3-4c53-899d-41a1cdf60431"
+ ],
+ "x-ms-correlation-request-id": [
+ "e527c38a-c7c3-4c53-899d-41a1cdf60431"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T222316Z:e527c38a-c7c3-4c53-899d-41a1cdf60431"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:23:16 GMT"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk1136/providers/Microsoft.Logic/workflows/onesdk2291?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazExMzYvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrMjI5MT9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "df55c753-0800-45df-b6a3-23994b20cae1"
+ ],
+ "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-01-29T22:23:15.3997178Z\",\r\n \"changedTime\": \"2016-01-29T22:23:15.4005194Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587475006901452942\",\r\n \"accessEndpoint\": \"https://westus.logic.azure.com:443/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk1136/providers/Microsoft.Logic/workflows/onesdk2291\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk1136/providers/Microsoft.Web/serverfarms/StandardServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"StandardServicePlan\"\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\": false,\r\n \"type\": \"Bool\"\r\n }\r\n },\r\n \"triggers\": {\r\n \"httpTrigger\": {\r\n \"recurrence\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\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 \"expression\": \"@bool('true')\"\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n },\r\n \"http1\": {\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n }\r\n },\r\n \"outputs\": {\r\n \"output1\": {\r\n \"type\": \"String\",\r\n \"value\": \"true\"\r\n }\r\n }\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk1136/providers/Microsoft.Logic/workflows/onesdk2291\",\r\n \"name\": \"onesdk2291\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"West US\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1576"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Vary": [
+ "Accept-Encoding"
+ ],
+ "x-ms-request-id": [
+ "westus:03d1a28a-9434-4404-af69-4695efa25877"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14955"
+ ],
+ "x-ms-correlation-request-id": [
+ "ba6e0c76-7733-461c-ba7e-a68476f9dc85"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T222319Z:ba6e0c76-7733-461c-ba7e-a68476f9dc85"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:23:19 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk1136/providers/Microsoft.Logic/workflows/onesdk2291?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazExMzYvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrMjI5MT9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "e200c77d-c833-4ea6-9d8c-5c6c206ee3ac"
+ ],
+ "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-01-29T22:23:15.3997178Z\",\r\n \"changedTime\": \"2016-01-29T22:23:15.4005194Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587475006901452942\",\r\n \"accessEndpoint\": \"https://westus.logic.azure.com:443/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk1136/providers/Microsoft.Logic/workflows/onesdk2291\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk1136/providers/Microsoft.Web/serverfarms/StandardServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"StandardServicePlan\"\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\": false,\r\n \"type\": \"Bool\"\r\n }\r\n },\r\n \"triggers\": {\r\n \"httpTrigger\": {\r\n \"recurrence\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\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 \"expression\": \"@bool('true')\"\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n },\r\n \"http1\": {\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n }\r\n },\r\n \"outputs\": {\r\n \"output1\": {\r\n \"type\": \"String\",\r\n \"value\": \"true\"\r\n }\r\n }\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk1136/providers/Microsoft.Logic/workflows/onesdk2291\",\r\n \"name\": \"onesdk2291\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"West US\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1576"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Vary": [
+ "Accept-Encoding"
+ ],
+ "x-ms-request-id": [
+ "westus:7a1e2203-eeec-44e4-b237-2dc1721cdfdf"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14954"
+ ],
+ "x-ms-correlation-request-id": [
+ "1943ffc0-46be-4bc6-b85d-0fb664d37af5"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T222321Z:1943ffc0-46be-4bc6-b85d-0fb664d37af5"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:23:21 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk1136/providers/Microsoft.Logic/workflows/onesdk2291?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazExMzYvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrMjI5MT9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "03dd560f-df8a-4901-a2bb-96a7cbb6d8bc"
+ ],
+ "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-01-29T22:23:15.3997178Z\",\r\n \"changedTime\": \"2016-01-29T22:23:15.4005194Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587475006901452942\",\r\n \"accessEndpoint\": \"https://westus.logic.azure.com:443/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk1136/providers/Microsoft.Logic/workflows/onesdk2291\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk1136/providers/Microsoft.Web/serverfarms/StandardServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"StandardServicePlan\"\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\": false,\r\n \"type\": \"Bool\"\r\n }\r\n },\r\n \"triggers\": {\r\n \"httpTrigger\": {\r\n \"recurrence\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\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 \"expression\": \"@bool('true')\"\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n },\r\n \"http1\": {\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n }\r\n },\r\n \"outputs\": {\r\n \"output1\": {\r\n \"type\": \"String\",\r\n \"value\": \"true\"\r\n }\r\n }\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk1136/providers/Microsoft.Logic/workflows/onesdk2291\",\r\n \"name\": \"onesdk2291\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"West US\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1576"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Vary": [
+ "Accept-Encoding"
+ ],
+ "x-ms-request-id": [
+ "westus:3aa462eb-ca21-4519-b1a0-aa40520a5b9d"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14953"
+ ],
+ "x-ms-correlation-request-id": [
+ "bd6e9a1e-de28-45ae-ae0c-d92d9aea3153"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T222323Z:bd6e9a1e-de28-45ae-ae0c-d92d9aea3153"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:23:23 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk1136/providers/Microsoft.Logic/workflows/onesdk2291?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazExMzYvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrMjI5MT9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "b7c9fe4c-302f-488e-9c12-3b07361aaa79"
+ ],
+ "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-01-29T22:23:15.3997178Z\",\r\n \"changedTime\": \"2016-01-29T22:23:15.4005194Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587475006901452942\",\r\n \"accessEndpoint\": \"https://westus.logic.azure.com:443/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk1136/providers/Microsoft.Logic/workflows/onesdk2291\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk1136/providers/Microsoft.Web/serverfarms/StandardServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"StandardServicePlan\"\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\": false,\r\n \"type\": \"Bool\"\r\n }\r\n },\r\n \"triggers\": {\r\n \"httpTrigger\": {\r\n \"recurrence\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\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 \"expression\": \"@bool('true')\"\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n },\r\n \"http1\": {\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n }\r\n },\r\n \"outputs\": {\r\n \"output1\": {\r\n \"type\": \"String\",\r\n \"value\": \"true\"\r\n }\r\n }\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk1136/providers/Microsoft.Logic/workflows/onesdk2291\",\r\n \"name\": \"onesdk2291\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"West US\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1576"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Vary": [
+ "Accept-Encoding"
+ ],
+ "x-ms-request-id": [
+ "westus:349184ef-3f59-425f-ac5e-8c1dcb51e626"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14952"
+ ],
+ "x-ms-correlation-request-id": [
+ "4e2d1796-201f-46d8-b4b5-e0f45745c5fa"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T222325Z:4e2d1796-201f-46d8-b4b5-e0f45745c5fa"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:23:25 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk1136/providers/Microsoft.Logic/workflows/onesdk2291?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazExMzYvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrMjI5MT9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "470eeb7f-37ca-414c-8f25-d0a8c7ceba90"
+ ],
+ "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-01-29T22:23:15.3997178Z\",\r\n \"changedTime\": \"2016-01-29T22:23:15.4005194Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587475006901452942\",\r\n \"accessEndpoint\": \"https://westus.logic.azure.com:443/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk1136/providers/Microsoft.Logic/workflows/onesdk2291\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk1136/providers/Microsoft.Web/serverfarms/StandardServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"StandardServicePlan\"\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\": false,\r\n \"type\": \"Bool\"\r\n }\r\n },\r\n \"triggers\": {\r\n \"httpTrigger\": {\r\n \"recurrence\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\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 \"expression\": \"@bool('true')\"\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n },\r\n \"http1\": {\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n }\r\n },\r\n \"outputs\": {\r\n \"output1\": {\r\n \"type\": \"String\",\r\n \"value\": \"true\"\r\n }\r\n }\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk1136/providers/Microsoft.Logic/workflows/onesdk2291\",\r\n \"name\": \"onesdk2291\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"West US\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1576"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Vary": [
+ "Accept-Encoding"
+ ],
+ "x-ms-request-id": [
+ "westus:8c88ae87-ec8a-4e32-ab11-0f0e33cc4bb1"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14951"
+ ],
+ "x-ms-correlation-request-id": [
+ "48b7c1b2-0199-4388-8f9f-e48ec9209f60"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T222328Z:48b7c1b2-0199-4388-8f9f-e48ec9209f60"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:23:27 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk1136/providers/Microsoft.Logic/workflows/onesdk2291?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazExMzYvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrMjI5MT9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "e29c4bec-c0e7-406d-b776-a3a862eea154"
+ ],
+ "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-01-29T22:23:15.3997178Z\",\r\n \"changedTime\": \"2016-01-29T22:23:15.4005194Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587475006901452942\",\r\n \"accessEndpoint\": \"https://westus.logic.azure.com:443/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk1136/providers/Microsoft.Logic/workflows/onesdk2291\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk1136/providers/Microsoft.Web/serverfarms/StandardServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"StandardServicePlan\"\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\": false,\r\n \"type\": \"Bool\"\r\n }\r\n },\r\n \"triggers\": {\r\n \"httpTrigger\": {\r\n \"recurrence\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\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 \"expression\": \"@bool('true')\"\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n },\r\n \"http1\": {\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n }\r\n },\r\n \"outputs\": {\r\n \"output1\": {\r\n \"type\": \"String\",\r\n \"value\": \"true\"\r\n }\r\n }\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk1136/providers/Microsoft.Logic/workflows/onesdk2291\",\r\n \"name\": \"onesdk2291\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"West US\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1576"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Vary": [
+ "Accept-Encoding"
+ ],
+ "x-ms-request-id": [
+ "westus:812c2461-df45-4eee-9960-93e635ea4af5"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14950"
+ ],
+ "x-ms-correlation-request-id": [
+ "e7c70b1d-a455-4af1-98e4-6598f53fed66"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T222330Z:e7c70b1d-a455-4af1-98e4-6598f53fed66"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:23:29 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk1136/providers/Microsoft.Logic/workflows/onesdk2291?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazExMzYvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrMjI5MT9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"state\": \"Enabled\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk1136/providers/Microsoft.Web/serverfarms/StandardServicePlan\"\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\": false,\r\n \"type\": \"bool\"\r\n }\r\n },\r\n \"triggers\": {\r\n \"httpTrigger\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"GET\",\r\n \"uri\": \"http://www.bing.com\"\r\n },\r\n \"recurrence\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\r\n \"conditions\": [\r\n {\r\n \"expression\": \"@bool('true')\"\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n },\r\n \"http1\": {\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n }\r\n },\r\n \"outputs\": {\r\n \"output1\": {\r\n \"type\": \"string\",\r\n \"value\": \"true\"\r\n }\r\n }\r\n }\r\n }\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "1774"
+ ],
+ "x-ms-client-request-id": [
+ "7777a8bf-2eda-4fe6-9a4a-415f5109d25c"
+ ],
+ "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-01-29T22:23:15.3997178Z\",\r\n \"changedTime\": \"2016-01-29T22:23:15.3997178Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587475006901452942\",\r\n \"accessEndpoint\": \"https://westus.logic.azure.com:443/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk1136/providers/Microsoft.Logic/workflows/onesdk2291\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk1136/providers/Microsoft.Web/serverfarms/StandardServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"StandardServicePlan\"\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\": false,\r\n \"type\": \"Bool\"\r\n }\r\n },\r\n \"triggers\": {\r\n \"httpTrigger\": {\r\n \"recurrence\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\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 \"expression\": \"@bool('true')\"\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n },\r\n \"http1\": {\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n }\r\n },\r\n \"outputs\": {\r\n \"output1\": {\r\n \"type\": \"String\",\r\n \"value\": \"true\"\r\n }\r\n }\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk1136/providers/Microsoft.Logic/workflows/onesdk2291\",\r\n \"name\": \"onesdk2291\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"West US\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1576"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "westus:d53a4c5f-8e72-4ea7-b1ac-36ff18ebe1da"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1192"
+ ],
+ "x-ms-correlation-request-id": [
+ "a5751e8a-9404-4237-ab31-7088f7db3d3b"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T222317Z:a5751e8a-9404-4237-ab31-7088f7db3d3b"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:23:17 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk1136/providers/Microsoft.Logic/workflows/onesdk2291/triggers/httpTrigger/run?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazExMzYvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrMjI5MS90cmlnZ2Vycy9odHRwVHJpZ2dlci9ydW4/YXBpLXZlcnNpb249MjAxNS0wMi0wMS1wcmV2aWV3",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "7ccbcfd9-3308-4621-8322-4433d9f7fc5b"
+ ],
+ "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:fa85c357-a460-48e6-bd15-4dff5a0b9097"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1191"
+ ],
+ "x-ms-correlation-request-id": [
+ "9062f712-a71e-41cb-9ca0-4e33c4cd778f"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T222330Z:9062f712-a71e-41cb-9ca0-4e33c4cd778f"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:23:29 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk1136/providers/Microsoft.Logic/workflows/onesdk2291/triggers/httpTrigger/histories?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazExMzYvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrMjI5MS90cmlnZ2Vycy9odHRwVHJpZ2dlci9oaXN0b3JpZXM/YXBpLXZlcnNpb249MjAxNS0wMi0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "dfc743fb-a448-4aba-b546-18a87bbaf073"
+ ],
+ "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-01-29T22:23:16.4256481Z\",\r\n \"endTime\": \"2016-01-29T22:23:17.2538095Z\",\r\n \"status\": \"Succeeded\",\r\n \"code\": \"OK\",\r\n \"trackingId\": \"3c82d6cc-c215-4916-893f-99454e6825f6\",\r\n \"inputsLink\": {\r\n \"uri\": \"https://flowprodcu06by01.blob.core.windows.net/flowe5d13be57f1442069aef088f54300c0a20160129t000000zcontent/31EB2_bff8914bff1d417190f8331d0d7ecace_httpTrigger:5Finputs:2Ejson?sv=2014-02-14&sr=b&sig=EABAv2G%2FiJgRc0QN4G97gXtJ8HEGPLH50Db%2Fnbp7O00%3D&se=2016-01-30T02%3A23%3A28Z&sp=r\",\r\n \"contentVersion\": \"\\\"0x8D328FAC8E4052A\\\"\",\r\n \"contentSize\": 45,\r\n \"contentHash\": {\r\n \"algorithm\": \"md5\",\r\n \"value\": \"Q+Xqe9OStPsuFRv/FtPA3Q==\"\r\n }\r\n },\r\n \"outputsLink\": {\r\n \"uri\": \"https://flowprodcu06by01.blob.core.windows.net/flowe5d13be57f1442069aef088f54300c0a20160129t000000zcontent/465BD_0143390094f34c839cbeec61bd2dd65a_httpTrigger:5Foutputs:2Ejson?sv=2014-02-14&sr=b&sig=LN5lQmilxdHEO4YbJ4YmDn%2FjJKlpFKuGJBZ%2B3OernJY%3D&se=2016-01-30T02%3A23%3A28Z&sp=r\",\r\n \"contentVersion\": \"\\\"0x8D328FAC8EA9671\\\"\",\r\n \"contentSize\": 86273,\r\n \"contentHash\": {\r\n \"algorithm\": \"md5\",\r\n \"value\": \"ejumRv+f0ccgMiQsBfjYDQ==\"\r\n }\r\n },\r\n \"fired\": true,\r\n \"run\": {\r\n \"name\": \"08587475006890505562\",\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk1136/providers/Microsoft.Logic/workflows/onesdk2291/runs/08587475006890505562\",\r\n \"type\": \"Microsoft.Logic/workflows/runs\"\r\n }\r\n },\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk1136/providers/Microsoft.Logic/workflows/onesdk2291/triggers/httpTrigger/histories/08587475006890505562\",\r\n \"name\": \"08587475006890505562\",\r\n \"type\": \"Microsoft.Logic/workflows/triggers/histories\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1581"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Vary": [
+ "Accept-Encoding"
+ ],
+ "x-ms-request-id": [
+ "westus:92c7edcb-a211-45cf-8f85-6c95b26d58e7"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14949"
+ ],
+ "x-ms-correlation-request-id": [
+ "04de1400-0978-4112-94ce-ad7c14a052b0"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T222330Z:04de1400-0978-4112-94ce-ad7c14a052b0"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:23:29 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk1136/providers/Microsoft.Logic/workflows/onesdk2291/triggers/httpTrigger/histories/08587475006890505562?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazExMzYvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrMjI5MS90cmlnZ2Vycy9odHRwVHJpZ2dlci9oaXN0b3JpZXMvMDg1ODc0NzUwMDY4OTA1MDU1NjI/YXBpLXZlcnNpb249MjAxNS0wMi0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "96bc5c10-16d1-484d-a383-ad1286d2a343"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"startTime\": \"2016-01-29T22:23:16.4256481Z\",\r\n \"endTime\": \"2016-01-29T22:23:17.2538095Z\",\r\n \"status\": \"Succeeded\",\r\n \"code\": \"OK\",\r\n \"trackingId\": \"3c82d6cc-c215-4916-893f-99454e6825f6\",\r\n \"inputsLink\": {\r\n \"uri\": \"https://flowprodcu06by01.blob.core.windows.net/flowe5d13be57f1442069aef088f54300c0a20160129t000000zcontent/31EB2_bff8914bff1d417190f8331d0d7ecace_httpTrigger:5Finputs:2Ejson?sv=2014-02-14&sr=b&sig=EABAv2G%2FiJgRc0QN4G97gXtJ8HEGPLH50Db%2Fnbp7O00%3D&se=2016-01-30T02%3A23%3A28Z&sp=r\",\r\n \"contentVersion\": \"\\\"0x8D328FAC8E4052A\\\"\",\r\n \"contentSize\": 45,\r\n \"contentHash\": {\r\n \"algorithm\": \"md5\",\r\n \"value\": \"Q+Xqe9OStPsuFRv/FtPA3Q==\"\r\n }\r\n },\r\n \"outputsLink\": {\r\n \"uri\": \"https://flowprodcu06by01.blob.core.windows.net/flowe5d13be57f1442069aef088f54300c0a20160129t000000zcontent/465BD_0143390094f34c839cbeec61bd2dd65a_httpTrigger:5Foutputs:2Ejson?sv=2014-02-14&sr=b&sig=LN5lQmilxdHEO4YbJ4YmDn%2FjJKlpFKuGJBZ%2B3OernJY%3D&se=2016-01-30T02%3A23%3A28Z&sp=r\",\r\n \"contentVersion\": \"\\\"0x8D328FAC8EA9671\\\"\",\r\n \"contentSize\": 86273,\r\n \"contentHash\": {\r\n \"algorithm\": \"md5\",\r\n \"value\": \"ejumRv+f0ccgMiQsBfjYDQ==\"\r\n }\r\n },\r\n \"fired\": true,\r\n \"run\": {\r\n \"name\": \"08587475006890505562\",\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk1136/providers/Microsoft.Logic/workflows/onesdk2291/runs/08587475006890505562\",\r\n \"type\": \"Microsoft.Logic/workflows/runs\"\r\n }\r\n },\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk1136/providers/Microsoft.Logic/workflows/onesdk2291/triggers/httpTrigger/histories/08587475006890505562\",\r\n \"name\": \"08587475006890505562\",\r\n \"type\": \"Microsoft.Logic/workflows/triggers/histories\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1569"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Vary": [
+ "Accept-Encoding"
+ ],
+ "x-ms-request-id": [
+ "westus:e1de6bbd-af4d-43e3-a3b8-472cf9d016e9"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14948"
+ ],
+ "x-ms-correlation-request-id": [
+ "d1b5647e-fe30-4f01-a8eb-4a7df4a785ec"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T222330Z:d1b5647e-fe30-4f01-a8eb-4a7df4a785ec"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:23:29 GMT"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {
+ "Test-GetAzureLogicAppTriggerHistory": [
+ "onesdk1136",
+ "onesdk2291"
+ ]
+ },
+ "Variables": {
+ "SubscriptionId": "57b7034d-72d4-433d-ace2-a7460aed6a99"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp.Test/SessionRecords/Microsoft.Azure.Commands.LogicApp.Test.ScenarioTests.WorkflowTriggerTests/TestStartAzureLogicAppTrigger.json b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/SessionRecords/Microsoft.Azure.Commands.LogicApp.Test.ScenarioTests.WorkflowTriggerTests/TestStartAzureLogicAppTrigger.json
new file mode 100644
index 000000000000..364d9c7f9835
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/SessionRecords/Microsoft.Azure.Commands.LogicApp.Test.ScenarioTests.WorkflowTriggerTests/TestStartAzureLogicAppTrigger.json
@@ -0,0 +1,904 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk4550?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlZ3JvdXBzL29uZXNkazQ1NTA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "HEAD",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "102"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14940"
+ ],
+ "x-ms-request-id": [
+ "67c02a84-5259-4f19-9849-4e089f8f1656"
+ ],
+ "x-ms-correlation-request-id": [
+ "67c02a84-5259-4f19-9849-4e089f8f1656"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T222134Z:67c02a84-5259-4f19-9849-4e089f8f1656"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:21:33 GMT"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk4550?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlZ3JvdXBzL29uZXNkazQ1NTA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"West US\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "29"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk4550\",\r\n \"name\": \"onesdk4550\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "173"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1198"
+ ],
+ "x-ms-request-id": [
+ "eef6b3e4-0ea2-4584-8bf3-9581b71df969"
+ ],
+ "x-ms-correlation-request-id": [
+ "eef6b3e4-0ea2-4584-8bf3-9581b71df969"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T222135Z:eef6b3e4-0ea2-4584-8bf3-9581b71df969"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:21:34 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk4550/resources?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazQ1NTAvcmVzb3VyY2VzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.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": [
+ "14939"
+ ],
+ "x-ms-request-id": [
+ "311359da-e1bc-439d-b170-cedcd205b4bc"
+ ],
+ "x-ms-correlation-request-id": [
+ "311359da-e1bc-439d-b170-cedcd205b4bc"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T222135Z:311359da-e1bc-439d-b170-cedcd205b4bc"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:21:34 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk4550/providers/Microsoft.Web/serverfarms/StandardServicePlan?api-version=2015-08-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazQ1NTAvcHJvdmlkZXJzL01pY3Jvc29mdC5XZWIvc2VydmVyZmFybXMvU3RhbmRhcmRTZXJ2aWNlUGxhbj9hcGktdmVyc2lvbj0yMDE1LTA4LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "888c345b-0093-4be1-ab8e-16dcad03e833"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.WebSites.WebSiteManagementClient/0.9.0.0"
+ ],
+ "Accept": [
+ "application/json"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk4550/providers/Microsoft.Web/serverfarms/StandardServicePlan\",\r\n \"name\": \"StandardServicePlan\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"West US\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"serverFarmId\": 0,\r\n \"name\": \"StandardServicePlan\",\r\n \"workerSize\": 0,\r\n \"workerSizeId\": 0,\r\n \"numberOfWorkers\": 1,\r\n \"currentWorkerSize\": 0,\r\n \"currentWorkerSizeId\": 0,\r\n \"currentNumberOfWorkers\": 1,\r\n \"status\": 0,\r\n \"webSpace\": \"onesdk4550-WestUSwebspace\",\r\n \"subscription\": \"57b7034d-72d4-433d-ace2-a7460aed6a99\",\r\n \"adminSiteName\": null,\r\n \"hostingEnvironment\": null,\r\n \"hostingEnvironmentProfile\": null,\r\n \"maximumNumberOfWorkers\": 10,\r\n \"planName\": \"VirtualDedicatedPlan\",\r\n \"adminRuntimeSiteName\": null,\r\n \"computeMode\": 0,\r\n \"siteMode\": null,\r\n \"geoRegion\": \"West US\",\r\n \"perSiteScaling\": false,\r\n \"numberOfSites\": 0,\r\n \"hostingEnvironmentId\": null,\r\n \"tags\": null,\r\n \"kind\": null,\r\n \"resourceGroup\": \"onesdk4550\"\r\n },\r\n \"sku\": {\r\n \"name\": \"S1\",\r\n \"tier\": \"Standard\",\r\n \"size\": \"S1\",\r\n \"family\": \"S\",\r\n \"capacity\": 1\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "951"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "e844ae57-c252-4fc3-adbd-22cb6fb3ba9c"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14942"
+ ],
+ "x-ms-correlation-request-id": [
+ "f42816cc-e863-4532-af14-8d645f79752e"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T222150Z:f42816cc-e863-4532-af14-8d645f79752e"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:21:50 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.0"
+ ],
+ "X-AspNet-Version": [
+ "4.0.30319"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk4550/providers/Microsoft.Logic/workflows/onesdk6652?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazQ1NTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrNjY1Mj9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "189b77b6-07d3-4f7e-9396-3eeeb60fc7db"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Logic.LogicManagementClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Logic/workflows/onesdk6652' under resource group 'onesdk4550' was not found.\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "150"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-request-id": [
+ "52bc5ec4-1a31-44ea-ab2e-b19aa141429e"
+ ],
+ "x-ms-correlation-request-id": [
+ "52bc5ec4-1a31-44ea-ab2e-b19aa141429e"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T222151Z:52bc5ec4-1a31-44ea-ab2e-b19aa141429e"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:21:51 GMT"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk4550/providers/Microsoft.Logic/workflows/onesdk6652?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazQ1NTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrNjY1Mj9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "6f07e7a0-1d10-4692-9595-6dfdb23b1d85"
+ ],
+ "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-01-29T22:21:52.5246815Z\",\r\n \"changedTime\": \"2016-01-29T22:21:52.5254123Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587475007731335271\",\r\n \"accessEndpoint\": \"https://westus.logic.azure.com:443/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk4550/providers/Microsoft.Logic/workflows/onesdk6652\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk4550/providers/Microsoft.Web/serverfarms/StandardServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"StandardServicePlan\"\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\": false,\r\n \"type\": \"Bool\"\r\n }\r\n },\r\n \"triggers\": {\r\n \"httpTrigger\": {\r\n \"recurrence\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\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 \"expression\": \"@bool('true')\"\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n },\r\n \"http1\": {\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n }\r\n },\r\n \"outputs\": {\r\n \"output1\": {\r\n \"type\": \"String\",\r\n \"value\": \"true\"\r\n }\r\n }\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk4550/providers/Microsoft.Logic/workflows/onesdk6652\",\r\n \"name\": \"onesdk6652\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"West US\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1576"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Vary": [
+ "Accept-Encoding"
+ ],
+ "x-ms-request-id": [
+ "westus:b67a4d85-34b3-46e5-89ef-81da56288708"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14920"
+ ],
+ "x-ms-correlation-request-id": [
+ "92a93756-c5ea-446d-8f9b-a8afce5c4169"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T222155Z:92a93756-c5ea-446d-8f9b-a8afce5c4169"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:21:54 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk4550/providers/Microsoft.Logic/workflows/onesdk6652?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazQ1NTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrNjY1Mj9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "9ff3c59a-6c54-4ff6-989f-f0fb7c47016e"
+ ],
+ "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-01-29T22:21:52.5246815Z\",\r\n \"changedTime\": \"2016-01-29T22:21:52.5254123Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587475007731335271\",\r\n \"accessEndpoint\": \"https://westus.logic.azure.com:443/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk4550/providers/Microsoft.Logic/workflows/onesdk6652\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk4550/providers/Microsoft.Web/serverfarms/StandardServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"StandardServicePlan\"\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\": false,\r\n \"type\": \"Bool\"\r\n }\r\n },\r\n \"triggers\": {\r\n \"httpTrigger\": {\r\n \"recurrence\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\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 \"expression\": \"@bool('true')\"\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n },\r\n \"http1\": {\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n }\r\n },\r\n \"outputs\": {\r\n \"output1\": {\r\n \"type\": \"String\",\r\n \"value\": \"true\"\r\n }\r\n }\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk4550/providers/Microsoft.Logic/workflows/onesdk6652\",\r\n \"name\": \"onesdk6652\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"West US\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1576"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Vary": [
+ "Accept-Encoding"
+ ],
+ "x-ms-request-id": [
+ "westus:00235571-f606-4b9f-9da4-ca69dc5d23e2"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14919"
+ ],
+ "x-ms-correlation-request-id": [
+ "6cea6abf-4fb9-401f-a350-9f0feafe8708"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T222157Z:6cea6abf-4fb9-401f-a350-9f0feafe8708"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:21:57 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk4550/providers/Microsoft.Logic/workflows/onesdk6652?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazQ1NTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrNjY1Mj9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "06ecb49f-a5f1-4bbb-a9f8-562fecb027b2"
+ ],
+ "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-01-29T22:21:52.5246815Z\",\r\n \"changedTime\": \"2016-01-29T22:21:52.5254123Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587475007731335271\",\r\n \"accessEndpoint\": \"https://westus.logic.azure.com:443/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk4550/providers/Microsoft.Logic/workflows/onesdk6652\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk4550/providers/Microsoft.Web/serverfarms/StandardServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"StandardServicePlan\"\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\": false,\r\n \"type\": \"Bool\"\r\n }\r\n },\r\n \"triggers\": {\r\n \"httpTrigger\": {\r\n \"recurrence\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\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 \"expression\": \"@bool('true')\"\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n },\r\n \"http1\": {\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n }\r\n },\r\n \"outputs\": {\r\n \"output1\": {\r\n \"type\": \"String\",\r\n \"value\": \"true\"\r\n }\r\n }\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk4550/providers/Microsoft.Logic/workflows/onesdk6652\",\r\n \"name\": \"onesdk6652\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"West US\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1576"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Vary": [
+ "Accept-Encoding"
+ ],
+ "x-ms-request-id": [
+ "westus:62956f86-e1e9-4fe8-87dd-b58ab035e167"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14918"
+ ],
+ "x-ms-correlation-request-id": [
+ "8f0c9a75-57b8-4b81-94a0-5b2d9ad01f78"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T222159Z:8f0c9a75-57b8-4b81-94a0-5b2d9ad01f78"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:21:59 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk4550/providers/Microsoft.Logic/workflows/onesdk6652?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazQ1NTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrNjY1Mj9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "b1b49901-984c-4b39-82cd-918336a2a840"
+ ],
+ "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-01-29T22:21:52.5246815Z\",\r\n \"changedTime\": \"2016-01-29T22:21:52.5254123Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587475007731335271\",\r\n \"accessEndpoint\": \"https://westus.logic.azure.com:443/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk4550/providers/Microsoft.Logic/workflows/onesdk6652\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk4550/providers/Microsoft.Web/serverfarms/StandardServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"StandardServicePlan\"\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\": false,\r\n \"type\": \"Bool\"\r\n }\r\n },\r\n \"triggers\": {\r\n \"httpTrigger\": {\r\n \"recurrence\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\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 \"expression\": \"@bool('true')\"\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n },\r\n \"http1\": {\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n }\r\n },\r\n \"outputs\": {\r\n \"output1\": {\r\n \"type\": \"String\",\r\n \"value\": \"true\"\r\n }\r\n }\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk4550/providers/Microsoft.Logic/workflows/onesdk6652\",\r\n \"name\": \"onesdk6652\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"West US\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1576"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Vary": [
+ "Accept-Encoding"
+ ],
+ "x-ms-request-id": [
+ "westus:c5969443-76fb-475d-a666-c6262a22dd0e"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14917"
+ ],
+ "x-ms-correlation-request-id": [
+ "0427e04c-5952-429b-8bcf-033df6b527ca"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T222201Z:0427e04c-5952-429b-8bcf-033df6b527ca"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:22:01 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk4550/providers/Microsoft.Logic/workflows/onesdk6652?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazQ1NTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrNjY1Mj9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "12b5164c-4335-411a-9ac3-479fac2fad5d"
+ ],
+ "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-01-29T22:21:52.5246815Z\",\r\n \"changedTime\": \"2016-01-29T22:21:52.5254123Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587475007731335271\",\r\n \"accessEndpoint\": \"https://westus.logic.azure.com:443/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk4550/providers/Microsoft.Logic/workflows/onesdk6652\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk4550/providers/Microsoft.Web/serverfarms/StandardServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"StandardServicePlan\"\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\": false,\r\n \"type\": \"Bool\"\r\n }\r\n },\r\n \"triggers\": {\r\n \"httpTrigger\": {\r\n \"recurrence\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\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 \"expression\": \"@bool('true')\"\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n },\r\n \"http1\": {\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n }\r\n },\r\n \"outputs\": {\r\n \"output1\": {\r\n \"type\": \"String\",\r\n \"value\": \"true\"\r\n }\r\n }\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk4550/providers/Microsoft.Logic/workflows/onesdk6652\",\r\n \"name\": \"onesdk6652\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"West US\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1576"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Vary": [
+ "Accept-Encoding"
+ ],
+ "x-ms-request-id": [
+ "westus:9fb3ede1-1300-4a0e-8922-773ba634ab67"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14916"
+ ],
+ "x-ms-correlation-request-id": [
+ "f873090a-364c-44b9-a179-dcb9731564ee"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T222203Z:f873090a-364c-44b9-a179-dcb9731564ee"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:22:03 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk4550/providers/Microsoft.Logic/workflows/onesdk6652?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazQ1NTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrNjY1Mj9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "556c1f4f-bd57-41f1-b536-d9e727a9fcc8"
+ ],
+ "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-01-29T22:21:52.5246815Z\",\r\n \"changedTime\": \"2016-01-29T22:21:52.5254123Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587475007731335271\",\r\n \"accessEndpoint\": \"https://westus.logic.azure.com:443/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk4550/providers/Microsoft.Logic/workflows/onesdk6652\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk4550/providers/Microsoft.Web/serverfarms/StandardServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"StandardServicePlan\"\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\": false,\r\n \"type\": \"Bool\"\r\n }\r\n },\r\n \"triggers\": {\r\n \"httpTrigger\": {\r\n \"recurrence\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\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 \"expression\": \"@bool('true')\"\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n },\r\n \"http1\": {\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n }\r\n },\r\n \"outputs\": {\r\n \"output1\": {\r\n \"type\": \"String\",\r\n \"value\": \"true\"\r\n }\r\n }\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk4550/providers/Microsoft.Logic/workflows/onesdk6652\",\r\n \"name\": \"onesdk6652\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"West US\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1576"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Vary": [
+ "Accept-Encoding"
+ ],
+ "x-ms-request-id": [
+ "westus:cd4d1ae8-cb05-4700-ad43-90a6bd9c7ae8"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14915"
+ ],
+ "x-ms-correlation-request-id": [
+ "831a61a7-e923-4f36-8dc3-e59c3de698b0"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T222205Z:831a61a7-e923-4f36-8dc3-e59c3de698b0"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:22:05 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk4550/providers/Microsoft.Logic/workflows/onesdk6652?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazQ1NTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrNjY1Mj9hcGktdmVyc2lvbj0yMDE1LTAyLTAxLXByZXZpZXc=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"state\": \"Enabled\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk4550/providers/Microsoft.Web/serverfarms/StandardServicePlan\"\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\": false,\r\n \"type\": \"bool\"\r\n }\r\n },\r\n \"triggers\": {\r\n \"httpTrigger\": {\r\n \"type\": \"Http\",\r\n \"inputs\": {\r\n \"method\": \"GET\",\r\n \"uri\": \"http://www.bing.com\"\r\n },\r\n \"recurrence\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\r\n \"conditions\": [\r\n {\r\n \"expression\": \"@bool('true')\"\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n },\r\n \"http1\": {\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n }\r\n },\r\n \"outputs\": {\r\n \"output1\": {\r\n \"type\": \"string\",\r\n \"value\": \"true\"\r\n }\r\n }\r\n }\r\n }\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "1774"
+ ],
+ "x-ms-client-request-id": [
+ "78909276-c874-47eb-bc05-c278d9fea83b"
+ ],
+ "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-01-29T22:21:52.5246815Z\",\r\n \"changedTime\": \"2016-01-29T22:21:52.5246815Z\",\r\n \"state\": \"Enabled\",\r\n \"version\": \"08587475007731335271\",\r\n \"accessEndpoint\": \"https://westus.logic.azure.com:443/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/onesdk4550/providers/Microsoft.Logic/workflows/onesdk6652\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"plan\": {\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk4550/providers/Microsoft.Web/serverfarms/StandardServicePlan\",\r\n \"type\": \"Microsoft.Web/ServerFarms\",\r\n \"name\": \"StandardServicePlan\"\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\": false,\r\n \"type\": \"Bool\"\r\n }\r\n },\r\n \"triggers\": {\r\n \"httpTrigger\": {\r\n \"recurrence\": {\r\n \"frequency\": \"Hour\",\r\n \"interval\": 1\r\n },\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 \"expression\": \"@bool('true')\"\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n },\r\n \"http1\": {\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 \"expression\": \"@bool('true')\"\r\n }\r\n ]\r\n }\r\n },\r\n \"outputs\": {\r\n \"output1\": {\r\n \"type\": \"String\",\r\n \"value\": \"true\"\r\n }\r\n }\r\n },\r\n \"parameters\": {}\r\n },\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk4550/providers/Microsoft.Logic/workflows/onesdk6652\",\r\n \"name\": \"onesdk6652\",\r\n \"type\": \"Microsoft.Logic/workflows\",\r\n \"location\": \"West US\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1576"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "westus:56853877-7c55-4ed3-822e-650cf3ae12ca"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1197"
+ ],
+ "x-ms-correlation-request-id": [
+ "db4db9b9-6342-42a0-8616-b2599ed0403f"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T222152Z:db4db9b9-6342-42a0-8616-b2599ed0403f"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:21:52 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk4550/providers/Microsoft.Logic/workflows/onesdk6652/triggers/httpTrigger/histories?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazQ1NTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrNjY1Mi90cmlnZ2Vycy9odHRwVHJpZ2dlci9oaXN0b3JpZXM/YXBpLXZlcnNpb249MjAxNS0wMi0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "d0d1a4fb-2bd9-496f-b632-7dc127901c57"
+ ],
+ "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-01-29T22:21:54.6213542Z\",\r\n \"endTime\": \"2016-01-29T22:21:55.4261418Z\",\r\n \"status\": \"Succeeded\",\r\n \"code\": \"OK\",\r\n \"trackingId\": \"0167d5d3-3232-46ab-8e8c-74d87ea29961\",\r\n \"inputsLink\": {\r\n \"uri\": \"https://flowprodcu01by01.blob.core.windows.net/flow27e4e16512c34cb28c8d4eda3dd2fc2d20160129t000000zcontent/BB029_2973e467eb924db8885548f9ff0b2009_httpTrigger:5Finputs:2Ejson?sv=2014-02-14&sr=b&sig=pEnvCkpAl37lPpyHioDJyU92A%2FFLeFo%2BL6zLdnjkHwU%3D&se=2016-01-30T02%3A22%3A05Z&sp=r\",\r\n \"contentVersion\": \"\\\"0x8D328FA97C88925\\\"\",\r\n \"contentSize\": 45,\r\n \"contentHash\": {\r\n \"algorithm\": \"md5\",\r\n \"value\": \"Q+Xqe9OStPsuFRv/FtPA3Q==\"\r\n }\r\n },\r\n \"outputsLink\": {\r\n \"uri\": \"https://flowprodcu01by01.blob.core.windows.net/flow27e4e16512c34cb28c8d4eda3dd2fc2d20160129t000000zcontent/73BBA_1f41a8092cf141018668243c4e12d39b_httpTrigger:5Foutputs:2Ejson?sv=2014-02-14&sr=b&sig=Wmqjyi7SpgW5oWBh399SUfB%2FsnU%2BHxq8EANQLRTkMwc%3D&se=2016-01-30T02%3A22%3A05Z&sp=r\",\r\n \"contentVersion\": \"\\\"0x8D328FA97C9258E\\\"\",\r\n \"contentSize\": 86273,\r\n \"contentHash\": {\r\n \"algorithm\": \"md5\",\r\n \"value\": \"vvsqLODSQE5kt/rBJa5gMw==\"\r\n }\r\n },\r\n \"fired\": true,\r\n \"run\": {\r\n \"name\": \"08587475007708513415\",\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk4550/providers/Microsoft.Logic/workflows/onesdk6652/runs/08587475007708513415\",\r\n \"type\": \"Microsoft.Logic/workflows/runs\"\r\n }\r\n },\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk4550/providers/Microsoft.Logic/workflows/onesdk6652/triggers/httpTrigger/histories/08587475007708513415\",\r\n \"name\": \"08587475007708513415\",\r\n \"type\": \"Microsoft.Logic/workflows/triggers/histories\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1581"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Vary": [
+ "Accept-Encoding"
+ ],
+ "x-ms-request-id": [
+ "westus:21040b9b-25ed-4df6-899f-e10e7508e9f6"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14914"
+ ],
+ "x-ms-correlation-request-id": [
+ "b9f6c0fc-17e8-4749-bf18-52234e9f65fe"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T222205Z:b9f6c0fc-17e8-4749-bf18-52234e9f65fe"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:22:05 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk4550/providers/Microsoft.Logic/workflows/onesdk6652/triggers/httpTrigger/histories?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazQ1NTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrNjY1Mi90cmlnZ2Vycy9odHRwVHJpZ2dlci9oaXN0b3JpZXM/YXBpLXZlcnNpb249MjAxNS0wMi0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "bbb40027-e7b4-4230-930b-1e83c3f0026e"
+ ],
+ "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-01-29T22:22:07.3495176Z\",\r\n \"endTime\": \"2016-01-29T22:22:07.6548848Z\",\r\n \"status\": \"Succeeded\",\r\n \"code\": \"OK\",\r\n \"trackingId\": \"69bf37cd-2a96-4965-bf7d-8016867f288f\",\r\n \"inputsLink\": {\r\n \"uri\": \"https://flowprodcu01by01.blob.core.windows.net/flow27e4e16512c34cb28c8d4eda3dd2fc2d20160129t000000zcontent/2ACC4_b152543452cb4398836d965b22c2fb68_httpTrigger:5Finputs:2Ejson?sv=2014-02-14&sr=b&sig=OguQlx6xWIddU2RYoYibtdr9LFb1acjzpBjNShzCXfY%3D&se=2016-01-30T02%3A22%3A08Z&sp=r\",\r\n \"contentVersion\": \"\\\"0x8D328FA9F5BA2B2\\\"\",\r\n \"contentSize\": 45,\r\n \"contentHash\": {\r\n \"algorithm\": \"md5\",\r\n \"value\": \"Q+Xqe9OStPsuFRv/FtPA3Q==\"\r\n }\r\n },\r\n \"outputsLink\": {\r\n \"uri\": \"https://flowprodcu01by01.blob.core.windows.net/flow27e4e16512c34cb28c8d4eda3dd2fc2d20160129t000000zcontent/58B30_bfedf131282849f9a59c4b4359000e42_httpTrigger:5Foutputs:2Ejson?sv=2014-02-14&sr=b&sig=wyIDTmmBpgPw%2F50LA7EAHp1GVpnpE541leePuzsorbs%3D&se=2016-01-30T02%3A22%3A08Z&sp=r\",\r\n \"contentVersion\": \"\\\"0x8D328FA9F5BF0E7\\\"\",\r\n \"contentSize\": 86273,\r\n \"contentHash\": {\r\n \"algorithm\": \"md5\",\r\n \"value\": \"f8enwBX+llP1SEHBHF+Z+g==\"\r\n }\r\n },\r\n \"fired\": true,\r\n \"run\": {\r\n \"name\": \"08587475007581138187\",\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk4550/providers/Microsoft.Logic/workflows/onesdk6652/runs/08587475007581138187\",\r\n \"type\": \"Microsoft.Logic/workflows/runs\"\r\n }\r\n },\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk4550/providers/Microsoft.Logic/workflows/onesdk6652/triggers/httpTrigger/histories/08587475007581138187\",\r\n \"name\": \"08587475007581138187\",\r\n \"type\": \"Microsoft.Logic/workflows/triggers/histories\"\r\n },\r\n {\r\n \"properties\": {\r\n \"startTime\": \"2016-01-29T22:22:06.0435224Z\",\r\n \"endTime\": \"2016-01-29T22:22:06.9015793Z\",\r\n \"status\": \"Succeeded\",\r\n \"code\": \"OK\",\r\n \"trackingId\": \"df06f14b-76cc-4888-9c8a-d8242b0e656f\",\r\n \"inputsLink\": {\r\n \"uri\": \"https://flowprodcu01by01.blob.core.windows.net/flow27e4e16512c34cb28c8d4eda3dd2fc2d20160129t000000zcontent/60860_2e76c36835cd45b8aa96b19f868fdcb3_httpTrigger:5Finputs:2Ejson?sv=2014-02-14&sr=b&sig=gXdo7un4A8ElXnPyRzQ6jIrmlFF201ZRUqPuxrn0NbI%3D&se=2016-01-30T02%3A22%3A08Z&sp=r\",\r\n \"contentVersion\": \"\\\"0x8D328FA9E92EDA3\\\"\",\r\n \"contentSize\": 45,\r\n \"contentHash\": {\r\n \"algorithm\": \"md5\",\r\n \"value\": \"Q+Xqe9OStPsuFRv/FtPA3Q==\"\r\n }\r\n },\r\n \"outputsLink\": {\r\n \"uri\": \"https://flowprodcu01by01.blob.core.windows.net/flow27e4e16512c34cb28c8d4eda3dd2fc2d20160129t000000zcontent/57B23_909ea73573414eca9e9a5504141a4b13_httpTrigger:5Foutputs:2Ejson?sv=2014-02-14&sr=b&sig=hhT4A8ZNAVbuvTYskN3T%2FlhHNcKfbzdzOA2kLMjY%2FeE%3D&se=2016-01-30T02%3A22%3A08Z&sp=r\",\r\n \"contentVersion\": \"\\\"0x8D328FA9E93FF5D\\\"\",\r\n \"contentSize\": 86273,\r\n \"contentHash\": {\r\n \"algorithm\": \"md5\",\r\n \"value\": \"2pzeL0mVelmHc5wfbXcOzg==\"\r\n }\r\n },\r\n \"fired\": true,\r\n \"run\": {\r\n \"name\": \"08587475007594200209\",\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk4550/providers/Microsoft.Logic/workflows/onesdk6652/runs/08587475007594200209\",\r\n \"type\": \"Microsoft.Logic/workflows/runs\"\r\n }\r\n },\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk4550/providers/Microsoft.Logic/workflows/onesdk6652/triggers/httpTrigger/histories/08587475007594200209\",\r\n \"name\": \"08587475007594200209\",\r\n \"type\": \"Microsoft.Logic/workflows/triggers/histories\"\r\n },\r\n {\r\n \"properties\": {\r\n \"startTime\": \"2016-01-29T22:21:54.6213542Z\",\r\n \"endTime\": \"2016-01-29T22:21:55.4261418Z\",\r\n \"status\": \"Succeeded\",\r\n \"code\": \"OK\",\r\n \"trackingId\": \"0167d5d3-3232-46ab-8e8c-74d87ea29961\",\r\n \"inputsLink\": {\r\n \"uri\": \"https://flowprodcu01by01.blob.core.windows.net/flow27e4e16512c34cb28c8d4eda3dd2fc2d20160129t000000zcontent/BB029_2973e467eb924db8885548f9ff0b2009_httpTrigger:5Finputs:2Ejson?sv=2014-02-14&sr=b&sig=qiii9%2Fwapsef16Mu7GbTEbva2Wd96z6JUWNMQqAyr6Y%3D&se=2016-01-30T02%3A22%3A08Z&sp=r\",\r\n \"contentVersion\": \"\\\"0x8D328FA97C88925\\\"\",\r\n \"contentSize\": 45,\r\n \"contentHash\": {\r\n \"algorithm\": \"md5\",\r\n \"value\": \"Q+Xqe9OStPsuFRv/FtPA3Q==\"\r\n }\r\n },\r\n \"outputsLink\": {\r\n \"uri\": \"https://flowprodcu01by01.blob.core.windows.net/flow27e4e16512c34cb28c8d4eda3dd2fc2d20160129t000000zcontent/73BBA_1f41a8092cf141018668243c4e12d39b_httpTrigger:5Foutputs:2Ejson?sv=2014-02-14&sr=b&sig=EVO%2B0Cp6smI%2BwHKj95bfOeaNepYQjuq6MJ7sCKPocjo%3D&se=2016-01-30T02%3A22%3A08Z&sp=r\",\r\n \"contentVersion\": \"\\\"0x8D328FA97C9258E\\\"\",\r\n \"contentSize\": 86273,\r\n \"contentHash\": {\r\n \"algorithm\": \"md5\",\r\n \"value\": \"vvsqLODSQE5kt/rBJa5gMw==\"\r\n }\r\n },\r\n \"fired\": true,\r\n \"run\": {\r\n \"name\": \"08587475007708513415\",\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk4550/providers/Microsoft.Logic/workflows/onesdk6652/runs/08587475007708513415\",\r\n \"type\": \"Microsoft.Logic/workflows/runs\"\r\n }\r\n },\r\n \"id\": \"/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk4550/providers/Microsoft.Logic/workflows/onesdk6652/triggers/httpTrigger/histories/08587475007708513415\",\r\n \"name\": \"08587475007708513415\",\r\n \"type\": \"Microsoft.Logic/workflows/triggers/histories\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "4709"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Vary": [
+ "Accept-Encoding"
+ ],
+ "x-ms-request-id": [
+ "westus:3696f082-6a97-4b59-8eb0-222db304d7b1"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14913"
+ ],
+ "x-ms-correlation-request-id": [
+ "7771ea26-576c-433a-bfcd-86c6749c07e2"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T222208Z:7771ea26-576c-433a-bfcd-86c6749c07e2"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:22:07 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk4550/providers/Microsoft.Logic/workflows/onesdk6652/triggers/httpTrigger/run?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazQ1NTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrNjY1Mi90cmlnZ2Vycy9odHRwVHJpZ2dlci9ydW4/YXBpLXZlcnNpb249MjAxNS0wMi0wMS1wcmV2aWV3",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "9d4680e7-15e7-4a12-83d9-e6f4f1ed99a9"
+ ],
+ "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:6be07790-d98a-4386-9c03-d8a8bae5912e"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1196"
+ ],
+ "x-ms-correlation-request-id": [
+ "fd3f7c53-1f89-46a0-a2c3-8b8c358baea8"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T222205Z:fd3f7c53-1f89-46a0-a2c3-8b8c358baea8"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:22:05 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/onesdk4550/providers/Microsoft.Logic/workflows/onesdk6652/triggers/httpTrigger/run?api-version=2015-02-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTdiNzAzNGQtNzJkNC00MzNkLWFjZTItYTc0NjBhZWQ2YTk5L3Jlc291cmNlR3JvdXBzL29uZXNkazQ1NTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Mb2dpYy93b3JrZmxvd3Mvb25lc2RrNjY1Mi90cmlnZ2Vycy9odHRwVHJpZ2dlci9ydW4/YXBpLXZlcnNpb249MjAxNS0wMi0wMS1wcmV2aWV3",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "4c87f18e-1a43-4f8c-85a3-d33adc63a4f9"
+ ],
+ "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:1bc8875a-cdae-4666-8612-acb19f897af8"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1195"
+ ],
+ "x-ms-correlation-request-id": [
+ "9fce4347-30fe-46cd-83ea-0480f5eb9e09"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20160129T222207Z:9fce4347-30fe-46cd-83ea-0480f5eb9e09"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 29 Jan 2016 22:22:06 GMT"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {
+ "Test-StartAzureLogicAppTrigger": [
+ "onesdk4550",
+ "onesdk6652"
+ ]
+ },
+ "Variables": {
+ "SubscriptionId": "57b7034d-72d4-433d-ace2-a7460aed6a99"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp.Test/Settings.StyleCop b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/Settings.StyleCop
new file mode 100644
index 000000000000..bb05f99bc1a1
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/Settings.StyleCop
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp.Test/UnitTests/CreateLogicAppTests.cs b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/UnitTests/CreateLogicAppTests.cs
new file mode 100644
index 000000000000..d044acf2892f
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/UnitTests/CreateLogicAppTests.cs
@@ -0,0 +1,67 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+namespace Microsoft.Azure.Commands.LogicApp.Test.UnitTests
+{
+ using System.Management.Automation;
+ using Xunit;
+ using Microsoft.Azure.Commands.LogicApp.Cmdlets;
+ using Microsoft.WindowsAzure.Commands.ScenarioTest;
+
+ ///
+ /// Unit test for the Create Logic app command.
+ ///
+ public class CreateLogicAppTests : LogicAppUnitTestBase
+ {
+
+ public CreateLogicAppTests()
+ {
+ }
+
+ ///
+ /// This verifies the exception thrown by the commandlet when non-existing definition file is provided as input
+ ///
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void NewAzureLogicApp_ThrowsExceptionWithNonexistingDefinitionFile()
+ {
+ var cmdlet = new NewAzureLogicAppCommand
+ {
+ Name = Name,
+ DefinitionFilePath = DefinitionFilePath,
+ ResourceGroupName = ResourceGroupName
+ };
+
+ var exception = Assert.Throws(() => cmdlet.ExecuteCmdlet());
+ Assert.Equal("File LogicAppDefinition.json does not exist.", exception.Message);
+ }
+
+ ///
+ /// This verifies the exception thrown by the commandlet when non-existing parameter file is provided as input
+ ///
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void NewAzureLogicApp_ThrowsExceptionWithNonexistingParameterFile()
+ {
+ var cmdlet = new NewAzureLogicAppCommand
+ {
+ Name = Name,
+ ParameterFilePath = ParameterFilePath,
+ ResourceGroupName = ResourceGroupName
+ };
+ var exception = Assert.Throws(() => cmdlet.ExecuteCmdlet());
+ Assert.Equal("File LogicAppParameter.json does not exist.", exception.Message);
+ }
+ }
+}
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp.Test/UnitTests/LogicAppUnitTestBase.cs b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/UnitTests/LogicAppUnitTestBase.cs
new file mode 100644
index 000000000000..26e8eedd3f20
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/UnitTests/LogicAppUnitTestBase.cs
@@ -0,0 +1,45 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+namespace Microsoft.Azure.Commands.LogicApp.Test.UnitTests
+{
+ using Microsoft.WindowsAzure.Commands.Test.Utilities.Common;
+
+ ///
+ /// Base class for the Logic app command tests
+ ///
+ public class LogicAppUnitTestBase : RMTestBase
+ {
+ ///
+ /// Name of the workflow used for testing.
+ ///
+ protected const string Name = "TestWorkflow";
+
+ ///
+ /// Definition file name present in Resource folder
+ ///
+ protected const string DefinitionFilePath = @"LogicAppDefinition.json";
+
+ ///
+ /// Parameter file name present in Resource folder
+ ///
+ protected const string ParameterFilePath = @"LogicAppParameter.json";
+
+ ///
+ /// Name of the resource group used for testing
+ ///
+ protected const string ResourceGroupName = "TestResourceGroup";
+
+ }
+}
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp.Test/packages.config b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/packages.config
new file mode 100644
index 000000000000..3e8f833721fe
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/packages.config
@@ -0,0 +1,27 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/CancelAzureLogicAppRunCommand.cs b/src/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/CancelAzureLogicAppRunCommand.cs
new file mode 100644
index 000000000000..ec4f99a3eb3e
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/CancelAzureLogicAppRunCommand.cs
@@ -0,0 +1,57 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using Microsoft.Azure.Management.Logic;
+
+namespace Microsoft.Azure.Commands.LogicApp.Cmdlets
+{
+ using Microsoft.Azure.Commands.LogicApp.Utilities;
+ using System.Management.Automation;
+
+ ///
+ /// Stop the workflow run
+ ///
+ [Cmdlet(VerbsLifecycle.Stop, "AzureRmLogicAppRun"), OutputType(typeof(object))]
+ public class CancelAzureLogicAppRunCommand : LogicAppBaseCmdlet
+ {
+
+ #region Input Parameters
+
+ [Parameter(Mandatory = true, HelpMessage = "The targeted resource group for the workflow.",
+ ValueFromPipelineByPropertyName = true)]
+ [ValidateNotNullOrEmpty]
+ public string ResourceGroupName { get; set; }
+
+ [Parameter(Mandatory = true, HelpMessage = "The name of the workflow.",
+ ValueFromPipelineByPropertyName = true)]
+ [ValidateNotNullOrEmpty]
+ public string Name { get; set; }
+
+ [Parameter(Mandatory = true, HelpMessage = "The name of the workflow run.",
+ ValueFromPipelineByPropertyName = true)]
+ [ValidateNotNullOrEmpty]
+ public string RunName { get; set; }
+
+ #endregion Input Parameters
+
+ ///
+ /// Executes the stop workflow run command
+ ///
+ public override void ExecuteCmdlet()
+ {
+ base.ExecuteCmdlet();
+ LogicAppClient.CancelWorkflowRun(this.ResourceGroupName, this.Name, this.RunName);
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/GetAzureLogicAppAccessKeyCommand.cs b/src/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/GetAzureLogicAppAccessKeyCommand.cs
new file mode 100644
index 000000000000..299ad153252a
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/GetAzureLogicAppAccessKeyCommand.cs
@@ -0,0 +1,67 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using Microsoft.Azure.Management.Logic.Models;
+
+namespace Microsoft.Azure.Commands.LogicApp.Cmdlets
+{
+ using Microsoft.Azure.Commands.LogicApp.Utilities;
+ using System.Management.Automation;
+
+ ///
+ /// Gets the access key of a workflow.
+ ///
+ [Cmdlet(VerbsCommon.Get, "AzureRmLogicAppAccessKey"), OutputType(typeof(object))]
+ public class GetAzureLogicAppAccessKeyCommand : LogicAppBaseCmdlet
+ {
+ #region private attribues
+
+ private string _accessKeyName = "default";
+
+ #endregion private attribues
+ #region Input Parameters
+
+ [Parameter(Mandatory = true, HelpMessage = "The targeted resource group for the workflow.",
+ ValueFromPipelineByPropertyName = true)]
+ [ValidateNotNullOrEmpty]
+ public string ResourceGroupName { get; set; }
+
+ [Parameter(Mandatory = true, HelpMessage = "The name of the workflow.",
+ ValueFromPipelineByPropertyName = true)]
+ [ValidateNotNullOrEmpty]
+ public string Name { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = "The name of the workflow accesskey.",
+ ValueFromPipelineByPropertyName = true)]
+ [ValidateNotNullOrEmpty]
+ public string AccessKeyName
+ {
+ get { return this._accessKeyName; }
+ set { this._accessKeyName = value; }
+ }
+
+ #endregion Input Parameters
+
+ ///
+ /// Executes the get workflow accesskey command
+ ///
+ public override void ExecuteCmdlet()
+ {
+ base.ExecuteCmdlet();
+
+ this.WriteObject(
+ LogicAppClient.GetWorkflowAccessKey(this.ResourceGroupName, this.Name, this.AccessKeyName), true);
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/GetAzureLogicAppCommand.cs b/src/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/GetAzureLogicAppCommand.cs
new file mode 100644
index 000000000000..b0fd75b84f21
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/GetAzureLogicAppCommand.cs
@@ -0,0 +1,50 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+namespace Microsoft.Azure.Commands.LogicApp.Cmdlets
+{
+ using System.Management.Automation;
+ using Microsoft.Azure.Management.Logic;
+ using Microsoft.Azure.Commands.LogicApp.Utilities;
+
+ ///
+ /// Creates a new LogicApp workflow
+ ///
+ [Cmdlet(VerbsCommon.Get, "AzureRmLogicApp"), OutputType(typeof(object))]
+ public class GetAzureLogicAppCommand : LogicAppBaseCmdlet
+ {
+
+ #region Input Paramters
+
+ [Parameter(Mandatory = true, HelpMessage = "The targeted resource group for the workflow.",
+ ValueFromPipelineByPropertyName = true)]
+ [ValidateNotNullOrEmpty]
+ public string ResourceGroupName { get; set; }
+
+ [Parameter(Mandatory = true, HelpMessage = "The name of the workflow.")]
+ [ValidateNotNullOrEmpty]
+ public string Name { get; set; }
+
+ #endregion Input Parameters
+
+ ///
+ /// Executes the get workflow command
+ ///
+ public override void ExecuteCmdlet()
+ {
+ base.ExecuteCmdlet();
+ this.WriteObject(LogicAppClient.GetWorkflow(this.ResourceGroupName, this.Name), true);
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/GetAzureLogicAppRunActionCommand.cs b/src/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/GetAzureLogicAppRunActionCommand.cs
new file mode 100644
index 000000000000..274632e9afa9
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/GetAzureLogicAppRunActionCommand.cs
@@ -0,0 +1,71 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using Microsoft.Azure.Management.Logic.Models;
+
+namespace Microsoft.Azure.Commands.LogicApp.Cmdlets
+{
+ using Microsoft.Azure.Commands.LogicApp.Utilities;
+ using System.Management.Automation;
+
+ ///
+ /// Gets the action in the workflow run
+ ///
+ [Cmdlet(VerbsCommon.Get, "AzureRmLogicAppRunAction"), OutputType(typeof(object))]
+ public class GetAzureLogicAppRunActionCommand : LogicAppBaseCmdlet
+ {
+ #region Input Parameters
+
+ [Parameter(Mandatory = true, HelpMessage = "The targeted resource group for the workflow.",
+ ValueFromPipelineByPropertyName = true)]
+ [ValidateNotNullOrEmpty]
+ public string ResourceGroupName { get; set; }
+
+ [Parameter(Mandatory = true, HelpMessage = "The name of the workflow.",
+ ValueFromPipelineByPropertyName = true)]
+ [ValidateNotNullOrEmpty]
+ public string Name { get; set; }
+
+ [Parameter(Mandatory = true, HelpMessage = "The name of the workflow run.",
+ ValueFromPipelineByPropertyName = true)]
+ [ValidateNotNullOrEmpty]
+ public string RunName { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = "The name of the action in the workflow run.")]
+ [ValidateNotNullOrEmpty]
+ public string ActionName { get; set; }
+
+ #endregion Input Parameters
+
+ ///
+ /// Executes the get workflow run action command
+ ///
+ public override void ExecuteCmdlet()
+ {
+ base.ExecuteCmdlet();
+
+ if (string.IsNullOrEmpty(this.ActionName))
+ {
+ var enumerator = LogicAppClient.GetWorkflowRunActions(this.ResourceGroupName, this.Name, this.RunName).GetEnumerator();
+ this.WriteObject(enumerator.ToIEnumerable(), true);
+ }
+ else
+ {
+ this.WriteObject(
+ LogicAppClient.GetWorkflowRunAction(this.ResourceGroupName, this.Name, this.RunName, this.ActionName),
+ true);
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/GetAzureLogicAppRunHistoryCommand.cs b/src/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/GetAzureLogicAppRunHistoryCommand.cs
new file mode 100644
index 000000000000..633fd56b9f08
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/GetAzureLogicAppRunHistoryCommand.cs
@@ -0,0 +1,65 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using Microsoft.Azure.Management.Logic.Models;
+
+namespace Microsoft.Azure.Commands.LogicApp.Cmdlets
+{
+ using Microsoft.Azure.Commands.LogicApp.Utilities;
+ using System.Management.Automation;
+
+ ///
+ /// Creates a new LogicApp workflow
+ ///
+ [Cmdlet(VerbsCommon.Get, "AzureRmLogicAppRunHistory"), OutputType(typeof(object))]
+ public class AzureLogicAppRunHistoryCommand : LogicAppBaseCmdlet
+ {
+
+ #region Input Parameters
+
+ [Parameter(Mandatory = true, HelpMessage = "The targeted resource group for the workflow.",
+ ValueFromPipelineByPropertyName = true)]
+ [ValidateNotNullOrEmpty]
+ public string ResourceGroupName { get; set; }
+
+ [Parameter(Mandatory = true, HelpMessage = "The name of the workflow.")]
+ [ValidateNotNullOrEmpty]
+ public string Name { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = "The name of the workflow run.",
+ ValueFromPipelineByPropertyName = true)]
+ [ValidateNotNullOrEmpty]
+ public string RunName { get; set; }
+
+ #endregion Input Parameters
+
+ ///
+ /// Executes the get workflow run history command
+ ///
+ public override void ExecuteCmdlet()
+ {
+ base.ExecuteCmdlet();
+ if (string.IsNullOrEmpty(this.RunName))
+ {
+ var enumerator = LogicAppClient.GetWorkflowRuns(this.ResourceGroupName, this.Name).GetEnumerator();
+ this.WriteObject(enumerator.ToIEnumerable(), true);
+ }
+ else
+ {
+ this.WriteObject(LogicAppClient.GetWorkflowRun(this.ResourceGroupName, this.Name, this.RunName), true);
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/GetAzureLogicAppTriggerCommand.cs b/src/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/GetAzureLogicAppTriggerCommand.cs
new file mode 100644
index 000000000000..94880f758d3f
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/GetAzureLogicAppTriggerCommand.cs
@@ -0,0 +1,70 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using Microsoft.Azure.Management.Logic.Models;
+
+namespace Microsoft.Azure.Commands.LogicApp.Cmdlets
+{
+ using Microsoft.Azure.Commands.LogicApp.Utilities;
+ using Microsoft.Azure.Management.Logic;
+ using System.Management.Automation;
+
+ ///
+ /// Gets the trigger in the workflow
+ ///
+ [Cmdlet(VerbsCommon.Get, "AzureRmLogicAppTrigger"), OutputType(typeof(object))]
+ public class GetAzureLogicAppTriggerCommand : LogicAppBaseCmdlet
+ {
+
+ #region Input Parameters
+
+ [Parameter(Mandatory = true, HelpMessage = "The targeted resource group for the workflow.",
+ ValueFromPipelineByPropertyName = true)]
+ [ValidateNotNullOrEmpty]
+ public string ResourceGroupName { get; set; }
+
+ [Parameter(Mandatory = true, HelpMessage = "The name of the workflow.",
+ ValueFromPipelineByPropertyName = true)]
+ [ValidateNotNullOrEmpty]
+ public string Name { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = "The name of the trigger in the workflow.",
+ ValueFromPipelineByPropertyName = true)]
+ [ValidateNotNullOrEmpty]
+ public string TriggerName { get; set; }
+
+ #endregion Input Parameters
+
+ ///
+ /// Executes the get workflow trigger command
+ ///
+ public override void ExecuteCmdlet()
+ {
+ base.ExecuteCmdlet();
+ if (string.IsNullOrEmpty(this.TriggerName))
+ {
+ var enumerator = LogicAppClient.GetWorkflowTriggers(this.ResourceGroupName, this.Name).GetEnumerator();
+ this.WriteObject(enumerator.ToIEnumerable(), true);
+ }
+ else
+ {
+ this.WriteObject(
+ LogicAppClient.GetWorkflowTrigger(this.ResourceGroupName, this.Name, this.TriggerName), true);
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/GetAzureLogicAppTriggerHistoryCommand.cs b/src/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/GetAzureLogicAppTriggerHistoryCommand.cs
new file mode 100644
index 000000000000..c4296ab228e9
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/GetAzureLogicAppTriggerHistoryCommand.cs
@@ -0,0 +1,75 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using Microsoft.Azure.Management.Logic.Models;
+
+namespace Microsoft.Azure.Commands.LogicApp.Cmdlets
+{
+ using Microsoft.Azure.Commands.LogicApp.Utilities;
+ using Microsoft.Azure.Management.Logic;
+ using System.Management.Automation;
+
+ ///
+ /// Gets the trigger history of the workflow
+ ///
+ [Cmdlet(VerbsCommon.Get, "AzureRmLogicAppTriggerHistory"), OutputType(typeof(object))]
+ public class GetAzureLogicAppTriggerHistoryCommand : LogicAppBaseCmdlet
+ {
+
+ #region Input Parameters
+
+ [Parameter(Mandatory = true, HelpMessage = "The targeted resource group for the workflow.",
+ ValueFromPipelineByPropertyName = true)]
+ [ValidateNotNullOrEmpty]
+ public string ResourceGroupName { get; set; }
+
+ [Parameter(Mandatory = true, HelpMessage = "The name of the workflow.",
+ ValueFromPipelineByPropertyName = true)]
+ [ValidateNotNullOrEmpty]
+ public string Name { get; set; }
+
+ [Parameter(Mandatory = true, HelpMessage = "The name of the trigger in the workflow.",
+ ValueFromPipelineByPropertyName = true)]
+ [ValidateNotNullOrEmpty]
+ public string TriggerName { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = "The name of the history of workflow trigger.",
+ ValueFromPipelineByPropertyName = false)]
+ [ValidateNotNullOrEmpty]
+ public string HistoryName { get; set; }
+
+ #endregion Input Parameters
+
+ ///
+ /// Executes the get workflow trigger history command
+ ///
+ public override void ExecuteCmdlet()
+ {
+ base.ExecuteCmdlet();
+ if (string.IsNullOrEmpty(this.HistoryName))
+ {
+ var enumerator =
+ LogicAppClient.GetWorkflowTriggerHistories(this.ResourceGroupName, this.Name, this.TriggerName)
+ .GetEnumerator();
+ this.WriteObject(enumerator.ToIEnumerable(), true);
+ }
+ else
+ {
+ this.WriteObject(
+ LogicAppClient.GetWorkflowTriggerHistory(this.ResourceGroupName, this.Name, this.TriggerName,
+ this.HistoryName), true);
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/NewAzureLogicAppCommand.cs b/src/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/NewAzureLogicAppCommand.cs
new file mode 100644
index 000000000000..51139c64ac3c
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/NewAzureLogicAppCommand.cs
@@ -0,0 +1,171 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+namespace Microsoft.Azure.Commands.LogicApp.Cmdlets
+{
+ using System;
+ using System.Collections.Generic;
+ using System.Management.Automation;
+ using Microsoft.Azure.Commands.LogicApp.Utilities;
+ using Microsoft.Azure.Management.Logic.Models;
+ using Microsoft.WindowsAzure.Commands.Utilities.Common;
+ using Newtonsoft.Json.Linq;
+
+ ///
+ /// Creates a new LogicApp workflow
+ ///
+ [Cmdlet(VerbsCommon.New, "AzureRmLogicApp"), OutputType(typeof(object))]
+ public class NewAzureLogicAppCommand : LogicAppBaseCmdlet
+ {
+ #region private Variables
+
+ ///
+ /// Default value for the workflow status parameter
+ ///
+ private string _status = Constants.StatusEnabled;
+
+ #endregion private Variables
+
+ #region Input Paramters
+
+ [Parameter(Mandatory = true, HelpMessage = "The targeted resource group for the workflow.",
+ ValueFromPipelineByPropertyName = true)]
+ [ValidateNotNullOrEmpty]
+ public string ResourceGroupName { get; set; }
+
+ [Parameter(Mandatory = true, HelpMessage = "The name of the workflow.")]
+ [ValidateNotNullOrEmpty]
+ public string Name { get; set; }
+
+ [Parameter(Mandatory = true, HelpMessage = "App service plan name.", ValueFromPipelineByPropertyName = true)]
+ [ValidateNotNullOrEmpty]
+ public string AppServicePlan { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = "The location of the workflow.", ValueFromPipelineByPropertyName = true)]
+ [ValidateNotNullOrEmpty]
+ public string Location { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = "The state of the workflow.")]
+ [ValidateSet(Constants.StatusEnabled, Constants.StatusDisabled, IgnoreCase = false)]
+ [ValidateNotNullOrEmpty]
+ public string State
+ {
+ get { return this._status; }
+ set { this._status = value; }
+ }
+
+ [Parameter(Mandatory = false, HelpMessage = "The URI link to the workflow definition.",
+ ParameterSetName = ParameterSet.LogicAppWithDefinitionLink)]
+ [ValidateNotNullOrEmpty]
+ public string DefinitionLinkUri { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = "The content version of the definition link.",
+ ParameterSetName = ParameterSet.LogicAppWithDefinitionLink)]
+ [ValidateNotNullOrEmpty]
+ public string DefinitionLinkContentVersion { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = "The definition of the workflow.",
+ ParameterSetName = ParameterSet.LogicAppWithDefinition)]
+ [ValidateNotNullOrEmpty]
+ public object Definition { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = "The physical file path of the workflow definition.",
+ ParameterSetName = ParameterSet.LogicAppWithDefinitionFile)]
+ [ValidateNotNullOrEmpty]
+ public string DefinitionFilePath { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = "The parameters link Uri.")]
+ [ValidateNotNullOrEmpty]
+ public string ParameterLinkUri { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = "The parameters link Uri content version.")]
+ [ValidateNotNullOrEmpty]
+ public string ParameterLinkContentVersion { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = "The parameters parameter for the logic app.")]
+ [ValidateNotNullOrEmpty]
+ public object Parameters { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = "The parameter file path.")]
+ [ValidateNotNullOrEmpty]
+ public string ParameterFilePath { get; set; }
+
+ #endregion Input Parameters
+
+ ///
+ /// Execute the create new workflow command
+ ///
+ public override void ExecuteCmdlet()
+ {
+ base.ExecuteCmdlet();
+
+ if (this.Definition != null)
+ {
+ this.Definition = JToken.Parse(this.Definition.ToString());
+ }
+
+ if (!string.IsNullOrEmpty(this.DefinitionFilePath))
+ {
+ this.Definition = CmdletHelper.GetDefinitionFromFile(this.TryResolvePath(this.DefinitionFilePath));
+ }
+
+ if (this.Parameters != null)
+ {
+ this.Parameters = CmdletHelper.ConvertToWorkflowParameterDictionary(this.Parameters);
+ }
+
+ if (!string.IsNullOrEmpty(this.ParameterFilePath))
+ {
+ this.Parameters = CmdletHelper.GetParametersFromFile(this.TryResolvePath(this.ParameterFilePath));
+ }
+
+ var servicePlan = WebsitesClient.GetAppServicePlan(this.ResourceGroupName, this.AppServicePlan);
+
+ if (string.IsNullOrEmpty(this.Location))
+ {
+ this.Location = servicePlan.GeoRegion;
+ }
+
+ this.WriteObject(LogicAppClient.CreateWorkflow(this.ResourceGroupName, this.Name, new Workflow
+ {
+ Location = this.Location,
+ Definition = this.Definition,
+ Parameters = this.Parameters as Dictionary,
+ DefinitionLink = string.IsNullOrEmpty(this.DefinitionLinkUri)
+ ? null
+ : new ContentLink
+ {
+ Uri = this.DefinitionLinkUri,
+ ContentVersion = this.DefinitionLinkContentVersion
+ },
+ ParametersLink = string.IsNullOrEmpty(this.ParameterLinkUri)
+ ? null
+ : new ContentLink
+ {
+ Uri = this.ParameterLinkUri,
+ ContentVersion = this.ParameterLinkContentVersion
+ },
+ State = (WorkflowState) Enum.Parse(typeof (WorkflowState), this.State),
+ Sku = new Sku
+ {
+ Name = (SkuName)Enum.Parse(typeof(SkuName), servicePlan.Sku.Tier),
+ Plan = new ResourceReference
+ {
+ Id = servicePlan.Id
+ }
+ }
+ }), true);
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/RemoveAzureLogicAppCommand.cs b/src/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/RemoveAzureLogicAppCommand.cs
new file mode 100644
index 000000000000..8da8f1b9e212
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/RemoveAzureLogicAppCommand.cs
@@ -0,0 +1,59 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+namespace Microsoft.Azure.Commands.LogicApp.Cmdlets
+{
+ using System.Globalization;
+ using Microsoft.Azure.Commands.LogicApp.Utilities;
+ using System.Management.Automation;
+
+ ///
+ /// Creates a new LogicApp workflow
+ ///
+ [Cmdlet(VerbsCommon.Remove, "AzureRmLogicApp"), OutputType(typeof(object))]
+ public class RemoveAzureLogicAppCommand : LogicAppBaseCmdlet
+ {
+
+ #region Input Paramters
+
+ [Parameter(Mandatory = true, HelpMessage = "The targeted resource group for the workflow.",
+ ValueFromPipelineByPropertyName = true)]
+ [ValidateNotNullOrEmpty]
+ public string ResourceGroupName { get; set; }
+
+ [Parameter(Mandatory = true, HelpMessage = "The name of the workflow.")]
+ [ValidateNotNullOrEmpty]
+ public string Name { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = "Do not ask for confirmation.")]
+ public SwitchParameter Force { get; set; }
+
+ #endregion Input Parameters
+
+ ///
+ /// Executes the remove workflow command
+ ///
+ public override void ExecuteCmdlet()
+ {
+ base.ExecuteCmdlet();
+ ConfirmAction(Force.IsPresent,
+ string.Format(CultureInfo.InvariantCulture, Properties.Resource.RemoveLogicAppWarning, this.Name),
+ Properties.Resource.RemoveLogicAppMessage,
+ Name,
+ () => {
+ LogicAppClient.RemoveWorkflow(ResourceGroupName, Name);
+ });
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/RunAzureLogicAppCommand.cs b/src/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/RunAzureLogicAppCommand.cs
new file mode 100644
index 000000000000..99459071d31f
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/RunAzureLogicAppCommand.cs
@@ -0,0 +1,72 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using Microsoft.Azure.Management.Logic;
+using Microsoft.Azure.Management.Logic.Models;
+
+namespace Microsoft.Azure.Commands.LogicApp.Cmdlets
+{
+ using Microsoft.Azure.Commands.LogicApp.Utilities;
+ using System.Management.Automation;
+
+ ///
+ /// Creates a new LogicApp workflow
+ ///
+ [Cmdlet(VerbsLifecycle.Start, "AzureRmLogicApp"), OutputType(typeof(object))]
+ public class RunAzureLogicAppCommand : LogicAppBaseCmdlet
+ {
+
+ #region Input Paramters
+
+ [Parameter(Mandatory = true, HelpMessage = "The targeted resource group for the workflow.",
+ ValueFromPipelineByPropertyName = true)]
+ [ValidateNotNullOrEmpty]
+ public string ResourceGroupName { get; set; }
+
+ [Parameter(Mandatory = true, HelpMessage = "The name of the workflow.",
+ ValueFromPipelineByPropertyName = true)]
+ [ValidateNotNullOrEmpty]
+ public string Name { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = "The parameters for the workflow run.", ValueFromPipelineByPropertyName = false)]
+ [ValidateNotNullOrEmpty]
+ public object Parameters { get; set; }
+
+ [Parameter(Mandatory = true, HelpMessage = "The name of the trigger.",
+ ValueFromPipelineByPropertyName = true)]
+ [ValidateNotNullOrEmpty]
+ public string TriggerName { get; set; }
+
+ #endregion Input Parameters
+
+ ///
+ /// Executes the get workflow command
+ ///
+ public override void ExecuteCmdlet()
+ {
+ base.ExecuteCmdlet();
+
+ if (string.IsNullOrEmpty(this.TriggerName))
+ {
+ this.WriteObject(
+ LogicAppClient.RunWorkflow(this.ResourceGroupName, this.Name,
+ new RunWorkflowParameters()), true);
+ }
+ else
+ {
+ LogicAppClient.RunWorkflowTrigger(this.ResourceGroupName, this.Name, this.TriggerName);
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/UpdateAzureLogicAppAccessKeyCommand.cs b/src/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/UpdateAzureLogicAppAccessKeyCommand.cs
new file mode 100644
index 000000000000..8d2b1bbba14f
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/UpdateAzureLogicAppAccessKeyCommand.cs
@@ -0,0 +1,66 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using Microsoft.Azure.Management.Logic.Models;
+
+namespace Microsoft.Azure.Commands.LogicApp.Cmdlets
+{
+ using Microsoft.Azure.Commands.LogicApp.Utilities;
+ using System.Management.Automation;
+
+ ///
+ /// Sets the secret of the access keys of a workflow
+ ///
+ [Cmdlet(VerbsCommon.Set, "AzureRmLogicAppAccessKey"), OutputType(typeof(object))]
+ public class UpdateAzureLogicAppAccessKeyCommand : LogicAppBaseCmdlet
+ {
+ #region Input Parameters
+
+ [Parameter(Mandatory = true, HelpMessage = "The targeted resource group for the workflow.",
+ ValueFromPipelineByPropertyName = true)]
+ [ValidateNotNullOrEmpty]
+ public string ResourceGroupName { get; set; }
+
+ [Parameter(Mandatory = true, HelpMessage = "The name of the workflow.",
+ ValueFromPipelineByPropertyName = true)]
+ [ValidateNotNullOrEmpty]
+ public string Name { get; set; }
+
+ [Parameter(Mandatory = true, HelpMessage = "The name of the workflow accesskey.",
+ ValueFromPipelineByPropertyName = true)]
+ [ValidateNotNullOrEmpty]
+ public string AccessKeyName { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = "The type of the key.",
+ ValueFromPipelineByPropertyName = false)]
+ [ValidateSet(Constants.KeyTypeNotSpecified, Constants.KeyTypePrimary, Constants.KeyTypeSecondary,
+ IgnoreCase = false)]
+ [ValidateNotNullOrEmpty]
+ public string KeyType { get; set; }
+
+ #endregion Input Parameters
+
+ ///
+ /// Executes the get workflow accesskey command
+ ///
+ public override void ExecuteCmdlet()
+ {
+ base.ExecuteCmdlet();
+
+ this.WriteObject(
+ LogicAppClient.RegenerateWorkflowAccessKey(this.ResourceGroupName, this.Name, this.AccessKeyName,
+ this.KeyType), true);
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/UpdateAzureLogicAppCommand.cs b/src/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/UpdateAzureLogicAppCommand.cs
new file mode 100644
index 000000000000..05c62ef9df15
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/UpdateAzureLogicAppCommand.cs
@@ -0,0 +1,218 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+namespace Microsoft.Azure.Commands.LogicApp.Cmdlets
+{
+ using System;
+ using System.Management.Automation;
+ using Microsoft.Azure.Commands.LogicApp.Utilities;
+ using Microsoft.Azure.Management.Logic.Models;
+ using Microsoft.WindowsAzure.Commands.Utilities.Common;
+ using Newtonsoft.Json.Linq;
+
+ ///
+ /// Updates a LogicApp workflow
+ ///
+ [Cmdlet(VerbsCommon.Set, "AzureRmLogicApp"), OutputType(typeof(object))]
+ public class UpdateAzureLogicAppCommand : LogicAppBaseCmdlet
+ {
+ #region private Variables
+
+ ///
+ /// Default value for the workflow status parameter
+ ///
+ private string _status = Constants.StatusEnabled;
+
+ ///
+ /// Default value for the workflow definition
+ ///
+ private object _definition = string.Empty;
+
+ ///
+ /// Default value for the workflow definition Uri
+ ///
+ private string _definitionUri = string.Empty;
+
+ ///
+ /// Default value for the workflow parameters
+ ///
+ private object _parameters = string.Empty;
+
+ ///
+ /// Default value for the workflow parameters Uri
+ ///
+ private string _parametersUri = string.Empty;
+
+ #endregion private Variables
+
+ #region Input Paramters
+
+ [Parameter(Mandatory = true, HelpMessage = "The targeted resource group for the workflow.",
+ ValueFromPipelineByPropertyName = true)]
+ [ValidateNotNullOrEmpty]
+ public string ResourceGroupName { get; set; }
+
+ [Parameter(Mandatory = true, HelpMessage = "The name of the workflow.")]
+ [ValidateNotNullOrEmpty]
+ public string Name { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = "App service plan name.", ValueFromPipelineByPropertyName = true)]
+ [ValidateNotNullOrEmpty]
+ public string AppServicePlan { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = "The state of the workflow.")]
+ [ValidateSet(Constants.StatusEnabled, Constants.StatusDisabled, IgnoreCase = false)]
+ [ValidateNotNullOrEmpty]
+ public string State
+ {
+ get { return this._status; }
+ set { this._status = value; }
+ }
+
+ [Parameter(Mandatory = false, HelpMessage = "The URI link to the workflow definition.")]
+ public string DefinitionLinkUri
+ {
+ get { return this._definitionUri; }
+ set { this._definitionUri = value; }
+ }
+
+ [Parameter(Mandatory = false, HelpMessage = "The content version of the definition link.")]
+ [ValidateNotNullOrEmpty]
+ public string DefinitionLinkContentVersion { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = "The definition of the workflow.")]
+ public object Definition
+ {
+ get { return this._definition; }
+ set { this._definition = value; }
+ }
+
+ [Parameter(Mandatory = false, HelpMessage = "The physical file path of the workflow definition.")]
+ [ValidateNotNullOrEmpty]
+ public string DefinitionFilePath { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = "The parameters link Uri.")]
+ public string ParameterLinkUri
+ {
+ get { return this._parametersUri; }
+ set { this._parametersUri = value; }
+ }
+
+ [Parameter(Mandatory = false, HelpMessage = "The parameters link Uri content version.")]
+ [ValidateNotNullOrEmpty]
+ public string ParameterLinkContentVersion { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = "The parameters parameter for the logic app.")]
+ public object Parameters
+ {
+ get { return this._parameters; }
+ set { this._parameters = value; }
+ }
+
+ [Parameter(Mandatory = false, HelpMessage = "The parameter file path.")]
+ [ValidateNotNullOrEmpty]
+ public string ParameterFilePath { get; set; }
+
+ #endregion Input Parameters
+
+ ///
+ /// Execute the create new workflow command
+ ///
+ public override void ExecuteCmdlet()
+ {
+ base.ExecuteCmdlet();
+
+ var workflow = LogicAppClient.GetWorkflow(this.ResourceGroupName, this.Name);
+
+ if (this.Definition == null)
+ {
+ workflow.Definition = null;
+ }
+ else if (this.Definition.ToString() != string.Empty)
+ {
+ workflow.Definition = JToken.Parse(this.Definition.ToString());
+ }
+
+ if (!string.IsNullOrEmpty(this.DefinitionFilePath))
+ {
+ workflow.Definition = CmdletHelper.GetDefinitionFromFile(this.TryResolvePath(this.DefinitionFilePath));
+ }
+
+ if (this.Parameters == null)
+ {
+ workflow.Parameters = null;
+ }
+ else if (this.Parameters.ToString() != string.Empty)
+ {
+ workflow.Parameters = CmdletHelper.ConvertToWorkflowParameterDictionary(this.Parameters);
+ }
+
+ if (!string.IsNullOrEmpty(this.ParameterFilePath))
+ {
+ workflow.Parameters = CmdletHelper.GetParametersFromFile(this.TryResolvePath(this.ParameterFilePath));
+ }
+
+ if (this.DefinitionLinkUri == null)
+ {
+ workflow.DefinitionLink = null;
+ }
+ else if (this.DefinitionLinkUri != string.Empty)
+ {
+ workflow.DefinitionLink = new ContentLink
+ {
+ Uri = this.DefinitionLinkUri,
+ ContentVersion = this.DefinitionLinkContentVersion
+ };
+ }
+
+ if (this.ParameterLinkUri == null)
+ {
+ workflow.ParametersLink = null;
+ }
+ else if (this.ParameterLinkUri != string.Empty)
+ {
+ workflow.ParametersLink = new ContentLink
+ {
+ Uri = this.ParameterLinkUri,
+ ContentVersion = this.ParameterLinkContentVersion
+ };
+ }
+
+ if (!string.IsNullOrEmpty(this.State))
+ {
+ workflow.State = (WorkflowState) Enum.Parse(typeof (WorkflowState), this.State);
+ }
+
+ if (!string.IsNullOrEmpty(this.AppServicePlan))
+ {
+ var servicePlan = WebsitesClient.GetAppServicePlan(this.ResourceGroupName, this.AppServicePlan);
+ workflow.Sku = new Sku
+ {
+ Name = (SkuName)Enum.Parse(typeof(SkuName), servicePlan.Sku.Tier),
+ Plan = new ResourceReference
+ {
+ Id = servicePlan.Id
+ }
+ };
+ }
+
+ if (workflow.DefinitionLink == null && workflow.Definition == null)
+ {
+ throw new PSArgumentException(Properties.Resource.DefinitionMissingWarning);
+ }
+
+ this.WriteObject(LogicAppClient.UpdateWorkflow(this.ResourceGroupName, this.Name, workflow), true);
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp/Commands.LogicApp.csproj b/src/ResourceManager/LogicApp/Commands.LogicApp/Commands.LogicApp.csproj
new file mode 100644
index 000000000000..f2433b0c2f42
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp/Commands.LogicApp.csproj
@@ -0,0 +1,213 @@
+
+
+
+
+ Debug
+ AnyCPU
+ {FFE4E475-B32C-4F89-9D52-F7CEBF709C74}
+ Library
+ Properties
+ Microsoft.Azure.Commands.LogicApp
+ Microsoft.Azure.Commands.LogicApp
+ v4.5
+ 512
+
+ ..\..\..\
+ true
+
+
+ true
+ full
+ false
+ ..\..\..\Package\Debug\ResourceManager\AzureResourceManager\AzureRM.LogicApp
+ DEBUG;TRACE
+ prompt
+ 4
+ true
+ false
+ false
+
+
+ true
+ MSSharedLibKey.snk
+ true
+ ..\..\..\Package\Release\ResourceManager\AzureResourceManager\AzureRM.LogicApp
+ TRACE
+ true
+ pdbonly
+ AnyCPU
+ bin\Release\Microsoft.Azure.Commands.LogicApp.dll.CodeAnalysisLog.xml
+ true
+ GlobalSuppressions.cs
+ prompt
+ MinimumRecommendedRules.ruleset
+ ;$(ProgramFiles)\Microsoft Visual Studio 12.0\Team Tools\Static Analysis Tools\Rule Sets
+ ;$(ProgramFiles)\Microsoft Visual Studio 12.0\Team Tools\Static Analysis Tools\FxCop\Rules
+ true
+ false
+
+
+ true
+
+
+
+ False
+ ..\..\..\packages\Hyak.Common.1.0.2\lib\net45\Hyak.Common.dll
+
+
+ False
+ ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.dll
+
+
+ False
+ ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.6.1-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll
+
+
+ False
+ ..\..\..\packages\Microsoft.Azure.Management.Logic.0.1.0-preview\lib\net45\Microsoft.Azure.Management.Logic.dll
+
+
+ False
+ ..\..\..\packages\Microsoft.Azure.Management.WebSites.0.16.7-preview\lib\net45\Microsoft.Azure.Management.WebSites.dll
+
+
+ False
+ ..\..\..\packages\Microsoft.Azure.Management.Resources.2.18.11-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
+
+
+ False
+ ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.18.206251556\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll
+
+
+ ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.18.206251556\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll
+
+
+ False
+ ..\..\..\packages\Microsoft.Rest.ClientRuntime.1.2.0\lib\net45\Microsoft.Rest.ClientRuntime.dll
+
+
+ False
+ ..\..\..\packages\Microsoft.Rest.ClientRuntime.Azure.1.0.20\lib\net45\Microsoft.Rest.ClientRuntime.Azure.dll
+
+
+ False
+ ..\..\..\packages\Microsoft.Rest.ClientRuntime.Azure.Authentication.0.11.0\lib\net45\Microsoft.Rest.ClientRuntime.Azure.Authentication.dll
+
+
+ ..\..\..\packages\Microsoft.Rest.ClientRuntime.Azure.TestFramework.0.9.3-preview\lib\net45\Microsoft.Rest.ClientRuntime.Azure.TestFramework.dll
+
+
+ False
+ ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.dll
+
+
+ ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.dll
+
+
+ ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll
+
+
+ False
+ ..\..\..\packages\Newtonsoft.Json.6.0.8\lib\net45\Newtonsoft.Json.dll
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Code
+
+
+
+
+
+
+
+
+
+
+
+
+ True
+ True
+ Resource.resx
+
+
+
+ Code
+
+
+ Code
+
+
+
+
+
+
+
+
+
+
+ AzureRM.LogicApp.psd1
+ PreserveNewest
+
+
+
+ Designer
+
+
+
+
+ {5ee72c53-1720-4309-b54b-5fb79703195f}
+ Commands.Common
+
+
+ {3819d8a7-c62c-4c47-8ddd-0332d9ce1252}
+ Commands.ResourceManager.Common
+
+
+ {e1f5201d-6067-430e-b303-4e367652991b}
+ Commands.Resources
+
+
+
+
+
+
+
+ ResXFileCodeGenerator
+ Resource.Designer.cs
+
+
+
+
+
+
+
+ Designer
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp/MSSharedLibKey.snk b/src/ResourceManager/LogicApp/Commands.LogicApp/MSSharedLibKey.snk
new file mode 100644
index 000000000000..695f1b38774e
Binary files /dev/null and b/src/ResourceManager/LogicApp/Commands.LogicApp/MSSharedLibKey.snk differ
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp/Microsoft.Azure.Commands.LogicApp.dll-Help.xml b/src/ResourceManager/LogicApp/Commands.LogicApp/Microsoft.Azure.Commands.LogicApp.dll-Help.xml
new file mode 100644
index 000000000000..e8e85f0a8502
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp/Microsoft.Azure.Commands.LogicApp.dll-Help.xml
@@ -0,0 +1,3208 @@
+
+
+
+
+ Get-AzureRmLogicApp
+
+ Gets the specified Logic App from the Azure resource group.
+
+
+
+
+ Get
+ AzureRmLogicApp
+
+
+
+ This is the Description section
+ The Get-AzureRmLogicApp cmdlet retrieves Azure Logic App from the Azure resource group and returns an object that represents the Workflow. Use this cmdlet to get a Logic App from specified resource group. You can get a Logic App by specifying the Logic App name and resource group name. To use the dynamic parameters, just type them in the command, or type a hyphen sign (-) to indicate a parameter name and then press the TAB key repeatedly to cycle through the available parameters. If you miss a required template parameter, the cmdlet prompts you for the value.
+
+
+
+ Get-AzureRmLogicApp
+
+ ResourceGroupName
+
+ Specifies a name for the resource group. This parameter is required.
+
+ String
+
+
+ Name
+
+ Specifies the name of the Logic App. This parameter is required.
+
+ String
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ ResourceGroupName
+
+ Specifies a name for the resource group. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ Name
+
+ Specifies the name of the Logic App. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Microsoft.Azure.Management.Logic.Models.Workflow
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 : Get a Logic App from specified Azure resource group. --------------------------
+
+ PS C:\>
+
+ PS C:\>Get-AzureRmLogicApp -ResourceGroupName "ResourceGroup1" -Name "LogicApp1"
+
+ This command gets a Logic App from the specified Azure resource group.
+
+
+ Id : /subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/LogicAppCmdletTest/providers/Microsoft.Logic/workflows/LogicApp1
+Name : LogicApp1
+Type : Microsoft.Logic/workflows
+Location : westus
+ChangedTime : 1/13/2016 2:41:39 PM
+CreatedTime : 1/13/2016 2:41:39 PM
+AccessEndpoint : https://westus.logic.azure.com:443/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/ResourceGroup1/providers/Microsoft.Logic/workflows/LogicApp1
+State : Enabled
+DefinitionLinkUri :
+DefinitionLinkContentVersion :
+Definition : {$schema, contentVersion, parameters, triggers...}
+ParametersLinkUri :
+ParametersLinkContentVersion :
+Parameters : {[destinationUri, Microsoft.Azure.Management.Logic.Models.WorkflowParameter]}
+SkuName : Standard
+PlanName : StandardServicePlan
+PlanType : Microsoft.Web/ServerFarms
+PlanId : /subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/ResourceGroup1/providers/Microsoft.Web/serverfarms/StandardServicePlan
+Version : 08587489107859952120
+
+
+
+
+
+
+
+
+
+
+
+
+ New-AzureRmLogicApp
+
+
+
+ Set-AzureRmLogicApp
+
+
+
+ Remove-AzureRmLogicApp
+
+
+
+
+
+
+
+ Get-AzureRmLogicAppAccessKey
+
+ Gets the access keys of a specified Logic App.
+
+
+
+
+ Get
+ AzureRmLogicAppAccessKey
+
+
+
+ This is the Description section
+ The Get-AzureRmLogicAppAccessKey cmdlet retrieves access key of an Azure Logic App and returns an object that represents the WorkflowSecretKeys. Use this cmdlet to get a Logic App access key from a specified resource group. You can get a Logic App access key by specifying the Logic App name, resource group name and access key name. To use the dynamic parameters, just type them in the command, or type a hyphen sign (-) to indicate a parameter name and then press the TAB key repeatedly to cycle through the available parameters. If you miss a required template parameter, the cmdlet prompts you for the value.
+
+
+
+ Get-AzureRmLogicAppAccessKey
+
+ ResourceGroupName
+
+ Specifies a name for the resource group. This parameter is required.
+
+ String
+
+
+ Name
+
+ Specifies the name of the Logic App. This parameter is required.
+
+ String
+
+
+ AccessKeyName
+
+ Specifies the name of the access key. This parameter is optional.
+
+ String
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ ResourceGroupName
+
+ Specifies a name for the resource group. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ Name
+
+ Specifies the name of the Logic App. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ AccessKeyName
+
+ Specifies the name of the access key. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Microsoft.Azure.Management.Logic.Models.WorkflowSecretKeys
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 : Get the access key of a Logic App from specified Azure resource group. --------------------------
+
+ PS C:\>
+
+ PS C:\>Get-AzureRmLogicAppAccessKey -ResourceGroupName "ResourceGroup1" -Name "LogicApp1" -AccessKeyName "default"
+
+ This command gets an access key of a Logic App from the specified Azure resource group.
+
+
+ PrimarySecretKey : lTmyIrecVCcpC2wF8M8HeUW7YUL6Y_Uod7jOlrpW-TU
+SecondarySecretKey : IS0G7m3lUfZtrrlSsu7d6IKqwLAwQ_TmKVjrW7yuzx4
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 2 : Gets all the access keys of a Logic App from specified Azure resource group. --------------------------
+
+ PS C:\>
+
+ PS C:\>Get-AzureRmLogicAppAccessKey -ResourceGroupName "ResourceGroup1" -Name "LogicApp1"
+
+ This command gets all the access keys of a Logic App from the specified Azure resource group.
+
+
+ PrimarySecretKey : lTmyIrecVCcpC2wF8M8HeUW7YUL6Y_Uod7jOlrpW-TU
+SecondarySecretKey : IS0G7m3lUfZtrrlSsu7d6IKqwLAwQ_TmKVjrW7yuzx4
+
+
+
+
+
+
+
+
+
+
+
+
+ Get-AzureRmLogicAppAccessKey
+
+
+
+
+
+
+
+ Get-AzureRmLogicAppRunAction
+
+ Gets the specified action from the Logic App run.
+
+
+
+
+ Get
+ AzureRmLogicAppRunAction
+
+
+
+ This is the Description section
+ The Get-AzureRmLogicAppActionRun cmdlet retrieves action from a specified Logic App run and returns an object that represents the WorkflowRunAction. Use this cmdlet to get action(s) from the Logic App run in the specified resource group. You can get a Logic App's run action by specifying the Logic App name, resource group name, run name and action name. To use the dynamic parameters, just type them in the command, or type a hyphen sign (-) to indicate a parameter name and then press the TAB key repeatedly to cycle through the available parameters. If you miss a required template parameter, the cmdlet prompts you for the value.
+
+
+
+ Get-AzureRmLogicAppRunAction
+
+ ResourceGroupName
+
+ Specifies a name for the resource group. This parameter is required.
+
+ String
+
+
+ Name
+
+ Specifies the name of the Logic App. This parameter is required.
+
+ String
+
+
+ RunName
+
+ Specifies the name of the Logic App run. This parameter is required.
+
+ String
+
+
+ ActionName
+
+ Specifies the name of the action in the Logic App run. This parameter is optional.
+
+ String
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ ResourceGroupName
+
+ Specifies a name for the resource group. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ Name
+
+ Specifies the name of the Logic App. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ RunName
+
+ Specifies the name of the Logic App run. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ ActionName
+
+ Specifies the name of the action in the Logic App run. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Microsoft.Azure.Management.Logic.Models.WorkflowRunAction
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 : Get an action from a Logic App run from a specified Azure resource group. --------------------------
+
+ PS C:\>
+
+ PS C:\>Get-AzureRmLogicAppActionRun -ResourceGroupName "Resourcegroup1" -Name "LogicApp1" -RunName "LogicAppRun1" -ActionName "LogicAppAction1"
+
+ This command gets a Logic App action from the specified Logic App run in an Azure resource group.
+
+
+ Code : NotFound
+EndTime : 1/13/2016 2:42:56 PM
+Error :
+InputsLink : Microsoft.Azure.Management.Logic.Models.ContentLink
+Name : LogicAppAction1
+OutputsLink : Microsoft.Azure.Management.Logic.Models.ContentLink
+StartTime : 1/13/2016 2:42:55 PM
+Status : Failed
+TrackingId :
+Type :
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 2 : Get all the actions from a Logic App run from a specified Azure resource group. --------------------------
+
+ PS C:\>
+
+ PS C:\>Get-AzureRmLogicAppActionRun -ResourceGroupName "Resourcegroup1" -Name "LogicApp1" -RunName "LogicAppRun1"
+
+ This command gets all the actions from a Logic App run in a specified Azure resource group.
+
+
+ Code : NotFound
+EndTime : 1/13/2016 2:42:56 PM
+Error :
+InputsLink : Microsoft.Azure.Management.Logic.Models.ContentLink
+Name : LogicAppAction1
+OutputsLink : Microsoft.Azure.Management.Logic.Models.ContentLink
+StartTime : 1/13/2016 2:42:55 PM
+Status : Failed
+TrackingId :
+Type :
+
+
+
+
+
+
+
+
+
+
+
+
+ Get-AzureRmLogicAppRunHistory
+
+
+
+ Start-AzureRmLogicAppRun
+
+
+
+ Stop-AzureRmLogicAppRun
+
+
+
+
+
+
+
+ Get-AzureRmLogicAppRunHistory
+
+ Gets the Logic App run history.
+
+
+
+
+ Get
+ AzureRmLogicAppRunHistory
+
+
+
+ This is the Description section
+ The Get-AzureRmLogicAppRunHistory cmdlet retrieves the Logic App run history and returns a collection of WorkflowRun object for a specified Logic App. Use this cmdlet to get the run history of the Logic App from a specified resource group. You can get a Logic App's run history by specifying the Logic App name and resource group name. To use the dynamic parameters, just type them in the command, or type a hyphen sign (-) to indicate a parameter name and then press the TAB key repeatedly to cycle through the available parameters. If you miss a required template parameter, the cmdlet prompts you for the value.
+
+
+
+ Get-AzureRmLogicAppRunHistory
+
+ ResourceGroupName
+
+ Specifies a name for the resource group. This parameter is required.
+
+ String
+
+
+ Name
+
+ Specifies the name of the Logic App. This parameter is required.
+
+ String
+
+
+ RunName
+
+ Specifies the run name of the Logic App. This parameter is optional.
+
+ String
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ ResourceGroupName
+
+ Specifies a name for the resource group. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ Name
+
+ Specifies the name of the Logic App. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ RunName
+
+ Specifies the run name of the Logic App. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Microsoft.Azure.Management.Logic.Models.WorkflowRun
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 : Gets the Logic App run history for a specified Logic App and Azure resource group. --------------------------
+
+ PS C:\>
+
+ PS C:\>Get-AzureRmLogicAppActionRunHistory -ResourceGroupName "Resourcegroup1" -Name "LogicApp1"
+
+ This command gets a Logic App run history for a specified Logic App and Azure resource group.
+
+
+ CorrelationId : 55830326-9042-404d-a4c3-fab198106a57
+EndTime : 1/13/2016 2:46:55 PM
+Error : {code, message}
+Name : 08587489104702792076
+Outputs : {}
+StartTime : 1/13/2016 2:46:55 PM
+Status : Failed
+TriggerName :
+LogicAppName : LogicApp1
+LogicAppVersion : 08587489107859952540
+
+CorrelationId : d3ddc917-9aaa-47b3-8814-c621c2ae530b
+EndTime : 1/13/2016 2:42:56 PM
+Error : {code, message}
+Name : 08587489107100664541
+Outputs : {}
+StartTime : 1/13/2016 2:42:55 PM
+Status : Failed
+TriggerName : httpTrigger
+LogicAppName : LogicApp1
+LogicAppVersion : 08587489107859952120
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 2 : Gets the specific Logic App run for a specified Logic App and Azure resource group. --------------------------
+
+ PS C:\>
+
+ PS C:\>Get-AzureRmLogicAppActionRunHistory -ResourceGroupName "Resourcegroup1" -Name "LogicApp1" -RunName "08587489104702792076"
+
+ This command gets a Logic App run for a specified Logic App and Azure resource group.
+
+
+ CorrelationId : 55830326-9042-404d-a4c3-fab198106a57
+EndTime : 1/13/2016 2:46:55 PM
+Error : {code, message}
+Name : 08587489104702792076
+Outputs : {}
+StartTime : 1/13/2016 2:46:55 PM
+Status : Failed
+TriggerName :
+LogicAppName : LogicApp1
+LogicAppVersion : 08587489107859952120
+
+
+
+
+
+
+
+
+
+
+
+
+ Get-AzureRmLogicAppRunAction
+
+
+
+ Start-AzureRmLogicApp
+
+
+
+ Stop-AzureRmLogicAppRun
+
+
+
+
+
+
+
+ Get-AzureRmLogicAppTrigger
+
+ Gets the specified trigger of the logic app.
+
+
+
+
+ Get
+ AzureRmLogicAppTrigger
+
+
+
+ This is the Description section
+ The Get-AzureRmLogicAppTrigger cmdlet retrieves the specified trigger from the logic app and returns an object/collection which represents the workflow trigger. Use this cmdlet to get the trigger(s) of the logic app from a specified resource group. You can get the logic app's trigger by specifying the workflow name, resource group name and trigger name. To use the dynamic parameters, just type them in the command, or type a minus sign to indicate a parameter name (-) and then press the TAB key repeatedly to cycle through the available parameters. If you miss a required template parameter, the cmdlet prompts you for the value.
+
+
+
+ Get-AzureRmLogicAppTrigger
+
+ ResourceGroupName
+
+ Specifies a name for the resource group. This parameter is required.
+
+ String
+
+
+ Name
+
+ Specifies the name of the logic app. This parameter is required.
+
+ String
+
+
+ TriggerName
+
+ Specifies the name of the trigger. This parameter is optional.
+
+ String
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ ResourceGroupName
+
+ Specifies a name for the resource group. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ Name
+
+ Specifies the name of the logic app. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ TriggerName
+
+ Specifies the name of the trigger. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Microsoft.Azure.Management.Logic.Models.WorkflowTrigger
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 : Gets the specified Logic App trigger of a Logic App in the specified Azure resource group. --------------------------
+
+ PS C:\>
+
+ PS C:\>Get-AzureRmLogicAppTrigger -ResourceGroupName "Resourcegroup1" -Name "LogicApp1" -TriggerName "Trigger1"
+
+ This command gets the trigger of the specified Logic App and Azure resource group.
+
+
+ ChangedTime : 1/14/2016 11:45:07 AM
+CreatedTime : 1/13/2016 2:42:26 PM
+LastExecutionTime : 1/14/2016 11:45:07 AM
+Name : Trigger1
+NextExecutionTime : 1/14/2016 12:45:07 PM
+RecurrenceFrequency : Minute
+RecurrenceInterval : 60
+Status : Waiting
+Type : Microsoft.Logic/workflows/triggers
+LogicAppName : LogicApp1
+LogicAppVersion : 08587489107406290826
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 2 : Gets Logic App triggers of the Logic App from a specified Azure resource group. --------------------------
+
+ PS C:\>
+
+ PS C:\>Get-AzureRmLogicAppTrigger -ResourceGroupName "Resourcegroup1" -Name "LogicApp1"
+
+ This command gets trigger(s) of the specified Logic App in the Azure resource group.
+
+
+ ChangedTime : 1/14/2016 11:45:07 AM
+CreatedTime : 1/13/2016 2:42:26 PM
+LastExecutionTime : 1/14/2016 11:45:07 AM
+Name : Trigger1
+NextExecutionTime : 1/14/2016 12:45:07 PM
+RecurrenceFrequency : Minute
+RecurrenceInterval : 60
+Status : Waiting
+Type : Microsoft.Logic/workflows/triggers
+LogicAppName : LogicApp1
+LogicAppVersion : 08587489107406290826
+
+
+
+
+
+
+
+
+
+
+
+
+ Get-AzureRmLogicAppTriggerHistory
+
+
+
+ Start-AzureRmLogicApp
+
+
+
+
+
+
+
+ Get-AzureRmLogicAppTriggerHistory
+
+ Gets the trigger history of the specified trigger in the Logic App.
+
+
+
+
+ Get
+ AzureRmLogicAppTriggerHistory
+
+
+
+ This is the Description section
+ The Get-AzureRmLogicAppTriggerHistory cmdlet retrieves the history of the specified trigger in the Logic App and returns an object/collection which represents the Logic App trigger history. Use this cmdlet to get the trigger history of the Logic App from a specified resource group. You can get the Logic App's trigger history by specifying the Logic App name, resource group name, trigger name and history name (optional). To use the dynamic parameters, just type them in the command, or type a minus sign (-) to indicate a parameter name and then press the TAB key repeatedly to cycle through the available parameters. If you miss a required template parameter, the cmdlet prompts you for the value.
+
+
+
+ Get-AzureRmLogicAppTriggerHistory
+
+ ResourceGroupName
+
+ Specifies a name for the resource group. This parameter is required.
+
+ String
+
+
+ Name
+
+ Specifies the name of the Logic App. This parameter is required.
+
+ String
+
+
+ TriggerName
+
+ Specifies the name of the trigger. This parameter is required.
+
+ String
+
+
+ HistoryName
+
+ Specifies the name of the history. This parameter is optional.
+
+ String
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ ResourceGroupName
+
+ Specifies a name for the resource group. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ Name
+
+ Specifies the name of the Logic App. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ TriggerName
+
+ Specifies the name of the trigger. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ HistoryName
+
+ Specifies the name of the history. This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Microsoft.Azure.Management.Logic.Models.WorkflowTriggerHistory
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 : Gets the specified Logic App trigger history for a specified trigger in the Logic App. --------------------------
+
+ PS C:\>
+
+ PS C:\>Get-AzureRmLogicAppTriggerHistory -ResourceGroupName "Resourcegroup1" -Name "LogicApp1" -TriggerName "Trigger1" -HistoryName "08587489107387695768"
+
+ This command gets the Logic App trigger history for a specified trigger in the Logic App.
+
+
+ Code : BadRequest
+EndTime : 1/13/2016 2:42:26 PM
+Error : {code, message}
+Fired : False
+InputsLink : https://flowprodcu02by01.blob.core.windows.net/flow3ea9ffd11c684c9f9f258b1a6ea5cb6020160113t000000zcontent/A7392_d1e831de68ac4ef89d19a40f05e663
+ cb_httpTrigger:5Finputs:2Ejson?sv=2014-02-14&sr=b&sig=rASa1yg14P71ioIStAji5HJfTFCbSjD3LNt2Ypn%2Byg4%3D&se=2016-01-14T16%3A15%3A16Z&sp=r
+Name : 08587489107387695768
+OutputsLink :
+Run :
+StartTime : 1/13/2016 2:42:26 PM
+Status : Failed
+TrackingId : f88a499b-f80f-4a28-9bbf-c4cc0d129700
+Type : Microsoft.Logic/workflows/triggers/histories
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 2 : Gets the Logic App trigger histories for a specified trigger in the logic app. --------------------------
+
+ PS C:\>
+
+ PS C:\>Get-AzureRmLogicAppTriggerHistory -ResourceGroupName "Resourcegroup1" -Name "LogicApp1" -TriggerName "Trigger1"
+
+ This command gets the workflow trigger histories for a specified trigger in the Logic App.
+
+
+ Code : BadRequest
+EndTime : 1/13/2016 2:43:33 PM
+Error : {code, message}
+Fired : False
+InputsLink : https://flowprodcu02by01.blob.core.windows.net/flow3ea9ffd11c684c9f9f258b1a6ea5cb6020160113t000000zcontent/CAB46_60e2ad0f0e1947e8b5798716914c5d
+ b6_httpTrigger:5Finputs:2Ejson?sv=2014-02-14&sr=b&sig=aoyjajRfk5tQucYE%2BW6h9Is%2BAHSE7AcojY%2FOag6DWRA%3D&se=2016-01-14T16%3A18%3A27Z&sp=r
+Name : 08587489106716457817
+OutputsLink :
+Run :
+StartTime : 1/13/2016 2:43:33 PM
+Status : Failed
+TrackingId : c91a63f1-48b4-4eae-91eb-8f6dbfa9fe06
+Type : Microsoft.Logic/workflows/triggers/histories
+
+Code : BadRequest
+EndTime : 1/13/2016 2:42:26 PM
+Error : {code, message}
+Fired : False
+InputsLink : https://flowprodcu02by01.blob.core.windows.net/flow3ea9ffd11c684c9f9f258b1a6ea5cb6020160113t000000zcontent/A7392_d1e831de68ac4ef89d19a40f05e663
+ cb_httpTrigger:5Finputs:2Ejson?sv=2014-02-14&sr=b&sig=XNBbA0FkBQmGPDd%2Be03J0Vsdj4aFRG9YK5YBJwzBbO0%3D&se=2016-01-14T16%3A18%3A27Z&sp=r
+Name : 08587489107387695768
+OutputsLink :
+Run :
+StartTime : 1/13/2016 2:42:26 PM
+Status : Failed
+TrackingId : f88a499b-f80f-4a28-9bbf-c4cc0d129700
+Type : Microsoft.Logic/workflows/triggers/histories
+
+
+
+
+
+
+
+
+
+
+
+
+ Get-AzureRmLogicAppTrigger
+
+
+
+ Start-AzureRmLogicApp
+
+
+
+
+
+
+
+ New-AzureRmLogicApp
+
+ Creates a new Logic App in the azure resource group.
+
+
+
+
+ New
+ AzureRmLogicApp
+
+
+
+ This is the Description section
+ The New-AzureRmLogicApp cmdlet creates an Azure Logic App and returns an object that represents the Workflow. Use this cmdlet to create a new Logic App. A Logic App is a collection of actions or triggers defined in Logic App definition. You can create a Logic App with a name, location, Logic App definition, resource group name and App Service Plan name . However, typically, you use a Logic App template for definition and parameters which is a JSON-based model. To create a Logic App, you can specify definition as DefinitionFilePath or DefinitionLinkUri parameters or as a Definition object(string). To specify values for the Logic App template parameters, use a JSON-formatted parameter file (-ParameterFilePath) or a HashTable of parameter names and values (-Parameters) or ParametersLinkUri parameters. To use the dynamic parameters, just type them in the command, or type a hyphen sign(-) to indicate a parameter name and then press the TAB key repeatedly to cycle through the available parameters. If you miss a required template parameter, the cmdlet prompts you for the value. Template parameter file values that you specify at the command line take precedence over template parameter values in a template parameter object.
+
+
+
+ New-AzureRmLogicApp
+
+ ResourceGroupName
+
+ Specifies a name for the resource group. This parameter is required.
+
+ String
+
+
+ Name
+
+ Specifies the name of the Logic App. This parameter is required.
+
+ String
+
+
+ AppServicePlan
+
+ Specifies the name of the App Service Plan. This parameter is required.
+
+ String
+
+
+ Location
+
+ Specifies the location of the Logic App. This parameter is required. Enter an Azure data center location, such as "West US" or "Southeast Asia". You can place a Logic App in any location.
+
+ String
+
+
+ State
+
+ Specifies a state of the Logic App. Expected values e.g. Enabled, Disabled
+
+ String
+
+
+ DefinitionLinkUri
+
+ Specifies Definition link Uri of the Logic App. If DefinitionLinkUri is provided as parameter then user must provide the "DefinitionLinkContentVersion" parameter.
+
+ String
+
+
+ DefinitionLinkContentVersion
+
+ Specifies the content version of the Definition link Uri.
+
+ String
+
+
+ ParameterLinkUri
+
+ Specifies parameter link Uri of the Logic App. If ParameterLinkUri is provided as parameter then user must provide the "ParameterLinkContentVersion" parameter.
+
+ String
+
+
+ ParameterLinkContentVersion
+
+ Specifies the content version of the Parameter Link Uri of the Logic App.
+
+ String
+
+
+ Parameters
+
+ Parameters collection object of the Logic App. Expected Type HashTable or Dictionary<string,> or Dictionary<string, WorkflowParameter>.
+
+ Object
+
+
+ ParameterFilePath
+
+ Path of a JSON-formatted parameter file.
+
+ String
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+ New-AzureRmLogicApp
+
+ ResourceGroupName
+
+ Specifies a name for the resource group. This parameter is required.
+
+ String
+
+
+ Name
+
+ Specifies the name of the Logic App. This parameter is required.
+
+ String
+
+
+ AppServicePlan
+
+ Specifies the name of the App Service Plan. This parameter is required.
+
+ String
+
+
+ Location
+
+ Specifies the location of the Logic App. This parameter is required. Enter an Azure data center location, such as "West US" or "Southeast Asia". You can place a Logic App in any location.
+
+ String
+
+
+ State
+
+ Specifies a state of the Logic App. Expected values e.g. Enabled, Disabled
+
+ String
+
+
+ Definition
+
+ Definition of the Logic App. Expected type object or JSON-formatted string.
+
+ Object
+
+
+ ParameterLinkUri
+
+ Specifies parameter link Uri of the Logic App. If ParameterLinkUri is provided as parameter then user must provide the "ParameterLinkContentVersion" parameter.
+
+ String
+
+
+ ParameterLinkContentVersion
+
+ Specifies the content version of the Parameter Link Uri of the Logic App.
+
+ String
+
+
+ Parameters
+
+ Parameters collection object of the Logic App. Expected Type HashTable or Dictionary<string,> or Dictionary<string, WorkflowParameter>.
+
+ Object
+
+
+ ParameterFilePath
+
+ Path of a JSON-formatted parameter file.
+
+ String
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+ New-AzureRmLogicApp
+
+ ResourceGroupName
+
+ Specifies a name for the resource group. This parameter is required.
+
+ String
+
+
+ Name
+
+ Specifies the name of the Logic App. This parameter is required.
+
+ String
+
+
+ AppServicePlan
+
+ Specifies the name of the App Service Plan. This parameter is required.
+
+ String
+
+
+ Location
+
+ Specifies the location of the Logic App. This parameter is required. Enter an Azure data center location, such as "West US" or "Southeast Asia". You can place a Logic App in any location.
+
+ String
+
+
+ State
+
+ Specifies a state of the Logic App. Expected values e.g. Enabled, Disabled
+
+ String
+
+
+ DefinitionFilePath
+
+ Path of a JSON-formatted definition file.
+
+ String
+
+
+ ParameterLinkUri
+
+ Specifies parameter link Uri of the Logic App. If ParameterLinkUri is provided as parameter then user must provide the "ParameterLinkContentVersion" parameter.
+
+ String
+
+
+ ParameterLinkContentVersion
+
+ Specifies the content version of the Parameter Link Uri of the Logic App.
+
+ String
+
+
+ Parameters
+
+ Parameters collection object of the Logic App. Expected Type HashTable or Dictionary<string,> or Dictionary<string, WorkflowParameter>.
+
+ Object
+
+
+ ParameterFilePath
+
+ Path of a JSON-formatted parameter file.
+
+ String
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ ResourceGroupName
+
+ Specifies a name for the resource group. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ Name
+
+ Specifies the name of the Logic App. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ AppServicePlan
+
+ Specifies the name of the App Service Plan. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ Location
+
+ Specifies the location of the Logic App. This parameter is required. Enter an Azure data center location, such as "West US" or "Southeast Asia". You can place a Logic App in any location.
+
+ String
+
+ String
+
+
+
+
+
+ State
+
+ Specifies a state of the Logic App. Expected values e.g. Enabled, Disabled
+
+ String
+
+ String
+
+
+ Enabled
+
+
+ DefinitionLinkUri
+
+ Specifies Definition link Uri of the Logic App. If DefinitionLinkUri is provided as parameter then user must provide the "DefinitionLinkContentVersion" parameter.
+
+ String
+
+ String
+
+
+
+
+
+ DefinitionLinkContentVersion
+
+ Specifies the content version of the Definition link Uri.
+
+ String
+
+ String
+
+
+
+
+
+ ParameterLinkUri
+
+ Specifies parameter link Uri of the Logic App. If ParameterLinkUri is provided as parameter then user must provide the "ParameterLinkContentVersion" parameter.
+
+ String
+
+ String
+
+
+
+
+
+ ParameterLinkContentVersion
+
+ Specifies the content version of the Parameter Link Uri of the Logic App.
+
+ String
+
+ String
+
+
+
+
+
+ Parameters
+
+ Parameters collection object of the Logic App. Expected Type HashTable or Dictionary<string,> or Dictionary<string, WorkflowParameter>.
+
+ Object
+
+ Object
+
+
+
+
+
+ ParameterFilePath
+
+ Path of a JSON-formatted parameter file.
+
+ String
+
+ String
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+ Definition
+
+ Definition of the Logic App. Expected type object or JSON-formatted string.
+
+ Object
+
+ Object
+
+
+
+
+
+ DefinitionFilePath
+
+ Path of a JSON-formatted definition file.
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+ None
+
+
+
+
+
+
+
+
+
+
+
+
+ Microsoft.Azure.Management.Logic.Models.Workflow
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 : Creates a Logic App with definition and parameter template file path --------------------------
+
+ PS C:\>
+
+ PS C:\>New-AzureRmLogicApp -ResourceGroupName "ResourceGroup1" -Name "LogicApp1" -State "Enabled" -AppServicePlan "ServicePlan1" -DefinitionFilePath "d:\workflows\Definition.json" -ParameterFilePath "d:\workflows\Parameters.json"
+
+ This command creates a new Logic App in the specified resource group.
+
+
+ Id : /subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/LogicAppCmdletTest/providers/Microsoft.Logic/workflows/LogicApp1
+Name : LogicApp1
+Type : Microsoft.Logic/workflows
+Location : westus
+ChangedTime : 1/13/2016 2:41:39 PM
+CreatedTime : 1/13/2016 2:41:39 PM
+AccessEndpoint : https://westus.logic.azure.com:443/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/ResourceGroup1/providers/Microsoft.Logic/workflows/LogicApp1
+State : Enabled
+DefinitionLinkUri :
+DefinitionLinkContentVersion :
+Definition : {$schema, contentVersion, parameters, triggers...}
+ParametersLinkUri :
+ParametersLinkContentVersion :
+Parameters : {[destinationUri, Microsoft.Azure.Management.Logic.Models.WorkflowParameter]}
+SkuName : Standard
+PlanName : ServicePlan1
+PlanType : Microsoft.Web/ServerFarms
+PlanId : /subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/ResourceGroup1/providers/Microsoft.Web/serverfarms/ServicePlan1
+Version : 08587489107859952120
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 2 : Creates a Logic App with definition and parameter objects --------------------------
+
+ PS C:\>
+
+ PS C:\>New-AzureRmLogicApp -ResourceGroupName "ResourceGroup1" -Name "LogicApp1" -Location "westus" -State "Enabled" -AppServicePlan "ServicePlan1" -Definition [IO.File]::ReadAllText("d:\Workflows\Definition.json") -Parameters @{name1="value1", name2="value2"}
+
+ This command creates a new Logic App in the targeted resource group.
+
+
+ Id : /subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/LogicAppCmdletTest/providers/Microsoft.Logic/workflows/LogicApp1
+Name : LogicApp1
+Type : Microsoft.Logic/workflows
+Location : westus
+ChangedTime : 1/13/2016 2:41:39 PM
+CreatedTime : 1/13/2016 2:41:39 PM
+AccessEndpoint : https://westus.logic.azure.com:443/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/ResourceGroup1/providers/Microsoft.Logic/workflows/LogicApp1
+State : Enabled
+DefinitionLinkUri :
+DefinitionLinkContentVersion :
+Definition : {$schema, contentVersion, parameters, triggers...}
+ParametersLinkUri :
+ParametersLinkContentVersion :
+Parameters : {[destinationUri, Microsoft.Azure.Management.Logic.Models.WorkflowParameter]}
+SkuName : Standard
+PlanName : ServicePlan1
+PlanType : Microsoft.Web/ServerFarms
+PlanId : /subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/ResourceGroup1/providers/Microsoft.Web/serverfarms/ServicePlan1
+Version : 08587489107859952120
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 3 : Creates a Logic App using ResourceGroup pipe input --------------------------
+
+ PS C:\>
+
+ PS C:\>Get-AzureRmResourceGroup -ResourceGroupName "ResourceGroup1" | New-AzureRmLogicApp -Name "LogicApp1" -State "Enabled" -AppServicePlan "ServicePlan1" -DefinitionFilePath "d:\Workflow\Definition.json" -ParameterFilePath "d:\Workflow\Parameters.json"
+
+ This command creates a new Logic App in the specified resource group using the pipe input from the resource group object.
+
+
+ Id : /subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/LogicAppCmdletTest/providers/Microsoft.Logic/workflows/LogicApp1
+Name : LogicApp1
+Type : Microsoft.Logic/workflows
+Location : westus
+ChangedTime : 1/13/2016 2:41:39 PM
+CreatedTime : 1/13/2016 2:41:39 PM
+AccessEndpoint : https://westus.logic.azure.com:443/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/ResourceGroup1/providers/Microsoft.Logic/workflows/LogicApp1
+State : Enabled
+DefinitionLinkUri :
+DefinitionLinkContentVersion :
+Definition : {$schema, contentVersion, parameters, triggers...}
+ParametersLinkUri :
+ParametersLinkContentVersion :
+Parameters : {[destinationUri, Microsoft.Azure.Management.Logic.Models.WorkflowParameter]}
+SkuName : Standard
+PlanName : ServicePlan1
+PlanType : Microsoft.Web/ServerFarms
+PlanId : /subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/ResourceGroup1/providers/Microsoft.Web/serverfarms/ServicePlan1
+Version : 08587489107859952120
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 4 : Creates a Logic App using existing Logic App. --------------------------
+
+ PS C:\>
+
+ PS C:\>New-AzureRmLogicApp -ResourceGroupName "ResourceGroup1" -Name "LogicApp1" -State "Enabled" -AppServicePlan "ServicePlan1" -Definition $workflow.Definition -Parameters $workflow.Parameters
+
+ This command creates a new Logic App in the targeted resource group. In this example, definition and parameters of existing Logic App is used to create new Logic App.
+
+
+ Id : /subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/LogicAppCmdletTest/providers/Microsoft.Logic/workflows/LogicApp1
+Name : LogicApp1
+Type : Microsoft.Logic/workflows
+Location : westus
+ChangedTime : 1/13/2016 2:41:39 PM
+CreatedTime : 1/13/2016 2:41:39 PM
+AccessEndpoint : https://westus.logic.azure.com:443/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/ResourceGroup1/providers/Microsoft.Logic/workflows/LogicApp1
+State : Enabled
+DefinitionLinkUri :
+DefinitionLinkContentVersion :
+Definition : {$schema, contentVersion, parameters, triggers...}
+ParametersLinkUri :
+ParametersLinkContentVersion :
+Parameters : {[destinationUri, Microsoft.Azure.Management.Logic.Models.WorkflowParameter]}
+SkuName : Standard
+PlanName : ServicePlan1
+PlanType : Microsoft.Web/ServerFarms
+PlanId : /subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/ResourceGroup1/providers/Microsoft.Web/serverfarms/ServicePlan1
+Version : 08587489107859952120
+
+
+
+
+
+
+
+
+
+
+
+
+ Get-AzureRmLogicApp
+
+
+
+ Set-AzureRmLogicApp
+
+
+
+ Remove-AzureRmLogicApp
+
+
+
+
+
+
+
+ Remove-AzureRmLogicApp
+
+ Removes the specified Logic App from the specified Azure resource group.
+
+
+
+
+ Remove
+ AzureRmLogicApp
+
+
+
+ This is the Description section
+ The Remove-AzureRmLogicApp cmdlet removes a Logic App from an Azure resource group. Use this cmdlet to remove Logic App from specified resource group. You can remove a Logic App by specifying the Logic App name and resource group name. To use the dynamic parameters, just type them in the command, or type a hyphen sign(-) to indicate a parameter name and then press the TAB key repeatedly to cycle through the available parameters. If you miss a required template parameter, the cmdlet prompts you for the value.
+
+
+
+ Remove-AzureRmLogicApp
+
+ ResourceGroupName
+
+ Specifies a name for the resource group. This parameter is required.
+
+ String
+
+
+ Name
+
+ Specifies the name of the Logic App. This parameter is required.
+
+ String
+
+
+ Force
+
+ Optional switch parameter to force the remove operation without prompt.
+
+ SwitchParameter
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ ResourceGroupName
+
+ Specifies a name for the resource group. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ Name
+
+ Specifies the name of the Logic App. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ Force
+
+ Optional switch parameter to force the remove operation without prompt.
+
+ SwitchParameter
+
+ SwitchParameter
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 : Removes a Logic App from specified Azure resource group. --------------------------
+
+ PS C:\>
+
+ PS C:\>Remove-AzureRmLogicApp -ResourceGroupName "ResourceGroup1" -Name "LogicApp1" -Force
+
+ This command removes a Logic App from the specified Azure resource group.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Set-AzureRmLogicApp
+
+
+
+ Get-AzureRmLogicApp
+
+
+
+ New-AzureRmLogicApp
+
+
+
+
+
+
+
+ Set-AzureRmLogicApp
+
+ Updates a new Logic App in an azure resource group.
+
+
+
+
+ Set
+ AzureRmLogicApp
+
+
+
+ This is the Description section
+ The Set-AzureRmLogicApp cmdlet updates an Azure Logic App and returns an object that represents the Workflow. Use this cmdlet to update a Logic App. You can update a Logic App with a name, Logic App definition, resource group name, App Service Plan name. However, typically, you use a Logic App template for definition and parameters which is JSON-based model. To update a Logic App, you can specify definition as DefinitionFilePath or DefinitionLinkUri parameters or as a Definition object(string). To specify values for the Logic App template parameters, use a JSON-formatted parameter file (-ParameterFilePath) or a HashTable of parameter names and values (-Parameters) or ParametersLinkUri parameters. To use the dynamic parameters, just type them in the command, or type a hyphen sign(-) to indicate a parameter name and then press the TAB key repeatedly to cycle through the available parameters. If you miss a required template parameter, the cmdlet prompts you for the value. Template parameter file values that you specify at the command line take precedence over template parameter values in a template parameter object.
+
+
+
+ Set-AzureRmLogicApp
+
+ ResourceGroupName
+
+ Specifies a name for the resource group. This parameter is required.
+
+ String
+
+
+ Name
+
+ Specifies the name of the Logic App. This parameter is required.
+
+ String
+
+
+ AppServicePlan
+
+ Specifies the name of the App Service Plan. This parameter is required.
+
+ String
+
+
+ State
+
+ Specifies a state of the Logic App. Expected values e.g. Enabled, Disabled
+
+ String
+
+
+ DefinitionLinkUri
+
+ Specifies Definition link Uri of the Logic App. If DefinitionLinkUri is provided as parameter then user must provide the "DefinitionLinkContentVersion" parameter.
+
+ String
+
+
+ DefinitionLinkContentVersion
+
+ Specifies the content version of the Definition link Uri.
+
+ String
+
+
+ Definition
+
+ Definition of the Logic App. Expected type object or JSON-formatted string.
+
+ Object
+
+
+ DefinitionFilePath
+
+ Path of a JSON-formatted definition file.
+
+ String
+
+
+ ParameterLinkUri
+
+ Specifies parameter link Uri of the Logic App. If ParameterLinkUri is provided as parameter then user must provide the "ParameterLinkContentVersion" parameter.
+
+ String
+
+
+ ParameterLinkContentVersion
+
+ Specifies the content version of the Parameter Link Uri of the Logic App.
+
+ String
+
+
+ Parameters
+
+ Parameters collection object of the Logic App. Expected Type HashTable or Dictionary<string,> or Dictionary<string, WorkflowParameter>.
+
+ Object
+
+
+ ParameterFilePath
+
+ Path of a JSON-formatted parameter file.
+
+ String
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ ResourceGroupName
+
+ Specifies a name for the resource group. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ Name
+
+ Specifies the name of the Logic App. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ AppServicePlan
+
+ Specifies the name of the App Service Plan. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ State
+
+ Specifies a state of the Logic App. Expected values e.g. Enabled, Disabled
+
+ String
+
+ String
+
+
+
+
+
+ DefinitionLinkUri
+
+ Specifies Definition link Uri of the Logic App. If DefinitionLinkUri is provided as parameter then user must provide the "DefinitionLinkContentVersion" parameter.
+
+ String
+
+ String
+
+
+
+
+
+ DefinitionLinkContentVersion
+
+ Specifies the content version of the Definition link Uri.
+
+ String
+
+ String
+
+
+
+
+
+ Definition
+
+ Definition of the Logic App. Expected type object or JSON-formatted string.
+
+ Object
+
+ Object
+
+
+
+
+
+ DefinitionFilePath
+
+ Path of a JSON-formatted definition file.
+
+ String
+
+ String
+
+
+
+
+
+ ParameterLinkUri
+
+ Specifies parameter link Uri of the Logic App. If ParameterLinkUri is provided as parameter then user must provide the "ParameterLinkContentVersion" parameter.
+
+ String
+
+ String
+
+
+
+
+
+ ParameterLinkContentVersion
+
+ Specifies the content version of the Parameter Link Uri of the Logic App.
+
+ String
+
+ String
+
+
+
+
+
+ Parameters
+
+ Parameters collection object of the Logic App. Expected Type HashTable or Dictionary<string,> or Dictionary<string, WorkflowParameter>.
+
+ Object
+
+ Object
+
+
+
+
+
+ ParameterFilePath
+
+ Path of a JSON-formatted parameter file.
+
+ String
+
+ String
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Microsoft.Azure.Management.Logic.Models.Workflow
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 : Updates a Logic App --------------------------
+
+ PS C:\>
+
+ PS C:\>Set-AzureRmLogicApp -ResourceGroupName "ResourceGroup1" -Name "LogicApp1" -State "Enabled" -AppServicePlan "ServicePlan1" -DefinitionFilePath "d:\workflows\Definition.json" -ParameterFilePath "d:\workflows\Parameters.json"
+
+ This command updates a Logic App
+
+
+ Id : /subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/LogicAppCmdletTest/providers/Microsoft.Logic/workflows/LogicApp1
+Name : LogicApp1
+Type : Microsoft.Logic/workflows
+Location : westus
+ChangedTime : 1/13/2016 2:41:39 PM
+CreatedTime : 1/13/2016 2:41:39 PM
+AccessEndpoint : https://westus.logic.azure.com:443/subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourcegroups/ResourceGroup1/providers/Microsoft.Logic/workflows/LogicApp1
+State : Enabled
+DefinitionLinkUri :
+DefinitionLinkContentVersion :
+Definition : {$schema, contentVersion, parameters, triggers...}
+ParametersLinkUri :
+ParametersLinkContentVersion :
+Parameters : {[destinationUri, Microsoft.Azure.Management.Logic.Models.WorkflowParameter]}
+SkuName : Standard
+PlanName : ServicePlan1
+PlanType : Microsoft.Web/ServerFarms
+PlanId : /subscriptions/57b7034d-72d4-433d-ace2-a7460aed6a99/resourceGroups/ResourceGroup1/providers/Microsoft.Web/serverfarms/ServicePlan1
+Version : 08587489107859952120
+
+
+
+
+
+
+
+
+
+
+
+
+ New-AzureRmLogicApp
+
+
+
+ Get-AzureRmLogicApp
+
+
+
+ Remove-AzureRmLogicApp
+
+
+
+
+
+
+
+ Set-AzureRmLogicAppAccessKey
+
+ Updates the access keys of a specified Logic App.
+
+
+
+
+ Set
+ AzureRmLogicAppAccessKey
+
+
+
+ This is the Description section
+ The Set-AzureRmLogicAppAccessKey cmdlet updates the access key of an Azure Logic App and returns an object that represents the WorkflowSecretKeys. Use this cmdlet to update a Logic App access key in a specified resource group. You can set Logic App access keys by specifying the Logic App name, resource group name, Access key name and KeyType. To use the dynamic parameters, just type them in the command, or type a hyphen sign(-) to indicate a parameter name and then press the TAB key repeatedly to cycle through the available parameters. If you miss a required template parameter, the cmdlet prompts you for the value.
+
+
+
+ Set-AzureRmLogicAppAccessKey
+
+ ResourceGroupName
+
+ Specifies a name for the resource group. This parameter is required.
+
+ String
+
+
+ Name
+
+ Specifies the name of the Logic App. This parameter is required.
+
+ String
+
+
+ AccessKeyName
+
+ Specifies the name of the access key. This parameter is required.
+
+ String
+
+
+ KeyType
+
+ Specifies the value of KeyType (Primary, Secondary & NotSpecified). This parameter is optional.
+
+ String
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ ResourceGroupName
+
+ Specifies a name for the resource group. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ Name
+
+ Specifies the name of the Logic App. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ AccessKeyName
+
+ Specifies the name of the access key. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ KeyType
+
+ Specifies the value of KeyType (Primary, Secondary & NotSpecified). This parameter is optional.
+
+ String
+
+ String
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Microsoft.Azure.Management.Logic.Models.WorkflowSecretKeys
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 : Sets the access key of a Logic App in a specified Azure resource group. --------------------------
+
+ PS C:\>
+
+ PS C:\>Set-AzureRmLogicAppAccessKey -ResourceGroupName "ResourceGroup1" -Name "LogicApp1" -AccessKeyName "AccessKey1" -KeyType "Primary"
+
+ This command sets the access key of a Logic App in a specified Azure resource group.
+
+
+ PrimarySecretKey : lTmyIrecVCcpC2wF8M8HeUW7YUL6Y_Uod7jOlrpW-TU
+SecondarySecretKey : IS0G7m3lUfZtrrlSsu7d6IKqwLAwQ_TmKVjrW7yuzx4
+
+
+
+
+
+
+
+
+
+
+
+
+ Get-AzureRmLogicAppAccessKey
+
+
+
+
+
+
+
+ Start-AzureRmLogicApp
+
+ Runs the specified Logic App in the Azure resource group.
+
+
+
+
+ Start
+ AzureRmLogicApp
+
+
+
+ This is the Description section
+ The Start-AzureRmLogicApp cmdlet runs the Azure Logic App. Use this cmdlet to run a Logic App from a specified resource group. You can run a Logic App by specifying the Logic App name, resource group name, parameters(optional) and trigger name. To use the dynamic parameters, just type them in the command, or type a hyphen(-) sign to indicate a parameter name and then press the TAB key repeatedly to cycle through the available parameters. If you miss a required template parameter, the cmdlet prompts you for the value.
+
+
+
+ Start-AzureRmLogicApp
+
+ ResourceGroupName
+
+ Specifies a name for the resource group. This parameter is required.
+
+ String
+
+
+ Name
+
+ Specifies the name of the Logic App. This parameter is required.
+
+ String
+
+
+ Parameters
+
+ Specifies the run parameters for the Logic App. This parameter is optional.
+
+ Object
+
+
+ TriggerName
+
+ Specifies the trigger name of the Logic App. This parameter is required.
+
+ String
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ ResourceGroupName
+
+ Specifies a name for the resource group. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ Name
+
+ Specifies the name of the Logic App. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ Parameters
+
+ Specifies the run parameters for the Logic App. This parameter is optional.
+
+ Object
+
+ Object
+
+
+
+
+
+ TriggerName
+
+ Specifies the trigger name of the Logic App. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 : Runs the Logic App present in the specified Azure resource group. --------------------------
+
+ PS C:\>
+
+ PS C:\>Start-AzureRmLogicApp -ResourceGroupName "ResourceGroup1" -Name "LogicApp1" -TriggerName "Trigger1"
+
+ This command runs the Logic App present in the specified Azure resource group.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Stop-AzureRmLogicAppRun
+
+
+
+
+
+
+
+ Stop-AzureRmLogicAppRun
+
+ Cancels the specified run of a Logic App present in the Azure resource group.
+
+
+
+
+ Stop
+ AzureRmLogicAppRun
+
+
+
+ This is the Description section
+ The Stop-AzureRmLogicAppRun cmdlet cancels the run of the Azure Logic App. Use this cmdlet to cancel the specified run of a Logic App. You can cancel the run of a Logic App by specifying the Logic App name, resource group name and run name. To use the dynamic parameters, just type them in the command, or type a hyphen sign(-) to indicate a parameter name and then press the TAB key repeatedly to cycle through the available parameters. If you miss a required template parameter, the cmdlet prompts you for the value.
+
+
+
+ Stop-AzureRmLogicAppRun
+
+ ResourceGroupName
+
+ Specifies a name for the resource group. This parameter is required.
+
+ String
+
+
+ Name
+
+ Specifies the name of the Logic App. This parameter is required.
+
+ String
+
+
+ RunName
+
+ Specifies the name of the Logic App run. This parameter is required.
+
+ String
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+
+ InformationVariable
+
+
+
+ String
+
+
+
+
+
+ ResourceGroupName
+
+ Specifies a name for the resource group. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ Name
+
+ Specifies the name of the Logic App. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ RunName
+
+ Specifies the name of the Logic App run. This parameter is required.
+
+ String
+
+ String
+
+
+
+
+
+ InformationAction
+
+
+
+ ActionPreference
+
+ ActionPreference
+
+
+
+
+
+ InformationVariable
+
+
+
+ String
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -------------------------- Example 1 : Cancels the specified run of the Logic App present in an Azure resource group. --------------------------
+
+ PS C:\>
+
+ PS C:\>Get-AzureRmLogicApp -ResourceGroupName "ResourceGroup1" -Name "LogicApp1" -RunName "Run1"
+
+ This command cancels the specified run of the Logic App present in an Azure resource group.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Start-AzureRmLogicApp
+
+
+
+
+
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp/Microsoft.Azure.Commands.LogicApp.dll-help.psd1 b/src/ResourceManager/LogicApp/Commands.LogicApp/Microsoft.Azure.Commands.LogicApp.dll-help.psd1
new file mode 100644
index 000000000000..e8ae99c36f0f
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp/Microsoft.Azure.Commands.LogicApp.dll-help.psd1
@@ -0,0 +1,85 @@
+#
+# Module manifest for module 'Azure'
+#
+# Generated by: Microsoft Corporation
+#
+# Generated on: 5/23/2012
+#
+
+@{
+
+# Version number of this module.
+ModuleVersion = '0.9.10'
+
+# ID used to uniquely identify this module
+GUID = '929A5C9C-AB3F-4E46-A1B9-F185CAB5B479'
+
+# Author of this module
+Author = 'Microsoft Corporation'
+
+# Company or vendor of this module
+CompanyName = 'Microsoft Corporation'
+
+# Copyright statement for this module
+Copyright = 'Microsoft Corporation. All rights reserved.'
+
+# Description of the functionality provided by this module
+Description = ''
+
+# Minimum version of the Windows PowerShell engine required by this module
+PowerShellVersion = '3.0'
+
+# Name of the Windows PowerShell host required by this module
+PowerShellHostName = ''
+
+# Minimum version of the Windows PowerShell host required by this module
+PowerShellHostVersion = ''
+
+# Minimum version of the .NET Framework required by this module
+DotNetFrameworkVersion = '4.0'
+
+# Minimum version of the common language runtime (CLR) required by this module
+CLRVersion='4.0'
+
+# Processor architecture (None, X86, Amd64, IA64) required by this module
+ProcessorArchitecture = 'None'
+
+# Modules that must be imported into the global environment prior to importing this module
+RequiredModules = @()
+
+# Assemblies that must be loaded prior to importing this module
+RequiredAssemblies = @()
+
+# Script files (.ps1) that are run in the caller's environment prior to importing this module
+ScriptsToProcess = @()
+
+# Type files (.ps1xml) to be loaded when importing this module
+TypesToProcess = @()
+
+# Format files (.ps1xml) to be loaded when importing this module
+FormatsToProcess = @()
+
+# Modules to import as nested modules of the module specified in ModuleToProcess
+NestedModules = '..\..\..\Package\Debug\ResourceManager\AzureResourceManager\AzureRM.LogicApp\Microsoft.Azure.Commands.LogicApp.dll'
+# Functions to export from this module
+FunctionsToExport = '*'
+
+# Cmdlets to export from this module
+CmdletsToExport = '*'
+
+# Variables to export from this module
+VariablesToExport = '*'
+
+# Aliases to export from this module
+AliasesToExport = @()
+
+# List of all modules packaged with this module
+ModuleList = @()
+
+# List of all files packaged with this module
+FileList = @()
+
+# Private data to pass to the module specified in ModuleToProcess
+PrivateData = ''
+
+}
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp/Microsoft.Azure.Commands.LogicApp.format.ps1xml b/src/ResourceManager/LogicApp/Commands.LogicApp/Microsoft.Azure.Commands.LogicApp.format.ps1xml
new file mode 100644
index 000000000000..cfaab3bf2770
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp/Microsoft.Azure.Commands.LogicApp.format.ps1xml
@@ -0,0 +1,375 @@
+
+
+
+
+ Microsoft.Azure.Management.Logic.Models.Workflow
+
+ Microsoft.Azure.Management.Logic.Models.Workflow
+
+
+
+
+
+
+
+ Id
+
+
+
+ Name
+
+
+
+ Type
+
+
+
+ Location
+
+
+
+ ChangedTime
+
+
+
+ CreatedTime
+
+
+
+ AccessEndpoint
+
+
+
+ State
+
+
+
+ $_.DefinitionLink.Uri.ToString()
+
+
+
+ $_.DefinitionLink.ContentVersion.ToString()
+
+
+
+ Definition
+
+
+
+ $_.ParametersLink.Uri.ToString()
+
+
+
+ $_.ParametersLink.ContentVersion.ToString()
+
+
+
+ Parameters
+
+
+
+ $_.Sku.Name.ToString()
+
+
+
+ $_.Sku.Plan.Name.ToString()
+
+
+
+ $_.Sku.Plan.Type.ToString()
+
+
+
+ $_.Sku.Plan.Id.ToString()
+
+
+
+ Version
+
+
+
+
+
+
+
+ Microsoft.Azure.Management.Logic.Models.WorkflowRun
+
+ Microsoft.Azure.Management.Logic.Models.WorkflowRun
+
+
+
+
+
+
+
+ CorrelationId
+
+
+
+ EndTime
+
+
+
+ Error
+
+
+
+ Name
+
+
+
+ Outputs
+
+
+
+ StartTime
+
+
+
+ Status
+
+
+
+ $_.Trigger.Name.ToString()
+
+
+
+ $_.Workflow.Name.Split('/')[0]
+
+
+
+ $_.Workflow.Name.Split('/')[1]
+
+
+
+
+
+
+
+ Microsoft.Azure.Management.Logic.Models.WorkflowRunAction
+
+ Microsoft.Azure.Management.Logic.Models.WorkflowRunAction
+
+
+
+
+
+
+
+ Code
+
+
+
+ EndTime
+
+
+
+ Error
+
+
+
+ $_.InputsLink.Uri
+
+
+
+ Name
+
+
+
+ $_.OutputsLink.Uri
+
+
+
+ StartTime
+
+
+
+ Status
+
+
+
+ TrackingId
+
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.Management.Logic.Models.WorkflowTrigger
+
+ Microsoft.Azure.Management.Logic.Models.WorkflowTrigger
+
+
+
+
+
+
+
+ ChangedTime
+
+
+
+ CreatedTime
+
+
+
+ LastExecutionTime
+
+
+
+ Name
+
+
+
+ NextExecutionTime
+
+
+
+ $_.Recurrence.Frequency.ToString()
+
+
+
+ $_.Recurrence.Interval
+
+
+
+ Status
+
+
+
+ Type
+
+
+
+ $_.Workflow.Name.Split('/')[0]
+
+
+
+ $_.Workflow.Name.Split('/')[1]
+
+
+
+
+
+
+
+ Microsoft.Azure.Management.Logic.Models.WorkflowTriggerHistory
+
+ Microsoft.Azure.Management.Logic.Models.WorkflowTriggerHistory
+
+
+
+
+
+
+
+ Code
+
+
+
+ EndTime
+
+
+
+ Error
+
+
+
+ Fired
+
+
+
+ $_.InputsLink.Uri
+
+
+
+ Name
+
+
+
+ $_.OutputsLink.Uri
+
+
+
+ $_.Run.Name
+
+
+
+ StartTime
+
+
+
+ Status
+
+
+
+ TrackingId
+
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.Management.Logic.Models.WorkflowAccessKey
+
+ Microsoft.Azure.Management.Logic.Models.WorkflowAccessKey
+
+
+
+
+
+
+
+ Name
+
+
+
+ NotAfter
+
+
+
+ NotBefore
+
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.Management.Logic.Models.WorkflowSecretKeys
+
+ Microsoft.Azure.Management.Logic.Models.WorkflowSecretKeys
+
+
+
+
+
+
+
+ PrimarySecretKey
+
+
+
+ SecondarySecretKey
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp/Properties/AssemblyInfo.cs b/src/ResourceManager/LogicApp/Commands.LogicApp/Properties/AssemblyInfo.cs
new file mode 100644
index 000000000000..4c68e2ca7928
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp/Properties/AssemblyInfo.cs
@@ -0,0 +1,33 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("Microsoft Azure Powershell - LogicApp")]
+[assembly: AssemblyCompany(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyCompany)]
+[assembly: AssemblyProduct(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyProduct)]
+[assembly: AssemblyCopyright(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyCopyright)]
+
+[assembly: ComVisible(false)]
+[assembly: CLSCompliant(false)]
+
+[assembly: Guid("e50b915e-1c94-4cd1-bbea-72ff2246d237")]
+[assembly: AssemblyVersion("1.0.0")]
+[assembly: AssemblyFileVersion("1.0.0")]
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp/Properties/Resource.Designer.cs b/src/ResourceManager/LogicApp/Commands.LogicApp/Properties/Resource.Designer.cs
new file mode 100644
index 000000000000..537fd4eeb557
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp/Properties/Resource.Designer.cs
@@ -0,0 +1,135 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.42000
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace Microsoft.Azure.Commands.LogicApp.Properties {
+ using System;
+
+
+ ///
+ /// A strongly-typed resource class, for looking up localized strings, etc.
+ ///
+ // This class was auto-generated by the StronglyTypedResourceBuilder
+ // class via a tool like ResGen or Visual Studio.
+ // To add or remove a member, edit your .ResX file then rerun ResGen
+ // with the /str option, or rebuild your VS project.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ internal class Resource {
+
+ private static global::System.Resources.ResourceManager resourceMan;
+
+ private static global::System.Globalization.CultureInfo resourceCulture;
+
+ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+ internal Resource() {
+ }
+
+ ///
+ /// Returns the cached ResourceManager instance used by this class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Resources.ResourceManager ResourceManager {
+ get {
+ if (object.ReferenceEquals(resourceMan, null)) {
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Microsoft.Azure.Commands.LogicApp.Properties.Resource", typeof(Resource).Assembly);
+ resourceMan = temp;
+ }
+ return resourceMan;
+ }
+ }
+
+ ///
+ /// Overrides the current thread's CurrentUICulture property for all
+ /// resource lookups using this strongly typed resource class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Globalization.CultureInfo Culture {
+ get {
+ return resourceCulture;
+ }
+ set {
+ resourceCulture = value;
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to /subscriptions/{0}/resourceGroups/{1}/providers/Microsoft.Web/serverfarms/{2}.
+ ///
+ internal static string ApplicationServicePlanIdFormat {
+ get {
+ return ResourceManager.GetString("ApplicationServicePlanIdFormat", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Definition content needs to be specified..
+ ///
+ internal static string DefinitionMissingWarning {
+ get {
+ return ResourceManager.GetString("DefinitionMissingWarning", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to File {0} does not exist..
+ ///
+ internal static string FileDoesNotExist {
+ get {
+ return ResourceManager.GetString("FileDoesNotExist", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to {0} needs to be specified..
+ ///
+ internal static string ParameterNeedsToBeSpecified {
+ get {
+ return ResourceManager.GetString("ParameterNeedsToBeSpecified", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Removing logic app..
+ ///
+ internal static string RemoveLogicAppMessage {
+ get {
+ return ResourceManager.GetString("RemoveLogicAppMessage", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Are you sure you want to remove the logic app "{0}"..
+ ///
+ internal static string RemoveLogicAppWarning {
+ get {
+ return ResourceManager.GetString("RemoveLogicAppWarning", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The Resource 'Microsoft.Logic/workflows/{0}' under resource group '{1}' already exists..
+ ///
+ internal static string ResourceAlreadyExists {
+ get {
+ return ResourceManager.GetString("ResourceAlreadyExists", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The Resource 'Microsoft.Logic/workflows/{0}' under resource group '{1}' was not found..
+ ///
+ internal static string ResourceNotFound {
+ get {
+ return ResourceManager.GetString("ResourceNotFound", resourceCulture);
+ }
+ }
+ }
+}
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp/Properties/Resource.resx b/src/ResourceManager/LogicApp/Commands.LogicApp/Properties/Resource.resx
new file mode 100644
index 000000000000..e0c15064deaa
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp/Properties/Resource.resx
@@ -0,0 +1,144 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ /subscriptions/{0}/resourceGroups/{1}/providers/Microsoft.Web/serverfarms/{2}
+
+
+ Definition content needs to be specified.
+
+
+ File {0} does not exist.
+
+
+ {0} needs to be specified.
+
+
+ Removing logic app.
+
+
+ Are you sure you want to remove the logic app "{0}".
+
+
+ The Resource 'Microsoft.Logic/workflows/{0}' under resource group '{1}' already exists.
+
+
+ The Resource 'Microsoft.Logic/workflows/{0}' under resource group '{1}' was not found.
+
+
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp/Utilities/CmdletHelper.cs b/src/ResourceManager/LogicApp/Commands.LogicApp/Utilities/CmdletHelper.cs
new file mode 100644
index 000000000000..4b3da5f52c8e
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp/Utilities/CmdletHelper.cs
@@ -0,0 +1,146 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using Microsoft.Azure.Management.Logic;
+
+namespace Microsoft.Azure.Commands.LogicApp.Utilities
+{
+ using System.Collections;
+ using System.Collections.Generic;
+ using System.Globalization;
+ using System.IO;
+ using System.Management.Automation;
+ using Microsoft.Azure.Management.Logic.Models;
+ using Newtonsoft.Json.Linq;
+ using Newtonsoft.Json;
+ using Microsoft.Azure.Management.WebSites.Models;
+
+ ///
+ /// Helper class for the logic app commands
+ ///
+ public static class CmdletHelper
+ {
+ ///
+ /// Creates the definition object from file.
+ ///
+ /// File path of the definition
+ /// Json model defintion object
+ internal static JToken GetDefinitionFromFile(string definitionFilePath)
+ {
+ JToken definition = null;
+
+ if (!string.IsNullOrEmpty(definitionFilePath))
+ {
+ if (!(new FileInfo(definitionFilePath)).Exists)
+ {
+ throw new PSArgumentException(string.Format(CultureInfo.InvariantCulture,
+ Properties.Resource.FileDoesNotExist, definitionFilePath));
+ }
+
+ definition = JToken.Parse(File.ReadAllText(definitionFilePath));
+ }
+
+ return definition;
+ }
+
+ ///
+ /// Creates the dictionary collection from the parameter file
+ ///
+ /// Parameter file path
+ /// Workflow parameter dictionary
+ internal static Dictionary GetParametersFromFile(string parametersFilePath)
+ {
+ Dictionary inputParameters = null;
+
+ if (!string.IsNullOrEmpty(parametersFilePath))
+ {
+ if (!(new FileInfo(parametersFilePath)).Exists)
+ {
+ throw new PSArgumentException(string.Format(CultureInfo.InvariantCulture,
+ Properties.Resource.FileDoesNotExist, parametersFilePath));
+ }
+
+ var inputParametersObject = JObject.Parse(File.ReadAllText(parametersFilePath));
+ var values = JsonConvert.DeserializeObject>(inputParametersObject.ToString());
+
+ inputParameters = new Dictionary();
+
+ foreach (var parameter in values)
+ {
+ var workflowParameter = JsonConvert.DeserializeObject(parameter.Value.ToString());
+ inputParameters.Add(parameter.Key, workflowParameter);
+ }
+ }
+ return inputParameters;
+ }
+
+ ///
+ /// Convert object to WorkflowParameter dictionary.
+ ///
+ /// Parameters object
+ /// Workflow parameter dictionary
+ internal static Dictionary ConvertToWorkflowParameterDictionary(
+ object parametersObject)
+ {
+ Dictionary workflowParameters = null;
+ if (parametersObject is Hashtable)
+ {
+ var collection = parametersObject as Hashtable;
+ var inputParameters = new Dictionary();
+
+ foreach (var key in collection.Keys)
+ {
+ inputParameters.Add(key.ToString(), new WorkflowParameter
+ {
+ Value = collection[key].ToString()
+ });
+ }
+ workflowParameters = inputParameters;
+ }
+ else if (parametersObject is Dictionary)
+ {
+ workflowParameters = parametersObject as Dictionary;
+ }
+ return workflowParameters;
+ }
+
+ ///
+ /// Build App service plan id using plan name and resourcegroup name
+ /// Null check for parameter not needed as both these parameters are required parameters.
+ ///
+ /// App service plan name
+ /// Resource group name
+ /// Subscription id
+ /// App service plan id
+ internal static string BuildAppServicePlanId(string planName, string resourceGroupName, string subscriptionId)
+ {
+ return string.Format(CultureInfo.InvariantCulture,
+ Properties.Resource.ApplicationServicePlanIdFormat, subscriptionId, resourceGroupName, planName);
+ }
+
+ ///
+ /// Converts IEnumerator to IEnumerable
+ ///
+ /// Generic Type
+ /// Enumerator to be converted
+ /// IEnumerable collection
+ public static IEnumerable ToIEnumerable(this IEnumerator enumerator)
+ {
+ while (enumerator.MoveNext())
+ {
+ yield return enumerator.Current;
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp/Utilities/Constants.cs b/src/ResourceManager/LogicApp/Commands.LogicApp/Utilities/Constants.cs
new file mode 100644
index 000000000000..ac704c62909d
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp/Utilities/Constants.cs
@@ -0,0 +1,29 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+namespace Microsoft.Azure.Commands.LogicApp.Utilities
+{
+ ///
+ /// Constant class
+ ///
+ public class Constants
+ {
+ public const string StatusEnabled = "Enabled";
+ public const string StatusDisabled = "Disabled";
+
+ public const string KeyTypeNotSpecified = "NotSpecified";
+ public const string KeyTypePrimary = "Primary";
+ public const string KeyTypeSecondary = "Secondary";
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp/Utilities/LogicAppBaseCmdlet.cs b/src/ResourceManager/LogicApp/Commands.LogicApp/Utilities/LogicAppBaseCmdlet.cs
new file mode 100644
index 000000000000..15ff67207f61
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp/Utilities/LogicAppBaseCmdlet.cs
@@ -0,0 +1,75 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+namespace Microsoft.Azure.Commands.LogicApp.Utilities
+{
+ using ResourceManager.Common;
+
+ public abstract class LogicAppBaseCmdlet : AzureRMCmdlet
+ {
+ ///
+ /// LogicApp client
+ ///
+ private LogicAppClient _logicAppClient = null;
+
+ ///
+ /// Websites client
+ ///
+ private WebsitesClient _websitesClient = null;
+
+ ///
+ /// Gets or sets the LogicApp client used in the PowerShell commands.
+ ///
+ public LogicAppClient LogicAppClient
+ {
+ get
+ {
+ this._logicAppClient = new LogicAppClient(DefaultProfile.Context)
+ {
+ VerboseLogger = WriteVerboseWithTimestamp,
+ ErrorLogger = WriteErrorWithTimestamp
+ };
+
+ return _logicAppClient;
+ }
+
+ set
+ {
+ this._logicAppClient = value;
+ }
+ }
+
+ ///
+ /// Gets or sets the WebsitesClient client used in the PowerShell commands.
+ ///
+ public WebsitesClient WebsitesClient
+ {
+ get
+ {
+ this._websitesClient = new WebsitesClient(DefaultProfile.Context)
+ {
+ VerboseLogger = WriteVerboseWithTimestamp,
+ ErrorLogger = WriteErrorWithTimestamp
+ };
+
+ return _websitesClient;
+ }
+
+ set
+ {
+ this._websitesClient = value;
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp/Utilities/LogicAppClient.cs b/src/ResourceManager/LogicApp/Commands.LogicApp/Utilities/LogicAppClient.cs
new file mode 100644
index 000000000000..bd7cdf1e8ca3
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp/Utilities/LogicAppClient.cs
@@ -0,0 +1,146 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+
+namespace Microsoft.Azure.Commands.LogicApp.Utilities
+{
+ using System;
+ using System.Management.Automation;
+ using System.Globalization;
+ using Microsoft.Azure.Common.Authentication;
+ using Microsoft.Azure.Common.Authentication.Models;
+ using Microsoft.Azure.Management.Logic;
+ using Microsoft.Azure.Management.Logic.Models;
+
+ ///
+ /// LogicApp client class
+ ///
+ public partial class LogicAppClient
+ {
+ ///
+ /// Gets or sets the Verbose Logger
+ ///
+ public Action VerboseLogger { get; set; }
+
+ ///
+ /// Gets or sets the Error Logger
+ ///
+ public Action ErrorLogger { get; set; }
+
+ ///
+ /// Creates new LogicManagement client instance.
+ ///
+ /// The Azure context instance
+ public LogicAppClient(AzureContext context)
+ {
+ this.LogicManagementClient = AzureSession.ClientFactory.CreateArmClient(context, AzureEnvironment.Endpoint.ResourceManager);
+ this.LogicManagementClient.SubscriptionId = context.Subscription.Id.ToString();
+ }
+
+ ///
+ /// Creates new LogicManagement client instance.
+ ///
+ public LogicAppClient()
+ {
+ }
+
+ ///
+ /// Creates new LogicManagement client instance.
+ ///
+ /// client reference
+ public LogicAppClient(ILogicManagementClient client)
+ {
+ this.LogicManagementClient = client;
+ }
+
+ ///
+ /// Gets or sets the Logic client instance
+ ///
+ public ILogicManagementClient LogicManagementClient { get; set; }
+
+ ///
+ /// Updates workflow in the azure resource group
+ ///
+ /// Name of the resource group
+ /// Workflow name
+ /// Workflow object
+ /// Newly created workflow object
+ public Workflow UpdateWorkflow(string resourceGroupName, string workflowName, Workflow workflow)
+ {
+ return this.LogicManagementClient.Workflows.CreateOrUpdate(resourceGroupName, workflowName, workflow);
+ }
+
+ ///
+ /// Creates workflow in the azure resource group
+ ///
+ /// Name of the resource group
+ /// Workflow name
+ /// Workflow object
+ /// Newly created workflow object
+ public Workflow CreateWorkflow(string resourceGroupName, string workflowName, Workflow workflow)
+ {
+ if (!this.DoesLogicAppExist(resourceGroupName, workflowName))
+ {
+ return this.LogicManagementClient.Workflows.CreateOrUpdate(resourceGroupName, workflowName, workflow);
+ }
+ else
+ {
+ throw new PSArgumentException(string.Format(CultureInfo.InvariantCulture,
+ Properties.Resource.ResourceAlreadyExists, workflowName, resourceGroupName));
+ }
+ }
+
+ ///
+ /// Gets the workflow by name from given resource group.
+ ///
+ /// Name of the resource group
+ /// Workflow name
+ /// Workflow object
+ public Workflow GetWorkflow(string resourceGroupName, string workflowName)
+ {
+ return this.LogicManagementClient.Workflows.Get(resourceGroupName, workflowName);
+ }
+
+ ///
+ /// Removes the specified workflow from the given resource group.
+ ///
+ /// Name of the resource group
+ /// Workflow name
+ public void RemoveWorkflow(string resourceGroupName, string workflowName)
+ {
+ this.LogicManagementClient.Workflows.Delete(resourceGroupName, workflowName);
+ }
+
+ ///
+ /// Checks whether logic app exists or not
+ ///
+ /// Name of the resource group
+ /// Name of the workflow
+ /// Boolean result
+ private bool DoesLogicAppExist(string resourceGroupName, string workflowName)
+ {
+ bool result = false;
+ try
+ {
+ var workflow = this.LogicManagementClient.Workflows.GetAsync(resourceGroupName, workflowName).Result;
+ result = workflow != null;
+ }
+ catch
+ {
+ result = false;
+ }
+ return result;
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp/Utilities/LogicAppClientAccessKeyOperations.cs b/src/ResourceManager/LogicApp/Commands.LogicApp/Utilities/LogicAppClientAccessKeyOperations.cs
new file mode 100644
index 000000000000..b84f2fac9588
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp/Utilities/LogicAppClientAccessKeyOperations.cs
@@ -0,0 +1,74 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+namespace Microsoft.Azure.Commands.LogicApp.Utilities
+{
+ using Microsoft.Azure.Management.Logic.Models;
+ using Microsoft.Azure.Management.Logic;
+ using Microsoft.Rest.Azure;
+ using System;
+
+ ///
+ /// LogicApp client partial class for access key operations
+ ///
+ public partial class LogicAppClient
+ {
+ ///
+ /// Gets the workflow access key by name
+ ///
+ /// Name of the resource group
+ /// Name of the workflow
+ /// Name of the access key
+ /// Workflow accesskey object
+ public WorkflowSecretKeys GetWorkflowAccessKey(string resourceGroupName, string workflowName,
+ string accessKeyName)
+ {
+ return this.LogicManagementClient.WorkflowAccessKeys.ListSecretKeys(resourceGroupName, workflowName, accessKeyName);
+ }
+
+ ///
+ /// Gets the list of access keys of specified workflow
+ ///
+ /// Name of the resource group
+ /// Name of the workflow
+ /// List of the access keys
+ public Page GetWorkflowAccessKeys(string resourceGroupName, string workflowName)
+ {
+ return
+ (Page)
+ this.LogicManagementClient.WorkflowAccessKeys.List(resourceGroupName, workflowName);
+ }
+
+ ///
+ /// Regenerate secrets for the AccessKeys of the workflow
+ ///
+ /// Name of the resource group
+ /// Name of the workflow
+ /// Name of the access key
+ /// Type of key 'NotSpecified', 'Primary', 'Secondary'
+ /// Workflow secret key object
+ public WorkflowSecretKeys RegenerateWorkflowAccessKey(string resourceGroupName, string workflowName,
+ string accessKeyName, string keyType)
+ {
+ return this.LogicManagementClient.WorkflowAccessKeys.RegenerateSecretKey(
+ resourceGroupName,
+ workflowName,
+ accessKeyName,
+ new RegenerateSecretKeyParameters
+ {
+ KeyType = (KeyType) Enum.Parse(typeof (KeyType), keyType)
+ });
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp/Utilities/LogicAppClientRunOperations.cs b/src/ResourceManager/LogicApp/Commands.LogicApp/Utilities/LogicAppClientRunOperations.cs
new file mode 100644
index 000000000000..85deda045b36
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp/Utilities/LogicAppClientRunOperations.cs
@@ -0,0 +1,107 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+namespace Microsoft.Azure.Commands.LogicApp.Utilities
+{
+ using System;
+ using System.Collections.Generic;
+ using System.Linq;
+ using System.Text;
+ using System.Threading.Tasks;
+ using Microsoft.Azure.Management.Logic.Models;
+ using Microsoft.Azure.Management.Logic;
+ using Microsoft.Rest.Azure;
+
+ ///
+ /// LogicApp client partial class for run operations
+ ///
+ public partial class LogicAppClient
+ {
+ ///
+ /// Starts the logic app
+ ///
+ /// Name of the resource group
+ /// Name of the logic app
+ /// Run parameters
+ /// Workflow run output
+ public WorkflowRun RunWorkflow(string resourceGroupName, string workflowName,
+ RunWorkflowParameters runWorkflowParameters)
+ {
+ return this.LogicManagementClient.Workflows.Run(resourceGroupName, workflowName, runWorkflowParameters);
+ }
+
+ ///
+ /// Cancels the logic app run.
+ ///
+ /// Name of the resource group
+ /// Name of the workflow
+ /// Workflow run name
+ public void CancelWorkflowRun(string resourceGroupName, string workflowName,
+ string runName)
+ {
+ this.LogicManagementClient.WorkflowRuns.Cancel(resourceGroupName, workflowName, runName);
+ }
+
+ ///
+ /// Gets the workflow run history.
+ ///
+ /// Name of the resource group
+ /// Name of the workflow
+ /// List of workflow runs
+ public Page GetWorkflowRuns(string resourceGroupName, string workflowName)
+ {
+ return (Page)this.LogicManagementClient.WorkflowRuns.List(resourceGroupName, workflowName);
+ }
+
+ ///
+ /// Gets the logic app run.
+ ///
+ /// Name of the resource group
+ /// Name of the workflow
+ /// Name of the workflow run
+ /// Workflow run
+ public WorkflowRun GetWorkflowRun(string resourceGroupName, string workflowName,
+ string runName)
+ {
+ return this.LogicManagementClient.WorkflowRuns.Get(resourceGroupName, workflowName, runName);
+ }
+
+ ///
+ /// Gets the workflow run action
+ ///
+ /// Name of the resource group
+ /// Name of the workflow
+ /// Name of the workflow run
+ /// Name of the workflow run action
+ /// Workflow run action
+ public WorkflowRunAction GetWorkflowRunAction(string resourceGroupName, string workflowName,
+ string runName, string actionName)
+ {
+ return this.LogicManagementClient.WorkflowRunActions.Get(resourceGroupName, workflowName, runName,
+ actionName);
+ }
+
+ ///
+ /// Gets actions of the specified workflow run.
+ ///
+ /// Name of the resource group
+ /// Name of the workflow
+ /// Name of the workflow run
+ /// Actions of the specified workflow run
+ public Page GetWorkflowRunActions(string resourceGroupName, string workflowName, string runName)
+ {
+ return (Page)this.LogicManagementClient.WorkflowRunActions.List(resourceGroupName, workflowName, runName);
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp/Utilities/LogicAppClientTriggerOperations.cs b/src/ResourceManager/LogicApp/Commands.LogicApp/Utilities/LogicAppClientTriggerOperations.cs
new file mode 100644
index 000000000000..b700a77b4c1d
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp/Utilities/LogicAppClientTriggerOperations.cs
@@ -0,0 +1,92 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+namespace Microsoft.Azure.Commands.LogicApp.Utilities
+{
+ using Microsoft.Azure.Management.Logic.Models;
+ using Microsoft.Azure.Management.Logic;
+ using Microsoft.Rest.Azure;
+
+ ///
+ /// LogicApp client partial class for trigger operations
+ ///
+ public partial class LogicAppClient
+ {
+ ///
+ /// Gets the list of triggers in the workflow
+ ///
+ /// Name of the resource group
+ /// Name of the workflow
+ /// List of triggers in the workflow
+ public Page GetWorkflowTriggers(string resourceGroupName, string workflowName)
+ {
+ return (Page)
+ this.LogicManagementClient.WorkflowTriggers.List(resourceGroupName, workflowName);
+ }
+
+ ///
+ /// Gets the specified trigger from the workflow
+ ///
+ /// Name of the resource group
+ /// Name of the workflow
+ /// Name of the trigger
+ /// Workflow trigger
+ public WorkflowTrigger GetWorkflowTrigger(string resourceGroupName, string workflowName, string triggerName)
+ {
+ return this.LogicManagementClient.WorkflowTriggers.Get(resourceGroupName, workflowName, triggerName);
+ }
+
+ ///
+ /// Gets the workflow trigger histories.
+ ///
+ /// Name of the resource group
+ /// Name of the workflow
+ /// Name of the trigger
+ /// List of trigger histories
+ public Page GetWorkflowTriggerHistories(string resourceGroupName, string workflowName,
+ string triggerName)
+ {
+ return
+ (Page)
+ this.LogicManagementClient.WorkflowTriggerHistories.List(resourceGroupName, workflowName,
+ triggerName);
+ }
+
+ ///
+ /// Gets the workflow history by name
+ ///
+ /// Name of the resource group
+ /// Name of the workflow
+ /// Name of the trigger
+ /// Name of the trigger history
+ /// Workflow history
+ public WorkflowTriggerHistory GetWorkflowTriggerHistory(string resourceGroupName, string workflowName,
+ string triggerName, string historyName)
+ {
+ return this.LogicManagementClient.WorkflowTriggerHistories.Get(resourceGroupName, workflowName, triggerName, historyName);
+ }
+
+ ///
+ /// Runs the workflow trigger
+ ///
+ /// Name of the resource group
+ /// Name of the workflow
+ /// Name of the trigger
+ public void RunWorkflowTrigger(string resourceGroupName, string workflowName,
+ string triggerName)
+ {
+ this.LogicManagementClient.WorkflowTriggers.Run(resourceGroupName, workflowName, triggerName);
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp/Utilities/ParameterSet.cs b/src/ResourceManager/LogicApp/Commands.LogicApp/Utilities/ParameterSet.cs
new file mode 100644
index 000000000000..dc00a0742e1a
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp/Utilities/ParameterSet.cs
@@ -0,0 +1,34 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+namespace Microsoft.Azure.Commands.LogicApp.Utilities
+{
+ internal static class ParameterSet
+ {
+ ///
+ /// Parameter set top create Logic app with definition object
+ ///
+ public const string LogicAppWithDefinition = "LogicAppWithDefinitionParameterSet";
+
+ ///
+ /// Parameter set top create Logic app with definition link
+ ///
+ public const string LogicAppWithDefinitionLink = "LogicAppWithDefinitionLinkParameterSet";
+
+ ///
+ /// Parameter set top create Logic app with definition file
+ ///
+ public const string LogicAppWithDefinitionFile = "LogicAppWithDefinitionFileParameterSet";
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp/Utilities/WebsitesClient.cs b/src/ResourceManager/LogicApp/Commands.LogicApp/Utilities/WebsitesClient.cs
new file mode 100644
index 000000000000..2373c40f6c07
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp/Utilities/WebsitesClient.cs
@@ -0,0 +1,113 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+
+namespace Microsoft.Azure.Commands.LogicApp.Utilities
+{
+ using System;
+ using Microsoft.Azure.Common.Authentication;
+ using Microsoft.Azure.Common.Authentication.Models;
+ using Microsoft.Azure.Management.WebSites;
+ using Microsoft.Azure.Management.WebSites.Models;
+
+ ///
+ /// Website client to perform operation on AppServicePlan
+ ///
+ public class WebsitesClient
+ {
+ ///
+ /// Verbose Logger
+ ///
+ public Action VerboseLogger { get; set; }
+
+ ///
+ /// Error Logger
+ ///
+ public Action ErrorLogger { get; set; }
+
+ ///
+ /// Warning Logger
+ ///
+ public Action WarningLogger { get; set; }
+
+ ///
+ /// Initializes the client instance
+ ///
+ ///
+ public WebsitesClient(AzureContext context)
+ {
+ this.WrappedWebsitesClient = AzureSession.ClientFactory.CreateArmClient(context, AzureEnvironment.Endpoint.ResourceManager);
+ }
+
+ ///
+ /// Public property exposing the client instance
+ ///
+ public WebSiteManagementClient WrappedWebsitesClient
+ {
+ get;
+ private set;
+ }
+
+ ///
+ /// Gets the app service plan from the specified resource group
+ ///
+ /// Name of the resource group
+ /// Name of the App Service Plan name
+ /// Object represents the AppServicePlan
+ public ServerFarmWithRichSku GetAppServicePlan(string resourceGroupName, string appServicePlanName)
+ {
+ return WrappedWebsitesClient.ServerFarms.GetServerFarm(resourceGroupName, appServicePlanName);
+ }
+
+ ///
+ /// Writes verbose
+ ///
+ /// Verbose format
+ /// Arguments to write verbose
+ private void WriteVerbose(string verboseFormat, params object[] args)
+ {
+ if (VerboseLogger != null)
+ {
+ VerboseLogger(string.Format(verboseFormat, args));
+ }
+ }
+
+ ///
+ /// Write warning
+ ///
+ /// Warning format
+ /// Arguments to write warning
+ private void WriteWarning(string warningFormat, params object[] args)
+ {
+ if (WarningLogger != null)
+ {
+ WarningLogger(string.Format(warningFormat, args));
+ }
+ }
+
+ ///
+ /// Write error
+ ///
+ /// Error format
+ /// Arguments to write error
+
+ private void WriteError(string errorFormat, params object[] args)
+ {
+ if (ErrorLogger != null)
+ {
+ ErrorLogger(string.Format(errorFormat, args));
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp/packages.config b/src/ResourceManager/LogicApp/Commands.LogicApp/packages.config
new file mode 100644
index 000000000000..87731414abed
--- /dev/null
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp/packages.config
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/ResourceManager/LogicApp/LogicApp.sln b/src/ResourceManager/LogicApp/LogicApp.sln
new file mode 100644
index 000000000000..97fc1d8da769
--- /dev/null
+++ b/src/ResourceManager/LogicApp/LogicApp.sln
@@ -0,0 +1,80 @@
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 2013
+VisualStudioVersion = 12.0.40629.0
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{95C16AED-FD57-42A0-86C3-2CF4300A4817}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.ResourceManager.Common", "..\Common\Commands.ResourceManager.Common\Commands.ResourceManager.Common.csproj", "{3819D8A7-C62C-4C47-8DDD-0332D9CE1252}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Resources", "..\Resources\Commands.Resources\Commands.Resources.csproj", "{E1F5201D-6067-430E-B303-4E367652991B}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Resources.Rest", "..\Resources\Commands.ResourceManager\Cmdlets\Commands.Resources.Rest.csproj", "{8058D403-06E3-4BED-8924-D166CE303961}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.ScenarioTests.ResourceManager.Common", "..\Common\Commands.ScenarioTests.ResourceManager.Common\Commands.ScenarioTests.ResourceManager.Common.csproj", "{3436A126-EDC9-4060-8952-9A1BE34CDD95}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Profile", "..\Profile\Commands.Profile\Commands.Profile.csproj", "{142D7B0B-388A-4CEB-A228-7F6D423C5C2E}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Common", "..\..\Common\Commands.Common\Commands.Common.csproj", "{5EE72C53-1720-4309-B54B-5FB79703195F}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{33C9DADF-8EE1-4FCB-8E15-FEEB28330BC1}"
+ ProjectSection(SolutionItems) = preProject
+ .nuget\packages.config = .nuget\packages.config
+ EndProjectSection
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.LogicApp", "Commands.LogicApp\Commands.LogicApp.csproj", "{FFE4E475-B32C-4F89-9D52-F7CEBF709C74}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.LogicApp.Test", "Commands.LogicApp.Test\Commands.LogicApp.Test.csproj", "{F1F11BB1-592B-45A3-844C-7F8A585AD107}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Tags", "..\Tags\Commands.Tags\Commands.Tags.csproj", "{2493A8F7-1949-4F29-8D53-9D459046C3B8}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {3819D8A7-C62C-4C47-8DDD-0332D9CE1252}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {3819D8A7-C62C-4C47-8DDD-0332D9CE1252}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {3819D8A7-C62C-4C47-8DDD-0332D9CE1252}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {3819D8A7-C62C-4C47-8DDD-0332D9CE1252}.Release|Any CPU.Build.0 = Release|Any CPU
+ {E1F5201D-6067-430E-B303-4E367652991B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {E1F5201D-6067-430E-B303-4E367652991B}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {E1F5201D-6067-430E-B303-4E367652991B}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {E1F5201D-6067-430E-B303-4E367652991B}.Release|Any CPU.Build.0 = Release|Any CPU
+ {8058D403-06E3-4BED-8924-D166CE303961}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {8058D403-06E3-4BED-8924-D166CE303961}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {8058D403-06E3-4BED-8924-D166CE303961}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {8058D403-06E3-4BED-8924-D166CE303961}.Release|Any CPU.Build.0 = Release|Any CPU
+ {3436A126-EDC9-4060-8952-9A1BE34CDD95}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {3436A126-EDC9-4060-8952-9A1BE34CDD95}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {3436A126-EDC9-4060-8952-9A1BE34CDD95}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {3436A126-EDC9-4060-8952-9A1BE34CDD95}.Release|Any CPU.Build.0 = Release|Any CPU
+ {142D7B0B-388A-4CEB-A228-7F6D423C5C2E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {142D7B0B-388A-4CEB-A228-7F6D423C5C2E}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {142D7B0B-388A-4CEB-A228-7F6D423C5C2E}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {142D7B0B-388A-4CEB-A228-7F6D423C5C2E}.Release|Any CPU.Build.0 = Release|Any CPU
+ {5EE72C53-1720-4309-B54B-5FB79703195F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {5EE72C53-1720-4309-B54B-5FB79703195F}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {5EE72C53-1720-4309-B54B-5FB79703195F}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {5EE72C53-1720-4309-B54B-5FB79703195F}.Release|Any CPU.Build.0 = Release|Any CPU
+ {FFE4E475-B32C-4F89-9D52-F7CEBF709C74}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {FFE4E475-B32C-4F89-9D52-F7CEBF709C74}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {FFE4E475-B32C-4F89-9D52-F7CEBF709C74}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {FFE4E475-B32C-4F89-9D52-F7CEBF709C74}.Release|Any CPU.Build.0 = Release|Any CPU
+ {F1F11BB1-592B-45A3-844C-7F8A585AD107}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {F1F11BB1-592B-45A3-844C-7F8A585AD107}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {F1F11BB1-592B-45A3-844C-7F8A585AD107}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {F1F11BB1-592B-45A3-844C-7F8A585AD107}.Release|Any CPU.Build.0 = Release|Any CPU
+ {2493A8F7-1949-4F29-8D53-9D459046C3B8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {2493A8F7-1949-4F29-8D53-9D459046C3B8}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {2493A8F7-1949-4F29-8D53-9D459046C3B8}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {2493A8F7-1949-4F29-8D53-9D459046C3B8}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(NestedProjects) = preSolution
+ {3436A126-EDC9-4060-8952-9A1BE34CDD95} = {95C16AED-FD57-42A0-86C3-2CF4300A4817}
+ {F1F11BB1-592B-45A3-844C-7F8A585AD107} = {95C16AED-FD57-42A0-86C3-2CF4300A4817}
+ EndGlobalSection
+EndGlobal
diff --git a/src/ResourceManager/LogicApp/NuGet.Config b/src/ResourceManager/LogicApp/NuGet.Config
new file mode 100644
index 000000000000..2de911013532
--- /dev/null
+++ b/src/ResourceManager/LogicApp/NuGet.Config
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/src/ResourceManager/RedisCache/Commands.RedisCache/Microsoft.Azure.Commands.RedisCache.dll-Help.xml b/src/ResourceManager/RedisCache/Commands.RedisCache/Microsoft.Azure.Commands.RedisCache.dll-Help.xml
index 527954fd2bda..802a758cbbc6 100644
--- a/src/ResourceManager/RedisCache/Commands.RedisCache/Microsoft.Azure.Commands.RedisCache.dll-Help.xml
+++ b/src/ResourceManager/RedisCache/Commands.RedisCache/Microsoft.Azure.Commands.RedisCache.dll-Help.xml
@@ -350,7 +350,7 @@
VirtualNetwork
- The exact ARM resource ID of the virtual network to deploy the redis cache in. Example format: /subscriptions/{subid}/resourceGroups/{resourceGroupName}/Microsoft.ClassicNetwork/VirtualNetworks/vnet1
+ The exact ARM resource ID of the virtual network to deploy the redis cache in. Example format: /subscriptions/{subid}/resourceGroups/{resourceGroupName}/providers/Microsoft.ClassicNetwork/VirtualNetworks/{vnetName}
String
@@ -500,7 +500,7 @@
VirtualNetwork
- The exact ARM resource ID of the virtual network to deploy the redis cache in. Example format: /subscriptions/{subid}/resourceGroups/{resourceGroupName}/Microsoft.ClassicNetwork/VirtualNetworks/vnet1
+ The exact ARM resource ID of the virtual network to deploy the redis cache in. Example format: /subscriptions/{subid}/resourceGroups/{resourceGroupName}/providers/Microsoft.ClassicNetwork/VirtualNetworks/{vnetName}
String
diff --git a/src/ResourceManager/Sql/Commands.Sql/Microsoft.Azure.Commands.Sql.dll-Help.xml b/src/ResourceManager/Sql/Commands.Sql/Microsoft.Azure.Commands.Sql.dll-Help.xml
index 8dcd923a6f94..01ead1f92cc7 100644
--- a/src/ResourceManager/Sql/Commands.Sql/Microsoft.Azure.Commands.Sql.dll-Help.xml
+++ b/src/ResourceManager/Sql/Commands.Sql/Microsoft.Azure.Commands.Sql.dll-Help.xml
@@ -4895,7 +4895,7 @@ Status : Queued
Get-AzureRmSqlServerCommunicationLink
- Gets server communication links and their property values in an Azure SQL Server.
+ Gets server communication links and their property values in an Azure SQL Database.
@@ -5012,7 +5012,7 @@ Status : Queued
PS C:\> Get-AzureRmSqlServerCommunicationLink -ResourceGroupName "resourcegroup01" -ServerName "server01"
- Gets all server-to-server partnership for Elastic transactions that the specified server is involved in.
+ Gets all server-to-server partnerships for Elastic transactions that the specified server in Azure SQL Database is involved in.
@@ -7194,7 +7194,7 @@ FirewallRuleName : rule01
New-AzureRmSqlServerCommunicationLink
- Creates an Azure SQL Server partnership for Elastic transactions. Once established, Elastic transactions will be able to span databases in either of the servers paired.
+ Creates a communication link for Elastic transactions between two logical servers in Azure SQL Database. Once established, Elastic transactions will be able to span databases in either of the servers paired.
@@ -7204,7 +7204,7 @@ FirewallRuleName : rule01
- The New-AzureRmSqlServerCommunicationLink cmdlet creates an Azure SQL Server partnership for Elastic transactions. The partnership can be set up for two servers at a time and once established, Elastic transactions will be able to span databases in either of the servers paired. Users can create many server partnerships as necessary and involve a server in multiple partnerships to span Elastic transactions over a larger number of servers.
+ The New-AzureRmSqlServerCommunicationLink cmdlet creates a communication link for Elastic transactions between two logical servers in Azure SQL Database. The communication link can be set up for two servers at a time and once established, Elastic transactions will be able to span databases in either of the servers paired. Users can create as many server partnerships as necessary and involve a server in multiple partnerships to span Elastic transactions over a larger number of servers.
@@ -7324,7 +7324,7 @@ FirewallRuleName : rule01
- -------------------------- Example 1: Create a new Azure SQL Server communication link --------------------------
+ -------------------------- Example 1: Create a new communication link --------------------------
PS C:\>
@@ -9300,7 +9300,7 @@ resourcegroup01 server01 DBAs 40b79501-b343-44ed-9ce7-da4c8cc7353b
Remove-AzureRmSqlServerCommunicationLink
- Deletes an Azure SQL Server communication link.
+ Deletes a communication link for Elastic transactions between two logical servers in Azure SQL Database.
@@ -9346,14 +9346,14 @@ resourcegroup01 server01 DBAs 40b79501-b343-44ed-9ce7-da4c8cc7353b
WhatIf
- Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.
+ Shows what would happen if the cmdlet runs. The cmdlet is not run.
SwitchParameter
Confirm
- Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.
+ Prompts you for confirmation before running the cmdlet.
SwitchParameter
@@ -9411,7 +9411,7 @@ resourcegroup01 server01 DBAs 40b79501-b343-44ed-9ce7-da4c8cc7353b
WhatIf
- Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.
+ Shows what would happen if the cmdlet runs. The cmdlet is not run.
SwitchParameter
@@ -9423,7 +9423,7 @@ resourcegroup01 server01 DBAs 40b79501-b343-44ed-9ce7-da4c8cc7353b
Confirm
- Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.
+ Prompts you for confirmation before running the cmdlet.
SwitchParameter
@@ -14101,4 +14101,4 @@ The final command upgrades the existing server named server02 in the resource g
-
\ No newline at end of file
+
diff --git a/src/ServiceManagement/Common/Commands.ScenarioTest/Commands.ScenarioTest.csproj b/src/ServiceManagement/Common/Commands.ScenarioTest/Commands.ScenarioTest.csproj
index ad81f675f239..df37c366081e 100644
--- a/src/ServiceManagement/Common/Commands.ScenarioTest/Commands.ScenarioTest.csproj
+++ b/src/ServiceManagement/Common/Commands.ScenarioTest/Commands.ScenarioTest.csproj
@@ -380,6 +380,7 @@
+
diff --git a/src/ServiceManagement/Common/Commands.ScenarioTest/ServiceManagement/UnitTests.cs b/src/ServiceManagement/Common/Commands.ScenarioTest/ServiceManagement/UnitTests.cs
new file mode 100644
index 000000000000..6d82aa4103de
--- /dev/null
+++ b/src/ServiceManagement/Common/Commands.ScenarioTest/ServiceManagement/UnitTests.cs
@@ -0,0 +1,76 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using Microsoft.WindowsAzure.Commands.ServiceManagement.Extensions;
+using System;
+using Xunit;
+
+namespace Microsoft.WindowsAzure.Commands.ScenarioTest
+{
+ public partial class ServiceManagementTests
+ {
+ [Fact]
+ [Trait(Category.Service, Category.ServiceManagement)]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ [Trait(Category.AcceptanceType, Category.BVT)]
+ public void TestExtensionRoleNames()
+ {
+ var roleNames = new string[]
+ {
+ "test Role Name",
+ "!!!!! _____ test Role Name ~~~",
+ "testRoleName",
+ " testRoleName",
+ "testRoleName ",
+ " testRoleName"
+ };
+ var expectedPrefixName = "testRoleName";
+ var expectedExtensionId = "testRoleName-test-test-Ext-0";
+ foreach (var roleName in roleNames)
+ {
+ ExtensionRole er = new ExtensionRole(roleName);
+ Assert.Equal(er.PrefixName, expectedPrefixName);
+ Assert.Equal(er.GetExtensionId("test", "test", 0), expectedExtensionId);
+ }
+
+ var longRoleNames = new string[]
+ {
+ "A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789",
+ " A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789 ~~~"
+ };
+
+ // Extenion ID's Max Length 60 = 43 + 1 + 4 + 1 + 4 + 1 + 5
+ // i.e. 'A123...E123' + '-' + 'test' + '-' + 'test' + '-' + 'Ext-0'
+ // L=43 L=1 L=4 L=1 L=4 L=1 L=5
+ expectedPrefixName = longRoleNames[0];
+ expectedExtensionId = "A123456789B123456789C123456789D123456789E123-test-test-Ext-0";
+ foreach (var roleName in longRoleNames)
+ {
+ ExtensionRole er = new ExtensionRole(roleName);
+ Assert.Equal(er.PrefixName, expectedPrefixName);
+ Assert.Equal(er.GetExtensionId("test", "test", 0), expectedExtensionId);
+ }
+
+
+ var longExtensionNames = longRoleNames;
+ expectedExtensionId = "D-A123456789B123456789C123456789D123456789E123456-test-Ext-1";
+ foreach (var extensionName in longExtensionNames)
+ {
+ ExtensionRole er = new ExtensionRole();
+ Assert.Equal(er.PrefixName, "Default");
+ Assert.Equal(er.GetExtensionId(extensionName, "test", 1), expectedExtensionId);
+ }
+ }
+ }
+}
diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/Extensions/Common/ExtensionRole.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/Extensions/Common/ExtensionRole.cs
index d3fff4a56c93..e417e42e913c 100644
--- a/src/ServiceManagement/Compute/Commands.ServiceManagement/Extensions/Common/ExtensionRole.cs
+++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/Extensions/Common/ExtensionRole.cs
@@ -14,6 +14,7 @@
using System;
using System.Text;
+using System.Text.RegularExpressions;
namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Extensions
{
@@ -22,12 +23,28 @@ public class ExtensionRole
protected const string DefaultExtensionIdPrefixStr = "Default";
protected const string ExtensionIdSuffixTemplate = "-{0}-{1}-Ext-{2}";
protected const int MaxExtensionIdLength = 60;
+ protected const int MaxSuffixLength = MaxExtensionIdLength - 1;
public string RoleName { get; private set; }
public string PrefixName { get; private set; }
public ExtensionRoleType RoleType { get; private set; }
public bool Default { get; private set; }
+ private static string RemoveDisallowedCharacters(string roleName)
+ {
+ // Remove characters that are not allowed in the extension id
+ var disallowedCharactersRegex = new Regex(@"[^A-Za-z0-9\-]");
+ var match = disallowedCharactersRegex.Match(roleName);
+
+ while (match.Success)
+ {
+ roleName = roleName.Remove(match.Index, match.Length);
+ match = disallowedCharactersRegex.Match(roleName);
+ }
+
+ return roleName;
+ }
+
public ExtensionRole()
{
RoleName = string.Empty;
@@ -48,9 +65,7 @@ public ExtensionRole(string roleName)
else
{
PrefixName = RoleName = roleName.Trim();
- PrefixName = PrefixName.Replace(".", string.Empty);
- PrefixName = PrefixName.Replace(" ", string.Empty);
- PrefixName = PrefixName.Replace("_", string.Empty);
+ PrefixName = RemoveDisallowedCharacters(PrefixName);
RoleType = ExtensionRoleType.NamedRoles;
Default = false;
}
@@ -63,12 +78,16 @@ public override string ToString()
public string GetExtensionId(string extensionName, string slot, int index)
{
- var normalizedExtName = extensionName.Replace(".", string.Empty);
- normalizedExtName = normalizedExtName.Replace(" ", string.Empty);
- normalizedExtName = normalizedExtName.Replace("_", string.Empty);
+ var normalizedExtName = RemoveDisallowedCharacters(extensionName);
var suffix = new StringBuilder();
suffix.AppendFormat(ExtensionIdSuffixTemplate, normalizedExtName, slot, index);
+ if (suffix.Length > MaxSuffixLength)
+ {
+ int lenDiff = suffix.Length - MaxSuffixLength;
+ int startIndex = 1; // Suffix starts with '-'
+ suffix.Remove(startIndex + normalizedExtName.Length - lenDiff, lenDiff);
+ }
int prefixSubStrLen = Math.Min(Math.Max(MaxExtensionIdLength - suffix.Length, 0), PrefixName.Length);
diff --git a/src/ServiceManagement/Profile/Commands.Profile/Microsoft.WindowsAzure.Commands.Profile.format.ps1xml b/src/ServiceManagement/Profile/Commands.Profile/Microsoft.WindowsAzure.Commands.Profile.format.ps1xml
index 3eb562cce517..33a87c1aa0f2 100644
--- a/src/ServiceManagement/Profile/Commands.Profile/Microsoft.WindowsAzure.Commands.Profile.format.ps1xml
+++ b/src/ServiceManagement/Profile/Commands.Profile/Microsoft.WindowsAzure.Commands.Profile.format.ps1xml
@@ -84,5 +84,119 @@
+
+ Microsoft.WindowsAzure.Commands.Profile.Models.PSAzureSubscriptionExtended
+
+ Microsoft.WindowsAzure.Commands.Profile.Models.PSAzureSubscriptionExtended
+
+
+
+
+
+
+ ActiveDirectoryUserId
+
+
+ Account
+
+
+ Certificate
+
+
+ AccountAdminLiveEmailId
+
+
+ CurrentCoreCount
+
+
+ CurrentHostedServices
+
+
+ CurrentDnsServers
+
+
+ CurrentLocalNetworkSites
+
+
+ CurrentVirtualNetworkSites
+
+
+ CurrentStorageAccounts
+
+
+ MaxCoreCount
+
+
+ MaxDnsServers
+
+
+ MaxHostedServices
+
+
+ MaxLocalNetworkSites
+
+
+ MaxVirtualNetworkSites
+
+
+ MaxStorageAccounts
+
+
+ ServiceAdminLiveEmailId
+
+
+ SubscriptionRealName
+
+
+ SubscriptionStatus
+
+
+ OperationDescription
+
+
+ OperationId
+
+
+ OperationStatus
+
+
+ ServiceEndpoint
+
+
+ ResourceManagerEndpoint
+
+
+ GalleryEndpoint
+
+
+ SubscriptionId
+
+
+ SubscriptionName
+
+
+ Environment
+
+
+ DefaultAccount
+
+
+ IsDefault
+
+
+ IsCurrent
+
+
+ TenantId
+
+
+
+ $_.GetAccountName()
+
+
+
+
+
+
diff --git a/tools/AzureRM/AzureRM.psm1 b/tools/AzureRM/AzureRM.psm1
index fa72792b0b69..a5967b577845 100644
--- a/tools/AzureRM/AzureRM.psm1
+++ b/tools/AzureRM/AzureRM.psm1
@@ -30,6 +30,7 @@ $AzureRMModules = @{
"AzureRM.TrafficManager" = "1.0.4";
"AzureRM.UsageAggregates" = "1.0.4";
"AzureRM.Websites" = "1.0.4";
+ "AzureRM.LogicApp" = "1.0.0";
}
function Test-AdminRights([string]$Scope)