pulumi-gcp 8.6.0a1728595713__py3-none-any.whl → 8.6.0a1729037011__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/bigtable/_inputs.py +58 -0
- pulumi_gcp/bigtable/instance_iam_binding.py +13 -34
- pulumi_gcp/bigtable/instance_iam_member.py +13 -34
- pulumi_gcp/bigtable/instance_iam_policy.py +0 -47
- pulumi_gcp/bigtable/outputs.py +36 -0
- pulumi_gcp/compute/_inputs.py +3 -3
- pulumi_gcp/compute/outputs.py +2 -2
- pulumi_gcp/container/_inputs.py +12 -0
- pulumi_gcp/container/outputs.py +8 -0
- pulumi_gcp/discoveryengine/_inputs.py +32 -5
- pulumi_gcp/discoveryengine/chat_engine.py +64 -0
- pulumi_gcp/discoveryengine/outputs.py +22 -3
- pulumi_gcp/kms/key_handle.py +8 -8
- pulumi_gcp/netapp/backup_vault.py +2 -2
- pulumi_gcp/networkconnectivity/_inputs.py +70 -0
- pulumi_gcp/networkconnectivity/internal_range.py +117 -7
- pulumi_gcp/networkconnectivity/outputs.py +42 -0
- pulumi_gcp/networkservices/gateway.py +54 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/secretmanager/outputs.py +2 -10
- pulumi_gcp/securesourcemanager/__init__.py +1 -0
- pulumi_gcp/securesourcemanager/branch_rule.py +975 -0
- pulumi_gcp/spanner/backup_schedule.py +4 -2
- {pulumi_gcp-8.6.0a1728595713.dist-info → pulumi_gcp-8.6.0a1729037011.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.6.0a1728595713.dist-info → pulumi_gcp-8.6.0a1729037011.dist-info}/RECORD +28 -27
- {pulumi_gcp-8.6.0a1728595713.dist-info → pulumi_gcp-8.6.0a1729037011.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.6.0a1728595713.dist-info → pulumi_gcp-8.6.0a1729037011.dist-info}/top_level.txt +0 -0
@@ -13,6 +13,8 @@ if sys.version_info >= (3, 11):
|
|
13
13
|
else:
|
14
14
|
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
15
|
from .. import _utilities
|
16
|
+
from . import outputs
|
17
|
+
from ._inputs import *
|
16
18
|
|
17
19
|
__all__ = ['InternalRangeArgs', 'InternalRange']
|
18
20
|
|
@@ -25,6 +27,7 @@ class InternalRangeArgs:
|
|
25
27
|
description: Optional[pulumi.Input[str]] = None,
|
26
28
|
ip_cidr_range: Optional[pulumi.Input[str]] = None,
|
27
29
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
30
|
+
migration: Optional[pulumi.Input['InternalRangeMigrationArgs']] = None,
|
28
31
|
name: Optional[pulumi.Input[str]] = None,
|
29
32
|
overlaps: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
30
33
|
prefix_length: Optional[pulumi.Input[int]] = None,
|
@@ -39,13 +42,15 @@ class InternalRangeArgs:
|
|
39
42
|
|
40
43
|
- - -
|
41
44
|
:param pulumi.Input[str] usage: The type of usage set for this InternalRange.
|
42
|
-
Possible values are: `FOR_VPC`, `EXTERNAL_TO_VPC`.
|
45
|
+
Possible values are: `FOR_VPC`, `EXTERNAL_TO_VPC`, `FOR_MIGRATION`.
|
43
46
|
:param pulumi.Input[str] description: An optional description of this resource.
|
44
47
|
:param pulumi.Input[str] ip_cidr_range: The IP range that this internal range defines.
|
45
48
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined labels.
|
46
49
|
|
47
50
|
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
48
51
|
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
52
|
+
:param pulumi.Input['InternalRangeMigrationArgs'] migration: Specification for migration with source and target resource names.
|
53
|
+
Structure is documented below.
|
49
54
|
:param pulumi.Input[str] name: The name of the policy based route.
|
50
55
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] overlaps: Optional. Types of resources that are allowed to overlap with the current internal range.
|
51
56
|
Each value may be one of: `OVERLAP_ROUTE_RANGE`, `OVERLAP_EXISTING_SUBNET_RANGE`.
|
@@ -65,6 +70,8 @@ class InternalRangeArgs:
|
|
65
70
|
pulumi.set(__self__, "ip_cidr_range", ip_cidr_range)
|
66
71
|
if labels is not None:
|
67
72
|
pulumi.set(__self__, "labels", labels)
|
73
|
+
if migration is not None:
|
74
|
+
pulumi.set(__self__, "migration", migration)
|
68
75
|
if name is not None:
|
69
76
|
pulumi.set(__self__, "name", name)
|
70
77
|
if overlaps is not None:
|
@@ -109,7 +116,7 @@ class InternalRangeArgs:
|
|
109
116
|
def usage(self) -> pulumi.Input[str]:
|
110
117
|
"""
|
111
118
|
The type of usage set for this InternalRange.
|
112
|
-
Possible values are: `FOR_VPC`, `EXTERNAL_TO_VPC`.
|
119
|
+
Possible values are: `FOR_VPC`, `EXTERNAL_TO_VPC`, `FOR_MIGRATION`.
|
113
120
|
"""
|
114
121
|
return pulumi.get(self, "usage")
|
115
122
|
|
@@ -156,6 +163,19 @@ class InternalRangeArgs:
|
|
156
163
|
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
157
164
|
pulumi.set(self, "labels", value)
|
158
165
|
|
166
|
+
@property
|
167
|
+
@pulumi.getter
|
168
|
+
def migration(self) -> Optional[pulumi.Input['InternalRangeMigrationArgs']]:
|
169
|
+
"""
|
170
|
+
Specification for migration with source and target resource names.
|
171
|
+
Structure is documented below.
|
172
|
+
"""
|
173
|
+
return pulumi.get(self, "migration")
|
174
|
+
|
175
|
+
@migration.setter
|
176
|
+
def migration(self, value: Optional[pulumi.Input['InternalRangeMigrationArgs']]):
|
177
|
+
pulumi.set(self, "migration", value)
|
178
|
+
|
159
179
|
@property
|
160
180
|
@pulumi.getter
|
161
181
|
def name(self) -> Optional[pulumi.Input[str]]:
|
@@ -228,6 +248,7 @@ class _InternalRangeState:
|
|
228
248
|
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
229
249
|
ip_cidr_range: Optional[pulumi.Input[str]] = None,
|
230
250
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
251
|
+
migration: Optional[pulumi.Input['InternalRangeMigrationArgs']] = None,
|
231
252
|
name: Optional[pulumi.Input[str]] = None,
|
232
253
|
network: Optional[pulumi.Input[str]] = None,
|
233
254
|
overlaps: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
@@ -247,6 +268,8 @@ class _InternalRangeState:
|
|
247
268
|
|
248
269
|
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
249
270
|
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
271
|
+
:param pulumi.Input['InternalRangeMigrationArgs'] migration: Specification for migration with source and target resource names.
|
272
|
+
Structure is documented below.
|
250
273
|
:param pulumi.Input[str] name: The name of the policy based route.
|
251
274
|
:param pulumi.Input[str] network: Fully-qualified URL of the network that this route applies to, for example: projects/my-project/global/networks/my-network.
|
252
275
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] overlaps: Optional. Types of resources that are allowed to overlap with the current internal range.
|
@@ -265,7 +288,7 @@ class _InternalRangeState:
|
|
265
288
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] target_cidr_ranges: Optional. Can be set to narrow down or pick a different address space while searching for a free range.
|
266
289
|
If not set, defaults to the "10.0.0.0/8" address space. This can be used to search in other rfc-1918 address spaces like "172.16.0.0/12" and "192.168.0.0/16" or non-rfc-1918 address spaces used in the VPC.
|
267
290
|
:param pulumi.Input[str] usage: The type of usage set for this InternalRange.
|
268
|
-
Possible values are: `FOR_VPC`, `EXTERNAL_TO_VPC`.
|
291
|
+
Possible values are: `FOR_VPC`, `EXTERNAL_TO_VPC`, `FOR_MIGRATION`.
|
269
292
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] users: Output only. The list of resources that refer to this internal range.
|
270
293
|
Resources that use the internal range for their range allocation are referred to as users of the range.
|
271
294
|
Other resources mark themselves as users while doing so by creating a reference to this internal range. Having a user, based on this reference, prevents deletion of the internal range referred to. Can be empty.
|
@@ -278,6 +301,8 @@ class _InternalRangeState:
|
|
278
301
|
pulumi.set(__self__, "ip_cidr_range", ip_cidr_range)
|
279
302
|
if labels is not None:
|
280
303
|
pulumi.set(__self__, "labels", labels)
|
304
|
+
if migration is not None:
|
305
|
+
pulumi.set(__self__, "migration", migration)
|
281
306
|
if name is not None:
|
282
307
|
pulumi.set(__self__, "name", name)
|
283
308
|
if network is not None:
|
@@ -350,6 +375,19 @@ class _InternalRangeState:
|
|
350
375
|
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
351
376
|
pulumi.set(self, "labels", value)
|
352
377
|
|
378
|
+
@property
|
379
|
+
@pulumi.getter
|
380
|
+
def migration(self) -> Optional[pulumi.Input['InternalRangeMigrationArgs']]:
|
381
|
+
"""
|
382
|
+
Specification for migration with source and target resource names.
|
383
|
+
Structure is documented below.
|
384
|
+
"""
|
385
|
+
return pulumi.get(self, "migration")
|
386
|
+
|
387
|
+
@migration.setter
|
388
|
+
def migration(self, value: Optional[pulumi.Input['InternalRangeMigrationArgs']]):
|
389
|
+
pulumi.set(self, "migration", value)
|
390
|
+
|
353
391
|
@property
|
354
392
|
@pulumi.getter
|
355
393
|
def name(self) -> Optional[pulumi.Input[str]]:
|
@@ -460,7 +498,7 @@ class _InternalRangeState:
|
|
460
498
|
def usage(self) -> Optional[pulumi.Input[str]]:
|
461
499
|
"""
|
462
500
|
The type of usage set for this InternalRange.
|
463
|
-
Possible values are: `FOR_VPC`, `EXTERNAL_TO_VPC`.
|
501
|
+
Possible values are: `FOR_VPC`, `EXTERNAL_TO_VPC`, `FOR_MIGRATION`.
|
464
502
|
"""
|
465
503
|
return pulumi.get(self, "usage")
|
466
504
|
|
@@ -491,6 +529,7 @@ class InternalRange(pulumi.CustomResource):
|
|
491
529
|
description: Optional[pulumi.Input[str]] = None,
|
492
530
|
ip_cidr_range: Optional[pulumi.Input[str]] = None,
|
493
531
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
532
|
+
migration: Optional[pulumi.Input[Union['InternalRangeMigrationArgs', 'InternalRangeMigrationArgsDict']]] = None,
|
494
533
|
name: Optional[pulumi.Input[str]] = None,
|
495
534
|
network: Optional[pulumi.Input[str]] = None,
|
496
535
|
overlaps: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
@@ -591,6 +630,33 @@ class InternalRange(pulumi.CustomResource):
|
|
591
630
|
overlaps=["OVERLAP_EXISTING_SUBNET_RANGE"],
|
592
631
|
opts = pulumi.ResourceOptions(depends_on=[default_subnetwork]))
|
593
632
|
```
|
633
|
+
### Network Connectivity Internal Ranges Migration
|
634
|
+
|
635
|
+
```python
|
636
|
+
import pulumi
|
637
|
+
import pulumi_gcp as gcp
|
638
|
+
|
639
|
+
default_network = gcp.compute.Network("default",
|
640
|
+
name="internal-ranges",
|
641
|
+
auto_create_subnetworks=False)
|
642
|
+
source = gcp.compute.Subnetwork("source",
|
643
|
+
name="source-subnet",
|
644
|
+
ip_cidr_range="10.1.0.0/16",
|
645
|
+
region="us-central1",
|
646
|
+
network=default_network.name)
|
647
|
+
target_project = gcp.organizations.get_project()
|
648
|
+
default = gcp.networkconnectivity.InternalRange("default",
|
649
|
+
name="migration",
|
650
|
+
description="Test internal range",
|
651
|
+
network=default_network.self_link,
|
652
|
+
usage="FOR_MIGRATION",
|
653
|
+
peering="FOR_SELF",
|
654
|
+
ip_cidr_range="10.1.0.0/16",
|
655
|
+
migration={
|
656
|
+
"source": source.self_link,
|
657
|
+
"target": f"projects/{target_project.project_id}/regions/us-central1/subnetworks/target-subnet",
|
658
|
+
})
|
659
|
+
```
|
594
660
|
|
595
661
|
## Import
|
596
662
|
|
@@ -624,6 +690,8 @@ class InternalRange(pulumi.CustomResource):
|
|
624
690
|
|
625
691
|
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
626
692
|
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
693
|
+
:param pulumi.Input[Union['InternalRangeMigrationArgs', 'InternalRangeMigrationArgsDict']] migration: Specification for migration with source and target resource names.
|
694
|
+
Structure is documented below.
|
627
695
|
:param pulumi.Input[str] name: The name of the policy based route.
|
628
696
|
:param pulumi.Input[str] network: Fully-qualified URL of the network that this route applies to, for example: projects/my-project/global/networks/my-network.
|
629
697
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] overlaps: Optional. Types of resources that are allowed to overlap with the current internal range.
|
@@ -640,7 +708,7 @@ class InternalRange(pulumi.CustomResource):
|
|
640
708
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] target_cidr_ranges: Optional. Can be set to narrow down or pick a different address space while searching for a free range.
|
641
709
|
If not set, defaults to the "10.0.0.0/8" address space. This can be used to search in other rfc-1918 address spaces like "172.16.0.0/12" and "192.168.0.0/16" or non-rfc-1918 address spaces used in the VPC.
|
642
710
|
:param pulumi.Input[str] usage: The type of usage set for this InternalRange.
|
643
|
-
Possible values are: `FOR_VPC`, `EXTERNAL_TO_VPC`.
|
711
|
+
Possible values are: `FOR_VPC`, `EXTERNAL_TO_VPC`, `FOR_MIGRATION`.
|
644
712
|
"""
|
645
713
|
...
|
646
714
|
@overload
|
@@ -739,6 +807,33 @@ class InternalRange(pulumi.CustomResource):
|
|
739
807
|
overlaps=["OVERLAP_EXISTING_SUBNET_RANGE"],
|
740
808
|
opts = pulumi.ResourceOptions(depends_on=[default_subnetwork]))
|
741
809
|
```
|
810
|
+
### Network Connectivity Internal Ranges Migration
|
811
|
+
|
812
|
+
```python
|
813
|
+
import pulumi
|
814
|
+
import pulumi_gcp as gcp
|
815
|
+
|
816
|
+
default_network = gcp.compute.Network("default",
|
817
|
+
name="internal-ranges",
|
818
|
+
auto_create_subnetworks=False)
|
819
|
+
source = gcp.compute.Subnetwork("source",
|
820
|
+
name="source-subnet",
|
821
|
+
ip_cidr_range="10.1.0.0/16",
|
822
|
+
region="us-central1",
|
823
|
+
network=default_network.name)
|
824
|
+
target_project = gcp.organizations.get_project()
|
825
|
+
default = gcp.networkconnectivity.InternalRange("default",
|
826
|
+
name="migration",
|
827
|
+
description="Test internal range",
|
828
|
+
network=default_network.self_link,
|
829
|
+
usage="FOR_MIGRATION",
|
830
|
+
peering="FOR_SELF",
|
831
|
+
ip_cidr_range="10.1.0.0/16",
|
832
|
+
migration={
|
833
|
+
"source": source.self_link,
|
834
|
+
"target": f"projects/{target_project.project_id}/regions/us-central1/subnetworks/target-subnet",
|
835
|
+
})
|
836
|
+
```
|
742
837
|
|
743
838
|
## Import
|
744
839
|
|
@@ -782,6 +877,7 @@ class InternalRange(pulumi.CustomResource):
|
|
782
877
|
description: Optional[pulumi.Input[str]] = None,
|
783
878
|
ip_cidr_range: Optional[pulumi.Input[str]] = None,
|
784
879
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
880
|
+
migration: Optional[pulumi.Input[Union['InternalRangeMigrationArgs', 'InternalRangeMigrationArgsDict']]] = None,
|
785
881
|
name: Optional[pulumi.Input[str]] = None,
|
786
882
|
network: Optional[pulumi.Input[str]] = None,
|
787
883
|
overlaps: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
@@ -802,6 +898,7 @@ class InternalRange(pulumi.CustomResource):
|
|
802
898
|
__props__.__dict__["description"] = description
|
803
899
|
__props__.__dict__["ip_cidr_range"] = ip_cidr_range
|
804
900
|
__props__.__dict__["labels"] = labels
|
901
|
+
__props__.__dict__["migration"] = migration
|
805
902
|
__props__.__dict__["name"] = name
|
806
903
|
if network is None and not opts.urn:
|
807
904
|
raise TypeError("Missing required property 'network'")
|
@@ -835,6 +932,7 @@ class InternalRange(pulumi.CustomResource):
|
|
835
932
|
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
836
933
|
ip_cidr_range: Optional[pulumi.Input[str]] = None,
|
837
934
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
935
|
+
migration: Optional[pulumi.Input[Union['InternalRangeMigrationArgs', 'InternalRangeMigrationArgsDict']]] = None,
|
838
936
|
name: Optional[pulumi.Input[str]] = None,
|
839
937
|
network: Optional[pulumi.Input[str]] = None,
|
840
938
|
overlaps: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
@@ -859,6 +957,8 @@ class InternalRange(pulumi.CustomResource):
|
|
859
957
|
|
860
958
|
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
861
959
|
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
960
|
+
:param pulumi.Input[Union['InternalRangeMigrationArgs', 'InternalRangeMigrationArgsDict']] migration: Specification for migration with source and target resource names.
|
961
|
+
Structure is documented below.
|
862
962
|
:param pulumi.Input[str] name: The name of the policy based route.
|
863
963
|
:param pulumi.Input[str] network: Fully-qualified URL of the network that this route applies to, for example: projects/my-project/global/networks/my-network.
|
864
964
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] overlaps: Optional. Types of resources that are allowed to overlap with the current internal range.
|
@@ -877,7 +977,7 @@ class InternalRange(pulumi.CustomResource):
|
|
877
977
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] target_cidr_ranges: Optional. Can be set to narrow down or pick a different address space while searching for a free range.
|
878
978
|
If not set, defaults to the "10.0.0.0/8" address space. This can be used to search in other rfc-1918 address spaces like "172.16.0.0/12" and "192.168.0.0/16" or non-rfc-1918 address spaces used in the VPC.
|
879
979
|
:param pulumi.Input[str] usage: The type of usage set for this InternalRange.
|
880
|
-
Possible values are: `FOR_VPC`, `EXTERNAL_TO_VPC`.
|
980
|
+
Possible values are: `FOR_VPC`, `EXTERNAL_TO_VPC`, `FOR_MIGRATION`.
|
881
981
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] users: Output only. The list of resources that refer to this internal range.
|
882
982
|
Resources that use the internal range for their range allocation are referred to as users of the range.
|
883
983
|
Other resources mark themselves as users while doing so by creating a reference to this internal range. Having a user, based on this reference, prevents deletion of the internal range referred to. Can be empty.
|
@@ -890,6 +990,7 @@ class InternalRange(pulumi.CustomResource):
|
|
890
990
|
__props__.__dict__["effective_labels"] = effective_labels
|
891
991
|
__props__.__dict__["ip_cidr_range"] = ip_cidr_range
|
892
992
|
__props__.__dict__["labels"] = labels
|
993
|
+
__props__.__dict__["migration"] = migration
|
893
994
|
__props__.__dict__["name"] = name
|
894
995
|
__props__.__dict__["network"] = network
|
895
996
|
__props__.__dict__["overlaps"] = overlaps
|
@@ -937,6 +1038,15 @@ class InternalRange(pulumi.CustomResource):
|
|
937
1038
|
"""
|
938
1039
|
return pulumi.get(self, "labels")
|
939
1040
|
|
1041
|
+
@property
|
1042
|
+
@pulumi.getter
|
1043
|
+
def migration(self) -> pulumi.Output[Optional['outputs.InternalRangeMigration']]:
|
1044
|
+
"""
|
1045
|
+
Specification for migration with source and target resource names.
|
1046
|
+
Structure is documented below.
|
1047
|
+
"""
|
1048
|
+
return pulumi.get(self, "migration")
|
1049
|
+
|
940
1050
|
@property
|
941
1051
|
@pulumi.getter
|
942
1052
|
def name(self) -> pulumi.Output[str]:
|
@@ -1015,7 +1125,7 @@ class InternalRange(pulumi.CustomResource):
|
|
1015
1125
|
def usage(self) -> pulumi.Output[str]:
|
1016
1126
|
"""
|
1017
1127
|
The type of usage set for this InternalRange.
|
1018
|
-
Possible values are: `FOR_VPC`, `EXTERNAL_TO_VPC`.
|
1128
|
+
Possible values are: `FOR_VPC`, `EXTERNAL_TO_VPC`, `FOR_MIGRATION`.
|
1019
1129
|
"""
|
1020
1130
|
return pulumi.get(self, "usage")
|
1021
1131
|
|
@@ -17,6 +17,7 @@ from . import outputs
|
|
17
17
|
|
18
18
|
__all__ = [
|
19
19
|
'HubRoutingVpc',
|
20
|
+
'InternalRangeMigration',
|
20
21
|
'PolicyBasedRouteFilter',
|
21
22
|
'PolicyBasedRouteInterconnectAttachment',
|
22
23
|
'PolicyBasedRouteVirtualMachine',
|
@@ -51,6 +52,47 @@ class HubRoutingVpc(dict):
|
|
51
52
|
return pulumi.get(self, "uri")
|
52
53
|
|
53
54
|
|
55
|
+
@pulumi.output_type
|
56
|
+
class InternalRangeMigration(dict):
|
57
|
+
def __init__(__self__, *,
|
58
|
+
source: str,
|
59
|
+
target: str):
|
60
|
+
"""
|
61
|
+
:param str source: Resource path as an URI of the source resource, for example a subnet.
|
62
|
+
The project for the source resource should match the project for the
|
63
|
+
InternalRange.
|
64
|
+
An example /projects/{project}/regions/{region}/subnetworks/{subnet}
|
65
|
+
:param str target: Resource path of the target resource. The target project can be
|
66
|
+
different, as in the cases when migrating to peer networks. The resource
|
67
|
+
may not exist yet.
|
68
|
+
For example /projects/{project}/regions/{region}/subnetworks/{subnet}
|
69
|
+
"""
|
70
|
+
pulumi.set(__self__, "source", source)
|
71
|
+
pulumi.set(__self__, "target", target)
|
72
|
+
|
73
|
+
@property
|
74
|
+
@pulumi.getter
|
75
|
+
def source(self) -> str:
|
76
|
+
"""
|
77
|
+
Resource path as an URI of the source resource, for example a subnet.
|
78
|
+
The project for the source resource should match the project for the
|
79
|
+
InternalRange.
|
80
|
+
An example /projects/{project}/regions/{region}/subnetworks/{subnet}
|
81
|
+
"""
|
82
|
+
return pulumi.get(self, "source")
|
83
|
+
|
84
|
+
@property
|
85
|
+
@pulumi.getter
|
86
|
+
def target(self) -> str:
|
87
|
+
"""
|
88
|
+
Resource path of the target resource. The target project can be
|
89
|
+
different, as in the cases when migrating to peer networks. The resource
|
90
|
+
may not exist yet.
|
91
|
+
For example /projects/{project}/regions/{region}/subnetworks/{subnet}
|
92
|
+
"""
|
93
|
+
return pulumi.get(self, "target")
|
94
|
+
|
95
|
+
|
54
96
|
@pulumi.output_type
|
55
97
|
class PolicyBasedRouteFilter(dict):
|
56
98
|
@staticmethod
|
@@ -31,6 +31,7 @@ class GatewayArgs:
|
|
31
31
|
name: Optional[pulumi.Input[str]] = None,
|
32
32
|
network: Optional[pulumi.Input[str]] = None,
|
33
33
|
project: Optional[pulumi.Input[str]] = None,
|
34
|
+
routing_mode: Optional[pulumi.Input[str]] = None,
|
34
35
|
scope: Optional[pulumi.Input[str]] = None,
|
35
36
|
server_tls_policy: Optional[pulumi.Input[str]] = None,
|
36
37
|
subnetwork: Optional[pulumi.Input[str]] = None):
|
@@ -66,6 +67,8 @@ class GatewayArgs:
|
|
66
67
|
Currently, this field is specific to gateways of type 'SECURE_WEB_GATEWAY'.
|
67
68
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
68
69
|
If it is not provided, the provider project is used.
|
70
|
+
:param pulumi.Input[str] routing_mode: The routing mode of the Gateway. This field is configurable only for gateways of type SECURE_WEB_GATEWAY. This field is required for gateways of type SECURE_WEB_GATEWAY.
|
71
|
+
Possible values are: `NEXT_HOP_ROUTING_MODE`.
|
69
72
|
:param pulumi.Input[str] scope: Immutable. Scope determines how configuration across multiple Gateway instances are merged.
|
70
73
|
The configuration for multiple Gateway instances with the same scope will be merged as presented as
|
71
74
|
a single coniguration to the proxy/load balancer.
|
@@ -98,6 +101,8 @@ class GatewayArgs:
|
|
98
101
|
pulumi.set(__self__, "network", network)
|
99
102
|
if project is not None:
|
100
103
|
pulumi.set(__self__, "project", project)
|
104
|
+
if routing_mode is not None:
|
105
|
+
pulumi.set(__self__, "routing_mode", routing_mode)
|
101
106
|
if scope is not None:
|
102
107
|
pulumi.set(__self__, "scope", scope)
|
103
108
|
if server_tls_policy is not None:
|
@@ -267,6 +272,19 @@ class GatewayArgs:
|
|
267
272
|
def project(self, value: Optional[pulumi.Input[str]]):
|
268
273
|
pulumi.set(self, "project", value)
|
269
274
|
|
275
|
+
@property
|
276
|
+
@pulumi.getter(name="routingMode")
|
277
|
+
def routing_mode(self) -> Optional[pulumi.Input[str]]:
|
278
|
+
"""
|
279
|
+
The routing mode of the Gateway. This field is configurable only for gateways of type SECURE_WEB_GATEWAY. This field is required for gateways of type SECURE_WEB_GATEWAY.
|
280
|
+
Possible values are: `NEXT_HOP_ROUTING_MODE`.
|
281
|
+
"""
|
282
|
+
return pulumi.get(self, "routing_mode")
|
283
|
+
|
284
|
+
@routing_mode.setter
|
285
|
+
def routing_mode(self, value: Optional[pulumi.Input[str]]):
|
286
|
+
pulumi.set(self, "routing_mode", value)
|
287
|
+
|
270
288
|
@property
|
271
289
|
@pulumi.getter
|
272
290
|
def scope(self) -> Optional[pulumi.Input[str]]:
|
@@ -327,6 +345,7 @@ class _GatewayState:
|
|
327
345
|
ports: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None,
|
328
346
|
project: Optional[pulumi.Input[str]] = None,
|
329
347
|
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
348
|
+
routing_mode: Optional[pulumi.Input[str]] = None,
|
330
349
|
scope: Optional[pulumi.Input[str]] = None,
|
331
350
|
self_link: Optional[pulumi.Input[str]] = None,
|
332
351
|
server_tls_policy: Optional[pulumi.Input[str]] = None,
|
@@ -367,6 +386,8 @@ class _GatewayState:
|
|
367
386
|
If it is not provided, the provider project is used.
|
368
387
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
|
369
388
|
and default labels configured on the provider.
|
389
|
+
:param pulumi.Input[str] routing_mode: The routing mode of the Gateway. This field is configurable only for gateways of type SECURE_WEB_GATEWAY. This field is required for gateways of type SECURE_WEB_GATEWAY.
|
390
|
+
Possible values are: `NEXT_HOP_ROUTING_MODE`.
|
370
391
|
:param pulumi.Input[str] scope: Immutable. Scope determines how configuration across multiple Gateway instances are merged.
|
371
392
|
The configuration for multiple Gateway instances with the same scope will be merged as presented as
|
372
393
|
a single coniguration to the proxy/load balancer.
|
@@ -409,6 +430,8 @@ class _GatewayState:
|
|
409
430
|
pulumi.set(__self__, "project", project)
|
410
431
|
if pulumi_labels is not None:
|
411
432
|
pulumi.set(__self__, "pulumi_labels", pulumi_labels)
|
433
|
+
if routing_mode is not None:
|
434
|
+
pulumi.set(__self__, "routing_mode", routing_mode)
|
412
435
|
if scope is not None:
|
413
436
|
pulumi.set(__self__, "scope", scope)
|
414
437
|
if self_link is not None:
|
@@ -608,6 +631,19 @@ class _GatewayState:
|
|
608
631
|
def pulumi_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
609
632
|
pulumi.set(self, "pulumi_labels", value)
|
610
633
|
|
634
|
+
@property
|
635
|
+
@pulumi.getter(name="routingMode")
|
636
|
+
def routing_mode(self) -> Optional[pulumi.Input[str]]:
|
637
|
+
"""
|
638
|
+
The routing mode of the Gateway. This field is configurable only for gateways of type SECURE_WEB_GATEWAY. This field is required for gateways of type SECURE_WEB_GATEWAY.
|
639
|
+
Possible values are: `NEXT_HOP_ROUTING_MODE`.
|
640
|
+
"""
|
641
|
+
return pulumi.get(self, "routing_mode")
|
642
|
+
|
643
|
+
@routing_mode.setter
|
644
|
+
def routing_mode(self, value: Optional[pulumi.Input[str]]):
|
645
|
+
pulumi.set(self, "routing_mode", value)
|
646
|
+
|
611
647
|
@property
|
612
648
|
@pulumi.getter
|
613
649
|
def scope(self) -> Optional[pulumi.Input[str]]:
|
@@ -704,6 +740,7 @@ class Gateway(pulumi.CustomResource):
|
|
704
740
|
network: Optional[pulumi.Input[str]] = None,
|
705
741
|
ports: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None,
|
706
742
|
project: Optional[pulumi.Input[str]] = None,
|
743
|
+
routing_mode: Optional[pulumi.Input[str]] = None,
|
707
744
|
scope: Optional[pulumi.Input[str]] = None,
|
708
745
|
server_tls_policy: Optional[pulumi.Input[str]] = None,
|
709
746
|
subnetwork: Optional[pulumi.Input[str]] = None,
|
@@ -931,6 +968,8 @@ class Gateway(pulumi.CustomResource):
|
|
931
968
|
limited to 1 port. Gateways of type 'OPEN_MESH' listen on 0.0.0.0 and support multiple ports.
|
932
969
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
933
970
|
If it is not provided, the provider project is used.
|
971
|
+
:param pulumi.Input[str] routing_mode: The routing mode of the Gateway. This field is configurable only for gateways of type SECURE_WEB_GATEWAY. This field is required for gateways of type SECURE_WEB_GATEWAY.
|
972
|
+
Possible values are: `NEXT_HOP_ROUTING_MODE`.
|
934
973
|
:param pulumi.Input[str] scope: Immutable. Scope determines how configuration across multiple Gateway instances are merged.
|
935
974
|
The configuration for multiple Gateway instances with the same scope will be merged as presented as
|
936
975
|
a single coniguration to the proxy/load balancer.
|
@@ -1167,6 +1206,7 @@ class Gateway(pulumi.CustomResource):
|
|
1167
1206
|
network: Optional[pulumi.Input[str]] = None,
|
1168
1207
|
ports: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None,
|
1169
1208
|
project: Optional[pulumi.Input[str]] = None,
|
1209
|
+
routing_mode: Optional[pulumi.Input[str]] = None,
|
1170
1210
|
scope: Optional[pulumi.Input[str]] = None,
|
1171
1211
|
server_tls_policy: Optional[pulumi.Input[str]] = None,
|
1172
1212
|
subnetwork: Optional[pulumi.Input[str]] = None,
|
@@ -1193,6 +1233,7 @@ class Gateway(pulumi.CustomResource):
|
|
1193
1233
|
raise TypeError("Missing required property 'ports'")
|
1194
1234
|
__props__.__dict__["ports"] = ports
|
1195
1235
|
__props__.__dict__["project"] = project
|
1236
|
+
__props__.__dict__["routing_mode"] = routing_mode
|
1196
1237
|
__props__.__dict__["scope"] = scope
|
1197
1238
|
__props__.__dict__["server_tls_policy"] = server_tls_policy
|
1198
1239
|
__props__.__dict__["subnetwork"] = subnetwork
|
@@ -1230,6 +1271,7 @@ class Gateway(pulumi.CustomResource):
|
|
1230
1271
|
ports: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None,
|
1231
1272
|
project: Optional[pulumi.Input[str]] = None,
|
1232
1273
|
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
1274
|
+
routing_mode: Optional[pulumi.Input[str]] = None,
|
1233
1275
|
scope: Optional[pulumi.Input[str]] = None,
|
1234
1276
|
self_link: Optional[pulumi.Input[str]] = None,
|
1235
1277
|
server_tls_policy: Optional[pulumi.Input[str]] = None,
|
@@ -1275,6 +1317,8 @@ class Gateway(pulumi.CustomResource):
|
|
1275
1317
|
If it is not provided, the provider project is used.
|
1276
1318
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
|
1277
1319
|
and default labels configured on the provider.
|
1320
|
+
:param pulumi.Input[str] routing_mode: The routing mode of the Gateway. This field is configurable only for gateways of type SECURE_WEB_GATEWAY. This field is required for gateways of type SECURE_WEB_GATEWAY.
|
1321
|
+
Possible values are: `NEXT_HOP_ROUTING_MODE`.
|
1278
1322
|
:param pulumi.Input[str] scope: Immutable. Scope determines how configuration across multiple Gateway instances are merged.
|
1279
1323
|
The configuration for multiple Gateway instances with the same scope will be merged as presented as
|
1280
1324
|
a single coniguration to the proxy/load balancer.
|
@@ -1307,6 +1351,7 @@ class Gateway(pulumi.CustomResource):
|
|
1307
1351
|
__props__.__dict__["ports"] = ports
|
1308
1352
|
__props__.__dict__["project"] = project
|
1309
1353
|
__props__.__dict__["pulumi_labels"] = pulumi_labels
|
1354
|
+
__props__.__dict__["routing_mode"] = routing_mode
|
1310
1355
|
__props__.__dict__["scope"] = scope
|
1311
1356
|
__props__.__dict__["self_link"] = self_link
|
1312
1357
|
__props__.__dict__["server_tls_policy"] = server_tls_policy
|
@@ -1445,6 +1490,15 @@ class Gateway(pulumi.CustomResource):
|
|
1445
1490
|
"""
|
1446
1491
|
return pulumi.get(self, "pulumi_labels")
|
1447
1492
|
|
1493
|
+
@property
|
1494
|
+
@pulumi.getter(name="routingMode")
|
1495
|
+
def routing_mode(self) -> pulumi.Output[Optional[str]]:
|
1496
|
+
"""
|
1497
|
+
The routing mode of the Gateway. This field is configurable only for gateways of type SECURE_WEB_GATEWAY. This field is required for gateways of type SECURE_WEB_GATEWAY.
|
1498
|
+
Possible values are: `NEXT_HOP_ROUTING_MODE`.
|
1499
|
+
"""
|
1500
|
+
return pulumi.get(self, "routing_mode")
|
1501
|
+
|
1448
1502
|
@property
|
1449
1503
|
@pulumi.getter
|
1450
1504
|
def scope(self) -> pulumi.Output[Optional[str]]:
|
pulumi_gcp/pulumi-plugin.json
CHANGED
@@ -1261,11 +1261,7 @@ class GetSecretsSecretResult(dict):
|
|
1261
1261
|
A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
|
1262
1262
|
Only one of 'ttl' or 'expire_time' can be provided.
|
1263
1263
|
:param Mapping[str, str] version_aliases: Mapping from version alias to version name.
|
1264
|
-
:param str version_destroy_ttl:
|
1265
|
-
This is a part of the delayed delete feature on Secret Version.
|
1266
|
-
For secret with versionDestroyTtl>0, version destruction doesn't happen immediately
|
1267
|
-
on calling destroy instead the version goes to a disabled state and
|
1268
|
-
the actual destruction happens after this TTL expires.
|
1264
|
+
:param str version_destroy_ttl: The version destroy ttl for the secret version.
|
1269
1265
|
"""
|
1270
1266
|
pulumi.set(__self__, "annotations", annotations)
|
1271
1267
|
pulumi.set(__self__, "create_time", create_time)
|
@@ -1408,11 +1404,7 @@ class GetSecretsSecretResult(dict):
|
|
1408
1404
|
@pulumi.getter(name="versionDestroyTtl")
|
1409
1405
|
def version_destroy_ttl(self) -> str:
|
1410
1406
|
"""
|
1411
|
-
|
1412
|
-
This is a part of the delayed delete feature on Secret Version.
|
1413
|
-
For secret with versionDestroyTtl>0, version destruction doesn't happen immediately
|
1414
|
-
on calling destroy instead the version goes to a disabled state and
|
1415
|
-
the actual destruction happens after this TTL expires.
|
1407
|
+
The version destroy ttl for the secret version.
|
1416
1408
|
"""
|
1417
1409
|
return pulumi.get(self, "version_destroy_ttl")
|
1418
1410
|
|