diff --git a/Commands/automanage/configuration-profile/_create.md b/Commands/automanage/configuration-profile/_create.md index 08e679f5..3257af63 100644 --- a/Commands/automanage/configuration-profile/_create.md +++ b/Commands/automanage/configuration-profile/_create.md @@ -14,3 +14,8 @@ Create a configuration profile ```bash automanage configuration-profile create -n {profile_name} -g {rg} --configuration '{"Antimalware/Enable":false,"Backup/Enable":false,"VMInsights/Enable":true,"AzureSecurityCenter/Enable":true,"UpdateManagement/Enable":true,"ChangeTrackingAndInventory/Enable":true,"GuestConfiguration/Enable":true,"LogAnalytics/Enable":true,"BootDiagnostics/Enable":true}' ``` + +- create with datatime array + ```bash + automanage configuration-profile create -n {profile_name} -g {rg} --configuration '{"Backup/SchedulePolicy/ScheduleRunTimes":["2023-02-10T18:25:43.511Z", "2023-02-12T01:02:03.456Z"],"Backup/RetentionPolicy/DailySchedule/RetentionTimes":["2023-02-10T18:25:43.511Z", "2023-02-12T01:02:03.456Z"]}' + ``` diff --git a/Commands/tree.json b/Commands/tree.json index cd642679..a8fe4050 100644 --- a/Commands/tree.json +++ b/Commands/tree.json @@ -338,6 +338,12 @@ "automanage configuration-profile create -n {profile_name} -g {rg} --configuration '{\"Antimalware/Enable\":false,\"Backup/Enable\":false,\"VMInsights/Enable\":true,\"AzureSecurityCenter/Enable\":true,\"UpdateManagement/Enable\":true,\"ChangeTrackingAndInventory/Enable\":true,\"GuestConfiguration/Enable\":true,\"LogAnalytics/Enable\":true,\"BootDiagnostics/Enable\":true}'" ], "name": "create configuration-profile" + }, + { + "commands": [ + "automanage configuration-profile create -n {profile_name} -g {rg} --configuration '{\"Backup/SchedulePolicy/ScheduleRunTimes\":[\"2023-02-10T18:25:43.511Z\", \"2023-02-12T01:02:03.456Z\"],\"Backup/RetentionPolicy/DailySchedule/RetentionTimes\":[\"2023-02-10T18:25:43.511Z\", \"2023-02-12T01:02:03.456Z\"]}'" + ], + "name": "create with datatime array" } ], "name": "2022-05-04",