Skip to content

Commit

Permalink
[AppService]: doc-update #12181- AppSettingsOverrides in New-AzWebApp…
Browse files Browse the repository at this point in the history
…Slot are ignored (#20606)

* [AppService]: doc-update #12181- AppSettingsOverrides in New-AzWebAppSlot are ignored

* Review comments are addressed
  • Loading branch information
Kotasudhakarreddy authored Jan 17, 2023
1 parent f4012a6 commit 4f9d618
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public class NewAzureWebAppSlotCmdlet : WebAppBaseClientCmdLet
[ValidateNotNullOrEmpty]
public SwitchParameter IgnoreCustomHostNames { get; set; }

[Parameter(Position = 8, Mandatory = false, HelpMessage = "Overrides all application settings in new web app")]
[Parameter(Position = 8, Mandatory = false, HelpMessage = "Overrides all application settings in new web app. It works only with SourceWebApp parameter")]
[ValidateNotNullOrEmpty]
public Hashtable AppSettingsOverrides { get; set; }

Expand Down
2 changes: 1 addition & 1 deletion src/Websites/Websites/Cmdlets/WebApps/NewAzureWebApp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public class NewAzureWebAppCmdlet : WebAppBaseClientCmdLet
[ValidateNotNullOrEmpty]
public SwitchParameter IgnoreCustomHostNames { get; set; }

[Parameter(Position = 6, Mandatory = false, HelpMessage = "Overrides all application settings in new web app", ParameterSetName = CopyWebAppParameterSet)]
[Parameter(Position = 6, Mandatory = false, HelpMessage = "Overrides all application settings in new web app. It works only with SourceWebApp parameter", ParameterSetName = CopyWebAppParameterSet)]
[ValidateNotNullOrEmpty]
public Hashtable AppSettingsOverrides { get; set; }

Expand Down
2 changes: 1 addition & 1 deletion src/Websites/Websites/help/New-AzWebApp.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Accept wildcard characters: False
```
### -AppSettingsOverrides
App Settings Overrides HashTable
App Settings Overrides HashTable. It works only with SourceWebApp parameter.
```yaml
Type: System.Collections.Hashtable
Expand Down
2 changes: 1 addition & 1 deletion src/Websites/Websites/help/New-AzWebAppSlot.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Accept wildcard characters: False
```
### -AppSettingsOverrides
App Settings Overrides Hashtable
App Settings Overrides Hashtable. It works only with SourceWebApp parameter.
```yaml
Type: System.Collections.Hashtable
Expand Down

0 comments on commit 4f9d618

Please sign in to comment.