forked from Azure/azure-sdk-for-python
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated SAS swagger with latest changes. (Azure#13439)
* 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
1 parent
18ed65c
commit fcec703
Showing
17 changed files
with
1,545 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
46 changes: 46 additions & 0 deletions
46
...esource-manager/Microsoft.Migrate/stable/2019-10-01/examples/ImportCollectors_Create.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...esource-manager/Microsoft.Migrate/stable/2019-10-01/examples/ImportCollectors_Delete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": {} | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
...e/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/ImportCollectors_Get.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
...-manager/Microsoft.Migrate/stable/2019-10-01/examples/ImportCollectors_ListByProject.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
59 changes: 59 additions & 0 deletions
59
...nager/Microsoft.Migrate/stable/2019-10-01/examples/PrivateEndpointConnections_Create.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": "" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...nager/Microsoft.Migrate/stable/2019-10-01/examples/PrivateEndpointConnections_Delete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": {} | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
...-manager/Microsoft.Migrate/stable/2019-10-01/examples/PrivateEndpointConnections_Get.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": "" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
...icrosoft.Migrate/stable/2019-10-01/examples/PrivateEndpointConnections_ListByProject.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} | ||
} | ||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
...source-manager/Microsoft.Migrate/stable/2019-10-01/examples/PrivateLinkResources_Get.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
...ager/Microsoft.Migrate/stable/2019-10-01/examples/PrivateLinkResources_ListByProject.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.