pulumi-gcp 9.3.0a1759387993__py3-none-any.whl → 9.3.0a1759868184__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.
- pulumi_gcp/__init__.py +32 -0
- pulumi_gcp/apigee/__init__.py +1 -0
- pulumi_gcp/apigee/api_deployment.py +372 -0
- pulumi_gcp/apihub/plugin.py +1 -1
- pulumi_gcp/artifactregistry/__init__.py +2 -0
- pulumi_gcp/artifactregistry/get_maven_artifacts.py +164 -0
- pulumi_gcp/artifactregistry/get_npm_packages.py +164 -0
- pulumi_gcp/artifactregistry/outputs.py +165 -0
- pulumi_gcp/cloudrunv2/_inputs.py +823 -15
- pulumi_gcp/cloudrunv2/outputs.py +1749 -743
- pulumi_gcp/cloudrunv2/worker_pool.py +110 -0
- pulumi_gcp/compute/_inputs.py +28 -0
- pulumi_gcp/compute/outputs.py +20 -1
- pulumi_gcp/compute/vpn_tunnel.py +97 -23
- pulumi_gcp/compute/wire_group.py +2 -0
- pulumi_gcp/dataloss/_inputs.py +970 -30
- pulumi_gcp/dataloss/outputs.py +850 -20
- pulumi_gcp/dataloss/prevention_discovery_config.py +54 -0
- pulumi_gcp/diagflow/_inputs.py +66 -0
- pulumi_gcp/diagflow/conversation_profile.py +84 -0
- pulumi_gcp/diagflow/outputs.py +57 -0
- pulumi_gcp/discoveryengine/__init__.py +1 -0
- pulumi_gcp/discoveryengine/_inputs.py +187 -0
- pulumi_gcp/discoveryengine/data_connector.py +1368 -0
- pulumi_gcp/discoveryengine/outputs.py +135 -0
- pulumi_gcp/discoveryengine/search_engine.py +47 -0
- pulumi_gcp/gkebackup/_inputs.py +111 -0
- pulumi_gcp/gkebackup/backup_plan.py +72 -0
- pulumi_gcp/gkebackup/outputs.py +84 -0
- pulumi_gcp/kms/__init__.py +1 -0
- pulumi_gcp/kms/_inputs.py +43 -0
- pulumi_gcp/kms/organization_kaj_policy_config.py +290 -0
- pulumi_gcp/kms/outputs.py +43 -0
- pulumi_gcp/logging/metric.py +2 -2
- pulumi_gcp/looker/instance.py +51 -0
- pulumi_gcp/managedkafka/connect_cluster.py +20 -82
- pulumi_gcp/managedkafka/connector.py +24 -94
- pulumi_gcp/netapp/_inputs.py +28 -5
- pulumi_gcp/netapp/outputs.py +19 -3
- pulumi_gcp/netapp/storage_pool.py +56 -0
- pulumi_gcp/netapp/volume.py +28 -0
- pulumi_gcp/networkconnectivity/spoke.py +14 -14
- pulumi_gcp/networksecurity/mirroring_endpoint_group.py +211 -23
- pulumi_gcp/oracledatabase/odb_network.py +101 -2
- pulumi_gcp/orgpolicy/policy.py +2 -2
- pulumi_gcp/privilegedaccessmanager/_inputs.py +27 -4
- pulumi_gcp/privilegedaccessmanager/outputs.py +31 -6
- pulumi_gcp/pubsub/get_subscription.py +12 -1
- pulumi_gcp/pubsub/get_topic.py +15 -4
- pulumi_gcp/pubsub/subscription.py +153 -7
- pulumi_gcp/pubsub/topic.py +145 -3
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/saasruntime/__init__.py +1 -0
- pulumi_gcp/saasruntime/_inputs.py +60 -0
- pulumi_gcp/saasruntime/outputs.py +55 -0
- pulumi_gcp/saasruntime/rollout_kind.py +1086 -0
- pulumi_gcp/sql/_inputs.py +122 -3
- pulumi_gcp/sql/database_instance.py +47 -0
- pulumi_gcp/sql/get_database_instance.py +12 -1
- pulumi_gcp/sql/outputs.py +233 -2
- pulumi_gcp/storage/bucket.py +52 -24
- pulumi_gcp/storage/get_insights_dataset_config.py +12 -1
- pulumi_gcp/storage/insights_dataset_config.py +49 -0
- pulumi_gcp/storage/insights_report_config.py +47 -0
- pulumi_gcp/vertex/_inputs.py +339 -1
- pulumi_gcp/vertex/ai_endpoint.py +4 -4
- pulumi_gcp/vertex/ai_endpoint_with_model_garden_deployment.py +102 -0
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
- pulumi_gcp/vertex/ai_index.py +74 -2
- pulumi_gcp/vertex/ai_index_endpoint.py +54 -0
- pulumi_gcp/vertex/get_ai_index.py +12 -1
- pulumi_gcp/vertex/outputs.py +303 -1
- {pulumi_gcp-9.3.0a1759387993.dist-info → pulumi_gcp-9.3.0a1759868184.dist-info}/METADATA +1 -1
- {pulumi_gcp-9.3.0a1759387993.dist-info → pulumi_gcp-9.3.0a1759868184.dist-info}/RECORD +76 -70
- {pulumi_gcp-9.3.0a1759387993.dist-info → pulumi_gcp-9.3.0a1759868184.dist-info}/WHEEL +0 -0
- {pulumi_gcp-9.3.0a1759387993.dist-info → pulumi_gcp-9.3.0a1759868184.dist-info}/top_level.txt +0 -0
pulumi_gcp/sql/_inputs.py
CHANGED
@@ -21,6 +21,8 @@ __all__ = [
|
|
21
21
|
'DatabaseInstanceDnsNameArgsDict',
|
22
22
|
'DatabaseInstanceIpAddressArgs',
|
23
23
|
'DatabaseInstanceIpAddressArgsDict',
|
24
|
+
'DatabaseInstancePointInTimeRestoreContextArgs',
|
25
|
+
'DatabaseInstancePointInTimeRestoreContextArgsDict',
|
24
26
|
'DatabaseInstanceReplicaConfigurationArgs',
|
25
27
|
'DatabaseInstanceReplicaConfigurationArgsDict',
|
26
28
|
'DatabaseInstanceReplicationClusterArgs',
|
@@ -352,6 +354,123 @@ class DatabaseInstanceIpAddressArgs:
|
|
352
354
|
pulumi.set(self, "type", value)
|
353
355
|
|
354
356
|
|
357
|
+
if not MYPY:
|
358
|
+
class DatabaseInstancePointInTimeRestoreContextArgsDict(TypedDict):
|
359
|
+
datasource: pulumi.Input[_builtins.str]
|
360
|
+
"""
|
361
|
+
The Google Cloud Backup and Disaster Recovery Datasource URI.
|
362
|
+
"""
|
363
|
+
allocated_ip_range: NotRequired[pulumi.Input[_builtins.str]]
|
364
|
+
"""
|
365
|
+
The name of the allocated ip range for the private ip CloudSQL instance. For example: "google-managed-services-default". If set, the cloned instance ip will be created in the allocated range. The range name must comply with [RFC 1035](https://tools.ietf.org/html/rfc1035). Specifically, the name must be 1-63 characters long and match the regular expression a-z?.
|
366
|
+
"""
|
367
|
+
point_in_time: NotRequired[pulumi.Input[_builtins.str]]
|
368
|
+
"""
|
369
|
+
The timestamp of the point in time that should be restored.
|
370
|
+
|
371
|
+
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
372
|
+
"""
|
373
|
+
preferred_zone: NotRequired[pulumi.Input[_builtins.str]]
|
374
|
+
"""
|
375
|
+
Point-in-time recovery of an instance to the specified zone. If no zone is specified, then clone to the same primary zone as the source instance.
|
376
|
+
"""
|
377
|
+
target_instance: NotRequired[pulumi.Input[_builtins.str]]
|
378
|
+
"""
|
379
|
+
The name of the target instance.
|
380
|
+
"""
|
381
|
+
elif False:
|
382
|
+
DatabaseInstancePointInTimeRestoreContextArgsDict: TypeAlias = Mapping[str, Any]
|
383
|
+
|
384
|
+
@pulumi.input_type
|
385
|
+
class DatabaseInstancePointInTimeRestoreContextArgs:
|
386
|
+
def __init__(__self__, *,
|
387
|
+
datasource: pulumi.Input[_builtins.str],
|
388
|
+
allocated_ip_range: Optional[pulumi.Input[_builtins.str]] = None,
|
389
|
+
point_in_time: Optional[pulumi.Input[_builtins.str]] = None,
|
390
|
+
preferred_zone: Optional[pulumi.Input[_builtins.str]] = None,
|
391
|
+
target_instance: Optional[pulumi.Input[_builtins.str]] = None):
|
392
|
+
"""
|
393
|
+
:param pulumi.Input[_builtins.str] datasource: The Google Cloud Backup and Disaster Recovery Datasource URI.
|
394
|
+
:param pulumi.Input[_builtins.str] allocated_ip_range: The name of the allocated ip range for the private ip CloudSQL instance. For example: "google-managed-services-default". If set, the cloned instance ip will be created in the allocated range. The range name must comply with [RFC 1035](https://tools.ietf.org/html/rfc1035). Specifically, the name must be 1-63 characters long and match the regular expression a-z?.
|
395
|
+
:param pulumi.Input[_builtins.str] point_in_time: The timestamp of the point in time that should be restored.
|
396
|
+
|
397
|
+
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
398
|
+
:param pulumi.Input[_builtins.str] preferred_zone: Point-in-time recovery of an instance to the specified zone. If no zone is specified, then clone to the same primary zone as the source instance.
|
399
|
+
:param pulumi.Input[_builtins.str] target_instance: The name of the target instance.
|
400
|
+
"""
|
401
|
+
pulumi.set(__self__, "datasource", datasource)
|
402
|
+
if allocated_ip_range is not None:
|
403
|
+
pulumi.set(__self__, "allocated_ip_range", allocated_ip_range)
|
404
|
+
if point_in_time is not None:
|
405
|
+
pulumi.set(__self__, "point_in_time", point_in_time)
|
406
|
+
if preferred_zone is not None:
|
407
|
+
pulumi.set(__self__, "preferred_zone", preferred_zone)
|
408
|
+
if target_instance is not None:
|
409
|
+
pulumi.set(__self__, "target_instance", target_instance)
|
410
|
+
|
411
|
+
@_builtins.property
|
412
|
+
@pulumi.getter
|
413
|
+
def datasource(self) -> pulumi.Input[_builtins.str]:
|
414
|
+
"""
|
415
|
+
The Google Cloud Backup and Disaster Recovery Datasource URI.
|
416
|
+
"""
|
417
|
+
return pulumi.get(self, "datasource")
|
418
|
+
|
419
|
+
@datasource.setter
|
420
|
+
def datasource(self, value: pulumi.Input[_builtins.str]):
|
421
|
+
pulumi.set(self, "datasource", value)
|
422
|
+
|
423
|
+
@_builtins.property
|
424
|
+
@pulumi.getter(name="allocatedIpRange")
|
425
|
+
def allocated_ip_range(self) -> Optional[pulumi.Input[_builtins.str]]:
|
426
|
+
"""
|
427
|
+
The name of the allocated ip range for the private ip CloudSQL instance. For example: "google-managed-services-default". If set, the cloned instance ip will be created in the allocated range. The range name must comply with [RFC 1035](https://tools.ietf.org/html/rfc1035). Specifically, the name must be 1-63 characters long and match the regular expression a-z?.
|
428
|
+
"""
|
429
|
+
return pulumi.get(self, "allocated_ip_range")
|
430
|
+
|
431
|
+
@allocated_ip_range.setter
|
432
|
+
def allocated_ip_range(self, value: Optional[pulumi.Input[_builtins.str]]):
|
433
|
+
pulumi.set(self, "allocated_ip_range", value)
|
434
|
+
|
435
|
+
@_builtins.property
|
436
|
+
@pulumi.getter(name="pointInTime")
|
437
|
+
def point_in_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
438
|
+
"""
|
439
|
+
The timestamp of the point in time that should be restored.
|
440
|
+
|
441
|
+
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
442
|
+
"""
|
443
|
+
return pulumi.get(self, "point_in_time")
|
444
|
+
|
445
|
+
@point_in_time.setter
|
446
|
+
def point_in_time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
447
|
+
pulumi.set(self, "point_in_time", value)
|
448
|
+
|
449
|
+
@_builtins.property
|
450
|
+
@pulumi.getter(name="preferredZone")
|
451
|
+
def preferred_zone(self) -> Optional[pulumi.Input[_builtins.str]]:
|
452
|
+
"""
|
453
|
+
Point-in-time recovery of an instance to the specified zone. If no zone is specified, then clone to the same primary zone as the source instance.
|
454
|
+
"""
|
455
|
+
return pulumi.get(self, "preferred_zone")
|
456
|
+
|
457
|
+
@preferred_zone.setter
|
458
|
+
def preferred_zone(self, value: Optional[pulumi.Input[_builtins.str]]):
|
459
|
+
pulumi.set(self, "preferred_zone", value)
|
460
|
+
|
461
|
+
@_builtins.property
|
462
|
+
@pulumi.getter(name="targetInstance")
|
463
|
+
def target_instance(self) -> Optional[pulumi.Input[_builtins.str]]:
|
464
|
+
"""
|
465
|
+
The name of the target instance.
|
466
|
+
"""
|
467
|
+
return pulumi.get(self, "target_instance")
|
468
|
+
|
469
|
+
@target_instance.setter
|
470
|
+
def target_instance(self, value: Optional[pulumi.Input[_builtins.str]]):
|
471
|
+
pulumi.set(self, "target_instance", value)
|
472
|
+
|
473
|
+
|
355
474
|
if not MYPY:
|
356
475
|
class DatabaseInstanceReplicaConfigurationArgsDict(TypedDict):
|
357
476
|
ca_certificate: NotRequired[pulumi.Input[_builtins.str]]
|
@@ -1981,7 +2100,7 @@ if not MYPY:
|
|
1981
2100
|
class DatabaseInstanceSettingsDataCacheConfigArgsDict(TypedDict):
|
1982
2101
|
data_cache_enabled: NotRequired[pulumi.Input[_builtins.bool]]
|
1983
2102
|
"""
|
1984
|
-
Whether data cache is enabled for the instance. Defaults to `
|
2103
|
+
Whether data cache is enabled for the instance. Defaults to `true` for MYSQL Enterprise Plus and PostgreSQL Enterprise Plus instances only. For SQL Server Enterprise Plus instances it defaults to `false`.
|
1985
2104
|
"""
|
1986
2105
|
elif False:
|
1987
2106
|
DatabaseInstanceSettingsDataCacheConfigArgsDict: TypeAlias = Mapping[str, Any]
|
@@ -1991,7 +2110,7 @@ class DatabaseInstanceSettingsDataCacheConfigArgs:
|
|
1991
2110
|
def __init__(__self__, *,
|
1992
2111
|
data_cache_enabled: Optional[pulumi.Input[_builtins.bool]] = None):
|
1993
2112
|
"""
|
1994
|
-
:param pulumi.Input[_builtins.bool] data_cache_enabled: Whether data cache is enabled for the instance. Defaults to `
|
2113
|
+
:param pulumi.Input[_builtins.bool] data_cache_enabled: Whether data cache is enabled for the instance. Defaults to `true` for MYSQL Enterprise Plus and PostgreSQL Enterprise Plus instances only. For SQL Server Enterprise Plus instances it defaults to `false`.
|
1995
2114
|
"""
|
1996
2115
|
if data_cache_enabled is not None:
|
1997
2116
|
pulumi.set(__self__, "data_cache_enabled", data_cache_enabled)
|
@@ -2000,7 +2119,7 @@ class DatabaseInstanceSettingsDataCacheConfigArgs:
|
|
2000
2119
|
@pulumi.getter(name="dataCacheEnabled")
|
2001
2120
|
def data_cache_enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
2002
2121
|
"""
|
2003
|
-
Whether data cache is enabled for the instance. Defaults to `
|
2122
|
+
Whether data cache is enabled for the instance. Defaults to `true` for MYSQL Enterprise Plus and PostgreSQL Enterprise Plus instances only. For SQL Server Enterprise Plus instances it defaults to `false`.
|
2004
2123
|
"""
|
2005
2124
|
return pulumi.get(self, "data_cache_enabled")
|
2006
2125
|
|
@@ -32,6 +32,7 @@ class DatabaseInstanceArgs:
|
|
32
32
|
master_instance_name: Optional[pulumi.Input[_builtins.str]] = None,
|
33
33
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
34
34
|
node_count: Optional[pulumi.Input[_builtins.int]] = None,
|
35
|
+
point_in_time_restore_context: Optional[pulumi.Input['DatabaseInstancePointInTimeRestoreContextArgs']] = None,
|
35
36
|
project: Optional[pulumi.Input[_builtins.str]] = None,
|
36
37
|
region: Optional[pulumi.Input[_builtins.str]] = None,
|
37
38
|
replica_configuration: Optional[pulumi.Input['DatabaseInstanceReplicaConfigurationArgs']] = None,
|
@@ -76,6 +77,7 @@ class DatabaseInstanceArgs:
|
|
76
77
|
created. This is done because after a name is used, it cannot be reused for
|
77
78
|
up to [one week](https://cloud.google.com/sql/docs/delete-instance).
|
78
79
|
:param pulumi.Input[_builtins.int] node_count: For a read pool instance, the number of nodes in the read pool.
|
80
|
+
:param pulumi.Input['DatabaseInstancePointInTimeRestoreContextArgs'] point_in_time_restore_context: Configuration for creating a new instance using point-in-time-restore from backupdr backup.
|
79
81
|
:param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs. If it
|
80
82
|
is not provided, the provider project is used.
|
81
83
|
:param pulumi.Input[_builtins.str] region: The region the instance will sit in. If a region is not provided in the resource definition,
|
@@ -115,6 +117,8 @@ class DatabaseInstanceArgs:
|
|
115
117
|
pulumi.set(__self__, "name", name)
|
116
118
|
if node_count is not None:
|
117
119
|
pulumi.set(__self__, "node_count", node_count)
|
120
|
+
if point_in_time_restore_context is not None:
|
121
|
+
pulumi.set(__self__, "point_in_time_restore_context", point_in_time_restore_context)
|
118
122
|
if project is not None:
|
119
123
|
pulumi.set(__self__, "project", project)
|
120
124
|
if region is not None:
|
@@ -287,6 +291,18 @@ class DatabaseInstanceArgs:
|
|
287
291
|
def node_count(self, value: Optional[pulumi.Input[_builtins.int]]):
|
288
292
|
pulumi.set(self, "node_count", value)
|
289
293
|
|
294
|
+
@_builtins.property
|
295
|
+
@pulumi.getter(name="pointInTimeRestoreContext")
|
296
|
+
def point_in_time_restore_context(self) -> Optional[pulumi.Input['DatabaseInstancePointInTimeRestoreContextArgs']]:
|
297
|
+
"""
|
298
|
+
Configuration for creating a new instance using point-in-time-restore from backupdr backup.
|
299
|
+
"""
|
300
|
+
return pulumi.get(self, "point_in_time_restore_context")
|
301
|
+
|
302
|
+
@point_in_time_restore_context.setter
|
303
|
+
def point_in_time_restore_context(self, value: Optional[pulumi.Input['DatabaseInstancePointInTimeRestoreContextArgs']]):
|
304
|
+
pulumi.set(self, "point_in_time_restore_context", value)
|
305
|
+
|
290
306
|
@_builtins.property
|
291
307
|
@pulumi.getter
|
292
308
|
def project(self) -> Optional[pulumi.Input[_builtins.str]]:
|
@@ -413,6 +429,7 @@ class _DatabaseInstanceState:
|
|
413
429
|
master_instance_name: Optional[pulumi.Input[_builtins.str]] = None,
|
414
430
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
415
431
|
node_count: Optional[pulumi.Input[_builtins.int]] = None,
|
432
|
+
point_in_time_restore_context: Optional[pulumi.Input['DatabaseInstancePointInTimeRestoreContextArgs']] = None,
|
416
433
|
private_ip_address: Optional[pulumi.Input[_builtins.str]] = None,
|
417
434
|
project: Optional[pulumi.Input[_builtins.str]] = None,
|
418
435
|
psc_service_attachment_link: Optional[pulumi.Input[_builtins.str]] = None,
|
@@ -469,6 +486,7 @@ class _DatabaseInstanceState:
|
|
469
486
|
created. This is done because after a name is used, it cannot be reused for
|
470
487
|
up to [one week](https://cloud.google.com/sql/docs/delete-instance).
|
471
488
|
:param pulumi.Input[_builtins.int] node_count: For a read pool instance, the number of nodes in the read pool.
|
489
|
+
:param pulumi.Input['DatabaseInstancePointInTimeRestoreContextArgs'] point_in_time_restore_context: Configuration for creating a new instance using point-in-time-restore from backupdr backup.
|
472
490
|
:param pulumi.Input[_builtins.str] private_ip_address: The first private (`PRIVATE`) IPv4 address assigned.
|
473
491
|
:param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs. If it
|
474
492
|
is not provided, the provider project is used.
|
@@ -527,6 +545,8 @@ class _DatabaseInstanceState:
|
|
527
545
|
pulumi.set(__self__, "name", name)
|
528
546
|
if node_count is not None:
|
529
547
|
pulumi.set(__self__, "node_count", node_count)
|
548
|
+
if point_in_time_restore_context is not None:
|
549
|
+
pulumi.set(__self__, "point_in_time_restore_context", point_in_time_restore_context)
|
530
550
|
if private_ip_address is not None:
|
531
551
|
pulumi.set(__self__, "private_ip_address", private_ip_address)
|
532
552
|
if project is not None:
|
@@ -781,6 +801,18 @@ class _DatabaseInstanceState:
|
|
781
801
|
def node_count(self, value: Optional[pulumi.Input[_builtins.int]]):
|
782
802
|
pulumi.set(self, "node_count", value)
|
783
803
|
|
804
|
+
@_builtins.property
|
805
|
+
@pulumi.getter(name="pointInTimeRestoreContext")
|
806
|
+
def point_in_time_restore_context(self) -> Optional[pulumi.Input['DatabaseInstancePointInTimeRestoreContextArgs']]:
|
807
|
+
"""
|
808
|
+
Configuration for creating a new instance using point-in-time-restore from backupdr backup.
|
809
|
+
"""
|
810
|
+
return pulumi.get(self, "point_in_time_restore_context")
|
811
|
+
|
812
|
+
@point_in_time_restore_context.setter
|
813
|
+
def point_in_time_restore_context(self, value: Optional[pulumi.Input['DatabaseInstancePointInTimeRestoreContextArgs']]):
|
814
|
+
pulumi.set(self, "point_in_time_restore_context", value)
|
815
|
+
|
784
816
|
@_builtins.property
|
785
817
|
@pulumi.getter(name="privateIpAddress")
|
786
818
|
def private_ip_address(self) -> Optional[pulumi.Input[_builtins.str]]:
|
@@ -974,6 +1006,7 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
974
1006
|
master_instance_name: Optional[pulumi.Input[_builtins.str]] = None,
|
975
1007
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
976
1008
|
node_count: Optional[pulumi.Input[_builtins.int]] = None,
|
1009
|
+
point_in_time_restore_context: Optional[pulumi.Input[Union['DatabaseInstancePointInTimeRestoreContextArgs', 'DatabaseInstancePointInTimeRestoreContextArgsDict']]] = None,
|
977
1010
|
project: Optional[pulumi.Input[_builtins.str]] = None,
|
978
1011
|
region: Optional[pulumi.Input[_builtins.str]] = None,
|
979
1012
|
replica_configuration: Optional[pulumi.Input[Union['DatabaseInstanceReplicaConfigurationArgs', 'DatabaseInstanceReplicaConfigurationArgsDict']]] = None,
|
@@ -1274,6 +1307,7 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
1274
1307
|
created. This is done because after a name is used, it cannot be reused for
|
1275
1308
|
up to [one week](https://cloud.google.com/sql/docs/delete-instance).
|
1276
1309
|
:param pulumi.Input[_builtins.int] node_count: For a read pool instance, the number of nodes in the read pool.
|
1310
|
+
:param pulumi.Input[Union['DatabaseInstancePointInTimeRestoreContextArgs', 'DatabaseInstancePointInTimeRestoreContextArgsDict']] point_in_time_restore_context: Configuration for creating a new instance using point-in-time-restore from backupdr backup.
|
1277
1311
|
:param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs. If it
|
1278
1312
|
is not provided, the provider project is used.
|
1279
1313
|
:param pulumi.Input[_builtins.str] region: The region the instance will sit in. If a region is not provided in the resource definition,
|
@@ -1579,6 +1613,7 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
1579
1613
|
master_instance_name: Optional[pulumi.Input[_builtins.str]] = None,
|
1580
1614
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
1581
1615
|
node_count: Optional[pulumi.Input[_builtins.int]] = None,
|
1616
|
+
point_in_time_restore_context: Optional[pulumi.Input[Union['DatabaseInstancePointInTimeRestoreContextArgs', 'DatabaseInstancePointInTimeRestoreContextArgsDict']]] = None,
|
1582
1617
|
project: Optional[pulumi.Input[_builtins.str]] = None,
|
1583
1618
|
region: Optional[pulumi.Input[_builtins.str]] = None,
|
1584
1619
|
replica_configuration: Optional[pulumi.Input[Union['DatabaseInstanceReplicaConfigurationArgs', 'DatabaseInstanceReplicaConfigurationArgsDict']]] = None,
|
@@ -1609,6 +1644,7 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
1609
1644
|
__props__.__dict__["master_instance_name"] = master_instance_name
|
1610
1645
|
__props__.__dict__["name"] = name
|
1611
1646
|
__props__.__dict__["node_count"] = node_count
|
1647
|
+
__props__.__dict__["point_in_time_restore_context"] = point_in_time_restore_context
|
1612
1648
|
__props__.__dict__["project"] = project
|
1613
1649
|
__props__.__dict__["region"] = region
|
1614
1650
|
__props__.__dict__["replica_configuration"] = None if replica_configuration is None else pulumi.Output.secret(replica_configuration)
|
@@ -1658,6 +1694,7 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
1658
1694
|
master_instance_name: Optional[pulumi.Input[_builtins.str]] = None,
|
1659
1695
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
1660
1696
|
node_count: Optional[pulumi.Input[_builtins.int]] = None,
|
1697
|
+
point_in_time_restore_context: Optional[pulumi.Input[Union['DatabaseInstancePointInTimeRestoreContextArgs', 'DatabaseInstancePointInTimeRestoreContextArgsDict']]] = None,
|
1661
1698
|
private_ip_address: Optional[pulumi.Input[_builtins.str]] = None,
|
1662
1699
|
project: Optional[pulumi.Input[_builtins.str]] = None,
|
1663
1700
|
psc_service_attachment_link: Optional[pulumi.Input[_builtins.str]] = None,
|
@@ -1719,6 +1756,7 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
1719
1756
|
created. This is done because after a name is used, it cannot be reused for
|
1720
1757
|
up to [one week](https://cloud.google.com/sql/docs/delete-instance).
|
1721
1758
|
:param pulumi.Input[_builtins.int] node_count: For a read pool instance, the number of nodes in the read pool.
|
1759
|
+
:param pulumi.Input[Union['DatabaseInstancePointInTimeRestoreContextArgs', 'DatabaseInstancePointInTimeRestoreContextArgsDict']] point_in_time_restore_context: Configuration for creating a new instance using point-in-time-restore from backupdr backup.
|
1722
1760
|
:param pulumi.Input[_builtins.str] private_ip_address: The first private (`PRIVATE`) IPv4 address assigned.
|
1723
1761
|
:param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs. If it
|
1724
1762
|
is not provided, the provider project is used.
|
@@ -1764,6 +1802,7 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
1764
1802
|
__props__.__dict__["master_instance_name"] = master_instance_name
|
1765
1803
|
__props__.__dict__["name"] = name
|
1766
1804
|
__props__.__dict__["node_count"] = node_count
|
1805
|
+
__props__.__dict__["point_in_time_restore_context"] = point_in_time_restore_context
|
1767
1806
|
__props__.__dict__["private_ip_address"] = private_ip_address
|
1768
1807
|
__props__.__dict__["project"] = project
|
1769
1808
|
__props__.__dict__["psc_service_attachment_link"] = psc_service_attachment_link
|
@@ -1937,6 +1976,14 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
1937
1976
|
"""
|
1938
1977
|
return pulumi.get(self, "node_count")
|
1939
1978
|
|
1979
|
+
@_builtins.property
|
1980
|
+
@pulumi.getter(name="pointInTimeRestoreContext")
|
1981
|
+
def point_in_time_restore_context(self) -> pulumi.Output[Optional['outputs.DatabaseInstancePointInTimeRestoreContext']]:
|
1982
|
+
"""
|
1983
|
+
Configuration for creating a new instance using point-in-time-restore from backupdr backup.
|
1984
|
+
"""
|
1985
|
+
return pulumi.get(self, "point_in_time_restore_context")
|
1986
|
+
|
1940
1987
|
@_builtins.property
|
1941
1988
|
@pulumi.getter(name="privateIpAddress")
|
1942
1989
|
def private_ip_address(self) -> pulumi.Output[_builtins.str]:
|
@@ -27,7 +27,7 @@ class GetDatabaseInstanceResult:
|
|
27
27
|
"""
|
28
28
|
A collection of values returned by getDatabaseInstance.
|
29
29
|
"""
|
30
|
-
def __init__(__self__, available_maintenance_versions=None, backupdr_backup=None, clones=None, connection_name=None, database_version=None, deletion_protection=None, dns_name=None, dns_names=None, encryption_key_name=None, final_backup_description=None, first_ip_address=None, id=None, instance_type=None, ip_addresses=None, maintenance_version=None, master_instance_name=None, name=None, node_count=None, private_ip_address=None, project=None, psc_service_attachment_link=None, public_ip_address=None, region=None, replica_configurations=None, replica_names=None, replication_clusters=None, restore_backup_contexts=None, root_password=None, self_link=None, server_ca_certs=None, service_account_email_address=None, settings=None):
|
30
|
+
def __init__(__self__, available_maintenance_versions=None, backupdr_backup=None, clones=None, connection_name=None, database_version=None, deletion_protection=None, dns_name=None, dns_names=None, encryption_key_name=None, final_backup_description=None, first_ip_address=None, id=None, instance_type=None, ip_addresses=None, maintenance_version=None, master_instance_name=None, name=None, node_count=None, point_in_time_restore_contexts=None, private_ip_address=None, project=None, psc_service_attachment_link=None, public_ip_address=None, region=None, replica_configurations=None, replica_names=None, replication_clusters=None, restore_backup_contexts=None, root_password=None, self_link=None, server_ca_certs=None, service_account_email_address=None, settings=None):
|
31
31
|
if available_maintenance_versions and not isinstance(available_maintenance_versions, list):
|
32
32
|
raise TypeError("Expected argument 'available_maintenance_versions' to be a list")
|
33
33
|
pulumi.set(__self__, "available_maintenance_versions", available_maintenance_versions)
|
@@ -82,6 +82,9 @@ class GetDatabaseInstanceResult:
|
|
82
82
|
if node_count and not isinstance(node_count, int):
|
83
83
|
raise TypeError("Expected argument 'node_count' to be a int")
|
84
84
|
pulumi.set(__self__, "node_count", node_count)
|
85
|
+
if point_in_time_restore_contexts and not isinstance(point_in_time_restore_contexts, list):
|
86
|
+
raise TypeError("Expected argument 'point_in_time_restore_contexts' to be a list")
|
87
|
+
pulumi.set(__self__, "point_in_time_restore_contexts", point_in_time_restore_contexts)
|
85
88
|
if private_ip_address and not isinstance(private_ip_address, str):
|
86
89
|
raise TypeError("Expected argument 'private_ip_address' to be a str")
|
87
90
|
pulumi.set(__self__, "private_ip_address", private_ip_address)
|
@@ -218,6 +221,11 @@ class GetDatabaseInstanceResult:
|
|
218
221
|
def node_count(self) -> _builtins.int:
|
219
222
|
return pulumi.get(self, "node_count")
|
220
223
|
|
224
|
+
@_builtins.property
|
225
|
+
@pulumi.getter(name="pointInTimeRestoreContexts")
|
226
|
+
def point_in_time_restore_contexts(self) -> Sequence['outputs.GetDatabaseInstancePointInTimeRestoreContextResult']:
|
227
|
+
return pulumi.get(self, "point_in_time_restore_contexts")
|
228
|
+
|
221
229
|
@_builtins.property
|
222
230
|
@pulumi.getter(name="privateIpAddress")
|
223
231
|
def private_ip_address(self) -> _builtins.str:
|
@@ -313,6 +321,7 @@ class AwaitableGetDatabaseInstanceResult(GetDatabaseInstanceResult):
|
|
313
321
|
master_instance_name=self.master_instance_name,
|
314
322
|
name=self.name,
|
315
323
|
node_count=self.node_count,
|
324
|
+
point_in_time_restore_contexts=self.point_in_time_restore_contexts,
|
316
325
|
private_ip_address=self.private_ip_address,
|
317
326
|
project=self.project,
|
318
327
|
psc_service_attachment_link=self.psc_service_attachment_link,
|
@@ -373,6 +382,7 @@ def get_database_instance(name: Optional[_builtins.str] = None,
|
|
373
382
|
master_instance_name=pulumi.get(__ret__, 'master_instance_name'),
|
374
383
|
name=pulumi.get(__ret__, 'name'),
|
375
384
|
node_count=pulumi.get(__ret__, 'node_count'),
|
385
|
+
point_in_time_restore_contexts=pulumi.get(__ret__, 'point_in_time_restore_contexts'),
|
376
386
|
private_ip_address=pulumi.get(__ret__, 'private_ip_address'),
|
377
387
|
project=pulumi.get(__ret__, 'project'),
|
378
388
|
psc_service_attachment_link=pulumi.get(__ret__, 'psc_service_attachment_link'),
|
@@ -430,6 +440,7 @@ def get_database_instance_output(name: Optional[pulumi.Input[_builtins.str]] = N
|
|
430
440
|
master_instance_name=pulumi.get(__response__, 'master_instance_name'),
|
431
441
|
name=pulumi.get(__response__, 'name'),
|
432
442
|
node_count=pulumi.get(__response__, 'node_count'),
|
443
|
+
point_in_time_restore_contexts=pulumi.get(__response__, 'point_in_time_restore_contexts'),
|
433
444
|
private_ip_address=pulumi.get(__response__, 'private_ip_address'),
|
434
445
|
project=pulumi.get(__response__, 'project'),
|
435
446
|
psc_service_attachment_link=pulumi.get(__response__, 'psc_service_attachment_link'),
|