-
Notifications
You must be signed in to change notification settings - Fork 5k
/
Disk_Get.json
74 lines (74 loc) · 2.71 KB
/
Disk_Get.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
{
"parameters": {
"subscriptionId": "{subscription-id}",
"resourceGroupName": "myResourceGroup",
"api-version": "2024-03-02",
"diskName": "myManagedDisk"
},
"responses": {
"200": {
"body": {
"managedBy": "/subscriptions/123caaa-123v-v211-a49f-f88ccac5bf88/resourceGroups/ResourceGroupName/providers/Microsoft.Compute/virtualMachines/TestVM414689371c88843d65ec",
"sku": {
"name": "Standard_LRS"
},
"properties": {
"osType": "Windows",
"hyperVGeneration": "V1",
"purchasePlan": {
"name": "test_sku",
"publisher": "test_test_pmc2pc1",
"product": "marketplace_vm_test"
},
"supportedCapabilities": {
"acceleratedNetwork": true
},
"supportsHibernation": true,
"securityProfile": {
"securityType": "TrustedLaunch"
},
"creationData": {
"createOption": "FromImage",
"imageReference": {
"id": "/Subscriptions/{subscription-id}/Providers/Microsoft.Compute/Locations/westus/Publishers/test_test_pmc2pc1/ArtifactTypes/VMImage/Offers/marketplace_vm_test/Skus/test_sku/Versions/1.0.0"
}
},
"diskSizeGB": 10,
"encryptionSettingsCollection": {
"enabled": true,
"encryptionSettings": [
{
"diskEncryptionKey": {
"sourceVault": {
"id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
},
"secretUrl": "https://myvmvault.vault-int.azure-int.net/secrets/{secret}"
},
"keyEncryptionKey": {
"sourceVault": {
"id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
},
"keyUrl": "https://myvmvault.vault-int.azure-int.net/keys/{key}"
}
}
]
},
"encryption": {
"type": "EncryptionAtRestWithPlatformKey"
},
"LastOwnershipUpdateTime": "2016-12-28T04:41:35.079872+00:00",
"timeCreated": "2016-12-28T04:41:35.079872+00:00",
"provisioningState": "Succeeded"
},
"type": "Microsoft.Compute/disks",
"location": "westus",
"tags": {
"department": "Development",
"project": "ManagedDisks"
},
"id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk",
"name": "myManagedDisk"
}
}
}
}