pulumi-gcp 8.33.0a1749001887__py3-none-any.whl → 8.33.0a1749048505__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 +8 -0
- pulumi_gcp/bigquery/__init__.py +1 -0
- pulumi_gcp/bigquery/get_datasets.py +131 -0
- pulumi_gcp/bigquery/outputs.py +52 -0
- pulumi_gcp/colab/_inputs.py +14 -1
- pulumi_gcp/colab/outputs.py +8 -1
- pulumi_gcp/colab/runtime_template.py +1 -1
- pulumi_gcp/compute/_inputs.py +278 -3
- pulumi_gcp/compute/backend_service.py +18 -2
- pulumi_gcp/compute/get_region_instance_template.py +12 -1
- pulumi_gcp/compute/get_router_nat.py +23 -1
- pulumi_gcp/compute/interconnect_attachment.py +276 -0
- pulumi_gcp/compute/outputs.py +234 -2
- pulumi_gcp/compute/region_instance_template.py +28 -0
- pulumi_gcp/compute/router_nat.py +143 -0
- pulumi_gcp/compute/url_map.py +338 -0
- pulumi_gcp/container/_inputs.py +6 -6
- pulumi_gcp/container/outputs.py +4 -4
- pulumi_gcp/dataplex/__init__.py +1 -0
- pulumi_gcp/dataplex/_inputs.py +472 -0
- pulumi_gcp/dataplex/entry.py +1038 -0
- pulumi_gcp/dataplex/outputs.py +342 -0
- pulumi_gcp/datastream/_inputs.py +48 -6
- pulumi_gcp/datastream/outputs.py +46 -4
- pulumi_gcp/datastream/private_connection.py +205 -35
- pulumi_gcp/dns/_inputs.py +73 -0
- pulumi_gcp/dns/outputs.py +60 -0
- pulumi_gcp/dns/policy.py +54 -0
- pulumi_gcp/filestore/_inputs.py +44 -1
- pulumi_gcp/filestore/instance.py +7 -7
- pulumi_gcp/filestore/outputs.py +52 -2
- pulumi_gcp/memorystore/_inputs.py +6 -6
- pulumi_gcp/memorystore/outputs.py +8 -8
- pulumi_gcp/netapp/_inputs.py +113 -0
- pulumi_gcp/netapp/backup_vault.py +56 -0
- pulumi_gcp/netapp/outputs.py +92 -0
- pulumi_gcp/networkconnectivity/_inputs.py +9 -9
- pulumi_gcp/networkconnectivity/outputs.py +6 -6
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/_inputs.py +3 -6
- pulumi_gcp/redis/outputs.py +2 -4
- pulumi_gcp/storage/bucket_object.py +4 -4
- {pulumi_gcp-8.33.0a1749001887.dist-info → pulumi_gcp-8.33.0a1749048505.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.33.0a1749001887.dist-info → pulumi_gcp-8.33.0a1749048505.dist-info}/RECORD +46 -44
- {pulumi_gcp-8.33.0a1749001887.dist-info → pulumi_gcp-8.33.0a1749048505.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.33.0a1749001887.dist-info → pulumi_gcp-8.33.0a1749048505.dist-info}/top_level.txt +0 -0
@@ -25,6 +25,10 @@ class InterconnectAttachmentArgs:
|
|
25
25
|
router: pulumi.Input[builtins.str],
|
26
26
|
admin_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
27
27
|
bandwidth: Optional[pulumi.Input[builtins.str]] = None,
|
28
|
+
candidate_cloud_router_ip_address: Optional[pulumi.Input[builtins.str]] = None,
|
29
|
+
candidate_cloud_router_ipv6_address: Optional[pulumi.Input[builtins.str]] = None,
|
30
|
+
candidate_customer_router_ip_address: Optional[pulumi.Input[builtins.str]] = None,
|
31
|
+
candidate_customer_router_ipv6_address: Optional[pulumi.Input[builtins.str]] = None,
|
28
32
|
candidate_subnets: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
29
33
|
description: Optional[pulumi.Input[builtins.str]] = None,
|
30
34
|
edge_availability_domain: Optional[pulumi.Input[builtins.str]] = None,
|
@@ -54,6 +58,14 @@ class InterconnectAttachmentArgs:
|
|
54
58
|
Output only for PARTNER type, mutable for PARTNER_PROVIDER and DEDICATED,
|
55
59
|
Defaults to BPS_10G
|
56
60
|
Possible values are: `BPS_50M`, `BPS_100M`, `BPS_200M`, `BPS_300M`, `BPS_400M`, `BPS_500M`, `BPS_1G`, `BPS_2G`, `BPS_5G`, `BPS_10G`, `BPS_20G`, `BPS_50G`, `BPS_100G`.
|
61
|
+
:param pulumi.Input[builtins.str] candidate_cloud_router_ip_address: Single IPv4 address + prefix length to be configured on the cloud router interface for this
|
62
|
+
interconnect attachment. Example: 203.0.113.1/29
|
63
|
+
:param pulumi.Input[builtins.str] candidate_cloud_router_ipv6_address: Single IPv6 address + prefix length to be configured on the cloud router interface for this
|
64
|
+
interconnect attachment. Example: 2001:db8::1/125
|
65
|
+
:param pulumi.Input[builtins.str] candidate_customer_router_ip_address: Single IPv4 address + prefix length to be configured on the customer router interface for this
|
66
|
+
interconnect attachment. Example: 203.0.113.2/29
|
67
|
+
:param pulumi.Input[builtins.str] candidate_customer_router_ipv6_address: Single IPv6 address + prefix length to be configured on the customer router interface for this
|
68
|
+
interconnect attachment. Example: 2001:db8::2/125
|
57
69
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] candidate_subnets: Up to 16 candidate prefixes that can be used to restrict the allocation
|
58
70
|
of cloudRouterIpAddress and customerRouterIpAddress for this attachment.
|
59
71
|
All prefixes must be within link-local address space (169.254.0.0/16)
|
@@ -140,6 +152,14 @@ class InterconnectAttachmentArgs:
|
|
140
152
|
pulumi.set(__self__, "admin_enabled", admin_enabled)
|
141
153
|
if bandwidth is not None:
|
142
154
|
pulumi.set(__self__, "bandwidth", bandwidth)
|
155
|
+
if candidate_cloud_router_ip_address is not None:
|
156
|
+
pulumi.set(__self__, "candidate_cloud_router_ip_address", candidate_cloud_router_ip_address)
|
157
|
+
if candidate_cloud_router_ipv6_address is not None:
|
158
|
+
pulumi.set(__self__, "candidate_cloud_router_ipv6_address", candidate_cloud_router_ipv6_address)
|
159
|
+
if candidate_customer_router_ip_address is not None:
|
160
|
+
pulumi.set(__self__, "candidate_customer_router_ip_address", candidate_customer_router_ip_address)
|
161
|
+
if candidate_customer_router_ipv6_address is not None:
|
162
|
+
pulumi.set(__self__, "candidate_customer_router_ipv6_address", candidate_customer_router_ipv6_address)
|
143
163
|
if candidate_subnets is not None:
|
144
164
|
pulumi.set(__self__, "candidate_subnets", candidate_subnets)
|
145
165
|
if description is not None:
|
@@ -216,6 +236,58 @@ class InterconnectAttachmentArgs:
|
|
216
236
|
def bandwidth(self, value: Optional[pulumi.Input[builtins.str]]):
|
217
237
|
pulumi.set(self, "bandwidth", value)
|
218
238
|
|
239
|
+
@property
|
240
|
+
@pulumi.getter(name="candidateCloudRouterIpAddress")
|
241
|
+
def candidate_cloud_router_ip_address(self) -> Optional[pulumi.Input[builtins.str]]:
|
242
|
+
"""
|
243
|
+
Single IPv4 address + prefix length to be configured on the cloud router interface for this
|
244
|
+
interconnect attachment. Example: 203.0.113.1/29
|
245
|
+
"""
|
246
|
+
return pulumi.get(self, "candidate_cloud_router_ip_address")
|
247
|
+
|
248
|
+
@candidate_cloud_router_ip_address.setter
|
249
|
+
def candidate_cloud_router_ip_address(self, value: Optional[pulumi.Input[builtins.str]]):
|
250
|
+
pulumi.set(self, "candidate_cloud_router_ip_address", value)
|
251
|
+
|
252
|
+
@property
|
253
|
+
@pulumi.getter(name="candidateCloudRouterIpv6Address")
|
254
|
+
def candidate_cloud_router_ipv6_address(self) -> Optional[pulumi.Input[builtins.str]]:
|
255
|
+
"""
|
256
|
+
Single IPv6 address + prefix length to be configured on the cloud router interface for this
|
257
|
+
interconnect attachment. Example: 2001:db8::1/125
|
258
|
+
"""
|
259
|
+
return pulumi.get(self, "candidate_cloud_router_ipv6_address")
|
260
|
+
|
261
|
+
@candidate_cloud_router_ipv6_address.setter
|
262
|
+
def candidate_cloud_router_ipv6_address(self, value: Optional[pulumi.Input[builtins.str]]):
|
263
|
+
pulumi.set(self, "candidate_cloud_router_ipv6_address", value)
|
264
|
+
|
265
|
+
@property
|
266
|
+
@pulumi.getter(name="candidateCustomerRouterIpAddress")
|
267
|
+
def candidate_customer_router_ip_address(self) -> Optional[pulumi.Input[builtins.str]]:
|
268
|
+
"""
|
269
|
+
Single IPv4 address + prefix length to be configured on the customer router interface for this
|
270
|
+
interconnect attachment. Example: 203.0.113.2/29
|
271
|
+
"""
|
272
|
+
return pulumi.get(self, "candidate_customer_router_ip_address")
|
273
|
+
|
274
|
+
@candidate_customer_router_ip_address.setter
|
275
|
+
def candidate_customer_router_ip_address(self, value: Optional[pulumi.Input[builtins.str]]):
|
276
|
+
pulumi.set(self, "candidate_customer_router_ip_address", value)
|
277
|
+
|
278
|
+
@property
|
279
|
+
@pulumi.getter(name="candidateCustomerRouterIpv6Address")
|
280
|
+
def candidate_customer_router_ipv6_address(self) -> Optional[pulumi.Input[builtins.str]]:
|
281
|
+
"""
|
282
|
+
Single IPv6 address + prefix length to be configured on the customer router interface for this
|
283
|
+
interconnect attachment. Example: 2001:db8::2/125
|
284
|
+
"""
|
285
|
+
return pulumi.get(self, "candidate_customer_router_ipv6_address")
|
286
|
+
|
287
|
+
@candidate_customer_router_ipv6_address.setter
|
288
|
+
def candidate_customer_router_ipv6_address(self, value: Optional[pulumi.Input[builtins.str]]):
|
289
|
+
pulumi.set(self, "candidate_customer_router_ipv6_address", value)
|
290
|
+
|
219
291
|
@property
|
220
292
|
@pulumi.getter(name="candidateSubnets")
|
221
293
|
def candidate_subnets(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
@@ -467,6 +539,10 @@ class _InterconnectAttachmentState:
|
|
467
539
|
def __init__(__self__, *,
|
468
540
|
admin_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
469
541
|
bandwidth: Optional[pulumi.Input[builtins.str]] = None,
|
542
|
+
candidate_cloud_router_ip_address: Optional[pulumi.Input[builtins.str]] = None,
|
543
|
+
candidate_cloud_router_ipv6_address: Optional[pulumi.Input[builtins.str]] = None,
|
544
|
+
candidate_customer_router_ip_address: Optional[pulumi.Input[builtins.str]] = None,
|
545
|
+
candidate_customer_router_ipv6_address: Optional[pulumi.Input[builtins.str]] = None,
|
470
546
|
candidate_subnets: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
471
547
|
cloud_router_ip_address: Optional[pulumi.Input[builtins.str]] = None,
|
472
548
|
cloud_router_ipv6_address: Optional[pulumi.Input[builtins.str]] = None,
|
@@ -507,6 +583,14 @@ class _InterconnectAttachmentState:
|
|
507
583
|
Output only for PARTNER type, mutable for PARTNER_PROVIDER and DEDICATED,
|
508
584
|
Defaults to BPS_10G
|
509
585
|
Possible values are: `BPS_50M`, `BPS_100M`, `BPS_200M`, `BPS_300M`, `BPS_400M`, `BPS_500M`, `BPS_1G`, `BPS_2G`, `BPS_5G`, `BPS_10G`, `BPS_20G`, `BPS_50G`, `BPS_100G`.
|
586
|
+
:param pulumi.Input[builtins.str] candidate_cloud_router_ip_address: Single IPv4 address + prefix length to be configured on the cloud router interface for this
|
587
|
+
interconnect attachment. Example: 203.0.113.1/29
|
588
|
+
:param pulumi.Input[builtins.str] candidate_cloud_router_ipv6_address: Single IPv6 address + prefix length to be configured on the cloud router interface for this
|
589
|
+
interconnect attachment. Example: 2001:db8::1/125
|
590
|
+
:param pulumi.Input[builtins.str] candidate_customer_router_ip_address: Single IPv4 address + prefix length to be configured on the customer router interface for this
|
591
|
+
interconnect attachment. Example: 203.0.113.2/29
|
592
|
+
:param pulumi.Input[builtins.str] candidate_customer_router_ipv6_address: Single IPv6 address + prefix length to be configured on the customer router interface for this
|
593
|
+
interconnect attachment. Example: 2001:db8::2/125
|
510
594
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] candidate_subnets: Up to 16 candidate prefixes that can be used to restrict the allocation
|
511
595
|
of cloudRouterIpAddress and customerRouterIpAddress for this attachment.
|
512
596
|
All prefixes must be within link-local address space (169.254.0.0/16)
|
@@ -626,6 +710,14 @@ class _InterconnectAttachmentState:
|
|
626
710
|
pulumi.set(__self__, "admin_enabled", admin_enabled)
|
627
711
|
if bandwidth is not None:
|
628
712
|
pulumi.set(__self__, "bandwidth", bandwidth)
|
713
|
+
if candidate_cloud_router_ip_address is not None:
|
714
|
+
pulumi.set(__self__, "candidate_cloud_router_ip_address", candidate_cloud_router_ip_address)
|
715
|
+
if candidate_cloud_router_ipv6_address is not None:
|
716
|
+
pulumi.set(__self__, "candidate_cloud_router_ipv6_address", candidate_cloud_router_ipv6_address)
|
717
|
+
if candidate_customer_router_ip_address is not None:
|
718
|
+
pulumi.set(__self__, "candidate_customer_router_ip_address", candidate_customer_router_ip_address)
|
719
|
+
if candidate_customer_router_ipv6_address is not None:
|
720
|
+
pulumi.set(__self__, "candidate_customer_router_ipv6_address", candidate_customer_router_ipv6_address)
|
629
721
|
if candidate_subnets is not None:
|
630
722
|
pulumi.set(__self__, "candidate_subnets", candidate_subnets)
|
631
723
|
if cloud_router_ip_address is not None:
|
@@ -717,6 +809,58 @@ class _InterconnectAttachmentState:
|
|
717
809
|
def bandwidth(self, value: Optional[pulumi.Input[builtins.str]]):
|
718
810
|
pulumi.set(self, "bandwidth", value)
|
719
811
|
|
812
|
+
@property
|
813
|
+
@pulumi.getter(name="candidateCloudRouterIpAddress")
|
814
|
+
def candidate_cloud_router_ip_address(self) -> Optional[pulumi.Input[builtins.str]]:
|
815
|
+
"""
|
816
|
+
Single IPv4 address + prefix length to be configured on the cloud router interface for this
|
817
|
+
interconnect attachment. Example: 203.0.113.1/29
|
818
|
+
"""
|
819
|
+
return pulumi.get(self, "candidate_cloud_router_ip_address")
|
820
|
+
|
821
|
+
@candidate_cloud_router_ip_address.setter
|
822
|
+
def candidate_cloud_router_ip_address(self, value: Optional[pulumi.Input[builtins.str]]):
|
823
|
+
pulumi.set(self, "candidate_cloud_router_ip_address", value)
|
824
|
+
|
825
|
+
@property
|
826
|
+
@pulumi.getter(name="candidateCloudRouterIpv6Address")
|
827
|
+
def candidate_cloud_router_ipv6_address(self) -> Optional[pulumi.Input[builtins.str]]:
|
828
|
+
"""
|
829
|
+
Single IPv6 address + prefix length to be configured on the cloud router interface for this
|
830
|
+
interconnect attachment. Example: 2001:db8::1/125
|
831
|
+
"""
|
832
|
+
return pulumi.get(self, "candidate_cloud_router_ipv6_address")
|
833
|
+
|
834
|
+
@candidate_cloud_router_ipv6_address.setter
|
835
|
+
def candidate_cloud_router_ipv6_address(self, value: Optional[pulumi.Input[builtins.str]]):
|
836
|
+
pulumi.set(self, "candidate_cloud_router_ipv6_address", value)
|
837
|
+
|
838
|
+
@property
|
839
|
+
@pulumi.getter(name="candidateCustomerRouterIpAddress")
|
840
|
+
def candidate_customer_router_ip_address(self) -> Optional[pulumi.Input[builtins.str]]:
|
841
|
+
"""
|
842
|
+
Single IPv4 address + prefix length to be configured on the customer router interface for this
|
843
|
+
interconnect attachment. Example: 203.0.113.2/29
|
844
|
+
"""
|
845
|
+
return pulumi.get(self, "candidate_customer_router_ip_address")
|
846
|
+
|
847
|
+
@candidate_customer_router_ip_address.setter
|
848
|
+
def candidate_customer_router_ip_address(self, value: Optional[pulumi.Input[builtins.str]]):
|
849
|
+
pulumi.set(self, "candidate_customer_router_ip_address", value)
|
850
|
+
|
851
|
+
@property
|
852
|
+
@pulumi.getter(name="candidateCustomerRouterIpv6Address")
|
853
|
+
def candidate_customer_router_ipv6_address(self) -> Optional[pulumi.Input[builtins.str]]:
|
854
|
+
"""
|
855
|
+
Single IPv6 address + prefix length to be configured on the customer router interface for this
|
856
|
+
interconnect attachment. Example: 2001:db8::2/125
|
857
|
+
"""
|
858
|
+
return pulumi.get(self, "candidate_customer_router_ipv6_address")
|
859
|
+
|
860
|
+
@candidate_customer_router_ipv6_address.setter
|
861
|
+
def candidate_customer_router_ipv6_address(self, value: Optional[pulumi.Input[builtins.str]]):
|
862
|
+
pulumi.set(self, "candidate_customer_router_ipv6_address", value)
|
863
|
+
|
720
864
|
@property
|
721
865
|
@pulumi.getter(name="candidateSubnets")
|
722
866
|
def candidate_subnets(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
@@ -1170,6 +1314,10 @@ class InterconnectAttachment(pulumi.CustomResource):
|
|
1170
1314
|
opts: Optional[pulumi.ResourceOptions] = None,
|
1171
1315
|
admin_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
1172
1316
|
bandwidth: Optional[pulumi.Input[builtins.str]] = None,
|
1317
|
+
candidate_cloud_router_ip_address: Optional[pulumi.Input[builtins.str]] = None,
|
1318
|
+
candidate_cloud_router_ipv6_address: Optional[pulumi.Input[builtins.str]] = None,
|
1319
|
+
candidate_customer_router_ip_address: Optional[pulumi.Input[builtins.str]] = None,
|
1320
|
+
candidate_customer_router_ipv6_address: Optional[pulumi.Input[builtins.str]] = None,
|
1173
1321
|
candidate_subnets: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
1174
1322
|
description: Optional[pulumi.Input[builtins.str]] = None,
|
1175
1323
|
edge_availability_domain: Optional[pulumi.Input[builtins.str]] = None,
|
@@ -1255,6 +1403,36 @@ class InterconnectAttachment(pulumi.CustomResource):
|
|
1255
1403
|
encryption="IPSEC",
|
1256
1404
|
ipsec_internal_addresses=[address.self_link])
|
1257
1405
|
```
|
1406
|
+
### Compute Interconnect Attachment Custom Ranges
|
1407
|
+
|
1408
|
+
```python
|
1409
|
+
import pulumi
|
1410
|
+
import pulumi_gcp as gcp
|
1411
|
+
|
1412
|
+
foobar_network = gcp.compute.Network("foobar",
|
1413
|
+
name="test-network",
|
1414
|
+
auto_create_subnetworks=False)
|
1415
|
+
foobar = gcp.compute.Router("foobar",
|
1416
|
+
name="test-router",
|
1417
|
+
network=foobar_network.name,
|
1418
|
+
bgp={
|
1419
|
+
"asn": 16550,
|
1420
|
+
})
|
1421
|
+
custom_ranges_interconnect_attachment = gcp.compute.InterconnectAttachment("custom-ranges-interconnect-attachment",
|
1422
|
+
name="test-custom-ranges-interconnect-attachment",
|
1423
|
+
edge_availability_domain="AVAILABILITY_DOMAIN_1",
|
1424
|
+
type="PARTNER",
|
1425
|
+
router=foobar.id,
|
1426
|
+
mtu="1500",
|
1427
|
+
stack_type="IPV4_IPV6",
|
1428
|
+
labels={
|
1429
|
+
"mykey": "myvalue",
|
1430
|
+
},
|
1431
|
+
candidate_cloud_router_ip_address="192.169.0.1/29",
|
1432
|
+
candidate_customer_router_ip_address="192.169.0.2/29",
|
1433
|
+
candidate_cloud_router_ipv6_address="748d:2f23:6651:9455:828b:ca81:6fe0:fed1/125",
|
1434
|
+
candidate_customer_router_ipv6_address="748d:2f23:6651:9455:828b:ca81:6fe0:fed2/125")
|
1435
|
+
```
|
1258
1436
|
|
1259
1437
|
## Import
|
1260
1438
|
|
@@ -1296,6 +1474,14 @@ class InterconnectAttachment(pulumi.CustomResource):
|
|
1296
1474
|
Output only for PARTNER type, mutable for PARTNER_PROVIDER and DEDICATED,
|
1297
1475
|
Defaults to BPS_10G
|
1298
1476
|
Possible values are: `BPS_50M`, `BPS_100M`, `BPS_200M`, `BPS_300M`, `BPS_400M`, `BPS_500M`, `BPS_1G`, `BPS_2G`, `BPS_5G`, `BPS_10G`, `BPS_20G`, `BPS_50G`, `BPS_100G`.
|
1477
|
+
:param pulumi.Input[builtins.str] candidate_cloud_router_ip_address: Single IPv4 address + prefix length to be configured on the cloud router interface for this
|
1478
|
+
interconnect attachment. Example: 203.0.113.1/29
|
1479
|
+
:param pulumi.Input[builtins.str] candidate_cloud_router_ipv6_address: Single IPv6 address + prefix length to be configured on the cloud router interface for this
|
1480
|
+
interconnect attachment. Example: 2001:db8::1/125
|
1481
|
+
:param pulumi.Input[builtins.str] candidate_customer_router_ip_address: Single IPv4 address + prefix length to be configured on the customer router interface for this
|
1482
|
+
interconnect attachment. Example: 203.0.113.2/29
|
1483
|
+
:param pulumi.Input[builtins.str] candidate_customer_router_ipv6_address: Single IPv6 address + prefix length to be configured on the customer router interface for this
|
1484
|
+
interconnect attachment. Example: 2001:db8::2/125
|
1299
1485
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] candidate_subnets: Up to 16 candidate prefixes that can be used to restrict the allocation
|
1300
1486
|
of cloudRouterIpAddress and customerRouterIpAddress for this attachment.
|
1301
1487
|
All prefixes must be within link-local address space (169.254.0.0/16)
|
@@ -1455,6 +1641,36 @@ class InterconnectAttachment(pulumi.CustomResource):
|
|
1455
1641
|
encryption="IPSEC",
|
1456
1642
|
ipsec_internal_addresses=[address.self_link])
|
1457
1643
|
```
|
1644
|
+
### Compute Interconnect Attachment Custom Ranges
|
1645
|
+
|
1646
|
+
```python
|
1647
|
+
import pulumi
|
1648
|
+
import pulumi_gcp as gcp
|
1649
|
+
|
1650
|
+
foobar_network = gcp.compute.Network("foobar",
|
1651
|
+
name="test-network",
|
1652
|
+
auto_create_subnetworks=False)
|
1653
|
+
foobar = gcp.compute.Router("foobar",
|
1654
|
+
name="test-router",
|
1655
|
+
network=foobar_network.name,
|
1656
|
+
bgp={
|
1657
|
+
"asn": 16550,
|
1658
|
+
})
|
1659
|
+
custom_ranges_interconnect_attachment = gcp.compute.InterconnectAttachment("custom-ranges-interconnect-attachment",
|
1660
|
+
name="test-custom-ranges-interconnect-attachment",
|
1661
|
+
edge_availability_domain="AVAILABILITY_DOMAIN_1",
|
1662
|
+
type="PARTNER",
|
1663
|
+
router=foobar.id,
|
1664
|
+
mtu="1500",
|
1665
|
+
stack_type="IPV4_IPV6",
|
1666
|
+
labels={
|
1667
|
+
"mykey": "myvalue",
|
1668
|
+
},
|
1669
|
+
candidate_cloud_router_ip_address="192.169.0.1/29",
|
1670
|
+
candidate_customer_router_ip_address="192.169.0.2/29",
|
1671
|
+
candidate_cloud_router_ipv6_address="748d:2f23:6651:9455:828b:ca81:6fe0:fed1/125",
|
1672
|
+
candidate_customer_router_ipv6_address="748d:2f23:6651:9455:828b:ca81:6fe0:fed2/125")
|
1673
|
+
```
|
1458
1674
|
|
1459
1675
|
## Import
|
1460
1676
|
|
@@ -1503,6 +1719,10 @@ class InterconnectAttachment(pulumi.CustomResource):
|
|
1503
1719
|
opts: Optional[pulumi.ResourceOptions] = None,
|
1504
1720
|
admin_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
1505
1721
|
bandwidth: Optional[pulumi.Input[builtins.str]] = None,
|
1722
|
+
candidate_cloud_router_ip_address: Optional[pulumi.Input[builtins.str]] = None,
|
1723
|
+
candidate_cloud_router_ipv6_address: Optional[pulumi.Input[builtins.str]] = None,
|
1724
|
+
candidate_customer_router_ip_address: Optional[pulumi.Input[builtins.str]] = None,
|
1725
|
+
candidate_customer_router_ipv6_address: Optional[pulumi.Input[builtins.str]] = None,
|
1506
1726
|
candidate_subnets: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
1507
1727
|
description: Optional[pulumi.Input[builtins.str]] = None,
|
1508
1728
|
edge_availability_domain: Optional[pulumi.Input[builtins.str]] = None,
|
@@ -1530,6 +1750,10 @@ class InterconnectAttachment(pulumi.CustomResource):
|
|
1530
1750
|
|
1531
1751
|
__props__.__dict__["admin_enabled"] = admin_enabled
|
1532
1752
|
__props__.__dict__["bandwidth"] = bandwidth
|
1753
|
+
__props__.__dict__["candidate_cloud_router_ip_address"] = candidate_cloud_router_ip_address
|
1754
|
+
__props__.__dict__["candidate_cloud_router_ipv6_address"] = candidate_cloud_router_ipv6_address
|
1755
|
+
__props__.__dict__["candidate_customer_router_ip_address"] = candidate_customer_router_ip_address
|
1756
|
+
__props__.__dict__["candidate_customer_router_ipv6_address"] = candidate_customer_router_ipv6_address
|
1533
1757
|
__props__.__dict__["candidate_subnets"] = candidate_subnets
|
1534
1758
|
__props__.__dict__["description"] = description
|
1535
1759
|
__props__.__dict__["edge_availability_domain"] = edge_availability_domain
|
@@ -1576,6 +1800,10 @@ class InterconnectAttachment(pulumi.CustomResource):
|
|
1576
1800
|
opts: Optional[pulumi.ResourceOptions] = None,
|
1577
1801
|
admin_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
1578
1802
|
bandwidth: Optional[pulumi.Input[builtins.str]] = None,
|
1803
|
+
candidate_cloud_router_ip_address: Optional[pulumi.Input[builtins.str]] = None,
|
1804
|
+
candidate_cloud_router_ipv6_address: Optional[pulumi.Input[builtins.str]] = None,
|
1805
|
+
candidate_customer_router_ip_address: Optional[pulumi.Input[builtins.str]] = None,
|
1806
|
+
candidate_customer_router_ipv6_address: Optional[pulumi.Input[builtins.str]] = None,
|
1579
1807
|
candidate_subnets: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
1580
1808
|
cloud_router_ip_address: Optional[pulumi.Input[builtins.str]] = None,
|
1581
1809
|
cloud_router_ipv6_address: Optional[pulumi.Input[builtins.str]] = None,
|
@@ -1621,6 +1849,14 @@ class InterconnectAttachment(pulumi.CustomResource):
|
|
1621
1849
|
Output only for PARTNER type, mutable for PARTNER_PROVIDER and DEDICATED,
|
1622
1850
|
Defaults to BPS_10G
|
1623
1851
|
Possible values are: `BPS_50M`, `BPS_100M`, `BPS_200M`, `BPS_300M`, `BPS_400M`, `BPS_500M`, `BPS_1G`, `BPS_2G`, `BPS_5G`, `BPS_10G`, `BPS_20G`, `BPS_50G`, `BPS_100G`.
|
1852
|
+
:param pulumi.Input[builtins.str] candidate_cloud_router_ip_address: Single IPv4 address + prefix length to be configured on the cloud router interface for this
|
1853
|
+
interconnect attachment. Example: 203.0.113.1/29
|
1854
|
+
:param pulumi.Input[builtins.str] candidate_cloud_router_ipv6_address: Single IPv6 address + prefix length to be configured on the cloud router interface for this
|
1855
|
+
interconnect attachment. Example: 2001:db8::1/125
|
1856
|
+
:param pulumi.Input[builtins.str] candidate_customer_router_ip_address: Single IPv4 address + prefix length to be configured on the customer router interface for this
|
1857
|
+
interconnect attachment. Example: 203.0.113.2/29
|
1858
|
+
:param pulumi.Input[builtins.str] candidate_customer_router_ipv6_address: Single IPv6 address + prefix length to be configured on the customer router interface for this
|
1859
|
+
interconnect attachment. Example: 2001:db8::2/125
|
1624
1860
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] candidate_subnets: Up to 16 candidate prefixes that can be used to restrict the allocation
|
1625
1861
|
of cloudRouterIpAddress and customerRouterIpAddress for this attachment.
|
1626
1862
|
All prefixes must be within link-local address space (169.254.0.0/16)
|
@@ -1742,6 +1978,10 @@ class InterconnectAttachment(pulumi.CustomResource):
|
|
1742
1978
|
|
1743
1979
|
__props__.__dict__["admin_enabled"] = admin_enabled
|
1744
1980
|
__props__.__dict__["bandwidth"] = bandwidth
|
1981
|
+
__props__.__dict__["candidate_cloud_router_ip_address"] = candidate_cloud_router_ip_address
|
1982
|
+
__props__.__dict__["candidate_cloud_router_ipv6_address"] = candidate_cloud_router_ipv6_address
|
1983
|
+
__props__.__dict__["candidate_customer_router_ip_address"] = candidate_customer_router_ip_address
|
1984
|
+
__props__.__dict__["candidate_customer_router_ipv6_address"] = candidate_customer_router_ipv6_address
|
1745
1985
|
__props__.__dict__["candidate_subnets"] = candidate_subnets
|
1746
1986
|
__props__.__dict__["cloud_router_ip_address"] = cloud_router_ip_address
|
1747
1987
|
__props__.__dict__["cloud_router_ipv6_address"] = cloud_router_ipv6_address
|
@@ -1796,6 +2036,42 @@ class InterconnectAttachment(pulumi.CustomResource):
|
|
1796
2036
|
"""
|
1797
2037
|
return pulumi.get(self, "bandwidth")
|
1798
2038
|
|
2039
|
+
@property
|
2040
|
+
@pulumi.getter(name="candidateCloudRouterIpAddress")
|
2041
|
+
def candidate_cloud_router_ip_address(self) -> pulumi.Output[Optional[builtins.str]]:
|
2042
|
+
"""
|
2043
|
+
Single IPv4 address + prefix length to be configured on the cloud router interface for this
|
2044
|
+
interconnect attachment. Example: 203.0.113.1/29
|
2045
|
+
"""
|
2046
|
+
return pulumi.get(self, "candidate_cloud_router_ip_address")
|
2047
|
+
|
2048
|
+
@property
|
2049
|
+
@pulumi.getter(name="candidateCloudRouterIpv6Address")
|
2050
|
+
def candidate_cloud_router_ipv6_address(self) -> pulumi.Output[Optional[builtins.str]]:
|
2051
|
+
"""
|
2052
|
+
Single IPv6 address + prefix length to be configured on the cloud router interface for this
|
2053
|
+
interconnect attachment. Example: 2001:db8::1/125
|
2054
|
+
"""
|
2055
|
+
return pulumi.get(self, "candidate_cloud_router_ipv6_address")
|
2056
|
+
|
2057
|
+
@property
|
2058
|
+
@pulumi.getter(name="candidateCustomerRouterIpAddress")
|
2059
|
+
def candidate_customer_router_ip_address(self) -> pulumi.Output[Optional[builtins.str]]:
|
2060
|
+
"""
|
2061
|
+
Single IPv4 address + prefix length to be configured on the customer router interface for this
|
2062
|
+
interconnect attachment. Example: 203.0.113.2/29
|
2063
|
+
"""
|
2064
|
+
return pulumi.get(self, "candidate_customer_router_ip_address")
|
2065
|
+
|
2066
|
+
@property
|
2067
|
+
@pulumi.getter(name="candidateCustomerRouterIpv6Address")
|
2068
|
+
def candidate_customer_router_ipv6_address(self) -> pulumi.Output[Optional[builtins.str]]:
|
2069
|
+
"""
|
2070
|
+
Single IPv6 address + prefix length to be configured on the customer router interface for this
|
2071
|
+
interconnect attachment. Example: 2001:db8::2/125
|
2072
|
+
"""
|
2073
|
+
return pulumi.get(self, "candidate_customer_router_ipv6_address")
|
2074
|
+
|
1799
2075
|
@property
|
1800
2076
|
@pulumi.getter(name="candidateSubnets")
|
1801
2077
|
def candidate_subnets(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|