Skip to content

Commit

Permalink
[Hub Generated] Review request for Microsoft.Migrate/AssessmentProjec…
Browse files Browse the repository at this point in the history
…ts to add version stable/2023-03-15 (#25417)

* Adds base for updating Microsoft.Migrate/AssessmentProjects from version stable/2019-10-01 to version 2023-03-15

* Updates readme

* Updates API version in new specs and examples

* edit

* added types files

* added examples

* edit. spelling ignore words added

* edit. api version fix

* edit.

* edit.

* edit.

* deleted zombie files and ran prettier

* removed data plane folder to fix checks

* Removed common types folder.

* Fixed relative path to common types + minor swagger edits

* removed 2019 from default tag to fix go sdk check

* edit

* minor swagger fixes

* edit

* edited string for policheck

* minor fix

* Added manual examples

* fixed errors in checks

* testing update readme to latest API version

* edit

* edit

* compile swagger with new typespec compiler version

* edit

* Sdded PE resources using common types

* added regex pattern

* edit

* edit

* edit

* edit. minor changes from comments/ checks

* cleanup

* made delete sync and updated examples

* edit. made string to date time
  • Loading branch information
kuchatur-ms authored and jnlycklama committed Nov 8, 2023
1 parent c92465c commit 77c4911
Show file tree
Hide file tree
Showing 81 changed files with 30,970 additions and 9 deletions.
22 changes: 14 additions & 8 deletions cSpell.json
Original file line number Diff line number Diff line change
Expand Up @@ -403,9 +403,21 @@
]
},
{
"filename": "**/specification/migrate/resource-manager/Microsoft.Migrate/stable/2018-02-02/migrate.json",
"filename": "**/specification/migrate/resource-manager/**/*.json",
"words": [
"Occured"
"Occured",
"Assessible",
"sqlcollectors",
"Reasonings",
"Overcommit",
"overcommit",
"SSDE",
"Recieved",
"Ebds",
"idms",
"Idms",
"Cluter",
"Mfamily"
]
},
{
Expand Down Expand Up @@ -593,12 +605,6 @@
"Listblob"
]
},
{
"filename": "**/specification/migrate/resource-manager/Microsoft.Migrate/preview/2017-11-11-preview/migrate.json",
"words": [
"Occured"
]
},
{
"filename": "**/specification/cognitiveservices/data-plane/TextAnalytics/preview/v2.1/TextAnalytics.json",
"words": [
Expand Down
3 changes: 3 additions & 0 deletions custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3759,3 +3759,6 @@ docon
DialOut
vectorizers
Entra

Paas
PAAS
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
{
"title": "AssessedMachinesOperations_Get",
"operationId": "AssessedMachinesOperations_Get",
"parameters": {
"api-version": "2023-03-15",
"subscriptionId": "D8E1C413-E65F-40C0-8A7E-743D6B7A6AE9",
"resourceGroupName": "rgopenapi",
"projectName": "pavqtntysjn",
"groupName": "smawqdmhfngray",
"assessmentName": "qjlumxyqsitd",
"assessedMachineName": "oqxjeheiipjmuo"
},
"responses": {
"200": {
"body": {
"properties": {
"errors": [],
"disks": {
"6000C297-455f-f81e-37b7-dc17da4433d4": {
"suitability": "Suitable",
"suitabilityExplanation": "NotApplicable",
"suitabilityDetail": "NumberOfReadOperationsPerSecondMissing",
"recommendedDiskSize": "StandardSSD_E10",
"recommendedDiskType": "StandardSSD",
"recommendedDiskSizeGigabytes": 17,
"recommendDiskThroughputInMbps": 13,
"recommendedDiskIops": 7,
"monthlyStorageCost": 5,
"name": "6000C297-455f-f81e-37b7-dc17da4433d4",
"displayName": "scsi0:0",
"gigabytesProvisioned": 8,
"megabytesPerSecondOfRead": 9,
"megabytesPerSecondOfWrite": 29,
"numberOfReadOperationsPerSecond": 12,
"numberOfWriteOperationsPerSecond": 28
}
},
"monthlyUltraStorageCost": 11,
"hostProcessor": {
"name": "Intel(R) Xeon(R) Gold 5220R CPU @ 2.20GHz",
"numberOfSockets": 2,
"numberOfCoresPerSocket": 24
},
"costComponents": [
{
"name": "MonthlyAzureHybridCostSavings",
"value": 273.792,
"description": null
},
{
"name": "MonthlySecurityCost",
"value": 14.88,
"description": null
}
],
"monthlyBandwidthCost": 4,
"monthlyStorageCost": 10,
"monthlyPremiumStorageCost": 6,
"monthlyStandardSsdStorageCost": 4,
"networkAdapters": {
"4000": {
"suitability": "Suitable",
"suitabilityDetail": "NotApplicable",
"suitabilityExplanation": "MegabytesOfDataTransmittedMissing, MegabytesOfDataRecievedMissing",
"monthlyBandwidthCosts": 4,
"netGigabytesTransmittedPerMonth": 6,
"displayName": "VM Network",
"macAddress": "00:50:56:95:98:e8",
"ipAddresses": [
"2404:f801:4800:1c:c4c2:1cd:7154:a028"
],
"megabytesPerSecondReceived": 10,
"megabytesPerSecondTransmitted": 24
}
},
"productSupportStatus": {
"currentVersion": null,
"servicePackStatus": "Unknown",
"esuStatus": "Unknown",
"supportStatus": "Extended",
"eta": 0,
"currentEsuYear": "Unknown",
"mainstreamEndDate": "2018-10-09T00:00:00Z",
"extendedSupportEndDate": "2023-10-10T00:00:00Z",
"extendedSecurityUpdateYear1EndDate": "2024-10-08T00:00:00Z",
"extendedSecurityUpdateYear2EndDate": "2025-10-14T00:00:00Z",
"extendedSecurityUpdateYear3EndDate": "2026-10-13T00:00:00Z"
},
"recommendedSize": "Standard_F4s_v2",
"numberOfCoresForRecommendedSize": 8,
"megabytesOfMemoryForRecommendedSize": 27,
"monthlyComputeCostForRecommendedSize": 1,
"suitabilityExplanation": "NotApplicable",
"suitabilityDetail": "PercentageOfCoresUtilizedMissing",
"type": "AssessedMachine",
"bootType": "BIOS",
"operatingSystemType": "windowsGuest",
"operatingSystemName": "Microsoft Windows Server 2016 or later (64-bit)",
"operatingSystemVersion": null,
"operatingSystemArchitecture": "X64",
"createdTimestamp": "2023-09-26T09:14:13.8168575Z",
"updatedTimestamp": "2023-09-26T09:14:13.8168575Z",
"displayName": "SQLTestDBVM28",
"description": null,
"datacenterMachineArmId": "/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourcegroups/ayagrawrg/providers/microsoft.offazure/vmwaresites/app18700site/machines/idclab-vcen67-fareast-corp-micr-d991d5f4-63f1-41c3-ad6a-40253e24ffa3_50150976-65ec-de99-1b54-a52710c3066e",
"datacenterManagementServerArmId": "/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawRG/providers/Microsoft.OffAzure/VMwareSites/app18700site/vcenters/idclab-vcen67-fareast-corp-micr-d991d5f4-63f1-41c3-ad6a-40253e24ffa3",
"datacenterManagementServerName": "idclab-vcen67.fareast.corp.microsoft.com",
"megabytesOfMemory": 21,
"numberOfCores": 7,
"confidenceRatingInPercentage": 14,
"percentageCoresUtilization": 24,
"percentageMemoryUtilization": 5,
"suitability": "Suitable"
},
"id": "/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawrg/providers/Microsoft.Migrate/assessmentprojects/app18700project/groups/kuchatur-test/assessments/asm1/assessedMachines/50fa865c-8c5c-4371-b7eb-5b900d7f9451",
"name": "riigi",
"type": "Microsoft.Migrate/assessmentprojects/groups/assessments/assessedMachines",
"systemData": {
"createdBy": "jsfqnyqqwykkv",
"createdByType": "sakanwar",
"createdAt": "2023-09-26T12:46:17.892Z",
"lastModifiedBy": "sakanwar",
"lastModifiedByType": "User",
"lastModifiedAt": "2023-09-26T12:46:17.892Z"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@
{
"title": "AssessedMachinesOperations_ListByAssessment",
"operationId": "AssessedMachinesOperations_ListByAssessment",
"parameters": {
"api-version": "2023-03-15",
"subscriptionId": "D8E1C413-E65F-40C0-8A7E-743D6B7A6AE9",
"resourceGroupName": "rgopenapi",
"$filter": "sbkdovsfqldhdb",
"pageSize": 10,
"continuationToken": "hbyseetshbplfkjmpjhsiurqgt",
"totalRecordCount": 25,
"projectName": "sloqixzfjk",
"groupName": "kjuepxerwseq",
"assessmentName": "rhzcmubwrrkhtocsibu"
},
"responses": {
"200": {
"body": {
"value": [
{
"properties": {
"errors": [],
"disks": {
"6000C297-455f-f81e-37b7-dc17da4433d4": {
"suitability": "Suitable",
"suitabilityExplanation": "NotApplicable",
"suitabilityDetail": "NumberOfReadOperationsPerSecondMissing",
"recommendedDiskSize": "StandardSSD_E10",
"recommendedDiskType": "StandardSSD",
"recommendedDiskSizeGigabytes": 17,
"recommendDiskThroughputInMbps": 13,
"recommendedDiskIops": 7,
"monthlyStorageCost": 5,
"name": "6000C297-455f-f81e-37b7-dc17da4433d4",
"displayName": "scsi0:0",
"gigabytesProvisioned": 8,
"megabytesPerSecondOfRead": 9,
"megabytesPerSecondOfWrite": 29,
"numberOfReadOperationsPerSecond": 12,
"numberOfWriteOperationsPerSecond": 28
}
},
"monthlyUltraStorageCost": 11,
"hostProcessor": {
"name": "Intel(R) Xeon(R) Gold 5220R CPU @ 2.20GHz",
"numberOfSockets": 2,
"numberOfCoresPerSocket": 24
},
"costComponents": [
{
"name": "MonthlyAzureHybridCostSavings",
"value": 273.792,
"description": null
},
{
"name": "MonthlySecurityCost",
"value": 14.88,
"description": null
}
],
"monthlyBandwidthCost": 4,
"monthlyStorageCost": 10,
"monthlyPremiumStorageCost": 6,
"monthlyStandardSsdStorageCost": 4,
"networkAdapters": {
"4000": {
"suitability": "Suitable",
"suitabilityDetail": "NotApplicable",
"suitabilityExplanation": "MegabytesOfDataTransmittedMissing, MegabytesOfDataRecievedMissing",
"monthlyBandwidthCosts": 4,
"netGigabytesTransmittedPerMonth": 6,
"displayName": "VM Network",
"macAddress": "00:50:56:95:98:e8",
"ipAddresses": [
"2404:f801:4800:1c:c4c2:1cd:7154:a028"
],
"megabytesPerSecondReceived": 10,
"megabytesPerSecondTransmitted": 24
}
},
"productSupportStatus": {
"currentVersion": null,
"servicePackStatus": "Unknown",
"esuStatus": "Unknown",
"supportStatus": "Extended",
"eta": 0,
"currentEsuYear": "Unknown",
"mainstreamEndDate": "2018-10-09T00:00:00Z",
"extendedSupportEndDate": "2023-10-10T00:00:00Z",
"extendedSecurityUpdateYear1EndDate": "2024-10-08T00:00:00Z",
"extendedSecurityUpdateYear2EndDate": "2025-10-14T00:00:00Z",
"extendedSecurityUpdateYear3EndDate": "2026-10-13T00:00:00Z"
},
"recommendedSize": "Standard_F4s_v2",
"numberOfCoresForRecommendedSize": 8,
"megabytesOfMemoryForRecommendedSize": 27,
"monthlyComputeCostForRecommendedSize": 1,
"suitabilityExplanation": "NotApplicable",
"suitabilityDetail": "PercentageOfCoresUtilizedMissing",
"type": "AssessedMachine",
"bootType": "BIOS",
"operatingSystemType": "windowsGuest",
"operatingSystemName": "Microsoft Windows Server 2016 or later (64-bit)",
"operatingSystemVersion": null,
"operatingSystemArchitecture": "X64",
"createdTimestamp": "2023-09-26T09:14:13.8168575Z",
"updatedTimestamp": "2023-09-26T09:14:13.8168575Z",
"displayName": "SQLTestDBVM28",
"description": null,
"datacenterMachineArmId": "/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourcegroups/ayagrawrg/providers/microsoft.offazure/vmwaresites/app18700site/machines/idclab-vcen67-fareast-corp-micr-d991d5f4-63f1-41c3-ad6a-40253e24ffa3_50150976-65ec-de99-1b54-a52710c3066e",
"datacenterManagementServerArmId": "/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawRG/providers/Microsoft.OffAzure/VMwareSites/app18700site/vcenters/idclab-vcen67-fareast-corp-micr-d991d5f4-63f1-41c3-ad6a-40253e24ffa3",
"datacenterManagementServerName": "idclab-vcen67.fareast.corp.microsoft.com",
"megabytesOfMemory": 21,
"numberOfCores": 7,
"confidenceRatingInPercentage": 14,
"percentageCoresUtilization": 24,
"percentageMemoryUtilization": 5,
"suitability": "Suitable"
},
"id": "/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawrg/providers/Microsoft.Migrate/assessmentprojects/app18700project/groups/kuchatur-test/assessments/asm1/assessedMachines/50fa865c-8c5c-4371-b7eb-5b900d7f9451",
"name": "riigi",
"type": "Microsoft.Migrate/assessmentprojects/groups/assessments/assessedMachines",
"systemData": {
"createdBy": "jsfqnyqqwykkv",
"createdByType": "sakanwar",
"createdAt": "2023-09-26T12:46:17.892Z",
"lastModifiedBy": "sakanwar",
"lastModifiedByType": "User",
"lastModifiedAt": "2023-09-26T12:46:17.892Z"
}
}
],
"nextLink": "https://microsoft.com/a"
}
}
}
}
Loading

0 comments on commit 77c4911

Please sign in to comment.