Skip to content

Commit

Permalink
[Hub Generated] Review request for Microsoft.CostManagement to add ve…
Browse files Browse the repository at this point in the history
…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
thramu authored Sep 15, 2022
1 parent 54851dc commit b749953
Show file tree
Hide file tree
Showing 91 changed files with 9,726 additions and 3 deletions.
1 change: 1 addition & 0 deletions custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2731,3 +2731,4 @@ autogrid
KubeProxyConfig
IPVS
TCPFIN
taginheritance
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."
}
}
}
Loading

0 comments on commit b749953

Please sign in to comment.