-
Notifications
You must be signed in to change notification settings - Fork 4.9k
/
DeviceCreate.json
53 lines (53 loc) · 1.71 KB
/
DeviceCreate.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
{
"parameters": {
"api-version": "2022-01-01-preview",
"subscriptionId": "subid",
"resourceGroupName": "rg1",
"deviceName": "TestDevice",
"parameters": {
"location": "eastus",
"properties": {
"deviceType": "AzureStackEdge",
"azureStackEdge": {
"id": "/subscriptions/subid1/resourcegroups/rg2/providers/Microsoft.DataboxEdge/DataboxEdgeDevices/TestDataboxEdgeDeviceName"
}
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HybridNetwork/devices/TestDevice",
"name": "TestDevice",
"type": "Microsoft.HybridNetwork/devices",
"location": "eastus",
"properties": {
"status": "NotRegistered",
"provisioningState": "Succeeded",
"deviceType": "AzureStackEdge",
"azureStackEdge": {
"id": "/subscriptions/subid1/resourcegroups/rg2/providers/Microsoft.DataboxEdge/DataboxEdgeDevices/TestDataboxEdgeDeviceName"
},
"networkFunctions": null
}
}
},
"201": {
"body": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HybridNetwork/devices/TestDevice",
"name": "TestDevice",
"type": "Microsoft.HybridNetwork/devices",
"location": "eastus",
"properties": {
"status": "NotRegistered",
"provisioningState": "Accepted",
"deviceType": "AzureStackEdge",
"azureStackEdge": {
"id": "/subscriptions/subid1/resourcegroups/rg2/providers/Microsoft.DataboxEdge/DataboxEdgeDevices/TestDataboxEdgeDeviceName"
},
"networkFunctions": null
}
}
}
}
}