Skip to content

Commit

Permalink
Update WANdisco Fusion swagger (#1049)
Browse files Browse the repository at this point in the history
* Update WANdisco Fusion swagger

- Make Migration policies an enum
- Add 202 responses for async delete
- Make response scheme for secret properties

* Add x-ms-long-running-operation-options to async deletes

* Add x-ms-long-running-operation-options for 201

* Change final-state-via to azure-async-operation
  • Loading branch information
keithpak-wandisco authored and sanjaiganesh committed Jan 8, 2020
1 parent 9b229de commit 98ec3bd
Show file tree
Hide file tree
Showing 14 changed files with 139 additions and 39 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
"subnet": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/DEV/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/azureZoneSub",
"vmSize": "azureZoneVMSize",
"storageAccountId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Microsoft.Storage/storageAccounts/myStorageAccount",
"storageAccessKey": "azureStorageAccessKey",
"storageContainer": "azureZoneStorageContainer",
"storageSecured": true,
"provisioningState": "Accepted"
Expand All @@ -52,7 +51,6 @@
"subnet": "azureZoneSub",
"vmSize": "azureZoneVMSize",
"storageAccountId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Microsoft.Storage/storageAccounts/myStorageAccount",
"storageAccessKey": "azureStorageAccessKey",
"storageContainer": "azureZoneStorageContainer",
"storageSecured": true,
"provisioningState": "Accepted"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
"subnet": "azureZoneSub",
"vmSize": "azureZoneVMSize",
"storageAccountId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Microsoft.Storage/storageAccounts/myStorageAccount",
"storageAccessKey": "azureStorageAccessKey",
"storageContainer": "azureZoneStorageContainer",
"storageSecured": true,
"nodeCount": 3,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@
"subnet": "azureZoneSub",
"vmSize": "azureZoneVMSize",
"storageAccountId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Microsoft.Storage/storageAccounts/myStorageAccount",
"storageAccessKey": "azureStorageAccessKey",
"storageContainer": "azureZoneStorageContainer",
"storageSecured": true,
"provisioningState": "Accepted"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"subnet": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/DEV/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/azureZoneSub",
"vmSize": "azureZoneVMSize",
"storageAccountId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Microsoft.Storage/storageAccounts/myStorageAccount",
"storageAccessKey": "azureStorageAccessKey",
"storageContainer": "azureZoneStorageContainer",
"storageSecured": true
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
"subnet": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/DEV/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/azureZoneSub",
"vmSize": "azureZoneVMSize",
"storageAccountId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Microsoft.Storage/storageAccounts/myStorageAccount",
"storageAccessKey": "azureStorageAccessKey",
"storageContainer": "azureZoneStorageContainer",
"storageSecured": false
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"properties": {
"donor": "donorZone",
"beneficiary": "beneficiaryZone",
"overwritePolicy": "CLOBBER"
"overwritePolicy": "Clobber"
}
}
},
Expand All @@ -20,7 +20,7 @@
"properties": {
"donor": "donorZone",
"beneficiary": "beneficiaryZone",
"overwritePolicy": "CLOBBER"
"overwritePolicy": "Clobber"
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Wandisco.Fusion/fusionGroups/fusionGroupName/OnPremZones/OnPremZoneName",
"name": "onPremZoneCreate",
"properties": {
"inductionToken": "abcedfg",
"provisioningState": "Accepted"
},
"location": "East US",
Expand All @@ -36,7 +35,6 @@
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Wandisco.Fusion/fusionGroups/fusionGroupName/OnPremZones/OnPremZoneName",
"name": "onPremZoneCreate",
"properties": {
"inductionToken": "abcedfg",
"provisioningState": "Accepted"
},
"location": "East US",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Wandisco.Fusion/fusionGroups/fusionGroupName/OnPremZones/OnPremZoneName",
"name": "onPremZoneGet",
"properties": {
"inductionToken": "ip:port:token"
"provisioningState": "Succeeded"
},
"location": "East US",
"type": "Wandisco.Fusion/onPremZone",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Wandisco.Fusion/fusionGroups/fusionGroupName/OnPremZones",
"name": "onPremZoneGet",
"properties": {
"inductionToken": "ip:port:token"
"provisioningState": "Accepted"
},
"location": "East US",
"type": "Wandisco.Fusion/onPremZone",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Loading

0 comments on commit 98ec3bd

Please sign in to comment.