/
listVirtualMachine.json
44 lines (44 loc) · 1.45 KB
/
listVirtualMachine.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
{
"parameters": {
"api-version": "2022-08-01",
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"resourceGroupName": "testrg123",
"labName": "testlab"
},
"responses": {
"200": {
"body": {
"nextLink": null,
"value": [
{
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.LabServices/labs/testlab/virtualMachines/template",
"name": "default",
"type": "Microsoft.LabServices/VirtualMachine",
"systemData": {
"createdBy": "identity123",
"createdByType": "User",
"createdAt": "2020-05-01T10:00:00Z",
"lastModifiedBy": "identity123",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-06-01T09:12:28Z"
},
"properties": {
"provisioningState": "Succeeded",
"state": "Running",
"connectionProfile": {
"privateIpAddress": "192.168.2.1",
"sshAuthority": "vm-42.contoso.com:22",
"sshInBrowserUrl": "vm-42.contoso.com",
"rdpAuthority": "vm-42.contoso.com:3389",
"rdpInBrowserUrl": "vm-42.contoso.com",
"adminUsername": "user123"
},
"claimedByUserId": "testuser567",
"vmType": "Template"
}
}
]
}
}
}
}