pulumi-gcp 7.35.0__py3-none-any.whl → 7.35.0a1722924350__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/accesscontextmanager/_inputs.py +3 -12
- pulumi_gcp/accesscontextmanager/access_policy.py +18 -18
- pulumi_gcp/accesscontextmanager/outputs.py +2 -8
- pulumi_gcp/bigquery/data_transfer_config.py +0 -52
- pulumi_gcp/compute/_inputs.py +24 -24
- pulumi_gcp/compute/disk.py +0 -75
- pulumi_gcp/compute/get_disk.py +1 -11
- pulumi_gcp/compute/get_hc_vpn_gateway.py +1 -11
- 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 +7 -68
- 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 +2 -10
- pulumi_gcp/kms/key_handle.py +7 -7
- pulumi_gcp/migrationcenter/_inputs.py +129 -21
- pulumi_gcp/migrationcenter/outputs.py +86 -14
- pulumi_gcp/networkconnectivity/hub.py +0 -69
- pulumi_gcp/organizations/project.py +7 -16
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/sql/_inputs.py +15 -35
- pulumi_gcp/sql/outputs.py +14 -50
- {pulumi_gcp-7.35.0.dist-info → pulumi_gcp-7.35.0a1722924350.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.35.0.dist-info → pulumi_gcp-7.35.0a1722924350.dist-info}/RECORD +28 -28
- {pulumi_gcp-7.35.0.dist-info → pulumi_gcp-7.35.0a1722924350.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.35.0.dist-info → pulumi_gcp-7.35.0a1722924350.dist-info}/top_level.txt +0 -0
@@ -22,14 +22,12 @@ __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,
|
26
25
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
27
26
|
name: Optional[pulumi.Input[str]] = None,
|
28
27
|
project: Optional[pulumi.Input[str]] = None):
|
29
28
|
"""
|
30
29
|
The set of arguments for constructing a Hub resource.
|
31
30
|
: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.
|
33
31
|
: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).
|
34
32
|
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
35
33
|
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
@@ -42,8 +40,6 @@ class HubArgs:
|
|
42
40
|
"""
|
43
41
|
if description is not None:
|
44
42
|
pulumi.set(__self__, "description", description)
|
45
|
-
if export_psc is not None:
|
46
|
-
pulumi.set(__self__, "export_psc", export_psc)
|
47
43
|
if labels is not None:
|
48
44
|
pulumi.set(__self__, "labels", labels)
|
49
45
|
if name is not None:
|
@@ -63,18 +59,6 @@ class HubArgs:
|
|
63
59
|
def description(self, value: Optional[pulumi.Input[str]]):
|
64
60
|
pulumi.set(self, "description", value)
|
65
61
|
|
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
|
-
|
78
62
|
@property
|
79
63
|
@pulumi.getter
|
80
64
|
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
@@ -124,7 +108,6 @@ class _HubState:
|
|
124
108
|
create_time: Optional[pulumi.Input[str]] = None,
|
125
109
|
description: Optional[pulumi.Input[str]] = None,
|
126
110
|
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
127
|
-
export_psc: Optional[pulumi.Input[bool]] = None,
|
128
111
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
129
112
|
name: Optional[pulumi.Input[str]] = None,
|
130
113
|
project: Optional[pulumi.Input[str]] = None,
|
@@ -138,7 +121,6 @@ class _HubState:
|
|
138
121
|
:param pulumi.Input[str] create_time: Output only. The time the hub was created.
|
139
122
|
:param pulumi.Input[str] description: An optional description of the hub.
|
140
123
|
: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.
|
142
124
|
: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).
|
143
125
|
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
144
126
|
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
@@ -162,8 +144,6 @@ class _HubState:
|
|
162
144
|
pulumi.set(__self__, "description", description)
|
163
145
|
if effective_labels is not None:
|
164
146
|
pulumi.set(__self__, "effective_labels", effective_labels)
|
165
|
-
if export_psc is not None:
|
166
|
-
pulumi.set(__self__, "export_psc", export_psc)
|
167
147
|
if labels is not None:
|
168
148
|
pulumi.set(__self__, "labels", labels)
|
169
149
|
if name is not None:
|
@@ -217,18 +197,6 @@ class _HubState:
|
|
217
197
|
def effective_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
218
198
|
pulumi.set(self, "effective_labels", value)
|
219
199
|
|
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
|
-
|
232
200
|
@property
|
233
201
|
@pulumi.getter
|
234
202
|
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
@@ -340,7 +308,6 @@ class Hub(pulumi.CustomResource):
|
|
340
308
|
resource_name: str,
|
341
309
|
opts: Optional[pulumi.ResourceOptions] = None,
|
342
310
|
description: Optional[pulumi.Input[str]] = None,
|
343
|
-
export_psc: Optional[pulumi.Input[bool]] = None,
|
344
311
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
345
312
|
name: Optional[pulumi.Input[str]] = None,
|
346
313
|
project: Optional[pulumi.Input[str]] = None,
|
@@ -369,17 +336,6 @@ class Hub(pulumi.CustomResource):
|
|
369
336
|
"label-one": "value-one",
|
370
337
|
})
|
371
338
|
```
|
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
|
-
```
|
383
339
|
|
384
340
|
## Import
|
385
341
|
|
@@ -408,7 +364,6 @@ class Hub(pulumi.CustomResource):
|
|
408
364
|
:param str resource_name: The name of the resource.
|
409
365
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
410
366
|
: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.
|
412
367
|
: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).
|
413
368
|
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
414
369
|
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
@@ -449,17 +404,6 @@ class Hub(pulumi.CustomResource):
|
|
449
404
|
"label-one": "value-one",
|
450
405
|
})
|
451
406
|
```
|
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
|
-
```
|
463
407
|
|
464
408
|
## Import
|
465
409
|
|
@@ -501,7 +445,6 @@ class Hub(pulumi.CustomResource):
|
|
501
445
|
resource_name: str,
|
502
446
|
opts: Optional[pulumi.ResourceOptions] = None,
|
503
447
|
description: Optional[pulumi.Input[str]] = None,
|
504
|
-
export_psc: Optional[pulumi.Input[bool]] = None,
|
505
448
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
506
449
|
name: Optional[pulumi.Input[str]] = None,
|
507
450
|
project: Optional[pulumi.Input[str]] = None,
|
@@ -515,7 +458,6 @@ class Hub(pulumi.CustomResource):
|
|
515
458
|
__props__ = HubArgs.__new__(HubArgs)
|
516
459
|
|
517
460
|
__props__.__dict__["description"] = description
|
518
|
-
__props__.__dict__["export_psc"] = export_psc
|
519
461
|
__props__.__dict__["labels"] = labels
|
520
462
|
__props__.__dict__["name"] = name
|
521
463
|
__props__.__dict__["project"] = project
|
@@ -541,7 +483,6 @@ class Hub(pulumi.CustomResource):
|
|
541
483
|
create_time: Optional[pulumi.Input[str]] = None,
|
542
484
|
description: Optional[pulumi.Input[str]] = None,
|
543
485
|
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
544
|
-
export_psc: Optional[pulumi.Input[bool]] = None,
|
545
486
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
546
487
|
name: Optional[pulumi.Input[str]] = None,
|
547
488
|
project: Optional[pulumi.Input[str]] = None,
|
@@ -560,7 +501,6 @@ class Hub(pulumi.CustomResource):
|
|
560
501
|
:param pulumi.Input[str] create_time: Output only. The time the hub was created.
|
561
502
|
:param pulumi.Input[str] description: An optional description of the hub.
|
562
503
|
: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.
|
564
504
|
: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).
|
565
505
|
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
566
506
|
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
@@ -585,7 +525,6 @@ class Hub(pulumi.CustomResource):
|
|
585
525
|
__props__.__dict__["create_time"] = create_time
|
586
526
|
__props__.__dict__["description"] = description
|
587
527
|
__props__.__dict__["effective_labels"] = effective_labels
|
588
|
-
__props__.__dict__["export_psc"] = export_psc
|
589
528
|
__props__.__dict__["labels"] = labels
|
590
529
|
__props__.__dict__["name"] = name
|
591
530
|
__props__.__dict__["project"] = project
|
@@ -620,14 +559,6 @@ class Hub(pulumi.CustomResource):
|
|
620
559
|
"""
|
621
560
|
return pulumi.get(self, "effective_labels")
|
622
561
|
|
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
|
-
|
631
562
|
@property
|
632
563
|
@pulumi.getter
|
633
564
|
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.
|
58
58
|
"""
|
59
59
|
if auto_create_network is not None:
|
60
60
|
pulumi.set(__self__, "auto_create_network", auto_create_network)
|
@@ -70,9 +70,6 @@ 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.""")
|
76
73
|
if skip_delete is not None:
|
77
74
|
pulumi.set(__self__, "skip_delete", skip_delete)
|
78
75
|
|
@@ -179,11 +176,10 @@ class ProjectArgs:
|
|
179
176
|
|
180
177
|
@property
|
181
178
|
@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.""")
|
183
179
|
def skip_delete(self) -> Optional[pulumi.Input[bool]]:
|
184
180
|
"""
|
185
181
|
If true, the resource can be deleted
|
186
|
-
without deleting the Project via the Google API.
|
182
|
+
without deleting the Project via the Google API.
|
187
183
|
"""
|
188
184
|
return pulumi.get(self, "skip_delete")
|
189
185
|
|
@@ -236,7 +232,7 @@ class _ProjectState:
|
|
236
232
|
:param pulumi.Input[str] project_id: The project ID. Changing this forces a new project to be created.
|
237
233
|
: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.
|
238
234
|
:param pulumi.Input[bool] skip_delete: If true, the resource can be deleted
|
239
|
-
without deleting the Project via the Google API.
|
235
|
+
without deleting the Project via the Google API.
|
240
236
|
"""
|
241
237
|
if auto_create_network is not None:
|
242
238
|
pulumi.set(__self__, "auto_create_network", auto_create_network)
|
@@ -258,9 +254,6 @@ class _ProjectState:
|
|
258
254
|
pulumi.set(__self__, "project_id", project_id)
|
259
255
|
if pulumi_labels is not None:
|
260
256
|
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.""")
|
264
257
|
if skip_delete is not None:
|
265
258
|
pulumi.set(__self__, "skip_delete", skip_delete)
|
266
259
|
|
@@ -403,11 +396,10 @@ class _ProjectState:
|
|
403
396
|
|
404
397
|
@property
|
405
398
|
@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.""")
|
407
399
|
def skip_delete(self) -> Optional[pulumi.Input[bool]]:
|
408
400
|
"""
|
409
401
|
If true, the resource can be deleted
|
410
|
-
without deleting the Project via the Google API.
|
402
|
+
without deleting the Project via the Google API.
|
411
403
|
"""
|
412
404
|
return pulumi.get(self, "skip_delete")
|
413
405
|
|
@@ -515,7 +507,7 @@ class Project(pulumi.CustomResource):
|
|
515
507
|
organization.
|
516
508
|
:param pulumi.Input[str] project_id: The project ID. Changing this forces a new project to be created.
|
517
509
|
:param pulumi.Input[bool] skip_delete: If true, the resource can be deleted
|
518
|
-
without deleting the Project via the Google API.
|
510
|
+
without deleting the Project via the Google API.
|
519
511
|
"""
|
520
512
|
...
|
521
513
|
@overload
|
@@ -682,7 +674,7 @@ class Project(pulumi.CustomResource):
|
|
682
674
|
:param pulumi.Input[str] project_id: The project ID. Changing this forces a new project to be created.
|
683
675
|
: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.
|
684
676
|
:param pulumi.Input[bool] skip_delete: If true, the resource can be deleted
|
685
|
-
without deleting the Project via the Google API.
|
677
|
+
without deleting the Project via the Google API.
|
686
678
|
"""
|
687
679
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
688
680
|
|
@@ -800,11 +792,10 @@ class Project(pulumi.CustomResource):
|
|
800
792
|
|
801
793
|
@property
|
802
794
|
@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.""")
|
804
795
|
def skip_delete(self) -> pulumi.Output[bool]:
|
805
796
|
"""
|
806
797
|
If true, the resource can be deleted
|
807
|
-
without deleting the Project via the Google API.
|
798
|
+
without deleting the Project via the Google API.
|
808
799
|
"""
|
809
800
|
return pulumi.get(self, "skip_delete")
|
810
801
|
|
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`.
|
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.
|
767
767
|
"""
|
768
768
|
disk_type: NotRequired[pulumi.Input[str]]
|
769
769
|
"""
|
@@ -773,10 +773,6 @@ 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
|
-
"""
|
780
776
|
enable_google_ml_integration: NotRequired[pulumi.Input[bool]]
|
781
777
|
"""
|
782
778
|
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`.
|
@@ -833,7 +829,6 @@ class DatabaseInstanceSettingsArgs:
|
|
833
829
|
disk_size: Optional[pulumi.Input[int]] = None,
|
834
830
|
disk_type: Optional[pulumi.Input[str]] = None,
|
835
831
|
edition: Optional[pulumi.Input[str]] = None,
|
836
|
-
enable_dataplex_integration: Optional[pulumi.Input[bool]] = None,
|
837
832
|
enable_google_ml_integration: Optional[pulumi.Input[bool]] = None,
|
838
833
|
insights_config: Optional[pulumi.Input['DatabaseInstanceSettingsInsightsConfigArgs']] = None,
|
839
834
|
ip_configuration: Optional[pulumi.Input['DatabaseInstanceSettingsIpConfigurationArgs']] = None,
|
@@ -861,12 +856,11 @@ class DatabaseInstanceSettingsArgs:
|
|
861
856
|
:param pulumi.Input[str] connector_enforcement: Specifies if connections must use Cloud SQL connectors.
|
862
857
|
:param pulumi.Input['DatabaseInstanceSettingsDataCacheConfigArgs'] data_cache_config: Data cache configurations.
|
863
858
|
:param pulumi.Input[bool] deletion_protection_enabled: Configuration to protect against accidental instance deletion.
|
864
|
-
:param pulumi.Input[bool] disk_autoresize: Enables auto-resizing of the storage size. Defaults to `true`.
|
859
|
+
:param pulumi.Input[bool] disk_autoresize: Enables auto-resizing of the storage size. Defaults to `true`.
|
865
860
|
: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.
|
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.
|
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.
|
867
862
|
:param pulumi.Input[str] disk_type: The type of data disk: PD_SSD or PD_HDD. Defaults to `PD_SSD`.
|
868
863
|
: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`.
|
870
864
|
: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`.
|
871
865
|
:param pulumi.Input['DatabaseInstanceSettingsInsightsConfigArgs'] insights_config: Configuration of Query Insights.
|
872
866
|
: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.
|
@@ -909,8 +903,6 @@ class DatabaseInstanceSettingsArgs:
|
|
909
903
|
pulumi.set(__self__, "disk_type", disk_type)
|
910
904
|
if edition is not None:
|
911
905
|
pulumi.set(__self__, "edition", edition)
|
912
|
-
if enable_dataplex_integration is not None:
|
913
|
-
pulumi.set(__self__, "enable_dataplex_integration", enable_dataplex_integration)
|
914
906
|
if enable_google_ml_integration is not None:
|
915
907
|
pulumi.set(__self__, "enable_google_ml_integration", enable_google_ml_integration)
|
916
908
|
if insights_config is not None:
|
@@ -1075,7 +1067,7 @@ class DatabaseInstanceSettingsArgs:
|
|
1075
1067
|
@pulumi.getter(name="diskAutoresize")
|
1076
1068
|
def disk_autoresize(self) -> Optional[pulumi.Input[bool]]:
|
1077
1069
|
"""
|
1078
|
-
Enables auto-resizing of the storage size. Defaults to `true`.
|
1070
|
+
Enables auto-resizing of the storage size. Defaults to `true`.
|
1079
1071
|
"""
|
1080
1072
|
return pulumi.get(self, "disk_autoresize")
|
1081
1073
|
|
@@ -1099,7 +1091,7 @@ class DatabaseInstanceSettingsArgs:
|
|
1099
1091
|
@pulumi.getter(name="diskSize")
|
1100
1092
|
def disk_size(self) -> Optional[pulumi.Input[int]]:
|
1101
1093
|
"""
|
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.
|
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.
|
1103
1095
|
"""
|
1104
1096
|
return pulumi.get(self, "disk_size")
|
1105
1097
|
|
@@ -1131,18 +1123,6 @@ class DatabaseInstanceSettingsArgs:
|
|
1131
1123
|
def edition(self, value: Optional[pulumi.Input[str]]):
|
1132
1124
|
pulumi.set(self, "edition", value)
|
1133
1125
|
|
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
|
-
|
1146
1126
|
@property
|
1147
1127
|
@pulumi.getter(name="enableGoogleMlIntegration")
|
1148
1128
|
def enable_google_ml_integration(self) -> Optional[pulumi.Input[bool]]:
|
@@ -1629,11 +1609,11 @@ if not MYPY:
|
|
1629
1609
|
class DatabaseInstanceSettingsDenyMaintenancePeriodArgsDict(TypedDict):
|
1630
1610
|
end_date: pulumi.Input[str]
|
1631
1611
|
"""
|
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-
|
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-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01
|
1633
1613
|
"""
|
1634
1614
|
start_date: pulumi.Input[str]
|
1635
1615
|
"""
|
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-
|
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-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01
|
1637
1617
|
"""
|
1638
1618
|
time: pulumi.Input[str]
|
1639
1619
|
"""
|
@@ -1649,8 +1629,8 @@ class DatabaseInstanceSettingsDenyMaintenancePeriodArgs:
|
|
1649
1629
|
start_date: pulumi.Input[str],
|
1650
1630
|
time: pulumi.Input[str]):
|
1651
1631
|
"""
|
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-
|
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-
|
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-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01
|
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-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01
|
1654
1634
|
: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
|
1655
1635
|
"""
|
1656
1636
|
pulumi.set(__self__, "end_date", end_date)
|
@@ -1661,7 +1641,7 @@ class DatabaseInstanceSettingsDenyMaintenancePeriodArgs:
|
|
1661
1641
|
@pulumi.getter(name="endDate")
|
1662
1642
|
def end_date(self) -> pulumi.Input[str]:
|
1663
1643
|
"""
|
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-
|
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-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01
|
1665
1645
|
"""
|
1666
1646
|
return pulumi.get(self, "end_date")
|
1667
1647
|
|
@@ -1673,7 +1653,7 @@ class DatabaseInstanceSettingsDenyMaintenancePeriodArgs:
|
|
1673
1653
|
@pulumi.getter(name="startDate")
|
1674
1654
|
def start_date(self) -> pulumi.Input[str]:
|
1675
1655
|
"""
|
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-
|
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-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01
|
1677
1657
|
"""
|
1678
1658
|
return pulumi.get(self, "start_date")
|
1679
1659
|
|
@@ -1841,7 +1821,7 @@ if not MYPY:
|
|
1841
1821
|
"""
|
1842
1822
|
ssl_mode: NotRequired[pulumi.Input[str]]
|
1843
1823
|
"""
|
1844
|
-
Specify how SSL connection should be enforced in DB connections. This field provides more SSL
|
1824
|
+
Specify how SSL connection should be enforced in DB connections. This field provides more SSL enforcment options compared to `require_ssl`. To change this field, also set the correspoding value in `require_ssl`.
|
1845
1825
|
* 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.
|
1846
1826
|
* For MySQL instances, use the same value pairs as the PostgreSQL instances.
|
1847
1827
|
* For SQL Server instances, set it to `ALLOW_UNENCRYPTED_AND_ENCRYPTED` when `require_ssl=false` and `ENCRYPTED_ONLY` otherwise.
|
@@ -1873,7 +1853,7 @@ class DatabaseInstanceSettingsIpConfigurationArgs:
|
|
1873
1853
|
This setting can be updated, but it cannot be removed after it is set.
|
1874
1854
|
:param pulumi.Input[Sequence[pulumi.Input['DatabaseInstanceSettingsIpConfigurationPscConfigArgs']]] psc_configs: PSC settings for a Cloud SQL instance.
|
1875
1855
|
: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.
|
1876
|
-
:param pulumi.Input[str] ssl_mode: Specify how SSL connection should be enforced in DB connections. This field provides more SSL
|
1856
|
+
:param pulumi.Input[str] ssl_mode: Specify how SSL connection should be enforced in DB connections. This field provides more SSL enforcment options compared to `require_ssl`. To change this field, also set the correspoding value in `require_ssl`.
|
1877
1857
|
* 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.
|
1878
1858
|
* For MySQL instances, use the same value pairs as the PostgreSQL instances.
|
1879
1859
|
* For SQL Server instances, set it to `ALLOW_UNENCRYPTED_AND_ENCRYPTED` when `require_ssl=false` and `ENCRYPTED_ONLY` otherwise.
|
@@ -1990,7 +1970,7 @@ class DatabaseInstanceSettingsIpConfigurationArgs:
|
|
1990
1970
|
@pulumi.getter(name="sslMode")
|
1991
1971
|
def ssl_mode(self) -> Optional[pulumi.Input[str]]:
|
1992
1972
|
"""
|
1993
|
-
Specify how SSL connection should be enforced in DB connections. This field provides more SSL
|
1973
|
+
Specify how SSL connection should be enforced in DB connections. This field provides more SSL enforcment options compared to `require_ssl`. To change this field, also set the correspoding value in `require_ssl`.
|
1994
1974
|
* 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.
|
1995
1975
|
* For MySQL instances, use the same value pairs as the PostgreSQL instances.
|
1996
1976
|
* For SQL Server instances, set it to `ALLOW_UNENCRYPTED_AND_ENCRYPTED` when `require_ssl=false` and `ENCRYPTED_ONLY` otherwise.
|