@@ -201,42 +201,24 @@ Finally, you'll need to create the Azure Logic App and set up an execution sched
201
201
$maintenanceTagName = Read-Host -Prompt "Enter the name of the Tag associated with VMs you don’t want to be managed by this scaling tool"
202
202
203
203
.\createazurelogicapp.ps1 -ResourceGroupName $resourceGroupName `
204
-
205
- -AADTenantID $aadTenantId `
206
-
207
- -SubscriptionID $subscriptionId `
208
-
209
- -TenantName $tenantName `
210
-
211
- -HostPoolName $hostPoolName `
212
-
213
- -RecurrenceInterval $recurrenceInterval `
214
-
215
- -BeginPeakTime $beginPeakTime `
216
-
217
- -EndPeakTime $endPeakTime `
218
-
219
- -TimeDifference $timeDifference `
220
-
221
- -SessionThresholdPerCPU $sessionThresholdPerCPU `
222
-
223
- -MinimumNumberOfRDSH $minimumNumberOfRdsh `
224
-
225
- -LimitSecondsToForceLogOffUser $limitSecondsToForceLogOffUser `
226
-
227
- -LogOffMessageTitle $logOffMessageTitle `
228
-
229
- -LogOffMessageBody $logOffMessageBody `
230
-
231
- -Location $location `
232
-
233
- -ConnectionAssetName $connectionAssetName `
234
-
235
- -WebHookURI $webHookURI `
236
-
237
- -AutomationAccountName $automationAccountName `
238
-
239
- -MaintenanceTagName $maintenanceTagName
204
+ -AADTenantID $aadTenantId `
205
+ -SubscriptionID $subscriptionId `
206
+ -TenantName $tenantName `
207
+ -HostPoolName $hostPoolName `
208
+ -RecurrenceInterval $recurrenceInterval `
209
+ -BeginPeakTime $beginPeakTime `
210
+ -EndPeakTime $endPeakTime `
211
+ -TimeDifference $timeDifference `
212
+ -SessionThresholdPerCPU $sessionThresholdPerCPU `
213
+ -MinimumNumberOfRDSH $minimumNumberOfRdsh `
214
+ -LimitSecondsToForceLogOffUser $limitSecondsToForceLogOffUser `
215
+ -LogOffMessageTitle $logOffMessageTitle `
216
+ -LogOffMessageBody $logOffMessageBody `
217
+ -Location $location `
218
+ -ConnectionAssetName $connectionAssetName `
219
+ -WebHookURI $webHookURI `
220
+ -AutomationAccountName $automationAccountName `
221
+ -MaintenanceTagName $maintenanceTagName
240
222
```
241
223
242
224
After you run the script, the Logic App should appear in a resource group, as shown in the following image.
0 commit comments