You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[PostgreSQL] Fix S360 violations for postgresql flexible servers api version 2022-12-01 (#24062)
* Fix S360 - Allow sourceServerResourceId as one of the field allowed to be part of read operation, as this field is returned for replica servers
* Allow tenantId to be passed and returned for identity
* Update tenantId as read only property
* Fix S360 for replicaCapacity returned only in response but not set in PUT. Add missing sourceServerResourceId in response for replica operation
* Fix S360 breaking change in new version 2023-03-01-preview
Copy file name to clipboardExpand all lines: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-01-preview/FlexibleServers.json
Copy file name to clipboardExpand all lines: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-12-01/FlexibleServers.json
+11-4Lines changed: 11 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -484,9 +484,10 @@
484
484
}
485
485
]
486
486
},
487
-
"description": "The source server resource ID to restore from. It's required when 'createMode' is 'PointInTimeRestore' or 'GeoRestore' or 'Replica'.",
487
+
"description": "The source server resource ID to restore from. It's required when 'createMode' is 'PointInTimeRestore' or 'GeoRestore' or 'Replica'. This property is returned only for Replica server",
488
488
"x-ms-mutability": [
489
-
"create"
489
+
"create",
490
+
"read"
490
491
]
491
492
},
492
493
"pointInTimeUTC": {
@@ -513,7 +514,8 @@
513
514
"replicaCapacity": {
514
515
"type": "integer",
515
516
"format": "int32",
516
-
"description": "Replicas allowed for a server."
517
+
"description": "Replicas allowed for a server.",
518
+
"readOnly": true
517
519
},
518
520
"createMode": {
519
521
"type": "string",
@@ -816,7 +818,7 @@
816
818
},
817
819
"type": {
818
820
"type": "string",
819
-
"description": "the types of identities associated with this resource; currently restricted to 'SystemAssigned and UserAssigned'",
821
+
"description": "the types of identities associated with this resource; currently restricted to 'None and UserAssigned'",
Copy file name to clipboardExpand all lines: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-12-01/examples/ServerCreateReplica.json
0 commit comments