Skip to content
Merged
Show file tree
Hide file tree
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 @@ -121,7 +121,7 @@
"tags": [
"Clusters"
],
"operationId": "Clusters_CreateOrUpdate",
"operationId": "Clusters_Create",
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "azure-async-operation"
Expand Down Expand Up @@ -641,7 +641,7 @@
"tags": [
"Configurations"
],
"operationId": "Configurations_CreateOrUpdateCoordinator",
"operationId": "Configurations_UpdateOnCoordinator",
Copy link
Member

Choose a reason for hiding this comment

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

Suggest removing "on":

Suggested change
"operationId": "Configurations_UpdateOnCoordinator",
"operationId": "Configurations_UpdateCoordinator",

"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "azure-async-operation"
Expand Down Expand Up @@ -756,7 +756,7 @@
"tags": [
"Configurations"
],
"operationId": "Configurations_CreateOrUpdateNode",
"operationId": "Configurations_UpdateOnNode",
Copy link
Member

Choose a reason for hiding this comment

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

Suggest removing "on"

Suggested change
"operationId": "Configurations_UpdateOnNode",
"operationId": "Configurations_UpdateNode",

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks for the review, our PM team requested this change since the previous version, "Configurations - Update Node" could cause misunderstanding, it doesn't really update the node, only updates configuration on the node or coordinator.

"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "azure-async-operation"
Expand Down
5 changes: 5 additions & 0 deletions specification/postgresqlhsc/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@ directive:
- suppress: EnumInsteadOfBoolean
from: postgresqlhsc.json
reason: It's been used as boolean since 2019 by internal teams and also private preview customers like Azure Portal and we have no plans to use any values other than true/false.
- suppress: PutInOperationName
where:
- $..paths[($..operationId["Configurations_Update*"])]
from: postgresqlhsc.json
reason: Configurations have preset default values and customers can only update them, they can't create. So we don't need "Create" in operation id.
```

---
Expand Down