Skip to content

Commit

Permalink
Refinement: added x-ms-enum for tags patch operation (Azure#9828)
Browse files Browse the repository at this point in the history
* Bug fixes: skip url encoding for ScopeParameter; add client name for userAssignedIdentities.

* Pretty check fix.

* Move added client name into additionalProperties of userAssignedIdentities.

* Added x-ms-enum property for tag patch operation.

* Set modelAsString to true for TagsPatch Enum operations.
  • Loading branch information
Grayer123 authored and 00Kai0 committed Oct 12, 2020
1 parent 8624cbf commit 9e7dd80
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5928,7 +5928,25 @@
"Replace",
"Merge",
"Delete"
]
],
"x-ms-enum": {
"name": "operation",
"modelAsString": true,
"values": [
{
"value": "Replace",
"description": "The 'replace' option replaces the entire set of existing tags with a new set."
},
{
"value": "Merge",
"description": "The 'merge' option allows adding tags with new names and updating the values of tags with existing names."
},
{
"value": "Delete",
"description": "The 'delete' option allows selectively deleting tags based on given names or name/value pairs."
}
]
}
},
"properties": {
"$ref": "#/definitions/Tags",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5959,7 +5959,25 @@
"Replace",
"Merge",
"Delete"
]
],
"x-ms-enum": {
"name": "operation",
"modelAsString": true,
"values": [
{
"value": "Replace",
"description": "The 'replace' option replaces the entire set of existing tags with a new set."
},
{
"value": "Merge",
"description": "The 'merge' option allows adding tags with new names and updating the values of tags with existing names."
},
{
"value": "Delete",
"description": "The 'delete' option allows selectively deleting tags based on given names or name/value pairs."
}
]
}
},
"properties": {
"$ref": "#/definitions/Tags",
Expand Down

0 comments on commit 9e7dd80

Please sign in to comment.