Skip to content
Closed
Changes from all commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -573,6 +573,17 @@
"enum": [
"resourceType eq 'Microsoft.KeyVault/vaults'"
],
"x-ms-enum": {
"name": "VaultListFilterTypes",
"modelAsString": false,
"values": [
{
"value": "resourceType eq 'Microsoft.KeyVault/vaults'",
"description": "Keyvault resource type",
"name": "ResourceTypeKeyVault"
}
]
},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should also use the "values" property to give this a better friendly name for code generation. Same as the ResourceManagerApiVersions enum below. For date-based versions we prefer "V2025_11_01". For this expression...I'm not sure. Feel free to come up with something.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated

"description": "The filter to apply on the operation."
},
{
Expand All @@ -591,6 +602,17 @@
"enum": [
"2015-11-01"
],
"x-ms-enum": {
"name": "ResourceManagerApiVersions",
"modelAsString": false,
"values": [
{
"value": "2015-11-01",
"description": "Api version",
"name": "V2015_11_01"
}
]
},
"description": "Azure Resource Manager Api Version."
},
{
Expand Down