@@ -32,7 +32,7 @@ Content-Type: application/json
32
32
User-Agent: kcc/${kccVersion} (+https://github.com/GoogleCloudPlatform/k8s-config-connector) kcc/controller-manager/${kccVersion}
33
33
34
34
{
35
- "databaseVersion": "POSTGRES_13 ",
35
+ "databaseVersion": "POSTGRES_9_6 ",
36
36
"instanceType": "CLOUD_SQL_INSTANCE",
37
37
"kind": "sql#instance",
38
38
"name": "test-${uniqueId}",
@@ -152,35 +152,32 @@ X-Xss-Protection: 0
152
152
"backendType": "SECOND_GEN",
153
153
"connectionName": "${projectId}:europe-west3:test-${uniqueId}",
154
154
"createTime": "2024-04-01T12:34:56.123456Z",
155
- "databaseInstalledVersion": "POSTGRES_13_20 ",
156
- "databaseVersion": "POSTGRES_13 ",
155
+ "databaseInstalledVersion": "POSTGRES_9_6 ",
156
+ "databaseVersion": "POSTGRES_9_6 ",
157
157
"etag": "abcdef0123A=",
158
- "failoverReplica": {
159
- "available": true
160
- },
161
158
"gceZone": "us-central1-a",
162
159
"geminiConfig": {
163
160
"activeQueryEnabled": false,
164
161
"entitled": false,
165
162
"googleVacuumMgmtEnabled": false,
166
163
"indexAdvisorEnabled": false,
167
- "oomSessionCancelEnabled": true
164
+ "oomSessionCancelEnabled": false
168
165
},
169
- "includeReplicasForMajorVersionUpgrade": false,
170
166
"instanceType": "CLOUD_SQL_INSTANCE",
171
167
"ipAddresses": [
172
168
{
173
169
"ipAddress": "10.1.2.3",
174
170
"type": "PRIMARY"
171
+ },
172
+ {
173
+ "ipAddress": "10.1.2.3",
174
+ "type": "OUTGOING"
175
175
}
176
176
],
177
177
"kind": "sql#instance",
178
- "maintenanceVersion": "POSTGRES_13_20.R20250302.00_04",
179
178
"name": "test-${uniqueId}",
180
179
"project": "${projectId}",
181
180
"region": "europe-west3",
182
- "satisfiesPzi": true,
183
- "secondaryGceZone": "europe-west3-a",
184
181
"selfLink": "https://sqladmin.googleapis.com/sql/v1beta4/projects/${projectId}/instances/test-${uniqueId}",
185
182
"serverCaCert": {
186
183
"cert": "-----BEGIN CERTIFICATE-----\n-----END CERTIFICATE-----\n",
@@ -205,10 +202,10 @@ X-Xss-Protection: 0
205
202
"enabled": true,
206
203
"kind": "sql#backupConfiguration",
207
204
"pointInTimeRecoveryEnabled": true,
208
- "replicationLogArchivingEnabled": true ,
205
+ "replicationLogArchivingEnabled": false ,
209
206
"startTime": "12:00",
210
207
"transactionLogRetentionDays": 7,
211
- "transactionalLogStorageState": "CLOUD_STORAGE "
208
+ "transactionalLogStorageState": "TRANSACTIONAL_LOG_STORAGE_STATE_UNSPECIFIED "
212
209
},
213
210
"connectorEnforcement": "NOT_REQUIRED",
214
211
"dataDiskSizeGb": "10",
@@ -233,10 +230,9 @@ X-Xss-Protection: 0
233
230
"kind": "sql#settings",
234
231
"locationPreference": {
235
232
"kind": "sql#locationPreference",
236
- "zone": "europe-west3-b "
233
+ "zone": "europe-west3-a "
237
234
},
238
235
"pricingPlan": "PER_USE",
239
- "replicationLagMaxSeconds": 31536000,
240
236
"replicationType": "SYNCHRONOUS",
241
237
"settingsVersion": "123",
242
238
"storageAutoResize": true,
@@ -248,29 +244,7 @@ X-Xss-Protection: 0
248
244
}
249
245
},
250
246
"sqlNetworkArchitecture": "NEW_NETWORK_ARCHITECTURE",
251
- "state": "RUNNABLE",
252
- "upgradableDatabaseVersions": [
253
- {
254
- "displayName": "PostgreSQL 14",
255
- "majorVersion": "POSTGRES_14",
256
- "name": "POSTGRES_14"
257
- },
258
- {
259
- "displayName": "PostgreSQL 15",
260
- "majorVersion": "POSTGRES_15",
261
- "name": "POSTGRES_15"
262
- },
263
- {
264
- "displayName": "PostgreSQL 16",
265
- "majorVersion": "POSTGRES_16",
266
- "name": "POSTGRES_16"
267
- },
268
- {
269
- "displayName": "PostgreSQL 17",
270
- "majorVersion": "POSTGRES_17",
271
- "name": "POSTGRES_17"
272
- }
273
- ]
247
+ "state": "RUNNABLE"
274
248
}
275
249
276
250
---
@@ -321,35 +295,32 @@ X-Xss-Protection: 0
321
295
"backendType": "SECOND_GEN",
322
296
"connectionName": "${projectId}:europe-west3:test-${uniqueId}",
323
297
"createTime": "2024-04-01T12:34:56.123456Z",
324
- "databaseInstalledVersion": "POSTGRES_13_20 ",
325
- "databaseVersion": "POSTGRES_13 ",
298
+ "databaseInstalledVersion": "POSTGRES_9_6 ",
299
+ "databaseVersion": "POSTGRES_9_6 ",
326
300
"etag": "abcdef0123A=",
327
- "failoverReplica": {
328
- "available": true
329
- },
330
301
"gceZone": "us-central1-a",
331
302
"geminiConfig": {
332
303
"activeQueryEnabled": false,
333
304
"entitled": false,
334
305
"googleVacuumMgmtEnabled": false,
335
306
"indexAdvisorEnabled": false,
336
- "oomSessionCancelEnabled": true
307
+ "oomSessionCancelEnabled": false
337
308
},
338
- "includeReplicasForMajorVersionUpgrade": false,
339
309
"instanceType": "CLOUD_SQL_INSTANCE",
340
310
"ipAddresses": [
341
311
{
342
312
"ipAddress": "10.1.2.3",
343
313
"type": "PRIMARY"
314
+ },
315
+ {
316
+ "ipAddress": "10.1.2.3",
317
+ "type": "OUTGOING"
344
318
}
345
319
],
346
320
"kind": "sql#instance",
347
- "maintenanceVersion": "POSTGRES_13_20.R20250302.00_04",
348
321
"name": "test-${uniqueId}",
349
322
"project": "${projectId}",
350
323
"region": "europe-west3",
351
- "satisfiesPzi": true,
352
- "secondaryGceZone": "europe-west3-a",
353
324
"selfLink": "https://sqladmin.googleapis.com/sql/v1beta4/projects/${projectId}/instances/test-${uniqueId}",
354
325
"serverCaCert": {
355
326
"cert": "-----BEGIN CERTIFICATE-----\n-----END CERTIFICATE-----\n",
@@ -374,10 +345,10 @@ X-Xss-Protection: 0
374
345
"enabled": true,
375
346
"kind": "sql#backupConfiguration",
376
347
"pointInTimeRecoveryEnabled": true,
377
- "replicationLogArchivingEnabled": true ,
348
+ "replicationLogArchivingEnabled": false ,
378
349
"startTime": "12:00",
379
350
"transactionLogRetentionDays": 7,
380
- "transactionalLogStorageState": "CLOUD_STORAGE "
351
+ "transactionalLogStorageState": "TRANSACTIONAL_LOG_STORAGE_STATE_UNSPECIFIED "
381
352
},
382
353
"connectorEnforcement": "NOT_REQUIRED",
383
354
"dataDiskSizeGb": "10",
@@ -402,10 +373,9 @@ X-Xss-Protection: 0
402
373
"kind": "sql#settings",
403
374
"locationPreference": {
404
375
"kind": "sql#locationPreference",
405
- "zone": "europe-west3-b "
376
+ "zone": "europe-west3-a "
406
377
},
407
378
"pricingPlan": "PER_USE",
408
- "replicationLagMaxSeconds": 31536000,
409
379
"replicationType": "SYNCHRONOUS",
410
380
"settingsVersion": "123",
411
381
"storageAutoResize": true,
@@ -417,29 +387,7 @@ X-Xss-Protection: 0
417
387
}
418
388
},
419
389
"sqlNetworkArchitecture": "NEW_NETWORK_ARCHITECTURE",
420
- "state": "RUNNABLE",
421
- "upgradableDatabaseVersions": [
422
- {
423
- "displayName": "PostgreSQL 14",
424
- "majorVersion": "POSTGRES_14",
425
- "name": "POSTGRES_14"
426
- },
427
- {
428
- "displayName": "PostgreSQL 15",
429
- "majorVersion": "POSTGRES_15",
430
- "name": "POSTGRES_15"
431
- },
432
- {
433
- "displayName": "PostgreSQL 16",
434
- "majorVersion": "POSTGRES_16",
435
- "name": "POSTGRES_16"
436
- },
437
- {
438
- "displayName": "PostgreSQL 17",
439
- "majorVersion": "POSTGRES_17",
440
- "name": "POSTGRES_17"
441
- }
442
- ]
390
+ "state": "RUNNABLE"
443
391
}
444
392
445
393
---
0 commit comments