Skip to content

Commit 3d2ef7f

Browse files
Merge pull request #234105 from pruphil/pphillips-maintenance-config-changes
added missing \ in CLI examples
2 parents 624bf0c + 0be340c commit 3d2ef7f

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

articles/virtual-machines/maintenance-configurations-cli.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ az maintenance configuration create \
4646
--maintenance-window-duration "05:00" \
4747
--maintenance-window-recur-every "Month Fourth Monday" \
4848
--maintenance-window-start-date-time "2020-12-30 08:00" \
49-
--maintenance-window-time-zone "Pacific Standard Time"
49+
--maintenance-window-time-zone "Pacific Standard Time"
5050
```
5151

5252
Using `--maintenance-scope host` ensures that the maintenance configuration is used for controlling updates to the host infrastructure. If you try to create a configuration with the same name, but in a different location, you will get an error. Configuration names must be unique to your resource group.
@@ -78,7 +78,7 @@ az maintenance configuration create \
7878
--maintenance-window-duration "05:00" \
7979
--maintenance-window-recur-every "Month Fourth Monday" \
8080
--maintenance-window-start-date-time "2020-12-30 08:00" \
81-
--maintenance-window-time-zone "Pacific Standard Time"
81+
--maintenance-window-time-zone "Pacific Standard Time"
8282
```
8383

8484
### Guest VMs
@@ -90,14 +90,14 @@ az maintenance configuration create \
9090
--resource-group myMaintenanceRG \
9191
--resource-name myConfig \
9292
--maintenance-scope InGuestPatch \
93-
--location eastus
94-
--maintenance-window-duration "02:00"
95-
--maintenance-window-recur-every "20days"
96-
--maintenance-window-start-date-time "2022-12-30 07:00"
97-
--maintenance-window-time-zone "Pacific Standard Time"
98-
--install-patches-linux-parameters package-name-masks-to-exclude="ppt" package-name-masks-to-include="apt" classifications-to-include="Other"
99-
--install-patches-windows-parameters kb-numbers-to-exclude="KB123456" kb-numbers-to-include="KB123456" classifications-to-include="FeaturePack"
100-
--reboot-setting "IfRequired"
93+
--location eastus \
94+
--maintenance-window-duration "02:00" \
95+
--maintenance-window-recur-every "20days" \
96+
--maintenance-window-start-date-time "2022-12-30 07:00" \
97+
--maintenance-window-time-zone "Pacific Standard Time" \
98+
--install-patches-linux-parameters package-name-masks-to-exclude="ppt" package-name-masks-to-include="apt" classifications-to-include="Other" \
99+
--install-patches-windows-parameters kb-numbers-to-exclude="KB123456" kb-numbers-to-include="KB123456" classifications-to-include="FeaturePack" \
100+
--reboot-setting "IfRequired" \
101101
--extension-properties InGuestPatchMode="User"
102102
```
103103

@@ -190,7 +190,7 @@ az maintenance assignment list \
190190
--resource-type hosts \
191191
--provider-name Microsoft.Compute \
192192
--resource-parent-name myHostGroup \
193-
--resource-parent-type hostGroups
193+
--resource-parent-type hostGroups \
194194
--query "[].{ResourceGroup:resourceGroup,configName:name}" \
195195
--output table
196196
```

0 commit comments

Comments
 (0)