-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Review request for Microsoft.Migrate/AssessmentProjects to add versio…
…n preview/2024-01-01-preview (#31890) * Base commit * Added changes to json & updated examples
- Loading branch information
1 parent
7a3f210
commit c540a6e
Showing
132 changed files
with
47,438 additions
and
1 deletion.
There are no files selected for viewing
146 changes: 146 additions & 0 deletions
146
...ts/preview/2024-01-01-preview/examples/AksAssessmentOperations_Create_MaximumSet_Gen.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
...ts/preview/2024-01-01-preview/examples/AksAssessmentOperations_Delete_MaximumSet_Gen.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": {} | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
...eview/2024-01-01-preview/examples/AksAssessmentOperations_DownloadUrl_MaximumSet_Gen.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} |
65 changes: 65 additions & 0 deletions
65
...jects/preview/2024-01-01-preview/examples/AksAssessmentOperations_Get_MaximumSet_Gen.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} | ||
} |
73 changes: 73 additions & 0 deletions
73
...1-01-preview/examples/AksAssessmentOperations_ListByAssessmentProject_MaximumSet_Gen.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} |
54 changes: 54 additions & 0 deletions
54
...Projects/preview/2024-01-01-preview/examples/AksClusterOperations_Get_MaximumSet_Gen.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.