Skip to content

Commit

Permalink
Azure migrate GA and public preview rest api specs. (Azure#2446)
Browse files Browse the repository at this point in the history
* Azure migrate GA and public preview rest api specs.

* Resolving PR comments and semantic errors

* Modifying dictionary definition in rest api specs

* Defining dictionary in data model
  • Loading branch information
ronehr authored and mcardosos committed Mar 5, 2018
1 parent c1aad6c commit 8252f3e
Show file tree
Hide file tree
Showing 45 changed files with 8,150 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
{
"parameters": {
"resourceGroupName": "myResourceGroup",
"api-version": "2017-11-11-preview",
"subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b",
"projectName": "project01",
"groupName": "group01",
"assessmentName": "assessment01",
"assessedMachineName": "amansing_vm1"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/projects/project01/groups/group01/assessments/assessment01/assessedMachines/amansing_vm1",
"name": "amansing_vm1",
"eTag": "\"010000ef-0000-0000-0000-59b7e53e0000\"",
"type": "Microsoft.Migrate/projects/groups/assessments/assessedMachines",
"properties": {
"groups": [
"/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/projects/projects01/groups/groups01",
"/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/projects/projects01/groups/groups02"
],
"discoveredTimestamp": "2017-09-12T13:17:23.5437337Z",
"createdTimestamp": "2017-09-12T13:17:23.5437337Z",
"updatedTimestamp": "2017-09-12T13:17:23.5437337Z",
"bootType": "BIOS",
"datacenterContainer": "10.184.81.34",
"datacenterManagementServer": "10.240.17.240",
"datacenterMachineId": "vmWare_amansing_vm1",
"datacenterManagementServerId": "vmWare_unqie_01",
"description": "Azure Migration Planner - Collector",
"displayName": "amansing_vm1",
"megabytesOfMemory": 8192,
"numberOfCores": 4,
"operatingSystem": "Microsoft Windows Server 2008 (64-bit)",
"monthlyBandwidthCost": 0,
"monthlyStorageCost": 0,
"disks": {
"scsi0:0": {
"name": "scsi0:0",
"gigabytesProvisioned": 20,
"gigabytesConsumed": 0,
"megabytesPerSecondOfRead": 0,
"megabytesPerSecondOfWrite": 0,
"numberOfReadOperationsPerSecond": 0,
"numberOfWriteOperationsPerSecond": 0,
"monthlyStorageCost": 0,
"recommendedDiskSize": "Standard_S4",
"recommendedDiskType": "Standard",
"gigabytesForRecommendedDiskSize": 32,
"suitability": "Suitable",
"suitabilityExplanation": "NotApplicable"
}
},
"networkAdapters": {
"4000": {
"macAddress": "00:50:56:ba:7f:25",
"ipAddresses": [
"2001:4898:e0:f099:91fd:55f:42de:c130",
"2001:4898:e0:f099:ac11:23c3:e39f:533d",
"fe80::91fd:55f:42de:c130",
"10.184.83.206"
],
"megabytesPerSecondReceived": 0,
"megabytesPerSecondTransmitted": 0,
"monthlyBandwidthCosts": 0,
"netGigabytesTransmittedPerMonth": 0,
"suitability": "Suitable",
"suitabilityExplanation": "NotApplicable"
}
},
"recommendedSize": "Standard_A0",
"numberOfCoresForRecommendedSize": 1,
"megabytesOfMemoryForRecommendedSize": 786,
"monthlyComputeCostForRecommendedSize": 0,
"percentageCoresUtilization": 0.7752173913043479,
"percentageMemoryUtilization": 0.43666666666666665,
"suitability": "ConditionallySuitable",
"suitabilityExplanation": "WindowsServerVersionConditionallySupported"
}
}
},
"401": {},
"404": {},
"500": {},
"503": {}
}
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,161 @@
{
"parameters": {
"resourceGroupName": "myResourceGroup",
"api-version": "2017-11-11-preview",
"subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b",
"projectName": "project01",
"groupName": "group01",
"assessmentName": "assessment01"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/projects/project01/groups/group01/assessments/assessment01/assessedMachines/amansing_vm1",
"name": "amansing_vm1",
"eTag": "\"010000ef-0000-0000-0000-59b7e53e0000\"",
"type": "Microsoft.Migrate/projects/groups/assessments/assessedMachines",
"properties": {
"groups": [
"/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/projects/projects01/groups/groups01",
"/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/projects/projects01/groups/groups02"
],
"discoveredTimestamp": "2017-09-12T13:17:23.5437337Z",
"createdTimestamp": "2017-09-12T13:17:23.5437337Z",
"updatedTimestamp": "2017-09-12T13:17:23.5437337Z",
"bootType": "BIOS",
"datacenterContainer": "10.184.81.34",
"datacenterManagementServer": "10.240.17.240",
"datacenterMachineId": "vmWare_amansing_vm1",
"datacenterManagementServerId": "vmWare_unqie_01",
"description": "Azure Migration Planner - Collector",
"displayName": "amansing_vm1",
"megabytesOfMemory": 8192,
"numberOfCores": 4,
"operatingSystem": "Microsoft Windows Server 2008 (64-bit)",
"monthlyBandwidthCost": 0,
"monthlyStorageCost": 0,
"disks": {
"scsi0:0": {
"name": "scsi0:0",
"gigabytesProvisioned": 20,
"gigabytesConsumed": 0,
"megabytesPerSecondOfRead": 0,
"megabytesPerSecondOfWrite": 0,
"numberOfReadOperationsPerSecond": 0,
"numberOfWriteOperationsPerSecond": 0,
"monthlyStorageCost": 0,
"recommendedDiskSize": "Standard_S4",
"recommendedDiskType": "Standard",
"gigabytesForRecommendedDiskSize": 32,
"suitability": "Suitable",
"suitabilityExplanation": "NotApplicable"
}
},
"networkAdapters": {
"4000": {
"macAddress": "00:50:56:ba:7f:25",
"ipAddresses": [
"2001:4898:e0:f099:91fd:55f:42de:c130",
"2001:4898:e0:f099:ac11:23c3:e39f:533d",
"fe80::91fd:55f:42de:c130",
"10.184.83.206"
],
"megabytesPerSecondReceived": 0,
"megabytesPerSecondTransmitted": 0,
"monthlyBandwidthCosts": 0,
"netGigabytesTransmittedPerMonth": 0,
"suitability": "Suitable",
"suitabilityExplanation": "NotApplicable"
}
},
"recommendedSize": "Standard_A0",
"numberOfCoresForRecommendedSize": 1,
"megabytesOfMemoryForRecommendedSize": 786,
"monthlyComputeCostForRecommendedSize": 0,
"percentageCoresUtilization": 0.7752173913043479,
"percentageMemoryUtilization": 0.43666666666666665,
"suitability": "ConditionallySuitable",
"suitabilityExplanation": "WindowsServerVersionConditionallySupported"
}
},
{
"id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/projects/project01/groups/group01/assessments/assessment01/assessedMachines/amansing_vm2",
"name": "amansing_vm2",
"eTag": "\"0000918f-0000-0000-0000-59c12ce90000\"",
"type": "Microsoft.Migrate/projects/groups/assessments/assessedMachines",
"properties": {
"groups": [
"/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/projects/projects01/groups/groups01",
"/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/projects/projects01/groups/groups02"
],
"discoveredTimestamp": "2017-09-12T13:17:23.5437337Z",
"createdTimestamp": "2017-09-12T13:17:23.5437337Z",
"updatedTimestamp": "2017-09-12T13:17:23.5437337Z",
"bootType": "BIOS",
"datacenterContainer": "10.184.81.34",
"datacenterManagementServer": "10.240.17.240",
"datacenterMachineId": "vmWare_amansing_vm2",
"datacenterManagementServerId": "vmWare_unique_id",
"description": "Azure Migration Planner - Collector",
"displayName": "amansing_vm2",
"megabytesOfMemory": 8192,
"numberOfCores": 4,
"operatingSystem": "Microsoft Windows Server 2008 (64-bit)",
"monthlyBandwidthCost": 0,
"monthlyStorageCost": 0,
"disks": {
"scsi0:0": {
"name": "scsi0:0",
"gigabytesProvisioned": 20,
"gigabytesConsumed": 0,
"megabytesPerSecondOfRead": 0,
"megabytesPerSecondOfWrite": 0,
"numberOfReadOperationsPerSecond": 0,
"numberOfWriteOperationsPerSecond": 0,
"monthlyStorageCost": 0,
"recommendedDiskSize": "Standard_S4",
"recommendedDiskType": "Standard",
"gigabytesForRecommendedDiskSize": 32,
"suitability": "Suitable",
"suitabilityExplanation": "NotApplicable"
}
},
"networkAdapters": {
"4000": {
"macAddress": "00:50:56:ba:7f:25",
"ipAddresses": [
"2001:4898:e0:f099:91fd:55f:42de:c130",
"2001:4898:e0:f099:ac11:23c3:e39f:533d",
"fe80::91fd:55f:42de:c130",
"10.184.83.206"
],
"megabytesPerSecondReceived": 0,
"megabytesPerSecondTransmitted": 0,
"monthlyBandwidthCosts": 0,
"netGigabytesTransmittedPerMonth": 0,
"suitability": "Suitable",
"suitabilityExplanation": "NotApplicable"
}
},
"recommendedSize": "Standard_A0",
"numberOfCoresForRecommendedSize": 1,
"megabytesOfMemoryForRecommendedSize": 786,
"monthlyComputeCostForRecommendedSize": 0,
"percentageCoresUtilization": 0.7752173913043479,
"percentageMemoryUtilization": 0.43666666666666665,
"suitability": "ConditionallySuitable",
"suitabilityExplanation": "WindowsServerVersionConditionallySupported"
}
}
]
}
},
"401": {},
"404": {},
"500": {},
"503": {}
}
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
{
"parameters": {
"resourceGroupName": "myResourceGroup",
"api-version": "2017-11-11-preview",
"subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b",
"projectName": "project01",
"groupName": "group01",
"assessmentName": "assessment01",
"assessment": {
"eTag": "\"1100637e-0000-0000-0000-59f6ed1f0000\"",
"properties": {
"azureLocation": "WestUs",
"azureOfferCode": "MSAZR0003P",
"azurePricingTier": "Standard",
"azureStorageRedundancy": "LocallyRedundant",
"scalingFactor": 1.2,
"percentile": "Percentile50",
"timeRange": "Day",
"stage": "InProgress",
"currency": "USD",
"azureHybridUseBenefit": "Yes",
"discountPercentage": 100
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/projects/project01/groups/group01/assessments/assessment01",
"name": "assessment01",
"eTag": "\"1100637e-0000-0000-0000-59f6ed1f0000\"",
"type": "Microsoft.Migrate/projects/groups/assessments",
"properties": {
"azureLocation": "WestUs",
"azureOfferCode": "MSAZR0003P",
"azurePricingTier": "Standard",
"azureStorageRedundancy": "LocallyRedundant",
"scalingFactor": 1.2,
"percentile": "Percentile50",
"timeRange": "Day",
"stage": "InProgress",
"currency": "USD",
"azureHybridUseBenefit": "Yes",
"discountPercentage": 100,
"pricesTimestamp": "2017-09-12T13:25:02.6983504Z",
"createdTimestamp": "2017-09-12T13:25:02.6983504Z",
"updatedTimestamp": "2017-09-12T13:45:57.0489951Z",
"monthlyComputeCost": 0,
"monthlyBandwidthCost": 0,
"monthlyStorageCost": 0,
"status": "Invalid",
"numberOfMachines": 4
}
}
},
"201": {
"body": {
"id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/projects/project01/groups/group01/assessments/assessment01",
"name": "assessment01",
"eTag": "\"1100637e-0000-0000-0000-59f6ed1f0000\"",
"type": "Microsoft.Migrate/projects/groups/assessments",
"properties": {
"azureLocation": "WestUs",
"azureOfferCode": "MSAZR0003P",
"azurePricingTier": "Standard",
"azureStorageRedundancy": "LocallyRedundant",
"scalingFactor": 1.2,
"percentile": "Percentile50",
"timeRange": "Day",
"stage": "InProgress",
"currency": "USD",
"azureHybridUseBenefit": "Yes",
"discountPercentage": 100,
"pricesTimestamp": "2017-09-12T13:25:02.6983504Z",
"createdTimestamp": "2017-09-12T13:25:02.6983504Z",
"updatedTimestamp": "2017-09-12T13:45:57.0489951Z",
"monthlyComputeCost": 0,
"monthlyBandwidthCost": 0,
"monthlyStorageCost": 0,
"status": "Invalid",
"numberOfMachines": 4
}
}
},
"401": {},
"400": {},
"500": {},
"503": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"parameters": {
"resourceGroupName": "myResourceGroup",
"api-version": "2017-11-11-preview",
"subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b",
"projectName": "project01",
"groupName": "group01",
"assessmentName": "assessment01"
},
"responses": {
"204": {},
"200": {},
"400": {},
"401": {},
"500": {},
"503": {}
}
}
Loading

0 comments on commit 8252f3e

Please sign in to comment.