Skip to content

Commit

Permalink
Updated SAS swagger with latest changes. (Azure#13439)
Browse files Browse the repository at this point in the history
* Fixed hostname in the Offazure swaggers.

* added newest swagger from service repo. This contains PE changes too.

* rewritten swagger changes on existing swagger

* some fixes to swagger

* added examples.

* fixes

* edit

* edit.

* fixes

* minor fix

* edit

* edit

* edited default api version tag
  • Loading branch information
kuchatur-ms authored Apr 7, 2021
1 parent 18ed65c commit fcec703
Show file tree
Hide file tree
Showing 17 changed files with 1,545 additions and 20 deletions.
3 changes: 3 additions & 0 deletions custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ asciifolding
Asns
aspnet
Asturian
assessmentprojects
asyncinfo
asyncoperation
atascada
Expand Down Expand Up @@ -835,6 +836,7 @@ Imagelist
imagelists
imagesearch
IMDS
importcollectors
importdevices
Inbuild
incomingrelationships
Expand Down Expand Up @@ -1623,6 +1625,7 @@ securitydomainuploadoperation
securityinsight
seealso
serialconsole
servercollectors
servererror
serverfarm
serverfarms
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"parameters": {
"resourceGroupName": "markusavstestrg",
"api-version": "2019-10-01",
"subscriptionId": "31be0ff4-c932-4cb3-8efc-efa411d79280",
"projectName": "rajoshCCY9671project",
"importCollectorName": "importCollector2952",
"CollectorBody": {
"id": "/subscriptions/31be0ff4-c932-4cb3-8efc-efa411d79280/resourceGroups/markusavstestrg/providers/Microsoft.Migrate/assessmentprojects/rajoshCCY9671project/importcollectors/importCollector2951",
"name": "importCollector2951",
"eTag": "\"000064a2-0000-3300-0000-605994800000\"",
"type": "Microsoft.Migrate/assessmentprojects/importcollectors",
"properties": {
"discoverySiteId": "/subscriptions/31be0ff4-c932-4cb3-8efc-efa411d79280/resourcegroups/MarkusAVStestRG/providers/microsoft.offazure/importsites/rajoshCCY54cbimportSite"
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/31be0ff4-c932-4cb3-8efc-efa411d79280/resourceGroups/markusavstestrg/providers/Microsoft.Migrate/assessmentprojects/rajoshCCY9671project/importcollectors/importCollector2952",
"name": "importCollector2952",
"eTag": "\"0000a7a2-0000-3300-0000-6059964d0000\"",
"type": "Microsoft.Migrate/assessmentprojects/importcollectors",
"properties": {
"discoverySiteId": "/subscriptions/31be0ff4-c932-4cb3-8efc-efa411d79280/resourcegroups/MarkusAVStestRG/providers/microsoft.offazure/importsites/rajoshCCY54cbimportSite",
"createdTimestamp": "2021-03-23T07:18:37.2247735Z",
"updatedTimestamp": "2021-03-23T07:18:37.2247735Z"
}
}
},
"201": {
"body": {
"id": "/subscriptions/31be0ff4-c932-4cb3-8efc-efa411d79280/resourceGroups/markusavstestrg/providers/Microsoft.Migrate/assessmentprojects/rajoshCCY9671project/importcollectors/importCollector2952",
"name": "importCollector2952",
"eTag": "\"0000a7a2-0000-3300-0000-6059964d0000\"",
"type": "Microsoft.Migrate/assessmentprojects/importcollectors",
"properties": {
"discoverySiteId": "/subscriptions/31be0ff4-c932-4cb3-8efc-efa411d79280/resourcegroups/MarkusAVStestRG/providers/microsoft.offazure/importsites/rajoshCCY54cbimportSite",
"createdTimestamp": "2021-03-23T07:18:37.2247735Z",
"updatedTimestamp": "2021-03-23T07:18:37.2247735Z"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"parameters": {
"resourceGroupName": "markusavstestrg",
"api-version": "2019-10-01",
"subscriptionId": "31be0ff4-c932-4cb3-8efc-efa411d79280",
"projectName": "rajoshCCY9671project",
"importCollectorName": "importCollector2952"
},
"responses": {
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"parameters": {
"resourceGroupName": "markusavstestrg",
"api-version": "2019-10-01",
"subscriptionId": "31be0ff4-c932-4cb3-8efc-efa411d79280",
"projectName": "rajoshCCY9671project",
"importCollectorName": "importCollector2951"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/31be0ff4-c932-4cb3-8efc-efa411d79280/resourceGroups/markusavstestrg/providers/Microsoft.Migrate/assessmentprojects/rajoshCCY9671project/importcollectors/importCollector2951",
"name": "importCollector2951",
"eTag": "\"000064a2-0000-3300-0000-605994800000\"",
"type": "Microsoft.Migrate/assessmentprojects/importcollectors",
"properties": {
"discoverySiteId": "/subscriptions/31be0ff4-c932-4cb3-8efc-efa411d79280/resourcegroups/MarkusAVStestRG/providers/microsoft.offazure/importsites/rajoshCCY54cbimportSite",
"createdTimestamp": "2021-02-11T04:46:54.9582099Z",
"updatedTimestamp": "2021-03-23T07:10:56.3588497Z"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"parameters": {
"resourceGroupName": "markusavstestrg",
"api-version": "2019-10-01",
"subscriptionId": "31be0ff4-c932-4cb3-8efc-efa411d79280",
"projectName": "rajoshCCY9671project"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/31be0ff4-c932-4cb3-8efc-efa411d79280/resourceGroups/markusavstestrg/providers/Microsoft.Migrate/assessmentprojects/rajoshCCY9671project/importcollectors/importCollector2951",
"name": "importCollector2951",
"eTag": "\"000098a2-0000-3300-0000-605995620000\"",
"type": "Microsoft.Migrate/assessmentprojects/importcollectors",
"properties": {
"discoverySiteId": "/subscriptions/31be0ff4-c932-4cb3-8efc-efa411d79280/resourcegroups/MarkusAVStestRG/providers/microsoft.offazure/importsites/rajoshCCY54cbimportSite",
"createdTimestamp": "2021-02-11T04:46:54.9582099Z",
"updatedTimestamp": "2021-03-23T07:14:42.9238657Z"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
{
"parameters": {
"resourceGroupName": "abgoyal-westEurope",
"api-version": "2019-10-01",
"subscriptionId": "6393a73f-8d55-47ef-b6dd-179b3e0c7910",
"projectName": "abgoyalWEselfhostb72bproject",
"privateEndpointConnectionName": "custestpece80project3980pe.7e35576b-3df4-478e-9759-f64351cf4f43",
"privateEndpointConnectionBody": {
"eTag": "\"00009300-0000-0300-0000-602b967b0000\"",
"properties": {
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": null,
"actionsRequired": ""
}
}
}
},
"responses": {
"200": {
"body": {
"name": "custestpece80project3980pe.7e35576b-3df4-478e-9759-f64351cf4f43",
"type": "Microsoft.Migrate/assessmentprojects/privateEndpointConnections",
"eTag": "\"00009300-0000-0300-0000-602b967b0000\"",
"id": "/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/madhavicus/providers/Microsoft.Migrate/assessmentprojects/custestpece80project/privateEndpointConnections/custestpece80project3980pe.7e35576b-3df4-478e-9759-f64351cf4f43",
"properties": {
"provisioningState": "Succeeded",
"privateEndpoint": {
"id": "/subscriptions/31be0ff4-c932-4cb3-8efc-efa411d79280/resourceGroups/PrivLink-SelfHost/providers/Microsoft.Network/privateEndpoints/custestpece80project3980pe"
},
"privateLinkServiceConnectionState": {
"status": "Pending",
"description": null,
"actionsRequired": ""
}
}
}
},
"202": {
"body": {
"name": "custestpece80project3980pe.7e35576b-3df4-478e-9759-f64351cf4f43",
"type": "Microsoft.Migrate/assessmentprojects/privateEndpointConnections",
"eTag": "\"00009300-0000-0300-0000-602b967b0000\"",
"id": "/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/madhavicus/providers/Microsoft.Migrate/assessmentprojects/custestpece80project/privateEndpointConnections/custestpece80project3980pe.7e35576b-3df4-478e-9759-f64351cf4f43",
"properties": {
"provisioningState": "Succeeded",
"privateEndpoint": {
"id": "/subscriptions/31be0ff4-c932-4cb3-8efc-efa411d79280/resourceGroups/PrivLink-SelfHost/providers/Microsoft.Network/privateEndpoints/custestpece80project3980pe"
},
"privateLinkServiceConnectionState": {
"status": "Pending",
"description": null,
"actionsRequired": ""
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"parameters": {
"resourceGroupName": "abgoyal-westEurope",
"api-version": "2019-10-01",
"subscriptionId": "6393a73f-8d55-47ef-b6dd-179b3e0c7910",
"projectName": "abgoyalWEselfhostb72bproject",
"privateEndpointConnectionName": "custestpece80project3980pe.7e35576b-3df4-478e-9759-f64351cf4f43"
},
"responses": {
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"parameters": {
"resourceGroupName": "abgoyal-westEurope",
"api-version": "2019-10-01",
"subscriptionId": "6393a73f-8d55-47ef-b6dd-179b3e0c7910",
"projectName": "abgoyalWEselfhostb72bproject",
"privateEndpointConnectionName": "custestpece80project3980pe.7e35576b-3df4-478e-9759-f64351cf4f43"
},
"responses": {
"200": {
"body": {
"name": "custestpece80project3980pe.7e35576b-3df4-478e-9759-f64351cf4f43",
"type": "Microsoft.Migrate/assessmentprojects/privateEndpointConnections",
"eTag": "\"00009300-0000-0300-0000-602b967b0000\"",
"id": "/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/madhavicus/providers/Microsoft.Migrate/assessmentprojects/custestpece80project/privateEndpointConnections/custestpece80project3980pe.7e35576b-3df4-478e-9759-f64351cf4f43",
"properties": {
"provisioningState": "Succeeded",
"privateEndpoint": {
"id": "/subscriptions/31be0ff4-c932-4cb3-8efc-efa411d79280/resourceGroups/PrivLink-SelfHost/providers/Microsoft.Network/privateEndpoints/custestpece80project3980pe"
},
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": null,
"actionsRequired": ""
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"parameters": {
"resourceGroupName": "abgoyal-westEurope",
"api-version": "2019-10-01",
"subscriptionId": "6393a73f-8d55-47ef-b6dd-179b3e0c7910",
"projectName": "abgoyalWEselfhostb72bproject"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "custestpece80project3980pe.7e35576b-3df4-478e-9759-f64351cf4f43",
"type": "Microsoft.Migrate/assessmentprojects/privateEndpointConnections",
"eTag": "\"00009300-0000-0300-0000-602b967b0000\"",
"id": "/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/madhavicus/providers/Microsoft.Migrate/assessmentprojects/custestpece80project/privateEndpointConnections/custestpece80project3980pe.7e35576b-3df4-478e-9759-f64351cf4f43",
"properties": {
"provisioningState": "Succeeded",
"privateEndpoint": {
"id": "/subscriptions/31be0ff4-c932-4cb3-8efc-efa411d79280/resourceGroups/PrivLink-SelfHost/providers/Microsoft.Network/privateEndpoints/custestpece80project3980pe"
},
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": null,
"actionsRequired": ""
}
}
}
],
"nextLink": null
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"parameters": {
"resourceGroupName": "madhavicus",
"api-version": "2019-10-01",
"subscriptionId": "4bd2aa0f-2bd2-4d67-91a8-5a4533d58600",
"projectName": "custestpece80project",
"privateLinkResourceName": "Default"
},
"responses": {
"200": {
"body": {
"name": "Default",
"type": "Microsoft.Migrate/assessmentprojects/privateLinkResources",
"id": "/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/madhavicus/providers/Microsoft.Migrate/assessmentprojects/custestpece80project/privateLinkResources/Default",
"properties": {
"requiredMembers": [
"CollectorAgent"
],
"requiredZoneNames": [
"privatelink.prod.migration.windowsazure.com"
],
"groupId": "Default"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"parameters": {
"resourceGroupName": "madhavicus",
"api-version": "2019-10-01",
"subscriptionId": "4bd2aa0f-2bd2-4d67-91a8-5a4533d58600",
"projectName": "custestpece80project"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "Default",
"type": "Microsoft.Migrate/assessmentprojects/privateLinkResources",
"id": "/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/madhavicus/providers/Microsoft.Migrate/assessmentprojects/custestpece80project/privateLinkResources/Default",
"properties": {
"requiredMembers": [
"CollectorAgent"
],
"requiredZoneNames": [
"privatelink.prod.migration.windowsazure.com"
],
"groupId": "Default"
}
}
]
}
}
}
}
Loading

0 comments on commit fcec703

Please sign in to comment.