-
Notifications
You must be signed in to change notification settings - Fork 4.9k
/
patchSchedule.json
47 lines (47 loc) · 1.39 KB
/
patchSchedule.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
"parameters": {
"api-version": "2022-08-01",
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"resourceGroupName": "testrg123",
"labName": "testlab",
"scheduleName": "schedule1",
"body": {
"properties": {
"recurrencePattern": {
"frequency": "Daily",
"interval": 2,
"expirationDate": "2020-08-14T23:59:59Z"
}
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.LabServices/labs/testlab/schedules/schedule1",
"name": "schedule1",
"type": "Microsoft.LabServices/Schedule",
"systemData": {
"createdBy": "identity123",
"createdByType": "User",
"createdAt": "2020-05-01T10:00:00Z",
"lastModifiedBy": "identity123",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-06-01T09:12:28Z"
},
"properties": {
"provisioningState": "Succeeded",
"startAt": "2020-05-26T12:00:00Z",
"stopAt": "2020-05-26T18:00:00Z",
"recurrencePattern": {
"frequency": "Daily",
"interval": 2,
"expirationDate": "2020-08-14T23:59:59Z"
},
"timeZoneId": "America/Los_Angeles",
"notes": "Schedule 1 for students"
}
}
}
}
}