Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Added a new Row for the RsourceUri path for the Recommendations RT
  • Loading branch information
mojayara committed May 28, 2025
commit fe16f4d78a92049ca22d6ccb8d3a084131354722
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{

Check notice on line 1 in specification/advisor/resource-manager/Microsoft.Advisor/preview/2025-05-01-preview/advisor.json

View workflow job for this annotation

GitHub Actions / TypeSpec Requirement

Brownfield services will soon be required to convert from OpenAPI to TypeSpec. See https://aka.ms/azsdk/typespec.

Check failure on line 1 in specification/advisor/resource-manager/Microsoft.Advisor/preview/2025-05-01-preview/advisor.json

View check run for this annotation

Azure Pipelines / Swagger PrettierCheck

specification/advisor/resource-manager/Microsoft.Advisor/preview/2025-05-01-preview/advisor.json#L1

specification/advisor/resource-manager/Microsoft.Advisor/preview/2025-05-01-preview/advisor.json(1,1): error : Code style issues found, please run prettier. > npm install > npx prettier --write specification/advisor/resource-manager/Microsoft.Advisor/preview/2025-05-01-preview/advisor.json
"swagger": "2.0",
"info": {
"version": "2025-05-01-preview",
Expand Down Expand Up @@ -460,15 +460,74 @@
"nextLinkName": "nextLink"
},
"x-ms-examples": {
"ListRecommendationsSubscriptionResourceUri": {
"$ref": "./examples/ListRecommendationsSubscriptionResourceUri.json"
},
"ListRecommendationsServiceGroupResourceUri": {
"$ref": "./examples/ListRecommendationsServiceGroupResourceUri.json"
}
}
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.Advisor/recommendations": {
"get": {
"tags": [
"GetRecommendations"
],
"description": "Obtains cached recommendations for a subscription. The recommendations are generated or computed by invoking generateRecommendations.",
"operationId": "Recommendations_List",
"parameters": [
{
"$ref": "#/parameters/resourceUriParameter"
},
{
"$ref": "#/parameters/apiVersionParameter"
},
{
"name": "$filter",
"in": "query",
"description": "The filter to apply to the recommendations.<br>Filter can be applied to properties ['ResourceId', 'ResourceGroup', 'RecommendationTypeGuid', '[Category](#category)'] with operators ['eq', 'and', 'or'].<br>Example:<br>- $filter=Category eq 'Cost' and ResourceGroup eq 'MyResourceGroup'",
"required": false,
"type": "string"
},
{
"name": "$top",
"in": "query",
"description": "The number of recommendations per page if a paged version of this API is being used.",
"required": false,
"type": "integer",
"format": "int32"
},
{
"name": "$skipToken",
"in": "query",
"description": "The page-continuation token to use with a paged version of this API.",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "OK. Successfully obtained cached recommendations.",
"schema": {
"$ref": "#/definitions/ResourceRecommendationBaseListResult"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ArmErrorResponse"
}
}
},
"deprecated": false,
"x-ms-pageable": {
"nextLinkName": "nextLink"
},
"x-ms-examples": {
"ListRecommendationsSubscriptionResourceUri": {
"$ref": "./examples/ListRecommendationsSubscriptionResourceUri.json"
}
}
}
},
"/providers/Microsoft.Advisor/operations": {
"get": {
"tags": [
Expand Down
Loading