You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/ResourceManager/Websites/ChangeLog.md
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,7 @@
22
22
* Added ResourceGroup Completer to -ResourceGroup parameters allowing tab completion through resource groups in current subscription
23
23
* Added -AsJob support for long-running Websites cmdlets. Allows selected cmdlets to run in the background and return a job to track and control progress.
24
24
- Affected cmdlets are New-, Remove-, Add-, and Set- for WebApps, AppServicePlan and Slots
25
+
* Added -AssignIdentity & -Httpsonly properties for SetAzureWebApp
Copy file name to clipboardExpand all lines: src/ResourceManager/Websites/Commands.Websites/Cmdlets/WebApps/SetAzureWebApp.cs
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -98,10 +98,10 @@ public class SetAzureWebAppCmdlet : WebAppBaseCmdlet
98
98
publicSwitchParameterAsJob{get;set;}
99
99
100
100
[Parameter(ParameterSetName=ParameterSet1Name,Mandatory=false,HelpMessage="Enable MSI on an existing azure webapp or functionapp")]
101
-
publicboolAssignIdentity{get;set;}
101
+
publicSwitchParameterAssignIdentity{get;set;}
102
102
103
103
[Parameter(ParameterSetName=ParameterSet1Name,Mandatory=false,HelpMessage="Enable/disable redirecting all traffic to HTTPS on an existing azure webapp or functionapp")]
104
-
publicboolHttpsOnly{get;set;}
104
+
publicSwitchParameterHttpsOnly{get;set;}
105
105
106
106
publicoverridevoidExecuteCmdlet()
107
107
{
@@ -150,7 +150,7 @@ public override void ExecuteCmdlet()
Enable MSI on an existing azure webapp or functionapp```yaml
97
+
Type: SwitchParameter
98
+
Parameter Sets: S1
99
+
Aliases:
100
+
101
+
Required: False
102
+
Position: Named
103
+
Default value: None
104
+
Accept pipeline input: False
105
+
Accept wildcard characters: False
106
+
```
107
+
80
108
### -AutoSwapSlotName
81
109
Destination slot name for auto swap
82
110
@@ -197,6 +225,19 @@ Accept pipeline input: False
197
225
Accept wildcard characters: False
198
226
```
199
227
228
+
### -HttpsOnly
229
+
Enable/disable redirecting all traffic to HTTPS on an existing azure webapp or functionapp```yaml
230
+
Type: SwitchParameter
231
+
Parameter Sets: S1
232
+
Aliases:
233
+
234
+
Required: False
235
+
Position: Named
236
+
Default value: None
237
+
Accept pipeline input: False
238
+
Accept wildcard characters: False
239
+
```
240
+
200
241
### -ManagedPipelineMode
201
242
Managed Pipeline Mode Name
202
243
@@ -348,21 +389,6 @@ Accept pipeline input: False
348
389
Accept wildcard characters: False
349
390
```
350
391
351
-
### -AsJob
352
-
Run cmdlet in the background
353
-
354
-
```yaml
355
-
Type: SwitchParameter
356
-
Parameter Sets: (All)
357
-
Aliases:
358
-
359
-
Required: False
360
-
Position: Named
361
-
Default value: None
362
-
Accept pipeline input: False
363
-
Accept wildcard characters: False
364
-
```
365
-
366
392
### CommonParameters
367
393
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
0 commit comments