Skip to content

Commit 4f9e841

Browse files
committed
fixed config for Scenario 3
1 parent 799a89c commit 4f9e841

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

articles/automation/automation-solution-vm-management-config.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,10 @@ By default, the solution is pre-configured to evaluate the percentage CPU metric
9595

9696
* **External_AutoStop_TimeWindow**
9797

98+
* **External_AutoStop_Frequency**
99+
100+
* **External_AutoStop_Severity**
101+
98102
You can enable and target the action against a subscription and resource group, or target a specific list of VMs.
99103

100104
When you run the **AutoStop_CreateAlert_Parent** runbook, it verifies that the targeted subscription, resource group(s) and VMs exist. If the VMs exist, it then calls the **AutoStop_CreateAlert_Child** runbook for each verified VM by the parent runbook. This child runbook performs the following:

articles/automation/automation-solution-vm-management.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,15 +132,16 @@ The following table lists the variables created in your Automation account. Only
132132
|External_ExcludeVMNames | Enter VM names to be excluded, separating names by using a comma with no spaces. This is limited to 140 VMs. If you add more than 140 VMs to this comma-separated list, VMs that are set to be excluded may be inadvertently started or stopped.|
133133
|External_Start_ResourceGroupNames | Specifies one or more resource groups, separating values by using a comma, targeted for start actions.|
134134
|External_Stop_ResourceGroupNames | Specifies one or more resource groups, separating values by using a comma, targeted for stop actions.|
135-
|External_WaitTimeForVMRetrySeconds |The wait time in seconds for the actions to be performed on the VMs for the Sequenced start/stop runbook.|
135+
|External_WaitTimeForVMRetrySeconds |The wait time in seconds for the actions to be performed on the VMs for the Sequenced start/stop runbook.<br> Default value is 2100 seconds and supports configuring to a maximum value of 10800 or three hours.|
136136
|Internal_AutomationAccountName | Specifies the name of the Automation account.|
137137
|Internal_AutoSnooze_ARM_WebhookURI | Specifies Webhook URI called for the AutoStop scenario for classic VMs.|
138138
|Internal_AutoSnooze_WebhookUri | Specifies Webhook URI called for the AutoStop scenario.|
139139
|Internal_AzureSubscriptionId | Specifies the Azure Subscription ID.|
140140
|Internal_ResourceGroupName | Specifies the Automation account resource group name.|
141141

142142
>[!NOTE]
143-
>For the variable **External_WaitTimeForVMRetryInSeconds**, the default value has been updated from 600 to 2100. This variable allows the **Sequenced start/stop scenario** runbook to wait for the child operations on *x* seconds before proceeding with the next action.
143+
>For the variable **External_WaitTimeForVMRetryInSeconds**, the default value has been updated from 600 to 2100. This variable allows the **Sequenced start/stop scenario** runbook to wait for the child operations for specified number of seconds before proceeding with the next action.
144+
>
144145
145146
Across all scenarios, the **External_Start_ResourceGroupNames**, **External_Stop_ResourceGroupNames**, and **External_ExcludeVMNames** variables are necessary for targeting VMs, with the exception of providing a comma-separated list of VMs for the **AutoStop_CreateAlert_Parent**, **SequencedStartStop_Parent**, and **ScheduledStartStop_Parent** runbooks. That is, your VMs must reside in target resource groups for start and stop actions to occur. The logic works similar to Azure policy, in that you can target the subscription or resource group and have actions inherited by newly created VMs. This approach avoids having to maintain a separate schedule for every VM and manage starts and stops in scale.
146147

0 commit comments

Comments
 (0)