pulumi-gcp 8.21.0a1741070272__py3-none-any.whl → 8.21.0a1741103856__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. pulumi_gcp/__init__.py +16 -0
  2. pulumi_gcp/alloydb/__init__.py +1 -0
  3. pulumi_gcp/alloydb/get_cluster.py +491 -0
  4. pulumi_gcp/alloydb/outputs.py +808 -0
  5. pulumi_gcp/appengine/_inputs.py +3 -3
  6. pulumi_gcp/appengine/outputs.py +2 -2
  7. pulumi_gcp/backupdisasterrecovery/backup_plan.py +16 -0
  8. pulumi_gcp/backupdisasterrecovery/backup_plan_association.py +16 -0
  9. pulumi_gcp/backupdisasterrecovery/management_server.py +16 -0
  10. pulumi_gcp/bigquery/_inputs.py +6 -8
  11. pulumi_gcp/bigquery/data_transfer_config.py +28 -0
  12. pulumi_gcp/bigquery/outputs.py +4 -5
  13. pulumi_gcp/chronicle/rule_deployment.py +21 -7
  14. pulumi_gcp/composer/get_environment.py +12 -0
  15. pulumi_gcp/composer/get_image_versions.py +12 -0
  16. pulumi_gcp/composer/get_user_workloads_config_map.py +12 -0
  17. pulumi_gcp/composer/get_user_workloads_secret.py +12 -0
  18. pulumi_gcp/compute/network_peering_routes_config.py +140 -6
  19. pulumi_gcp/datacatalog/entry_group.py +4 -0
  20. pulumi_gcp/datacatalog/tag_template.py +4 -0
  21. pulumi_gcp/developerconnect/_inputs.py +575 -0
  22. pulumi_gcp/developerconnect/connection.py +200 -0
  23. pulumi_gcp/developerconnect/git_repository_link.py +12 -0
  24. pulumi_gcp/developerconnect/outputs.py +461 -0
  25. pulumi_gcp/gemini/__init__.py +1 -0
  26. pulumi_gcp/gemini/data_sharing_with_google_setting.py +6 -0
  27. pulumi_gcp/gemini/data_sharing_with_google_setting_binding.py +722 -0
  28. pulumi_gcp/gemini/logging_setting.py +4 -0
  29. pulumi_gcp/gemini/logging_setting_binding.py +12 -0
  30. pulumi_gcp/iam/organizations_policy_binding.py +10 -2
  31. pulumi_gcp/iam/projects_policy_binding.py +10 -2
  32. pulumi_gcp/iam/workforce_pool_provider.py +63 -11
  33. pulumi_gcp/parametermanager/get_parameter_version_render.py +3 -0
  34. pulumi_gcp/parametermanager/get_regional_parameter_version_render.py +3 -0
  35. pulumi_gcp/projects/__init__.py +1 -0
  36. pulumi_gcp/projects/get_ancestry.py +150 -0
  37. pulumi_gcp/projects/outputs.py +30 -0
  38. pulumi_gcp/pulumi-plugin.json +1 -1
  39. pulumi_gcp/redis/cluster.py +211 -94
  40. pulumi_gcp/secretmanager/secret_version.py +73 -23
  41. pulumi_gcp/spanner/__init__.py +1 -0
  42. pulumi_gcp/spanner/instance_partition.py +658 -0
  43. pulumi_gcp/sql/user.py +20 -14
  44. pulumi_gcp/tpu/_inputs.py +150 -1
  45. pulumi_gcp/tpu/outputs.py +114 -1
  46. pulumi_gcp/tpu/v2_queued_resource.py +74 -0
  47. {pulumi_gcp-8.21.0a1741070272.dist-info → pulumi_gcp-8.21.0a1741103856.dist-info}/METADATA +1 -1
  48. {pulumi_gcp-8.21.0a1741070272.dist-info → pulumi_gcp-8.21.0a1741103856.dist-info}/RECORD +50 -46
  49. {pulumi_gcp-8.21.0a1741070272.dist-info → pulumi_gcp-8.21.0a1741103856.dist-info}/WHEEL +0 -0
  50. {pulumi_gcp-8.21.0a1741070272.dist-info → pulumi_gcp-8.21.0a1741103856.dist-info}/top_level.txt +0 -0
@@ -52,6 +52,30 @@ __all__ = [
52
52
  'InstancePscInstanceConfig',
53
53
  'InstanceQueryInsightsConfig',
54
54
  'InstanceReadPoolConfig',
55
+ 'GetClusterAutomatedBackupPolicyResult',
56
+ 'GetClusterAutomatedBackupPolicyEncryptionConfigResult',
57
+ 'GetClusterAutomatedBackupPolicyQuantityBasedRetentionResult',
58
+ 'GetClusterAutomatedBackupPolicyTimeBasedRetentionResult',
59
+ 'GetClusterAutomatedBackupPolicyWeeklyScheduleResult',
60
+ 'GetClusterAutomatedBackupPolicyWeeklyScheduleStartTimeResult',
61
+ 'GetClusterBackupSourceResult',
62
+ 'GetClusterContinuousBackupConfigResult',
63
+ 'GetClusterContinuousBackupConfigEncryptionConfigResult',
64
+ 'GetClusterContinuousBackupInfoResult',
65
+ 'GetClusterContinuousBackupInfoEncryptionInfoResult',
66
+ 'GetClusterEncryptionConfigResult',
67
+ 'GetClusterEncryptionInfoResult',
68
+ 'GetClusterInitialUserResult',
69
+ 'GetClusterMaintenanceUpdatePolicyResult',
70
+ 'GetClusterMaintenanceUpdatePolicyMaintenanceWindowResult',
71
+ 'GetClusterMaintenanceUpdatePolicyMaintenanceWindowStartTimeResult',
72
+ 'GetClusterMigrationSourceResult',
73
+ 'GetClusterNetworkConfigResult',
74
+ 'GetClusterPscConfigResult',
75
+ 'GetClusterRestoreBackupSourceResult',
76
+ 'GetClusterRestoreContinuousBackupSourceResult',
77
+ 'GetClusterSecondaryConfigResult',
78
+ 'GetClusterTrialMetadataResult',
55
79
  'GetInstanceClientConnectionConfigResult',
56
80
  'GetInstanceClientConnectionConfigSslConfigResult',
57
81
  'GetInstanceMachineConfigResult',
@@ -2000,6 +2024,790 @@ class InstanceReadPoolConfig(dict):
2000
2024
  return pulumi.get(self, "node_count")
2001
2025
 
2002
2026
 
2027
+ @pulumi.output_type
2028
+ class GetClusterAutomatedBackupPolicyResult(dict):
2029
+ def __init__(__self__, *,
2030
+ backup_window: str,
2031
+ enabled: bool,
2032
+ encryption_configs: Sequence['outputs.GetClusterAutomatedBackupPolicyEncryptionConfigResult'],
2033
+ labels: Mapping[str, str],
2034
+ location: str,
2035
+ quantity_based_retentions: Sequence['outputs.GetClusterAutomatedBackupPolicyQuantityBasedRetentionResult'],
2036
+ time_based_retentions: Sequence['outputs.GetClusterAutomatedBackupPolicyTimeBasedRetentionResult'],
2037
+ weekly_schedules: Sequence['outputs.GetClusterAutomatedBackupPolicyWeeklyScheduleResult']):
2038
+ """
2039
+ :param str backup_window: The length of the time window during which a backup can be taken. If a backup does not succeed within this time window, it will be canceled and considered failed.
2040
+
2041
+ The backup window must be at least 5 minutes long. There is no upper bound on the window. If not set, it will default to 1 hour.
2042
+
2043
+ A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
2044
+ :param bool enabled: Whether automated backups are enabled.
2045
+ :param Sequence['GetClusterAutomatedBackupPolicyEncryptionConfigArgs'] encryption_configs: EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key).
2046
+ :param Mapping[str, str] labels: Labels to apply to backups created using this configuration.
2047
+ :param str location: (optional)
2048
+ The canonical id of the location.If it is not provided, the provider project is used. For example: us-east1.
2049
+ :param Sequence['GetClusterAutomatedBackupPolicyQuantityBasedRetentionArgs'] quantity_based_retentions: Quantity-based Backup retention policy to retain recent backups. Conflicts with 'time_based_retention', both can't be set together.
2050
+ :param Sequence['GetClusterAutomatedBackupPolicyTimeBasedRetentionArgs'] time_based_retentions: Time-based Backup retention policy. Conflicts with 'quantity_based_retention', both can't be set together.
2051
+ :param Sequence['GetClusterAutomatedBackupPolicyWeeklyScheduleArgs'] weekly_schedules: Weekly schedule for the Backup.
2052
+ """
2053
+ pulumi.set(__self__, "backup_window", backup_window)
2054
+ pulumi.set(__self__, "enabled", enabled)
2055
+ pulumi.set(__self__, "encryption_configs", encryption_configs)
2056
+ pulumi.set(__self__, "labels", labels)
2057
+ pulumi.set(__self__, "location", location)
2058
+ pulumi.set(__self__, "quantity_based_retentions", quantity_based_retentions)
2059
+ pulumi.set(__self__, "time_based_retentions", time_based_retentions)
2060
+ pulumi.set(__self__, "weekly_schedules", weekly_schedules)
2061
+
2062
+ @property
2063
+ @pulumi.getter(name="backupWindow")
2064
+ def backup_window(self) -> str:
2065
+ """
2066
+ The length of the time window during which a backup can be taken. If a backup does not succeed within this time window, it will be canceled and considered failed.
2067
+
2068
+ The backup window must be at least 5 minutes long. There is no upper bound on the window. If not set, it will default to 1 hour.
2069
+
2070
+ A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
2071
+ """
2072
+ return pulumi.get(self, "backup_window")
2073
+
2074
+ @property
2075
+ @pulumi.getter
2076
+ def enabled(self) -> bool:
2077
+ """
2078
+ Whether automated backups are enabled.
2079
+ """
2080
+ return pulumi.get(self, "enabled")
2081
+
2082
+ @property
2083
+ @pulumi.getter(name="encryptionConfigs")
2084
+ def encryption_configs(self) -> Sequence['outputs.GetClusterAutomatedBackupPolicyEncryptionConfigResult']:
2085
+ """
2086
+ EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key).
2087
+ """
2088
+ return pulumi.get(self, "encryption_configs")
2089
+
2090
+ @property
2091
+ @pulumi.getter
2092
+ def labels(self) -> Mapping[str, str]:
2093
+ """
2094
+ Labels to apply to backups created using this configuration.
2095
+ """
2096
+ return pulumi.get(self, "labels")
2097
+
2098
+ @property
2099
+ @pulumi.getter
2100
+ def location(self) -> str:
2101
+ """
2102
+ (optional)
2103
+ The canonical id of the location.If it is not provided, the provider project is used. For example: us-east1.
2104
+ """
2105
+ return pulumi.get(self, "location")
2106
+
2107
+ @property
2108
+ @pulumi.getter(name="quantityBasedRetentions")
2109
+ def quantity_based_retentions(self) -> Sequence['outputs.GetClusterAutomatedBackupPolicyQuantityBasedRetentionResult']:
2110
+ """
2111
+ Quantity-based Backup retention policy to retain recent backups. Conflicts with 'time_based_retention', both can't be set together.
2112
+ """
2113
+ return pulumi.get(self, "quantity_based_retentions")
2114
+
2115
+ @property
2116
+ @pulumi.getter(name="timeBasedRetentions")
2117
+ def time_based_retentions(self) -> Sequence['outputs.GetClusterAutomatedBackupPolicyTimeBasedRetentionResult']:
2118
+ """
2119
+ Time-based Backup retention policy. Conflicts with 'quantity_based_retention', both can't be set together.
2120
+ """
2121
+ return pulumi.get(self, "time_based_retentions")
2122
+
2123
+ @property
2124
+ @pulumi.getter(name="weeklySchedules")
2125
+ def weekly_schedules(self) -> Sequence['outputs.GetClusterAutomatedBackupPolicyWeeklyScheduleResult']:
2126
+ """
2127
+ Weekly schedule for the Backup.
2128
+ """
2129
+ return pulumi.get(self, "weekly_schedules")
2130
+
2131
+
2132
+ @pulumi.output_type
2133
+ class GetClusterAutomatedBackupPolicyEncryptionConfigResult(dict):
2134
+ def __init__(__self__, *,
2135
+ kms_key_name: str):
2136
+ """
2137
+ :param str kms_key_name: The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME].
2138
+ """
2139
+ pulumi.set(__self__, "kms_key_name", kms_key_name)
2140
+
2141
+ @property
2142
+ @pulumi.getter(name="kmsKeyName")
2143
+ def kms_key_name(self) -> str:
2144
+ """
2145
+ The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME].
2146
+ """
2147
+ return pulumi.get(self, "kms_key_name")
2148
+
2149
+
2150
+ @pulumi.output_type
2151
+ class GetClusterAutomatedBackupPolicyQuantityBasedRetentionResult(dict):
2152
+ def __init__(__self__, *,
2153
+ count: int):
2154
+ """
2155
+ :param int count: The number of backups to retain.
2156
+ """
2157
+ pulumi.set(__self__, "count", count)
2158
+
2159
+ @property
2160
+ @pulumi.getter
2161
+ def count(self) -> int:
2162
+ """
2163
+ The number of backups to retain.
2164
+ """
2165
+ return pulumi.get(self, "count")
2166
+
2167
+
2168
+ @pulumi.output_type
2169
+ class GetClusterAutomatedBackupPolicyTimeBasedRetentionResult(dict):
2170
+ def __init__(__self__, *,
2171
+ retention_period: str):
2172
+ """
2173
+ :param str retention_period: The retention period.
2174
+ A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
2175
+ """
2176
+ pulumi.set(__self__, "retention_period", retention_period)
2177
+
2178
+ @property
2179
+ @pulumi.getter(name="retentionPeriod")
2180
+ def retention_period(self) -> str:
2181
+ """
2182
+ The retention period.
2183
+ A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
2184
+ """
2185
+ return pulumi.get(self, "retention_period")
2186
+
2187
+
2188
+ @pulumi.output_type
2189
+ class GetClusterAutomatedBackupPolicyWeeklyScheduleResult(dict):
2190
+ def __init__(__self__, *,
2191
+ days_of_weeks: Sequence[str],
2192
+ start_times: Sequence['outputs.GetClusterAutomatedBackupPolicyWeeklyScheduleStartTimeResult']):
2193
+ """
2194
+ :param Sequence[str] days_of_weeks: The days of the week to perform a backup. At least one day of the week must be provided. Possible values: ["MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY"]
2195
+ :param Sequence['GetClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArgs'] start_times: The times during the day to start a backup. At least one start time must be provided. The start times are assumed to be in UTC and to be an exact hour (e.g., 04:00:00).
2196
+ """
2197
+ pulumi.set(__self__, "days_of_weeks", days_of_weeks)
2198
+ pulumi.set(__self__, "start_times", start_times)
2199
+
2200
+ @property
2201
+ @pulumi.getter(name="daysOfWeeks")
2202
+ def days_of_weeks(self) -> Sequence[str]:
2203
+ """
2204
+ The days of the week to perform a backup. At least one day of the week must be provided. Possible values: ["MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY"]
2205
+ """
2206
+ return pulumi.get(self, "days_of_weeks")
2207
+
2208
+ @property
2209
+ @pulumi.getter(name="startTimes")
2210
+ def start_times(self) -> Sequence['outputs.GetClusterAutomatedBackupPolicyWeeklyScheduleStartTimeResult']:
2211
+ """
2212
+ The times during the day to start a backup. At least one start time must be provided. The start times are assumed to be in UTC and to be an exact hour (e.g., 04:00:00).
2213
+ """
2214
+ return pulumi.get(self, "start_times")
2215
+
2216
+
2217
+ @pulumi.output_type
2218
+ class GetClusterAutomatedBackupPolicyWeeklyScheduleStartTimeResult(dict):
2219
+ def __init__(__self__, *,
2220
+ hours: int,
2221
+ minutes: int,
2222
+ nanos: int,
2223
+ seconds: int):
2224
+ """
2225
+ :param int hours: Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
2226
+ :param int minutes: Minutes of hour of day. Currently, only the value 0 is supported.
2227
+ :param int nanos: Fractions of seconds in nanoseconds. Currently, only the value 0 is supported.
2228
+ :param int seconds: Seconds of minutes of the time. Currently, only the value 0 is supported.
2229
+ """
2230
+ pulumi.set(__self__, "hours", hours)
2231
+ pulumi.set(__self__, "minutes", minutes)
2232
+ pulumi.set(__self__, "nanos", nanos)
2233
+ pulumi.set(__self__, "seconds", seconds)
2234
+
2235
+ @property
2236
+ @pulumi.getter
2237
+ def hours(self) -> int:
2238
+ """
2239
+ Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
2240
+ """
2241
+ return pulumi.get(self, "hours")
2242
+
2243
+ @property
2244
+ @pulumi.getter
2245
+ def minutes(self) -> int:
2246
+ """
2247
+ Minutes of hour of day. Currently, only the value 0 is supported.
2248
+ """
2249
+ return pulumi.get(self, "minutes")
2250
+
2251
+ @property
2252
+ @pulumi.getter
2253
+ def nanos(self) -> int:
2254
+ """
2255
+ Fractions of seconds in nanoseconds. Currently, only the value 0 is supported.
2256
+ """
2257
+ return pulumi.get(self, "nanos")
2258
+
2259
+ @property
2260
+ @pulumi.getter
2261
+ def seconds(self) -> int:
2262
+ """
2263
+ Seconds of minutes of the time. Currently, only the value 0 is supported.
2264
+ """
2265
+ return pulumi.get(self, "seconds")
2266
+
2267
+
2268
+ @pulumi.output_type
2269
+ class GetClusterBackupSourceResult(dict):
2270
+ def __init__(__self__, *,
2271
+ backup_name: str):
2272
+ """
2273
+ :param str backup_name: The name of the backup resource.
2274
+ """
2275
+ pulumi.set(__self__, "backup_name", backup_name)
2276
+
2277
+ @property
2278
+ @pulumi.getter(name="backupName")
2279
+ def backup_name(self) -> str:
2280
+ """
2281
+ The name of the backup resource.
2282
+ """
2283
+ return pulumi.get(self, "backup_name")
2284
+
2285
+
2286
+ @pulumi.output_type
2287
+ class GetClusterContinuousBackupConfigResult(dict):
2288
+ def __init__(__self__, *,
2289
+ enabled: bool,
2290
+ encryption_configs: Sequence['outputs.GetClusterContinuousBackupConfigEncryptionConfigResult'],
2291
+ recovery_window_days: int):
2292
+ """
2293
+ :param bool enabled: Whether continuous backup recovery is enabled. If not set, defaults to true.
2294
+ :param Sequence['GetClusterContinuousBackupConfigEncryptionConfigArgs'] encryption_configs: EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key).
2295
+ :param int recovery_window_days: The numbers of days that are eligible to restore from using PITR. To support the entire recovery window, backups and logs are retained for one day more than the recovery window.
2296
+
2297
+ If not set, defaults to 14 days.
2298
+ """
2299
+ pulumi.set(__self__, "enabled", enabled)
2300
+ pulumi.set(__self__, "encryption_configs", encryption_configs)
2301
+ pulumi.set(__self__, "recovery_window_days", recovery_window_days)
2302
+
2303
+ @property
2304
+ @pulumi.getter
2305
+ def enabled(self) -> bool:
2306
+ """
2307
+ Whether continuous backup recovery is enabled. If not set, defaults to true.
2308
+ """
2309
+ return pulumi.get(self, "enabled")
2310
+
2311
+ @property
2312
+ @pulumi.getter(name="encryptionConfigs")
2313
+ def encryption_configs(self) -> Sequence['outputs.GetClusterContinuousBackupConfigEncryptionConfigResult']:
2314
+ """
2315
+ EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key).
2316
+ """
2317
+ return pulumi.get(self, "encryption_configs")
2318
+
2319
+ @property
2320
+ @pulumi.getter(name="recoveryWindowDays")
2321
+ def recovery_window_days(self) -> int:
2322
+ """
2323
+ The numbers of days that are eligible to restore from using PITR. To support the entire recovery window, backups and logs are retained for one day more than the recovery window.
2324
+
2325
+ If not set, defaults to 14 days.
2326
+ """
2327
+ return pulumi.get(self, "recovery_window_days")
2328
+
2329
+
2330
+ @pulumi.output_type
2331
+ class GetClusterContinuousBackupConfigEncryptionConfigResult(dict):
2332
+ def __init__(__self__, *,
2333
+ kms_key_name: str):
2334
+ """
2335
+ :param str kms_key_name: The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME].
2336
+ """
2337
+ pulumi.set(__self__, "kms_key_name", kms_key_name)
2338
+
2339
+ @property
2340
+ @pulumi.getter(name="kmsKeyName")
2341
+ def kms_key_name(self) -> str:
2342
+ """
2343
+ The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME].
2344
+ """
2345
+ return pulumi.get(self, "kms_key_name")
2346
+
2347
+
2348
+ @pulumi.output_type
2349
+ class GetClusterContinuousBackupInfoResult(dict):
2350
+ def __init__(__self__, *,
2351
+ earliest_restorable_time: str,
2352
+ enabled_time: str,
2353
+ encryption_infos: Sequence['outputs.GetClusterContinuousBackupInfoEncryptionInfoResult'],
2354
+ schedules: Sequence[str]):
2355
+ """
2356
+ :param str earliest_restorable_time: The earliest restorable time that can be restored to. Output only field.
2357
+ :param str enabled_time: When ContinuousBackup was most recently enabled. Set to null if ContinuousBackup is not enabled.
2358
+ :param Sequence['GetClusterContinuousBackupInfoEncryptionInfoArgs'] encryption_infos: Output only. The encryption information for the WALs and backups required for ContinuousBackup.
2359
+ :param Sequence[str] schedules: Days of the week on which a continuous backup is taken. Output only field. Ignored if passed into the request.
2360
+ """
2361
+ pulumi.set(__self__, "earliest_restorable_time", earliest_restorable_time)
2362
+ pulumi.set(__self__, "enabled_time", enabled_time)
2363
+ pulumi.set(__self__, "encryption_infos", encryption_infos)
2364
+ pulumi.set(__self__, "schedules", schedules)
2365
+
2366
+ @property
2367
+ @pulumi.getter(name="earliestRestorableTime")
2368
+ def earliest_restorable_time(self) -> str:
2369
+ """
2370
+ The earliest restorable time that can be restored to. Output only field.
2371
+ """
2372
+ return pulumi.get(self, "earliest_restorable_time")
2373
+
2374
+ @property
2375
+ @pulumi.getter(name="enabledTime")
2376
+ def enabled_time(self) -> str:
2377
+ """
2378
+ When ContinuousBackup was most recently enabled. Set to null if ContinuousBackup is not enabled.
2379
+ """
2380
+ return pulumi.get(self, "enabled_time")
2381
+
2382
+ @property
2383
+ @pulumi.getter(name="encryptionInfos")
2384
+ def encryption_infos(self) -> Sequence['outputs.GetClusterContinuousBackupInfoEncryptionInfoResult']:
2385
+ """
2386
+ Output only. The encryption information for the WALs and backups required for ContinuousBackup.
2387
+ """
2388
+ return pulumi.get(self, "encryption_infos")
2389
+
2390
+ @property
2391
+ @pulumi.getter
2392
+ def schedules(self) -> Sequence[str]:
2393
+ """
2394
+ Days of the week on which a continuous backup is taken. Output only field. Ignored if passed into the request.
2395
+ """
2396
+ return pulumi.get(self, "schedules")
2397
+
2398
+
2399
+ @pulumi.output_type
2400
+ class GetClusterContinuousBackupInfoEncryptionInfoResult(dict):
2401
+ def __init__(__self__, *,
2402
+ encryption_type: str,
2403
+ kms_key_versions: Sequence[str]):
2404
+ """
2405
+ :param str encryption_type: Output only. Type of encryption.
2406
+ :param Sequence[str] kms_key_versions: Output only. Cloud KMS key versions that are being used to protect the database or the backup.
2407
+ """
2408
+ pulumi.set(__self__, "encryption_type", encryption_type)
2409
+ pulumi.set(__self__, "kms_key_versions", kms_key_versions)
2410
+
2411
+ @property
2412
+ @pulumi.getter(name="encryptionType")
2413
+ def encryption_type(self) -> str:
2414
+ """
2415
+ Output only. Type of encryption.
2416
+ """
2417
+ return pulumi.get(self, "encryption_type")
2418
+
2419
+ @property
2420
+ @pulumi.getter(name="kmsKeyVersions")
2421
+ def kms_key_versions(self) -> Sequence[str]:
2422
+ """
2423
+ Output only. Cloud KMS key versions that are being used to protect the database or the backup.
2424
+ """
2425
+ return pulumi.get(self, "kms_key_versions")
2426
+
2427
+
2428
+ @pulumi.output_type
2429
+ class GetClusterEncryptionConfigResult(dict):
2430
+ def __init__(__self__, *,
2431
+ kms_key_name: str):
2432
+ """
2433
+ :param str kms_key_name: The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME].
2434
+ """
2435
+ pulumi.set(__self__, "kms_key_name", kms_key_name)
2436
+
2437
+ @property
2438
+ @pulumi.getter(name="kmsKeyName")
2439
+ def kms_key_name(self) -> str:
2440
+ """
2441
+ The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME].
2442
+ """
2443
+ return pulumi.get(self, "kms_key_name")
2444
+
2445
+
2446
+ @pulumi.output_type
2447
+ class GetClusterEncryptionInfoResult(dict):
2448
+ def __init__(__self__, *,
2449
+ encryption_type: str,
2450
+ kms_key_versions: Sequence[str]):
2451
+ """
2452
+ :param str encryption_type: Output only. Type of encryption.
2453
+ :param Sequence[str] kms_key_versions: Output only. Cloud KMS key versions that are being used to protect the database or the backup.
2454
+ """
2455
+ pulumi.set(__self__, "encryption_type", encryption_type)
2456
+ pulumi.set(__self__, "kms_key_versions", kms_key_versions)
2457
+
2458
+ @property
2459
+ @pulumi.getter(name="encryptionType")
2460
+ def encryption_type(self) -> str:
2461
+ """
2462
+ Output only. Type of encryption.
2463
+ """
2464
+ return pulumi.get(self, "encryption_type")
2465
+
2466
+ @property
2467
+ @pulumi.getter(name="kmsKeyVersions")
2468
+ def kms_key_versions(self) -> Sequence[str]:
2469
+ """
2470
+ Output only. Cloud KMS key versions that are being used to protect the database or the backup.
2471
+ """
2472
+ return pulumi.get(self, "kms_key_versions")
2473
+
2474
+
2475
+ @pulumi.output_type
2476
+ class GetClusterInitialUserResult(dict):
2477
+ def __init__(__self__, *,
2478
+ password: str,
2479
+ user: str):
2480
+ """
2481
+ :param str password: The initial password for the user.
2482
+ :param str user: The database username.
2483
+ """
2484
+ pulumi.set(__self__, "password", password)
2485
+ pulumi.set(__self__, "user", user)
2486
+
2487
+ @property
2488
+ @pulumi.getter
2489
+ def password(self) -> str:
2490
+ """
2491
+ The initial password for the user.
2492
+ """
2493
+ return pulumi.get(self, "password")
2494
+
2495
+ @property
2496
+ @pulumi.getter
2497
+ def user(self) -> str:
2498
+ """
2499
+ The database username.
2500
+ """
2501
+ return pulumi.get(self, "user")
2502
+
2503
+
2504
+ @pulumi.output_type
2505
+ class GetClusterMaintenanceUpdatePolicyResult(dict):
2506
+ def __init__(__self__, *,
2507
+ maintenance_windows: Sequence['outputs.GetClusterMaintenanceUpdatePolicyMaintenanceWindowResult']):
2508
+ """
2509
+ :param Sequence['GetClusterMaintenanceUpdatePolicyMaintenanceWindowArgs'] maintenance_windows: Preferred windows to perform maintenance. Currently limited to 1.
2510
+ """
2511
+ pulumi.set(__self__, "maintenance_windows", maintenance_windows)
2512
+
2513
+ @property
2514
+ @pulumi.getter(name="maintenanceWindows")
2515
+ def maintenance_windows(self) -> Sequence['outputs.GetClusterMaintenanceUpdatePolicyMaintenanceWindowResult']:
2516
+ """
2517
+ Preferred windows to perform maintenance. Currently limited to 1.
2518
+ """
2519
+ return pulumi.get(self, "maintenance_windows")
2520
+
2521
+
2522
+ @pulumi.output_type
2523
+ class GetClusterMaintenanceUpdatePolicyMaintenanceWindowResult(dict):
2524
+ def __init__(__self__, *,
2525
+ day: str,
2526
+ start_times: Sequence['outputs.GetClusterMaintenanceUpdatePolicyMaintenanceWindowStartTimeResult']):
2527
+ """
2528
+ :param str day: Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc. Possible values: ["MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY"]
2529
+ :param Sequence['GetClusterMaintenanceUpdatePolicyMaintenanceWindowStartTimeArgs'] start_times: Preferred time to start the maintenance operation on the specified day. Maintenance will start within 1 hour of this time.
2530
+ """
2531
+ pulumi.set(__self__, "day", day)
2532
+ pulumi.set(__self__, "start_times", start_times)
2533
+
2534
+ @property
2535
+ @pulumi.getter
2536
+ def day(self) -> str:
2537
+ """
2538
+ Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc. Possible values: ["MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY"]
2539
+ """
2540
+ return pulumi.get(self, "day")
2541
+
2542
+ @property
2543
+ @pulumi.getter(name="startTimes")
2544
+ def start_times(self) -> Sequence['outputs.GetClusterMaintenanceUpdatePolicyMaintenanceWindowStartTimeResult']:
2545
+ """
2546
+ Preferred time to start the maintenance operation on the specified day. Maintenance will start within 1 hour of this time.
2547
+ """
2548
+ return pulumi.get(self, "start_times")
2549
+
2550
+
2551
+ @pulumi.output_type
2552
+ class GetClusterMaintenanceUpdatePolicyMaintenanceWindowStartTimeResult(dict):
2553
+ def __init__(__self__, *,
2554
+ hours: int,
2555
+ minutes: int,
2556
+ nanos: int,
2557
+ seconds: int):
2558
+ """
2559
+ :param int hours: Hours of day in 24 hour format. Should be from 0 to 23.
2560
+ :param int minutes: Minutes of hour of day. Currently, only the value 0 is supported.
2561
+ :param int nanos: Fractions of seconds in nanoseconds. Currently, only the value 0 is supported.
2562
+ :param int seconds: Seconds of minutes of the time. Currently, only the value 0 is supported.
2563
+ """
2564
+ pulumi.set(__self__, "hours", hours)
2565
+ pulumi.set(__self__, "minutes", minutes)
2566
+ pulumi.set(__self__, "nanos", nanos)
2567
+ pulumi.set(__self__, "seconds", seconds)
2568
+
2569
+ @property
2570
+ @pulumi.getter
2571
+ def hours(self) -> int:
2572
+ """
2573
+ Hours of day in 24 hour format. Should be from 0 to 23.
2574
+ """
2575
+ return pulumi.get(self, "hours")
2576
+
2577
+ @property
2578
+ @pulumi.getter
2579
+ def minutes(self) -> int:
2580
+ """
2581
+ Minutes of hour of day. Currently, only the value 0 is supported.
2582
+ """
2583
+ return pulumi.get(self, "minutes")
2584
+
2585
+ @property
2586
+ @pulumi.getter
2587
+ def nanos(self) -> int:
2588
+ """
2589
+ Fractions of seconds in nanoseconds. Currently, only the value 0 is supported.
2590
+ """
2591
+ return pulumi.get(self, "nanos")
2592
+
2593
+ @property
2594
+ @pulumi.getter
2595
+ def seconds(self) -> int:
2596
+ """
2597
+ Seconds of minutes of the time. Currently, only the value 0 is supported.
2598
+ """
2599
+ return pulumi.get(self, "seconds")
2600
+
2601
+
2602
+ @pulumi.output_type
2603
+ class GetClusterMigrationSourceResult(dict):
2604
+ def __init__(__self__, *,
2605
+ host_port: str,
2606
+ reference_id: str,
2607
+ source_type: str):
2608
+ """
2609
+ :param str host_port: The host and port of the on-premises instance in host:port format
2610
+ :param str reference_id: Place holder for the external source identifier(e.g DMS job name) that created the cluster.
2611
+ :param str source_type: Type of migration source.
2612
+ """
2613
+ pulumi.set(__self__, "host_port", host_port)
2614
+ pulumi.set(__self__, "reference_id", reference_id)
2615
+ pulumi.set(__self__, "source_type", source_type)
2616
+
2617
+ @property
2618
+ @pulumi.getter(name="hostPort")
2619
+ def host_port(self) -> str:
2620
+ """
2621
+ The host and port of the on-premises instance in host:port format
2622
+ """
2623
+ return pulumi.get(self, "host_port")
2624
+
2625
+ @property
2626
+ @pulumi.getter(name="referenceId")
2627
+ def reference_id(self) -> str:
2628
+ """
2629
+ Place holder for the external source identifier(e.g DMS job name) that created the cluster.
2630
+ """
2631
+ return pulumi.get(self, "reference_id")
2632
+
2633
+ @property
2634
+ @pulumi.getter(name="sourceType")
2635
+ def source_type(self) -> str:
2636
+ """
2637
+ Type of migration source.
2638
+ """
2639
+ return pulumi.get(self, "source_type")
2640
+
2641
+
2642
+ @pulumi.output_type
2643
+ class GetClusterNetworkConfigResult(dict):
2644
+ def __init__(__self__, *,
2645
+ allocated_ip_range: str,
2646
+ network: str):
2647
+ """
2648
+ :param str allocated_ip_range: The name of the allocated IP range for the private IP AlloyDB cluster. For example: "google-managed-services-default".
2649
+ If set, the instance IPs for this cluster will be created in the allocated range.
2650
+ :param str network: The resource link for the VPC network in which cluster resources are created and from which they are accessible via Private IP. The network must belong to the same project as the cluster.
2651
+ It is specified in the form: "projects/{projectNumber}/global/networks/{network_id}".
2652
+ """
2653
+ pulumi.set(__self__, "allocated_ip_range", allocated_ip_range)
2654
+ pulumi.set(__self__, "network", network)
2655
+
2656
+ @property
2657
+ @pulumi.getter(name="allocatedIpRange")
2658
+ def allocated_ip_range(self) -> str:
2659
+ """
2660
+ The name of the allocated IP range for the private IP AlloyDB cluster. For example: "google-managed-services-default".
2661
+ If set, the instance IPs for this cluster will be created in the allocated range.
2662
+ """
2663
+ return pulumi.get(self, "allocated_ip_range")
2664
+
2665
+ @property
2666
+ @pulumi.getter
2667
+ def network(self) -> str:
2668
+ """
2669
+ The resource link for the VPC network in which cluster resources are created and from which they are accessible via Private IP. The network must belong to the same project as the cluster.
2670
+ It is specified in the form: "projects/{projectNumber}/global/networks/{network_id}".
2671
+ """
2672
+ return pulumi.get(self, "network")
2673
+
2674
+
2675
+ @pulumi.output_type
2676
+ class GetClusterPscConfigResult(dict):
2677
+ def __init__(__self__, *,
2678
+ psc_enabled: bool):
2679
+ """
2680
+ :param bool psc_enabled: Create an instance that allows connections from Private Service Connect endpoints to the instance.
2681
+ """
2682
+ pulumi.set(__self__, "psc_enabled", psc_enabled)
2683
+
2684
+ @property
2685
+ @pulumi.getter(name="pscEnabled")
2686
+ def psc_enabled(self) -> bool:
2687
+ """
2688
+ Create an instance that allows connections from Private Service Connect endpoints to the instance.
2689
+ """
2690
+ return pulumi.get(self, "psc_enabled")
2691
+
2692
+
2693
+ @pulumi.output_type
2694
+ class GetClusterRestoreBackupSourceResult(dict):
2695
+ def __init__(__self__, *,
2696
+ backup_name: str):
2697
+ """
2698
+ :param str backup_name: The name of the backup that this cluster is restored from.
2699
+ """
2700
+ pulumi.set(__self__, "backup_name", backup_name)
2701
+
2702
+ @property
2703
+ @pulumi.getter(name="backupName")
2704
+ def backup_name(self) -> str:
2705
+ """
2706
+ The name of the backup that this cluster is restored from.
2707
+ """
2708
+ return pulumi.get(self, "backup_name")
2709
+
2710
+
2711
+ @pulumi.output_type
2712
+ class GetClusterRestoreContinuousBackupSourceResult(dict):
2713
+ def __init__(__self__, *,
2714
+ cluster: str,
2715
+ point_in_time: str):
2716
+ """
2717
+ :param str cluster: The name of the source cluster that this cluster is restored from.
2718
+ :param str point_in_time: The point in time that this cluster is restored to, in RFC 3339 format.
2719
+ """
2720
+ pulumi.set(__self__, "cluster", cluster)
2721
+ pulumi.set(__self__, "point_in_time", point_in_time)
2722
+
2723
+ @property
2724
+ @pulumi.getter
2725
+ def cluster(self) -> str:
2726
+ """
2727
+ The name of the source cluster that this cluster is restored from.
2728
+ """
2729
+ return pulumi.get(self, "cluster")
2730
+
2731
+ @property
2732
+ @pulumi.getter(name="pointInTime")
2733
+ def point_in_time(self) -> str:
2734
+ """
2735
+ The point in time that this cluster is restored to, in RFC 3339 format.
2736
+ """
2737
+ return pulumi.get(self, "point_in_time")
2738
+
2739
+
2740
+ @pulumi.output_type
2741
+ class GetClusterSecondaryConfigResult(dict):
2742
+ def __init__(__self__, *,
2743
+ primary_cluster_name: str):
2744
+ """
2745
+ :param str primary_cluster_name: Name of the primary cluster must be in the format
2746
+ 'projects/{project}/locations/{location}/clusters/{cluster_id}'
2747
+ """
2748
+ pulumi.set(__self__, "primary_cluster_name", primary_cluster_name)
2749
+
2750
+ @property
2751
+ @pulumi.getter(name="primaryClusterName")
2752
+ def primary_cluster_name(self) -> str:
2753
+ """
2754
+ Name of the primary cluster must be in the format
2755
+ 'projects/{project}/locations/{location}/clusters/{cluster_id}'
2756
+ """
2757
+ return pulumi.get(self, "primary_cluster_name")
2758
+
2759
+
2760
+ @pulumi.output_type
2761
+ class GetClusterTrialMetadataResult(dict):
2762
+ def __init__(__self__, *,
2763
+ end_time: str,
2764
+ grace_end_time: str,
2765
+ start_time: str,
2766
+ upgrade_time: str):
2767
+ """
2768
+ :param str end_time: End time of the trial cluster.
2769
+ :param str grace_end_time: Grace end time of the trial cluster.
2770
+ :param str start_time: Start time of the trial cluster.
2771
+ :param str upgrade_time: Upgrade time of the trial cluster to standard cluster.
2772
+ """
2773
+ pulumi.set(__self__, "end_time", end_time)
2774
+ pulumi.set(__self__, "grace_end_time", grace_end_time)
2775
+ pulumi.set(__self__, "start_time", start_time)
2776
+ pulumi.set(__self__, "upgrade_time", upgrade_time)
2777
+
2778
+ @property
2779
+ @pulumi.getter(name="endTime")
2780
+ def end_time(self) -> str:
2781
+ """
2782
+ End time of the trial cluster.
2783
+ """
2784
+ return pulumi.get(self, "end_time")
2785
+
2786
+ @property
2787
+ @pulumi.getter(name="graceEndTime")
2788
+ def grace_end_time(self) -> str:
2789
+ """
2790
+ Grace end time of the trial cluster.
2791
+ """
2792
+ return pulumi.get(self, "grace_end_time")
2793
+
2794
+ @property
2795
+ @pulumi.getter(name="startTime")
2796
+ def start_time(self) -> str:
2797
+ """
2798
+ Start time of the trial cluster.
2799
+ """
2800
+ return pulumi.get(self, "start_time")
2801
+
2802
+ @property
2803
+ @pulumi.getter(name="upgradeTime")
2804
+ def upgrade_time(self) -> str:
2805
+ """
2806
+ Upgrade time of the trial cluster to standard cluster.
2807
+ """
2808
+ return pulumi.get(self, "upgrade_time")
2809
+
2810
+
2003
2811
  @pulumi.output_type
2004
2812
  class GetInstanceClientConnectionConfigResult(dict):
2005
2813
  def __init__(__self__, *,