pulumi-gcp 7.30.0__py3-none-any.whl → 7.30.0a1719513455__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 +0 -32
- pulumi_gcp/artifactregistry/get_docker_image.py +2 -2
- pulumi_gcp/bigtable/gc_policy.py +14 -68
- pulumi_gcp/cloudfunctionsv2/_inputs.py +0 -97
- pulumi_gcp/cloudfunctionsv2/function.py +0 -232
- pulumi_gcp/cloudfunctionsv2/outputs.py +1 -129
- pulumi_gcp/compute/_inputs.py +0 -622
- pulumi_gcp/compute/address.py +7 -0
- pulumi_gcp/compute/backend_service.py +14 -0
- pulumi_gcp/compute/forwarding_rule.py +21 -0
- pulumi_gcp/compute/global_forwarding_rule.py +21 -0
- pulumi_gcp/compute/managed_ssl_certificate.py +7 -0
- pulumi_gcp/compute/manged_ssl_certificate.py +7 -0
- pulumi_gcp/compute/network_attachment.py +0 -16
- pulumi_gcp/compute/outputs.py +8 -504
- pulumi_gcp/compute/region_backend_service.py +14 -0
- pulumi_gcp/compute/region_disk_iam_binding.py +95 -122
- pulumi_gcp/compute/region_disk_iam_member.py +95 -122
- pulumi_gcp/compute/region_disk_iam_policy.py +88 -115
- pulumi_gcp/compute/region_ssl_certificate.py +7 -0
- pulumi_gcp/compute/ssl_certificate.py +7 -0
- pulumi_gcp/compute/target_https_proxy.py +1 -76
- pulumi_gcp/compute/url_map.py +0 -255
- pulumi_gcp/container/aws_cluster.py +2 -2
- pulumi_gcp/container/aws_node_pool.py +2 -2
- pulumi_gcp/container/azure_client.py +2 -2
- pulumi_gcp/container/azure_cluster.py +2 -2
- pulumi_gcp/container/azure_node_pool.py +2 -2
- pulumi_gcp/datafusion/_inputs.py +11 -163
- pulumi_gcp/datafusion/instance.py +0 -64
- pulumi_gcp/datafusion/outputs.py +7 -127
- pulumi_gcp/gkebackup/restore_plan_iam_binding.py +953 -328
- pulumi_gcp/gkebackup/restore_plan_iam_member.py +953 -328
- pulumi_gcp/gkebackup/restore_plan_iam_policy.py +953 -238
- pulumi_gcp/healthcare/_inputs.py +0 -43
- pulumi_gcp/healthcare/dataset.py +0 -110
- pulumi_gcp/healthcare/outputs.py +0 -43
- pulumi_gcp/identityplatform/config.py +1 -1
- pulumi_gcp/logging/billing_account_bucket_config.py +1 -1
- pulumi_gcp/logging/folder_bucket_config.py +1 -1
- pulumi_gcp/logging/organization_bucket_config.py +1 -1
- pulumi_gcp/monitoring/_inputs.py +0 -77
- pulumi_gcp/monitoring/outputs.py +0 -63
- pulumi_gcp/networksecurity/address_group_iam_binding.py +2 -289
- pulumi_gcp/networksecurity/address_group_iam_member.py +2 -289
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/securitycenter/instance_iam_binding.py +0 -64
- pulumi_gcp/securitycenter/instance_iam_member.py +0 -64
- pulumi_gcp/securitycenter/instance_iam_policy.py +0 -64
- pulumi_gcp/sourcerepo/repository_iam_binding.py +83 -92
- pulumi_gcp/sourcerepo/repository_iam_member.py +83 -92
- pulumi_gcp/sourcerepo/repository_iam_policy.py +76 -85
- pulumi_gcp/storage/__init__.py +0 -5
- pulumi_gcp/storage/_inputs.py +0 -130
- pulumi_gcp/storage/outputs.py +0 -76
- pulumi_gcp/vertex/_inputs.py +3 -3
- pulumi_gcp/vertex/ai_feature_online_store.py +9 -9
- pulumi_gcp/vertex/outputs.py +2 -2
- {pulumi_gcp-7.30.0.dist-info → pulumi_gcp-7.30.0a1719513455.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.30.0.dist-info → pulumi_gcp-7.30.0a1719513455.dist-info}/RECORD +62 -67
- {pulumi_gcp-7.30.0.dist-info → pulumi_gcp-7.30.0a1719513455.dist-info}/WHEEL +1 -1
- pulumi_gcp/storage/get_managed_folder_iam_policy.py +0 -115
- pulumi_gcp/storage/managed_folder.py +0 -440
- pulumi_gcp/storage/managed_folder_iam_binding.py +0 -947
- pulumi_gcp/storage/managed_folder_iam_member.py +0 -947
- pulumi_gcp/storage/managed_folder_iam_policy.py +0 -766
- {pulumi_gcp-7.30.0.dist-info → pulumi_gcp-7.30.0a1719513455.dist-info}/top_level.txt +0 -0
@@ -561,7 +561,7 @@ class AzureNodePool(pulumi.CustomResource):
|
|
561
561
|
An Anthos node pool running on Azure.
|
562
562
|
|
563
563
|
For more information, see:
|
564
|
-
* [Multicloud overview](https://cloud.google.com/
|
564
|
+
* [Multicloud overview](https://cloud.google.com/anthos/clusters/docs/multi-cloud)
|
565
565
|
## Example Usage
|
566
566
|
|
567
567
|
### Basic_azure_node_pool
|
@@ -700,7 +700,7 @@ class AzureNodePool(pulumi.CustomResource):
|
|
700
700
|
An Anthos node pool running on Azure.
|
701
701
|
|
702
702
|
For more information, see:
|
703
|
-
* [Multicloud overview](https://cloud.google.com/
|
703
|
+
* [Multicloud overview](https://cloud.google.com/anthos/clusters/docs/multi-cloud)
|
704
704
|
## Example Usage
|
705
705
|
|
706
706
|
### Basic_azure_node_pool
|
pulumi_gcp/datafusion/_inputs.py
CHANGED
@@ -23,8 +23,6 @@ __all__ = [
|
|
23
23
|
'InstanceEventPublishConfigArgsDict',
|
24
24
|
'InstanceNetworkConfigArgs',
|
25
25
|
'InstanceNetworkConfigArgsDict',
|
26
|
-
'InstanceNetworkConfigPrivateServiceConnectConfigArgs',
|
27
|
-
'InstanceNetworkConfigPrivateServiceConnectConfigArgsDict',
|
28
26
|
]
|
29
27
|
|
30
28
|
MYPY = False
|
@@ -168,81 +166,38 @@ class InstanceEventPublishConfigArgs:
|
|
168
166
|
|
169
167
|
if not MYPY:
|
170
168
|
class InstanceNetworkConfigArgsDict(TypedDict):
|
171
|
-
|
172
|
-
"""
|
173
|
-
Optional. Type of connection for establishing private IP connectivity between the Data Fusion customer project VPC and
|
174
|
-
the corresponding tenant project from a predefined list of available connection modes.
|
175
|
-
If this field is unspecified for a private instance, VPC peering is used.
|
176
|
-
Possible values are: `VPC_PEERING`, `PRIVATE_SERVICE_CONNECT_INTERFACES`.
|
177
|
-
"""
|
178
|
-
ip_allocation: NotRequired[pulumi.Input[str]]
|
169
|
+
ip_allocation: pulumi.Input[str]
|
179
170
|
"""
|
180
171
|
The IP range in CIDR notation to use for the managed Data Fusion instance
|
181
172
|
nodes. This range must not overlap with any other ranges used in the Data Fusion instance network.
|
182
173
|
"""
|
183
|
-
network:
|
174
|
+
network: pulumi.Input[str]
|
184
175
|
"""
|
185
176
|
Name of the network in the project with which the tenant project
|
186
177
|
will be peered for executing pipelines. In case of shared VPC where the network resides in another host
|
187
178
|
project the network should specified in the form of projects/{host-project-id}/global/networks/{network}
|
188
179
|
"""
|
189
|
-
private_service_connect_config: NotRequired[pulumi.Input['InstanceNetworkConfigPrivateServiceConnectConfigArgsDict']]
|
190
|
-
"""
|
191
|
-
Optional. Configuration for Private Service Connect.
|
192
|
-
This is required only when using connection type PRIVATE_SERVICE_CONNECT_INTERFACES.
|
193
|
-
Structure is documented below.
|
194
|
-
"""
|
195
180
|
elif False:
|
196
181
|
InstanceNetworkConfigArgsDict: TypeAlias = Mapping[str, Any]
|
197
182
|
|
198
183
|
@pulumi.input_type
|
199
184
|
class InstanceNetworkConfigArgs:
|
200
185
|
def __init__(__self__, *,
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
private_service_connect_config: Optional[pulumi.Input['InstanceNetworkConfigPrivateServiceConnectConfigArgs']] = None):
|
205
|
-
"""
|
206
|
-
:param pulumi.Input[str] connection_type: Optional. Type of connection for establishing private IP connectivity between the Data Fusion customer project VPC and
|
207
|
-
the corresponding tenant project from a predefined list of available connection modes.
|
208
|
-
If this field is unspecified for a private instance, VPC peering is used.
|
209
|
-
Possible values are: `VPC_PEERING`, `PRIVATE_SERVICE_CONNECT_INTERFACES`.
|
186
|
+
ip_allocation: pulumi.Input[str],
|
187
|
+
network: pulumi.Input[str]):
|
188
|
+
"""
|
210
189
|
:param pulumi.Input[str] ip_allocation: The IP range in CIDR notation to use for the managed Data Fusion instance
|
211
190
|
nodes. This range must not overlap with any other ranges used in the Data Fusion instance network.
|
212
191
|
:param pulumi.Input[str] network: Name of the network in the project with which the tenant project
|
213
192
|
will be peered for executing pipelines. In case of shared VPC where the network resides in another host
|
214
193
|
project the network should specified in the form of projects/{host-project-id}/global/networks/{network}
|
215
|
-
:param pulumi.Input['InstanceNetworkConfigPrivateServiceConnectConfigArgs'] private_service_connect_config: Optional. Configuration for Private Service Connect.
|
216
|
-
This is required only when using connection type PRIVATE_SERVICE_CONNECT_INTERFACES.
|
217
|
-
Structure is documented below.
|
218
|
-
"""
|
219
|
-
if connection_type is not None:
|
220
|
-
pulumi.set(__self__, "connection_type", connection_type)
|
221
|
-
if ip_allocation is not None:
|
222
|
-
pulumi.set(__self__, "ip_allocation", ip_allocation)
|
223
|
-
if network is not None:
|
224
|
-
pulumi.set(__self__, "network", network)
|
225
|
-
if private_service_connect_config is not None:
|
226
|
-
pulumi.set(__self__, "private_service_connect_config", private_service_connect_config)
|
227
|
-
|
228
|
-
@property
|
229
|
-
@pulumi.getter(name="connectionType")
|
230
|
-
def connection_type(self) -> Optional[pulumi.Input[str]]:
|
231
|
-
"""
|
232
|
-
Optional. Type of connection for establishing private IP connectivity between the Data Fusion customer project VPC and
|
233
|
-
the corresponding tenant project from a predefined list of available connection modes.
|
234
|
-
If this field is unspecified for a private instance, VPC peering is used.
|
235
|
-
Possible values are: `VPC_PEERING`, `PRIVATE_SERVICE_CONNECT_INTERFACES`.
|
236
194
|
"""
|
237
|
-
|
238
|
-
|
239
|
-
@connection_type.setter
|
240
|
-
def connection_type(self, value: Optional[pulumi.Input[str]]):
|
241
|
-
pulumi.set(self, "connection_type", value)
|
195
|
+
pulumi.set(__self__, "ip_allocation", ip_allocation)
|
196
|
+
pulumi.set(__self__, "network", network)
|
242
197
|
|
243
198
|
@property
|
244
199
|
@pulumi.getter(name="ipAllocation")
|
245
|
-
def ip_allocation(self) ->
|
200
|
+
def ip_allocation(self) -> pulumi.Input[str]:
|
246
201
|
"""
|
247
202
|
The IP range in CIDR notation to use for the managed Data Fusion instance
|
248
203
|
nodes. This range must not overlap with any other ranges used in the Data Fusion instance network.
|
@@ -250,12 +205,12 @@ class InstanceNetworkConfigArgs:
|
|
250
205
|
return pulumi.get(self, "ip_allocation")
|
251
206
|
|
252
207
|
@ip_allocation.setter
|
253
|
-
def ip_allocation(self, value:
|
208
|
+
def ip_allocation(self, value: pulumi.Input[str]):
|
254
209
|
pulumi.set(self, "ip_allocation", value)
|
255
210
|
|
256
211
|
@property
|
257
212
|
@pulumi.getter
|
258
|
-
def network(self) ->
|
213
|
+
def network(self) -> pulumi.Input[str]:
|
259
214
|
"""
|
260
215
|
Name of the network in the project with which the tenant project
|
261
216
|
will be peered for executing pipelines. In case of shared VPC where the network resides in another host
|
@@ -264,114 +219,7 @@ class InstanceNetworkConfigArgs:
|
|
264
219
|
return pulumi.get(self, "network")
|
265
220
|
|
266
221
|
@network.setter
|
267
|
-
def network(self, value:
|
222
|
+
def network(self, value: pulumi.Input[str]):
|
268
223
|
pulumi.set(self, "network", value)
|
269
224
|
|
270
|
-
@property
|
271
|
-
@pulumi.getter(name="privateServiceConnectConfig")
|
272
|
-
def private_service_connect_config(self) -> Optional[pulumi.Input['InstanceNetworkConfigPrivateServiceConnectConfigArgs']]:
|
273
|
-
"""
|
274
|
-
Optional. Configuration for Private Service Connect.
|
275
|
-
This is required only when using connection type PRIVATE_SERVICE_CONNECT_INTERFACES.
|
276
|
-
Structure is documented below.
|
277
|
-
"""
|
278
|
-
return pulumi.get(self, "private_service_connect_config")
|
279
|
-
|
280
|
-
@private_service_connect_config.setter
|
281
|
-
def private_service_connect_config(self, value: Optional[pulumi.Input['InstanceNetworkConfigPrivateServiceConnectConfigArgs']]):
|
282
|
-
pulumi.set(self, "private_service_connect_config", value)
|
283
|
-
|
284
|
-
|
285
|
-
if not MYPY:
|
286
|
-
class InstanceNetworkConfigPrivateServiceConnectConfigArgsDict(TypedDict):
|
287
|
-
effective_unreachable_cidr_block: NotRequired[pulumi.Input[str]]
|
288
|
-
"""
|
289
|
-
(Output)
|
290
|
-
Output only. The CIDR block to which the CDF instance can't route traffic to in the consumer project VPC.
|
291
|
-
The size of this block is /25. The format of this field is governed by RFC 4632.
|
292
|
-
"""
|
293
|
-
network_attachment: NotRequired[pulumi.Input[str]]
|
294
|
-
"""
|
295
|
-
Optional. The reference to the network attachment used to establish private connectivity.
|
296
|
-
It will be of the form projects/{project-id}/regions/{region}/networkAttachments/{network-attachment-id}.
|
297
|
-
This is required only when using connection type PRIVATE_SERVICE_CONNECT_INTERFACES.
|
298
|
-
"""
|
299
|
-
unreachable_cidr_block: NotRequired[pulumi.Input[str]]
|
300
|
-
"""
|
301
|
-
Optional. Input only. The CIDR block to which the CDF instance can't route traffic to in the consumer project VPC.
|
302
|
-
The size of this block should be at least /25. This range should not overlap with the primary address range of any subnetwork used by the network attachment.
|
303
|
-
This range can be used for other purposes in the consumer VPC as long as there is no requirement for CDF to reach destinations using these addresses.
|
304
|
-
If this value is not provided, the server chooses a non RFC 1918 address range. The format of this field is governed by RFC 4632.
|
305
|
-
"""
|
306
|
-
elif False:
|
307
|
-
InstanceNetworkConfigPrivateServiceConnectConfigArgsDict: TypeAlias = Mapping[str, Any]
|
308
|
-
|
309
|
-
@pulumi.input_type
|
310
|
-
class InstanceNetworkConfigPrivateServiceConnectConfigArgs:
|
311
|
-
def __init__(__self__, *,
|
312
|
-
effective_unreachable_cidr_block: Optional[pulumi.Input[str]] = None,
|
313
|
-
network_attachment: Optional[pulumi.Input[str]] = None,
|
314
|
-
unreachable_cidr_block: Optional[pulumi.Input[str]] = None):
|
315
|
-
"""
|
316
|
-
:param pulumi.Input[str] effective_unreachable_cidr_block: (Output)
|
317
|
-
Output only. The CIDR block to which the CDF instance can't route traffic to in the consumer project VPC.
|
318
|
-
The size of this block is /25. The format of this field is governed by RFC 4632.
|
319
|
-
:param pulumi.Input[str] network_attachment: Optional. The reference to the network attachment used to establish private connectivity.
|
320
|
-
It will be of the form projects/{project-id}/regions/{region}/networkAttachments/{network-attachment-id}.
|
321
|
-
This is required only when using connection type PRIVATE_SERVICE_CONNECT_INTERFACES.
|
322
|
-
:param pulumi.Input[str] unreachable_cidr_block: Optional. Input only. The CIDR block to which the CDF instance can't route traffic to in the consumer project VPC.
|
323
|
-
The size of this block should be at least /25. This range should not overlap with the primary address range of any subnetwork used by the network attachment.
|
324
|
-
This range can be used for other purposes in the consumer VPC as long as there is no requirement for CDF to reach destinations using these addresses.
|
325
|
-
If this value is not provided, the server chooses a non RFC 1918 address range. The format of this field is governed by RFC 4632.
|
326
|
-
"""
|
327
|
-
if effective_unreachable_cidr_block is not None:
|
328
|
-
pulumi.set(__self__, "effective_unreachable_cidr_block", effective_unreachable_cidr_block)
|
329
|
-
if network_attachment is not None:
|
330
|
-
pulumi.set(__self__, "network_attachment", network_attachment)
|
331
|
-
if unreachable_cidr_block is not None:
|
332
|
-
pulumi.set(__self__, "unreachable_cidr_block", unreachable_cidr_block)
|
333
|
-
|
334
|
-
@property
|
335
|
-
@pulumi.getter(name="effectiveUnreachableCidrBlock")
|
336
|
-
def effective_unreachable_cidr_block(self) -> Optional[pulumi.Input[str]]:
|
337
|
-
"""
|
338
|
-
(Output)
|
339
|
-
Output only. The CIDR block to which the CDF instance can't route traffic to in the consumer project VPC.
|
340
|
-
The size of this block is /25. The format of this field is governed by RFC 4632.
|
341
|
-
"""
|
342
|
-
return pulumi.get(self, "effective_unreachable_cidr_block")
|
343
|
-
|
344
|
-
@effective_unreachable_cidr_block.setter
|
345
|
-
def effective_unreachable_cidr_block(self, value: Optional[pulumi.Input[str]]):
|
346
|
-
pulumi.set(self, "effective_unreachable_cidr_block", value)
|
347
|
-
|
348
|
-
@property
|
349
|
-
@pulumi.getter(name="networkAttachment")
|
350
|
-
def network_attachment(self) -> Optional[pulumi.Input[str]]:
|
351
|
-
"""
|
352
|
-
Optional. The reference to the network attachment used to establish private connectivity.
|
353
|
-
It will be of the form projects/{project-id}/regions/{region}/networkAttachments/{network-attachment-id}.
|
354
|
-
This is required only when using connection type PRIVATE_SERVICE_CONNECT_INTERFACES.
|
355
|
-
"""
|
356
|
-
return pulumi.get(self, "network_attachment")
|
357
|
-
|
358
|
-
@network_attachment.setter
|
359
|
-
def network_attachment(self, value: Optional[pulumi.Input[str]]):
|
360
|
-
pulumi.set(self, "network_attachment", value)
|
361
|
-
|
362
|
-
@property
|
363
|
-
@pulumi.getter(name="unreachableCidrBlock")
|
364
|
-
def unreachable_cidr_block(self) -> Optional[pulumi.Input[str]]:
|
365
|
-
"""
|
366
|
-
Optional. Input only. The CIDR block to which the CDF instance can't route traffic to in the consumer project VPC.
|
367
|
-
The size of this block should be at least /25. This range should not overlap with the primary address range of any subnetwork used by the network attachment.
|
368
|
-
This range can be used for other purposes in the consumer VPC as long as there is no requirement for CDF to reach destinations using these addresses.
|
369
|
-
If this value is not provided, the server chooses a non RFC 1918 address range. The format of this field is governed by RFC 4632.
|
370
|
-
"""
|
371
|
-
return pulumi.get(self, "unreachable_cidr_block")
|
372
|
-
|
373
|
-
@unreachable_cidr_block.setter
|
374
|
-
def unreachable_cidr_block(self, value: Optional[pulumi.Input[str]]):
|
375
|
-
pulumi.set(self, "unreachable_cidr_block", value)
|
376
|
-
|
377
225
|
|
@@ -1038,38 +1038,6 @@ class Instance(pulumi.CustomResource):
|
|
1038
1038
|
"state": "ENABLED",
|
1039
1039
|
}])
|
1040
1040
|
```
|
1041
|
-
### Data Fusion Instance Psc
|
1042
|
-
|
1043
|
-
```python
|
1044
|
-
import pulumi
|
1045
|
-
import pulumi_gcp as gcp
|
1046
|
-
|
1047
|
-
psc = gcp.compute.Network("psc",
|
1048
|
-
name="datafusion-psc-network",
|
1049
|
-
auto_create_subnetworks=False)
|
1050
|
-
psc_subnetwork = gcp.compute.Subnetwork("psc",
|
1051
|
-
name="datafusion-psc-subnet",
|
1052
|
-
region="us-central1",
|
1053
|
-
network=psc.id,
|
1054
|
-
ip_cidr_range="10.0.0.0/16")
|
1055
|
-
psc_network_attachment = gcp.compute.NetworkAttachment("psc",
|
1056
|
-
name="datafusion-psc-attachment",
|
1057
|
-
region="us-central1",
|
1058
|
-
connection_preference="ACCEPT_AUTOMATIC",
|
1059
|
-
subnetworks=[psc_subnetwork.self_link])
|
1060
|
-
psc_instance = gcp.datafusion.Instance("psc_instance",
|
1061
|
-
name="psc-instance",
|
1062
|
-
region="us-central1",
|
1063
|
-
type="BASIC",
|
1064
|
-
private_instance=True,
|
1065
|
-
network_config={
|
1066
|
-
"connectionType": "PRIVATE_SERVICE_CONNECT_INTERFACES",
|
1067
|
-
"privateServiceConnectConfig": {
|
1068
|
-
"networkAttachment": psc_network_attachment.id,
|
1069
|
-
"unreachableCidrBlock": "192.168.0.0/25",
|
1070
|
-
},
|
1071
|
-
})
|
1072
|
-
```
|
1073
1041
|
### Data Fusion Instance Cmek
|
1074
1042
|
|
1075
1043
|
```python
|
@@ -1279,38 +1247,6 @@ class Instance(pulumi.CustomResource):
|
|
1279
1247
|
"state": "ENABLED",
|
1280
1248
|
}])
|
1281
1249
|
```
|
1282
|
-
### Data Fusion Instance Psc
|
1283
|
-
|
1284
|
-
```python
|
1285
|
-
import pulumi
|
1286
|
-
import pulumi_gcp as gcp
|
1287
|
-
|
1288
|
-
psc = gcp.compute.Network("psc",
|
1289
|
-
name="datafusion-psc-network",
|
1290
|
-
auto_create_subnetworks=False)
|
1291
|
-
psc_subnetwork = gcp.compute.Subnetwork("psc",
|
1292
|
-
name="datafusion-psc-subnet",
|
1293
|
-
region="us-central1",
|
1294
|
-
network=psc.id,
|
1295
|
-
ip_cidr_range="10.0.0.0/16")
|
1296
|
-
psc_network_attachment = gcp.compute.NetworkAttachment("psc",
|
1297
|
-
name="datafusion-psc-attachment",
|
1298
|
-
region="us-central1",
|
1299
|
-
connection_preference="ACCEPT_AUTOMATIC",
|
1300
|
-
subnetworks=[psc_subnetwork.self_link])
|
1301
|
-
psc_instance = gcp.datafusion.Instance("psc_instance",
|
1302
|
-
name="psc-instance",
|
1303
|
-
region="us-central1",
|
1304
|
-
type="BASIC",
|
1305
|
-
private_instance=True,
|
1306
|
-
network_config={
|
1307
|
-
"connectionType": "PRIVATE_SERVICE_CONNECT_INTERFACES",
|
1308
|
-
"privateServiceConnectConfig": {
|
1309
|
-
"networkAttachment": psc_network_attachment.id,
|
1310
|
-
"unreachableCidrBlock": "192.168.0.0/25",
|
1311
|
-
},
|
1312
|
-
})
|
1313
|
-
```
|
1314
1250
|
### Data Fusion Instance Cmek
|
1315
1251
|
|
1316
1252
|
```python
|
pulumi_gcp/datafusion/outputs.py
CHANGED
@@ -13,14 +13,12 @@ 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
16
|
|
18
17
|
__all__ = [
|
19
18
|
'InstanceAccelerator',
|
20
19
|
'InstanceCryptoKeyConfig',
|
21
20
|
'InstanceEventPublishConfig',
|
22
21
|
'InstanceNetworkConfig',
|
23
|
-
'InstanceNetworkConfigPrivateServiceConnectConfig',
|
24
22
|
]
|
25
23
|
|
26
24
|
@pulumi.output_type
|
@@ -142,12 +140,8 @@ class InstanceNetworkConfig(dict):
|
|
142
140
|
@staticmethod
|
143
141
|
def __key_warning(key: str):
|
144
142
|
suggest = None
|
145
|
-
if key == "
|
146
|
-
suggest = "connection_type"
|
147
|
-
elif key == "ipAllocation":
|
143
|
+
if key == "ipAllocation":
|
148
144
|
suggest = "ip_allocation"
|
149
|
-
elif key == "privateServiceConnectConfig":
|
150
|
-
suggest = "private_service_connect_config"
|
151
145
|
|
152
146
|
if suggest:
|
153
147
|
pulumi.log.warn(f"Key '{key}' not found in InstanceNetworkConfig. Access the value via the '{suggest}' property getter instead.")
|
@@ -161,47 +155,21 @@ class InstanceNetworkConfig(dict):
|
|
161
155
|
return super().get(key, default)
|
162
156
|
|
163
157
|
def __init__(__self__, *,
|
164
|
-
|
165
|
-
|
166
|
-
network: Optional[str] = None,
|
167
|
-
private_service_connect_config: Optional['outputs.InstanceNetworkConfigPrivateServiceConnectConfig'] = None):
|
158
|
+
ip_allocation: str,
|
159
|
+
network: str):
|
168
160
|
"""
|
169
|
-
:param str connection_type: Optional. Type of connection for establishing private IP connectivity between the Data Fusion customer project VPC and
|
170
|
-
the corresponding tenant project from a predefined list of available connection modes.
|
171
|
-
If this field is unspecified for a private instance, VPC peering is used.
|
172
|
-
Possible values are: `VPC_PEERING`, `PRIVATE_SERVICE_CONNECT_INTERFACES`.
|
173
161
|
:param str ip_allocation: The IP range in CIDR notation to use for the managed Data Fusion instance
|
174
162
|
nodes. This range must not overlap with any other ranges used in the Data Fusion instance network.
|
175
163
|
:param str network: Name of the network in the project with which the tenant project
|
176
164
|
will be peered for executing pipelines. In case of shared VPC where the network resides in another host
|
177
165
|
project the network should specified in the form of projects/{host-project-id}/global/networks/{network}
|
178
|
-
:param 'InstanceNetworkConfigPrivateServiceConnectConfigArgs' private_service_connect_config: Optional. Configuration for Private Service Connect.
|
179
|
-
This is required only when using connection type PRIVATE_SERVICE_CONNECT_INTERFACES.
|
180
|
-
Structure is documented below.
|
181
166
|
"""
|
182
|
-
|
183
|
-
|
184
|
-
if ip_allocation is not None:
|
185
|
-
pulumi.set(__self__, "ip_allocation", ip_allocation)
|
186
|
-
if network is not None:
|
187
|
-
pulumi.set(__self__, "network", network)
|
188
|
-
if private_service_connect_config is not None:
|
189
|
-
pulumi.set(__self__, "private_service_connect_config", private_service_connect_config)
|
190
|
-
|
191
|
-
@property
|
192
|
-
@pulumi.getter(name="connectionType")
|
193
|
-
def connection_type(self) -> Optional[str]:
|
194
|
-
"""
|
195
|
-
Optional. Type of connection for establishing private IP connectivity between the Data Fusion customer project VPC and
|
196
|
-
the corresponding tenant project from a predefined list of available connection modes.
|
197
|
-
If this field is unspecified for a private instance, VPC peering is used.
|
198
|
-
Possible values are: `VPC_PEERING`, `PRIVATE_SERVICE_CONNECT_INTERFACES`.
|
199
|
-
"""
|
200
|
-
return pulumi.get(self, "connection_type")
|
167
|
+
pulumi.set(__self__, "ip_allocation", ip_allocation)
|
168
|
+
pulumi.set(__self__, "network", network)
|
201
169
|
|
202
170
|
@property
|
203
171
|
@pulumi.getter(name="ipAllocation")
|
204
|
-
def ip_allocation(self) ->
|
172
|
+
def ip_allocation(self) -> str:
|
205
173
|
"""
|
206
174
|
The IP range in CIDR notation to use for the managed Data Fusion instance
|
207
175
|
nodes. This range must not overlap with any other ranges used in the Data Fusion instance network.
|
@@ -210,7 +178,7 @@ class InstanceNetworkConfig(dict):
|
|
210
178
|
|
211
179
|
@property
|
212
180
|
@pulumi.getter
|
213
|
-
def network(self) ->
|
181
|
+
def network(self) -> str:
|
214
182
|
"""
|
215
183
|
Name of the network in the project with which the tenant project
|
216
184
|
will be peered for executing pipelines. In case of shared VPC where the network resides in another host
|
@@ -218,92 +186,4 @@ class InstanceNetworkConfig(dict):
|
|
218
186
|
"""
|
219
187
|
return pulumi.get(self, "network")
|
220
188
|
|
221
|
-
@property
|
222
|
-
@pulumi.getter(name="privateServiceConnectConfig")
|
223
|
-
def private_service_connect_config(self) -> Optional['outputs.InstanceNetworkConfigPrivateServiceConnectConfig']:
|
224
|
-
"""
|
225
|
-
Optional. Configuration for Private Service Connect.
|
226
|
-
This is required only when using connection type PRIVATE_SERVICE_CONNECT_INTERFACES.
|
227
|
-
Structure is documented below.
|
228
|
-
"""
|
229
|
-
return pulumi.get(self, "private_service_connect_config")
|
230
|
-
|
231
|
-
|
232
|
-
@pulumi.output_type
|
233
|
-
class InstanceNetworkConfigPrivateServiceConnectConfig(dict):
|
234
|
-
@staticmethod
|
235
|
-
def __key_warning(key: str):
|
236
|
-
suggest = None
|
237
|
-
if key == "effectiveUnreachableCidrBlock":
|
238
|
-
suggest = "effective_unreachable_cidr_block"
|
239
|
-
elif key == "networkAttachment":
|
240
|
-
suggest = "network_attachment"
|
241
|
-
elif key == "unreachableCidrBlock":
|
242
|
-
suggest = "unreachable_cidr_block"
|
243
|
-
|
244
|
-
if suggest:
|
245
|
-
pulumi.log.warn(f"Key '{key}' not found in InstanceNetworkConfigPrivateServiceConnectConfig. Access the value via the '{suggest}' property getter instead.")
|
246
|
-
|
247
|
-
def __getitem__(self, key: str) -> Any:
|
248
|
-
InstanceNetworkConfigPrivateServiceConnectConfig.__key_warning(key)
|
249
|
-
return super().__getitem__(key)
|
250
|
-
|
251
|
-
def get(self, key: str, default = None) -> Any:
|
252
|
-
InstanceNetworkConfigPrivateServiceConnectConfig.__key_warning(key)
|
253
|
-
return super().get(key, default)
|
254
|
-
|
255
|
-
def __init__(__self__, *,
|
256
|
-
effective_unreachable_cidr_block: Optional[str] = None,
|
257
|
-
network_attachment: Optional[str] = None,
|
258
|
-
unreachable_cidr_block: Optional[str] = None):
|
259
|
-
"""
|
260
|
-
:param str effective_unreachable_cidr_block: (Output)
|
261
|
-
Output only. The CIDR block to which the CDF instance can't route traffic to in the consumer project VPC.
|
262
|
-
The size of this block is /25. The format of this field is governed by RFC 4632.
|
263
|
-
:param str network_attachment: Optional. The reference to the network attachment used to establish private connectivity.
|
264
|
-
It will be of the form projects/{project-id}/regions/{region}/networkAttachments/{network-attachment-id}.
|
265
|
-
This is required only when using connection type PRIVATE_SERVICE_CONNECT_INTERFACES.
|
266
|
-
:param str unreachable_cidr_block: Optional. Input only. The CIDR block to which the CDF instance can't route traffic to in the consumer project VPC.
|
267
|
-
The size of this block should be at least /25. This range should not overlap with the primary address range of any subnetwork used by the network attachment.
|
268
|
-
This range can be used for other purposes in the consumer VPC as long as there is no requirement for CDF to reach destinations using these addresses.
|
269
|
-
If this value is not provided, the server chooses a non RFC 1918 address range. The format of this field is governed by RFC 4632.
|
270
|
-
"""
|
271
|
-
if effective_unreachable_cidr_block is not None:
|
272
|
-
pulumi.set(__self__, "effective_unreachable_cidr_block", effective_unreachable_cidr_block)
|
273
|
-
if network_attachment is not None:
|
274
|
-
pulumi.set(__self__, "network_attachment", network_attachment)
|
275
|
-
if unreachable_cidr_block is not None:
|
276
|
-
pulumi.set(__self__, "unreachable_cidr_block", unreachable_cidr_block)
|
277
|
-
|
278
|
-
@property
|
279
|
-
@pulumi.getter(name="effectiveUnreachableCidrBlock")
|
280
|
-
def effective_unreachable_cidr_block(self) -> Optional[str]:
|
281
|
-
"""
|
282
|
-
(Output)
|
283
|
-
Output only. The CIDR block to which the CDF instance can't route traffic to in the consumer project VPC.
|
284
|
-
The size of this block is /25. The format of this field is governed by RFC 4632.
|
285
|
-
"""
|
286
|
-
return pulumi.get(self, "effective_unreachable_cidr_block")
|
287
|
-
|
288
|
-
@property
|
289
|
-
@pulumi.getter(name="networkAttachment")
|
290
|
-
def network_attachment(self) -> Optional[str]:
|
291
|
-
"""
|
292
|
-
Optional. The reference to the network attachment used to establish private connectivity.
|
293
|
-
It will be of the form projects/{project-id}/regions/{region}/networkAttachments/{network-attachment-id}.
|
294
|
-
This is required only when using connection type PRIVATE_SERVICE_CONNECT_INTERFACES.
|
295
|
-
"""
|
296
|
-
return pulumi.get(self, "network_attachment")
|
297
|
-
|
298
|
-
@property
|
299
|
-
@pulumi.getter(name="unreachableCidrBlock")
|
300
|
-
def unreachable_cidr_block(self) -> Optional[str]:
|
301
|
-
"""
|
302
|
-
Optional. Input only. The CIDR block to which the CDF instance can't route traffic to in the consumer project VPC.
|
303
|
-
The size of this block should be at least /25. This range should not overlap with the primary address range of any subnetwork used by the network attachment.
|
304
|
-
This range can be used for other purposes in the consumer VPC as long as there is no requirement for CDF to reach destinations using these addresses.
|
305
|
-
If this value is not provided, the server chooses a non RFC 1918 address range. The format of this field is governed by RFC 4632.
|
306
|
-
"""
|
307
|
-
return pulumi.get(self, "unreachable_cidr_block")
|
308
|
-
|
309
189
|
|