Skip to content

Commit a2091cc

Browse files
committed
Fixes
1 parent 553f0e1 commit a2091cc

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

articles/devtest-labs/devtest-lab-vm-powershell.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ You can also call the DevTest Labs REST API to get the properties of existing la
186186
In training, demo, and trial scenarios, you can avoid unnecessary costs by deleting VMs automatically on a certain date. You can set the VM `expirationDate` property when you create a VM. The PowerShell VM creation script earlier in this article sets an expiration date under `properties`:
187187

188188
```json
189-
"expirationDate" = "2022-12-01"
189+
"expirationDate": "2022-12-01"
190190
```
191191

192192
You can also set expiration dates on existing VMs by using PowerShell. The following PowerShell script sets an expiration date for an existing lab VM if it doesn't already have an expiration date:

articles/machine-learning/how-to-create-compute-instance.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ In the Resource Manager template, add:
402402
```
403403

404404
Then use either cron or LogicApps expressions to define the schedule that starts or stops the instance in your parameter file:
405-
405+
406406
```json
407407
"schedules": {
408408
"value": {
@@ -426,18 +426,18 @@ Then use either cron or LogicApps expressions to define the schedule that starts
426426
"status": "Enabled"
427427
},
428428
{
429-
"triggerType":"Recurrence",
430-
"recurrence":{
431-
"frequency":"Day",
432-
"interval":1,
433-
"timeZone":"UTC",
434-
  "schedule":{
435-
"hours":[17],
436-
    "minutes":[0]
429+
"triggerType": "Recurrence",
430+
"recurrence": {
431+
"frequency": "Day",
432+
"interval": 1,
433+
"timeZone": "UTC",
434+
  "schedule": {
435+
"hours": [17],
436+
    "minutes": [0]
437437
}
438438
},
439-
"action":"Stop",
440-
"status":"Enabled"
439+
"action": "Stop",
440+
"status": "Enabled"
441441
}
442442
]
443443
}

0 commit comments

Comments
 (0)