Skip to content

Commit 08d139c

Browse files
authored
Update LRO final state via operation and change integer format for Cosmos DB for PostgreSQL (#23876)
* Change LRO operation final-state-via to location * Remove integer format * Add integer format int32 * Revert final-state-via LRO option for put requests * Update final-state-via to azure-async-operation
1 parent 7b9aa4c commit 08d139c

File tree

1 file changed

+13
-13
lines changed
  • specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08

1 file changed

+13
-13
lines changed

specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/postgresqlhsc.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@
292292
"operationId": "Clusters_Update",
293293
"x-ms-long-running-operation": true,
294294
"x-ms-long-running-operation-options": {
295-
"final-state-via": "azure-async-operation"
295+
"final-state-via": "location"
296296
},
297297
"x-ms-examples": {
298298
"Update multiple configuration settings of the cluster": {
@@ -1872,12 +1872,12 @@
18721872
},
18731873
"storageQuotaInMb": {
18741874
"type": "integer",
1875-
"format": "int64",
1875+
"format": "int32",
18761876
"description": "The storage of a server in MB."
18771877
},
18781878
"vCores": {
18791879
"type": "integer",
1880-
"format": "int64",
1880+
"format": "int32",
18811881
"description": "The vCores count of a server."
18821882
},
18831883
"enableHa": {
@@ -2045,12 +2045,12 @@
20452045
},
20462046
"coordinatorStorageQuotaInMb": {
20472047
"type": "integer",
2048-
"format": "int64",
2048+
"format": "int32",
20492049
"description": "The storage of the coordinator in MB."
20502050
},
20512051
"coordinatorVCores": {
20522052
"type": "integer",
2053-
"format": "int64",
2053+
"format": "int32",
20542054
"description": "The vCores count of the coordinator (max: 96)."
20552055
},
20562056
"coordinatorEnablePublicIpAccess": {
@@ -2063,17 +2063,17 @@
20632063
},
20642064
"nodeCount": {
20652065
"type": "integer",
2066-
"format": "int64",
2066+
"format": "int32",
20672067
"description": "Worker node count of the cluster. When node count is 0, it represents a single node configuration with the ability to create distributed tables on that node. 2 or more worker nodes represent multi-node configuration. Node count value cannot be 1."
20682068
},
20692069
"nodeStorageQuotaInMb": {
20702070
"type": "integer",
2071-
"format": "int64",
2071+
"format": "int32",
20722072
"description": "The storage in MB on each worker node."
20732073
},
20742074
"nodeVCores": {
20752075
"type": "integer",
2076-
"format": "int64",
2076+
"format": "int32",
20772077
"description": "The compute in vCores on each worker node (max: 104)."
20782078
},
20792079
"nodeEnablePublicIpAccess": {
@@ -2180,12 +2180,12 @@
21802180
},
21812181
"coordinatorStorageQuotaInMb": {
21822182
"type": "integer",
2183-
"format": "int64",
2183+
"format": "int32",
21842184
"description": "The storage of a server in MB. Required for creation. See https://learn.microsoft.com/azure/cosmos-db/postgresql/resources-compute for more information."
21852185
},
21862186
"coordinatorVCores": {
21872187
"type": "integer",
2188-
"format": "int64",
2188+
"format": "int32",
21892189
"description": "The vCores count of a server (max: 96). Required for creation. See https://learn.microsoft.com/azure/cosmos-db/postgresql/resources-compute for more information."
21902190
},
21912191
"coordinatorEnablePublicIpAccess": {
@@ -2198,17 +2198,17 @@
21982198
},
21992199
"nodeCount": {
22002200
"type": "integer",
2201-
"format": "int64",
2201+
"format": "int32",
22022202
"description": "Worker node count of the cluster. When node count is 0, it represents a single node configuration with the ability to create distributed tables on that node. 2 or more worker nodes represent multi-node configuration. Node count value cannot be 1. Required for creation."
22032203
},
22042204
"nodeStorageQuotaInMb": {
22052205
"type": "integer",
2206-
"format": "int64",
2206+
"format": "int32",
22072207
"description": "The storage in MB on each worker node. See https://learn.microsoft.com/azure/cosmos-db/postgresql/resources-compute for more information."
22082208
},
22092209
"nodeVCores": {
22102210
"type": "integer",
2211-
"format": "int64",
2211+
"format": "int32",
22122212
"description": "The compute in vCores on each worker node (max: 104). See https://learn.microsoft.com/azure/cosmos-db/postgresql/resources-compute for more information."
22132213
},
22142214
"nodeEnablePublicIpAccess": {

0 commit comments

Comments
 (0)