Skip to content

Commit 253b51c

Browse files
Merge pull request #216739 from adwilso/main
Duration Fixes in Scheduled Events documentation
2 parents 67c664a + 2e3c35c commit 253b51c

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

articles/virtual-machines/linux/scheduled-events.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ In the case where there are scheduled events, the response contains an array of
161161
| NotBefore| Time after which this event can start. The event is guaranteed to not start before this time. Will be blank if the event has already started <br><br> Example: <br><ul><li> Mon, 19 Sep 2016 18:29:47 GMT |
162162
| Description | Description of this event. <br><br> Example: <br><ul><li> Host server is undergoing maintenance. |
163163
| EventSource | Initiator of the event. <br><br> Example: <br><ul><li> `Platform`: This event is initiated by platform. <li>`User`: This event is initiated by user. |
164-
| DurationInSeconds | The expected duration of the interruption caused by the event. <br><br> Example: <br><ul><li> `9`: The interruption caused by the event will last for 9 seconds. <li>`-1`: The default value used if the impact duration is either unknown or not applicable. |
164+
| DurationInSeconds | The expected duration of the interruption caused by the event. <br><br> Example: <br><ul><li> `9`: The interruption caused by the event will last for 9 seconds. <li> `0`: The event will not interrupt the VM or impact its availability (eg. update to the network) <li>`-1`: The default value used if the impact duration is either unknown or not applicable. |
165165

166166
### Event Scheduling
167167
Each event is scheduled a minimum amount of time in the future based on the event type. This time is reflected in an event's `NotBefore` property.
@@ -251,7 +251,7 @@ The `DocumentIncarnation` is changing every time there is new information in `Ev
251251
"NotBefore": "Mon, 11 Apr 2022 22:26:58 GMT",
252252
"Description": "Virtual machine is being paused because of a memory-preserving Live Migration operation.",
253253
"EventSource": "Platform",
254-
"DurationInSeconds": -1
254+
"DurationInSeconds": 5
255255
}
256256
]
257257
}
@@ -271,7 +271,7 @@ The `DocumentIncarnation` is changing every time there is new information in `Ev
271271
"NotBefore": "",
272272
"Description": "Virtual machine is being paused because of a memory-preserving Live Migration operation.",
273273
"EventSource": "Platform",
274-
"DurationInSeconds": -1
274+
"DurationInSeconds": 5
275275
}
276276
]
277277
}

articles/virtual-machines/windows/scheduled-events.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ In the case where there are scheduled events, the response contains an array of
165165
| NotBefore| Time after which this event can start. The event is guaranteed to not start before this time. Will be blank if the event has already started <br><br> Example: <br><ul><li> Mon, 19 Sep 2016 18:29:47 GMT |
166166
| Description | Description of this event. <br><br> Example: <br><ul><li> Host server is undergoing maintenance. |
167167
| EventSource | Initiator of the event. <br><br> Example: <br><ul><li> `Platform`: This event is initiated by platform. <li>`User`: This event is initiated by user. |
168-
| DurationInSeconds | The expected duration of the interruption caused by the event. <br><br> Example: <br><ul><li> `9`: The interruption caused by the event will last for 9 seconds. <li>`-1`: The default value used if the impact duration is either unknown or not applicable. |
168+
| DurationInSeconds | The expected duration of the interruption caused by the event. <br><br> Example: <br><ul><li> `9`: The interruption caused by the event will last for 9 seconds. <li>`0`: The event will not interrupt the VM or impact its availability (eg. update to the network) <li>`-1`: The default value used if the impact duration is either unknown or not applicable. |
169169

170170
### Event scheduling
171171
Each event is scheduled a minimum amount of time in the future based on the event type. This time is reflected in an event's `NotBefore` property.
@@ -260,7 +260,7 @@ The `DocumentIncarnation` is changing every time there is new information in `Ev
260260
"NotBefore": "Mon, 11 Apr 2022 22:26:58 GMT",
261261
"Description": "Virtual machine is being paused because of a memory-preserving Live Migration operation.",
262262
"EventSource": "Platform",
263-
"DurationInSeconds": -1
263+
"DurationInSeconds": 5
264264
}
265265
]
266266
}
@@ -280,7 +280,7 @@ The `DocumentIncarnation` is changing every time there is new information in `Ev
280280
"NotBefore": "",
281281
"Description": "Virtual machine is being paused because of a memory-preserving Live Migration operation.",
282282
"EventSource": "Platform",
283-
"DurationInSeconds": -1
283+
"DurationInSeconds": 5
284284
}
285285
]
286286
}

0 commit comments

Comments
 (0)