Skip to content

Commit

Permalink
Azure Migrate Hub JEDI swagger (Azure#15660)
Browse files Browse the repository at this point in the history
* Added hub swagger

* Added examples

* Update migrateProject_Create.json

* Update custom-words.txt

* Update readme.md

* Update hubmigrate.json

* Update hubmigrate.json

* Update hubmigrate.json

* Update hubmigrate.json

* Update hubmigrate.json

* Update hubmigrate.json

* Update hubmigrate.json

* Update hubmigrate.json

* Update hubmigrate.json

* Update hubmigrate.json

* Update hubmigrate.json

* Update hubmigrate.json

* Update hubmigrate.json

* Fixed spellings

* Update hubmigrate.json

* Update hubmigrate.json

* Update hubmigrate.json

* Update hubmigrate.json

* Update hubmigrate.json

* Update hubmigrate.json

* Create Operations_List.json

* Update hubmigrate.json

* Update hubmigrate.json

* Update hubmigrate.json

* Update hubmigrate.json

* Update hubmigrate.json

* Fixed properties migrate project

* Update hubmigrate.json

* Update hubmigrate.json

* Update hubmigrate.json

* Update hubmigrate.json

* Update hubmigrate.json

* Update hubmigrate.json

* Update hubmigrate.json

* Update hubmigrate.json

* Update hubmigrate.json

* Update hubmigrate.json

* Update hubmigrate.json

* Update hubmigrate.json

* Update hubmigrate.json

* Removed extra properties

* Update hubmigrate.json

* Fixed examples

* Fixed errors

* Update PrivateLinkResources_ListBySite.json

* Fixed collection

* Update hubmigrate.json

* Update hubmigrate.json

* fixed errors

* Update hubmigrate.json

* Update hubmigrate.json

* Update hubmigrate.json

* Update hubmigrate.json

* Update hubmigrate.json

* Update migrateProject_Delete.json

* Fixed prettier check

* fixed prettier check

* Update migrateProject_Create.json

* Update migrateProject_Create.json

* Update migrateProject_Create.json

* Update migrateProject_Create.json

* Fixed lintdiff errors

* Update hubmigrate.json

* Fixed prettier check

* fixed prettier check

* Fixed prettier check

* Update hubmigrate.json

* fixed prettier check
  • Loading branch information
pajind authored Sep 2, 2021
1 parent 51b37b0 commit 9381fa0
Show file tree
Hide file tree
Showing 17 changed files with 1,827 additions and 1 deletion.
3 changes: 3 additions & 0 deletions custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -726,6 +726,7 @@ fileurl
findsimilars
findsquare
firmwares
Flexera
fluentd
forceclosehandles
forestsummary
Expand Down Expand Up @@ -1170,6 +1171,7 @@ Mibps
microservices
microsofttranslator
migratemysql
migrateproject
migratetoaad
Miliseconds
mincoordinates
Expand All @@ -1194,6 +1196,7 @@ monitoringconfiguration
monitoringconfigurations
Monospace
mountainview
Movere
MPNS
MRAN
mrenclave
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"parameters": {
"resourceGroupName": "abgoyal-westEurope",
"api-version": "2020-05-01",
"subscriptionId": "6393a73f-8d55-47ef-b6dd-179b3e0c7910"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "Read",
"display": {
"provider": "Microsoft.Migrate",
"resource": "Microsoft.Migrate/migrateProjects",
"operation": "Read",
"description": "Reads a project"
},
"origin": "user,system"
},
{
"name": "Write",
"display": {
"provider": "Microsoft.Migrate",
"resource": "Microsoft.Migrate/migrateProjects",
"operation": "Write",
"description": "Creates or updates a project"
},
"origin": "user,system"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"parameters": {
"subscriptionId": "4bd2aa0f-2bd2-4d67-91a8-5a4533d58600",
"resourceGroupName": "pajindTest1",
"migrateProjectName": "proj567",
"api-version": "2020-05-01",
"peConnectionName": "proj5675162pe.fdccace0-e303-4a79-80c8-3aa7c1f09cc6"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/pajindTest1/providers/Microsoft.Migrate/MigrateProjects/proj567/privateEndpointConnections/proj5675162pe.fdccace0-e303-4a79-80c8-3aa7c1f09cc6",
"name": "proj5675162pe.fdccace0-e303-4a79-80c8-3aa7c1f09cc6",
"type": "Microsoft.Migrate/MigrateProjects/privateEndpointConnections",
"eTag": "\"0600377a-0000-0800-0000-611956e90000\"",
"properties": {
"provisioningState": "Succeeded",
"privateEndpoint": {
"id": "/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawRG/providers/Microsoft.Network/privateEndpoints/proj5675162pe"
},
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": null,
"actionsRequired": ""
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"parameters": {
"subscriptionId": "4bd2aa0f-2bd2-4d67-91a8-5a4533d58600",
"resourceGroupName": "pajindTest1",
"migrateProjectName": "proj567",
"api-version": "2020-05-01",
"peConnectionName": "proj5675162pe.fdccace0-e303-4a79-80c8-3aa7c1f09cc6",
"body": {
"properties": {
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": null,
"actionsRequired": ""
}
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/pajindTest1/providers/Microsoft.Migrate/MigrateProjects/proj567/privateEndpointConnections/proj5675162pe.fdccace0-e303-4a79-80c8-3aa7c1f09cc6",
"name": "proj5675162pe.fdccace0-e303-4a79-80c8-3aa7c1f09cc6",
"type": "Microsoft.Migrate/MigrateProjects/privateEndpointConnections",
"eTag": "\"0600377a-0000-0800-0000-611956e90000\"",
"properties": {
"provisioningState": "Succeeded",
"privateEndpoint": {
"id": "/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawRG/providers/Microsoft.Network/privateEndpoints/proj5675162pe"
},
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": null,
"actionsRequired": ""
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"parameters": {
"subscriptionId": "4bd2aa0f-2bd2-4d67-91a8-5a4533d58600",
"resourceGroupName": "pajindTest1",
"migrateProjectName": "proj567",
"api-version": "2020-05-01",
"peConnectionName": "proj5675162pe.fdccace0-e303-4a79-80c8-3aa7c1f09cc6"
},
"responses": {
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"parameters": {
"subscriptionId": "4bd2aa0f-2bd2-4d67-91a8-5a4533d58600",
"resourceGroupName": "pajindTest1",
"migrateProjectName": "proj567",
"api-version": "2020-05-01"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/pajindTest1/providers/Microsoft.Migrate/MigrateProjects/proj567/privateEndpointConnections/proj5675162pe.fdccace0-e303-4a79-80c8-3aa7c1f09cc6",
"name": "proj5675162pe.fdccace0-e303-4a79-80c8-3aa7c1f09cc6",
"type": "Microsoft.Migrate/MigrateProjects/privateEndpointConnections",
"eTag": "\"0600377a-0000-0800-0000-611956e90000\"",
"properties": {
"provisioningState": "Succeeded",
"privateEndpoint": {
"id": "/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawRG/providers/Microsoft.Network/privateEndpoints/proj5675162pe"
},
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": null,
"actionsRequired": ""
}
}
}
],
"nextLink": null
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"parameters": {
"subscriptionId": "4bd2aa0f-2bd2-4d67-91a8-5a4533d58600",
"resourceGroupName": "pajindTest1",
"migrateProjectName": "proj567",
"api-version": "2020-05-01",
"privateLinkResourceName": "Default"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/pajindTest1/providers/Microsoft.Migrate/MigrateProjects/proj567/privateLinkResources/Default",
"name": "Default",
"type": "Microsoft.Migrate/MigrateProjects/privateLinkResources",
"properties": {
"requiredMembers": [
"Default"
],
"requiredZoneNames": [
"privatelink.test.migration.windowsazure.com"
],
"groupId": "Default"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"parameters": {
"subscriptionId": "4bd2aa0f-2bd2-4d67-91a8-5a4533d58600",
"resourceGroupName": "pajindTest1",
"migrateProjectName": "proj567",
"api-version": "2020-05-01"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/pajindTest1/providers/Microsoft.Migrate/MigrateProjects/proj567/privateLinkResources/Default",
"name": "Default",
"type": "Microsoft.Migrate/MigrateProjects/privateLinkResources",
"properties": {
"requiredMembers": [
"Default"
],
"requiredZoneNames": [
"privatelink.test.migration.windowsazure.com"
],
"groupId": "Default"
}
}
],
"nextLink": ""
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"parameters": {
"subscriptionId": "4bd2aa0f-2bd2-4d67-91a8-5a4533d58600",
"resourceGroupName": "pajindTest1",
"migrateProjectName": "projTest1",
"api-version": "2020-05-01",
"body": {
"location": "eastus",
"properties": {
"publicNetworkAccess": "Enabled"
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/pajindTest1/providers/Microsoft.Migrate/MigrateProjects/proj90",
"name": "proj90",
"type": "Microsoft.Migrate/MigrateProjects",
"eTag": "\"0000e223-0000-1800-0000-611959540000\"",
"location": "eastasia",
"properties": {
"utilityStorageAccountId": null,
"publicNetworkAccess": "Enabled",
"privateEndpointConnections": [],
"registeredTools": [],
"serviceEndpoint": "https://68495fbe-86cc-484e-9427-0f529acf9641-isv.ea.hub.privatelink.prod.migration.windowsazure.com/resources/68495fbe-86cc-484e-9427-0f529acf9641",
"summary": {
"servers": {
"instanceType": "Servers",
"refreshSummaryState": "Completed",
"lastSummaryRefreshedTime": "2021-08-15T18:13:29.5924045Z",
"extendedSummary": {
"microsoftDiscoveredCount": "0",
"microsoftMachinesCount": "0"
}
},
"databases": {
"instanceType": "Databases",
"refreshSummaryState": "Completed",
"lastSummaryRefreshedTime": "2021-08-15T18:13:29.5924045Z",
"extendedSummary": {}
},
"webApplications": {
"instanceType": "WebApplications",
"refreshSummaryState": "Completed",
"lastSummaryRefreshedTime": "2021-08-15T18:14:12.5492031Z",
"extendedSummary": {}
},
"desktopVirtualization": {
"instanceType": "DesktopVirtualization",
"refreshSummaryState": "Completed",
"lastSummaryRefreshedTime": "2021-08-15T18:13:29.5924045Z",
"extendedSummary": {}
}
},
"lastSummaryRefreshedTime": "2021-08-15T18:13:29.5924045Z",
"refreshSummaryState": "Completed"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"parameters": {
"subscriptionId": "4bd2aa0f-2bd2-4d67-91a8-5a4533d58600",
"resourceGroupName": "pajindTest1",
"migrateProjectName": "proj90",
"api-version": "2020-05-01"
},
"responses": {
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"parameters": {
"subscriptionId": "4bd2aa0f-2bd2-4d67-91a8-5a4533d58600",
"resourceGroupName": "pajindTest1",
"migrateProjectName": "proj90",
"api-version": "2020-05-01"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/pajindTest1/providers/Microsoft.Migrate/MigrateProjects/proj90",
"name": "proj90",
"type": "Microsoft.Migrate/MigrateProjects",
"eTag": "\"0000e223-0000-1800-0000-611959540000\"",
"location": "eastasia",
"properties": {
"utilityStorageAccountId": null,
"publicNetworkAccess": "Enabled",
"privateEndpointConnections": [],
"registeredTools": [],
"serviceEndpoint": "https://68495fbe-86cc-484e-9427-0f529acf9641-isv.ea.hub.privatelink.prod.migration.windowsazure.com/resources/68495fbe-86cc-484e-9427-0f529acf9641",
"summary": {
"servers": {
"instanceType": "Servers",
"refreshSummaryState": "Completed",
"lastSummaryRefreshedTime": "2021-08-15T18:13:29.5924045Z",
"extendedSummary": {
"microsoftDiscoveredCount": "0",
"microsoftMachinesCount": "0"
}
},
"databases": {
"instanceType": "Databases",
"refreshSummaryState": "Completed",
"lastSummaryRefreshedTime": "2021-08-15T18:13:29.5924045Z",
"extendedSummary": {}
},
"webApplications": {
"instanceType": "WebApplications",
"refreshSummaryState": "Completed",
"lastSummaryRefreshedTime": "2021-08-15T18:14:12.5492031Z",
"extendedSummary": {}
},
"desktopVirtualization": {
"instanceType": "DesktopVirtualization",
"refreshSummaryState": "Completed",
"lastSummaryRefreshedTime": "2021-08-15T18:13:29.5924045Z",
"extendedSummary": {}
}
},
"lastSummaryRefreshedTime": "2021-08-15T18:13:29.5924045Z",
"refreshSummaryState": "Completed"
}
}
}
}
}
Loading

0 comments on commit 9381fa0

Please sign in to comment.