Skip to content

Commit

Permalink
CodeGen from PR 24150 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Update Error Code to string (#24150)
  • Loading branch information
SDKAuto committed Jun 5, 2023
1 parent f5dce1d commit 4d55e6a
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 0 deletions.
4 changes: 4 additions & 0 deletions schemas/2022-10-01/Microsoft.CostManagement.json
Original file line number Diff line number Diff line change
Expand Up @@ -1391,6 +1391,10 @@
],
"description": "Chart type of the main view in Cost Analysis. Required."
},
"dateRange": {
"type": "string",
"description": "Date range of the current view."
},
"displayName": {
"type": "string",
"description": "User input name of the view. Required."
Expand Down
9 changes: 9 additions & 0 deletions schemas/2023-03-01/Microsoft.CostManagement.json
Original file line number Diff line number Diff line change
Expand Up @@ -1391,6 +1391,10 @@
],
"description": "Chart type of the main view in Cost Analysis. Required."
},
"dateRange": {
"type": "string",
"description": "Date range of the current view."
},
"displayName": {
"type": "string",
"description": "User input name of the view. Required."
Expand Down Expand Up @@ -1425,6 +1429,11 @@
],
"description": "Metric to use when displaying costs."
},
"modifiedOn": {
"type": "string",
"format": "date-time",
"description": "Date when the user last modified this view."
},
"pivots": {
"oneOf": [
{
Expand Down
47 changes: 47 additions & 0 deletions schemas/2023-04-01-preview/Microsoft.CostManagement.json
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,21 @@
"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."
},
"identity": {
"oneOf": [
{
"$ref": "#/definitions/SystemAssignedServiceIdentity"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Managed service identity (either system assigned, or none)"
},
"location": {
"type": "string",
"description": "The location of the Export's managed identity. Only required when utilizing managed identity."
},
"name": {
"type": "string",
"description": "Export Name."
Expand Down Expand Up @@ -1735,6 +1750,29 @@
],
"description": "The properties of the schedule."
},
"SystemAssignedServiceIdentity": {
"type": "object",
"properties": {
"type": {
"oneOf": [
{
"type": "string",
"enum": [
"None",
"SystemAssigned"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
"required": [
"type"
],
"description": "Managed service identity (either system assigned, or none)"
},
"SystemData": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -1829,6 +1867,10 @@
],
"description": "Chart type of the main view in Cost Analysis. Required."
},
"dateRange": {
"type": "string",
"description": "Date range of the current view."
},
"displayName": {
"type": "string",
"description": "User input name of the view. Required."
Expand Down Expand Up @@ -1863,6 +1905,11 @@
],
"description": "Metric to use when displaying costs."
},
"modifiedOn": {
"type": "string",
"format": "date-time",
"description": "Date when the user last modified this view."
},
"pivots": {
"oneOf": [
{
Expand Down

0 comments on commit 4d55e6a

Please sign in to comment.