-
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.
[Hub Generated] Review request for Microsoft.CostManagement to add ve…
…rsion preview/2022-10-01-preview (#20685) * Adds base for updating Microsoft.CostManagement from version preview/2022-08-01-preview to version 2022-10-01-preview * Updates readme * Updates API version in new specs and examples * Adding New Settings API to Cost Management RP. * Updating the configurations * Adding taginheritance to custom words * Adding 200 response for update * removing x-ms-client-flatten = true * Implementing Discriminator Pattern for the settingType * MISC * Description updated * MISC * FIx Model Validations due to descriminator * Remove readonly property * Revert the readonly property * Adding Kind as discriminator property * MISC * MISC
- Loading branch information
Showing
91 changed files
with
9,726 additions
and
3 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -2731,3 +2731,4 @@ autogrid | |
KubeProxyConfig | ||
IPVS | ||
TCPFIN | ||
taginheritance |
71 changes: 71 additions & 0 deletions
71
...nt/resource-manager/Microsoft.CostManagement/preview/2022-10-01-preview/common-types.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,71 @@ | ||
{ | ||
"swagger": "2.0", | ||
"info": { | ||
"version": "2021-10-01", | ||
"title": "Cost Management common types" | ||
}, | ||
"paths": {}, | ||
"definitions": { | ||
"ErrorResponse": { | ||
"description": "Error response indicates that the service is not able to process the incoming request. The reason is provided in the error message. \n\nSome Error responses: \n\n * 429 TooManyRequests - Request is throttled. Retry after waiting for the time specified in the \"x-ms-ratelimit-microsoft.consumption-retry-after\" header. \n\n * 503 ServiceUnavailable - Service is temporarily unavailable. Retry after waiting for the time specified in the \"Retry-After\" header.", | ||
"type": "object", | ||
"properties": { | ||
"error": { | ||
"description": "The details of the error.", | ||
"$ref": "#/definitions/ErrorDetails" | ||
} | ||
} | ||
}, | ||
"ErrorDetails": { | ||
"description": "The details of the error.", | ||
"type": "object", | ||
"properties": { | ||
"code": { | ||
"description": "Error code.", | ||
"type": "string", | ||
"readOnly": true | ||
}, | ||
"message": { | ||
"description": "Error message indicating why the operation failed.", | ||
"type": "string", | ||
"readOnly": true | ||
} | ||
} | ||
}, | ||
"ProxyResource": { | ||
"description": "The Resource model definition.", | ||
"type": "object", | ||
"properties": { | ||
"id": { | ||
"readOnly": true, | ||
"type": "string", | ||
"description": "Resource Id." | ||
}, | ||
"name": { | ||
"readOnly": true, | ||
"type": "string", | ||
"description": "Resource name." | ||
}, | ||
"type": { | ||
"readOnly": true, | ||
"type": "string", | ||
"description": "Resource type." | ||
}, | ||
"eTag": { | ||
"type": "string", | ||
"description": "eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not." | ||
} | ||
}, | ||
"x-ms-azure-resource": true | ||
} | ||
}, | ||
"parameters": { | ||
"apiVersionParameter": { | ||
"name": "api-version", | ||
"in": "query", | ||
"required": true, | ||
"type": "string", | ||
"description": "Version of the API to be used with the client request." | ||
} | ||
} | ||
} |
Oops, something went wrong.