Skip to content

Commit bda3d2c

Browse files
v-yuzhichenZiyue
andauthored
Fix Az.LogicApp Syntax Errors (#17643)
* Fix Az.LogicApp Syntax Errors * Fix Az.LogicApp Syntax Errors Co-authored-by: Ziyue <[email protected]>
1 parent 6d1fa85 commit bda3d2c

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

src/LogicApp/LogicApp/help/New-AzLogicApp.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Template parameter file values that you specify at the command line take precede
4545

4646
### Example 1: Create a logic app by using definition and parameter file paths
4747
```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" -Location "westus" -State "Enabled" -DefinitionFilePath "d:\workflows\Definition03.json" -ParameterFilePath "d:\workflows\Parameters03.json"
4949
```
5050

5151
```output
@@ -75,7 +75,7 @@ The logic app includes the definition and parameters specified by file paths.
7575

7676
### Example 2: Create a logic app by using definition and parameter objects
7777
```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"}
7979
```
8080

8181
```output
@@ -104,7 +104,7 @@ This command creates a logic app in the specified resource group resource group.
104104

105105
### Example 3: Create a logic app by using the pipeline to specify the resource group
106106
```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" -Location "westus" -State "Enabled" -DefinitionFilePath "d:\Workflow\Definition.json" -ParameterFilePath "d:\Workflow\Parameters.json"
108108
```
109109

110110
```output
@@ -137,7 +137,7 @@ The logic app includes the definition and parameters specified by file paths.
137137
### Example 4: Create a logic app based on an existing logic app
138138
```powershell
139139
$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" -Location "westus" -State "Enabled" -Definition $Workflow.Definition -Parameters $Workflow.Parameters
141141
```
142142

143143
```output

src/LogicApp/LogicApp/help/Set-AzIntegrationAccountReceivedIcn.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Please do provide the "-AgreementType" parameter to specify whether X12 or Edifa
3232

3333
### Example 1
3434
```powershell
35-
Set-AzIntegrationAccountGeneratedIcn -AgreementType "X12" -ResourceGroupName "ResourceGroup1" -Name "IntegrationAccount1" -AgreementName "X12IntegrationAccountAgreement" -ControlNumber "123" -IsMessageProcessingFailed $true
35+
Set-AzIntegrationAccountGeneratedIcn -AgreementType "X12" -ResourceGroupName "ResourceGroup1" -Name "IntegrationAccount1" -AgreementName "X12IntegrationAccountAgreement" -ControlNumber "123"
3636
```
3737

3838
```output
@@ -45,7 +45,7 @@ This command updates the integration account received X12 interchange control nu
4545

4646
### Example 2
4747
```powershell
48-
Set-AzIntegrationAccountGeneratedIcn -AgreementType "Edifact" -ResourceGroupName "ResourceGroup1" -Name "IntegrationAccount1" -AgreementName "EdifactIntegrationAccountAgreement" -ControlNumber "123" -IsMessageProcessingFailed $true
48+
Set-AzIntegrationAccountGeneratedIcn -AgreementType "Edifact" -ResourceGroupName "ResourceGroup1" -Name "IntegrationAccount1" -AgreementName "EdifactIntegrationAccountAgreement" -ControlNumber "123"
4949
```
5050

5151
```output

src/LogicApp/LogicApp/help/Test-AzLogicApp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ The command specifies definition and parameter file paths.
4747

4848
### Example 2: Validate a logic app by using objects
4949
```powershell
50-
Test-AzLogicApp -ResourceGroupName "ResourceGroup11" -Name "LogicApp01" -Location "westus" -State "Enabled" -Definition [IO.File]::ReadAllText("d:\Workflows\Definition.json") -Parameters @{name1="value1", name2="value2"}
50+
Test-AzLogicApp -ResourceGroupName "ResourceGroup11" -Name "LogicApp01" -Location "westus" -State "Enabled" -Definition [IO.File]::ReadAllText("d:\Workflows\Definition.json") -Parameters @{name1="value1";name2="value2"}
5151
```
5252

5353
This command validates a logic app named LogicApp01 in the specified resource group.

0 commit comments

Comments
 (0)