Skip to content

Commit d6f8324

Browse files
larikaSJoshLove-msft
authored andcommitted
S360 fix EdgeOrder 2022-05-01-preview (Azure#23293)
* S360 fix EdgeOrder 2022-05-01-preview * reverting change for referrer
1 parent 4ca19e9 commit d6f8324

File tree

6 files changed

+60
-10
lines changed

6 files changed

+60
-10
lines changed

specification/edgeorder/resource-manager/Microsoft.EdgeOrder/preview/2022-05-01-preview/edgeorder.json

Lines changed: 35 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,13 @@
646646
"description": "Address deleted."
647647
},
648648
"202": {
649-
"description": "Accepted request for delete address."
649+
"description": "Accepted request for delete address.",
650+
"headers": {
651+
"Location": {
652+
"description": "The URL to track the status of the long running operation.",
653+
"type": "string"
654+
}
655+
}
650656
},
651657
"204": {
652658
"description": "No content. Address deleted."
@@ -709,7 +715,13 @@
709715
],
710716
"responses": {
711717
"202": {
712-
"description": "Accepted request for address update."
718+
"description": "Accepted request for address update.",
719+
"headers": {
720+
"Location": {
721+
"description": "The URL to track the status of the long running operation.",
722+
"type": "string"
723+
}
724+
}
713725
},
714726
"200": {
715727
"description": "Address resource object.",
@@ -1004,7 +1016,13 @@
10041016
"description": "Order item deleted."
10051017
},
10061018
"202": {
1007-
"description": "Accepted delete request for an order item."
1019+
"description": "Accepted delete request for an order item.",
1020+
"headers": {
1021+
"Location": {
1022+
"description": "The URL to track the status of the long running operation.",
1023+
"type": "string"
1024+
}
1025+
}
10081026
},
10091027
"204": {
10101028
"description": "No content. Order item deleted."
@@ -1067,7 +1085,13 @@
10671085
],
10681086
"responses": {
10691087
"202": {
1070-
"description": "Accepted request for order item update."
1088+
"description": "Accepted request for order item update.",
1089+
"headers": {
1090+
"Location": {
1091+
"description": "The URL to track the status of the long running operation.",
1092+
"type": "string"
1093+
}
1094+
}
10711095
},
10721096
"200": {
10731097
"description": "Order item resource object.",
@@ -1188,7 +1212,13 @@
11881212
"description": "Success."
11891213
},
11901214
"202": {
1191-
"description": "Return order item request accepted."
1215+
"description": "Return order item request accepted.",
1216+
"headers": {
1217+
"Location": {
1218+
"description": "The URL to track the status of the long running operation.",
1219+
"type": "string"
1220+
}
1221+
}
11921222
},
11931223
"default": {
11941224
"description": "Error response describing reason for operation failure.",

specification/edgeorder/resource-manager/Microsoft.EdgeOrder/preview/2022-05-01-preview/examples/DeleteAddressByName.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@
1313
},
1414
"responses": {
1515
"200": {},
16-
"202": {},
16+
"202": {
17+
"headers": {
18+
"location": "https://management.azure.com/subscriptions/YourSubscriptionId/providers/Microsoft.EdgeOrder/locations/westus/operationResults/operationid?api-version=2022-05-01-preview"
19+
}
20+
},
1721
"204": {}
1822
}
1923
}

specification/edgeorder/resource-manager/Microsoft.EdgeOrder/preview/2022-05-01-preview/examples/DeleteOrderItemByName.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@
1212
]
1313
},
1414
"responses": {
15-
"202": {},
15+
"202": {
16+
"headers": {
17+
"location": "https://management.azure.com/subscriptions/YourSubscriptionId/providers/Microsoft.EdgeOrder/locations/westus/operationResults/operationid?api-version=2022-05-01-preview"
18+
}
19+
},
1620
"200": {},
1721
"204": {}
1822
}

specification/edgeorder/resource-manager/Microsoft.EdgeOrder/preview/2022-05-01-preview/examples/ReturnOrderItem.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@
2222
},
2323
"responses": {
2424
"200": {},
25-
"202": {}
25+
"202": {
26+
"headers": {
27+
"location": "https://management.azure.com/subscriptions/YourSubscriptionId/providers/Microsoft.EdgeOrder/locations/westus/operationResults/operationid?api-version=2022-05-01-preview"
28+
}
29+
}
2630
}
2731
}

specification/edgeorder/resource-manager/Microsoft.EdgeOrder/preview/2022-05-01-preview/examples/UpdateAddress.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@
8181
"type": "Microsoft.EdgeOrder/addresses"
8282
}
8383
},
84-
"202": {}
84+
"202": {
85+
"headers": {
86+
"location": "https://management.azure.com/subscriptions/YourSubscriptionId/providers/Microsoft.EdgeOrder/locations/westus/operationResults/operationid?api-version=2022-05-01-preview"
87+
}
88+
}
8589
}
8690
}

specification/edgeorder/resource-manager/Microsoft.EdgeOrder/preview/2022-05-01-preview/examples/UpdateOrderItem.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,10 @@
129129
"type": "Microsoft.EdgeOrder/orderItems"
130130
}
131131
},
132-
"202": {}
132+
"202": {
133+
"headers": {
134+
"location": "https://management.azure.com/subscriptions/YourSubscriptionId/providers/Microsoft.EdgeOrder/locations/westus/operationResults/operationid?api-version=2022-05-01-preview"
135+
}
136+
}
133137
}
134138
}

0 commit comments

Comments
 (0)