Skip to content

Commit 5ade454

Browse files
authored
In guest example new az maintenance configuration (#24194)
* InGuest Example Added * added one sentemce
1 parent 761147f commit 5ade454

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

src/Maintenance/Maintenance/help/New-AzConfigurationAssignment.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ FilterLocation[1] : centraluseuap
6262
FilterOsType[0] : Windows
6363
FilterOsType[1] : Linux
6464
```
65+
Register maintenance configuration for InGuest scope
6566

6667
## PARAMETERS
6768

src/Maintenance/Maintenance/help/New-AzMaintenanceConfiguration.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,36 @@ Type : Microsoft.Maintenance/maintenanceConfigurations
5757

5858
Create a maintenance configuration with scope Host
5959

60+
### Example 2
61+
```powershell
62+
New-AzMaintenanceConfiguration -ResourceGroupName sethurams-test2 -Name workervmscentralus -MaintenanceScope "InGuestPatch" -Location eastus2euap -Timezone "UTC" -StartDateTime "2025-10-09 12:30" -Duration "3:00" -RecurEvery "Day" -LinuxParameterPackageNameMaskToInclude "apt","httpd" -ExtensionProperty @{inGuestPatchMode="User"} -InstallPatchRebootSetting "IfRequired" -Debug
63+
```
64+
65+
```output
66+
Location : eastus2euap
67+
Tags : {}
68+
ExtensionProperties : {"inGuestPatchMode":"User"}
69+
MaintenanceScope : InGuestPatch
70+
Id : /subscriptions/eee2cef4-bc47-4278-b4f8-cfc65f25dfd8/resourcegroups/sethurams-test2/provider
71+
s/Microsoft.Maintenance/maintenanceConfigurations/workervmscentralus
72+
Name : workervmscentralus
73+
Type : Microsoft.Maintenance/maintenanceConfigurations
74+
StartDateTime : 2025-10-09 12:30
75+
Duration : 03:00
76+
Timezone : UTC
77+
Visibility : Custom
78+
RecurEvery : Day
79+
LinuxParameterClassificationToInclude : System.Collections.Generic.HashSet`1[System.String]
80+
LinuxParameterPackageNameMaskToExclude : System.Collections.Generic.HashSet`1[System.String]
81+
LinuxParameterPackageNameMaskToInclude : System.Collections.Generic.HashSet`1[System.String]
82+
WindowParameterKbNumberToInclude : System.Collections.Generic.HashSet`1[System.String]
83+
WindowParameterKbNumberToExclude : System.Collections.Generic.HashSet`1[System.String]
84+
WindowParameterClassificationToInclude : System.Collections.Generic.HashSet`1[System.String]
85+
InstallPatchRebootSetting : IfRequired
86+
```
87+
88+
Create a maintenance configuration with scope InGuest
89+
6090
## PARAMETERS
6191

6292
### -AsJob

0 commit comments

Comments
 (0)