pulumi-gcp 8.33.0a1749001887__py3-none-any.whl → 8.34.0a1749484438__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.34.0a1749484438.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.33.0a1749001887.dist-info → pulumi_gcp-8.34.0a1749484438.dist-info}/RECORD +46 -44
- {pulumi_gcp-8.33.0a1749001887.dist-info → pulumi_gcp-8.34.0a1749484438.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.33.0a1749001887.dist-info → pulumi_gcp-8.34.0a1749484438.dist-info}/top_level.txt +0 -0
@@ -25,32 +25,45 @@ class PrivateConnectionArgs:
|
|
25
25
|
display_name: pulumi.Input[builtins.str],
|
26
26
|
location: pulumi.Input[builtins.str],
|
27
27
|
private_connection_id: pulumi.Input[builtins.str],
|
28
|
-
vpc_peering_config: pulumi.Input['PrivateConnectionVpcPeeringConfigArgs'],
|
29
28
|
create_without_validation: Optional[pulumi.Input[builtins.bool]] = None,
|
30
29
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
31
|
-
project: Optional[pulumi.Input[builtins.str]] = None
|
30
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
31
|
+
psc_interface_config: Optional[pulumi.Input['PrivateConnectionPscInterfaceConfigArgs']] = None,
|
32
|
+
vpc_peering_config: Optional[pulumi.Input['PrivateConnectionVpcPeeringConfigArgs']] = None):
|
32
33
|
"""
|
33
34
|
The set of arguments for constructing a PrivateConnection resource.
|
34
35
|
:param pulumi.Input[builtins.str] display_name: Display name.
|
35
36
|
:param pulumi.Input[builtins.str] location: The name of the location this private connection is located in.
|
37
|
+
|
38
|
+
|
39
|
+
- - -
|
36
40
|
:param pulumi.Input[builtins.str] private_connection_id: The private connectivity identifier.
|
41
|
+
:param pulumi.Input[builtins.bool] create_without_validation: If set to true, will skip validations.
|
42
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels.
|
43
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
44
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
45
|
+
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
46
|
+
If it is not provided, the provider project is used.
|
47
|
+
:param pulumi.Input['PrivateConnectionPscInterfaceConfigArgs'] psc_interface_config: The PSC Interface configuration is used to create PSC Interface
|
48
|
+
between Datastream and the consumer's PSC.
|
49
|
+
Structure is documented below.
|
37
50
|
:param pulumi.Input['PrivateConnectionVpcPeeringConfigArgs'] vpc_peering_config: The VPC Peering configuration is used to create VPC peering
|
38
51
|
between Datastream and the consumer's VPC.
|
39
52
|
Structure is documented below.
|
40
|
-
:param pulumi.Input[builtins.bool] create_without_validation: If set to true, will skip validations.
|
41
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please
|
42
|
-
refer to the field 'effective_labels' for all of the labels present on the resource.
|
43
53
|
"""
|
44
54
|
pulumi.set(__self__, "display_name", display_name)
|
45
55
|
pulumi.set(__self__, "location", location)
|
46
56
|
pulumi.set(__self__, "private_connection_id", private_connection_id)
|
47
|
-
pulumi.set(__self__, "vpc_peering_config", vpc_peering_config)
|
48
57
|
if create_without_validation is not None:
|
49
58
|
pulumi.set(__self__, "create_without_validation", create_without_validation)
|
50
59
|
if labels is not None:
|
51
60
|
pulumi.set(__self__, "labels", labels)
|
52
61
|
if project is not None:
|
53
62
|
pulumi.set(__self__, "project", project)
|
63
|
+
if psc_interface_config is not None:
|
64
|
+
pulumi.set(__self__, "psc_interface_config", psc_interface_config)
|
65
|
+
if vpc_peering_config is not None:
|
66
|
+
pulumi.set(__self__, "vpc_peering_config", vpc_peering_config)
|
54
67
|
|
55
68
|
@property
|
56
69
|
@pulumi.getter(name="displayName")
|
@@ -69,6 +82,9 @@ class PrivateConnectionArgs:
|
|
69
82
|
def location(self) -> pulumi.Input[builtins.str]:
|
70
83
|
"""
|
71
84
|
The name of the location this private connection is located in.
|
85
|
+
|
86
|
+
|
87
|
+
- - -
|
72
88
|
"""
|
73
89
|
return pulumi.get(self, "location")
|
74
90
|
|
@@ -88,20 +104,6 @@ class PrivateConnectionArgs:
|
|
88
104
|
def private_connection_id(self, value: pulumi.Input[builtins.str]):
|
89
105
|
pulumi.set(self, "private_connection_id", value)
|
90
106
|
|
91
|
-
@property
|
92
|
-
@pulumi.getter(name="vpcPeeringConfig")
|
93
|
-
def vpc_peering_config(self) -> pulumi.Input['PrivateConnectionVpcPeeringConfigArgs']:
|
94
|
-
"""
|
95
|
-
The VPC Peering configuration is used to create VPC peering
|
96
|
-
between Datastream and the consumer's VPC.
|
97
|
-
Structure is documented below.
|
98
|
-
"""
|
99
|
-
return pulumi.get(self, "vpc_peering_config")
|
100
|
-
|
101
|
-
@vpc_peering_config.setter
|
102
|
-
def vpc_peering_config(self, value: pulumi.Input['PrivateConnectionVpcPeeringConfigArgs']):
|
103
|
-
pulumi.set(self, "vpc_peering_config", value)
|
104
|
-
|
105
107
|
@property
|
106
108
|
@pulumi.getter(name="createWithoutValidation")
|
107
109
|
def create_without_validation(self) -> Optional[pulumi.Input[builtins.bool]]:
|
@@ -118,8 +120,9 @@ class PrivateConnectionArgs:
|
|
118
120
|
@pulumi.getter
|
119
121
|
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
120
122
|
"""
|
121
|
-
Labels.
|
122
|
-
|
123
|
+
Labels.
|
124
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
125
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
123
126
|
"""
|
124
127
|
return pulumi.get(self, "labels")
|
125
128
|
|
@@ -130,12 +133,44 @@ class PrivateConnectionArgs:
|
|
130
133
|
@property
|
131
134
|
@pulumi.getter
|
132
135
|
def project(self) -> Optional[pulumi.Input[builtins.str]]:
|
136
|
+
"""
|
137
|
+
The ID of the project in which the resource belongs.
|
138
|
+
If it is not provided, the provider project is used.
|
139
|
+
"""
|
133
140
|
return pulumi.get(self, "project")
|
134
141
|
|
135
142
|
@project.setter
|
136
143
|
def project(self, value: Optional[pulumi.Input[builtins.str]]):
|
137
144
|
pulumi.set(self, "project", value)
|
138
145
|
|
146
|
+
@property
|
147
|
+
@pulumi.getter(name="pscInterfaceConfig")
|
148
|
+
def psc_interface_config(self) -> Optional[pulumi.Input['PrivateConnectionPscInterfaceConfigArgs']]:
|
149
|
+
"""
|
150
|
+
The PSC Interface configuration is used to create PSC Interface
|
151
|
+
between Datastream and the consumer's PSC.
|
152
|
+
Structure is documented below.
|
153
|
+
"""
|
154
|
+
return pulumi.get(self, "psc_interface_config")
|
155
|
+
|
156
|
+
@psc_interface_config.setter
|
157
|
+
def psc_interface_config(self, value: Optional[pulumi.Input['PrivateConnectionPscInterfaceConfigArgs']]):
|
158
|
+
pulumi.set(self, "psc_interface_config", value)
|
159
|
+
|
160
|
+
@property
|
161
|
+
@pulumi.getter(name="vpcPeeringConfig")
|
162
|
+
def vpc_peering_config(self) -> Optional[pulumi.Input['PrivateConnectionVpcPeeringConfigArgs']]:
|
163
|
+
"""
|
164
|
+
The VPC Peering configuration is used to create VPC peering
|
165
|
+
between Datastream and the consumer's VPC.
|
166
|
+
Structure is documented below.
|
167
|
+
"""
|
168
|
+
return pulumi.get(self, "vpc_peering_config")
|
169
|
+
|
170
|
+
@vpc_peering_config.setter
|
171
|
+
def vpc_peering_config(self, value: Optional[pulumi.Input['PrivateConnectionVpcPeeringConfigArgs']]):
|
172
|
+
pulumi.set(self, "vpc_peering_config", value)
|
173
|
+
|
139
174
|
|
140
175
|
@pulumi.input_type
|
141
176
|
class _PrivateConnectionState:
|
@@ -149,6 +184,7 @@ class _PrivateConnectionState:
|
|
149
184
|
name: Optional[pulumi.Input[builtins.str]] = None,
|
150
185
|
private_connection_id: Optional[pulumi.Input[builtins.str]] = None,
|
151
186
|
project: Optional[pulumi.Input[builtins.str]] = None,
|
187
|
+
psc_interface_config: Optional[pulumi.Input['PrivateConnectionPscInterfaceConfigArgs']] = None,
|
152
188
|
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
153
189
|
state: Optional[pulumi.Input[builtins.str]] = None,
|
154
190
|
vpc_peering_config: Optional[pulumi.Input['PrivateConnectionVpcPeeringConfigArgs']] = None):
|
@@ -159,11 +195,20 @@ class _PrivateConnectionState:
|
|
159
195
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
160
196
|
:param pulumi.Input[Sequence[pulumi.Input['PrivateConnectionErrorArgs']]] errors: The PrivateConnection error in case of failure.
|
161
197
|
Structure is documented below.
|
162
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels.
|
163
|
-
|
198
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels.
|
199
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
200
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
164
201
|
:param pulumi.Input[builtins.str] location: The name of the location this private connection is located in.
|
202
|
+
|
203
|
+
|
204
|
+
- - -
|
165
205
|
:param pulumi.Input[builtins.str] name: The resource's name.
|
166
206
|
:param pulumi.Input[builtins.str] private_connection_id: The private connectivity identifier.
|
207
|
+
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
208
|
+
If it is not provided, the provider project is used.
|
209
|
+
:param pulumi.Input['PrivateConnectionPscInterfaceConfigArgs'] psc_interface_config: The PSC Interface configuration is used to create PSC Interface
|
210
|
+
between Datastream and the consumer's PSC.
|
211
|
+
Structure is documented below.
|
167
212
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] pulumi_labels: The combination of labels configured directly on the resource
|
168
213
|
and default labels configured on the provider.
|
169
214
|
:param pulumi.Input[builtins.str] state: State of the PrivateConnection.
|
@@ -189,6 +234,8 @@ class _PrivateConnectionState:
|
|
189
234
|
pulumi.set(__self__, "private_connection_id", private_connection_id)
|
190
235
|
if project is not None:
|
191
236
|
pulumi.set(__self__, "project", project)
|
237
|
+
if psc_interface_config is not None:
|
238
|
+
pulumi.set(__self__, "psc_interface_config", psc_interface_config)
|
192
239
|
if pulumi_labels is not None:
|
193
240
|
pulumi.set(__self__, "pulumi_labels", pulumi_labels)
|
194
241
|
if state is not None:
|
@@ -249,8 +296,9 @@ class _PrivateConnectionState:
|
|
249
296
|
@pulumi.getter
|
250
297
|
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
251
298
|
"""
|
252
|
-
Labels.
|
253
|
-
|
299
|
+
Labels.
|
300
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
301
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
254
302
|
"""
|
255
303
|
return pulumi.get(self, "labels")
|
256
304
|
|
@@ -263,6 +311,9 @@ class _PrivateConnectionState:
|
|
263
311
|
def location(self) -> Optional[pulumi.Input[builtins.str]]:
|
264
312
|
"""
|
265
313
|
The name of the location this private connection is located in.
|
314
|
+
|
315
|
+
|
316
|
+
- - -
|
266
317
|
"""
|
267
318
|
return pulumi.get(self, "location")
|
268
319
|
|
@@ -297,12 +348,30 @@ class _PrivateConnectionState:
|
|
297
348
|
@property
|
298
349
|
@pulumi.getter
|
299
350
|
def project(self) -> Optional[pulumi.Input[builtins.str]]:
|
351
|
+
"""
|
352
|
+
The ID of the project in which the resource belongs.
|
353
|
+
If it is not provided, the provider project is used.
|
354
|
+
"""
|
300
355
|
return pulumi.get(self, "project")
|
301
356
|
|
302
357
|
@project.setter
|
303
358
|
def project(self, value: Optional[pulumi.Input[builtins.str]]):
|
304
359
|
pulumi.set(self, "project", value)
|
305
360
|
|
361
|
+
@property
|
362
|
+
@pulumi.getter(name="pscInterfaceConfig")
|
363
|
+
def psc_interface_config(self) -> Optional[pulumi.Input['PrivateConnectionPscInterfaceConfigArgs']]:
|
364
|
+
"""
|
365
|
+
The PSC Interface configuration is used to create PSC Interface
|
366
|
+
between Datastream and the consumer's PSC.
|
367
|
+
Structure is documented below.
|
368
|
+
"""
|
369
|
+
return pulumi.get(self, "psc_interface_config")
|
370
|
+
|
371
|
+
@psc_interface_config.setter
|
372
|
+
def psc_interface_config(self, value: Optional[pulumi.Input['PrivateConnectionPscInterfaceConfigArgs']]):
|
373
|
+
pulumi.set(self, "psc_interface_config", value)
|
374
|
+
|
306
375
|
@property
|
307
376
|
@pulumi.getter(name="pulumiLabels")
|
308
377
|
def pulumi_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
@@ -355,6 +424,7 @@ class PrivateConnection(pulumi.CustomResource):
|
|
355
424
|
location: Optional[pulumi.Input[builtins.str]] = None,
|
356
425
|
private_connection_id: Optional[pulumi.Input[builtins.str]] = None,
|
357
426
|
project: Optional[pulumi.Input[builtins.str]] = None,
|
427
|
+
psc_interface_config: Optional[pulumi.Input[Union['PrivateConnectionPscInterfaceConfigArgs', 'PrivateConnectionPscInterfaceConfigArgsDict']]] = None,
|
358
428
|
vpc_peering_config: Optional[pulumi.Input[Union['PrivateConnectionVpcPeeringConfigArgs', 'PrivateConnectionVpcPeeringConfigArgsDict']]] = None,
|
359
429
|
__props__=None):
|
360
430
|
"""
|
@@ -387,6 +457,37 @@ class PrivateConnection(pulumi.CustomResource):
|
|
387
457
|
"subnet": "10.0.0.0/29",
|
388
458
|
})
|
389
459
|
```
|
460
|
+
### Datastream Private Connection Psc Interface
|
461
|
+
|
462
|
+
```python
|
463
|
+
import pulumi
|
464
|
+
import pulumi_gcp as gcp
|
465
|
+
|
466
|
+
default_network = gcp.compute.Network("default",
|
467
|
+
name="my-network",
|
468
|
+
auto_create_subnetworks=False)
|
469
|
+
default_subnetwork = gcp.compute.Subnetwork("default",
|
470
|
+
name="my-subnetwork",
|
471
|
+
region="us-central1",
|
472
|
+
network=default_network.id,
|
473
|
+
ip_cidr_range="10.0.0.0/16")
|
474
|
+
default_network_attachment = gcp.compute.NetworkAttachment("default",
|
475
|
+
name="my-network-attachment",
|
476
|
+
region="us-central1",
|
477
|
+
description="basic network attachment description",
|
478
|
+
connection_preference="ACCEPT_AUTOMATIC",
|
479
|
+
subnetworks=[default_subnetwork.self_link])
|
480
|
+
default = gcp.datastream.PrivateConnection("default",
|
481
|
+
display_name="Connection profile",
|
482
|
+
location="us-central1",
|
483
|
+
private_connection_id="my-connection",
|
484
|
+
labels={
|
485
|
+
"key": "value",
|
486
|
+
},
|
487
|
+
psc_interface_config={
|
488
|
+
"network_attachment": default_network_attachment.id,
|
489
|
+
})
|
490
|
+
```
|
390
491
|
|
391
492
|
## Import
|
392
493
|
|
@@ -416,10 +517,19 @@ class PrivateConnection(pulumi.CustomResource):
|
|
416
517
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
417
518
|
:param pulumi.Input[builtins.bool] create_without_validation: If set to true, will skip validations.
|
418
519
|
:param pulumi.Input[builtins.str] display_name: Display name.
|
419
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels.
|
420
|
-
|
520
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels.
|
521
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
522
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
421
523
|
:param pulumi.Input[builtins.str] location: The name of the location this private connection is located in.
|
524
|
+
|
525
|
+
|
526
|
+
- - -
|
422
527
|
:param pulumi.Input[builtins.str] private_connection_id: The private connectivity identifier.
|
528
|
+
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
529
|
+
If it is not provided, the provider project is used.
|
530
|
+
:param pulumi.Input[Union['PrivateConnectionPscInterfaceConfigArgs', 'PrivateConnectionPscInterfaceConfigArgsDict']] psc_interface_config: The PSC Interface configuration is used to create PSC Interface
|
531
|
+
between Datastream and the consumer's PSC.
|
532
|
+
Structure is documented below.
|
423
533
|
:param pulumi.Input[Union['PrivateConnectionVpcPeeringConfigArgs', 'PrivateConnectionVpcPeeringConfigArgsDict']] vpc_peering_config: The VPC Peering configuration is used to create VPC peering
|
424
534
|
between Datastream and the consumer's VPC.
|
425
535
|
Structure is documented below.
|
@@ -460,6 +570,37 @@ class PrivateConnection(pulumi.CustomResource):
|
|
460
570
|
"subnet": "10.0.0.0/29",
|
461
571
|
})
|
462
572
|
```
|
573
|
+
### Datastream Private Connection Psc Interface
|
574
|
+
|
575
|
+
```python
|
576
|
+
import pulumi
|
577
|
+
import pulumi_gcp as gcp
|
578
|
+
|
579
|
+
default_network = gcp.compute.Network("default",
|
580
|
+
name="my-network",
|
581
|
+
auto_create_subnetworks=False)
|
582
|
+
default_subnetwork = gcp.compute.Subnetwork("default",
|
583
|
+
name="my-subnetwork",
|
584
|
+
region="us-central1",
|
585
|
+
network=default_network.id,
|
586
|
+
ip_cidr_range="10.0.0.0/16")
|
587
|
+
default_network_attachment = gcp.compute.NetworkAttachment("default",
|
588
|
+
name="my-network-attachment",
|
589
|
+
region="us-central1",
|
590
|
+
description="basic network attachment description",
|
591
|
+
connection_preference="ACCEPT_AUTOMATIC",
|
592
|
+
subnetworks=[default_subnetwork.self_link])
|
593
|
+
default = gcp.datastream.PrivateConnection("default",
|
594
|
+
display_name="Connection profile",
|
595
|
+
location="us-central1",
|
596
|
+
private_connection_id="my-connection",
|
597
|
+
labels={
|
598
|
+
"key": "value",
|
599
|
+
},
|
600
|
+
psc_interface_config={
|
601
|
+
"network_attachment": default_network_attachment.id,
|
602
|
+
})
|
603
|
+
```
|
463
604
|
|
464
605
|
## Import
|
465
606
|
|
@@ -506,6 +647,7 @@ class PrivateConnection(pulumi.CustomResource):
|
|
506
647
|
location: Optional[pulumi.Input[builtins.str]] = None,
|
507
648
|
private_connection_id: Optional[pulumi.Input[builtins.str]] = None,
|
508
649
|
project: Optional[pulumi.Input[builtins.str]] = None,
|
650
|
+
psc_interface_config: Optional[pulumi.Input[Union['PrivateConnectionPscInterfaceConfigArgs', 'PrivateConnectionPscInterfaceConfigArgsDict']]] = None,
|
509
651
|
vpc_peering_config: Optional[pulumi.Input[Union['PrivateConnectionVpcPeeringConfigArgs', 'PrivateConnectionVpcPeeringConfigArgsDict']]] = None,
|
510
652
|
__props__=None):
|
511
653
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
@@ -528,8 +670,7 @@ class PrivateConnection(pulumi.CustomResource):
|
|
528
670
|
raise TypeError("Missing required property 'private_connection_id'")
|
529
671
|
__props__.__dict__["private_connection_id"] = private_connection_id
|
530
672
|
__props__.__dict__["project"] = project
|
531
|
-
|
532
|
-
raise TypeError("Missing required property 'vpc_peering_config'")
|
673
|
+
__props__.__dict__["psc_interface_config"] = psc_interface_config
|
533
674
|
__props__.__dict__["vpc_peering_config"] = vpc_peering_config
|
534
675
|
__props__.__dict__["effective_labels"] = None
|
535
676
|
__props__.__dict__["errors"] = None
|
@@ -557,6 +698,7 @@ class PrivateConnection(pulumi.CustomResource):
|
|
557
698
|
name: Optional[pulumi.Input[builtins.str]] = None,
|
558
699
|
private_connection_id: Optional[pulumi.Input[builtins.str]] = None,
|
559
700
|
project: Optional[pulumi.Input[builtins.str]] = None,
|
701
|
+
psc_interface_config: Optional[pulumi.Input[Union['PrivateConnectionPscInterfaceConfigArgs', 'PrivateConnectionPscInterfaceConfigArgsDict']]] = None,
|
560
702
|
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
561
703
|
state: Optional[pulumi.Input[builtins.str]] = None,
|
562
704
|
vpc_peering_config: Optional[pulumi.Input[Union['PrivateConnectionVpcPeeringConfigArgs', 'PrivateConnectionVpcPeeringConfigArgsDict']]] = None) -> 'PrivateConnection':
|
@@ -572,11 +714,20 @@ class PrivateConnection(pulumi.CustomResource):
|
|
572
714
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
573
715
|
:param pulumi.Input[Sequence[pulumi.Input[Union['PrivateConnectionErrorArgs', 'PrivateConnectionErrorArgsDict']]]] errors: The PrivateConnection error in case of failure.
|
574
716
|
Structure is documented below.
|
575
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels.
|
576
|
-
|
717
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels.
|
718
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
719
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
577
720
|
:param pulumi.Input[builtins.str] location: The name of the location this private connection is located in.
|
721
|
+
|
722
|
+
|
723
|
+
- - -
|
578
724
|
:param pulumi.Input[builtins.str] name: The resource's name.
|
579
725
|
:param pulumi.Input[builtins.str] private_connection_id: The private connectivity identifier.
|
726
|
+
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
727
|
+
If it is not provided, the provider project is used.
|
728
|
+
:param pulumi.Input[Union['PrivateConnectionPscInterfaceConfigArgs', 'PrivateConnectionPscInterfaceConfigArgsDict']] psc_interface_config: The PSC Interface configuration is used to create PSC Interface
|
729
|
+
between Datastream and the consumer's PSC.
|
730
|
+
Structure is documented below.
|
580
731
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] pulumi_labels: The combination of labels configured directly on the resource
|
581
732
|
and default labels configured on the provider.
|
582
733
|
:param pulumi.Input[builtins.str] state: State of the PrivateConnection.
|
@@ -597,6 +748,7 @@ class PrivateConnection(pulumi.CustomResource):
|
|
597
748
|
__props__.__dict__["name"] = name
|
598
749
|
__props__.__dict__["private_connection_id"] = private_connection_id
|
599
750
|
__props__.__dict__["project"] = project
|
751
|
+
__props__.__dict__["psc_interface_config"] = psc_interface_config
|
600
752
|
__props__.__dict__["pulumi_labels"] = pulumi_labels
|
601
753
|
__props__.__dict__["state"] = state
|
602
754
|
__props__.__dict__["vpc_peering_config"] = vpc_peering_config
|
@@ -639,8 +791,9 @@ class PrivateConnection(pulumi.CustomResource):
|
|
639
791
|
@pulumi.getter
|
640
792
|
def labels(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]:
|
641
793
|
"""
|
642
|
-
Labels.
|
643
|
-
|
794
|
+
Labels.
|
795
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
796
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
644
797
|
"""
|
645
798
|
return pulumi.get(self, "labels")
|
646
799
|
|
@@ -649,6 +802,9 @@ class PrivateConnection(pulumi.CustomResource):
|
|
649
802
|
def location(self) -> pulumi.Output[builtins.str]:
|
650
803
|
"""
|
651
804
|
The name of the location this private connection is located in.
|
805
|
+
|
806
|
+
|
807
|
+
- - -
|
652
808
|
"""
|
653
809
|
return pulumi.get(self, "location")
|
654
810
|
|
@@ -671,8 +827,22 @@ class PrivateConnection(pulumi.CustomResource):
|
|
671
827
|
@property
|
672
828
|
@pulumi.getter
|
673
829
|
def project(self) -> pulumi.Output[builtins.str]:
|
830
|
+
"""
|
831
|
+
The ID of the project in which the resource belongs.
|
832
|
+
If it is not provided, the provider project is used.
|
833
|
+
"""
|
674
834
|
return pulumi.get(self, "project")
|
675
835
|
|
836
|
+
@property
|
837
|
+
@pulumi.getter(name="pscInterfaceConfig")
|
838
|
+
def psc_interface_config(self) -> pulumi.Output[Optional['outputs.PrivateConnectionPscInterfaceConfig']]:
|
839
|
+
"""
|
840
|
+
The PSC Interface configuration is used to create PSC Interface
|
841
|
+
between Datastream and the consumer's PSC.
|
842
|
+
Structure is documented below.
|
843
|
+
"""
|
844
|
+
return pulumi.get(self, "psc_interface_config")
|
845
|
+
|
676
846
|
@property
|
677
847
|
@pulumi.getter(name="pulumiLabels")
|
678
848
|
def pulumi_labels(self) -> pulumi.Output[Mapping[str, builtins.str]]:
|
@@ -692,7 +862,7 @@ class PrivateConnection(pulumi.CustomResource):
|
|
692
862
|
|
693
863
|
@property
|
694
864
|
@pulumi.getter(name="vpcPeeringConfig")
|
695
|
-
def vpc_peering_config(self) -> pulumi.Output['outputs.PrivateConnectionVpcPeeringConfig']:
|
865
|
+
def vpc_peering_config(self) -> pulumi.Output[Optional['outputs.PrivateConnectionVpcPeeringConfig']]:
|
696
866
|
"""
|
697
867
|
The VPC Peering configuration is used to create VPC peering
|
698
868
|
between Datastream and the consumer's VPC.
|
pulumi_gcp/dns/_inputs.py
CHANGED
@@ -48,6 +48,10 @@ __all__ = [
|
|
48
48
|
'PolicyAlternativeNameServerConfigArgsDict',
|
49
49
|
'PolicyAlternativeNameServerConfigTargetNameServerArgs',
|
50
50
|
'PolicyAlternativeNameServerConfigTargetNameServerArgsDict',
|
51
|
+
'PolicyDns64ConfigArgs',
|
52
|
+
'PolicyDns64ConfigArgsDict',
|
53
|
+
'PolicyDns64ConfigScopeArgs',
|
54
|
+
'PolicyDns64ConfigScopeArgsDict',
|
51
55
|
'PolicyNetworkArgs',
|
52
56
|
'PolicyNetworkArgsDict',
|
53
57
|
'RecordSetRoutingPolicyArgs',
|
@@ -882,6 +886,8 @@ if not MYPY:
|
|
882
886
|
decision based on address ranges, i.e. RFC1918 addresses go to the VPC, Non-RFC1918 addresses go
|
883
887
|
to the Internet. When set to `private`, Cloud DNS will always send queries through VPC for this target
|
884
888
|
Possible values are: `default`, `private`.
|
889
|
+
|
890
|
+
<a name="nested_dns64_config"></a>The `dns64_config` block supports:
|
885
891
|
"""
|
886
892
|
elif False:
|
887
893
|
PolicyAlternativeNameServerConfigTargetNameServerArgsDict: TypeAlias = Mapping[str, Any]
|
@@ -897,6 +903,8 @@ class PolicyAlternativeNameServerConfigTargetNameServerArgs:
|
|
897
903
|
decision based on address ranges, i.e. RFC1918 addresses go to the VPC, Non-RFC1918 addresses go
|
898
904
|
to the Internet. When set to `private`, Cloud DNS will always send queries through VPC for this target
|
899
905
|
Possible values are: `default`, `private`.
|
906
|
+
|
907
|
+
<a name="nested_dns64_config"></a>The `dns64_config` block supports:
|
900
908
|
"""
|
901
909
|
pulumi.set(__self__, "ipv4_address", ipv4_address)
|
902
910
|
if forwarding_path is not None:
|
@@ -922,6 +930,8 @@ class PolicyAlternativeNameServerConfigTargetNameServerArgs:
|
|
922
930
|
decision based on address ranges, i.e. RFC1918 addresses go to the VPC, Non-RFC1918 addresses go
|
923
931
|
to the Internet. When set to `private`, Cloud DNS will always send queries through VPC for this target
|
924
932
|
Possible values are: `default`, `private`.
|
933
|
+
|
934
|
+
<a name="nested_dns64_config"></a>The `dns64_config` block supports:
|
925
935
|
"""
|
926
936
|
return pulumi.get(self, "forwarding_path")
|
927
937
|
|
@@ -930,6 +940,69 @@ class PolicyAlternativeNameServerConfigTargetNameServerArgs:
|
|
930
940
|
pulumi.set(self, "forwarding_path", value)
|
931
941
|
|
932
942
|
|
943
|
+
if not MYPY:
|
944
|
+
class PolicyDns64ConfigArgsDict(TypedDict):
|
945
|
+
scope: pulumi.Input['PolicyDns64ConfigScopeArgsDict']
|
946
|
+
"""
|
947
|
+
The scope to which DNS64 config will be applied to.
|
948
|
+
"""
|
949
|
+
elif False:
|
950
|
+
PolicyDns64ConfigArgsDict: TypeAlias = Mapping[str, Any]
|
951
|
+
|
952
|
+
@pulumi.input_type
|
953
|
+
class PolicyDns64ConfigArgs:
|
954
|
+
def __init__(__self__, *,
|
955
|
+
scope: pulumi.Input['PolicyDns64ConfigScopeArgs']):
|
956
|
+
"""
|
957
|
+
:param pulumi.Input['PolicyDns64ConfigScopeArgs'] scope: The scope to which DNS64 config will be applied to.
|
958
|
+
"""
|
959
|
+
pulumi.set(__self__, "scope", scope)
|
960
|
+
|
961
|
+
@property
|
962
|
+
@pulumi.getter
|
963
|
+
def scope(self) -> pulumi.Input['PolicyDns64ConfigScopeArgs']:
|
964
|
+
"""
|
965
|
+
The scope to which DNS64 config will be applied to.
|
966
|
+
"""
|
967
|
+
return pulumi.get(self, "scope")
|
968
|
+
|
969
|
+
@scope.setter
|
970
|
+
def scope(self, value: pulumi.Input['PolicyDns64ConfigScopeArgs']):
|
971
|
+
pulumi.set(self, "scope", value)
|
972
|
+
|
973
|
+
|
974
|
+
if not MYPY:
|
975
|
+
class PolicyDns64ConfigScopeArgsDict(TypedDict):
|
976
|
+
all_queries: NotRequired[pulumi.Input[builtins.bool]]
|
977
|
+
"""
|
978
|
+
Controls whether DNS64 is enabled globally at the network level.
|
979
|
+
"""
|
980
|
+
elif False:
|
981
|
+
PolicyDns64ConfigScopeArgsDict: TypeAlias = Mapping[str, Any]
|
982
|
+
|
983
|
+
@pulumi.input_type
|
984
|
+
class PolicyDns64ConfigScopeArgs:
|
985
|
+
def __init__(__self__, *,
|
986
|
+
all_queries: Optional[pulumi.Input[builtins.bool]] = None):
|
987
|
+
"""
|
988
|
+
:param pulumi.Input[builtins.bool] all_queries: Controls whether DNS64 is enabled globally at the network level.
|
989
|
+
"""
|
990
|
+
if all_queries is not None:
|
991
|
+
pulumi.set(__self__, "all_queries", all_queries)
|
992
|
+
|
993
|
+
@property
|
994
|
+
@pulumi.getter(name="allQueries")
|
995
|
+
def all_queries(self) -> Optional[pulumi.Input[builtins.bool]]:
|
996
|
+
"""
|
997
|
+
Controls whether DNS64 is enabled globally at the network level.
|
998
|
+
"""
|
999
|
+
return pulumi.get(self, "all_queries")
|
1000
|
+
|
1001
|
+
@all_queries.setter
|
1002
|
+
def all_queries(self, value: Optional[pulumi.Input[builtins.bool]]):
|
1003
|
+
pulumi.set(self, "all_queries", value)
|
1004
|
+
|
1005
|
+
|
933
1006
|
if not MYPY:
|
934
1007
|
class PolicyNetworkArgsDict(TypedDict):
|
935
1008
|
network_url: pulumi.Input[builtins.str]
|
pulumi_gcp/dns/outputs.py
CHANGED
@@ -33,6 +33,8 @@ __all__ = [
|
|
33
33
|
'ManagedZoneServiceDirectoryConfigNamespace',
|
34
34
|
'PolicyAlternativeNameServerConfig',
|
35
35
|
'PolicyAlternativeNameServerConfigTargetNameServer',
|
36
|
+
'PolicyDns64Config',
|
37
|
+
'PolicyDns64ConfigScope',
|
36
38
|
'PolicyNetwork',
|
37
39
|
'RecordSetRoutingPolicy',
|
38
40
|
'RecordSetRoutingPolicyGeo',
|
@@ -768,6 +770,8 @@ class PolicyAlternativeNameServerConfigTargetNameServer(dict):
|
|
768
770
|
decision based on address ranges, i.e. RFC1918 addresses go to the VPC, Non-RFC1918 addresses go
|
769
771
|
to the Internet. When set to `private`, Cloud DNS will always send queries through VPC for this target
|
770
772
|
Possible values are: `default`, `private`.
|
773
|
+
|
774
|
+
<a name="nested_dns64_config"></a>The `dns64_config` block supports:
|
771
775
|
"""
|
772
776
|
pulumi.set(__self__, "ipv4_address", ipv4_address)
|
773
777
|
if forwarding_path is not None:
|
@@ -789,10 +793,66 @@ class PolicyAlternativeNameServerConfigTargetNameServer(dict):
|
|
789
793
|
decision based on address ranges, i.e. RFC1918 addresses go to the VPC, Non-RFC1918 addresses go
|
790
794
|
to the Internet. When set to `private`, Cloud DNS will always send queries through VPC for this target
|
791
795
|
Possible values are: `default`, `private`.
|
796
|
+
|
797
|
+
<a name="nested_dns64_config"></a>The `dns64_config` block supports:
|
792
798
|
"""
|
793
799
|
return pulumi.get(self, "forwarding_path")
|
794
800
|
|
795
801
|
|
802
|
+
@pulumi.output_type
|
803
|
+
class PolicyDns64Config(dict):
|
804
|
+
def __init__(__self__, *,
|
805
|
+
scope: 'outputs.PolicyDns64ConfigScope'):
|
806
|
+
"""
|
807
|
+
:param 'PolicyDns64ConfigScopeArgs' scope: The scope to which DNS64 config will be applied to.
|
808
|
+
"""
|
809
|
+
pulumi.set(__self__, "scope", scope)
|
810
|
+
|
811
|
+
@property
|
812
|
+
@pulumi.getter
|
813
|
+
def scope(self) -> 'outputs.PolicyDns64ConfigScope':
|
814
|
+
"""
|
815
|
+
The scope to which DNS64 config will be applied to.
|
816
|
+
"""
|
817
|
+
return pulumi.get(self, "scope")
|
818
|
+
|
819
|
+
|
820
|
+
@pulumi.output_type
|
821
|
+
class PolicyDns64ConfigScope(dict):
|
822
|
+
@staticmethod
|
823
|
+
def __key_warning(key: str):
|
824
|
+
suggest = None
|
825
|
+
if key == "allQueries":
|
826
|
+
suggest = "all_queries"
|
827
|
+
|
828
|
+
if suggest:
|
829
|
+
pulumi.log.warn(f"Key '{key}' not found in PolicyDns64ConfigScope. Access the value via the '{suggest}' property getter instead.")
|
830
|
+
|
831
|
+
def __getitem__(self, key: str) -> Any:
|
832
|
+
PolicyDns64ConfigScope.__key_warning(key)
|
833
|
+
return super().__getitem__(key)
|
834
|
+
|
835
|
+
def get(self, key: str, default = None) -> Any:
|
836
|
+
PolicyDns64ConfigScope.__key_warning(key)
|
837
|
+
return super().get(key, default)
|
838
|
+
|
839
|
+
def __init__(__self__, *,
|
840
|
+
all_queries: Optional[builtins.bool] = None):
|
841
|
+
"""
|
842
|
+
:param builtins.bool all_queries: Controls whether DNS64 is enabled globally at the network level.
|
843
|
+
"""
|
844
|
+
if all_queries is not None:
|
845
|
+
pulumi.set(__self__, "all_queries", all_queries)
|
846
|
+
|
847
|
+
@property
|
848
|
+
@pulumi.getter(name="allQueries")
|
849
|
+
def all_queries(self) -> Optional[builtins.bool]:
|
850
|
+
"""
|
851
|
+
Controls whether DNS64 is enabled globally at the network level.
|
852
|
+
"""
|
853
|
+
return pulumi.get(self, "all_queries")
|
854
|
+
|
855
|
+
|
796
856
|
@pulumi.output_type
|
797
857
|
class PolicyNetwork(dict):
|
798
858
|
@staticmethod
|