Skip to content

Commit 057ebe3

Browse files
committed
Bringing back the response include file, but putting it local to VMs
1 parent 8647677 commit 057ebe3

File tree

2 files changed

+335
-649
lines changed

2 files changed

+335
-649
lines changed
Lines changed: 333 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,333 @@
1+
---
2+
author: LittleBoxOfSunshine
3+
manager: KumariSupriya
4+
ms.service: virtual-machines
5+
ms.subservice: monitoring
6+
ms.topic: include
7+
ms.date: 01/04/2021
8+
ms.author: chhenk
9+
ms.reviewer: azmetadatadev
10+
---
11+
12+
#### [Windows](#tab/windows/)
13+
```json
14+
{
15+
"compute": {
16+
"azEnvironment": "AZUREPUBLICCLOUD",
17+
"additionalCapabilities": {
18+
"hibernationEnabled": "true"
19+
},
20+
"hostGroup": {
21+
"id": "testHostGroupId"
22+
},
23+
"extendedLocation": {
24+
"type": "edgeZone",
25+
"name": "microsoftlosangeles"
26+
},
27+
"evictionPolicy": "",
28+
"isHostCompatibilityLayerVm": "true",
29+
"licenseType": "Windows_Client",
30+
"location": "westus",
31+
"name": "examplevmname",
32+
"offer": "WindowsServer",
33+
"osProfile": {
34+
"adminUsername": "admin",
35+
"computerName": "examplevmname",
36+
"disablePasswordAuthentication": "true"
37+
},
38+
"osType": "Windows",
39+
"placementGroupId": "f67c14ab-e92c-408c-ae2d-da15866ec79a",
40+
"plan": {
41+
"name": "planName",
42+
"product": "planProduct",
43+
"publisher": "planPublisher"
44+
},
45+
"platformFaultDomain": "36",
46+
"platformSubFaultDomain": "",
47+
"platformUpdateDomain": "42",
48+
"priority": "Regular",
49+
"publicKeys": [{
50+
"keyData": "ssh-rsa 0",
51+
"path": "/home/user/.ssh/authorized_keys0"
52+
},
53+
{
54+
"keyData": "ssh-rsa 1",
55+
"path": "/home/user/.ssh/authorized_keys1"
56+
}
57+
],
58+
"publisher": "RDFE-Test-Microsoft-Windows-Server-Group",
59+
"resourceGroupName": "macikgo-test-may-23",
60+
"resourceId": "/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx/resourceGroups/macikgo-test-may-23/providers/Microsoft.Compute/virtualMachines/examplevmname",
61+
"securityProfile": {
62+
"secureBootEnabled": "true",
63+
"virtualTpmEnabled": "false",
64+
"encryptionAtHost": "true",
65+
"securityType": "TrustedLaunch"
66+
},
67+
"sku": "2019-Datacenter",
68+
"storageProfile": {
69+
"dataDisks": [{
70+
"bytesPerSecondThrottle": "979202048",
71+
"caching": "None",
72+
"createOption": "Empty",
73+
"diskCapacityBytes": "274877906944",
74+
"diskSizeGB": "1024",
75+
"image": {
76+
"uri": ""
77+
},
78+
"isSharedDisk": "false",
79+
"isUltraDisk": "true",
80+
"lun": "0",
81+
"managedDisk": {
82+
"id": "/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx/resourceGroups/macikgo-test-may-23/providers/Microsoft.Compute/disks/exampledatadiskname",
83+
"storageAccountType": "StandardSSD_LRS"
84+
},
85+
"name": "exampledatadiskname",
86+
"opsPerSecondThrottle": "65280",
87+
"vhd": {
88+
"uri": ""
89+
},
90+
"writeAcceleratorEnabled": "false"
91+
}],
92+
"imageReference": {
93+
"id": "",
94+
"offer": "WindowsServer",
95+
"publisher": "MicrosoftWindowsServer",
96+
"sku": "2019-Datacenter",
97+
"version": "latest"
98+
},
99+
"osDisk": {
100+
"caching": "ReadWrite",
101+
"createOption": "FromImage",
102+
"diskSizeGB": "30",
103+
"diffDiskSettings": {
104+
"option": "Local"
105+
},
106+
"encryptionSettings": {
107+
"enabled": "false",
108+
"diskEncryptionKey": {
109+
"sourceVault": {
110+
"id": "/subscriptions/test-source-guid/resourceGroups/testrg/providers/Microsoft.KeyVault/vaults/test-kv"
111+
},
112+
"secretUrl": "https://test-disk.vault.azure.net/secrets/xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx/xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx"
113+
},
114+
"keyEncryptionKey": {
115+
"sourceVault": {
116+
"id": "/subscriptions/test-key-guid/resourceGroups/testrg/providers/Microsoft.KeyVault/vaults/test-kv"
117+
},
118+
"keyUrl": "https://test-key.vault.azure.net/secrets/xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx/xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx"
119+
}
120+
},
121+
"image": {
122+
"uri": ""
123+
},
124+
"managedDisk": {
125+
"id": "/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx/resourceGroups/macikgo-test-may-23/providers/Microsoft.Compute/disks/exampleosdiskname",
126+
"storageAccountType": "StandardSSD_LRS"
127+
},
128+
"name": "exampleosdiskname",
129+
"osType": "Windows",
130+
"vhd": {
131+
"uri": ""
132+
},
133+
"writeAcceleratorEnabled": "false"
134+
},
135+
"resourceDisk": {
136+
"size": "4096"
137+
}
138+
},
139+
"subscriptionId": "xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx",
140+
"tags": "baz:bash;foo:bar",
141+
"userData": "Zm9vYmFy",
142+
"version": "15.05.22",
143+
"virtualMachineScaleSet": {
144+
"id": "/subscriptions/xxxxxxxx-xxxxx-xxx-xxx-xxxx/resourceGroups/resource-group-name/providers/Microsoft.Compute/virtualMachineScaleSets/virtual-machine-scale-set-name"
145+
},
146+
"vmId": "02aab8a4-74ef-476e-8182-f6d2ba4166a6",
147+
"vmScaleSetName": "crpteste9vflji9",
148+
"vmSize": "Standard_A3",
149+
"zone": ""
150+
},
151+
"network": {
152+
"interface": [{
153+
"ipv4": {
154+
"ipAddress": [{
155+
"privateIpAddress": "10.144.133.132",
156+
"publicIpAddress": ""
157+
}],
158+
"subnet": [{
159+
"address": "10.144.133.128",
160+
"prefix": "26"
161+
}]
162+
},
163+
"ipv6": {
164+
"ipAddress": [
165+
]
166+
},
167+
"macAddress": "0011AAFFBB22"
168+
}]
169+
}
170+
}
171+
```
172+
173+
#### [Linux](#tab/linux/)
174+
```json
175+
{
176+
"compute": {
177+
"azEnvironment": "AZUREPUBLICCLOUD",
178+
"additionalCapabilities": {
179+
"hibernationEnabled": "true"
180+
},
181+
"hostGroup": {
182+
"id": "testHostGroupId"
183+
},
184+
"extendedLocation": {
185+
"type": "edgeZone",
186+
"name": "microsoftlosangeles"
187+
},
188+
"evictionPolicy": "",
189+
"isHostCompatibilityLayerVm": "true",
190+
"licenseType": "",
191+
"location": "westus",
192+
"name": "examplevmname",
193+
"offer": "UbuntuServer",
194+
"osProfile": {
195+
"adminUsername": "admin",
196+
"computerName": "examplevmname",
197+
"disablePasswordAuthentication": "true"
198+
},
199+
"osType": "Linux",
200+
"placementGroupId": "f67c14ab-e92c-408c-ae2d-da15866ec79a",
201+
"plan": {
202+
"name": "planName",
203+
"product": "planProduct",
204+
"publisher": "planPublisher"
205+
},
206+
"platformFaultDomain": "36",
207+
"platformSubFaultDomain": "",
208+
"platformUpdateDomain": "42",
209+
"priority": "Regular",
210+
"publicKeys": [{
211+
"keyData": "ssh-rsa 0",
212+
"path": "/home/user/.ssh/authorized_keys0"
213+
},
214+
{
215+
"keyData": "ssh-rsa 1",
216+
"path": "/home/user/.ssh/authorized_keys1"
217+
}
218+
],
219+
"publisher": "Canonical",
220+
"resourceGroupName": "macikgo-test-may-23",
221+
"resourceId": "/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx/resourceGroups/macikgo-test-may-23/providers/Microsoft.Compute/virtualMachines/examplevmname",
222+
"securityProfile": {
223+
"secureBootEnabled": "true",
224+
"virtualTpmEnabled": "false",
225+
"encryptionAtHost": "true",
226+
"securityType": "TrustedLaunch"
227+
},
228+
"sku": "18.04-LTS",
229+
"storageProfile": {
230+
"dataDisks": [{
231+
"bytesPerSecondThrottle": "979202048",
232+
"caching": "None",
233+
"createOption": "Empty",
234+
"diskCapacityBytes": "274877906944",
235+
"diskSizeGB": "1024",
236+
"image": {
237+
"uri": ""
238+
},
239+
"isSharedDisk": "false",
240+
"isUltraDisk": "true",
241+
"lun": "0",
242+
"managedDisk": {
243+
"id": "/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx/resourceGroups/macikgo-test-may-23/providers/Microsoft.Compute/disks/exampledatadiskname",
244+
"storageAccountType": "StandardSSD_LRS"
245+
},
246+
"name": "exampledatadiskname",
247+
"opsPerSecondThrottle": "65280",
248+
"vhd": {
249+
"uri": ""
250+
},
251+
"writeAcceleratorEnabled": "false"
252+
}],
253+
"imageReference": {
254+
"id": "",
255+
"offer": "UbuntuServer",
256+
"publisher": "Canonical",
257+
"sku": "16.04.0-LTS",
258+
"version": "latest"
259+
},
260+
"osDisk": {
261+
"caching": "ReadWrite",
262+
"createOption": "FromImage",
263+
"diskSizeGB": "30",
264+
"diffDiskSettings": {
265+
"option": "Local"
266+
},
267+
"encryptionSettings": {
268+
"enabled": "false",
269+
"diskEncryptionKey": {
270+
"sourceVault": {
271+
"id": "/subscriptions/test-source-guid/resourceGroups/testrg/providers/Microsoft.KeyVault/vaults/test-kv"
272+
},
273+
"secretUrl": "https://test-disk.vault.azure.net/secrets/xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx/xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx"
274+
},
275+
"keyEncryptionKey": {
276+
"sourceVault": {
277+
"id": "/subscriptions/test-key-guid/resourceGroups/testrg/providers/Microsoft.KeyVault/vaults/test-kv"
278+
},
279+
"keyUrl": "https://test-key.vault.azure.net/secrets/xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx/xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx"
280+
}
281+
},
282+
"image": {
283+
"uri": ""
284+
},
285+
"managedDisk": {
286+
"id": "/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx/resourceGroups/macikgo-test-may-23/providers/Microsoft.Compute/disks/exampleosdiskname",
287+
"storageAccountType": "StandardSSD_LRS"
288+
},
289+
"name": "exampleosdiskname",
290+
"osType": "Linux",
291+
"vhd": {
292+
"uri": ""
293+
},
294+
"writeAcceleratorEnabled": "false"
295+
},
296+
"resourceDisk": {
297+
"size": "4096"
298+
}
299+
},
300+
"subscriptionId": "xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx",
301+
"tags": "baz:bash;foo:bar",
302+
"version": "15.05.22",
303+
"virtualMachineScaleSet": {
304+
"id": "/subscriptions/xxxxxxxx-xxxxx-xxx-xxx-xxxx/resourceGroups/resource-group-name/providers/Microsoft.Compute/virtualMachineScaleSets/virtual-machine-scale-set-name"
305+
},
306+
"vmId": "02aab8a4-74ef-476e-8182-f6d2ba4166a6",
307+
"vmScaleSetName": "crpteste9vflji9",
308+
"vmSize": "Standard_A3",
309+
"zone": ""
310+
},
311+
"network": {
312+
"interface": [{
313+
"ipv4": {
314+
"ipAddress": [{
315+
"privateIpAddress": "10.144.133.132",
316+
"publicIpAddress": ""
317+
}],
318+
"subnet": [{
319+
"address": "10.144.133.128",
320+
"prefix": "26"
321+
}]
322+
},
323+
"ipv6": {
324+
"ipAddress": [
325+
]
326+
},
327+
"macAddress": "0011AAFFBB22"
328+
}]
329+
}
330+
}
331+
```
332+
333+
---

0 commit comments

Comments
 (0)