pulumi-gcp 8.9.0a1731221331__py3-none-any.whl → 8.9.0a1731432418__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 +64 -0
- pulumi_gcp/activedirectory/domain.py +24 -0
- pulumi_gcp/apigee/__init__.py +1 -0
- pulumi_gcp/apigee/_inputs.py +74 -0
- pulumi_gcp/apigee/api.py +456 -0
- pulumi_gcp/apigee/outputs.py +65 -0
- pulumi_gcp/applicationintegration/auth_config.py +24 -0
- pulumi_gcp/backupdisasterrecovery/__init__.py +4 -0
- pulumi_gcp/backupdisasterrecovery/_inputs.py +533 -0
- pulumi_gcp/backupdisasterrecovery/backup_plan.py +653 -0
- pulumi_gcp/backupdisasterrecovery/backup_plan_association.py +766 -0
- pulumi_gcp/backupdisasterrecovery/backup_vault.py +146 -6
- pulumi_gcp/backupdisasterrecovery/get_backup_plan.py +204 -0
- pulumi_gcp/backupdisasterrecovery/get_backup_plan_association.py +243 -0
- pulumi_gcp/backupdisasterrecovery/outputs.py +702 -0
- pulumi_gcp/bigquery/data_transfer_config.py +24 -0
- pulumi_gcp/cloudrunv2/_inputs.py +46 -0
- pulumi_gcp/cloudrunv2/job.py +0 -2
- pulumi_gcp/cloudrunv2/outputs.py +60 -2
- pulumi_gcp/cloudrunv2/service.py +0 -2
- pulumi_gcp/compute/__init__.py +1 -0
- pulumi_gcp/compute/_inputs.py +2163 -256
- pulumi_gcp/compute/disk.py +7 -7
- pulumi_gcp/compute/firewall_policy_rule.py +108 -54
- pulumi_gcp/compute/get_region_instance_group_manager.py +12 -1
- pulumi_gcp/compute/health_check.py +42 -42
- pulumi_gcp/compute/network_firewall_policy_rule.py +4 -4
- pulumi_gcp/compute/network_firewall_policy_with_rules.py +10 -10
- pulumi_gcp/compute/node_template.py +95 -0
- pulumi_gcp/compute/outputs.py +1639 -213
- pulumi_gcp/compute/region_disk.py +7 -7
- pulumi_gcp/compute/region_health_check.py +42 -42
- pulumi_gcp/compute/region_instance_group_manager.py +54 -14
- pulumi_gcp/compute/region_network_firewall_policy_rule.py +4 -4
- pulumi_gcp/compute/region_network_firewall_policy_with_rules.py +10 -10
- pulumi_gcp/compute/region_resize_request.py +772 -0
- pulumi_gcp/compute/region_security_policy.py +120 -0
- pulumi_gcp/compute/region_security_policy_rule.py +6 -6
- pulumi_gcp/compute/router_peer.py +56 -35
- pulumi_gcp/compute/security_scan_config.py +8 -8
- pulumi_gcp/config/__init__.pyi +4 -0
- pulumi_gcp/config/vars.py +8 -0
- pulumi_gcp/container/_inputs.py +345 -10
- pulumi_gcp/container/cluster.py +101 -0
- pulumi_gcp/container/get_cluster.py +23 -1
- pulumi_gcp/container/outputs.py +456 -8
- pulumi_gcp/dataloss/prevention_discovery_config.py +7 -7
- pulumi_gcp/dataproc/__init__.py +2 -0
- pulumi_gcp/dataproc/_inputs.py +101 -0
- pulumi_gcp/dataproc/gdc_application_environment.py +931 -0
- pulumi_gcp/dataproc/gdc_service_instance.py +1022 -0
- pulumi_gcp/dataproc/outputs.py +94 -0
- pulumi_gcp/edgecontainer/vpn_connection.py +4 -4
- pulumi_gcp/firebase/android_app.py +2 -2
- pulumi_gcp/firebase/apple_app.py +2 -2
- pulumi_gcp/firebase/web_app.py +2 -2
- pulumi_gcp/firestore/index.py +44 -0
- pulumi_gcp/gkeonprem/_inputs.py +15 -15
- pulumi_gcp/gkeonprem/outputs.py +10 -10
- pulumi_gcp/healthcare/dataset.py +7 -7
- pulumi_gcp/healthcare/dicom_store.py +7 -7
- pulumi_gcp/healthcare/fhir_store.py +7 -7
- pulumi_gcp/healthcare/hl7_store.py +14 -14
- pulumi_gcp/iam/__init__.py +1 -0
- pulumi_gcp/iam/_inputs.py +161 -0
- pulumi_gcp/iam/outputs.py +114 -0
- pulumi_gcp/iam/principal_access_boundary_policy.py +679 -0
- pulumi_gcp/logging/metric.py +2 -2
- pulumi_gcp/looker/_inputs.py +6 -0
- pulumi_gcp/looker/instance.py +169 -321
- pulumi_gcp/looker/outputs.py +4 -0
- pulumi_gcp/memorystore/instance.py +4 -0
- pulumi_gcp/monitoring/alert_policy.py +24 -0
- pulumi_gcp/monitoring/custom_service.py +24 -0
- pulumi_gcp/monitoring/group.py +24 -0
- pulumi_gcp/monitoring/metric_descriptor.py +24 -0
- pulumi_gcp/monitoring/slo.py +24 -0
- pulumi_gcp/monitoring/uptime_check_config.py +24 -0
- pulumi_gcp/networkmanagement/__init__.py +1 -0
- pulumi_gcp/networkmanagement/vpc_flow_logs_config.py +1358 -0
- pulumi_gcp/osconfig/patch_deployment.py +8 -8
- pulumi_gcp/provider.py +40 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/_inputs.py +3 -3
- pulumi_gcp/redis/outputs.py +2 -2
- pulumi_gcp/securitycenter/notification_config.py +4 -16
- pulumi_gcp/securitycenter/project_notification_config.py +0 -24
- pulumi_gcp/securitycenter/v2_organization_notification_config.py +4 -16
- pulumi_gcp/spanner/__init__.py +1 -0
- pulumi_gcp/spanner/_inputs.py +9 -9
- pulumi_gcp/spanner/get_database.py +229 -0
- pulumi_gcp/spanner/get_instance.py +12 -1
- pulumi_gcp/spanner/instance.py +70 -0
- pulumi_gcp/spanner/outputs.py +46 -12
- pulumi_gcp/sql/_inputs.py +26 -0
- pulumi_gcp/sql/database_instance.py +124 -11
- pulumi_gcp/sql/get_database_instance.py +12 -1
- pulumi_gcp/sql/outputs.py +51 -0
- pulumi_gcp/storage/_inputs.py +3 -3
- pulumi_gcp/storage/outputs.py +2 -2
- pulumi_gcp/tags/tag_binding.py +4 -4
- pulumi_gcp/tags/tag_value.py +2 -2
- pulumi_gcp/transcoder/job.py +24 -0
- pulumi_gcp/vertex/_inputs.py +184 -0
- pulumi_gcp/vertex/ai_endpoint.py +394 -8
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
- pulumi_gcp/vertex/outputs.py +166 -0
- pulumi_gcp/workbench/instance.py +21 -7
- pulumi_gcp/workflows/workflow.py +36 -0
- pulumi_gcp/workstations/workstation_config.py +8 -8
- {pulumi_gcp-8.9.0a1731221331.dist-info → pulumi_gcp-8.9.0a1731432418.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.9.0a1731221331.dist-info → pulumi_gcp-8.9.0a1731432418.dist-info}/RECORD +114 -103
- {pulumi_gcp-8.9.0a1731221331.dist-info → pulumi_gcp-8.9.0a1731432418.dist-info}/WHEEL +1 -1
- {pulumi_gcp-8.9.0a1731221331.dist-info → pulumi_gcp-8.9.0a1731432418.dist-info}/top_level.txt +0 -0
@@ -26,6 +26,7 @@ class RegionSecurityPolicyArgs:
|
|
26
26
|
name: Optional[pulumi.Input[str]] = None,
|
27
27
|
project: Optional[pulumi.Input[str]] = None,
|
28
28
|
region: Optional[pulumi.Input[str]] = None,
|
29
|
+
rules: Optional[pulumi.Input[Sequence[pulumi.Input['RegionSecurityPolicyRuleArgs']]]] = None,
|
29
30
|
type: Optional[pulumi.Input[str]] = None,
|
30
31
|
user_defined_fields: Optional[pulumi.Input[Sequence[pulumi.Input['RegionSecurityPolicyUserDefinedFieldArgs']]]] = None):
|
31
32
|
"""
|
@@ -42,6 +43,8 @@ class RegionSecurityPolicyArgs:
|
|
42
43
|
If it is not provided, the provider project is used.
|
43
44
|
:param pulumi.Input[str] region: The Region in which the created Region Security Policy should reside.
|
44
45
|
If it is not provided, the provider region is used.
|
46
|
+
:param pulumi.Input[Sequence[pulumi.Input['RegionSecurityPolicyRuleArgs']]] rules: The set of rules that belong to this policy. There must always be a default rule (rule with priority 2147483647 and match "*"). If no rules are provided when creating a security policy, a default rule with action "allow" will be added.
|
47
|
+
Structure is documented below.
|
45
48
|
:param pulumi.Input[str] type: The type indicates the intended use of the security policy.
|
46
49
|
- CLOUD_ARMOR: Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers.
|
47
50
|
- CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache.
|
@@ -63,6 +66,8 @@ class RegionSecurityPolicyArgs:
|
|
63
66
|
pulumi.set(__self__, "project", project)
|
64
67
|
if region is not None:
|
65
68
|
pulumi.set(__self__, "region", region)
|
69
|
+
if rules is not None:
|
70
|
+
pulumi.set(__self__, "rules", rules)
|
66
71
|
if type is not None:
|
67
72
|
pulumi.set(__self__, "type", type)
|
68
73
|
if user_defined_fields is not None:
|
@@ -135,6 +140,19 @@ class RegionSecurityPolicyArgs:
|
|
135
140
|
def region(self, value: Optional[pulumi.Input[str]]):
|
136
141
|
pulumi.set(self, "region", value)
|
137
142
|
|
143
|
+
@property
|
144
|
+
@pulumi.getter
|
145
|
+
def rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['RegionSecurityPolicyRuleArgs']]]]:
|
146
|
+
"""
|
147
|
+
The set of rules that belong to this policy. There must always be a default rule (rule with priority 2147483647 and match "*"). If no rules are provided when creating a security policy, a default rule with action "allow" will be added.
|
148
|
+
Structure is documented below.
|
149
|
+
"""
|
150
|
+
return pulumi.get(self, "rules")
|
151
|
+
|
152
|
+
@rules.setter
|
153
|
+
def rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['RegionSecurityPolicyRuleArgs']]]]):
|
154
|
+
pulumi.set(self, "rules", value)
|
155
|
+
|
138
156
|
@property
|
139
157
|
@pulumi.getter
|
140
158
|
def type(self) -> Optional[pulumi.Input[str]]:
|
@@ -178,6 +196,7 @@ class _RegionSecurityPolicyState:
|
|
178
196
|
policy_id: Optional[pulumi.Input[str]] = None,
|
179
197
|
project: Optional[pulumi.Input[str]] = None,
|
180
198
|
region: Optional[pulumi.Input[str]] = None,
|
199
|
+
rules: Optional[pulumi.Input[Sequence[pulumi.Input['RegionSecurityPolicyRuleArgs']]]] = None,
|
181
200
|
self_link: Optional[pulumi.Input[str]] = None,
|
182
201
|
self_link_with_policy_id: Optional[pulumi.Input[str]] = None,
|
183
202
|
type: Optional[pulumi.Input[str]] = None,
|
@@ -199,6 +218,8 @@ class _RegionSecurityPolicyState:
|
|
199
218
|
If it is not provided, the provider project is used.
|
200
219
|
:param pulumi.Input[str] region: The Region in which the created Region Security Policy should reside.
|
201
220
|
If it is not provided, the provider region is used.
|
221
|
+
:param pulumi.Input[Sequence[pulumi.Input['RegionSecurityPolicyRuleArgs']]] rules: The set of rules that belong to this policy. There must always be a default rule (rule with priority 2147483647 and match "*"). If no rules are provided when creating a security policy, a default rule with action "allow" will be added.
|
222
|
+
Structure is documented below.
|
202
223
|
:param pulumi.Input[str] self_link: Server-defined URL for the resource.
|
203
224
|
:param pulumi.Input[str] self_link_with_policy_id: Server-defined URL for this resource with the resource id.
|
204
225
|
:param pulumi.Input[str] type: The type indicates the intended use of the security policy.
|
@@ -226,6 +247,8 @@ class _RegionSecurityPolicyState:
|
|
226
247
|
pulumi.set(__self__, "project", project)
|
227
248
|
if region is not None:
|
228
249
|
pulumi.set(__self__, "region", region)
|
250
|
+
if rules is not None:
|
251
|
+
pulumi.set(__self__, "rules", rules)
|
229
252
|
if self_link is not None:
|
230
253
|
pulumi.set(__self__, "self_link", self_link)
|
231
254
|
if self_link_with_policy_id is not None:
|
@@ -327,6 +350,19 @@ class _RegionSecurityPolicyState:
|
|
327
350
|
def region(self, value: Optional[pulumi.Input[str]]):
|
328
351
|
pulumi.set(self, "region", value)
|
329
352
|
|
353
|
+
@property
|
354
|
+
@pulumi.getter
|
355
|
+
def rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['RegionSecurityPolicyRuleArgs']]]]:
|
356
|
+
"""
|
357
|
+
The set of rules that belong to this policy. There must always be a default rule (rule with priority 2147483647 and match "*"). If no rules are provided when creating a security policy, a default rule with action "allow" will be added.
|
358
|
+
Structure is documented below.
|
359
|
+
"""
|
360
|
+
return pulumi.get(self, "rules")
|
361
|
+
|
362
|
+
@rules.setter
|
363
|
+
def rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['RegionSecurityPolicyRuleArgs']]]]):
|
364
|
+
pulumi.set(self, "rules", value)
|
365
|
+
|
330
366
|
@property
|
331
367
|
@pulumi.getter(name="selfLink")
|
332
368
|
def self_link(self) -> Optional[pulumi.Input[str]]:
|
@@ -394,6 +430,7 @@ class RegionSecurityPolicy(pulumi.CustomResource):
|
|
394
430
|
name: Optional[pulumi.Input[str]] = None,
|
395
431
|
project: Optional[pulumi.Input[str]] = None,
|
396
432
|
region: Optional[pulumi.Input[str]] = None,
|
433
|
+
rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['RegionSecurityPolicyRuleArgs', 'RegionSecurityPolicyRuleArgsDict']]]]] = None,
|
397
434
|
type: Optional[pulumi.Input[str]] = None,
|
398
435
|
user_defined_fields: Optional[pulumi.Input[Sequence[pulumi.Input[Union['RegionSecurityPolicyUserDefinedFieldArgs', 'RegionSecurityPolicyUserDefinedFieldArgsDict']]]]] = None,
|
399
436
|
__props__=None):
|
@@ -452,6 +489,39 @@ class RegionSecurityPolicy(pulumi.CustomResource):
|
|
452
489
|
},
|
453
490
|
])
|
454
491
|
```
|
492
|
+
### Region Security Policy With Rules
|
493
|
+
|
494
|
+
```python
|
495
|
+
import pulumi
|
496
|
+
import pulumi_gcp as gcp
|
497
|
+
|
498
|
+
region_sec_policy_with_rules = gcp.compute.RegionSecurityPolicy("region-sec-policy-with-rules",
|
499
|
+
name="my-sec-policy-with-rules",
|
500
|
+
description="basic region security policy with multiple rules",
|
501
|
+
type="CLOUD_ARMOR",
|
502
|
+
rules=[
|
503
|
+
{
|
504
|
+
"action": "deny",
|
505
|
+
"priority": 1000,
|
506
|
+
"match": {
|
507
|
+
"expr": {
|
508
|
+
"expression": "request.path.matches(\\"/login.html\\") && token.recaptcha_session.score < 0.2",
|
509
|
+
},
|
510
|
+
},
|
511
|
+
},
|
512
|
+
{
|
513
|
+
"action": "deny",
|
514
|
+
"priority": 2147483647,
|
515
|
+
"match": {
|
516
|
+
"versioned_expr": "SRC_IPS_V1",
|
517
|
+
"config": {
|
518
|
+
"src_ip_ranges": ["*"],
|
519
|
+
},
|
520
|
+
},
|
521
|
+
"description": "default rule",
|
522
|
+
},
|
523
|
+
])
|
524
|
+
```
|
455
525
|
|
456
526
|
## Import
|
457
527
|
|
@@ -497,6 +567,8 @@ class RegionSecurityPolicy(pulumi.CustomResource):
|
|
497
567
|
If it is not provided, the provider project is used.
|
498
568
|
:param pulumi.Input[str] region: The Region in which the created Region Security Policy should reside.
|
499
569
|
If it is not provided, the provider region is used.
|
570
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['RegionSecurityPolicyRuleArgs', 'RegionSecurityPolicyRuleArgsDict']]]] rules: The set of rules that belong to this policy. There must always be a default rule (rule with priority 2147483647 and match "*"). If no rules are provided when creating a security policy, a default rule with action "allow" will be added.
|
571
|
+
Structure is documented below.
|
500
572
|
:param pulumi.Input[str] type: The type indicates the intended use of the security policy.
|
501
573
|
- CLOUD_ARMOR: Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers.
|
502
574
|
- CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache.
|
@@ -569,6 +641,39 @@ class RegionSecurityPolicy(pulumi.CustomResource):
|
|
569
641
|
},
|
570
642
|
])
|
571
643
|
```
|
644
|
+
### Region Security Policy With Rules
|
645
|
+
|
646
|
+
```python
|
647
|
+
import pulumi
|
648
|
+
import pulumi_gcp as gcp
|
649
|
+
|
650
|
+
region_sec_policy_with_rules = gcp.compute.RegionSecurityPolicy("region-sec-policy-with-rules",
|
651
|
+
name="my-sec-policy-with-rules",
|
652
|
+
description="basic region security policy with multiple rules",
|
653
|
+
type="CLOUD_ARMOR",
|
654
|
+
rules=[
|
655
|
+
{
|
656
|
+
"action": "deny",
|
657
|
+
"priority": 1000,
|
658
|
+
"match": {
|
659
|
+
"expr": {
|
660
|
+
"expression": "request.path.matches(\\"/login.html\\") && token.recaptcha_session.score < 0.2",
|
661
|
+
},
|
662
|
+
},
|
663
|
+
},
|
664
|
+
{
|
665
|
+
"action": "deny",
|
666
|
+
"priority": 2147483647,
|
667
|
+
"match": {
|
668
|
+
"versioned_expr": "SRC_IPS_V1",
|
669
|
+
"config": {
|
670
|
+
"src_ip_ranges": ["*"],
|
671
|
+
},
|
672
|
+
},
|
673
|
+
"description": "default rule",
|
674
|
+
},
|
675
|
+
])
|
676
|
+
```
|
572
677
|
|
573
678
|
## Import
|
574
679
|
|
@@ -620,6 +725,7 @@ class RegionSecurityPolicy(pulumi.CustomResource):
|
|
620
725
|
name: Optional[pulumi.Input[str]] = None,
|
621
726
|
project: Optional[pulumi.Input[str]] = None,
|
622
727
|
region: Optional[pulumi.Input[str]] = None,
|
728
|
+
rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['RegionSecurityPolicyRuleArgs', 'RegionSecurityPolicyRuleArgsDict']]]]] = None,
|
623
729
|
type: Optional[pulumi.Input[str]] = None,
|
624
730
|
user_defined_fields: Optional[pulumi.Input[Sequence[pulumi.Input[Union['RegionSecurityPolicyUserDefinedFieldArgs', 'RegionSecurityPolicyUserDefinedFieldArgsDict']]]]] = None,
|
625
731
|
__props__=None):
|
@@ -636,6 +742,7 @@ class RegionSecurityPolicy(pulumi.CustomResource):
|
|
636
742
|
__props__.__dict__["name"] = name
|
637
743
|
__props__.__dict__["project"] = project
|
638
744
|
__props__.__dict__["region"] = region
|
745
|
+
__props__.__dict__["rules"] = rules
|
639
746
|
__props__.__dict__["type"] = type
|
640
747
|
__props__.__dict__["user_defined_fields"] = user_defined_fields
|
641
748
|
__props__.__dict__["fingerprint"] = None
|
@@ -659,6 +766,7 @@ class RegionSecurityPolicy(pulumi.CustomResource):
|
|
659
766
|
policy_id: Optional[pulumi.Input[str]] = None,
|
660
767
|
project: Optional[pulumi.Input[str]] = None,
|
661
768
|
region: Optional[pulumi.Input[str]] = None,
|
769
|
+
rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['RegionSecurityPolicyRuleArgs', 'RegionSecurityPolicyRuleArgsDict']]]]] = None,
|
662
770
|
self_link: Optional[pulumi.Input[str]] = None,
|
663
771
|
self_link_with_policy_id: Optional[pulumi.Input[str]] = None,
|
664
772
|
type: Optional[pulumi.Input[str]] = None,
|
@@ -685,6 +793,8 @@ class RegionSecurityPolicy(pulumi.CustomResource):
|
|
685
793
|
If it is not provided, the provider project is used.
|
686
794
|
:param pulumi.Input[str] region: The Region in which the created Region Security Policy should reside.
|
687
795
|
If it is not provided, the provider region is used.
|
796
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['RegionSecurityPolicyRuleArgs', 'RegionSecurityPolicyRuleArgsDict']]]] rules: The set of rules that belong to this policy. There must always be a default rule (rule with priority 2147483647 and match "*"). If no rules are provided when creating a security policy, a default rule with action "allow" will be added.
|
797
|
+
Structure is documented below.
|
688
798
|
:param pulumi.Input[str] self_link: Server-defined URL for the resource.
|
689
799
|
:param pulumi.Input[str] self_link_with_policy_id: Server-defined URL for this resource with the resource id.
|
690
800
|
:param pulumi.Input[str] type: The type indicates the intended use of the security policy.
|
@@ -709,6 +819,7 @@ class RegionSecurityPolicy(pulumi.CustomResource):
|
|
709
819
|
__props__.__dict__["policy_id"] = policy_id
|
710
820
|
__props__.__dict__["project"] = project
|
711
821
|
__props__.__dict__["region"] = region
|
822
|
+
__props__.__dict__["rules"] = rules
|
712
823
|
__props__.__dict__["self_link"] = self_link
|
713
824
|
__props__.__dict__["self_link_with_policy_id"] = self_link_with_policy_id
|
714
825
|
__props__.__dict__["type"] = type
|
@@ -779,6 +890,15 @@ class RegionSecurityPolicy(pulumi.CustomResource):
|
|
779
890
|
"""
|
780
891
|
return pulumi.get(self, "region")
|
781
892
|
|
893
|
+
@property
|
894
|
+
@pulumi.getter
|
895
|
+
def rules(self) -> pulumi.Output[Sequence['outputs.RegionSecurityPolicyRule']]:
|
896
|
+
"""
|
897
|
+
The set of rules that belong to this policy. There must always be a default rule (rule with priority 2147483647 and match "*"). If no rules are provided when creating a security policy, a default rule with action "allow" will be added.
|
898
|
+
Structure is documented below.
|
899
|
+
"""
|
900
|
+
return pulumi.get(self, "rules")
|
901
|
+
|
782
902
|
@property
|
783
903
|
@pulumi.getter(name="selfLink")
|
784
904
|
def self_link(self) -> pulumi.Output[str]:
|
@@ -16,10 +16,10 @@ from .. import _utilities
|
|
16
16
|
from . import outputs
|
17
17
|
from ._inputs import *
|
18
18
|
|
19
|
-
__all__ = ['
|
19
|
+
__all__ = ['RegionSecurityPolicyRuleInitArgs', 'RegionSecurityPolicyRule']
|
20
20
|
|
21
21
|
@pulumi.input_type
|
22
|
-
class
|
22
|
+
class RegionSecurityPolicyRuleInitArgs:
|
23
23
|
def __init__(__self__, *,
|
24
24
|
action: pulumi.Input[str],
|
25
25
|
priority: pulumi.Input[int],
|
@@ -780,7 +780,7 @@ class RegionSecurityPolicyRule(pulumi.CustomResource):
|
|
780
780
|
@overload
|
781
781
|
def __init__(__self__,
|
782
782
|
resource_name: str,
|
783
|
-
args:
|
783
|
+
args: RegionSecurityPolicyRuleInitArgs,
|
784
784
|
opts: Optional[pulumi.ResourceOptions] = None):
|
785
785
|
"""
|
786
786
|
## Example Usage
|
@@ -1026,12 +1026,12 @@ class RegionSecurityPolicyRule(pulumi.CustomResource):
|
|
1026
1026
|
```
|
1027
1027
|
|
1028
1028
|
:param str resource_name: The name of the resource.
|
1029
|
-
:param
|
1029
|
+
:param RegionSecurityPolicyRuleInitArgs args: The arguments to use to populate this resource's properties.
|
1030
1030
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
1031
1031
|
"""
|
1032
1032
|
...
|
1033
1033
|
def __init__(__self__, resource_name: str, *args, **kwargs):
|
1034
|
-
resource_args, opts = _utilities.get_resource_args_opts(
|
1034
|
+
resource_args, opts = _utilities.get_resource_args_opts(RegionSecurityPolicyRuleInitArgs, pulumi.ResourceOptions, *args, **kwargs)
|
1035
1035
|
if resource_args is not None:
|
1036
1036
|
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
1037
1037
|
else:
|
@@ -1058,7 +1058,7 @@ class RegionSecurityPolicyRule(pulumi.CustomResource):
|
|
1058
1058
|
if opts.id is None:
|
1059
1059
|
if __props__ is not None:
|
1060
1060
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
1061
|
-
__props__ =
|
1061
|
+
__props__ = RegionSecurityPolicyRuleInitArgs.__new__(RegionSecurityPolicyRuleInitArgs)
|
1062
1062
|
|
1063
1063
|
if action is None and not opts.urn:
|
1064
1064
|
raise TypeError("Missing required property 'action'")
|
@@ -81,11 +81,14 @@ class RouterPeerArgs:
|
|
81
81
|
length, the routes with the lowest priority value win.
|
82
82
|
:param pulumi.Input['RouterPeerBfdArgs'] bfd: BFD configuration for the BGP peering.
|
83
83
|
Structure is documented below.
|
84
|
-
:param pulumi.Input[Sequence[pulumi.Input['RouterPeerCustomLearnedIpRangeArgs']]] custom_learned_ip_ranges: The custom learned route IP address range. Must be a valid CIDR-formatted prefix.
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
84
|
+
:param pulumi.Input[Sequence[pulumi.Input['RouterPeerCustomLearnedIpRangeArgs']]] custom_learned_ip_ranges: The custom learned route IP address range. Must be a valid CIDR-formatted prefix.
|
85
|
+
If an IP address is provided without a subnet mask, it is interpreted as, for IPv4,
|
86
|
+
a /32 singular IP address range, and, for IPv6, /128.
|
87
|
+
Structure is documented below.
|
88
|
+
:param pulumi.Input[int] custom_learned_route_priority: The user-defined custom learned route priority for a BGP session.
|
89
|
+
This value is applied to all custom learned route ranges for the session.
|
90
|
+
You can choose a value from 0 to 65335. If you don't provide a value,
|
91
|
+
Google Cloud assigns a priority of 100 to the ranges.
|
89
92
|
:param pulumi.Input[bool] enable: The status of the BGP peer connection. If set to false, any active session
|
90
93
|
with the peer is terminated and all associated routing information is removed.
|
91
94
|
If set to true, the peer connection can be established with routing information.
|
@@ -301,8 +304,10 @@ class RouterPeerArgs:
|
|
301
304
|
@pulumi.getter(name="customLearnedIpRanges")
|
302
305
|
def custom_learned_ip_ranges(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['RouterPeerCustomLearnedIpRangeArgs']]]]:
|
303
306
|
"""
|
304
|
-
The custom learned route IP address range. Must be a valid CIDR-formatted prefix.
|
305
|
-
|
307
|
+
The custom learned route IP address range. Must be a valid CIDR-formatted prefix.
|
308
|
+
If an IP address is provided without a subnet mask, it is interpreted as, for IPv4,
|
309
|
+
a /32 singular IP address range, and, for IPv6, /128.
|
310
|
+
Structure is documented below.
|
306
311
|
"""
|
307
312
|
return pulumi.get(self, "custom_learned_ip_ranges")
|
308
313
|
|
@@ -314,9 +319,10 @@ class RouterPeerArgs:
|
|
314
319
|
@pulumi.getter(name="customLearnedRoutePriority")
|
315
320
|
def custom_learned_route_priority(self) -> Optional[pulumi.Input[int]]:
|
316
321
|
"""
|
317
|
-
The user-defined custom learned route priority for a BGP session.
|
318
|
-
|
319
|
-
|
322
|
+
The user-defined custom learned route priority for a BGP session.
|
323
|
+
This value is applied to all custom learned route ranges for the session.
|
324
|
+
You can choose a value from 0 to 65335. If you don't provide a value,
|
325
|
+
Google Cloud assigns a priority of 100 to the ranges.
|
320
326
|
"""
|
321
327
|
return pulumi.get(self, "custom_learned_route_priority")
|
322
328
|
|
@@ -598,11 +604,14 @@ class _RouterPeerState:
|
|
598
604
|
length, the routes with the lowest priority value win.
|
599
605
|
:param pulumi.Input['RouterPeerBfdArgs'] bfd: BFD configuration for the BGP peering.
|
600
606
|
Structure is documented below.
|
601
|
-
:param pulumi.Input[Sequence[pulumi.Input['RouterPeerCustomLearnedIpRangeArgs']]] custom_learned_ip_ranges: The custom learned route IP address range. Must be a valid CIDR-formatted prefix.
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
607
|
+
:param pulumi.Input[Sequence[pulumi.Input['RouterPeerCustomLearnedIpRangeArgs']]] custom_learned_ip_ranges: The custom learned route IP address range. Must be a valid CIDR-formatted prefix.
|
608
|
+
If an IP address is provided without a subnet mask, it is interpreted as, for IPv4,
|
609
|
+
a /32 singular IP address range, and, for IPv6, /128.
|
610
|
+
Structure is documented below.
|
611
|
+
:param pulumi.Input[int] custom_learned_route_priority: The user-defined custom learned route priority for a BGP session.
|
612
|
+
This value is applied to all custom learned route ranges for the session.
|
613
|
+
You can choose a value from 0 to 65335. If you don't provide a value,
|
614
|
+
Google Cloud assigns a priority of 100 to the ranges.
|
606
615
|
:param pulumi.Input[bool] enable: The status of the BGP peer connection. If set to false, any active session
|
607
616
|
with the peer is terminated and all associated routing information is removed.
|
608
617
|
If set to true, the peer connection can be established with routing information.
|
@@ -799,8 +808,10 @@ class _RouterPeerState:
|
|
799
808
|
@pulumi.getter(name="customLearnedIpRanges")
|
800
809
|
def custom_learned_ip_ranges(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['RouterPeerCustomLearnedIpRangeArgs']]]]:
|
801
810
|
"""
|
802
|
-
The custom learned route IP address range. Must be a valid CIDR-formatted prefix.
|
803
|
-
|
811
|
+
The custom learned route IP address range. Must be a valid CIDR-formatted prefix.
|
812
|
+
If an IP address is provided without a subnet mask, it is interpreted as, for IPv4,
|
813
|
+
a /32 singular IP address range, and, for IPv6, /128.
|
814
|
+
Structure is documented below.
|
804
815
|
"""
|
805
816
|
return pulumi.get(self, "custom_learned_ip_ranges")
|
806
817
|
|
@@ -812,9 +823,10 @@ class _RouterPeerState:
|
|
812
823
|
@pulumi.getter(name="customLearnedRoutePriority")
|
813
824
|
def custom_learned_route_priority(self) -> Optional[pulumi.Input[int]]:
|
814
825
|
"""
|
815
|
-
The user-defined custom learned route priority for a BGP session.
|
816
|
-
|
817
|
-
|
826
|
+
The user-defined custom learned route priority for a BGP session.
|
827
|
+
This value is applied to all custom learned route ranges for the session.
|
828
|
+
You can choose a value from 0 to 65335. If you don't provide a value,
|
829
|
+
Google Cloud assigns a priority of 100 to the ranges.
|
818
830
|
"""
|
819
831
|
return pulumi.get(self, "custom_learned_route_priority")
|
820
832
|
|
@@ -1465,11 +1477,14 @@ class RouterPeer(pulumi.CustomResource):
|
|
1465
1477
|
length, the routes with the lowest priority value win.
|
1466
1478
|
:param pulumi.Input[Union['RouterPeerBfdArgs', 'RouterPeerBfdArgsDict']] bfd: BFD configuration for the BGP peering.
|
1467
1479
|
Structure is documented below.
|
1468
|
-
:param pulumi.Input[Sequence[pulumi.Input[Union['RouterPeerCustomLearnedIpRangeArgs', 'RouterPeerCustomLearnedIpRangeArgsDict']]]] custom_learned_ip_ranges: The custom learned route IP address range. Must be a valid CIDR-formatted prefix.
|
1469
|
-
|
1470
|
-
|
1471
|
-
|
1472
|
-
|
1480
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['RouterPeerCustomLearnedIpRangeArgs', 'RouterPeerCustomLearnedIpRangeArgsDict']]]] custom_learned_ip_ranges: The custom learned route IP address range. Must be a valid CIDR-formatted prefix.
|
1481
|
+
If an IP address is provided without a subnet mask, it is interpreted as, for IPv4,
|
1482
|
+
a /32 singular IP address range, and, for IPv6, /128.
|
1483
|
+
Structure is documented below.
|
1484
|
+
:param pulumi.Input[int] custom_learned_route_priority: The user-defined custom learned route priority for a BGP session.
|
1485
|
+
This value is applied to all custom learned route ranges for the session.
|
1486
|
+
You can choose a value from 0 to 65335. If you don't provide a value,
|
1487
|
+
Google Cloud assigns a priority of 100 to the ranges.
|
1473
1488
|
:param pulumi.Input[bool] enable: The status of the BGP peer connection. If set to false, any active session
|
1474
1489
|
with the peer is terminated and all associated routing information is removed.
|
1475
1490
|
If set to true, the peer connection can be established with routing information.
|
@@ -1983,11 +1998,14 @@ class RouterPeer(pulumi.CustomResource):
|
|
1983
1998
|
length, the routes with the lowest priority value win.
|
1984
1999
|
:param pulumi.Input[Union['RouterPeerBfdArgs', 'RouterPeerBfdArgsDict']] bfd: BFD configuration for the BGP peering.
|
1985
2000
|
Structure is documented below.
|
1986
|
-
:param pulumi.Input[Sequence[pulumi.Input[Union['RouterPeerCustomLearnedIpRangeArgs', 'RouterPeerCustomLearnedIpRangeArgsDict']]]] custom_learned_ip_ranges: The custom learned route IP address range. Must be a valid CIDR-formatted prefix.
|
1987
|
-
|
1988
|
-
|
1989
|
-
|
1990
|
-
|
2001
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['RouterPeerCustomLearnedIpRangeArgs', 'RouterPeerCustomLearnedIpRangeArgsDict']]]] custom_learned_ip_ranges: The custom learned route IP address range. Must be a valid CIDR-formatted prefix.
|
2002
|
+
If an IP address is provided without a subnet mask, it is interpreted as, for IPv4,
|
2003
|
+
a /32 singular IP address range, and, for IPv6, /128.
|
2004
|
+
Structure is documented below.
|
2005
|
+
:param pulumi.Input[int] custom_learned_route_priority: The user-defined custom learned route priority for a BGP session.
|
2006
|
+
This value is applied to all custom learned route ranges for the session.
|
2007
|
+
You can choose a value from 0 to 65335. If you don't provide a value,
|
2008
|
+
Google Cloud assigns a priority of 100 to the ranges.
|
1991
2009
|
:param pulumi.Input[bool] enable: The status of the BGP peer connection. If set to false, any active session
|
1992
2010
|
with the peer is terminated and all associated routing information is removed.
|
1993
2011
|
If set to true, the peer connection can be established with routing information.
|
@@ -2142,8 +2160,10 @@ class RouterPeer(pulumi.CustomResource):
|
|
2142
2160
|
@pulumi.getter(name="customLearnedIpRanges")
|
2143
2161
|
def custom_learned_ip_ranges(self) -> pulumi.Output[Optional[Sequence['outputs.RouterPeerCustomLearnedIpRange']]]:
|
2144
2162
|
"""
|
2145
|
-
The custom learned route IP address range. Must be a valid CIDR-formatted prefix.
|
2146
|
-
|
2163
|
+
The custom learned route IP address range. Must be a valid CIDR-formatted prefix.
|
2164
|
+
If an IP address is provided without a subnet mask, it is interpreted as, for IPv4,
|
2165
|
+
a /32 singular IP address range, and, for IPv6, /128.
|
2166
|
+
Structure is documented below.
|
2147
2167
|
"""
|
2148
2168
|
return pulumi.get(self, "custom_learned_ip_ranges")
|
2149
2169
|
|
@@ -2151,9 +2171,10 @@ class RouterPeer(pulumi.CustomResource):
|
|
2151
2171
|
@pulumi.getter(name="customLearnedRoutePriority")
|
2152
2172
|
def custom_learned_route_priority(self) -> pulumi.Output[Optional[int]]:
|
2153
2173
|
"""
|
2154
|
-
The user-defined custom learned route priority for a BGP session.
|
2155
|
-
|
2156
|
-
|
2174
|
+
The user-defined custom learned route priority for a BGP session.
|
2175
|
+
This value is applied to all custom learned route ranges for the session.
|
2176
|
+
You can choose a value from 0 to 65335. If you don't provide a value,
|
2177
|
+
Google Cloud assigns a priority of 100 to the ranges.
|
2157
2178
|
"""
|
2158
2179
|
return pulumi.get(self, "custom_learned_route_priority")
|
2159
2180
|
|
@@ -470,20 +470,20 @@ class SecurityScanConfig(pulumi.CustomResource):
|
|
470
470
|
|
471
471
|
ScanConfig can be imported using any of these accepted formats:
|
472
472
|
|
473
|
-
* `projects/{{project}}/scanConfigs/{{name}}`
|
474
|
-
|
475
473
|
* `{{project}}/{{name}}`
|
476
474
|
|
475
|
+
* `{{project}} {{name}}`
|
476
|
+
|
477
477
|
* `{{name}}`
|
478
478
|
|
479
479
|
When using the `pulumi import` command, ScanConfig can be imported using one of the formats above. For example:
|
480
480
|
|
481
481
|
```sh
|
482
|
-
$ pulumi import gcp:compute/securityScanConfig:SecurityScanConfig default
|
482
|
+
$ pulumi import gcp:compute/securityScanConfig:SecurityScanConfig default {{project}}/{{name}}
|
483
483
|
```
|
484
484
|
|
485
485
|
```sh
|
486
|
-
$ pulumi import gcp:compute/securityScanConfig:SecurityScanConfig default {{project}}
|
486
|
+
$ pulumi import gcp:compute/securityScanConfig:SecurityScanConfig default "{{project}} {{name}}"
|
487
487
|
```
|
488
488
|
|
489
489
|
```sh
|
@@ -551,20 +551,20 @@ class SecurityScanConfig(pulumi.CustomResource):
|
|
551
551
|
|
552
552
|
ScanConfig can be imported using any of these accepted formats:
|
553
553
|
|
554
|
-
* `projects/{{project}}/scanConfigs/{{name}}`
|
555
|
-
|
556
554
|
* `{{project}}/{{name}}`
|
557
555
|
|
556
|
+
* `{{project}} {{name}}`
|
557
|
+
|
558
558
|
* `{{name}}`
|
559
559
|
|
560
560
|
When using the `pulumi import` command, ScanConfig can be imported using one of the formats above. For example:
|
561
561
|
|
562
562
|
```sh
|
563
|
-
$ pulumi import gcp:compute/securityScanConfig:SecurityScanConfig default
|
563
|
+
$ pulumi import gcp:compute/securityScanConfig:SecurityScanConfig default {{project}}/{{name}}
|
564
564
|
```
|
565
565
|
|
566
566
|
```sh
|
567
|
-
$ pulumi import gcp:compute/securityScanConfig:SecurityScanConfig default {{project}}
|
567
|
+
$ pulumi import gcp:compute/securityScanConfig:SecurityScanConfig default "{{project}} {{name}}"
|
568
568
|
```
|
569
569
|
|
570
570
|
```sh
|
pulumi_gcp/config/__init__.pyi
CHANGED
@@ -143,6 +143,8 @@ dataplexCustomEndpoint: Optional[str]
|
|
143
143
|
|
144
144
|
dataprocCustomEndpoint: Optional[str]
|
145
145
|
|
146
|
+
dataprocGdcCustomEndpoint: Optional[str]
|
147
|
+
|
146
148
|
dataprocMetastoreCustomEndpoint: Optional[str]
|
147
149
|
|
148
150
|
datastreamCustomEndpoint: Optional[str]
|
@@ -209,6 +211,8 @@ healthcareCustomEndpoint: Optional[str]
|
|
209
211
|
|
210
212
|
iam2CustomEndpoint: Optional[str]
|
211
213
|
|
214
|
+
iam3CustomEndpoint: Optional[str]
|
215
|
+
|
212
216
|
iamBetaCustomEndpoint: Optional[str]
|
213
217
|
|
214
218
|
iamCredentialsCustomEndpoint: Optional[str]
|
pulumi_gcp/config/vars.py
CHANGED
@@ -277,6 +277,10 @@ class _ExportableConfig(types.ModuleType):
|
|
277
277
|
def dataproc_custom_endpoint(self) -> Optional[str]:
|
278
278
|
return __config__.get('dataprocCustomEndpoint')
|
279
279
|
|
280
|
+
@property
|
281
|
+
def dataproc_gdc_custom_endpoint(self) -> Optional[str]:
|
282
|
+
return __config__.get('dataprocGdcCustomEndpoint')
|
283
|
+
|
280
284
|
@property
|
281
285
|
def dataproc_metastore_custom_endpoint(self) -> Optional[str]:
|
282
286
|
return __config__.get('dataprocMetastoreCustomEndpoint')
|
@@ -409,6 +413,10 @@ class _ExportableConfig(types.ModuleType):
|
|
409
413
|
def iam2_custom_endpoint(self) -> Optional[str]:
|
410
414
|
return __config__.get('iam2CustomEndpoint')
|
411
415
|
|
416
|
+
@property
|
417
|
+
def iam3_custom_endpoint(self) -> Optional[str]:
|
418
|
+
return __config__.get('iam3CustomEndpoint')
|
419
|
+
|
412
420
|
@property
|
413
421
|
def iam_beta_custom_endpoint(self) -> Optional[str]:
|
414
422
|
return __config__.get('iamBetaCustomEndpoint')
|