pulumi-gcp 8.17.0a1738274430__py3-none-any.whl → 8.17.0a1738349438__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 +91 -0
- pulumi_gcp/alloydb/cluster.py +75 -7
- pulumi_gcp/apigee/_inputs.py +91 -0
- pulumi_gcp/apigee/endpoint_attachment.py +0 -64
- pulumi_gcp/apigee/environment.py +54 -0
- pulumi_gcp/apigee/outputs.py +54 -0
- pulumi_gcp/apihub/__init__.py +10 -0
- pulumi_gcp/apihub/_inputs.py +154 -0
- pulumi_gcp/apihub/api_hub_instance.py +784 -0
- pulumi_gcp/apihub/outputs.py +124 -0
- pulumi_gcp/chronicle/__init__.py +1 -0
- pulumi_gcp/chronicle/_inputs.py +124 -0
- pulumi_gcp/chronicle/outputs.py +112 -0
- pulumi_gcp/chronicle/retrohunt.py +645 -0
- pulumi_gcp/cloudrunv2/_inputs.py +197 -0
- pulumi_gcp/cloudrunv2/get_service.py +12 -1
- pulumi_gcp/cloudrunv2/outputs.py +256 -0
- pulumi_gcp/cloudrunv2/service.py +159 -0
- pulumi_gcp/colab/__init__.py +5 -0
- pulumi_gcp/colab/_inputs.py +131 -0
- pulumi_gcp/colab/get_runtime_template_iam_policy.py +182 -0
- pulumi_gcp/colab/outputs.py +92 -0
- pulumi_gcp/colab/runtime.py +696 -0
- pulumi_gcp/colab/runtime_template_iam_binding.py +828 -0
- pulumi_gcp/colab/runtime_template_iam_member.py +828 -0
- pulumi_gcp/colab/runtime_template_iam_policy.py +667 -0
- pulumi_gcp/compute/__init__.py +4 -0
- pulumi_gcp/compute/_inputs.py +526 -0
- pulumi_gcp/compute/firewall_policy_rule.py +104 -22
- pulumi_gcp/compute/firewall_policy_with_rules.py +114 -42
- pulumi_gcp/compute/get_instance_template_iam_policy.py +159 -0
- pulumi_gcp/compute/instance_template_iam_binding.py +998 -0
- pulumi_gcp/compute/instance_template_iam_member.py +998 -0
- pulumi_gcp/compute/instance_template_iam_policy.py +817 -0
- pulumi_gcp/compute/interconnect_attachment.py +189 -2
- pulumi_gcp/compute/network_firewall_policy_rule.py +122 -10
- pulumi_gcp/compute/network_firewall_policy_with_rules.py +116 -44
- pulumi_gcp/compute/outputs.py +352 -0
- pulumi_gcp/compute/project_metadata_item.py +12 -0
- pulumi_gcp/compute/public_advertised_prefix.py +87 -0
- pulumi_gcp/compute/region_network_firewall_policy_rule.py +130 -10
- pulumi_gcp/compute/region_network_firewall_policy_with_rules.py +104 -32
- pulumi_gcp/compute/router_peer.py +115 -3
- pulumi_gcp/config/__init__.pyi +2 -0
- pulumi_gcp/config/vars.py +4 -0
- pulumi_gcp/filestore/get_instance.py +12 -1
- pulumi_gcp/filestore/instance.py +75 -0
- pulumi_gcp/gemini/code_repository_index.py +29 -33
- pulumi_gcp/gemini/get_repository_group_iam_policy.py +28 -2
- pulumi_gcp/gemini/repository_group.py +76 -26
- pulumi_gcp/gemini/repository_group_iam_binding.py +258 -0
- pulumi_gcp/gemini/repository_group_iam_member.py +258 -0
- pulumi_gcp/gemini/repository_group_iam_policy.py +258 -0
- pulumi_gcp/kms/__init__.py +1 -0
- pulumi_gcp/kms/get_key_handles.py +172 -0
- pulumi_gcp/kms/outputs.py +45 -0
- pulumi_gcp/networksecurity/_inputs.py +72 -0
- pulumi_gcp/networksecurity/outputs.py +76 -0
- pulumi_gcp/networksecurity/security_profile.py +233 -7
- pulumi_gcp/networksecurity/security_profile_group.py +218 -0
- pulumi_gcp/organizations/__init__.py +1 -0
- pulumi_gcp/organizations/get_s.py +128 -0
- pulumi_gcp/organizations/outputs.py +63 -0
- pulumi_gcp/parametermanager/__init__.py +3 -0
- pulumi_gcp/parametermanager/get_parameter.py +211 -0
- pulumi_gcp/parametermanager/get_regional_parameters.py +157 -0
- pulumi_gcp/parametermanager/outputs.py +210 -0
- pulumi_gcp/parametermanager/parameter_version.py +496 -0
- pulumi_gcp/parametermanager/regional_parameter_version.py +10 -38
- pulumi_gcp/provider.py +20 -0
- pulumi_gcp/pubsub/_inputs.py +213 -1
- pulumi_gcp/pubsub/outputs.py +278 -2
- pulumi_gcp/pubsub/topic.py +42 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/__init__.py +1 -0
- pulumi_gcp/redis/_inputs.py +342 -6
- pulumi_gcp/redis/cluster.py +223 -102
- pulumi_gcp/redis/cluster_user_created_connections.py +845 -0
- pulumi_gcp/redis/outputs.py +268 -4
- {pulumi_gcp-8.17.0a1738274430.dist-info → pulumi_gcp-8.17.0a1738349438.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.17.0a1738274430.dist-info → pulumi_gcp-8.17.0a1738349438.dist-info}/RECORD +83 -63
- {pulumi_gcp-8.17.0a1738274430.dist-info → pulumi_gcp-8.17.0a1738349438.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.17.0a1738274430.dist-info → pulumi_gcp-8.17.0a1738349438.dist-info}/top_level.txt +0 -0
@@ -349,7 +349,7 @@ class RegionNetworkFirewallPolicyWithRules(pulumi.CustomResource):
|
|
349
349
|
|
350
350
|
project = gcp.organizations.get_project()
|
351
351
|
address_group1 = gcp.networksecurity.AddressGroup("address_group_1",
|
352
|
-
name="
|
352
|
+
name="address-group",
|
353
353
|
parent=project.id,
|
354
354
|
description="Regional address group",
|
355
355
|
location="us-west2",
|
@@ -360,16 +360,19 @@ class RegionNetworkFirewallPolicyWithRules(pulumi.CustomResource):
|
|
360
360
|
description="Tag key",
|
361
361
|
parent=project.id,
|
362
362
|
purpose="GCE_FIREWALL",
|
363
|
-
short_name="
|
363
|
+
short_name="tag-key",
|
364
364
|
purpose_data={
|
365
365
|
"network": f"{project.name}/default",
|
366
366
|
})
|
367
367
|
secure_tag_value1 = gcp.tags.TagValue("secure_tag_value_1",
|
368
368
|
description="Tag value",
|
369
369
|
parent=secure_tag_key1.id,
|
370
|
-
short_name="
|
371
|
-
|
372
|
-
name="
|
370
|
+
short_name="tag-value")
|
371
|
+
network = gcp.compute.Network("network",
|
372
|
+
name="network",
|
373
|
+
auto_create_subnetworks=False)
|
374
|
+
primary = gcp.compute.RegionNetworkFirewallPolicyWithRules("primary",
|
375
|
+
name="fw-policy",
|
373
376
|
region="us-west2",
|
374
377
|
description="Terraform test",
|
375
378
|
rules=[
|
@@ -380,13 +383,6 @@ class RegionNetworkFirewallPolicyWithRules(pulumi.CustomResource):
|
|
380
383
|
"action": "allow",
|
381
384
|
"direction": "EGRESS",
|
382
385
|
"match": {
|
383
|
-
"layer4_configs": [{
|
384
|
-
"ip_protocol": "tcp",
|
385
|
-
"ports": [
|
386
|
-
"8080",
|
387
|
-
"7070",
|
388
|
-
],
|
389
|
-
}],
|
390
386
|
"dest_ip_ranges": ["11.100.0.1/32"],
|
391
387
|
"dest_fqdns": [
|
392
388
|
"www.yyy.com",
|
@@ -401,6 +397,13 @@ class RegionNetworkFirewallPolicyWithRules(pulumi.CustomResource):
|
|
401
397
|
"iplist-tor-exit-nodes",
|
402
398
|
],
|
403
399
|
"dest_address_groups": [address_group1.id],
|
400
|
+
"layer4_configs": [{
|
401
|
+
"ip_protocol": "tcp",
|
402
|
+
"ports": [
|
403
|
+
"8080",
|
404
|
+
"7070",
|
405
|
+
],
|
406
|
+
}],
|
404
407
|
},
|
405
408
|
"target_secure_tags": [{
|
406
409
|
"name": secure_tag_value1.id,
|
@@ -413,10 +416,8 @@ class RegionNetworkFirewallPolicyWithRules(pulumi.CustomResource):
|
|
413
416
|
"enable_logging": False,
|
414
417
|
"action": "deny",
|
415
418
|
"direction": "INGRESS",
|
419
|
+
"disabled": True,
|
416
420
|
"match": {
|
417
|
-
"layer4_configs": [{
|
418
|
-
"ip_protocol": "udp",
|
419
|
-
}],
|
420
421
|
"src_ip_ranges": ["0.0.0.0/0"],
|
421
422
|
"src_fqdns": [
|
422
423
|
"www.abc.com",
|
@@ -434,8 +435,43 @@ class RegionNetworkFirewallPolicyWithRules(pulumi.CustomResource):
|
|
434
435
|
"src_secure_tags": [{
|
435
436
|
"name": secure_tag_value1.id,
|
436
437
|
}],
|
438
|
+
"layer4_configs": [{
|
439
|
+
"ip_protocol": "udp",
|
440
|
+
}],
|
441
|
+
},
|
442
|
+
},
|
443
|
+
{
|
444
|
+
"description": "network scope rule 1",
|
445
|
+
"rule_name": "network scope 1",
|
446
|
+
"priority": 4000,
|
447
|
+
"enable_logging": False,
|
448
|
+
"action": "allow",
|
449
|
+
"direction": "INGRESS",
|
450
|
+
"match": {
|
451
|
+
"src_ip_ranges": ["11.100.0.1/32"],
|
452
|
+
"src_network_scope": "VPC_NETWORKS",
|
453
|
+
"src_networks": [network.id],
|
454
|
+
"layer4_configs": [{
|
455
|
+
"ip_protocol": "tcp",
|
456
|
+
"ports": ["8080"],
|
457
|
+
}],
|
458
|
+
},
|
459
|
+
},
|
460
|
+
{
|
461
|
+
"description": "network scope rule 2",
|
462
|
+
"rule_name": "network scope 2",
|
463
|
+
"priority": 5000,
|
464
|
+
"enable_logging": False,
|
465
|
+
"action": "allow",
|
466
|
+
"direction": "EGRESS",
|
467
|
+
"match": {
|
468
|
+
"dest_ip_ranges": ["0.0.0.0/0"],
|
469
|
+
"dest_network_scope": "NON_INTERNET",
|
470
|
+
"layer4_configs": [{
|
471
|
+
"ip_protocol": "tcp",
|
472
|
+
"ports": ["8080"],
|
473
|
+
}],
|
437
474
|
},
|
438
|
-
"disabled": True,
|
439
475
|
},
|
440
476
|
])
|
441
477
|
```
|
@@ -501,7 +537,7 @@ class RegionNetworkFirewallPolicyWithRules(pulumi.CustomResource):
|
|
501
537
|
|
502
538
|
project = gcp.organizations.get_project()
|
503
539
|
address_group1 = gcp.networksecurity.AddressGroup("address_group_1",
|
504
|
-
name="
|
540
|
+
name="address-group",
|
505
541
|
parent=project.id,
|
506
542
|
description="Regional address group",
|
507
543
|
location="us-west2",
|
@@ -512,16 +548,19 @@ class RegionNetworkFirewallPolicyWithRules(pulumi.CustomResource):
|
|
512
548
|
description="Tag key",
|
513
549
|
parent=project.id,
|
514
550
|
purpose="GCE_FIREWALL",
|
515
|
-
short_name="
|
551
|
+
short_name="tag-key",
|
516
552
|
purpose_data={
|
517
553
|
"network": f"{project.name}/default",
|
518
554
|
})
|
519
555
|
secure_tag_value1 = gcp.tags.TagValue("secure_tag_value_1",
|
520
556
|
description="Tag value",
|
521
557
|
parent=secure_tag_key1.id,
|
522
|
-
short_name="
|
523
|
-
|
524
|
-
name="
|
558
|
+
short_name="tag-value")
|
559
|
+
network = gcp.compute.Network("network",
|
560
|
+
name="network",
|
561
|
+
auto_create_subnetworks=False)
|
562
|
+
primary = gcp.compute.RegionNetworkFirewallPolicyWithRules("primary",
|
563
|
+
name="fw-policy",
|
525
564
|
region="us-west2",
|
526
565
|
description="Terraform test",
|
527
566
|
rules=[
|
@@ -532,13 +571,6 @@ class RegionNetworkFirewallPolicyWithRules(pulumi.CustomResource):
|
|
532
571
|
"action": "allow",
|
533
572
|
"direction": "EGRESS",
|
534
573
|
"match": {
|
535
|
-
"layer4_configs": [{
|
536
|
-
"ip_protocol": "tcp",
|
537
|
-
"ports": [
|
538
|
-
"8080",
|
539
|
-
"7070",
|
540
|
-
],
|
541
|
-
}],
|
542
574
|
"dest_ip_ranges": ["11.100.0.1/32"],
|
543
575
|
"dest_fqdns": [
|
544
576
|
"www.yyy.com",
|
@@ -553,6 +585,13 @@ class RegionNetworkFirewallPolicyWithRules(pulumi.CustomResource):
|
|
553
585
|
"iplist-tor-exit-nodes",
|
554
586
|
],
|
555
587
|
"dest_address_groups": [address_group1.id],
|
588
|
+
"layer4_configs": [{
|
589
|
+
"ip_protocol": "tcp",
|
590
|
+
"ports": [
|
591
|
+
"8080",
|
592
|
+
"7070",
|
593
|
+
],
|
594
|
+
}],
|
556
595
|
},
|
557
596
|
"target_secure_tags": [{
|
558
597
|
"name": secure_tag_value1.id,
|
@@ -565,10 +604,8 @@ class RegionNetworkFirewallPolicyWithRules(pulumi.CustomResource):
|
|
565
604
|
"enable_logging": False,
|
566
605
|
"action": "deny",
|
567
606
|
"direction": "INGRESS",
|
607
|
+
"disabled": True,
|
568
608
|
"match": {
|
569
|
-
"layer4_configs": [{
|
570
|
-
"ip_protocol": "udp",
|
571
|
-
}],
|
572
609
|
"src_ip_ranges": ["0.0.0.0/0"],
|
573
610
|
"src_fqdns": [
|
574
611
|
"www.abc.com",
|
@@ -586,8 +623,43 @@ class RegionNetworkFirewallPolicyWithRules(pulumi.CustomResource):
|
|
586
623
|
"src_secure_tags": [{
|
587
624
|
"name": secure_tag_value1.id,
|
588
625
|
}],
|
626
|
+
"layer4_configs": [{
|
627
|
+
"ip_protocol": "udp",
|
628
|
+
}],
|
629
|
+
},
|
630
|
+
},
|
631
|
+
{
|
632
|
+
"description": "network scope rule 1",
|
633
|
+
"rule_name": "network scope 1",
|
634
|
+
"priority": 4000,
|
635
|
+
"enable_logging": False,
|
636
|
+
"action": "allow",
|
637
|
+
"direction": "INGRESS",
|
638
|
+
"match": {
|
639
|
+
"src_ip_ranges": ["11.100.0.1/32"],
|
640
|
+
"src_network_scope": "VPC_NETWORKS",
|
641
|
+
"src_networks": [network.id],
|
642
|
+
"layer4_configs": [{
|
643
|
+
"ip_protocol": "tcp",
|
644
|
+
"ports": ["8080"],
|
645
|
+
}],
|
646
|
+
},
|
647
|
+
},
|
648
|
+
{
|
649
|
+
"description": "network scope rule 2",
|
650
|
+
"rule_name": "network scope 2",
|
651
|
+
"priority": 5000,
|
652
|
+
"enable_logging": False,
|
653
|
+
"action": "allow",
|
654
|
+
"direction": "EGRESS",
|
655
|
+
"match": {
|
656
|
+
"dest_ip_ranges": ["0.0.0.0/0"],
|
657
|
+
"dest_network_scope": "NON_INTERNET",
|
658
|
+
"layer4_configs": [{
|
659
|
+
"ip_protocol": "tcp",
|
660
|
+
"ports": ["8080"],
|
661
|
+
}],
|
589
662
|
},
|
590
|
-
"disabled": True,
|
591
663
|
},
|
592
664
|
])
|
593
665
|
```
|
@@ -46,7 +46,8 @@ class RouterPeerArgs:
|
|
46
46
|
peer_ipv6_nexthop_address: Optional[pulumi.Input[str]] = None,
|
47
47
|
project: Optional[pulumi.Input[str]] = None,
|
48
48
|
region: Optional[pulumi.Input[str]] = None,
|
49
|
-
router_appliance_instance: Optional[pulumi.Input[str]] = None
|
49
|
+
router_appliance_instance: Optional[pulumi.Input[str]] = None,
|
50
|
+
zero_custom_learned_route_priority: Optional[pulumi.Input[bool]] = None):
|
50
51
|
"""
|
51
52
|
The set of arguments for constructing a RouterPeer resource.
|
52
53
|
:param pulumi.Input[str] interface: Name of the interface the BGP peer is associated with.
|
@@ -129,6 +130,8 @@ class RouterPeerArgs:
|
|
129
130
|
such as Next Gen Firewalls, Virtual Routers, or Router Appliances.
|
130
131
|
The VM instance must be located in zones contained in the same region as
|
131
132
|
this Cloud Router. The VM instance is the peer side of the BGP session.
|
133
|
+
:param pulumi.Input[bool] zero_custom_learned_route_priority: The user-defined zero-custom-learned-route-priority for a custom-learned-route-priority in BGP session.
|
134
|
+
This value has to be set true to force the custom_learned_route_priority to be 0.
|
132
135
|
"""
|
133
136
|
pulumi.set(__self__, "interface", interface)
|
134
137
|
pulumi.set(__self__, "peer_asn", peer_asn)
|
@@ -179,6 +182,8 @@ class RouterPeerArgs:
|
|
179
182
|
pulumi.set(__self__, "region", region)
|
180
183
|
if router_appliance_instance is not None:
|
181
184
|
pulumi.set(__self__, "router_appliance_instance", router_appliance_instance)
|
185
|
+
if zero_custom_learned_route_priority is not None:
|
186
|
+
pulumi.set(__self__, "zero_custom_learned_route_priority", zero_custom_learned_route_priority)
|
182
187
|
|
183
188
|
@property
|
184
189
|
@pulumi.getter
|
@@ -546,6 +551,19 @@ class RouterPeerArgs:
|
|
546
551
|
def router_appliance_instance(self, value: Optional[pulumi.Input[str]]):
|
547
552
|
pulumi.set(self, "router_appliance_instance", value)
|
548
553
|
|
554
|
+
@property
|
555
|
+
@pulumi.getter(name="zeroCustomLearnedRoutePriority")
|
556
|
+
def zero_custom_learned_route_priority(self) -> Optional[pulumi.Input[bool]]:
|
557
|
+
"""
|
558
|
+
The user-defined zero-custom-learned-route-priority for a custom-learned-route-priority in BGP session.
|
559
|
+
This value has to be set true to force the custom_learned_route_priority to be 0.
|
560
|
+
"""
|
561
|
+
return pulumi.get(self, "zero_custom_learned_route_priority")
|
562
|
+
|
563
|
+
@zero_custom_learned_route_priority.setter
|
564
|
+
def zero_custom_learned_route_priority(self, value: Optional[pulumi.Input[bool]]):
|
565
|
+
pulumi.set(self, "zero_custom_learned_route_priority", value)
|
566
|
+
|
549
567
|
|
550
568
|
@pulumi.input_type
|
551
569
|
class _RouterPeerState:
|
@@ -566,6 +584,7 @@ class _RouterPeerState:
|
|
566
584
|
ip_address: Optional[pulumi.Input[str]] = None,
|
567
585
|
ipv4_nexthop_address: Optional[pulumi.Input[str]] = None,
|
568
586
|
ipv6_nexthop_address: Optional[pulumi.Input[str]] = None,
|
587
|
+
is_custom_learned_priority_set: Optional[pulumi.Input[bool]] = None,
|
569
588
|
management_type: Optional[pulumi.Input[str]] = None,
|
570
589
|
md5_authentication_key: Optional[pulumi.Input['RouterPeerMd5AuthenticationKeyArgs']] = None,
|
571
590
|
name: Optional[pulumi.Input[str]] = None,
|
@@ -576,7 +595,8 @@ class _RouterPeerState:
|
|
576
595
|
project: Optional[pulumi.Input[str]] = None,
|
577
596
|
region: Optional[pulumi.Input[str]] = None,
|
578
597
|
router: Optional[pulumi.Input[str]] = None,
|
579
|
-
router_appliance_instance: Optional[pulumi.Input[str]] = None
|
598
|
+
router_appliance_instance: Optional[pulumi.Input[str]] = None,
|
599
|
+
zero_custom_learned_route_priority: Optional[pulumi.Input[bool]] = None):
|
580
600
|
"""
|
581
601
|
Input properties used for looking up and filtering RouterPeer resources.
|
582
602
|
:param pulumi.Input[str] advertise_mode: User-specified flag to indicate which mode to use for advertisement.
|
@@ -630,6 +650,7 @@ class _RouterPeerState:
|
|
630
650
|
The address must be in the range 2600:2d00:0:2::/64 or 2600:2d00:0:3::/64.
|
631
651
|
If you do not specify the next hop addresses, Google Cloud automatically
|
632
652
|
assigns unused addresses from the 2600:2d00:0:2::/64 or 2600:2d00:0:3::/64 range for you.
|
653
|
+
:param pulumi.Input[bool] is_custom_learned_priority_set: An internal boolean field for provider use.
|
633
654
|
:param pulumi.Input[str] management_type: The resource that configures and manages this BGP peer.
|
634
655
|
* `MANAGED_BY_USER` is the default value and can be managed by
|
635
656
|
you or other users
|
@@ -668,6 +689,8 @@ class _RouterPeerState:
|
|
668
689
|
such as Next Gen Firewalls, Virtual Routers, or Router Appliances.
|
669
690
|
The VM instance must be located in zones contained in the same region as
|
670
691
|
this Cloud Router. The VM instance is the peer side of the BGP session.
|
692
|
+
:param pulumi.Input[bool] zero_custom_learned_route_priority: The user-defined zero-custom-learned-route-priority for a custom-learned-route-priority in BGP session.
|
693
|
+
This value has to be set true to force the custom_learned_route_priority to be 0.
|
671
694
|
"""
|
672
695
|
if advertise_mode is not None:
|
673
696
|
pulumi.set(__self__, "advertise_mode", advertise_mode)
|
@@ -701,6 +724,8 @@ class _RouterPeerState:
|
|
701
724
|
pulumi.set(__self__, "ipv4_nexthop_address", ipv4_nexthop_address)
|
702
725
|
if ipv6_nexthop_address is not None:
|
703
726
|
pulumi.set(__self__, "ipv6_nexthop_address", ipv6_nexthop_address)
|
727
|
+
if is_custom_learned_priority_set is not None:
|
728
|
+
pulumi.set(__self__, "is_custom_learned_priority_set", is_custom_learned_priority_set)
|
704
729
|
if management_type is not None:
|
705
730
|
pulumi.set(__self__, "management_type", management_type)
|
706
731
|
if md5_authentication_key is not None:
|
@@ -723,6 +748,8 @@ class _RouterPeerState:
|
|
723
748
|
pulumi.set(__self__, "router", router)
|
724
749
|
if router_appliance_instance is not None:
|
725
750
|
pulumi.set(__self__, "router_appliance_instance", router_appliance_instance)
|
751
|
+
if zero_custom_learned_route_priority is not None:
|
752
|
+
pulumi.set(__self__, "zero_custom_learned_route_priority", zero_custom_learned_route_priority)
|
726
753
|
|
727
754
|
@property
|
728
755
|
@pulumi.getter(name="advertiseMode")
|
@@ -951,6 +978,18 @@ class _RouterPeerState:
|
|
951
978
|
def ipv6_nexthop_address(self, value: Optional[pulumi.Input[str]]):
|
952
979
|
pulumi.set(self, "ipv6_nexthop_address", value)
|
953
980
|
|
981
|
+
@property
|
982
|
+
@pulumi.getter(name="isCustomLearnedPrioritySet")
|
983
|
+
def is_custom_learned_priority_set(self) -> Optional[pulumi.Input[bool]]:
|
984
|
+
"""
|
985
|
+
An internal boolean field for provider use.
|
986
|
+
"""
|
987
|
+
return pulumi.get(self, "is_custom_learned_priority_set")
|
988
|
+
|
989
|
+
@is_custom_learned_priority_set.setter
|
990
|
+
def is_custom_learned_priority_set(self, value: Optional[pulumi.Input[bool]]):
|
991
|
+
pulumi.set(self, "is_custom_learned_priority_set", value)
|
992
|
+
|
954
993
|
@property
|
955
994
|
@pulumi.getter(name="managementType")
|
956
995
|
def management_type(self) -> Optional[pulumi.Input[str]]:
|
@@ -1110,6 +1149,19 @@ class _RouterPeerState:
|
|
1110
1149
|
def router_appliance_instance(self, value: Optional[pulumi.Input[str]]):
|
1111
1150
|
pulumi.set(self, "router_appliance_instance", value)
|
1112
1151
|
|
1152
|
+
@property
|
1153
|
+
@pulumi.getter(name="zeroCustomLearnedRoutePriority")
|
1154
|
+
def zero_custom_learned_route_priority(self) -> Optional[pulumi.Input[bool]]:
|
1155
|
+
"""
|
1156
|
+
The user-defined zero-custom-learned-route-priority for a custom-learned-route-priority in BGP session.
|
1157
|
+
This value has to be set true to force the custom_learned_route_priority to be 0.
|
1158
|
+
"""
|
1159
|
+
return pulumi.get(self, "zero_custom_learned_route_priority")
|
1160
|
+
|
1161
|
+
@zero_custom_learned_route_priority.setter
|
1162
|
+
def zero_custom_learned_route_priority(self, value: Optional[pulumi.Input[bool]]):
|
1163
|
+
pulumi.set(self, "zero_custom_learned_route_priority", value)
|
1164
|
+
|
1113
1165
|
|
1114
1166
|
class RouterPeer(pulumi.CustomResource):
|
1115
1167
|
@overload
|
@@ -1142,6 +1194,7 @@ class RouterPeer(pulumi.CustomResource):
|
|
1142
1194
|
region: Optional[pulumi.Input[str]] = None,
|
1143
1195
|
router: Optional[pulumi.Input[str]] = None,
|
1144
1196
|
router_appliance_instance: Optional[pulumi.Input[str]] = None,
|
1197
|
+
zero_custom_learned_route_priority: Optional[pulumi.Input[bool]] = None,
|
1145
1198
|
__props__=None):
|
1146
1199
|
"""
|
1147
1200
|
BGP information that must be configured into the routing stack to
|
@@ -1208,6 +1261,21 @@ class RouterPeer(pulumi.CustomResource):
|
|
1208
1261
|
"session_initialization_mode": "ACTIVE",
|
1209
1262
|
})
|
1210
1263
|
```
|
1264
|
+
### Router Zero Custom Learend Route Priority
|
1265
|
+
|
1266
|
+
```python
|
1267
|
+
import pulumi
|
1268
|
+
import pulumi_gcp as gcp
|
1269
|
+
|
1270
|
+
peer = gcp.compute.RouterPeer("peer",
|
1271
|
+
name="my-router-peer",
|
1272
|
+
router="my-router",
|
1273
|
+
region="us-central1",
|
1274
|
+
interface="interface-1",
|
1275
|
+
peer_asn=65513,
|
1276
|
+
custom_learned_route_priority=0,
|
1277
|
+
zero_custom_learned_route_priority=True)
|
1278
|
+
```
|
1211
1279
|
### Router Peer Router Appliance
|
1212
1280
|
|
1213
1281
|
```python
|
@@ -1532,6 +1600,8 @@ class RouterPeer(pulumi.CustomResource):
|
|
1532
1600
|
such as Next Gen Firewalls, Virtual Routers, or Router Appliances.
|
1533
1601
|
The VM instance must be located in zones contained in the same region as
|
1534
1602
|
this Cloud Router. The VM instance is the peer side of the BGP session.
|
1603
|
+
:param pulumi.Input[bool] zero_custom_learned_route_priority: The user-defined zero-custom-learned-route-priority for a custom-learned-route-priority in BGP session.
|
1604
|
+
This value has to be set true to force the custom_learned_route_priority to be 0.
|
1535
1605
|
"""
|
1536
1606
|
...
|
1537
1607
|
@overload
|
@@ -1604,6 +1674,21 @@ class RouterPeer(pulumi.CustomResource):
|
|
1604
1674
|
"session_initialization_mode": "ACTIVE",
|
1605
1675
|
})
|
1606
1676
|
```
|
1677
|
+
### Router Zero Custom Learend Route Priority
|
1678
|
+
|
1679
|
+
```python
|
1680
|
+
import pulumi
|
1681
|
+
import pulumi_gcp as gcp
|
1682
|
+
|
1683
|
+
peer = gcp.compute.RouterPeer("peer",
|
1684
|
+
name="my-router-peer",
|
1685
|
+
router="my-router",
|
1686
|
+
region="us-central1",
|
1687
|
+
interface="interface-1",
|
1688
|
+
peer_asn=65513,
|
1689
|
+
custom_learned_route_priority=0,
|
1690
|
+
zero_custom_learned_route_priority=True)
|
1691
|
+
```
|
1607
1692
|
### Router Peer Router Appliance
|
1608
1693
|
|
1609
1694
|
```python
|
@@ -1887,6 +1972,7 @@ class RouterPeer(pulumi.CustomResource):
|
|
1887
1972
|
region: Optional[pulumi.Input[str]] = None,
|
1888
1973
|
router: Optional[pulumi.Input[str]] = None,
|
1889
1974
|
router_appliance_instance: Optional[pulumi.Input[str]] = None,
|
1975
|
+
zero_custom_learned_route_priority: Optional[pulumi.Input[bool]] = None,
|
1890
1976
|
__props__=None):
|
1891
1977
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
1892
1978
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -1928,6 +2014,8 @@ class RouterPeer(pulumi.CustomResource):
|
|
1928
2014
|
raise TypeError("Missing required property 'router'")
|
1929
2015
|
__props__.__dict__["router"] = router
|
1930
2016
|
__props__.__dict__["router_appliance_instance"] = router_appliance_instance
|
2017
|
+
__props__.__dict__["zero_custom_learned_route_priority"] = zero_custom_learned_route_priority
|
2018
|
+
__props__.__dict__["is_custom_learned_priority_set"] = None
|
1931
2019
|
__props__.__dict__["management_type"] = None
|
1932
2020
|
super(RouterPeer, __self__).__init__(
|
1933
2021
|
'gcp:compute/routerPeer:RouterPeer',
|
@@ -1955,6 +2043,7 @@ class RouterPeer(pulumi.CustomResource):
|
|
1955
2043
|
ip_address: Optional[pulumi.Input[str]] = None,
|
1956
2044
|
ipv4_nexthop_address: Optional[pulumi.Input[str]] = None,
|
1957
2045
|
ipv6_nexthop_address: Optional[pulumi.Input[str]] = None,
|
2046
|
+
is_custom_learned_priority_set: Optional[pulumi.Input[bool]] = None,
|
1958
2047
|
management_type: Optional[pulumi.Input[str]] = None,
|
1959
2048
|
md5_authentication_key: Optional[pulumi.Input[Union['RouterPeerMd5AuthenticationKeyArgs', 'RouterPeerMd5AuthenticationKeyArgsDict']]] = None,
|
1960
2049
|
name: Optional[pulumi.Input[str]] = None,
|
@@ -1965,7 +2054,8 @@ class RouterPeer(pulumi.CustomResource):
|
|
1965
2054
|
project: Optional[pulumi.Input[str]] = None,
|
1966
2055
|
region: Optional[pulumi.Input[str]] = None,
|
1967
2056
|
router: Optional[pulumi.Input[str]] = None,
|
1968
|
-
router_appliance_instance: Optional[pulumi.Input[str]] = None
|
2057
|
+
router_appliance_instance: Optional[pulumi.Input[str]] = None,
|
2058
|
+
zero_custom_learned_route_priority: Optional[pulumi.Input[bool]] = None) -> 'RouterPeer':
|
1969
2059
|
"""
|
1970
2060
|
Get an existing RouterPeer resource's state with the given name, id, and optional extra
|
1971
2061
|
properties used to qualify the lookup.
|
@@ -2024,6 +2114,7 @@ class RouterPeer(pulumi.CustomResource):
|
|
2024
2114
|
The address must be in the range 2600:2d00:0:2::/64 or 2600:2d00:0:3::/64.
|
2025
2115
|
If you do not specify the next hop addresses, Google Cloud automatically
|
2026
2116
|
assigns unused addresses from the 2600:2d00:0:2::/64 or 2600:2d00:0:3::/64 range for you.
|
2117
|
+
:param pulumi.Input[bool] is_custom_learned_priority_set: An internal boolean field for provider use.
|
2027
2118
|
:param pulumi.Input[str] management_type: The resource that configures and manages this BGP peer.
|
2028
2119
|
* `MANAGED_BY_USER` is the default value and can be managed by
|
2029
2120
|
you or other users
|
@@ -2062,6 +2153,8 @@ class RouterPeer(pulumi.CustomResource):
|
|
2062
2153
|
such as Next Gen Firewalls, Virtual Routers, or Router Appliances.
|
2063
2154
|
The VM instance must be located in zones contained in the same region as
|
2064
2155
|
this Cloud Router. The VM instance is the peer side of the BGP session.
|
2156
|
+
:param pulumi.Input[bool] zero_custom_learned_route_priority: The user-defined zero-custom-learned-route-priority for a custom-learned-route-priority in BGP session.
|
2157
|
+
This value has to be set true to force the custom_learned_route_priority to be 0.
|
2065
2158
|
"""
|
2066
2159
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
2067
2160
|
|
@@ -2083,6 +2176,7 @@ class RouterPeer(pulumi.CustomResource):
|
|
2083
2176
|
__props__.__dict__["ip_address"] = ip_address
|
2084
2177
|
__props__.__dict__["ipv4_nexthop_address"] = ipv4_nexthop_address
|
2085
2178
|
__props__.__dict__["ipv6_nexthop_address"] = ipv6_nexthop_address
|
2179
|
+
__props__.__dict__["is_custom_learned_priority_set"] = is_custom_learned_priority_set
|
2086
2180
|
__props__.__dict__["management_type"] = management_type
|
2087
2181
|
__props__.__dict__["md5_authentication_key"] = md5_authentication_key
|
2088
2182
|
__props__.__dict__["name"] = name
|
@@ -2094,6 +2188,7 @@ class RouterPeer(pulumi.CustomResource):
|
|
2094
2188
|
__props__.__dict__["region"] = region
|
2095
2189
|
__props__.__dict__["router"] = router
|
2096
2190
|
__props__.__dict__["router_appliance_instance"] = router_appliance_instance
|
2191
|
+
__props__.__dict__["zero_custom_learned_route_priority"] = zero_custom_learned_route_priority
|
2097
2192
|
return RouterPeer(resource_name, opts=opts, __props__=__props__)
|
2098
2193
|
|
2099
2194
|
@property
|
@@ -2259,6 +2354,14 @@ class RouterPeer(pulumi.CustomResource):
|
|
2259
2354
|
"""
|
2260
2355
|
return pulumi.get(self, "ipv6_nexthop_address")
|
2261
2356
|
|
2357
|
+
@property
|
2358
|
+
@pulumi.getter(name="isCustomLearnedPrioritySet")
|
2359
|
+
def is_custom_learned_priority_set(self) -> pulumi.Output[bool]:
|
2360
|
+
"""
|
2361
|
+
An internal boolean field for provider use.
|
2362
|
+
"""
|
2363
|
+
return pulumi.get(self, "is_custom_learned_priority_set")
|
2364
|
+
|
2262
2365
|
@property
|
2263
2366
|
@pulumi.getter(name="managementType")
|
2264
2367
|
def management_type(self) -> pulumi.Output[str]:
|
@@ -2374,3 +2477,12 @@ class RouterPeer(pulumi.CustomResource):
|
|
2374
2477
|
"""
|
2375
2478
|
return pulumi.get(self, "router_appliance_instance")
|
2376
2479
|
|
2480
|
+
@property
|
2481
|
+
@pulumi.getter(name="zeroCustomLearnedRoutePriority")
|
2482
|
+
def zero_custom_learned_route_priority(self) -> pulumi.Output[Optional[bool]]:
|
2483
|
+
"""
|
2484
|
+
The user-defined zero-custom-learned-route-priority for a custom-learned-route-priority in BGP session.
|
2485
|
+
This value has to be set true to force the custom_learned_route_priority to be 0.
|
2486
|
+
"""
|
2487
|
+
return pulumi.get(self, "zero_custom_learned_route_priority")
|
2488
|
+
|
pulumi_gcp/config/__init__.pyi
CHANGED
pulumi_gcp/config/vars.py
CHANGED
@@ -53,6 +53,10 @@ class _ExportableConfig(types.ModuleType):
|
|
53
53
|
def apigee_custom_endpoint(self) -> Optional[str]:
|
54
54
|
return __config__.get('apigeeCustomEndpoint')
|
55
55
|
|
56
|
+
@property
|
57
|
+
def apihub_custom_endpoint(self) -> Optional[str]:
|
58
|
+
return __config__.get('apihubCustomEndpoint')
|
59
|
+
|
56
60
|
@property
|
57
61
|
def apikeys_custom_endpoint(self) -> Optional[str]:
|
58
62
|
return __config__.get('apikeysCustomEndpoint')
|
@@ -27,7 +27,7 @@ class GetInstanceResult:
|
|
27
27
|
"""
|
28
28
|
A collection of values returned by getInstance.
|
29
29
|
"""
|
30
|
-
def __init__(__self__, create_time=None, deletion_protection_enabled=None, deletion_protection_reason=None, description=None, effective_labels=None, etag=None, file_shares=None, id=None, kms_key_name=None, labels=None, location=None, name=None, networks=None, performance_configs=None, project=None, protocol=None, pulumi_labels=None, tier=None, zone=None):
|
30
|
+
def __init__(__self__, create_time=None, deletion_protection_enabled=None, deletion_protection_reason=None, description=None, effective_labels=None, etag=None, file_shares=None, id=None, kms_key_name=None, labels=None, location=None, name=None, networks=None, performance_configs=None, project=None, protocol=None, pulumi_labels=None, tags=None, tier=None, zone=None):
|
31
31
|
if create_time and not isinstance(create_time, str):
|
32
32
|
raise TypeError("Expected argument 'create_time' to be a str")
|
33
33
|
pulumi.set(__self__, "create_time", create_time)
|
@@ -79,6 +79,9 @@ class GetInstanceResult:
|
|
79
79
|
if pulumi_labels and not isinstance(pulumi_labels, dict):
|
80
80
|
raise TypeError("Expected argument 'pulumi_labels' to be a dict")
|
81
81
|
pulumi.set(__self__, "pulumi_labels", pulumi_labels)
|
82
|
+
if tags and not isinstance(tags, dict):
|
83
|
+
raise TypeError("Expected argument 'tags' to be a dict")
|
84
|
+
pulumi.set(__self__, "tags", tags)
|
82
85
|
if tier and not isinstance(tier, str):
|
83
86
|
raise TypeError("Expected argument 'tier' to be a str")
|
84
87
|
pulumi.set(__self__, "tier", tier)
|
@@ -174,6 +177,11 @@ class GetInstanceResult:
|
|
174
177
|
def pulumi_labels(self) -> Mapping[str, str]:
|
175
178
|
return pulumi.get(self, "pulumi_labels")
|
176
179
|
|
180
|
+
@property
|
181
|
+
@pulumi.getter
|
182
|
+
def tags(self) -> Mapping[str, str]:
|
183
|
+
return pulumi.get(self, "tags")
|
184
|
+
|
177
185
|
@property
|
178
186
|
@pulumi.getter
|
179
187
|
def tier(self) -> str:
|
@@ -208,6 +216,7 @@ class AwaitableGetInstanceResult(GetInstanceResult):
|
|
208
216
|
project=self.project,
|
209
217
|
protocol=self.protocol,
|
210
218
|
pulumi_labels=self.pulumi_labels,
|
219
|
+
tags=self.tags,
|
211
220
|
tier=self.tier,
|
212
221
|
zone=self.zone)
|
213
222
|
|
@@ -266,6 +275,7 @@ def get_instance(location: Optional[str] = None,
|
|
266
275
|
project=pulumi.get(__ret__, 'project'),
|
267
276
|
protocol=pulumi.get(__ret__, 'protocol'),
|
268
277
|
pulumi_labels=pulumi.get(__ret__, 'pulumi_labels'),
|
278
|
+
tags=pulumi.get(__ret__, 'tags'),
|
269
279
|
tier=pulumi.get(__ret__, 'tier'),
|
270
280
|
zone=pulumi.get(__ret__, 'zone'))
|
271
281
|
def get_instance_output(location: Optional[pulumi.Input[Optional[str]]] = None,
|
@@ -321,5 +331,6 @@ def get_instance_output(location: Optional[pulumi.Input[Optional[str]]] = None,
|
|
321
331
|
project=pulumi.get(__response__, 'project'),
|
322
332
|
protocol=pulumi.get(__response__, 'protocol'),
|
323
333
|
pulumi_labels=pulumi.get(__response__, 'pulumi_labels'),
|
334
|
+
tags=pulumi.get(__response__, 'tags'),
|
324
335
|
tier=pulumi.get(__response__, 'tier'),
|
325
336
|
zone=pulumi.get(__response__, 'zone')))
|