@@ -45,7 +45,7 @@ Template parameter file values that you specify at the command line take precede
45
45
46
46
### Example 1: Create a logic app by using definition and parameter file paths
47
47
``` powershell
48
- New-AzLogicApp -ResourceGroupName "ResourceGroup11" -Name "LogicApp03" -State "Enabled" -AppServicePlan "ServicePlan01" - DefinitionFilePath "d:\workflows\Definition03.json" -ParameterFilePath "d:\workflows\Parameters03.json"
48
+ New-AzLogicApp -ResourceGroupName "ResourceGroup11" -Name "LogicApp03" -State "Enabled" -DefinitionFilePath "d:\workflows\Definition03.json" -ParameterFilePath "d:\workflows\Parameters03.json"
49
49
```
50
50
51
51
``` output
@@ -75,7 +75,7 @@ The logic app includes the definition and parameters specified by file paths.
75
75
76
76
### Example 2: Create a logic app by using definition and parameter objects
77
77
``` powershell
78
- New-AzLogicApp -ResourceGroupName "ResourceGroup11" -Name "LogicApp05" -Location "westus" -State "Enabled" -AppServicePlan "ServicePlan01" - Definition [IO.File]::ReadAllText("d:\Workflows\Definition.json") -Parameters @{name1="value1", name2="value2"}
78
+ New-AzLogicApp -ResourceGroupName "ResourceGroup11" -Name "LogicApp05" -Location "westus" -State "Enabled" -Definition [IO.File]::ReadAllText("d:\Workflows\Definition.json") -Parameters @{name1="value1",name2="value2"}
79
79
```
80
80
81
81
``` output
@@ -104,7 +104,7 @@ This command creates a logic app in the specified resource group resource group.
104
104
105
105
### Example 3: Create a logic app by using the pipeline to specify the resource group
106
106
``` powershell
107
- Get-AzResourceGroup -ResourceGroupName "ResourceGroup11" | New-AzLogicApp -Name "LogicApp11" -State "Enabled" -AppServicePlan "ServicePlan01" - DefinitionFilePath "d:\Workflow\Definition.json" -ParameterFilePath "d:\Workflow\Parameters.json"
107
+ Get-AzResourceGroup -ResourceGroupName "ResourceGroup11" | New-AzLogicApp -Name "LogicApp11" -State "Enabled" -DefinitionFilePath "d:\Workflow\Definition.json" -ParameterFilePath "d:\Workflow\Parameters.json"
108
108
```
109
109
110
110
``` output
@@ -137,7 +137,7 @@ The logic app includes the definition and parameters specified by file paths.
137
137
### Example 4: Create a logic app based on an existing logic app
138
138
``` powershell
139
139
$Workflow = Get-AzLogicApp -ResourceGroupName "ResourceGroup11" -Name "LogicApp03"
140
- New-AzLogicApp -ResourceGroupName "ResourceGroup11" -Name "LogicApp13" -State "Enabled" -AppServicePlan "ServicePlan01" - Definition $Workflow.Definition -Parameters $Workflow.Parameters
140
+ New-AzLogicApp -ResourceGroupName "ResourceGroup11" -Name "LogicApp13" -State "Enabled" -Definition $Workflow.Definition -Parameters $Workflow.Parameters
141
141
```
142
142
143
143
``` output
0 commit comments