Skip to content

Commit 0be340c

Browse files
committed
added missing \ in CLI examples
1 parent b15aa8e commit 0be340c

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
@@ -45,7 +45,7 @@ az maintenance configuration create \
4545
--maintenance-window-duration "05:00" \
4646
--maintenance-window-recur-every "Month Fourth Monday" \
4747
--maintenance-window-start-date-time "2020-12-30 08:00" \
48-
--maintenance-window-time-zone "Pacific Standard Time"
48+
--maintenance-window-time-zone "Pacific Standard Time"
4949
```
5050

5151
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.
@@ -77,7 +77,7 @@ az maintenance configuration create \
7777
--maintenance-window-duration "05:00" \
7878
--maintenance-window-recur-every "Month Fourth Monday" \
7979
--maintenance-window-start-date-time "2020-12-30 08:00" \
80-
--maintenance-window-time-zone "Pacific Standard Time"
80+
--maintenance-window-time-zone "Pacific Standard Time"
8181
```
8282

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

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

0 commit comments

Comments
 (0)