зеркало из https://github.com/Azure/aaz.git
add datetime array format doc
This commit is contained in:
Родитель
b428b5961e
Коммит
048f0bc348
|
@ -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"]}'
|
||||
```
|
||||
|
|
|
@ -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",
|
||||
|
|
Загрузка…
Ссылка в новой задаче