Skip to content

Commit

Permalink
[EdgeOrder] Update 2020-12-01-preview swagger and add readme files (A…
Browse files Browse the repository at this point in the history
…zure#14935)

* new api changes (#1)

* new api changes

* referer url change

* EdgeOrder 2020-12-01-preview Swagger changes (Azure#5)

* readme changes

* Swagger refresh and update examples

* Change examples as per oav validations

* Minor swagger modifications

* Minor spacing adjustments

* Set ModelAsString to true for enums and modify examples

* Fix swagger lint validation error

* Modify readme and examples

* Modify readme.go.md

* Update swagger

* Minor prettier fix

* Change python package version in readme

* Fix spell check error

Co-authored-by: sashanm <54701252+sashanm@users.noreply.github.com>
  • Loading branch information
t-vjanardhan and sashanm authored Jul 2, 2021
1 parent 109afe5 commit f985f05
Show file tree
Hide file tree
Showing 25 changed files with 757 additions and 560 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
"parameters": {
"subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f",
"resourceGroupName": "TestRG",
"orderItemName": "TestOrderName1",
"orderItemName": "TestOrderItemName1",
"api-version": "2020-12-01-preview",
"User-Agent": [
"vscode-restclient"
],
"Referer": [
"https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orders/TestOrderName1/cancel?api-version=2020-12-01-preview"
"https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orderItems/TestOrderItemName1/cancel?api-version=2020-12-01-preview"
],
"Content-Type": [
"application/json; charset=utf-8"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,11 @@
"Referer": [
"https://localhost/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/addresses/TestMSAddressName?api-version=2020-12-01-preview"
],
"x-ms-client-tenant-id": [
" 72f988bf-86f1-41af-91ab-2d7cd011db47"
],
"Content-Type": [
"application/json; charset=utf-8"
],
"Content-Length": [
"474"
"492"
],
"addressResource": {
"properties": {
Expand All @@ -33,10 +30,10 @@
},
"contactDetails": {
"contactName": "Petr Cech",
"phone": "123344334",
"phone": "1234567890",
"phoneExtension": "",
"emailList": [
"ssemcr@microsoft.com"
"testemail@microsoft.com"
]
}
},
Expand All @@ -50,21 +47,19 @@
"shippingAddress": {
"streetAddress1": "16 TOWNSEND ST",
"streetAddress2": "UNIT 1",
"streetAddress3": "",
"city": "San Francisco",
"stateOrProvince": "CA",
"country": "US",
"postalCode": "94107",
"zipExtendedCode": "",
"companyName": "Microsoft",
"addressType": "None"
},
"contactDetails": {
"contactName": "Petr Cech",
"phone": "123344334",
"phone": "1234567890",
"phoneExtension": "",
"emailList": [
"ssemcr@microsoft.com"
"testemail@microsoft.com"
]
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@
"application/json; charset=utf-8"
],
"Content-Length": [
"1388"
"1358"
],
"orderItemResource": {
"properties": {
"orderItemDetails": {
"orderItemType": "Purchase",
"productDetails": {
"hierarchyInformation": {
"productFamilyName": "azurestackedge",
"productLineName": "Azure Stack Edge_Pl",
"productName": "Azure Stack Edge Pro - FPGA",
"configurationName": "Azure Stack Edge Pro - FPGA 1 GPU"
"productFamilyName": "AzureStackEdge",
"productLineName": "AzureStackEdge",
"productName": "AzureStackEdgeGPU",
"configurationName": "AzureStackEdgeGPU"
}
},
"preferences": {
Expand All @@ -37,19 +37,19 @@
"addressDetails": {
"forwardAddress": {
"shippingAddress": {
"streetAddress1": "16 townsend st",
"streetAddress2": "unit 1",
"city": "san francisco",
"stateOrProvince": "ca",
"country": "us",
"streetAddress1": "16 TOWNSEND ST",
"streetAddress2": "UNIT 1",
"city": "San Francisco",
"stateOrProvince": "CA",
"country": "US",
"postalCode": "94107",
"companyName": "microsoft",
"companyName": "Microsoft",
"zipExtendedCode": "1",
"addressType": "Residential"
},
"contactDetails": {
"contactName": "164 TOWNSEND ST",
"phone": "32131311",
"phone": "3213131190",
"emailList": [
"ssemmail@microsoft.com",
"vishwamdir@microsoft.com"
Expand All @@ -72,37 +72,48 @@
"properties": {
"orderItemDetails": {
"productDetails": {
"displayInfo": {
"productFamilyDisplayName": "Azure Stack Edge",
"configurationDisplayName": "Azure Stack Edge Pro - 1 GPU"
},
"hierarchyInformation": {
"productFamilyName": "azurestackedge",
"productLineName": "azure stack edge_pl",
"productName": "azure stack edge pro - fpga",
"configurationName": "azure stack edge pro - fpga 1 gpu"
"productLineName": "azurestackedge",
"productName": "azurestackedgegpu",
"configurationName": "azurestackedgegpu"
},
"count": 0,
"deviceDetails": []
"count": 0
},
"orderItemType": "Purchase",
"currentStage": {
"stageStatus": "InProgress",
"stageName": "InReview",
"startTime": "2021-03-24T15:17:13.1376775+05:30"
"stageName": "Placed",
"startTime": "2021-06-07T13:08:14.0368516+05:30"
},
"orderItemStageHistory": [
{
"stageStatus": "None",
"stageName": "InReview"
"stageName": "Placed"
},
{
"stageStatus": "None",
"stageName": "Placed"
"stageName": "Confirmed"
},
{
"stageStatus": "None",
"stageName": "Confirmed"
"stageName": "ReadyToShip"
},
{
"stageStatus": "None",
"stageName": "Shipped"
},
{
"stageStatus": "None",
"stageName": "Delivered"
},
{
"stageStatus": "None",
"stageName": "ReadyForDispatch"
"stageName": "InUse"
}
],
"preferences": {
Expand All @@ -112,8 +123,8 @@
},
"notificationEmailList": [],
"cancellationStatus": "Cancellable",
"deletionStatus": "Allowed",
"returnStatus": "Returnable"
"deletionStatus": "NotAllowed",
"returnStatus": "NotReturnable"
},
"addressDetails": {
"forwardAddress": {
Expand All @@ -130,15 +141,15 @@
},
"contactDetails": {
"contactName": "164 TOWNSEND ST",
"phone": "32131311",
"phone": "3213131190",
"emailList": [
"ssemmail@microsoft.com",
"vishwamdir@microsoft.com"
]
}
}
},
"startTime": "2021-03-24T15:17:13.1376775+05:30",
"startTime": "2021-06-07T13:08:14.0368516+05:30",
"orderId": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/locations/westus/orders/TestOrderItemName01"
},
"location": "westus",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,16 @@
"shippingAddress": {
"streetAddress1": "16 TOWNSEND ST",
"streetAddress2": "UNIT 1",
"streetAddress3": "",
"city": "San Francisco",
"stateOrProvince": "CA",
"country": "US",
"postalCode": "94107",
"zipExtendedCode": "",
"companyName": "Microsoft",
"addressType": "None"
},
"contactDetails": {
"contactName": "Petr Cech",
"phone": "123344334",
"phone": "1234567890",
"phoneExtension": "",
"emailList": [
"ssemcr@microsoft.com"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,20 @@
"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/orderItems/TestOrderItemName901"
],
"currentStage": {
"stageStatus": "InProgress",
"stageStatus": "Succeeded",
"stageName": "InReview",
"startTime": "0001-01-01T05:30:00+05:30"
"startTime": "2021-06-07T15:30:35.4512229+05:30"
},
"orderStageHistory": [
{
"stageStatus": "None",
"stageName": "InReview"
"stageStatus": "Succeeded",
"stageName": "Placed",
"startTime": "2021-06-07T15:24:58.7140341+05:30"
},
{
"stageStatus": "None",
"stageName": "Placed"
},
{
"stageStatus": "None",
"stageName": "Confirmed"
"stageStatus": "Succeeded",
"stageName": "InReview",
"startTime": "2021-06-07T15:30:35.4512229+05:30"
}
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,37 +17,48 @@
"properties": {
"orderItemDetails": {
"productDetails": {
"displayInfo": {
"productFamilyDisplayName": "Azure Stack Edge",
"configurationDisplayName": "Azure Stack Edge Pro - 1 GPU"
},
"hierarchyInformation": {
"productFamilyName": "azurestackedge",
"productLineName": "azure stack edge_pl",
"productName": "azure stack edge pro - fpga",
"configurationName": "azure stack edge pro - fpga 1 gpu"
"productLineName": "azurestackedge",
"productName": "azurestackedgegpu",
"configurationName": "azurestackedgegpu"
},
"count": 0,
"deviceDetails": []
"count": 0
},
"orderItemType": "Purchase",
"currentStage": {
"stageStatus": "InProgress",
"stageName": "InReview",
"startTime": "2021-03-24T15:17:13.1376775+05:30"
"stageName": "Placed",
"startTime": "2021-06-07T13:08:14.0368516+05:30"
},
"orderItemStageHistory": [
{
"stageStatus": "None",
"stageName": "InReview"
"stageName": "Placed"
},
{
"stageStatus": "None",
"stageName": "Placed"
"stageName": "Confirmed"
},
{
"stageStatus": "None",
"stageName": "Confirmed"
"stageName": "ReadyToShip"
},
{
"stageStatus": "None",
"stageName": "Shipped"
},
{
"stageStatus": "None",
"stageName": "Delivered"
},
{
"stageStatus": "None",
"stageName": "ReadyForDispatch"
"stageName": "InUse"
}
],
"preferences": {
Expand All @@ -57,8 +68,8 @@
},
"notificationEmailList": [],
"cancellationStatus": "Cancellable",
"deletionStatus": "Allowed",
"returnStatus": "Returnable"
"deletionStatus": "NotAllowed",
"returnStatus": "NotReturnable"
},
"addressDetails": {
"forwardAddress": {
Expand All @@ -75,15 +86,15 @@
},
"contactDetails": {
"contactName": "164 TOWNSEND ST",
"phone": "32131311",
"phone": "3213131190",
"emailList": [
"ssemmail@microsoft.com",
"vishwamdir@microsoft.com"
]
}
}
},
"startTime": "2021-03-24T15:17:13.1376775+05:30",
"startTime": "2021-06-07T13:08:14.0368516+05:30",
"orderId": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/TestRG/providers/Microsoft.EdgeOrder/locations/westus/orders/TestOrderItemName01"
},
"location": "westus",
Expand Down
Loading

0 comments on commit f985f05

Please sign in to comment.