pulumi-gcp 8.12.0__py3-none-any.whl → 8.12.0a1734454126__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 +0 -32
- pulumi_gcp/accesscontextmanager/_inputs.py +29 -0
- pulumi_gcp/accesscontextmanager/outputs.py +18 -0
- pulumi_gcp/accesscontextmanager/service_perimeter.py +36 -0
- pulumi_gcp/artifactregistry/get_repository_iam_policy.py +4 -12
- pulumi_gcp/artifactregistry/repository.py +39 -86
- pulumi_gcp/artifactregistry/repository_iam_binding.py +14 -42
- pulumi_gcp/artifactregistry/repository_iam_member.py +14 -42
- pulumi_gcp/artifactregistry/repository_iam_policy.py +14 -42
- pulumi_gcp/compute/get_global_forwarding_rule.py +1 -12
- pulumi_gcp/compute/global_forwarding_rule.py +2 -114
- pulumi_gcp/compute/project_cloud_armor_tier.py +7 -7
- pulumi_gcp/firebase/_inputs.py +0 -99
- pulumi_gcp/firebase/database_instance.py +6 -24
- pulumi_gcp/firebase/hosting_version.py +0 -96
- pulumi_gcp/firebase/outputs.py +0 -59
- pulumi_gcp/firebase/project.py +6 -6
- pulumi_gcp/identityplatform/_inputs.py +6 -6
- pulumi_gcp/identityplatform/config.py +2 -2
- pulumi_gcp/identityplatform/outputs.py +4 -4
- pulumi_gcp/looker/instance.py +14 -35
- pulumi_gcp/networkconnectivity/_inputs.py +12 -10
- pulumi_gcp/networkconnectivity/outputs.py +8 -6
- pulumi_gcp/networksecurity/__init__.py +0 -3
- pulumi_gcp/networksecurity/_inputs.py +0 -1903
- pulumi_gcp/networksecurity/outputs.py +0 -1393
- pulumi_gcp/networkservices/__init__.py +0 -1
- pulumi_gcp/oracledatabase/autonomous_database.py +4 -4
- pulumi_gcp/orgpolicy/_inputs.py +0 -40
- pulumi_gcp/orgpolicy/outputs.py +0 -24
- pulumi_gcp/orgpolicy/policy.py +8 -64
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/sql/_inputs.py +3 -3
- pulumi_gcp/sql/database_instance.py +14 -14
- pulumi_gcp/sql/outputs.py +2 -2
- pulumi_gcp/storage/_inputs.py +6 -53
- pulumi_gcp/storage/outputs.py +4 -33
- pulumi_gcp/tpu/_inputs.py +18 -26
- pulumi_gcp/tpu/outputs.py +12 -18
- pulumi_gcp/tpu/v2_vm.py +0 -63
- {pulumi_gcp-8.12.0.dist-info → pulumi_gcp-8.12.0a1734454126.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.12.0.dist-info → pulumi_gcp-8.12.0a1734454126.dist-info}/RECORD +44 -48
- pulumi_gcp/networksecurity/authz_policy.py +0 -1008
- pulumi_gcp/networksecurity/intercept_deployment.py +0 -846
- pulumi_gcp/networksecurity/intercept_deployment_group.py +0 -752
- pulumi_gcp/networkservices/authz_extension.py +0 -1080
- {pulumi_gcp-8.12.0.dist-info → pulumi_gcp-8.12.0a1734454126.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.12.0.dist-info → pulumi_gcp-8.12.0a1734454126.dist-info}/top_level.txt +0 -0
@@ -526,7 +526,7 @@ class AutonomousDatabase(pulumi.CustomResource):
|
|
526
526
|
autonomous_database_id="my-instance",
|
527
527
|
location="us-east4",
|
528
528
|
project="my-project",
|
529
|
-
database="
|
529
|
+
database="testdb",
|
530
530
|
admin_password="123Abpassword",
|
531
531
|
network=default.id,
|
532
532
|
cidr="10.5.0.0/24",
|
@@ -552,7 +552,7 @@ class AutonomousDatabase(pulumi.CustomResource):
|
|
552
552
|
location="us-east4",
|
553
553
|
project="my-project",
|
554
554
|
display_name="autonomousDatabase displayname",
|
555
|
-
database="
|
555
|
+
database="testdatabase",
|
556
556
|
admin_password="123Abpassword",
|
557
557
|
network=default.id,
|
558
558
|
cidr="10.5.0.0/24",
|
@@ -657,7 +657,7 @@ class AutonomousDatabase(pulumi.CustomResource):
|
|
657
657
|
autonomous_database_id="my-instance",
|
658
658
|
location="us-east4",
|
659
659
|
project="my-project",
|
660
|
-
database="
|
660
|
+
database="testdb",
|
661
661
|
admin_password="123Abpassword",
|
662
662
|
network=default.id,
|
663
663
|
cidr="10.5.0.0/24",
|
@@ -683,7 +683,7 @@ class AutonomousDatabase(pulumi.CustomResource):
|
|
683
683
|
location="us-east4",
|
684
684
|
project="my-project",
|
685
685
|
display_name="autonomousDatabase displayname",
|
686
|
-
database="
|
686
|
+
database="testdatabase",
|
687
687
|
admin_password="123Abpassword",
|
688
688
|
network=default.id,
|
689
689
|
cidr="10.5.0.0/24",
|
pulumi_gcp/orgpolicy/_inputs.py
CHANGED
@@ -175,10 +175,6 @@ if not MYPY:
|
|
175
175
|
"""
|
176
176
|
If `"TRUE"`, then the `Policy` is enforced. If `"FALSE"`, then any configuration is acceptable. This field can be set only in Policies for boolean constraints.
|
177
177
|
"""
|
178
|
-
parameters: NotRequired[pulumi.Input[str]]
|
179
|
-
"""
|
180
|
-
Optional. Required for Managed Constraints if parameters defined in constraints. Pass parameter values when policy enforcement is enabled. Ensure that parameter value types match those defined in the constraint definition. For example: { \\"allowedLocations\\" : [\\"us-east1\\", \\"us-west1\\"], \\"allowAll\\" : true }
|
181
|
-
"""
|
182
178
|
values: NotRequired[pulumi.Input['PolicyDryRunSpecRuleValuesArgsDict']]
|
183
179
|
"""
|
184
180
|
List of values to be used for this policy rule. This field can be set only in policies for list constraints.
|
@@ -194,7 +190,6 @@ class PolicyDryRunSpecRuleArgs:
|
|
194
190
|
condition: Optional[pulumi.Input['PolicyDryRunSpecRuleConditionArgs']] = None,
|
195
191
|
deny_all: Optional[pulumi.Input[str]] = None,
|
196
192
|
enforce: Optional[pulumi.Input[str]] = None,
|
197
|
-
parameters: Optional[pulumi.Input[str]] = None,
|
198
193
|
values: Optional[pulumi.Input['PolicyDryRunSpecRuleValuesArgs']] = None):
|
199
194
|
"""
|
200
195
|
:param pulumi.Input[str] allow_all: Setting this to `"TRUE"` means that all values are allowed. This field can be set only in Policies for list constraints.
|
@@ -202,7 +197,6 @@ class PolicyDryRunSpecRuleArgs:
|
|
202
197
|
Structure is documented below.
|
203
198
|
:param pulumi.Input[str] deny_all: Setting this to `"TRUE"` means that all values are denied. This field can be set only in Policies for list constraints.
|
204
199
|
:param pulumi.Input[str] enforce: If `"TRUE"`, then the `Policy` is enforced. If `"FALSE"`, then any configuration is acceptable. This field can be set only in Policies for boolean constraints.
|
205
|
-
:param pulumi.Input[str] parameters: Optional. Required for Managed Constraints if parameters defined in constraints. Pass parameter values when policy enforcement is enabled. Ensure that parameter value types match those defined in the constraint definition. For example: { \\"allowedLocations\\" : [\\"us-east1\\", \\"us-west1\\"], \\"allowAll\\" : true }
|
206
200
|
:param pulumi.Input['PolicyDryRunSpecRuleValuesArgs'] values: List of values to be used for this policy rule. This field can be set only in policies for list constraints.
|
207
201
|
Structure is documented below.
|
208
202
|
"""
|
@@ -214,8 +208,6 @@ class PolicyDryRunSpecRuleArgs:
|
|
214
208
|
pulumi.set(__self__, "deny_all", deny_all)
|
215
209
|
if enforce is not None:
|
216
210
|
pulumi.set(__self__, "enforce", enforce)
|
217
|
-
if parameters is not None:
|
218
|
-
pulumi.set(__self__, "parameters", parameters)
|
219
211
|
if values is not None:
|
220
212
|
pulumi.set(__self__, "values", values)
|
221
213
|
|
@@ -268,18 +260,6 @@ class PolicyDryRunSpecRuleArgs:
|
|
268
260
|
def enforce(self, value: Optional[pulumi.Input[str]]):
|
269
261
|
pulumi.set(self, "enforce", value)
|
270
262
|
|
271
|
-
@property
|
272
|
-
@pulumi.getter
|
273
|
-
def parameters(self) -> Optional[pulumi.Input[str]]:
|
274
|
-
"""
|
275
|
-
Optional. Required for Managed Constraints if parameters defined in constraints. Pass parameter values when policy enforcement is enabled. Ensure that parameter value types match those defined in the constraint definition. For example: { \\"allowedLocations\\" : [\\"us-east1\\", \\"us-west1\\"], \\"allowAll\\" : true }
|
276
|
-
"""
|
277
|
-
return pulumi.get(self, "parameters")
|
278
|
-
|
279
|
-
@parameters.setter
|
280
|
-
def parameters(self, value: Optional[pulumi.Input[str]]):
|
281
|
-
pulumi.set(self, "parameters", value)
|
282
|
-
|
283
263
|
@property
|
284
264
|
@pulumi.getter
|
285
265
|
def values(self) -> Optional[pulumi.Input['PolicyDryRunSpecRuleValuesArgs']]:
|
@@ -578,10 +558,6 @@ if not MYPY:
|
|
578
558
|
"""
|
579
559
|
If `"TRUE"`, then the `Policy` is enforced. If `"FALSE"`, then any configuration is acceptable. This field can be set only in Policies for boolean constraints.
|
580
560
|
"""
|
581
|
-
parameters: NotRequired[pulumi.Input[str]]
|
582
|
-
"""
|
583
|
-
Optional. Required for Managed Constraints if parameters defined in constraints. Pass parameter values when policy enforcement is enabled. Ensure that parameter value types match those defined in the constraint definition. For example: { \\"allowedLocations\\" : [\\"us-east1\\", \\"us-west1\\"], \\"allowAll\\" : true }
|
584
|
-
"""
|
585
561
|
values: NotRequired[pulumi.Input['PolicySpecRuleValuesArgsDict']]
|
586
562
|
"""
|
587
563
|
List of values to be used for this policy rule. This field can be set only in policies for list constraints.
|
@@ -597,7 +573,6 @@ class PolicySpecRuleArgs:
|
|
597
573
|
condition: Optional[pulumi.Input['PolicySpecRuleConditionArgs']] = None,
|
598
574
|
deny_all: Optional[pulumi.Input[str]] = None,
|
599
575
|
enforce: Optional[pulumi.Input[str]] = None,
|
600
|
-
parameters: Optional[pulumi.Input[str]] = None,
|
601
576
|
values: Optional[pulumi.Input['PolicySpecRuleValuesArgs']] = None):
|
602
577
|
"""
|
603
578
|
:param pulumi.Input[str] allow_all: Setting this to `"TRUE"` means that all values are allowed. This field can be set only in Policies for list constraints.
|
@@ -605,7 +580,6 @@ class PolicySpecRuleArgs:
|
|
605
580
|
Structure is documented below.
|
606
581
|
:param pulumi.Input[str] deny_all: Setting this to `"TRUE"` means that all values are denied. This field can be set only in Policies for list constraints.
|
607
582
|
:param pulumi.Input[str] enforce: If `"TRUE"`, then the `Policy` is enforced. If `"FALSE"`, then any configuration is acceptable. This field can be set only in Policies for boolean constraints.
|
608
|
-
:param pulumi.Input[str] parameters: Optional. Required for Managed Constraints if parameters defined in constraints. Pass parameter values when policy enforcement is enabled. Ensure that parameter value types match those defined in the constraint definition. For example: { \\"allowedLocations\\" : [\\"us-east1\\", \\"us-west1\\"], \\"allowAll\\" : true }
|
609
583
|
:param pulumi.Input['PolicySpecRuleValuesArgs'] values: List of values to be used for this policy rule. This field can be set only in policies for list constraints.
|
610
584
|
Structure is documented below.
|
611
585
|
"""
|
@@ -617,8 +591,6 @@ class PolicySpecRuleArgs:
|
|
617
591
|
pulumi.set(__self__, "deny_all", deny_all)
|
618
592
|
if enforce is not None:
|
619
593
|
pulumi.set(__self__, "enforce", enforce)
|
620
|
-
if parameters is not None:
|
621
|
-
pulumi.set(__self__, "parameters", parameters)
|
622
594
|
if values is not None:
|
623
595
|
pulumi.set(__self__, "values", values)
|
624
596
|
|
@@ -671,18 +643,6 @@ class PolicySpecRuleArgs:
|
|
671
643
|
def enforce(self, value: Optional[pulumi.Input[str]]):
|
672
644
|
pulumi.set(self, "enforce", value)
|
673
645
|
|
674
|
-
@property
|
675
|
-
@pulumi.getter
|
676
|
-
def parameters(self) -> Optional[pulumi.Input[str]]:
|
677
|
-
"""
|
678
|
-
Optional. Required for Managed Constraints if parameters defined in constraints. Pass parameter values when policy enforcement is enabled. Ensure that parameter value types match those defined in the constraint definition. For example: { \\"allowedLocations\\" : [\\"us-east1\\", \\"us-west1\\"], \\"allowAll\\" : true }
|
679
|
-
"""
|
680
|
-
return pulumi.get(self, "parameters")
|
681
|
-
|
682
|
-
@parameters.setter
|
683
|
-
def parameters(self, value: Optional[pulumi.Input[str]]):
|
684
|
-
pulumi.set(self, "parameters", value)
|
685
|
-
|
686
646
|
@property
|
687
647
|
@pulumi.getter
|
688
648
|
def values(self) -> Optional[pulumi.Input['PolicySpecRuleValuesArgs']]:
|
pulumi_gcp/orgpolicy/outputs.py
CHANGED
@@ -144,7 +144,6 @@ class PolicyDryRunSpecRule(dict):
|
|
144
144
|
condition: Optional['outputs.PolicyDryRunSpecRuleCondition'] = None,
|
145
145
|
deny_all: Optional[str] = None,
|
146
146
|
enforce: Optional[str] = None,
|
147
|
-
parameters: Optional[str] = None,
|
148
147
|
values: Optional['outputs.PolicyDryRunSpecRuleValues'] = None):
|
149
148
|
"""
|
150
149
|
:param str allow_all: Setting this to `"TRUE"` means that all values are allowed. This field can be set only in Policies for list constraints.
|
@@ -152,7 +151,6 @@ class PolicyDryRunSpecRule(dict):
|
|
152
151
|
Structure is documented below.
|
153
152
|
:param str deny_all: Setting this to `"TRUE"` means that all values are denied. This field can be set only in Policies for list constraints.
|
154
153
|
:param str enforce: If `"TRUE"`, then the `Policy` is enforced. If `"FALSE"`, then any configuration is acceptable. This field can be set only in Policies for boolean constraints.
|
155
|
-
:param str parameters: Optional. Required for Managed Constraints if parameters defined in constraints. Pass parameter values when policy enforcement is enabled. Ensure that parameter value types match those defined in the constraint definition. For example: { \\"allowedLocations\\" : [\\"us-east1\\", \\"us-west1\\"], \\"allowAll\\" : true }
|
156
154
|
:param 'PolicyDryRunSpecRuleValuesArgs' values: List of values to be used for this policy rule. This field can be set only in policies for list constraints.
|
157
155
|
Structure is documented below.
|
158
156
|
"""
|
@@ -164,8 +162,6 @@ class PolicyDryRunSpecRule(dict):
|
|
164
162
|
pulumi.set(__self__, "deny_all", deny_all)
|
165
163
|
if enforce is not None:
|
166
164
|
pulumi.set(__self__, "enforce", enforce)
|
167
|
-
if parameters is not None:
|
168
|
-
pulumi.set(__self__, "parameters", parameters)
|
169
165
|
if values is not None:
|
170
166
|
pulumi.set(__self__, "values", values)
|
171
167
|
|
@@ -202,14 +198,6 @@ class PolicyDryRunSpecRule(dict):
|
|
202
198
|
"""
|
203
199
|
return pulumi.get(self, "enforce")
|
204
200
|
|
205
|
-
@property
|
206
|
-
@pulumi.getter
|
207
|
-
def parameters(self) -> Optional[str]:
|
208
|
-
"""
|
209
|
-
Optional. Required for Managed Constraints if parameters defined in constraints. Pass parameter values when policy enforcement is enabled. Ensure that parameter value types match those defined in the constraint definition. For example: { \\"allowedLocations\\" : [\\"us-east1\\", \\"us-west1\\"], \\"allowAll\\" : true }
|
210
|
-
"""
|
211
|
-
return pulumi.get(self, "parameters")
|
212
|
-
|
213
201
|
@property
|
214
202
|
@pulumi.getter
|
215
203
|
def values(self) -> Optional['outputs.PolicyDryRunSpecRuleValues']:
|
@@ -443,7 +431,6 @@ class PolicySpecRule(dict):
|
|
443
431
|
condition: Optional['outputs.PolicySpecRuleCondition'] = None,
|
444
432
|
deny_all: Optional[str] = None,
|
445
433
|
enforce: Optional[str] = None,
|
446
|
-
parameters: Optional[str] = None,
|
447
434
|
values: Optional['outputs.PolicySpecRuleValues'] = None):
|
448
435
|
"""
|
449
436
|
:param str allow_all: Setting this to `"TRUE"` means that all values are allowed. This field can be set only in Policies for list constraints.
|
@@ -451,7 +438,6 @@ class PolicySpecRule(dict):
|
|
451
438
|
Structure is documented below.
|
452
439
|
:param str deny_all: Setting this to `"TRUE"` means that all values are denied. This field can be set only in Policies for list constraints.
|
453
440
|
:param str enforce: If `"TRUE"`, then the `Policy` is enforced. If `"FALSE"`, then any configuration is acceptable. This field can be set only in Policies for boolean constraints.
|
454
|
-
:param str parameters: Optional. Required for Managed Constraints if parameters defined in constraints. Pass parameter values when policy enforcement is enabled. Ensure that parameter value types match those defined in the constraint definition. For example: { \\"allowedLocations\\" : [\\"us-east1\\", \\"us-west1\\"], \\"allowAll\\" : true }
|
455
441
|
:param 'PolicySpecRuleValuesArgs' values: List of values to be used for this policy rule. This field can be set only in policies for list constraints.
|
456
442
|
Structure is documented below.
|
457
443
|
"""
|
@@ -463,8 +449,6 @@ class PolicySpecRule(dict):
|
|
463
449
|
pulumi.set(__self__, "deny_all", deny_all)
|
464
450
|
if enforce is not None:
|
465
451
|
pulumi.set(__self__, "enforce", enforce)
|
466
|
-
if parameters is not None:
|
467
|
-
pulumi.set(__self__, "parameters", parameters)
|
468
452
|
if values is not None:
|
469
453
|
pulumi.set(__self__, "values", values)
|
470
454
|
|
@@ -501,14 +485,6 @@ class PolicySpecRule(dict):
|
|
501
485
|
"""
|
502
486
|
return pulumi.get(self, "enforce")
|
503
487
|
|
504
|
-
@property
|
505
|
-
@pulumi.getter
|
506
|
-
def parameters(self) -> Optional[str]:
|
507
|
-
"""
|
508
|
-
Optional. Required for Managed Constraints if parameters defined in constraints. Pass parameter values when policy enforcement is enabled. Ensure that parameter value types match those defined in the constraint definition. For example: { \\"allowedLocations\\" : [\\"us-east1\\", \\"us-west1\\"], \\"allowAll\\" : true }
|
509
|
-
"""
|
510
|
-
return pulumi.get(self, "parameters")
|
511
|
-
|
512
488
|
@property
|
513
489
|
@pulumi.getter
|
514
490
|
def values(self) -> Optional['outputs.PolicySpecRuleValues']:
|
pulumi_gcp/orgpolicy/policy.py
CHANGED
@@ -231,8 +231,8 @@ class Policy(pulumi.CustomResource):
|
|
231
231
|
org_id="123456789",
|
232
232
|
deletion_policy="DELETE")
|
233
233
|
primary = gcp.orgpolicy.Policy("primary",
|
234
|
-
name=basic.
|
235
|
-
parent=basic.
|
234
|
+
name=basic.name.apply(lambda name: f"projects/{name}/policies/iam.disableServiceAccountKeyUpload"),
|
235
|
+
parent=basic.name.apply(lambda name: f"projects/{name}"),
|
236
236
|
spec={
|
237
237
|
"rules": [{
|
238
238
|
"enforce": "FALSE",
|
@@ -284,8 +284,8 @@ class Policy(pulumi.CustomResource):
|
|
284
284
|
org_id="123456789",
|
285
285
|
deletion_policy="DELETE")
|
286
286
|
primary = gcp.orgpolicy.Policy("primary",
|
287
|
-
name=basic.
|
288
|
-
parent=basic.
|
287
|
+
name=basic.name.apply(lambda name: f"projects/{name}/policies/gcp.resourceLocations"),
|
288
|
+
parent=basic.name.apply(lambda name: f"projects/{name}"),
|
289
289
|
spec={
|
290
290
|
"rules": [
|
291
291
|
{
|
@@ -337,34 +337,6 @@ class Policy(pulumi.CustomResource):
|
|
337
337
|
}],
|
338
338
|
})
|
339
339
|
```
|
340
|
-
### Org Policy Policy Parameters Enforce
|
341
|
-
|
342
|
-
```python
|
343
|
-
import pulumi
|
344
|
-
import json
|
345
|
-
import pulumi_gcp as gcp
|
346
|
-
|
347
|
-
basic = gcp.organizations.Project("basic",
|
348
|
-
project_id="id",
|
349
|
-
name="id",
|
350
|
-
org_id="123456789",
|
351
|
-
deletion_policy="DELETE")
|
352
|
-
primary = gcp.orgpolicy.Policy("primary",
|
353
|
-
name=basic.name.apply(lambda name: f"projects/{name}/policies/compute.managed.restrictDiskCreation"),
|
354
|
-
parent=basic.name.apply(lambda name: f"projects/{name}"),
|
355
|
-
spec={
|
356
|
-
"rules": [{
|
357
|
-
"enforce": "TRUE",
|
358
|
-
"parameters": json.dumps({
|
359
|
-
"isSizeLimitCheck": True,
|
360
|
-
"allowedDiskTypes": [
|
361
|
-
"pd-ssd",
|
362
|
-
"pd-standard",
|
363
|
-
],
|
364
|
-
}),
|
365
|
-
}],
|
366
|
-
})
|
367
|
-
```
|
368
340
|
|
369
341
|
## Import
|
370
342
|
|
@@ -420,8 +392,8 @@ class Policy(pulumi.CustomResource):
|
|
420
392
|
org_id="123456789",
|
421
393
|
deletion_policy="DELETE")
|
422
394
|
primary = gcp.orgpolicy.Policy("primary",
|
423
|
-
name=basic.
|
424
|
-
parent=basic.
|
395
|
+
name=basic.name.apply(lambda name: f"projects/{name}/policies/iam.disableServiceAccountKeyUpload"),
|
396
|
+
parent=basic.name.apply(lambda name: f"projects/{name}"),
|
425
397
|
spec={
|
426
398
|
"rules": [{
|
427
399
|
"enforce": "FALSE",
|
@@ -473,8 +445,8 @@ class Policy(pulumi.CustomResource):
|
|
473
445
|
org_id="123456789",
|
474
446
|
deletion_policy="DELETE")
|
475
447
|
primary = gcp.orgpolicy.Policy("primary",
|
476
|
-
name=basic.
|
477
|
-
parent=basic.
|
448
|
+
name=basic.name.apply(lambda name: f"projects/{name}/policies/gcp.resourceLocations"),
|
449
|
+
parent=basic.name.apply(lambda name: f"projects/{name}"),
|
478
450
|
spec={
|
479
451
|
"rules": [
|
480
452
|
{
|
@@ -526,34 +498,6 @@ class Policy(pulumi.CustomResource):
|
|
526
498
|
}],
|
527
499
|
})
|
528
500
|
```
|
529
|
-
### Org Policy Policy Parameters Enforce
|
530
|
-
|
531
|
-
```python
|
532
|
-
import pulumi
|
533
|
-
import json
|
534
|
-
import pulumi_gcp as gcp
|
535
|
-
|
536
|
-
basic = gcp.organizations.Project("basic",
|
537
|
-
project_id="id",
|
538
|
-
name="id",
|
539
|
-
org_id="123456789",
|
540
|
-
deletion_policy="DELETE")
|
541
|
-
primary = gcp.orgpolicy.Policy("primary",
|
542
|
-
name=basic.name.apply(lambda name: f"projects/{name}/policies/compute.managed.restrictDiskCreation"),
|
543
|
-
parent=basic.name.apply(lambda name: f"projects/{name}"),
|
544
|
-
spec={
|
545
|
-
"rules": [{
|
546
|
-
"enforce": "TRUE",
|
547
|
-
"parameters": json.dumps({
|
548
|
-
"isSizeLimitCheck": True,
|
549
|
-
"allowedDiskTypes": [
|
550
|
-
"pd-ssd",
|
551
|
-
"pd-standard",
|
552
|
-
],
|
553
|
-
}),
|
554
|
-
}],
|
555
|
-
})
|
556
|
-
```
|
557
501
|
|
558
502
|
## Import
|
559
503
|
|
pulumi_gcp/pulumi-plugin.json
CHANGED
pulumi_gcp/sql/_inputs.py
CHANGED
@@ -772,7 +772,7 @@ if not MYPY:
|
|
772
772
|
"""
|
773
773
|
connector_enforcement: NotRequired[pulumi.Input[str]]
|
774
774
|
"""
|
775
|
-
|
775
|
+
Enables the enforcement of Cloud SQL Auth Proxy or Cloud SQL connectors for all the connections. If enabled, all the direct connections are rejected.
|
776
776
|
"""
|
777
777
|
data_cache_config: NotRequired[pulumi.Input['DatabaseInstanceSettingsDataCacheConfigArgsDict']]
|
778
778
|
"""
|
@@ -889,7 +889,7 @@ class DatabaseInstanceSettingsArgs:
|
|
889
889
|
For Postgres and SQL Server instances, ensure that `settings.backup_configuration.point_in_time_recovery_enabled`
|
890
890
|
is set to `true`. Defaults to `ZONAL`.
|
891
891
|
:param pulumi.Input[str] collation: The name of server instance collation.
|
892
|
-
:param pulumi.Input[str] connector_enforcement:
|
892
|
+
:param pulumi.Input[str] connector_enforcement: Enables the enforcement of Cloud SQL Auth Proxy or Cloud SQL connectors for all the connections. If enabled, all the direct connections are rejected.
|
893
893
|
:param pulumi.Input['DatabaseInstanceSettingsDataCacheConfigArgs'] data_cache_config: Data cache configurations.
|
894
894
|
:param pulumi.Input[bool] deletion_protection_enabled: Configuration to protect against accidental instance deletion.
|
895
895
|
: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`.
|
@@ -1052,7 +1052,7 @@ class DatabaseInstanceSettingsArgs:
|
|
1052
1052
|
@pulumi.getter(name="connectorEnforcement")
|
1053
1053
|
def connector_enforcement(self) -> Optional[pulumi.Input[str]]:
|
1054
1054
|
"""
|
1055
|
-
|
1055
|
+
Enables the enforcement of Cloud SQL Auth Proxy or Cloud SQL connectors for all the connections. If enabled, all the direct connections are rejected.
|
1056
1056
|
"""
|
1057
1057
|
return pulumi.get(self, "connector_enforcement")
|
1058
1058
|
|
@@ -41,8 +41,8 @@ class DatabaseInstanceArgs:
|
|
41
41
|
:param pulumi.Input[str] database_version: The MySQL, PostgreSQL or
|
42
42
|
SQL Server version to use. Supported values include `MYSQL_5_6`,
|
43
43
|
`MYSQL_5_7`, `MYSQL_8_0`, `POSTGRES_9_6`,`POSTGRES_10`, `POSTGRES_11`,
|
44
|
-
`POSTGRES_12`, `POSTGRES_13`, `POSTGRES_14`, `POSTGRES_15`, `
|
45
|
-
`
|
44
|
+
`POSTGRES_12`, `POSTGRES_13`, `POSTGRES_14`, `POSTGRES_15`, `SQLSERVER_2017_STANDARD`,
|
45
|
+
`SQLSERVER_2017_ENTERPRISE`, `SQLSERVER_2017_EXPRESS`, `SQLSERVER_2017_WEB`.
|
46
46
|
`SQLSERVER_2019_STANDARD`, `SQLSERVER_2019_ENTERPRISE`, `SQLSERVER_2019_EXPRESS`,
|
47
47
|
`SQLSERVER_2019_WEB`.
|
48
48
|
[Database Version Policies](https://cloud.google.com/sql/docs/db-versions)
|
@@ -123,8 +123,8 @@ class DatabaseInstanceArgs:
|
|
123
123
|
The MySQL, PostgreSQL or
|
124
124
|
SQL Server version to use. Supported values include `MYSQL_5_6`,
|
125
125
|
`MYSQL_5_7`, `MYSQL_8_0`, `POSTGRES_9_6`,`POSTGRES_10`, `POSTGRES_11`,
|
126
|
-
`POSTGRES_12`, `POSTGRES_13`, `POSTGRES_14`, `POSTGRES_15`, `
|
127
|
-
`
|
126
|
+
`POSTGRES_12`, `POSTGRES_13`, `POSTGRES_14`, `POSTGRES_15`, `SQLSERVER_2017_STANDARD`,
|
127
|
+
`SQLSERVER_2017_ENTERPRISE`, `SQLSERVER_2017_EXPRESS`, `SQLSERVER_2017_WEB`.
|
128
128
|
`SQLSERVER_2019_STANDARD`, `SQLSERVER_2019_ENTERPRISE`, `SQLSERVER_2019_EXPRESS`,
|
129
129
|
`SQLSERVER_2019_WEB`.
|
130
130
|
[Database Version Policies](https://cloud.google.com/sql/docs/db-versions)
|
@@ -369,8 +369,8 @@ class _DatabaseInstanceState:
|
|
369
369
|
:param pulumi.Input[str] database_version: The MySQL, PostgreSQL or
|
370
370
|
SQL Server version to use. Supported values include `MYSQL_5_6`,
|
371
371
|
`MYSQL_5_7`, `MYSQL_8_0`, `POSTGRES_9_6`,`POSTGRES_10`, `POSTGRES_11`,
|
372
|
-
`POSTGRES_12`, `POSTGRES_13`, `POSTGRES_14`, `POSTGRES_15`, `
|
373
|
-
`
|
372
|
+
`POSTGRES_12`, `POSTGRES_13`, `POSTGRES_14`, `POSTGRES_15`, `SQLSERVER_2017_STANDARD`,
|
373
|
+
`SQLSERVER_2017_ENTERPRISE`, `SQLSERVER_2017_EXPRESS`, `SQLSERVER_2017_WEB`.
|
374
374
|
`SQLSERVER_2019_STANDARD`, `SQLSERVER_2019_ENTERPRISE`, `SQLSERVER_2019_EXPRESS`,
|
375
375
|
`SQLSERVER_2019_WEB`.
|
376
376
|
[Database Version Policies](https://cloud.google.com/sql/docs/db-versions)
|
@@ -518,8 +518,8 @@ class _DatabaseInstanceState:
|
|
518
518
|
The MySQL, PostgreSQL or
|
519
519
|
SQL Server version to use. Supported values include `MYSQL_5_6`,
|
520
520
|
`MYSQL_5_7`, `MYSQL_8_0`, `POSTGRES_9_6`,`POSTGRES_10`, `POSTGRES_11`,
|
521
|
-
`POSTGRES_12`, `POSTGRES_13`, `POSTGRES_14`, `POSTGRES_15`, `
|
522
|
-
`
|
521
|
+
`POSTGRES_12`, `POSTGRES_13`, `POSTGRES_14`, `POSTGRES_15`, `SQLSERVER_2017_STANDARD`,
|
522
|
+
`SQLSERVER_2017_ENTERPRISE`, `SQLSERVER_2017_EXPRESS`, `SQLSERVER_2017_WEB`.
|
523
523
|
`SQLSERVER_2019_STANDARD`, `SQLSERVER_2019_ENTERPRISE`, `SQLSERVER_2019_EXPRESS`,
|
524
524
|
`SQLSERVER_2019_WEB`.
|
525
525
|
[Database Version Policies](https://cloud.google.com/sql/docs/db-versions)
|
@@ -1044,8 +1044,8 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
1044
1044
|
:param pulumi.Input[str] database_version: The MySQL, PostgreSQL or
|
1045
1045
|
SQL Server version to use. Supported values include `MYSQL_5_6`,
|
1046
1046
|
`MYSQL_5_7`, `MYSQL_8_0`, `POSTGRES_9_6`,`POSTGRES_10`, `POSTGRES_11`,
|
1047
|
-
`POSTGRES_12`, `POSTGRES_13`, `POSTGRES_14`, `POSTGRES_15`, `
|
1048
|
-
`
|
1047
|
+
`POSTGRES_12`, `POSTGRES_13`, `POSTGRES_14`, `POSTGRES_15`, `SQLSERVER_2017_STANDARD`,
|
1048
|
+
`SQLSERVER_2017_ENTERPRISE`, `SQLSERVER_2017_EXPRESS`, `SQLSERVER_2017_WEB`.
|
1049
1049
|
`SQLSERVER_2019_STANDARD`, `SQLSERVER_2019_ENTERPRISE`, `SQLSERVER_2019_EXPRESS`,
|
1050
1050
|
`SQLSERVER_2019_WEB`.
|
1051
1051
|
[Database Version Policies](https://cloud.google.com/sql/docs/db-versions)
|
@@ -1415,8 +1415,8 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
1415
1415
|
:param pulumi.Input[str] database_version: The MySQL, PostgreSQL or
|
1416
1416
|
SQL Server version to use. Supported values include `MYSQL_5_6`,
|
1417
1417
|
`MYSQL_5_7`, `MYSQL_8_0`, `POSTGRES_9_6`,`POSTGRES_10`, `POSTGRES_11`,
|
1418
|
-
`POSTGRES_12`, `POSTGRES_13`, `POSTGRES_14`, `POSTGRES_15`, `
|
1419
|
-
`
|
1418
|
+
`POSTGRES_12`, `POSTGRES_13`, `POSTGRES_14`, `POSTGRES_15`, `SQLSERVER_2017_STANDARD`,
|
1419
|
+
`SQLSERVER_2017_ENTERPRISE`, `SQLSERVER_2017_EXPRESS`, `SQLSERVER_2017_WEB`.
|
1420
1420
|
`SQLSERVER_2019_STANDARD`, `SQLSERVER_2019_ENTERPRISE`, `SQLSERVER_2019_EXPRESS`,
|
1421
1421
|
`SQLSERVER_2019_WEB`.
|
1422
1422
|
[Database Version Policies](https://cloud.google.com/sql/docs/db-versions)
|
@@ -1531,8 +1531,8 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
1531
1531
|
The MySQL, PostgreSQL or
|
1532
1532
|
SQL Server version to use. Supported values include `MYSQL_5_6`,
|
1533
1533
|
`MYSQL_5_7`, `MYSQL_8_0`, `POSTGRES_9_6`,`POSTGRES_10`, `POSTGRES_11`,
|
1534
|
-
`POSTGRES_12`, `POSTGRES_13`, `POSTGRES_14`, `POSTGRES_15`, `
|
1535
|
-
`
|
1534
|
+
`POSTGRES_12`, `POSTGRES_13`, `POSTGRES_14`, `POSTGRES_15`, `SQLSERVER_2017_STANDARD`,
|
1535
|
+
`SQLSERVER_2017_ENTERPRISE`, `SQLSERVER_2017_EXPRESS`, `SQLSERVER_2017_WEB`.
|
1536
1536
|
`SQLSERVER_2019_STANDARD`, `SQLSERVER_2019_ENTERPRISE`, `SQLSERVER_2019_EXPRESS`,
|
1537
1537
|
`SQLSERVER_2019_WEB`.
|
1538
1538
|
[Database Version Policies](https://cloud.google.com/sql/docs/db-versions)
|
pulumi_gcp/sql/outputs.py
CHANGED
@@ -727,7 +727,7 @@ class DatabaseInstanceSettings(dict):
|
|
727
727
|
For Postgres and SQL Server instances, ensure that `settings.backup_configuration.point_in_time_recovery_enabled`
|
728
728
|
is set to `true`. Defaults to `ZONAL`.
|
729
729
|
:param str collation: The name of server instance collation.
|
730
|
-
:param str connector_enforcement:
|
730
|
+
:param str connector_enforcement: Enables the enforcement of Cloud SQL Auth Proxy or Cloud SQL connectors for all the connections. If enabled, all the direct connections are rejected.
|
731
731
|
:param 'DatabaseInstanceSettingsDataCacheConfigArgs' data_cache_config: Data cache configurations.
|
732
732
|
:param bool deletion_protection_enabled: Configuration to protect against accidental instance deletion.
|
733
733
|
:param 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`.
|
@@ -862,7 +862,7 @@ class DatabaseInstanceSettings(dict):
|
|
862
862
|
@pulumi.getter(name="connectorEnforcement")
|
863
863
|
def connector_enforcement(self) -> Optional[str]:
|
864
864
|
"""
|
865
|
-
|
865
|
+
Enables the enforcement of Cloud SQL Auth Proxy or Cloud SQL connectors for all the connections. If enabled, all the direct connections are rejected.
|
866
866
|
"""
|
867
867
|
return pulumi.get(self, "connector_enforcement")
|
868
868
|
|
pulumi_gcp/storage/_inputs.py
CHANGED
@@ -99,8 +99,6 @@ __all__ = [
|
|
99
99
|
'TransferJobTransferSpecGcsDataSinkArgsDict',
|
100
100
|
'TransferJobTransferSpecGcsDataSourceArgs',
|
101
101
|
'TransferJobTransferSpecGcsDataSourceArgsDict',
|
102
|
-
'TransferJobTransferSpecHdfsDataSourceArgs',
|
103
|
-
'TransferJobTransferSpecHdfsDataSourceArgsDict',
|
104
102
|
'TransferJobTransferSpecHttpDataSourceArgs',
|
105
103
|
'TransferJobTransferSpecHttpDataSourceArgsDict',
|
106
104
|
'TransferJobTransferSpecObjectConditionsArgs',
|
@@ -2519,10 +2517,6 @@ if not MYPY:
|
|
2519
2517
|
"""
|
2520
2518
|
A Google Cloud Storage data source. Structure documented below.
|
2521
2519
|
"""
|
2522
|
-
hdfs_data_source: NotRequired[pulumi.Input['TransferJobTransferSpecHdfsDataSourceArgsDict']]
|
2523
|
-
"""
|
2524
|
-
An HDFS data source. Structure documented below.
|
2525
|
-
"""
|
2526
2520
|
http_data_source: NotRequired[pulumi.Input['TransferJobTransferSpecHttpDataSourceArgsDict']]
|
2527
2521
|
"""
|
2528
2522
|
A HTTP URL data source. Structure documented below.
|
@@ -2561,7 +2555,6 @@ class TransferJobTransferSpecArgs:
|
|
2561
2555
|
azure_blob_storage_data_source: Optional[pulumi.Input['TransferJobTransferSpecAzureBlobStorageDataSourceArgs']] = None,
|
2562
2556
|
gcs_data_sink: Optional[pulumi.Input['TransferJobTransferSpecGcsDataSinkArgs']] = None,
|
2563
2557
|
gcs_data_source: Optional[pulumi.Input['TransferJobTransferSpecGcsDataSourceArgs']] = None,
|
2564
|
-
hdfs_data_source: Optional[pulumi.Input['TransferJobTransferSpecHdfsDataSourceArgs']] = None,
|
2565
2558
|
http_data_source: Optional[pulumi.Input['TransferJobTransferSpecHttpDataSourceArgs']] = None,
|
2566
2559
|
object_conditions: Optional[pulumi.Input['TransferJobTransferSpecObjectConditionsArgs']] = None,
|
2567
2560
|
posix_data_sink: Optional[pulumi.Input['TransferJobTransferSpecPosixDataSinkArgs']] = None,
|
@@ -2574,7 +2567,6 @@ class TransferJobTransferSpecArgs:
|
|
2574
2567
|
:param pulumi.Input['TransferJobTransferSpecAzureBlobStorageDataSourceArgs'] azure_blob_storage_data_source: An Azure Blob Storage data source. Structure documented below.
|
2575
2568
|
:param pulumi.Input['TransferJobTransferSpecGcsDataSinkArgs'] gcs_data_sink: A Google Cloud Storage data sink. Structure documented below.
|
2576
2569
|
:param pulumi.Input['TransferJobTransferSpecGcsDataSourceArgs'] gcs_data_source: A Google Cloud Storage data source. Structure documented below.
|
2577
|
-
:param pulumi.Input['TransferJobTransferSpecHdfsDataSourceArgs'] hdfs_data_source: An HDFS data source. Structure documented below.
|
2578
2570
|
:param pulumi.Input['TransferJobTransferSpecHttpDataSourceArgs'] http_data_source: A HTTP URL data source. Structure documented below.
|
2579
2571
|
:param pulumi.Input['TransferJobTransferSpecObjectConditionsArgs'] object_conditions: Only objects that satisfy these object conditions are included in the set of data source and data sink objects. Object conditions based on objects' `last_modification_time` do not exclude objects in a data sink. Structure documented below.
|
2580
2572
|
:param pulumi.Input['TransferJobTransferSpecPosixDataSinkArgs'] posix_data_sink: A POSIX data sink. Structure documented below.
|
@@ -2591,8 +2583,6 @@ class TransferJobTransferSpecArgs:
|
|
2591
2583
|
pulumi.set(__self__, "gcs_data_sink", gcs_data_sink)
|
2592
2584
|
if gcs_data_source is not None:
|
2593
2585
|
pulumi.set(__self__, "gcs_data_source", gcs_data_source)
|
2594
|
-
if hdfs_data_source is not None:
|
2595
|
-
pulumi.set(__self__, "hdfs_data_source", hdfs_data_source)
|
2596
2586
|
if http_data_source is not None:
|
2597
2587
|
pulumi.set(__self__, "http_data_source", http_data_source)
|
2598
2588
|
if object_conditions is not None:
|
@@ -2656,18 +2646,6 @@ class TransferJobTransferSpecArgs:
|
|
2656
2646
|
def gcs_data_source(self, value: Optional[pulumi.Input['TransferJobTransferSpecGcsDataSourceArgs']]):
|
2657
2647
|
pulumi.set(self, "gcs_data_source", value)
|
2658
2648
|
|
2659
|
-
@property
|
2660
|
-
@pulumi.getter(name="hdfsDataSource")
|
2661
|
-
def hdfs_data_source(self) -> Optional[pulumi.Input['TransferJobTransferSpecHdfsDataSourceArgs']]:
|
2662
|
-
"""
|
2663
|
-
An HDFS data source. Structure documented below.
|
2664
|
-
"""
|
2665
|
-
return pulumi.get(self, "hdfs_data_source")
|
2666
|
-
|
2667
|
-
@hdfs_data_source.setter
|
2668
|
-
def hdfs_data_source(self, value: Optional[pulumi.Input['TransferJobTransferSpecHdfsDataSourceArgs']]):
|
2669
|
-
pulumi.set(self, "hdfs_data_source", value)
|
2670
|
-
|
2671
2649
|
@property
|
2672
2650
|
@pulumi.getter(name="httpDataSource")
|
2673
2651
|
def http_data_source(self) -> Optional[pulumi.Input['TransferJobTransferSpecHttpDataSourceArgs']]:
|
@@ -3143,37 +3121,6 @@ class TransferJobTransferSpecGcsDataSourceArgs:
|
|
3143
3121
|
pulumi.set(self, "path", value)
|
3144
3122
|
|
3145
3123
|
|
3146
|
-
if not MYPY:
|
3147
|
-
class TransferJobTransferSpecHdfsDataSourceArgsDict(TypedDict):
|
3148
|
-
path: pulumi.Input[str]
|
3149
|
-
"""
|
3150
|
-
Root path to transfer objects. Must be an empty string or full path name that ends with a '/'. This field is treated as an object prefix. As such, it should generally not begin with a '/'.
|
3151
|
-
"""
|
3152
|
-
elif False:
|
3153
|
-
TransferJobTransferSpecHdfsDataSourceArgsDict: TypeAlias = Mapping[str, Any]
|
3154
|
-
|
3155
|
-
@pulumi.input_type
|
3156
|
-
class TransferJobTransferSpecHdfsDataSourceArgs:
|
3157
|
-
def __init__(__self__, *,
|
3158
|
-
path: pulumi.Input[str]):
|
3159
|
-
"""
|
3160
|
-
:param pulumi.Input[str] path: Root path to transfer objects. Must be an empty string or full path name that ends with a '/'. This field is treated as an object prefix. As such, it should generally not begin with a '/'.
|
3161
|
-
"""
|
3162
|
-
pulumi.set(__self__, "path", path)
|
3163
|
-
|
3164
|
-
@property
|
3165
|
-
@pulumi.getter
|
3166
|
-
def path(self) -> pulumi.Input[str]:
|
3167
|
-
"""
|
3168
|
-
Root path to transfer objects. Must be an empty string or full path name that ends with a '/'. This field is treated as an object prefix. As such, it should generally not begin with a '/'.
|
3169
|
-
"""
|
3170
|
-
return pulumi.get(self, "path")
|
3171
|
-
|
3172
|
-
@path.setter
|
3173
|
-
def path(self, value: pulumi.Input[str]):
|
3174
|
-
pulumi.set(self, "path", value)
|
3175
|
-
|
3176
|
-
|
3177
3124
|
if not MYPY:
|
3178
3125
|
class TransferJobTransferSpecHttpDataSourceArgsDict(TypedDict):
|
3179
3126
|
list_url: pulumi.Input[str]
|
@@ -3373,6 +3320,8 @@ if not MYPY:
|
|
3373
3320
|
root_directory: pulumi.Input[str]
|
3374
3321
|
"""
|
3375
3322
|
Root directory path to the filesystem.
|
3323
|
+
|
3324
|
+
<a name="nested_aws_s3_data_source"></a>The `aws_s3_data_source` block supports:
|
3376
3325
|
"""
|
3377
3326
|
elif False:
|
3378
3327
|
TransferJobTransferSpecPosixDataSourceArgsDict: TypeAlias = Mapping[str, Any]
|
@@ -3383,6 +3332,8 @@ class TransferJobTransferSpecPosixDataSourceArgs:
|
|
3383
3332
|
root_directory: pulumi.Input[str]):
|
3384
3333
|
"""
|
3385
3334
|
:param pulumi.Input[str] root_directory: Root directory path to the filesystem.
|
3335
|
+
|
3336
|
+
<a name="nested_aws_s3_data_source"></a>The `aws_s3_data_source` block supports:
|
3386
3337
|
"""
|
3387
3338
|
pulumi.set(__self__, "root_directory", root_directory)
|
3388
3339
|
|
@@ -3391,6 +3342,8 @@ class TransferJobTransferSpecPosixDataSourceArgs:
|
|
3391
3342
|
def root_directory(self) -> pulumi.Input[str]:
|
3392
3343
|
"""
|
3393
3344
|
Root directory path to the filesystem.
|
3345
|
+
|
3346
|
+
<a name="nested_aws_s3_data_source"></a>The `aws_s3_data_source` block supports:
|
3394
3347
|
"""
|
3395
3348
|
return pulumi.get(self, "root_directory")
|
3396
3349
|
|