-
Notifications
You must be signed in to change notification settings - Fork 4.9k
/
DevBoxDefinitions_Create.json
78 lines (78 loc) · 2.83 KB
/
DevBoxDefinitions_Create.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
"parameters": {
"api-version": "2022-11-11-preview",
"subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c58ffff",
"resourceGroupName": "rg1",
"devCenterName": "Contoso",
"devBoxDefinitionName": "WebDevBox",
"body": {
"properties": {
"imageReference": {
"id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/Example/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/contosogallery/images/exampleImage/version/1.0.0"
},
"sku": {
"name": "Preview"
},
"osStorageType": "SSD_1024",
"hibernateSupport": "Enabled"
},
"location": "centralus"
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/devboxdefinitions/devBoxDefinitionName",
"name": "WebDevBox",
"type": "Microsoft.DevCenter/devcenters/devboxdefinitions",
"properties": {
"imageReference": {
"id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/Example/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/contosogallery/images/exampleImage/version/1.0.0"
},
"sku": {
"name": "Preview"
},
"osStorageType": "SSD_1024",
"hibernateSupport": "Enabled",
"provisioningState": "Succeeded"
},
"location": "centralus",
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdAt": "2020-11-18T18:00:36.993Z",
"lastModifiedBy": "user1",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-11-18T18:30:36.993Z"
}
}
},
"201": {
"body": {
"id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso/devboxdefinitions/devBoxDefinitionName",
"name": "WebDevBox",
"type": "Microsoft.DevCenter/devcenters/devboxdefinitions",
"properties": {
"imageReference": {
"id": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/Example/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/contosogallery/images/exampleImage/version/1.0.0"
},
"sku": {
"name": "Preview"
},
"osStorageType": "SSD_1024",
"hibernateSupport": "Enabled",
"provisioningState": "Created"
},
"location": "centralus",
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdAt": "2020-11-18T18:00:36.993Z",
"lastModifiedBy": "user1",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-11-18T18:30:36.993Z"
}
}
}
}
}