Skip to content

Commit

Permalink
Review request for Microsoft.Migrate/AssessmentProjects to add versio…
Browse files Browse the repository at this point in the history
…n preview/2024-01-01-preview (#31890)

* Base commit

* Added changes to json & updated examples
  • Loading branch information
srilipta-swain authored Jan 28, 2025
1 parent 7a3f210 commit c540a6e
Show file tree
Hide file tree
Showing 132 changed files with 47,438 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
{
"title": "AksAssessmentOperations_Create",
"operationId": "AksAssessmentOperations_Create",
"parameters": {
"api-version": "2024-01-01-preview",
"subscriptionId": "D6F60DF4-CE70-4E39-8217-B8FBE7CA85AA",
"resourceGroupName": "rgaksswagger",
"projectName": "testproject",
"assessmentName": "testaksassessment",
"resource": {
"properties": {
"settings": {
"category": "All",
"savingsOptions": "None",
"consolidation": "Full",
"pricingTier": "Standard",
"azureLocation": "Unknown",
"environmentType": "Unknown",
"licensingProgram": "Default",
"currency": "Unknown",
"discountPercentage": 15,
"sizingCriteria": "PerformanceBased",
"performanceData": {
"timeRange": "Day",
"perfDataStartTime": "2023-11-07T06:51:24.320Z",
"perfDataEndTime": "2023-11-07T06:51:24.320Z",
"percentile": "Percentile50"
},
"scalingFactor": 3
},
"scope": {
"serverGroupId": "/subscriptions/D6F60DF4-CE70-4E39-8217-B8FBE7CA85AA/resourceGroups/rgaksswagger/providers/Microsoft.Migrate/assessmentProjects/testproject/groups/testgrp"
}
}
}
},
"responses": {
"200": {
"body": {
"properties": {
"settings": {
"category": "All",
"savingsOptions": "None",
"consolidation": "Full",
"pricingTier": "Standard",
"azureLocation": "Unknown",
"environmentType": "Unknown",
"licensingProgram": "Default",
"currency": "Unknown",
"discountPercentage": 15,
"sizingCriteria": "PerformanceBased",
"performanceData": {
"timeRange": "Day",
"perfDataStartTime": "2023-11-07T06:51:24.320Z",
"perfDataEndTime": "2023-11-07T06:51:24.320Z",
"percentile": "Percentile50"
},
"scalingFactor": 3
},
"details": {
"webAppCount": 25,
"webServerCount": 29,
"machineCount": 15,
"totalMonthlyCost": 1,
"pricesTimestamp": "2023-11-07T06:51:24.320Z",
"confidenceRatingInPercentage": 1,
"createdTimestamp": "2023-11-07T06:51:24.320Z",
"updatedTimestamp": "2023-11-07T06:51:24.320Z",
"status": "Created"
},
"scope": {
"serverGroupId": "/subscriptions/D6F60DF4-CE70-4E39-8217-B8FBE7CA85AA/resourceGroups/rgaksswagger/providers/Microsoft.Migrate/assessmentProjects/testproject/groups/testgrp"
},
"provisioningState": "Unknown"
},
"eTag": "00000000-0000-0000-a616-12d4724c01d9",
"id": "/subscriptions/D6F60DF4-CE70-4E39-8217-B8FBE7CA85AA/resourceGroups/rgaksswagger/providers/Microsoft.Migrate/assessmentProjects/testproject/aksAssessments/testaksassessment",
"name": "testaksassessment",
"type": "AKSAssessment",
"systemData": {
"createdBy": "User",
"createdByType": "User",
"createdAt": "2023-11-07T06:51:24.108Z",
"lastModifiedBy": "User",
"lastModifiedByType": "User",
"lastModifiedAt": "2023-11-07T06:51:24.108Z"
}
}
},
"201": {
"headers": {
"Azure-AsyncOperation": "https://contoso.com/operationstatus"
},
"body": {
"properties": {
"settings": {
"category": "All",
"savingsOptions": "None",
"consolidation": "Full",
"pricingTier": "Standard",
"azureLocation": "Unknown",
"environmentType": "Unknown",
"licensingProgram": "Default",
"currency": "Unknown",
"discountPercentage": 15,
"sizingCriteria": "PerformanceBased",
"performanceData": {
"timeRange": "Day",
"perfDataStartTime": "2023-11-07T06:51:24.320Z",
"perfDataEndTime": "2023-11-07T06:51:24.320Z",
"percentile": "Percentile50"
},
"scalingFactor": 3
},
"details": {
"webAppCount": 25,
"webServerCount": 29,
"machineCount": 15,
"totalMonthlyCost": 1,
"pricesTimestamp": "2023-11-07T06:51:24.320Z",
"confidenceRatingInPercentage": 1,
"createdTimestamp": "2023-11-07T06:51:24.320Z",
"updatedTimestamp": "2023-11-07T06:51:24.320Z",
"status": "Created"
},
"scope": {
"serverGroupId": "/subscriptions/D6F60DF4-CE70-4E39-8217-B8FBE7CA85AA/resourceGroups/rgaksswagger/providers/Microsoft.Migrate/assessmentProjects/testproject/groups/testgrp"
},
"provisioningState": "Unknown"
},
"eTag": "00000000-0000-0000-a616-12d4724c01d9",
"id": "/subscriptions/D6F60DF4-CE70-4E39-8217-B8FBE7CA85AA/resourceGroups/rgaksswagger/providers/Microsoft.Migrate/assessmentProjects/testproject/aksAssessments/testaksassessment",
"name": "testaksassessment",
"type": "AKSAssessment",
"systemData": {
"createdBy": "User",
"createdByType": "User",
"createdAt": "2023-11-07T06:51:24.108Z",
"lastModifiedBy": "User",
"lastModifiedByType": "User",
"lastModifiedAt": "2023-11-07T06:51:24.108Z"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"title": "AksAssessmentOperations_Delete",
"operationId": "AksAssessmentOperations_Delete",
"parameters": {
"api-version": "2024-01-01-preview",
"subscriptionId": "D6F60DF4-CE70-4E39-8217-B8FBE7CA85AA",
"resourceGroupName": "rgaksswagger",
"projectName": "testproject",
"assessmentName": "testaksassessment"
},
"responses": {
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"title": "AksAssessmentOperations_DownloadUrl",
"operationId": "AksAssessmentOperations_DownloadUrl",
"parameters": {
"api-version": "2024-01-01-preview",
"subscriptionId": "D6F60DF4-CE70-4E39-8217-B8FBE7CA85AA",
"resourceGroupName": "rgaksswagger",
"projectName": "testproject",
"assessmentName": "testaksassessment",
"body": {}
},
"responses": {
"200": {
"body": {
"assessmentReportUrl": "vthjjfdenyh",
"expirationTime": "2023-11-07T06:51:25.205Z"
}
},
"202": {
"headers": {
"location": "https://contoso.com/operationstatus"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
{
"title": "AksAssessmentOperations_Get",
"operationId": "AksAssessmentOperations_Get",
"parameters": {
"api-version": "2024-01-01-preview",
"subscriptionId": "D6F60DF4-CE70-4E39-8217-B8FBE7CA85AA",
"resourceGroupName": "rgaksswagger",
"projectName": "testproject",
"assessmentName": "testaksassessment"
},
"responses": {
"200": {
"body": {
"properties": {
"settings": {
"category": "All",
"savingsOptions": "None",
"consolidation": "Full",
"pricingTier": "Standard",
"azureLocation": "Unknown",
"environmentType": "Unknown",
"licensingProgram": "Default",
"currency": "Unknown",
"discountPercentage": 15,
"sizingCriteria": "PerformanceBased",
"performanceData": {
"timeRange": "Day",
"perfDataStartTime": "2023-11-07T06:51:24.320Z",
"perfDataEndTime": "2023-11-07T06:51:24.320Z",
"percentile": "Percentile50"
},
"scalingFactor": 3
},
"details": {
"webAppCount": 25,
"webServerCount": 29,
"machineCount": 15,
"totalMonthlyCost": 1,
"pricesTimestamp": "2023-11-07T06:51:24.320Z",
"confidenceRatingInPercentage": 1,
"createdTimestamp": "2023-11-07T06:51:24.320Z",
"updatedTimestamp": "2023-11-07T06:51:24.320Z",
"status": "Created"
},
"scope": {
"serverGroupId": "/subscriptions/D6F60DF4-CE70-4E39-8217-B8FBE7CA85AA/resourceGroups/rgaksswagger/providers/Microsoft.Migrate/assessmentProjects/testproject/groups/testgrp"
},
"provisioningState": "Unknown"
},
"eTag": "00000000-0000-0000-a616-12d4724c01d9",
"id": "/subscriptions/D6F60DF4-CE70-4E39-8217-B8FBE7CA85AA/resourceGroups/rgaksswagger/providers/Microsoft.Migrate/assessmentProjects/testproject/aksAssessments/testaksassessment",
"name": "testaksassessment",
"type": "AKSAssessment",
"systemData": {
"createdBy": "User",
"createdByType": "User",
"createdAt": "2023-11-07T06:51:24.108Z",
"lastModifiedBy": "User",
"lastModifiedByType": "User",
"lastModifiedAt": "2023-11-07T06:51:24.108Z"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
{
"title": "AksAssessmentOperations_ListByAssessmentProject",
"operationId": "AksAssessmentOperations_ListByAssessmentProject",
"parameters": {
"api-version": "2024-01-01-preview",
"subscriptionId": "D6F60DF4-CE70-4E39-8217-B8FBE7CA85AA",
"resourceGroupName": "rgaksswagger",
"continuationToken": "polt",
"$top": 5,
"$filter": "azekdtdhupdngbqxzdppicwf",
"totalRecordCount": 18,
"projectName": "testproject"
},
"responses": {
"200": {
"body": {
"value": [
{
"properties": {
"settings": {
"category": "All",
"savingsOptions": "None",
"consolidation": "Full",
"pricingTier": "Standard",
"azureLocation": "Unknown",
"environmentType": "Unknown",
"licensingProgram": "Default",
"currency": "Unknown",
"discountPercentage": 15,
"sizingCriteria": "PerformanceBased",
"performanceData": {
"timeRange": "Day",
"perfDataStartTime": "2023-11-07T06:51:24.320Z",
"perfDataEndTime": "2023-11-07T06:51:24.320Z",
"percentile": "Percentile50"
},
"scalingFactor": 3
},
"details": {
"webAppCount": 25,
"webServerCount": 29,
"machineCount": 15,
"totalMonthlyCost": 1,
"pricesTimestamp": "2023-11-07T06:51:24.320Z",
"confidenceRatingInPercentage": 1,
"createdTimestamp": "2023-11-07T06:51:24.320Z",
"updatedTimestamp": "2023-11-07T06:51:24.320Z",
"status": "Created"
},
"scope": {
"serverGroupId": "/subscriptions/D6F60DF4-CE70-4E39-8217-B8FBE7CA85AA/resourceGroups/rgaksswagger/providers/Microsoft.Migrate/assessmentProjects/testproject/groups/testgrp"
},
"provisioningState": "Unknown"
},
"eTag": "00000000-0000-0000-a616-12d4724c01d9",
"id": "/subscriptions/D6F60DF4-CE70-4E39-8217-B8FBE7CA85AA/resourceGroups/rgaksswagger/providers/Microsoft.Migrate/assessmentProjects/testproject/aksAssessments/testaksassessment",
"name": "testaksassessment",
"type": "AKSAssessment",
"systemData": {
"createdBy": "User",
"createdByType": "User",
"createdAt": "2023-11-07T06:51:24.108Z",
"lastModifiedBy": "User",
"lastModifiedByType": "User",
"lastModifiedAt": "2023-11-07T06:51:24.108Z"
}
}
],
"nextLink": "https://microsoft.com/a"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"title": "AksClusterOperations_Get",
"operationId": "AksClusterOperations_Get",
"parameters": {
"api-version": "2024-01-01-preview",
"subscriptionId": "D6F60DF4-CE70-4E39-8217-B8FBE7CA85AA",
"resourceGroupName": "rgaksswagger",
"projectName": "testproject",
"assessmentName": "testaksassessment",
"clusterName": "testaksassessment-cluster"
},
"responses": {
"200": {
"body": {
"properties": {
"name": "testaksassessment-cluster",
"nodePools": [
{
"id": "testaksassessmentCostDetail",
"name": "testaksassessmentCostDetail",
"clusterName": "testaksassessment-cluster",
"mode": "User",
"osType": "Linux",
"armSkuName": "StandardDS_v2",
"nodeCount": 1,
"podCount": 1,
"monthlyCost": 10,
"podApproxMonthlyCost": 10
}
],
"region": "Unknown",
"userNodePoolCount": 0,
"userNodeCount": 6,
"systemNodePoolCount": 16,
"systemNodeCount": 18,
"podCount": 26,
"monthlyCost": 14
},
"eTag": "00000000-0000-0000-a616-12d4724c01d9",
"id": "/subscriptions/D6F60DF4-CE70-4E39-8217-B8FBE7CA85AA/resourceGroups/rgaksswagger/providers/Microsoft.Migrate/assessmentProjects/testproject/aksAssessments/testaksassessment/clusters/testaksassessment-cluster",
"name": "testaksassessment-cluster",
"type": "AKSAssessmentCluster",
"systemData": {
"createdBy": "User",
"createdByType": "User",
"createdAt": "2023-11-07T06:51:24.108Z",
"lastModifiedBy": "User",
"lastModifiedByType": "User",
"lastModifiedAt": "2023-11-07T06:51:24.108Z"
}
}
}
}
}
Loading

0 comments on commit c540a6e

Please sign in to comment.