Skip to content

Commit 530cb17

Browse files
authored
new api changes (#1) (Azure#13612)
* new api changes * referer url change
1 parent e295fe9 commit 530cb17

32 files changed

+1721
-1432
lines changed

specification/edgeorder/resource-manager/Microsoft.EdgeOrder/preview/2020-12-01-preview/edgeorder.json

Lines changed: 563 additions & 469 deletions
Large diffs are not rendered by default.

specification/edgeorder/resource-manager/Microsoft.EdgeOrder/preview/2020-12-01-preview/examples/AddressCreate.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,10 @@
3434
"contactDetails": {
3535
"contactName": "Petr Cech",
3636
"phone": "123344334",
37-
"phoneExtension": ""
37+
"phoneExtension": "",
38+
"emailList": [
39+
40+
]
3841
}
3942
},
4043
"location": "westus"
@@ -59,7 +62,10 @@
5962
"contactDetails": {
6063
"contactName": "Petr Cech",
6164
"phone": "123344334",
62-
"phoneExtension": ""
65+
"phoneExtension": "",
66+
"emailList": [
67+
68+
]
6369
}
6470
},
6571
"location": "westus",

specification/edgeorder/resource-manager/Microsoft.EdgeOrder/preview/2020-12-01-preview/examples/AddressGetByName.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@
3030
"contactDetails": {
3131
"contactName": "Petr Cech",
3232
"phone": "123344334",
33-
"phoneExtension": ""
33+
"phoneExtension": "",
34+
"emailList": [
35+
36+
]
3437
}
3538
},
3639
"location": "westus",

specification/edgeorder/resource-manager/Microsoft.EdgeOrder/preview/2020-12-01-preview/examples/AddressPatch.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@
3131
"contactDetails": {
3232
"contactName": "Petr Cech",
3333
"phone": "123344335",
34-
"phoneExtension": ""
34+
"phoneExtension": "",
35+
"emailList": [
36+
37+
]
3538
}
3639
},
3740
"tags": {
@@ -61,7 +64,10 @@
6164
"contactDetails": {
6265
"contactName": "Petr Cech",
6366
"phone": "123344335",
64-
"phoneExtension": ""
67+
"phoneExtension": "",
68+
"emailList": [
69+
70+
]
6571
}
6672
},
6773
"location": "westus",

specification/edgeorder/resource-manager/Microsoft.EdgeOrder/preview/2020-12-01-preview/examples/AddressesGetAtResourceGrouplevel.json

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,11 @@
3131
"contactDetails": {
3232
"contactName": "Petr Cech",
3333
"phone": "123344334",
34-
"phoneExtension": ""
34+
"phoneExtension": "",
35+
"emailList": [
36+
37+
38+
]
3539
}
3640
},
3741
"location": "westus",
@@ -57,7 +61,11 @@
5761
"contactDetails": {
5862
"contactName": "Petr Cech",
5963
"phone": "123344334",
60-
"phoneExtension": ""
64+
"phoneExtension": "",
65+
"emailList": [
66+
67+
68+
]
6169
}
6270
},
6371
"location": "westus",
@@ -83,7 +91,11 @@
8391
"contactDetails": {
8492
"contactName": "Petr Cech",
8593
"phone": "123344334",
86-
"phoneExtension": ""
94+
"phoneExtension": "",
95+
"emailList": [
96+
97+
98+
]
8799
}
88100
},
89101
"location": "westus",

specification/edgeorder/resource-manager/Microsoft.EdgeOrder/preview/2020-12-01-preview/examples/AddressesGetAtSubscriptionLevel.json

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,11 @@
3030
"contactDetails": {
3131
"contactName": "Petr Cech",
3232
"phone": "123344334",
33-
"phoneExtension": ""
33+
"phoneExtension": "",
34+
"emailList": [
35+
36+
37+
]
3438
}
3539
},
3640
"location": "westus",
@@ -56,7 +60,11 @@
5660
"contactDetails": {
5761
"contactName": "Petr Cech",
5862
"phone": "123344334",
59-
"phoneExtension": ""
63+
"phoneExtension": "",
64+
"emailList": [
65+
66+
67+
]
6068
}
6169
},
6270
"location": "westus",
@@ -82,7 +90,11 @@
8290
"contactDetails": {
8391
"contactName": "Petr Cech",
8492
"phone": "123344334",
85-
"phoneExtension": ""
93+
"phoneExtension": "",
94+
"emailList": [
95+
96+
97+
]
8698
}
8799
},
88100
"location": "westus",
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f",
4+
"resourceGroupName": "TestRG",
5+
"location": "%7B%7B%7Blocation%7D%7D",
6+
"orderName": "TestOrderItemName901",
7+
"api-version": "2020-12-01-preview",
8+
"User-Agent": [
9+
"vscode-restclient"
10+
],
11+
"Referer": [
12+
"https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/locations/westus/orders/TestOrderItemName901?api-version=2020-12-01-preview"
13+
]
14+
},
15+
"responses": {
16+
"200": {
17+
"body": {
18+
"properties": {
19+
"orderItemIds": [
20+
"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orderItems/TestOrderItemName901"
21+
],
22+
"currentStage": {
23+
"stageStatus": "InProgress",
24+
"stageName": "InReview",
25+
"startTime": "0001-01-01T05:30:00+05:30"
26+
},
27+
"orderStageHistory": [
28+
{
29+
"stageStatus": "None",
30+
"stageName": "InReview"
31+
},
32+
{
33+
"stageStatus": "None",
34+
"stageName": "Placed"
35+
},
36+
{
37+
"stageStatus": "None",
38+
"stageName": "Confirmed"
39+
}
40+
]
41+
},
42+
"name": "TestOrderItemName901",
43+
"id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/locations/westus/orders/TestOrderItemName901",
44+
"type": "Microsoft.EdgeOrder/orders"
45+
}
46+
}
47+
}
48+
}

specification/edgeorder/resource-manager/Microsoft.EdgeOrder/preview/2020-12-01-preview/examples/ListConfigurations.json

Lines changed: 30 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,28 +6,36 @@
66
"vscode-restclient"
77
],
88
"Referer": [
9-
"https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.EdgeOrder/listConfigurations?api-version=2020-12-01-preview"
9+
"https://localhost/subscriptions/{{subscriptionId}}/providers/Microsoft.EdgeOrder/listConfigurations?api-version=2020-12-01-preview"
1010
],
1111
"Content-Type": [
1212
"application/json; charset=utf-8"
1313
],
1414
"Content-Length": [
15-
"323"
15+
"498"
1616
],
1717
"configurationsRequest": {
1818
"configurationFilters": [
1919
{
2020
"hierarchyInformation": {
21-
"productFamilyName": "AzureStackEdge",
22-
"productLineName": "AzureStackEdge",
23-
"productName": "AzureStackEdgeProFPGA"
21+
"productFamilyName": "azurestackedge",
22+
"productLineName": "azure stack edge_pl",
23+
"productName": "azure stack edge pro - gpu"
2424
},
25-
"filterableProperty": {
26-
"type": "ShipToCountries",
27-
"supportedValues": [
28-
"US"
29-
]
30-
}
25+
"filterableProperty": [
26+
{
27+
"type": "ShipToCountries",
28+
"supportedValues": [
29+
"US"
30+
]
31+
},
32+
{
33+
"type": "DoubleEncryptionStatus",
34+
"supportedValues": [
35+
"Enabled"
36+
]
37+
}
38+
]
3139
}
3240
]
3341
}
@@ -59,9 +67,15 @@
5967
"US",
6068
"UK"
6169
]
70+
},
71+
{
72+
"type": "DoubleEncryptionStatus",
73+
"supportedValues": [
74+
"Enabled"
75+
]
6276
}
6377
],
64-
"displayName": "1 GPU",
78+
"displayName": "azurestackedgepro-gpu 1 GPU",
6579
"description": {
6680
"descriptionType": "Base",
6781
"keywords": [],
@@ -74,10 +88,10 @@
7488
"disabledReason": "None"
7589
},
7690
"hierarchyInformation": {
77-
"productFamilyName": "AzureStackEdge",
78-
"productLineName": "AzureStackEdge",
79-
"productName": "AzureStackEdgeProFPGA",
80-
"configurationName": "1GPU"
91+
"productFamilyName": "azurestackedge",
92+
"productLineName": "azure stack edge_pl",
93+
"productName": "azure stack edge pro - gpu",
94+
"configurationName": "azurestackedgepro-gpu1 gpu"
8195
}
8296
}
8397
}

0 commit comments

Comments
 (0)