Skip to content

Commit

Permalink
Adding new Tracked Resource Type for Microsoft.Migrate RP with new Ap… (
Browse files Browse the repository at this point in the history
#19045)

* Adding new Tracked Resource Type for Microsoft.Migrate RP with new Api Version

* Adding tag in readme and IISAKS to custom words

* Restructuring example files

* Renaming files

* Fixing Avocado error

* Rectifying swagger model validation

* Addressing code style and validation issues

* Implementing review comment

* fixing prettier check

* Deleting patch operations for proxy resources

* Modifying readme.md to accomodate new resourcetype

* Resolving errors

* Resolving errors

* Chankging tracked resource name from migrateDataCenter to modernizeProject

* Reverting addition of id fiels in migrate and hubmigrate.json

* .

* Delete non-existing x-ms-examples from swagger

* Auto-generate examples

* run prettier changes

* .

* prettier

* fix: Deleting and modifying examples

* fix: Generated new examples to remove some errors

* fix: Added x-ms-long-running-operation-options

* refactor: Ran prettier fix

* fix: Spell check error

* fix: Removed 2 unnecessary filenames from inputfiles section under 'package-2022-05' tag.

* feat: Latest Swagger updated. New examples generated.

* fix: Resolving LintDiff Errors

* fix: Ran prettier fix

* fix: fixing model validation errors

* fix: model validation error fix

* fix: Removed patch operation and updated camelCase

* fix: updated 'name' and restore readme.md

* fix: removed  tag: package-2022-05 and reverted the default tag to 2019-10

* fix:  OperationsAPIImplementation

* fix: OperationsAPI Implementaiton shifted to migrateEngine file

* fix: ran prettier fix on 2 new example files

* fix: updated package-2019 with package-migrate-2019

* refactor: Changed random guid to reopen the PR

* fix: Updated the swagger till date 19Jan

* fix: added 'fareast' in custom-words

* fix: Recreated examples

* fix: ran prettier command

* fix: camelCase at 3 places

* fix: Re generated examples

* fix: Removed the Loglink from ContainerImageProperties

* fix: Regenerated examples

* Added GMSA Configuration State

* fix: Added two DeployedResourcesProperties: isCleanUpDone, isTestMigration

* fix: Removed spellcheck

* fix: Added Produces in operations

* fix: schema error

* fix: Removed unnecessary configurations

---------

Co-authored-by: Shishir Gupta <shig@microsoft.com>
Co-authored-by: Shreyas Mali <shreyasmali@microsoft.com>
Co-authored-by: shishir-msft <55269898+shishir-msft@users.noreply.github.com>
Co-authored-by: shreyasmalims <117085373+shreyasmalims@users.noreply.github.com>
  • Loading branch information
5 people authored Feb 8, 2023
1 parent 2912d11 commit 1de0b53
Show file tree
Hide file tree
Showing 81 changed files with 8,433 additions and 37 deletions.
2 changes: 2 additions & 0 deletions custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -751,6 +751,7 @@ Failback
failover
Fairplay
Fanout
fareast
farmBeats
FarmBeats
fatherable
Expand Down Expand Up @@ -952,6 +953,7 @@ IDNS
IDPs
IDRG
IKEV
IISAKS
ilearner
illumos
iloveyou
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"js-yaml": "^3.13.1",
"json-schema-ref-parser": "^6.1.0",
"mocha": "^9.1.2",
"prettier": "^2.6.2",
"prettier": "^2.7.1",
"ts-node": "^10.1.0",
"tslib": "^1.10.0",
"typescript": "^3.5.3"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"parameters": {
"subscriptionId": "foksiqislfdsagudxqqxxbe",
"resourceGroupName": "rgmigrateEngine",
"modernizeProjectName": "p",
"deployedResourceName": "x",
"api-version": "2022-05-01-preview"
},
"responses": {
"200": {
"body": {
"properties": {
"resourcesDeployed": {
"key3537": "flrnxbqphg"
},
"workloadDeploymentId": "yonvfgrejwtbtvywlxyyhozil",
"displayName": "bhaboraghcmdznewqwzwlso",
"deploymentTimestamp": "2023-01-24T09:33:20.423Z",
"targetAzureService": "AzureKubernetesService",
"containerRegistryId": "ahfhvdcugvbobqhf",
"imageName": "oqnegtykufkpzb",
"imageTag": "jjmajbhdlcorshzzardkuocmfhj",
"appIp": "emlodrp",
"secretStoreId": "zqtanxxzcdawftq",
"customProperties": {
"key6623": "dqvkmvytgpbeat"
}
},
"id": "byupcjbeg",
"name": "e",
"type": "ppnjjicvguxdeelfbpexyphvoyjrfd",
"systemData": {
"createdBy": "vyzbchfdtfybrxoszxjngqxme",
"createdByType": "dkvwaxkkdiuzfwdtwupzmpuxssurz",
"createdAt": "2023-01-24T09:33:20.423Z",
"lastModifiedBy": "lwymfhok",
"lastModifiedByType": "ycxifqgaihtjadtubsbrdgatitje",
"lastModifiedAt": "2023-01-24T09:33:20.423Z"
},
"tags": {
"key8593": "qwajwvgsbbrogygqkasckw"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"parameters": {
"subscriptionId": "foksiqislfdsagudxqqxxbe",
"resourceGroupName": "rgmigrateEngine",
"modernizeProjectName": "c5",
"deployedResourceName": "nbsprsfn",
"api-version": "2022-05-01-preview"
},
"responses": {
"200": {
"body": {}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"parameters": {
"subscriptionId": "foksiqislfdsagudxqqxxbe",
"resourceGroupName": "rgmigrateEngine",
"modernizeProjectName": "d3n",
"api-version": "2022-05-01-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"properties": {
"resourcesDeployed": {
"key3537": "flrnxbqphg"
},
"workloadDeploymentId": "yonvfgrejwtbtvywlxyyhozil",
"displayName": "bhaboraghcmdznewqwzwlso",
"deploymentTimestamp": "2023-01-24T09:33:20.423Z",
"targetAzureService": "AzureKubernetesService",
"containerRegistryId": "ahfhvdcugvbobqhf",
"imageName": "oqnegtykufkpzb",
"imageTag": "jjmajbhdlcorshzzardkuocmfhj",
"appIp": "emlodrp",
"secretStoreId": "zqtanxxzcdawftq",
"customProperties": {
"key6623": "dqvkmvytgpbeat"
}
},
"id": "byupcjbeg",
"name": "e",
"type": "ppnjjicvguxdeelfbpexyphvoyjrfd",
"systemData": {
"createdBy": "vyzbchfdtfybrxoszxjngqxme",
"createdByType": "dkvwaxkkdiuzfwdtwupzmpuxssurz",
"createdAt": "2023-01-24T09:33:20.423Z",
"lastModifiedBy": "lwymfhok",
"lastModifiedByType": "ycxifqgaihtjadtubsbrdgatitje",
"lastModifiedAt": "2023-01-24T09:33:20.423Z"
},
"tags": {
"key8593": "qwajwvgsbbrogygqkasckw"
}
}
],
"nextLink": "sutrwyjnjrsaannakxoatrfkk"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"parameters": {
"subscriptionId": "foksiqislfdsagudxqqxxbe",
"resourceGroupName": "rgmigrateEngine",
"modernizeProjectName": "fm3",
"api-version": "2022-05-01-preview"
},
"responses": {
"200": {
"body": {}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"parameters": {
"subscriptionId": "foksiqislfdsagudxqqxxbe",
"resourceGroupName": "rgmigrateEngine",
"modernizeProjectName": "sa",
"agentName": "s7",
"operationId": "gwvaselnojb",
"api-version": "2022-05-01-preview"
},
"responses": {
"200": {
"body": {
"id": "jgqitwpxtxk",
"name": "uyfnwey",
"status": "khffzhqwigjqyxlijuzdsy",
"startTime": "pczzugftmougphynzofsxaj",
"endTime": "sjrmdhmfwplekzezydk"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"parameters": {
"subscriptionId": "foksiqislfdsagudxqqxxbe",
"resourceGroupName": "rgmigrateEngine",
"modernizeProjectName": "b4gt",
"agentName": "dh4",
"operationId": "wv",
"api-version": "2022-05-01-preview"
},
"responses": {
"200": {
"body": {}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
{
"parameters": {
"subscriptionId": "foksiqislfdsagudxqqxxbe",
"resourceGroupName": "rgmigrateEngine",
"modernizeProjectName": "rq1yec",
"agentName": "l",
"api-version": "2022-05-01-preview",
"body": {
"properties": {
"machineId": "sihoniqzqfz",
"machineName": "glhejppirkiamgxxro",
"authenticationIdentity": {
"tenantId": "uwceuawplakwjswbvllffbsz",
"applicationId": "dibfqwjrnzikktkwe",
"objectId": "xfhhdosr",
"audience": "yrfxszjhkczoyfi",
"aadAuthority": "isbicanvfefdaci"
},
"customProperties": {
"instanceType": "IISWorkload"
}
},
"tags": {
"key5560": "jgffrfcgjrm"
}
}
},
"responses": {
"201": {
"body": {
"properties": {
"correlationId": "aivwmxdmrcokskqsbeeduwdenaedrf",
"machineId": "sihoniqzqfz",
"machineName": "glhejppirkiamgxxro",
"authenticationIdentity": {
"tenantId": "uwceuawplakwjswbvllffbsz",
"applicationId": "dibfqwjrnzikktkwe",
"objectId": "xfhhdosr",
"audience": "yrfxszjhkczoyfi",
"aadAuthority": "isbicanvfefdaci"
},
"isResponsive": true,
"lastHeartbeat": "2023-01-24T09:33:21.619Z",
"versionNumber": "qqmdkznttd",
"provisioningState": "Canceled",
"healthErrors": [
{
"affectedResourceType": "xssq",
"affectedResourceCorrelationIds": [
"wtucifuccildj"
],
"childErrors": [
{
"id": "jvwflcnwvlqwvmr",
"code": "zuvywsndznfq",
"healthCategory": "rzet",
"category": "ggvzo",
"severity": "vaf",
"source": "hzygxkktcjnafnusdndoukyxp",
"creationTime": "2023-01-24T09:33:21.619Z",
"isCustomerResolvable": true,
"summary": "pcghybpilafzkoitsniduzubf",
"message": "zrggie",
"causes": "hgjszh",
"recommendation": "mghdbkeldgomzrhshz"
}
],
"id": "ofiqmyuh",
"code": "ufsfaxfksjxu",
"healthCategory": "wdcnvrzuqvnfamzwxamrlofajlbxya",
"category": "apkwsicsnhedlqmu",
"severity": "sadbfjcqiom",
"source": "hcjdggdbjnogme",
"creationTime": "2023-01-24T09:33:21.619Z",
"isCustomerResolvable": true,
"summary": "oppswboqrqhhxvzk",
"message": "ipggpyzwbmifnuehekkvhammin",
"causes": "xroezoejvidtni",
"recommendation": "nywcbkdlsmxllsdsvawjvfcpjsntl"
}
],
"customProperties": {
"instanceType": "IISWorkload"
}
},
"id": "bjmro",
"name": "icysfvhjjgwhxx",
"type": "uqhwlmmigjsra",
"systemData": {
"createdBy": "hgfokdrrdbggphhoz",
"createdByType": "wgljjdulrjrjlhlalkdwaqxefsbgtw",
"createdAt": "2023-01-24T09:33:21.620Z",
"lastModifiedBy": "yenkcinirlkkskendnm",
"lastModifiedByType": "ijogaskmjjqhpdjtmiize",
"lastModifiedAt": "2023-01-24T09:33:21.620Z"
},
"tags": {
"key5560": "jgffrfcgjrm"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"parameters": {
"subscriptionId": "foksiqislfdsagudxqqxxbe",
"resourceGroupName": "rgmigrateEngine",
"modernizeProjectName": "l77ak",
"agentName": "e85v",
"api-version": "2022-05-01-preview"
},
"responses": {
"201": {
"body": {}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"parameters": {
"subscriptionId": "foksiqislfdsagudxqqxxbe",
"resourceGroupName": "rgmigrateEngine",
"modernizeProjectName": "eg",
"agentName": "m",
"api-version": "2022-05-01-preview"
},
"responses": {
"202": {
"headers": {
"location": "https://contoso.com/operationstatus"
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"parameters": {
"subscriptionId": "foksiqislfdsagudxqqxxbe",
"resourceGroupName": "rgmigrateEngine",
"modernizeProjectName": "zw1hy5",
"agentName": "cm",
"api-version": "2022-05-01-preview"
},
"responses": {
"202": {
"headers": {
"location": "https://contoso.com/operationstatus"
}
},
"204": {}
}
}
Loading

0 comments on commit 1de0b53

Please sign in to comment.