pulumi-gcp 7.35.0a1722924350__py3-none-any.whl → 7.35.0a1722940030__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.
Potentially problematic release.
This version of pulumi-gcp might be problematic. Click here for more details.
- pulumi_gcp/accesscontextmanager/_inputs.py +12 -3
- pulumi_gcp/accesscontextmanager/access_policy.py +18 -18
- pulumi_gcp/accesscontextmanager/outputs.py +8 -2
- pulumi_gcp/bigquery/data_transfer_config.py +52 -0
- pulumi_gcp/compute/_inputs.py +24 -24
- pulumi_gcp/compute/disk.py +75 -0
- pulumi_gcp/compute/get_disk.py +11 -1
- pulumi_gcp/compute/get_hc_vpn_gateway.py +11 -1
- pulumi_gcp/compute/get_instance_template.py +2 -2
- pulumi_gcp/compute/get_region_instance_template.py +2 -2
- pulumi_gcp/compute/get_snapshot.py +2 -2
- pulumi_gcp/compute/ha_vpn_gateway.py +68 -7
- pulumi_gcp/compute/outputs.py +24 -24
- pulumi_gcp/container/_inputs.py +3 -3
- pulumi_gcp/container/outputs.py +2 -2
- pulumi_gcp/firebase/project.py +10 -2
- pulumi_gcp/kms/key_handle.py +7 -7
- pulumi_gcp/migrationcenter/_inputs.py +21 -129
- pulumi_gcp/migrationcenter/outputs.py +14 -86
- pulumi_gcp/networkconnectivity/hub.py +69 -0
- pulumi_gcp/organizations/project.py +16 -7
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/sql/_inputs.py +35 -15
- pulumi_gcp/sql/outputs.py +50 -14
- {pulumi_gcp-7.35.0a1722924350.dist-info → pulumi_gcp-7.35.0a1722940030.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.35.0a1722924350.dist-info → pulumi_gcp-7.35.0a1722940030.dist-info}/RECORD +28 -28
- {pulumi_gcp-7.35.0a1722924350.dist-info → pulumi_gcp-7.35.0a1722940030.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.35.0a1722924350.dist-info → pulumi_gcp-7.35.0a1722940030.dist-info}/top_level.txt +0 -0
@@ -22,12 +22,14 @@ __all__ = ['HubArgs', 'Hub']
|
|
22
22
|
class HubArgs:
|
23
23
|
def __init__(__self__, *,
|
24
24
|
description: Optional[pulumi.Input[str]] = None,
|
25
|
+
export_psc: Optional[pulumi.Input[bool]] = None,
|
25
26
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
26
27
|
name: Optional[pulumi.Input[str]] = None,
|
27
28
|
project: Optional[pulumi.Input[str]] = None):
|
28
29
|
"""
|
29
30
|
The set of arguments for constructing a Hub resource.
|
30
31
|
:param pulumi.Input[str] description: An optional description of the hub.
|
32
|
+
:param pulumi.Input[bool] export_psc: Whether Private Service Connect transitivity is enabled for the hub. If true, Private Service Connect endpoints in VPC spokes attached to the hub are made accessible to other VPC spokes attached to the hub. The default value is false.
|
31
33
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Optional labels in key:value format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
|
32
34
|
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
33
35
|
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
@@ -40,6 +42,8 @@ class HubArgs:
|
|
40
42
|
"""
|
41
43
|
if description is not None:
|
42
44
|
pulumi.set(__self__, "description", description)
|
45
|
+
if export_psc is not None:
|
46
|
+
pulumi.set(__self__, "export_psc", export_psc)
|
43
47
|
if labels is not None:
|
44
48
|
pulumi.set(__self__, "labels", labels)
|
45
49
|
if name is not None:
|
@@ -59,6 +63,18 @@ class HubArgs:
|
|
59
63
|
def description(self, value: Optional[pulumi.Input[str]]):
|
60
64
|
pulumi.set(self, "description", value)
|
61
65
|
|
66
|
+
@property
|
67
|
+
@pulumi.getter(name="exportPsc")
|
68
|
+
def export_psc(self) -> Optional[pulumi.Input[bool]]:
|
69
|
+
"""
|
70
|
+
Whether Private Service Connect transitivity is enabled for the hub. If true, Private Service Connect endpoints in VPC spokes attached to the hub are made accessible to other VPC spokes attached to the hub. The default value is false.
|
71
|
+
"""
|
72
|
+
return pulumi.get(self, "export_psc")
|
73
|
+
|
74
|
+
@export_psc.setter
|
75
|
+
def export_psc(self, value: Optional[pulumi.Input[bool]]):
|
76
|
+
pulumi.set(self, "export_psc", value)
|
77
|
+
|
62
78
|
@property
|
63
79
|
@pulumi.getter
|
64
80
|
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
@@ -108,6 +124,7 @@ class _HubState:
|
|
108
124
|
create_time: Optional[pulumi.Input[str]] = None,
|
109
125
|
description: Optional[pulumi.Input[str]] = None,
|
110
126
|
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
127
|
+
export_psc: Optional[pulumi.Input[bool]] = None,
|
111
128
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
112
129
|
name: Optional[pulumi.Input[str]] = None,
|
113
130
|
project: Optional[pulumi.Input[str]] = None,
|
@@ -121,6 +138,7 @@ class _HubState:
|
|
121
138
|
:param pulumi.Input[str] create_time: Output only. The time the hub was created.
|
122
139
|
:param pulumi.Input[str] description: An optional description of the hub.
|
123
140
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
141
|
+
:param pulumi.Input[bool] export_psc: Whether Private Service Connect transitivity is enabled for the hub. If true, Private Service Connect endpoints in VPC spokes attached to the hub are made accessible to other VPC spokes attached to the hub. The default value is false.
|
124
142
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Optional labels in key:value format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
|
125
143
|
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
126
144
|
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
@@ -144,6 +162,8 @@ class _HubState:
|
|
144
162
|
pulumi.set(__self__, "description", description)
|
145
163
|
if effective_labels is not None:
|
146
164
|
pulumi.set(__self__, "effective_labels", effective_labels)
|
165
|
+
if export_psc is not None:
|
166
|
+
pulumi.set(__self__, "export_psc", export_psc)
|
147
167
|
if labels is not None:
|
148
168
|
pulumi.set(__self__, "labels", labels)
|
149
169
|
if name is not None:
|
@@ -197,6 +217,18 @@ class _HubState:
|
|
197
217
|
def effective_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
198
218
|
pulumi.set(self, "effective_labels", value)
|
199
219
|
|
220
|
+
@property
|
221
|
+
@pulumi.getter(name="exportPsc")
|
222
|
+
def export_psc(self) -> Optional[pulumi.Input[bool]]:
|
223
|
+
"""
|
224
|
+
Whether Private Service Connect transitivity is enabled for the hub. If true, Private Service Connect endpoints in VPC spokes attached to the hub are made accessible to other VPC spokes attached to the hub. The default value is false.
|
225
|
+
"""
|
226
|
+
return pulumi.get(self, "export_psc")
|
227
|
+
|
228
|
+
@export_psc.setter
|
229
|
+
def export_psc(self, value: Optional[pulumi.Input[bool]]):
|
230
|
+
pulumi.set(self, "export_psc", value)
|
231
|
+
|
200
232
|
@property
|
201
233
|
@pulumi.getter
|
202
234
|
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
@@ -308,6 +340,7 @@ class Hub(pulumi.CustomResource):
|
|
308
340
|
resource_name: str,
|
309
341
|
opts: Optional[pulumi.ResourceOptions] = None,
|
310
342
|
description: Optional[pulumi.Input[str]] = None,
|
343
|
+
export_psc: Optional[pulumi.Input[bool]] = None,
|
311
344
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
312
345
|
name: Optional[pulumi.Input[str]] = None,
|
313
346
|
project: Optional[pulumi.Input[str]] = None,
|
@@ -336,6 +369,17 @@ class Hub(pulumi.CustomResource):
|
|
336
369
|
"label-one": "value-one",
|
337
370
|
})
|
338
371
|
```
|
372
|
+
### Network Connectivity Hub With Export Psc
|
373
|
+
|
374
|
+
```python
|
375
|
+
import pulumi
|
376
|
+
import pulumi_gcp as gcp
|
377
|
+
|
378
|
+
primary = gcp.networkconnectivity.Hub("primary",
|
379
|
+
name="basic",
|
380
|
+
description="A sample hub with Private Service Connect transitivity is enabled",
|
381
|
+
export_psc=True)
|
382
|
+
```
|
339
383
|
|
340
384
|
## Import
|
341
385
|
|
@@ -364,6 +408,7 @@ class Hub(pulumi.CustomResource):
|
|
364
408
|
:param str resource_name: The name of the resource.
|
365
409
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
366
410
|
:param pulumi.Input[str] description: An optional description of the hub.
|
411
|
+
:param pulumi.Input[bool] export_psc: Whether Private Service Connect transitivity is enabled for the hub. If true, Private Service Connect endpoints in VPC spokes attached to the hub are made accessible to other VPC spokes attached to the hub. The default value is false.
|
367
412
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Optional labels in key:value format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
|
368
413
|
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
369
414
|
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
@@ -404,6 +449,17 @@ class Hub(pulumi.CustomResource):
|
|
404
449
|
"label-one": "value-one",
|
405
450
|
})
|
406
451
|
```
|
452
|
+
### Network Connectivity Hub With Export Psc
|
453
|
+
|
454
|
+
```python
|
455
|
+
import pulumi
|
456
|
+
import pulumi_gcp as gcp
|
457
|
+
|
458
|
+
primary = gcp.networkconnectivity.Hub("primary",
|
459
|
+
name="basic",
|
460
|
+
description="A sample hub with Private Service Connect transitivity is enabled",
|
461
|
+
export_psc=True)
|
462
|
+
```
|
407
463
|
|
408
464
|
## Import
|
409
465
|
|
@@ -445,6 +501,7 @@ class Hub(pulumi.CustomResource):
|
|
445
501
|
resource_name: str,
|
446
502
|
opts: Optional[pulumi.ResourceOptions] = None,
|
447
503
|
description: Optional[pulumi.Input[str]] = None,
|
504
|
+
export_psc: Optional[pulumi.Input[bool]] = None,
|
448
505
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
449
506
|
name: Optional[pulumi.Input[str]] = None,
|
450
507
|
project: Optional[pulumi.Input[str]] = None,
|
@@ -458,6 +515,7 @@ class Hub(pulumi.CustomResource):
|
|
458
515
|
__props__ = HubArgs.__new__(HubArgs)
|
459
516
|
|
460
517
|
__props__.__dict__["description"] = description
|
518
|
+
__props__.__dict__["export_psc"] = export_psc
|
461
519
|
__props__.__dict__["labels"] = labels
|
462
520
|
__props__.__dict__["name"] = name
|
463
521
|
__props__.__dict__["project"] = project
|
@@ -483,6 +541,7 @@ class Hub(pulumi.CustomResource):
|
|
483
541
|
create_time: Optional[pulumi.Input[str]] = None,
|
484
542
|
description: Optional[pulumi.Input[str]] = None,
|
485
543
|
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
544
|
+
export_psc: Optional[pulumi.Input[bool]] = None,
|
486
545
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
487
546
|
name: Optional[pulumi.Input[str]] = None,
|
488
547
|
project: Optional[pulumi.Input[str]] = None,
|
@@ -501,6 +560,7 @@ class Hub(pulumi.CustomResource):
|
|
501
560
|
:param pulumi.Input[str] create_time: Output only. The time the hub was created.
|
502
561
|
:param pulumi.Input[str] description: An optional description of the hub.
|
503
562
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
563
|
+
:param pulumi.Input[bool] export_psc: Whether Private Service Connect transitivity is enabled for the hub. If true, Private Service Connect endpoints in VPC spokes attached to the hub are made accessible to other VPC spokes attached to the hub. The default value is false.
|
504
564
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Optional labels in key:value format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
|
505
565
|
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
506
566
|
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
@@ -525,6 +585,7 @@ class Hub(pulumi.CustomResource):
|
|
525
585
|
__props__.__dict__["create_time"] = create_time
|
526
586
|
__props__.__dict__["description"] = description
|
527
587
|
__props__.__dict__["effective_labels"] = effective_labels
|
588
|
+
__props__.__dict__["export_psc"] = export_psc
|
528
589
|
__props__.__dict__["labels"] = labels
|
529
590
|
__props__.__dict__["name"] = name
|
530
591
|
__props__.__dict__["project"] = project
|
@@ -559,6 +620,14 @@ class Hub(pulumi.CustomResource):
|
|
559
620
|
"""
|
560
621
|
return pulumi.get(self, "effective_labels")
|
561
622
|
|
623
|
+
@property
|
624
|
+
@pulumi.getter(name="exportPsc")
|
625
|
+
def export_psc(self) -> pulumi.Output[bool]:
|
626
|
+
"""
|
627
|
+
Whether Private Service Connect transitivity is enabled for the hub. If true, Private Service Connect endpoints in VPC spokes attached to the hub are made accessible to other VPC spokes attached to the hub. The default value is false.
|
628
|
+
"""
|
629
|
+
return pulumi.get(self, "export_psc")
|
630
|
+
|
562
631
|
@property
|
563
632
|
@pulumi.getter
|
564
633
|
def labels(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
@@ -54,7 +54,7 @@ class ProjectArgs:
|
|
54
54
|
organization.
|
55
55
|
:param pulumi.Input[str] project_id: The project ID. Changing this forces a new project to be created.
|
56
56
|
:param pulumi.Input[bool] skip_delete: If true, the resource can be deleted
|
57
|
-
without deleting the Project via the Google API.
|
57
|
+
without deleting the Project via the Google API. `skip_delete` is deprecated and will be removed in a future major release. The new release adds support for `deletion_policy` instead.
|
58
58
|
"""
|
59
59
|
if auto_create_network is not None:
|
60
60
|
pulumi.set(__self__, "auto_create_network", auto_create_network)
|
@@ -70,6 +70,9 @@ class ProjectArgs:
|
|
70
70
|
pulumi.set(__self__, "org_id", org_id)
|
71
71
|
if project_id is not None:
|
72
72
|
pulumi.set(__self__, "project_id", project_id)
|
73
|
+
if skip_delete is not None:
|
74
|
+
warnings.warn("""skip_delete is deprecated and will be removed in a future major release. The new release adds support for deletion_policy instead.""", DeprecationWarning)
|
75
|
+
pulumi.log.warn("""skip_delete is deprecated: skip_delete is deprecated and will be removed in a future major release. The new release adds support for deletion_policy instead.""")
|
73
76
|
if skip_delete is not None:
|
74
77
|
pulumi.set(__self__, "skip_delete", skip_delete)
|
75
78
|
|
@@ -176,10 +179,11 @@ class ProjectArgs:
|
|
176
179
|
|
177
180
|
@property
|
178
181
|
@pulumi.getter(name="skipDelete")
|
182
|
+
@_utilities.deprecated("""skip_delete is deprecated and will be removed in a future major release. The new release adds support for deletion_policy instead.""")
|
179
183
|
def skip_delete(self) -> Optional[pulumi.Input[bool]]:
|
180
184
|
"""
|
181
185
|
If true, the resource can be deleted
|
182
|
-
without deleting the Project via the Google API.
|
186
|
+
without deleting the Project via the Google API. `skip_delete` is deprecated and will be removed in a future major release. The new release adds support for `deletion_policy` instead.
|
183
187
|
"""
|
184
188
|
return pulumi.get(self, "skip_delete")
|
185
189
|
|
@@ -232,7 +236,7 @@ class _ProjectState:
|
|
232
236
|
:param pulumi.Input[str] project_id: The project ID. Changing this forces a new project to be created.
|
233
237
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource and default labels configured on the provider.
|
234
238
|
:param pulumi.Input[bool] skip_delete: If true, the resource can be deleted
|
235
|
-
without deleting the Project via the Google API.
|
239
|
+
without deleting the Project via the Google API. `skip_delete` is deprecated and will be removed in a future major release. The new release adds support for `deletion_policy` instead.
|
236
240
|
"""
|
237
241
|
if auto_create_network is not None:
|
238
242
|
pulumi.set(__self__, "auto_create_network", auto_create_network)
|
@@ -254,6 +258,9 @@ class _ProjectState:
|
|
254
258
|
pulumi.set(__self__, "project_id", project_id)
|
255
259
|
if pulumi_labels is not None:
|
256
260
|
pulumi.set(__self__, "pulumi_labels", pulumi_labels)
|
261
|
+
if skip_delete is not None:
|
262
|
+
warnings.warn("""skip_delete is deprecated and will be removed in a future major release. The new release adds support for deletion_policy instead.""", DeprecationWarning)
|
263
|
+
pulumi.log.warn("""skip_delete is deprecated: skip_delete is deprecated and will be removed in a future major release. The new release adds support for deletion_policy instead.""")
|
257
264
|
if skip_delete is not None:
|
258
265
|
pulumi.set(__self__, "skip_delete", skip_delete)
|
259
266
|
|
@@ -396,10 +403,11 @@ class _ProjectState:
|
|
396
403
|
|
397
404
|
@property
|
398
405
|
@pulumi.getter(name="skipDelete")
|
406
|
+
@_utilities.deprecated("""skip_delete is deprecated and will be removed in a future major release. The new release adds support for deletion_policy instead.""")
|
399
407
|
def skip_delete(self) -> Optional[pulumi.Input[bool]]:
|
400
408
|
"""
|
401
409
|
If true, the resource can be deleted
|
402
|
-
without deleting the Project via the Google API.
|
410
|
+
without deleting the Project via the Google API. `skip_delete` is deprecated and will be removed in a future major release. The new release adds support for `deletion_policy` instead.
|
403
411
|
"""
|
404
412
|
return pulumi.get(self, "skip_delete")
|
405
413
|
|
@@ -507,7 +515,7 @@ class Project(pulumi.CustomResource):
|
|
507
515
|
organization.
|
508
516
|
:param pulumi.Input[str] project_id: The project ID. Changing this forces a new project to be created.
|
509
517
|
:param pulumi.Input[bool] skip_delete: If true, the resource can be deleted
|
510
|
-
without deleting the Project via the Google API.
|
518
|
+
without deleting the Project via the Google API. `skip_delete` is deprecated and will be removed in a future major release. The new release adds support for `deletion_policy` instead.
|
511
519
|
"""
|
512
520
|
...
|
513
521
|
@overload
|
@@ -674,7 +682,7 @@ class Project(pulumi.CustomResource):
|
|
674
682
|
:param pulumi.Input[str] project_id: The project ID. Changing this forces a new project to be created.
|
675
683
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource and default labels configured on the provider.
|
676
684
|
:param pulumi.Input[bool] skip_delete: If true, the resource can be deleted
|
677
|
-
without deleting the Project via the Google API.
|
685
|
+
without deleting the Project via the Google API. `skip_delete` is deprecated and will be removed in a future major release. The new release adds support for `deletion_policy` instead.
|
678
686
|
"""
|
679
687
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
680
688
|
|
@@ -792,10 +800,11 @@ class Project(pulumi.CustomResource):
|
|
792
800
|
|
793
801
|
@property
|
794
802
|
@pulumi.getter(name="skipDelete")
|
803
|
+
@_utilities.deprecated("""skip_delete is deprecated and will be removed in a future major release. The new release adds support for deletion_policy instead.""")
|
795
804
|
def skip_delete(self) -> pulumi.Output[bool]:
|
796
805
|
"""
|
797
806
|
If true, the resource can be deleted
|
798
|
-
without deleting the Project via the Google API.
|
807
|
+
without deleting the Project via the Google API. `skip_delete` is deprecated and will be removed in a future major release. The new release adds support for `deletion_policy` instead.
|
799
808
|
"""
|
800
809
|
return pulumi.get(self, "skip_delete")
|
801
810
|
|
pulumi_gcp/pulumi-plugin.json
CHANGED
pulumi_gcp/sql/_inputs.py
CHANGED
@@ -755,7 +755,7 @@ if not MYPY:
|
|
755
755
|
deny_maintenance_period: NotRequired[pulumi.Input['DatabaseInstanceSettingsDenyMaintenancePeriodArgsDict']]
|
756
756
|
disk_autoresize: NotRequired[pulumi.Input[bool]]
|
757
757
|
"""
|
758
|
-
Enables auto-resizing of the storage size. Defaults to `true`.
|
758
|
+
Enables auto-resizing of the storage size. Defaults to `true`. Note that if `disk_size` is set, future `pulumi up` calls will attempt to delete the instance in order to resize the disk to the value specified in disk_size if it has been resized. To avoid this, ensure that `lifecycle.ignore_changes` is applied to `disk_size`.
|
759
759
|
"""
|
760
760
|
disk_autoresize_limit: NotRequired[pulumi.Input[int]]
|
761
761
|
"""
|
@@ -763,7 +763,7 @@ if not MYPY:
|
|
763
763
|
"""
|
764
764
|
disk_size: NotRequired[pulumi.Input[int]]
|
765
765
|
"""
|
766
|
-
The size of data disk, in GB. Size of a running instance cannot be reduced but can be increased. The minimum value is 10GB.
|
766
|
+
The size of data disk, in GB. Size of a running instance cannot be reduced but can be increased. The minimum value is 10GB. Note that this value will override the resizing from `disk_autoresize` if that feature is enabled. To avoid this, set `lifecycle.ignore_changes` on this field.
|
767
767
|
"""
|
768
768
|
disk_type: NotRequired[pulumi.Input[str]]
|
769
769
|
"""
|
@@ -773,6 +773,10 @@ if not MYPY:
|
|
773
773
|
"""
|
774
774
|
The edition of the instance, can be `ENTERPRISE` or `ENTERPRISE_PLUS`.
|
775
775
|
"""
|
776
|
+
enable_dataplex_integration: NotRequired[pulumi.Input[bool]]
|
777
|
+
"""
|
778
|
+
Enables [Cloud SQL instance integration with Dataplex](https://cloud.google.com/sql/docs/mysql/dataplex-catalog-integration). MySQL, Postgres and SQL Server instances are supported for this feature. Defaults to `false`.
|
779
|
+
"""
|
776
780
|
enable_google_ml_integration: NotRequired[pulumi.Input[bool]]
|
777
781
|
"""
|
778
782
|
Enables [Cloud SQL instances to connect to Vertex AI](https://cloud.google.com/sql/docs/postgres/integrate-cloud-sql-with-vertex-ai) and pass requests for real-time predictions and insights. Defaults to `false`.
|
@@ -829,6 +833,7 @@ class DatabaseInstanceSettingsArgs:
|
|
829
833
|
disk_size: Optional[pulumi.Input[int]] = None,
|
830
834
|
disk_type: Optional[pulumi.Input[str]] = None,
|
831
835
|
edition: Optional[pulumi.Input[str]] = None,
|
836
|
+
enable_dataplex_integration: Optional[pulumi.Input[bool]] = None,
|
832
837
|
enable_google_ml_integration: Optional[pulumi.Input[bool]] = None,
|
833
838
|
insights_config: Optional[pulumi.Input['DatabaseInstanceSettingsInsightsConfigArgs']] = None,
|
834
839
|
ip_configuration: Optional[pulumi.Input['DatabaseInstanceSettingsIpConfigurationArgs']] = None,
|
@@ -856,11 +861,12 @@ class DatabaseInstanceSettingsArgs:
|
|
856
861
|
:param pulumi.Input[str] connector_enforcement: Specifies if connections must use Cloud SQL connectors.
|
857
862
|
:param pulumi.Input['DatabaseInstanceSettingsDataCacheConfigArgs'] data_cache_config: Data cache configurations.
|
858
863
|
:param pulumi.Input[bool] deletion_protection_enabled: Configuration to protect against accidental instance deletion.
|
859
|
-
:param pulumi.Input[bool] disk_autoresize: Enables auto-resizing of the storage size. Defaults to `true`.
|
864
|
+
:param pulumi.Input[bool] disk_autoresize: Enables auto-resizing of the storage size. Defaults to `true`. Note that if `disk_size` is set, future `pulumi up` calls will attempt to delete the instance in order to resize the disk to the value specified in disk_size if it has been resized. To avoid this, ensure that `lifecycle.ignore_changes` is applied to `disk_size`.
|
860
865
|
:param pulumi.Input[int] disk_autoresize_limit: The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit.
|
861
|
-
:param pulumi.Input[int] disk_size: The size of data disk, in GB. Size of a running instance cannot be reduced but can be increased. The minimum value is 10GB.
|
866
|
+
:param pulumi.Input[int] disk_size: The size of data disk, in GB. Size of a running instance cannot be reduced but can be increased. The minimum value is 10GB. Note that this value will override the resizing from `disk_autoresize` if that feature is enabled. To avoid this, set `lifecycle.ignore_changes` on this field.
|
862
867
|
:param pulumi.Input[str] disk_type: The type of data disk: PD_SSD or PD_HDD. Defaults to `PD_SSD`.
|
863
868
|
:param pulumi.Input[str] edition: The edition of the instance, can be `ENTERPRISE` or `ENTERPRISE_PLUS`.
|
869
|
+
:param pulumi.Input[bool] enable_dataplex_integration: Enables [Cloud SQL instance integration with Dataplex](https://cloud.google.com/sql/docs/mysql/dataplex-catalog-integration). MySQL, Postgres and SQL Server instances are supported for this feature. Defaults to `false`.
|
864
870
|
:param pulumi.Input[bool] enable_google_ml_integration: Enables [Cloud SQL instances to connect to Vertex AI](https://cloud.google.com/sql/docs/postgres/integrate-cloud-sql-with-vertex-ai) and pass requests for real-time predictions and insights. Defaults to `false`.
|
865
871
|
:param pulumi.Input['DatabaseInstanceSettingsInsightsConfigArgs'] insights_config: Configuration of Query Insights.
|
866
872
|
:param pulumi.Input['DatabaseInstanceSettingsMaintenanceWindowArgs'] maintenance_window: Declares a one-hour maintenance window when an Instance can automatically restart to apply updates. The maintenance window is specified in UTC time.
|
@@ -903,6 +909,8 @@ class DatabaseInstanceSettingsArgs:
|
|
903
909
|
pulumi.set(__self__, "disk_type", disk_type)
|
904
910
|
if edition is not None:
|
905
911
|
pulumi.set(__self__, "edition", edition)
|
912
|
+
if enable_dataplex_integration is not None:
|
913
|
+
pulumi.set(__self__, "enable_dataplex_integration", enable_dataplex_integration)
|
906
914
|
if enable_google_ml_integration is not None:
|
907
915
|
pulumi.set(__self__, "enable_google_ml_integration", enable_google_ml_integration)
|
908
916
|
if insights_config is not None:
|
@@ -1067,7 +1075,7 @@ class DatabaseInstanceSettingsArgs:
|
|
1067
1075
|
@pulumi.getter(name="diskAutoresize")
|
1068
1076
|
def disk_autoresize(self) -> Optional[pulumi.Input[bool]]:
|
1069
1077
|
"""
|
1070
|
-
Enables auto-resizing of the storage size. Defaults to `true`.
|
1078
|
+
Enables auto-resizing of the storage size. Defaults to `true`. Note that if `disk_size` is set, future `pulumi up` calls will attempt to delete the instance in order to resize the disk to the value specified in disk_size if it has been resized. To avoid this, ensure that `lifecycle.ignore_changes` is applied to `disk_size`.
|
1071
1079
|
"""
|
1072
1080
|
return pulumi.get(self, "disk_autoresize")
|
1073
1081
|
|
@@ -1091,7 +1099,7 @@ class DatabaseInstanceSettingsArgs:
|
|
1091
1099
|
@pulumi.getter(name="diskSize")
|
1092
1100
|
def disk_size(self) -> Optional[pulumi.Input[int]]:
|
1093
1101
|
"""
|
1094
|
-
The size of data disk, in GB. Size of a running instance cannot be reduced but can be increased. The minimum value is 10GB.
|
1102
|
+
The size of data disk, in GB. Size of a running instance cannot be reduced but can be increased. The minimum value is 10GB. Note that this value will override the resizing from `disk_autoresize` if that feature is enabled. To avoid this, set `lifecycle.ignore_changes` on this field.
|
1095
1103
|
"""
|
1096
1104
|
return pulumi.get(self, "disk_size")
|
1097
1105
|
|
@@ -1123,6 +1131,18 @@ class DatabaseInstanceSettingsArgs:
|
|
1123
1131
|
def edition(self, value: Optional[pulumi.Input[str]]):
|
1124
1132
|
pulumi.set(self, "edition", value)
|
1125
1133
|
|
1134
|
+
@property
|
1135
|
+
@pulumi.getter(name="enableDataplexIntegration")
|
1136
|
+
def enable_dataplex_integration(self) -> Optional[pulumi.Input[bool]]:
|
1137
|
+
"""
|
1138
|
+
Enables [Cloud SQL instance integration with Dataplex](https://cloud.google.com/sql/docs/mysql/dataplex-catalog-integration). MySQL, Postgres and SQL Server instances are supported for this feature. Defaults to `false`.
|
1139
|
+
"""
|
1140
|
+
return pulumi.get(self, "enable_dataplex_integration")
|
1141
|
+
|
1142
|
+
@enable_dataplex_integration.setter
|
1143
|
+
def enable_dataplex_integration(self, value: Optional[pulumi.Input[bool]]):
|
1144
|
+
pulumi.set(self, "enable_dataplex_integration", value)
|
1145
|
+
|
1126
1146
|
@property
|
1127
1147
|
@pulumi.getter(name="enableGoogleMlIntegration")
|
1128
1148
|
def enable_google_ml_integration(self) -> Optional[pulumi.Input[bool]]:
|
@@ -1609,11 +1629,11 @@ if not MYPY:
|
|
1609
1629
|
class DatabaseInstanceSettingsDenyMaintenancePeriodArgsDict(TypedDict):
|
1610
1630
|
end_date: pulumi.Input[str]
|
1611
1631
|
"""
|
1612
|
-
"deny maintenance period" end date. If the year of the end date is empty, the year of the start date also must be empty. In this case, it means the no maintenance interval recurs every year. The date is in format yyyy-
|
1632
|
+
"deny maintenance period" end date. If the year of the end date is empty, the year of the start date also must be empty. In this case, it means the no maintenance interval recurs every year. The date is in format yyyy-m-dd (the month is without leading zeros)i.e., 2020-1-01, or 2020-11-01, or mm-dd, i.e., 11-01
|
1613
1633
|
"""
|
1614
1634
|
start_date: pulumi.Input[str]
|
1615
1635
|
"""
|
1616
|
-
"deny maintenance period" start date. If the year of the start date is empty, the year of the end date also must be empty. In this case, it means the deny maintenance period recurs every year. The date is in format yyyy-
|
1636
|
+
"deny maintenance period" start date. If the year of the start date is empty, the year of the end date also must be empty. In this case, it means the deny maintenance period recurs every year. The date is in format yyyy-m-dd (the month is without leading zeros)i.e., 2020-1-01, or 2020-11-01, or mm-dd, i.e., 11-01
|
1617
1637
|
"""
|
1618
1638
|
time: pulumi.Input[str]
|
1619
1639
|
"""
|
@@ -1629,8 +1649,8 @@ class DatabaseInstanceSettingsDenyMaintenancePeriodArgs:
|
|
1629
1649
|
start_date: pulumi.Input[str],
|
1630
1650
|
time: pulumi.Input[str]):
|
1631
1651
|
"""
|
1632
|
-
:param pulumi.Input[str] end_date: "deny maintenance period" end date. If the year of the end date is empty, the year of the start date also must be empty. In this case, it means the no maintenance interval recurs every year. The date is in format yyyy-
|
1633
|
-
:param pulumi.Input[str] start_date: "deny maintenance period" start date. If the year of the start date is empty, the year of the end date also must be empty. In this case, it means the deny maintenance period recurs every year. The date is in format yyyy-
|
1652
|
+
:param pulumi.Input[str] end_date: "deny maintenance period" end date. If the year of the end date is empty, the year of the start date also must be empty. In this case, it means the no maintenance interval recurs every year. The date is in format yyyy-m-dd (the month is without leading zeros)i.e., 2020-1-01, or 2020-11-01, or mm-dd, i.e., 11-01
|
1653
|
+
:param pulumi.Input[str] start_date: "deny maintenance period" start date. If the year of the start date is empty, the year of the end date also must be empty. In this case, it means the deny maintenance period recurs every year. The date is in format yyyy-m-dd (the month is without leading zeros)i.e., 2020-1-01, or 2020-11-01, or mm-dd, i.e., 11-01
|
1634
1654
|
:param pulumi.Input[str] time: Time in UTC when the "deny maintenance period" starts on startDate and ends on endDate. The time is in format: HH:mm:SS, i.e., 00:00:00
|
1635
1655
|
"""
|
1636
1656
|
pulumi.set(__self__, "end_date", end_date)
|
@@ -1641,7 +1661,7 @@ class DatabaseInstanceSettingsDenyMaintenancePeriodArgs:
|
|
1641
1661
|
@pulumi.getter(name="endDate")
|
1642
1662
|
def end_date(self) -> pulumi.Input[str]:
|
1643
1663
|
"""
|
1644
|
-
"deny maintenance period" end date. If the year of the end date is empty, the year of the start date also must be empty. In this case, it means the no maintenance interval recurs every year. The date is in format yyyy-
|
1664
|
+
"deny maintenance period" end date. If the year of the end date is empty, the year of the start date also must be empty. In this case, it means the no maintenance interval recurs every year. The date is in format yyyy-m-dd (the month is without leading zeros)i.e., 2020-1-01, or 2020-11-01, or mm-dd, i.e., 11-01
|
1645
1665
|
"""
|
1646
1666
|
return pulumi.get(self, "end_date")
|
1647
1667
|
|
@@ -1653,7 +1673,7 @@ class DatabaseInstanceSettingsDenyMaintenancePeriodArgs:
|
|
1653
1673
|
@pulumi.getter(name="startDate")
|
1654
1674
|
def start_date(self) -> pulumi.Input[str]:
|
1655
1675
|
"""
|
1656
|
-
"deny maintenance period" start date. If the year of the start date is empty, the year of the end date also must be empty. In this case, it means the deny maintenance period recurs every year. The date is in format yyyy-
|
1676
|
+
"deny maintenance period" start date. If the year of the start date is empty, the year of the end date also must be empty. In this case, it means the deny maintenance period recurs every year. The date is in format yyyy-m-dd (the month is without leading zeros)i.e., 2020-1-01, or 2020-11-01, or mm-dd, i.e., 11-01
|
1657
1677
|
"""
|
1658
1678
|
return pulumi.get(self, "start_date")
|
1659
1679
|
|
@@ -1821,7 +1841,7 @@ if not MYPY:
|
|
1821
1841
|
"""
|
1822
1842
|
ssl_mode: NotRequired[pulumi.Input[str]]
|
1823
1843
|
"""
|
1824
|
-
Specify how SSL connection should be enforced in DB connections. This field provides more SSL
|
1844
|
+
Specify how SSL connection should be enforced in DB connections. This field provides more SSL enforcement options compared to `require_ssl`. To change this field, also set the correspoding value in `require_ssl`.
|
1825
1845
|
* For PostgreSQL instances, the value pairs are listed in the [API reference doc](https://cloud.google.com/sql/docs/postgres/admin-api/rest/v1beta4/instances#ipconfiguration) for `ssl_mode` field.
|
1826
1846
|
* For MySQL instances, use the same value pairs as the PostgreSQL instances.
|
1827
1847
|
* For SQL Server instances, set it to `ALLOW_UNENCRYPTED_AND_ENCRYPTED` when `require_ssl=false` and `ENCRYPTED_ONLY` otherwise.
|
@@ -1853,7 +1873,7 @@ class DatabaseInstanceSettingsIpConfigurationArgs:
|
|
1853
1873
|
This setting can be updated, but it cannot be removed after it is set.
|
1854
1874
|
:param pulumi.Input[Sequence[pulumi.Input['DatabaseInstanceSettingsIpConfigurationPscConfigArgs']]] psc_configs: PSC settings for a Cloud SQL instance.
|
1855
1875
|
:param pulumi.Input[bool] require_ssl: Whether SSL connections over IP are enforced or not. To change this field, also set the corresponding value in `ssl_mode`. It will be fully deprecated in a future major release. For now, please use `ssl_mode` with a compatible `require_ssl` value instead.
|
1856
|
-
:param pulumi.Input[str] ssl_mode: Specify how SSL connection should be enforced in DB connections. This field provides more SSL
|
1876
|
+
:param pulumi.Input[str] ssl_mode: Specify how SSL connection should be enforced in DB connections. This field provides more SSL enforcement options compared to `require_ssl`. To change this field, also set the correspoding value in `require_ssl`.
|
1857
1877
|
* For PostgreSQL instances, the value pairs are listed in the [API reference doc](https://cloud.google.com/sql/docs/postgres/admin-api/rest/v1beta4/instances#ipconfiguration) for `ssl_mode` field.
|
1858
1878
|
* For MySQL instances, use the same value pairs as the PostgreSQL instances.
|
1859
1879
|
* For SQL Server instances, set it to `ALLOW_UNENCRYPTED_AND_ENCRYPTED` when `require_ssl=false` and `ENCRYPTED_ONLY` otherwise.
|
@@ -1970,7 +1990,7 @@ class DatabaseInstanceSettingsIpConfigurationArgs:
|
|
1970
1990
|
@pulumi.getter(name="sslMode")
|
1971
1991
|
def ssl_mode(self) -> Optional[pulumi.Input[str]]:
|
1972
1992
|
"""
|
1973
|
-
Specify how SSL connection should be enforced in DB connections. This field provides more SSL
|
1993
|
+
Specify how SSL connection should be enforced in DB connections. This field provides more SSL enforcement options compared to `require_ssl`. To change this field, also set the correspoding value in `require_ssl`.
|
1974
1994
|
* For PostgreSQL instances, the value pairs are listed in the [API reference doc](https://cloud.google.com/sql/docs/postgres/admin-api/rest/v1beta4/instances#ipconfiguration) for `ssl_mode` field.
|
1975
1995
|
* For MySQL instances, use the same value pairs as the PostgreSQL instances.
|
1976
1996
|
* For SQL Server instances, set it to `ALLOW_UNENCRYPTED_AND_ENCRYPTED` when `require_ssl=false` and `ENCRYPTED_ONLY` otherwise.
|