Skip to content

Commit 7f1990f

Browse files
authored
{AzureAppService} Mention the syntax format for ConnectionStrings parameter (#21381)
* {AzureAppService} Mention the syntax format for ConnectionStrings parameter Fixes #21373 This PR mentions the syntax format for ConnectionStrings parameter: > $connStrings = @{ConnectionStringName = @{ Type = "MySql"; Value = "TestValue"}} * Update SetAzureWebAppSlot.cs * Update SetAzureWebAppSlot.cs
1 parent 87a1b48 commit 7f1990f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Websites/Websites/Cmdlets/DeploymentSlots/SetAzureWebAppSlot.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public class SetAzureWebAppSlotCmdlet : WebAppSlotBaseCmdlet
6565
[ValidateNotNullOrEmpty]
6666
public Hashtable AppSettings { get; set; }
6767

68-
[Parameter(Position = 11, Mandatory = false, HelpMessage = "Web app connection strings")]
68+
[Parameter(Position = 11, Mandatory = false, HelpMessage = "Web app connection strings, Example: $connStrings = @{ConnectionStringName = @{ Type = \"MySql\"; Value = \"TestValue\"}}")]
6969
[ValidateNotNullOrEmpty]
7070
public Hashtable ConnectionStrings { get; set; }
7171

src/Websites/Websites/help/Set-AzWebAppSlot.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ Accept wildcard characters: False
180180
```
181181
182182
### -ConnectionStrings
183-
Connection Strings HashTable
183+
Connection Strings HashTable. Example: `$connStrings = @{ConnectionStringName = @{ Type = "MySql"; Value = "TestValue"}}`
184184

185185
```yaml
186186
Type: System.Collections.Hashtable

0 commit comments

Comments
 (0)