Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
6b1ced7
Swagger coverage for Azure Migrate Hub operations
peet-lotla Oct 25, 2018
1244a35
Adding Operation_List.json to examples
peet-lotla Oct 26, 2018
b7bb635
adding operation result definitions to migrate.json
peet-lotla Oct 29, 2018
eb38afe
Update specification/migrateprojects/resource-manager/Microsoft.Migra…
peet-lotla Oct 29, 2018
ae58786
Update specification/migrateprojects/resource-manager/readme.md
peet-lotla Oct 29, 2018
883fa55
Update specification/migrateprojects/resource-manager/Microsoft.Migra…
peet-lotla Oct 29, 2018
002f6df
Update specification/migrateprojects/resource-manager/Microsoft.Migra…
peet-lotla Oct 29, 2018
7c87c69
Proving x-ms-exmaples for response/request payloads for operations.
peet-lotla Oct 30, 2018
0c80987
Fixing schema validation for azure-sdk-for-go.
peet-lotla Oct 30, 2018
3b7b463
Fixing schema validation for azure-sdk-for-go.
peet-lotla Oct 30, 2018
1faf797
Added missing patch and delete operations per the feedback.
peet-lotla Oct 31, 2018
07a3678
Swagger fixes for azure-sdk-for-go
peet-lotla Oct 31, 2018
f4b032d
Swagger fixes for azure-sdk-for-go
peet-lotla Oct 31, 2018
251876f
Swagger fixes for azure-sdk-for-go
peet-lotla Oct 31, 2018
70edfe5
Fixing schema validation for azure-sdk-for-go.
peet-lotla Oct 31, 2018
461c921
Adding delete method for migrate errors.
peet-lotla Nov 1, 2018
7ca6abc
Updates as per ARM review.
peet-lotla Nov 12, 2018
772d61f
Updates as per ARM feedback.
peet-lotla Nov 14, 2018
c19dd1f
Updates as per ARM feedback.
peet-lotla Nov 15, 2018
d8a1127
Updates as per ARM feedback.
peet-lotla Nov 15, 2018
313f1ce
Making changes to existing PR for AMH
peet-lotla May 27, 2019
392c49b
Fixnig the semantic errors
peet-lotla May 28, 2019
7dbe4d7
Fixnig the semantic errors
peet-lotla May 28, 2019
98ea894
Fixing semantic errors
peet-lotla May 28, 2019
8f13421
Fixing semantic errors
peet-lotla May 28, 2019
b35b7c6
Fixing semantic errors
peet-lotla May 28, 2019
7fe6cb0
Fixing semantic errors
peet-lotla May 28, 2019
f6827f5
Fixing semantic errors
peet-lotla May 28, 2019
05dc112
Fixing SDK errors
peet-lotla May 29, 2019
a43ead5
Fixing SDK errors
peet-lotla May 29, 2019
df0abb0
Changing the resource names to camel case as per ARM review
peet-lotla Jun 18, 2019
92d148d
Changing the resource names to camel case as per ARM review
peet-lotla Jun 18, 2019
a683481
Changing the resource names to camel case as per ARM review
peet-lotla Jun 18, 2019
c89e680
Fix model validation errors
peet-lotla Jun 18, 2019
194da23
Modifying the team email address
peet-lotla Jun 21, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixnig the semantic errors
  • Loading branch information
peet-lotla committed May 28, 2019
commit 392c49b1467135e338b552c4d4039eef7b764aa3
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,24 @@
"resourceGroupName":"myResourceGroup",
"api-version":"2018-09-01-preview",
"subscriptionId":"75dd7e42-4fd1-4512-af04-83ad9864335b",
"migrateProjectName": "project01",
"migrateProjectName":"project01",
"migrateEventName":"MigrateEvent01"
},
"responses":{
"200":{
"body":{
"id":"/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/MigrateEvent01",
"id":"/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/MigrateEvents/MigrateEvent01",
"name":"MigrateEvent01",
"type":"Microsoft.Migrate/MigrateProjects/MigrateEvents",
"properties":{
"errorCode":1234,
"errorMessage":"Invalid machine name.",
"recommendation":"Please correct the error and retry the operation.",
"possibleCauses":"Invalid input in the data.",
"solution":"mysolution",
"machine":"mymachine1"
"instanceType":"Servers",
"machine":null,
"errorCode":"600",
"errorMessage":"The message does not contain the required parameters to identify the machine.",
"recommendation":"Resolve the error and try again.",
"possibleCauses":"The mandatory fields are not provided.",
"solution":"serversolution",
"clientRequestId":null
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,37 +3,42 @@
"resourceGroupName":"myResourceGroup",
"api-version":"2018-09-01-preview",
"subscriptionId":"75dd7e42-4fd1-4512-af04-83ad9864335b",
"migrateProjectName": "project01"
"migrateProjectName":"project01"
},
"responses":{
"200":{
"body":{
"value":[
{
"id":"/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/MigrateEvents/b80e3c0f-70c0-4057-81e7-14cfa9ebb205",
"name":"b80e3c0f-70c0-4057-81e7-14cfa9ebb205",
"type":"Microsoft.Migrate/MigrateProjects/MigrateEvents",
"properties":{
"errorCode":1234,
"errorMessage":"Invalid machine name.",
"recommendation":"Please correct the error and retry the operation.",
"possibleCauses":"Invalid input in the data.",
"solution":"mysolution",
"machine":"mymachine1"
},
"id":"/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/MigrateEvents/MigrateEvent01",
"name":"MigrateEvent01",
"type":"Microsoft.Migrate/MigrateProjects/MigrateEvents"
"instanceType":"Servers",
"machine":null,
"errorCode":"600",
"errorMessage":"The message does not contain the required parameters to identify the machine.",
"recommendation":"Resolve the error and try again.",
"possibleCauses":"The mandatory fields are not provided.",
"solution":"serversolution",
"clientRequestId":null
}
},
{
"id":"/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/MigrateEvents/041dc61e-8568-40f7-b9b3-c66233ace714",
"name":"041dc61e-8568-40f7-b9b3-c66233ace714",
"type":"Microsoft.Migrate/MigrateProjects/MigrateEvents",
"properties":{
"errorCode":1288,
"errorMessage":"Invalid foramt.",
"recommendation":"Please correct the error and retry the operation.",
"possibleCauses":"Invalid input in the data.",
"solution":"mysolution",
"machine":"mymachine2"
},
"id":"/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/MigrateEvents/MigrateEvent02",
"name":"MigrateEvent02",
"type":"Microsoft.Migrate/MigrateProjects/MigrateEvents"
"instanceType":"Databases",
"database":null,
"databaseInstanceId":"cD",
"errorCode":"608",
"errorMessage":"The message does not contain the required parameters to identify the database.",
"recommendation":"Resolve the error and try again.",
"possibleCauses":"The mandatory fields are not provided.",
"solution":"dbsolution",
"clientRequestId":"cf861fa5-9a2e-4a9f-b51c-8054efa8e75f"
}
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1113,6 +1113,46 @@

}
},
"DatabaseInstanceCollection":{
"description":"Collection of database instances.",
"type":"object",
"properties":{
"value":{
"description":"Gets or sets the database instances.",
"type":"array",
"items":{
"$ref":"#/definitions/DatabaseInstance"
}
},
"nextLink":{
"description":"Gets or sets the value of nextLink.",
"type":"string"
}
}
},
"DatabaseInstance":{
"description":"DatabaseInstance REST resource.",
"type":"object",
"properties":{
"id":{
"description":"Gets or sets the relative URL to get to this REST resource.",
"type":"string"
},
"name":{
"description":"Gets or sets the name of this REST resource.",
"type":"string"
},
"type":{
"description":"Gets the type of this REST resource.",
"type":"string",
"readOnly":true
},
"properties":{
"$ref":"#/definitions/DatabaseInstanceProperties",
"description":"Gets or sets the properties of the machine."
}
}
},
"DatabaseCollection":{
"description":"Collection of databases.",
"type":"object",
Expand Down