Skip to content

Commit 85f2cb2

Browse files
authored
Merge pull request #114924 from VikasPullagura-MSFT/patch-81
(Azure CXP) resolves MicrosoftDocs/azure-docs#54586
2 parents f24e3a7 + 1e6c480 commit 85f2cb2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/virtual-machine-scale-sets/virtual-machine-scale-sets-automatic-instance-repairs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ az vmss create \
148148
--generate-ssh-keys \
149149
--load-balancer <existingLoadBalancer> \
150150
--health-probe <existingHealthProbeUnderLoaderBalancer> \
151-
--automatic-repairs-period 30
151+
--automatic-repairs-grace-period 30
152152
```
153153

154154
The above example uses an existing load balancer and health probe for monitoring application health status of instances. If you prefer to use an application health extension for monitoring instead, you can create a scale set, configure the application health extension and then enable the automatic instance repairs policy using the *az vmss update*, as explained in the next section.
@@ -211,7 +211,7 @@ az vmss update \
211211
--resource-group <myResourceGroup> \
212212
--name <myVMScaleSet> \
213213
--enable-automatic-repairs true \
214-
--automatic-repairs-period 30
214+
--automatic-repairs-grace-period 30
215215
```
216216

217217
## Viewing and updating the service state of automatic instance repairs policy

0 commit comments

Comments
 (0)