pulumi-gcp 7.7.1__py3-none-any.whl → 7.8.0__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 +43 -0
- pulumi_gcp/alloydb/instance.py +1 -1
- pulumi_gcp/blockchainnodeengine/__init__.py +10 -0
- pulumi_gcp/blockchainnodeengine/_inputs.py +388 -0
- pulumi_gcp/blockchainnodeengine/blockchain_nodes.py +791 -0
- pulumi_gcp/blockchainnodeengine/outputs.py +441 -0
- pulumi_gcp/compute/__init__.py +2 -0
- pulumi_gcp/compute/disk.py +28 -0
- pulumi_gcp/compute/get_disk.py +11 -1
- pulumi_gcp/compute/get_instance_group_manager.py +11 -1
- pulumi_gcp/compute/get_machine_types.py +143 -0
- pulumi_gcp/compute/instance_group_manager.py +28 -0
- pulumi_gcp/compute/interconnect_attachment.py +75 -0
- pulumi_gcp/compute/outputs.py +219 -0
- pulumi_gcp/compute/region_instance_group_manager.py +28 -0
- pulumi_gcp/compute/region_network_endpoint.py +556 -0
- pulumi_gcp/compute/region_network_endpoint_group.py +128 -71
- pulumi_gcp/config/__init__.pyi +2 -2
- pulumi_gcp/config/vars.py +4 -4
- pulumi_gcp/discoveryengine/__init__.py +4 -0
- pulumi_gcp/discoveryengine/_inputs.py +237 -0
- pulumi_gcp/discoveryengine/chat_engine.py +822 -0
- pulumi_gcp/discoveryengine/outputs.py +304 -0
- pulumi_gcp/discoveryengine/search_engine.py +752 -0
- pulumi_gcp/filestore/_inputs.py +1 -3
- pulumi_gcp/filestore/outputs.py +1 -3
- pulumi_gcp/memcache/instance.py +61 -0
- pulumi_gcp/netapp/__init__.py +1 -0
- pulumi_gcp/netapp/storage_pool.py +34 -6
- pulumi_gcp/netapp/volume.py +65 -2
- pulumi_gcp/netapp/volume_snapshot.py +625 -0
- pulumi_gcp/provider.py +20 -0
- pulumi_gcp/vmwareengine/private_cloud.py +0 -7
- {pulumi_gcp-7.7.1.dist-info → pulumi_gcp-7.8.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.7.1.dist-info → pulumi_gcp-7.8.0.dist-info}/RECORD +37 -26
- {pulumi_gcp-7.7.1.dist-info → pulumi_gcp-7.8.0.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.7.1.dist-info → pulumi_gcp-7.8.0.dist-info}/top_level.txt +0 -0
@@ -30,17 +30,17 @@ class RegionNetworkEndpointGroupArgs:
|
|
30
30
|
subnetwork: Optional[pulumi.Input[str]] = None):
|
31
31
|
"""
|
32
32
|
The set of arguments for constructing a RegionNetworkEndpointGroup resource.
|
33
|
-
:param pulumi.Input[str] region: A reference to the region where the
|
33
|
+
:param pulumi.Input[str] region: A reference to the region where the regional NEGs reside.
|
34
34
|
|
35
35
|
|
36
36
|
- - -
|
37
|
-
:param pulumi.Input['RegionNetworkEndpointGroupAppEngineArgs'] app_engine:
|
37
|
+
:param pulumi.Input['RegionNetworkEndpointGroupAppEngineArgs'] app_engine: This field is only used for SERVERLESS NEGs.
|
38
38
|
Only one of cloud_run, app_engine, cloud_function or serverless_deployment may be set.
|
39
39
|
Structure is documented below.
|
40
|
-
:param pulumi.Input['RegionNetworkEndpointGroupCloudFunctionArgs'] cloud_function:
|
40
|
+
:param pulumi.Input['RegionNetworkEndpointGroupCloudFunctionArgs'] cloud_function: This field is only used for SERVERLESS NEGs.
|
41
41
|
Only one of cloud_run, app_engine, cloud_function or serverless_deployment may be set.
|
42
42
|
Structure is documented below.
|
43
|
-
:param pulumi.Input['RegionNetworkEndpointGroupCloudRunArgs'] cloud_run:
|
43
|
+
:param pulumi.Input['RegionNetworkEndpointGroupCloudRunArgs'] cloud_run: This field is only used for SERVERLESS NEGs.
|
44
44
|
Only one of cloud_run, app_engine, cloud_function or serverless_deployment may be set.
|
45
45
|
Structure is documented below.
|
46
46
|
:param pulumi.Input[str] description: An optional description of this resource. Provide this property when
|
@@ -52,20 +52,21 @@ class RegionNetworkEndpointGroupArgs:
|
|
52
52
|
first character must be a lowercase letter, and all following
|
53
53
|
characters must be a dash, lowercase letter, or digit, except the last
|
54
54
|
character, which cannot be a dash.
|
55
|
-
:param pulumi.Input[str] network: This field is only used for PSC.
|
55
|
+
:param pulumi.Input[str] network: This field is only used for PSC and INTERNET NEGs.
|
56
56
|
The URL of the network to which all network endpoints in the NEG belong. Uses
|
57
57
|
"default" project network if unspecified.
|
58
|
-
:param pulumi.Input[str] network_endpoint_type: Type of network endpoints in this network endpoint group. Defaults to SERVERLESS
|
58
|
+
:param pulumi.Input[str] network_endpoint_type: Type of network endpoints in this network endpoint group. Defaults to SERVERLESS.
|
59
59
|
Default value is `SERVERLESS`.
|
60
|
-
Possible values are: `SERVERLESS`, `PRIVATE_SERVICE_CONNECT`.
|
60
|
+
Possible values are: `SERVERLESS`, `PRIVATE_SERVICE_CONNECT`, `INTERNET_IP_PORT`, `INTERNET_FQDN_PORT`.
|
61
61
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
62
62
|
If it is not provided, the provider project is used.
|
63
|
-
:param pulumi.Input[str] psc_target_service:
|
63
|
+
:param pulumi.Input[str] psc_target_service: This field is only used for PSC and INTERNET NEGs.
|
64
|
+
The target service url used to set up private service connection to
|
64
65
|
a Google API or a PSC Producer Service Attachment.
|
65
|
-
:param pulumi.Input['RegionNetworkEndpointGroupServerlessDeploymentArgs'] serverless_deployment:
|
66
|
+
:param pulumi.Input['RegionNetworkEndpointGroupServerlessDeploymentArgs'] serverless_deployment: This field is only used for SERVERLESS NEGs.
|
66
67
|
Only one of cloudRun, appEngine, cloudFunction or serverlessDeployment may be set.
|
67
68
|
Structure is documented below.
|
68
|
-
:param pulumi.Input[str] subnetwork: This field is only used for PSC.
|
69
|
+
:param pulumi.Input[str] subnetwork: This field is only used for PSC NEGs.
|
69
70
|
Optional URL of the subnetwork to which all network endpoints in the NEG belong.
|
70
71
|
"""
|
71
72
|
pulumi.set(__self__, "region", region)
|
@@ -96,7 +97,7 @@ class RegionNetworkEndpointGroupArgs:
|
|
96
97
|
@pulumi.getter
|
97
98
|
def region(self) -> pulumi.Input[str]:
|
98
99
|
"""
|
99
|
-
A reference to the region where the
|
100
|
+
A reference to the region where the regional NEGs reside.
|
100
101
|
|
101
102
|
|
102
103
|
- - -
|
@@ -111,7 +112,7 @@ class RegionNetworkEndpointGroupArgs:
|
|
111
112
|
@pulumi.getter(name="appEngine")
|
112
113
|
def app_engine(self) -> Optional[pulumi.Input['RegionNetworkEndpointGroupAppEngineArgs']]:
|
113
114
|
"""
|
114
|
-
|
115
|
+
This field is only used for SERVERLESS NEGs.
|
115
116
|
Only one of cloud_run, app_engine, cloud_function or serverless_deployment may be set.
|
116
117
|
Structure is documented below.
|
117
118
|
"""
|
@@ -125,7 +126,7 @@ class RegionNetworkEndpointGroupArgs:
|
|
125
126
|
@pulumi.getter(name="cloudFunction")
|
126
127
|
def cloud_function(self) -> Optional[pulumi.Input['RegionNetworkEndpointGroupCloudFunctionArgs']]:
|
127
128
|
"""
|
128
|
-
|
129
|
+
This field is only used for SERVERLESS NEGs.
|
129
130
|
Only one of cloud_run, app_engine, cloud_function or serverless_deployment may be set.
|
130
131
|
Structure is documented below.
|
131
132
|
"""
|
@@ -139,7 +140,7 @@ class RegionNetworkEndpointGroupArgs:
|
|
139
140
|
@pulumi.getter(name="cloudRun")
|
140
141
|
def cloud_run(self) -> Optional[pulumi.Input['RegionNetworkEndpointGroupCloudRunArgs']]:
|
141
142
|
"""
|
142
|
-
|
143
|
+
This field is only used for SERVERLESS NEGs.
|
143
144
|
Only one of cloud_run, app_engine, cloud_function or serverless_deployment may be set.
|
144
145
|
Structure is documented below.
|
145
146
|
"""
|
@@ -184,7 +185,7 @@ class RegionNetworkEndpointGroupArgs:
|
|
184
185
|
@pulumi.getter
|
185
186
|
def network(self) -> Optional[pulumi.Input[str]]:
|
186
187
|
"""
|
187
|
-
This field is only used for PSC.
|
188
|
+
This field is only used for PSC and INTERNET NEGs.
|
188
189
|
The URL of the network to which all network endpoints in the NEG belong. Uses
|
189
190
|
"default" project network if unspecified.
|
190
191
|
"""
|
@@ -198,9 +199,9 @@ class RegionNetworkEndpointGroupArgs:
|
|
198
199
|
@pulumi.getter(name="networkEndpointType")
|
199
200
|
def network_endpoint_type(self) -> Optional[pulumi.Input[str]]:
|
200
201
|
"""
|
201
|
-
Type of network endpoints in this network endpoint group. Defaults to SERVERLESS
|
202
|
+
Type of network endpoints in this network endpoint group. Defaults to SERVERLESS.
|
202
203
|
Default value is `SERVERLESS`.
|
203
|
-
Possible values are: `SERVERLESS`, `PRIVATE_SERVICE_CONNECT`.
|
204
|
+
Possible values are: `SERVERLESS`, `PRIVATE_SERVICE_CONNECT`, `INTERNET_IP_PORT`, `INTERNET_FQDN_PORT`.
|
204
205
|
"""
|
205
206
|
return pulumi.get(self, "network_endpoint_type")
|
206
207
|
|
@@ -225,6 +226,7 @@ class RegionNetworkEndpointGroupArgs:
|
|
225
226
|
@pulumi.getter(name="pscTargetService")
|
226
227
|
def psc_target_service(self) -> Optional[pulumi.Input[str]]:
|
227
228
|
"""
|
229
|
+
This field is only used for PSC and INTERNET NEGs.
|
228
230
|
The target service url used to set up private service connection to
|
229
231
|
a Google API or a PSC Producer Service Attachment.
|
230
232
|
"""
|
@@ -238,7 +240,7 @@ class RegionNetworkEndpointGroupArgs:
|
|
238
240
|
@pulumi.getter(name="serverlessDeployment")
|
239
241
|
def serverless_deployment(self) -> Optional[pulumi.Input['RegionNetworkEndpointGroupServerlessDeploymentArgs']]:
|
240
242
|
"""
|
241
|
-
|
243
|
+
This field is only used for SERVERLESS NEGs.
|
242
244
|
Only one of cloudRun, appEngine, cloudFunction or serverlessDeployment may be set.
|
243
245
|
Structure is documented below.
|
244
246
|
"""
|
@@ -252,7 +254,7 @@ class RegionNetworkEndpointGroupArgs:
|
|
252
254
|
@pulumi.getter
|
253
255
|
def subnetwork(self) -> Optional[pulumi.Input[str]]:
|
254
256
|
"""
|
255
|
-
This field is only used for PSC.
|
257
|
+
This field is only used for PSC NEGs.
|
256
258
|
Optional URL of the subnetwork to which all network endpoints in the NEG belong.
|
257
259
|
"""
|
258
260
|
return pulumi.get(self, "subnetwork")
|
@@ -280,13 +282,13 @@ class _RegionNetworkEndpointGroupState:
|
|
280
282
|
subnetwork: Optional[pulumi.Input[str]] = None):
|
281
283
|
"""
|
282
284
|
Input properties used for looking up and filtering RegionNetworkEndpointGroup resources.
|
283
|
-
:param pulumi.Input['RegionNetworkEndpointGroupAppEngineArgs'] app_engine:
|
285
|
+
:param pulumi.Input['RegionNetworkEndpointGroupAppEngineArgs'] app_engine: This field is only used for SERVERLESS NEGs.
|
284
286
|
Only one of cloud_run, app_engine, cloud_function or serverless_deployment may be set.
|
285
287
|
Structure is documented below.
|
286
|
-
:param pulumi.Input['RegionNetworkEndpointGroupCloudFunctionArgs'] cloud_function:
|
288
|
+
:param pulumi.Input['RegionNetworkEndpointGroupCloudFunctionArgs'] cloud_function: This field is only used for SERVERLESS NEGs.
|
287
289
|
Only one of cloud_run, app_engine, cloud_function or serverless_deployment may be set.
|
288
290
|
Structure is documented below.
|
289
|
-
:param pulumi.Input['RegionNetworkEndpointGroupCloudRunArgs'] cloud_run:
|
291
|
+
:param pulumi.Input['RegionNetworkEndpointGroupCloudRunArgs'] cloud_run: This field is only used for SERVERLESS NEGs.
|
290
292
|
Only one of cloud_run, app_engine, cloud_function or serverless_deployment may be set.
|
291
293
|
Structure is documented below.
|
292
294
|
:param pulumi.Input[str] description: An optional description of this resource. Provide this property when
|
@@ -298,25 +300,26 @@ class _RegionNetworkEndpointGroupState:
|
|
298
300
|
first character must be a lowercase letter, and all following
|
299
301
|
characters must be a dash, lowercase letter, or digit, except the last
|
300
302
|
character, which cannot be a dash.
|
301
|
-
:param pulumi.Input[str] network: This field is only used for PSC.
|
303
|
+
:param pulumi.Input[str] network: This field is only used for PSC and INTERNET NEGs.
|
302
304
|
The URL of the network to which all network endpoints in the NEG belong. Uses
|
303
305
|
"default" project network if unspecified.
|
304
|
-
:param pulumi.Input[str] network_endpoint_type: Type of network endpoints in this network endpoint group. Defaults to SERVERLESS
|
306
|
+
:param pulumi.Input[str] network_endpoint_type: Type of network endpoints in this network endpoint group. Defaults to SERVERLESS.
|
305
307
|
Default value is `SERVERLESS`.
|
306
|
-
Possible values are: `SERVERLESS`, `PRIVATE_SERVICE_CONNECT`.
|
308
|
+
Possible values are: `SERVERLESS`, `PRIVATE_SERVICE_CONNECT`, `INTERNET_IP_PORT`, `INTERNET_FQDN_PORT`.
|
307
309
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
308
310
|
If it is not provided, the provider project is used.
|
309
|
-
:param pulumi.Input[str] psc_target_service:
|
311
|
+
:param pulumi.Input[str] psc_target_service: This field is only used for PSC and INTERNET NEGs.
|
312
|
+
The target service url used to set up private service connection to
|
310
313
|
a Google API or a PSC Producer Service Attachment.
|
311
|
-
:param pulumi.Input[str] region: A reference to the region where the
|
314
|
+
:param pulumi.Input[str] region: A reference to the region where the regional NEGs reside.
|
312
315
|
|
313
316
|
|
314
317
|
- - -
|
315
318
|
:param pulumi.Input[str] self_link: The URI of the created resource.
|
316
|
-
:param pulumi.Input['RegionNetworkEndpointGroupServerlessDeploymentArgs'] serverless_deployment:
|
319
|
+
:param pulumi.Input['RegionNetworkEndpointGroupServerlessDeploymentArgs'] serverless_deployment: This field is only used for SERVERLESS NEGs.
|
317
320
|
Only one of cloudRun, appEngine, cloudFunction or serverlessDeployment may be set.
|
318
321
|
Structure is documented below.
|
319
|
-
:param pulumi.Input[str] subnetwork: This field is only used for PSC.
|
322
|
+
:param pulumi.Input[str] subnetwork: This field is only used for PSC NEGs.
|
320
323
|
Optional URL of the subnetwork to which all network endpoints in the NEG belong.
|
321
324
|
"""
|
322
325
|
if app_engine is not None:
|
@@ -350,7 +353,7 @@ class _RegionNetworkEndpointGroupState:
|
|
350
353
|
@pulumi.getter(name="appEngine")
|
351
354
|
def app_engine(self) -> Optional[pulumi.Input['RegionNetworkEndpointGroupAppEngineArgs']]:
|
352
355
|
"""
|
353
|
-
|
356
|
+
This field is only used for SERVERLESS NEGs.
|
354
357
|
Only one of cloud_run, app_engine, cloud_function or serverless_deployment may be set.
|
355
358
|
Structure is documented below.
|
356
359
|
"""
|
@@ -364,7 +367,7 @@ class _RegionNetworkEndpointGroupState:
|
|
364
367
|
@pulumi.getter(name="cloudFunction")
|
365
368
|
def cloud_function(self) -> Optional[pulumi.Input['RegionNetworkEndpointGroupCloudFunctionArgs']]:
|
366
369
|
"""
|
367
|
-
|
370
|
+
This field is only used for SERVERLESS NEGs.
|
368
371
|
Only one of cloud_run, app_engine, cloud_function or serverless_deployment may be set.
|
369
372
|
Structure is documented below.
|
370
373
|
"""
|
@@ -378,7 +381,7 @@ class _RegionNetworkEndpointGroupState:
|
|
378
381
|
@pulumi.getter(name="cloudRun")
|
379
382
|
def cloud_run(self) -> Optional[pulumi.Input['RegionNetworkEndpointGroupCloudRunArgs']]:
|
380
383
|
"""
|
381
|
-
|
384
|
+
This field is only used for SERVERLESS NEGs.
|
382
385
|
Only one of cloud_run, app_engine, cloud_function or serverless_deployment may be set.
|
383
386
|
Structure is documented below.
|
384
387
|
"""
|
@@ -423,7 +426,7 @@ class _RegionNetworkEndpointGroupState:
|
|
423
426
|
@pulumi.getter
|
424
427
|
def network(self) -> Optional[pulumi.Input[str]]:
|
425
428
|
"""
|
426
|
-
This field is only used for PSC.
|
429
|
+
This field is only used for PSC and INTERNET NEGs.
|
427
430
|
The URL of the network to which all network endpoints in the NEG belong. Uses
|
428
431
|
"default" project network if unspecified.
|
429
432
|
"""
|
@@ -437,9 +440,9 @@ class _RegionNetworkEndpointGroupState:
|
|
437
440
|
@pulumi.getter(name="networkEndpointType")
|
438
441
|
def network_endpoint_type(self) -> Optional[pulumi.Input[str]]:
|
439
442
|
"""
|
440
|
-
Type of network endpoints in this network endpoint group. Defaults to SERVERLESS
|
443
|
+
Type of network endpoints in this network endpoint group. Defaults to SERVERLESS.
|
441
444
|
Default value is `SERVERLESS`.
|
442
|
-
Possible values are: `SERVERLESS`, `PRIVATE_SERVICE_CONNECT`.
|
445
|
+
Possible values are: `SERVERLESS`, `PRIVATE_SERVICE_CONNECT`, `INTERNET_IP_PORT`, `INTERNET_FQDN_PORT`.
|
443
446
|
"""
|
444
447
|
return pulumi.get(self, "network_endpoint_type")
|
445
448
|
|
@@ -464,6 +467,7 @@ class _RegionNetworkEndpointGroupState:
|
|
464
467
|
@pulumi.getter(name="pscTargetService")
|
465
468
|
def psc_target_service(self) -> Optional[pulumi.Input[str]]:
|
466
469
|
"""
|
470
|
+
This field is only used for PSC and INTERNET NEGs.
|
467
471
|
The target service url used to set up private service connection to
|
468
472
|
a Google API or a PSC Producer Service Attachment.
|
469
473
|
"""
|
@@ -477,7 +481,7 @@ class _RegionNetworkEndpointGroupState:
|
|
477
481
|
@pulumi.getter
|
478
482
|
def region(self) -> Optional[pulumi.Input[str]]:
|
479
483
|
"""
|
480
|
-
A reference to the region where the
|
484
|
+
A reference to the region where the regional NEGs reside.
|
481
485
|
|
482
486
|
|
483
487
|
- - -
|
@@ -504,7 +508,7 @@ class _RegionNetworkEndpointGroupState:
|
|
504
508
|
@pulumi.getter(name="serverlessDeployment")
|
505
509
|
def serverless_deployment(self) -> Optional[pulumi.Input['RegionNetworkEndpointGroupServerlessDeploymentArgs']]:
|
506
510
|
"""
|
507
|
-
|
511
|
+
This field is only used for SERVERLESS NEGs.
|
508
512
|
Only one of cloudRun, appEngine, cloudFunction or serverlessDeployment may be set.
|
509
513
|
Structure is documented below.
|
510
514
|
"""
|
@@ -518,7 +522,7 @@ class _RegionNetworkEndpointGroupState:
|
|
518
522
|
@pulumi.getter
|
519
523
|
def subnetwork(self) -> Optional[pulumi.Input[str]]:
|
520
524
|
"""
|
521
|
-
This field is only used for PSC.
|
525
|
+
This field is only used for PSC NEGs.
|
522
526
|
Optional URL of the subnetwork to which all network endpoints in the NEG belong.
|
523
527
|
"""
|
524
528
|
return pulumi.get(self, "subnetwork")
|
@@ -547,13 +551,14 @@ class RegionNetworkEndpointGroup(pulumi.CustomResource):
|
|
547
551
|
subnetwork: Optional[pulumi.Input[str]] = None,
|
548
552
|
__props__=None):
|
549
553
|
"""
|
550
|
-
A regional NEG that can support Serverless Products.
|
554
|
+
A regional NEG that can support Serverless Products and proxying traffic to external backends.
|
551
555
|
|
552
556
|
To get more information about RegionNetworkEndpointGroup, see:
|
553
557
|
|
554
558
|
* [API documentation](https://cloud.google.com/compute/docs/reference/rest/beta/regionNetworkEndpointGroups)
|
555
559
|
* How-to Guides
|
556
|
-
* [Official Documentation](https://cloud.google.com/load-balancing/docs/negs/serverless-neg-concepts)
|
560
|
+
* [Serverless NEGs Official Documentation](https://cloud.google.com/load-balancing/docs/negs/serverless-neg-concepts)
|
561
|
+
* [Internet NEGs Official Documentation](https://cloud.google.com/load-balancing/docs/negs/internet-neg-concepts)
|
557
562
|
|
558
563
|
## Example Usage
|
559
564
|
### Region Network Endpoint Group Functions
|
@@ -678,6 +683,30 @@ class RegionNetworkEndpointGroup(pulumi.CustomResource):
|
|
678
683
|
psc_target_service="asia-northeast3-cloudkms.googleapis.com",
|
679
684
|
region="asia-northeast3")
|
680
685
|
```
|
686
|
+
### Region Network Endpoint Group Internet Ip Port
|
687
|
+
|
688
|
+
```python
|
689
|
+
import pulumi
|
690
|
+
import pulumi_gcp as gcp
|
691
|
+
|
692
|
+
default = gcp.compute.Network("default")
|
693
|
+
region_network_endpoint_group_internet_ip_port = gcp.compute.RegionNetworkEndpointGroup("regionNetworkEndpointGroupInternetIpPort",
|
694
|
+
region="us-central1",
|
695
|
+
network=default.id,
|
696
|
+
network_endpoint_type="INTERNET_IP_PORT")
|
697
|
+
```
|
698
|
+
### Region Network Endpoint Group Internet Fqdn Port
|
699
|
+
|
700
|
+
```python
|
701
|
+
import pulumi
|
702
|
+
import pulumi_gcp as gcp
|
703
|
+
|
704
|
+
default = gcp.compute.Network("default")
|
705
|
+
region_network_endpoint_group_internet_fqdn_port = gcp.compute.RegionNetworkEndpointGroup("regionNetworkEndpointGroupInternetFqdnPort",
|
706
|
+
region="us-central1",
|
707
|
+
network=default.id,
|
708
|
+
network_endpoint_type="INTERNET_FQDN_PORT")
|
709
|
+
```
|
681
710
|
|
682
711
|
## Import
|
683
712
|
|
@@ -701,13 +730,13 @@ class RegionNetworkEndpointGroup(pulumi.CustomResource):
|
|
701
730
|
|
702
731
|
:param str resource_name: The name of the resource.
|
703
732
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
704
|
-
:param pulumi.Input[pulumi.InputType['RegionNetworkEndpointGroupAppEngineArgs']] app_engine:
|
733
|
+
:param pulumi.Input[pulumi.InputType['RegionNetworkEndpointGroupAppEngineArgs']] app_engine: This field is only used for SERVERLESS NEGs.
|
705
734
|
Only one of cloud_run, app_engine, cloud_function or serverless_deployment may be set.
|
706
735
|
Structure is documented below.
|
707
|
-
:param pulumi.Input[pulumi.InputType['RegionNetworkEndpointGroupCloudFunctionArgs']] cloud_function:
|
736
|
+
:param pulumi.Input[pulumi.InputType['RegionNetworkEndpointGroupCloudFunctionArgs']] cloud_function: This field is only used for SERVERLESS NEGs.
|
708
737
|
Only one of cloud_run, app_engine, cloud_function or serverless_deployment may be set.
|
709
738
|
Structure is documented below.
|
710
|
-
:param pulumi.Input[pulumi.InputType['RegionNetworkEndpointGroupCloudRunArgs']] cloud_run:
|
739
|
+
:param pulumi.Input[pulumi.InputType['RegionNetworkEndpointGroupCloudRunArgs']] cloud_run: This field is only used for SERVERLESS NEGs.
|
711
740
|
Only one of cloud_run, app_engine, cloud_function or serverless_deployment may be set.
|
712
741
|
Structure is documented below.
|
713
742
|
:param pulumi.Input[str] description: An optional description of this resource. Provide this property when
|
@@ -719,24 +748,25 @@ class RegionNetworkEndpointGroup(pulumi.CustomResource):
|
|
719
748
|
first character must be a lowercase letter, and all following
|
720
749
|
characters must be a dash, lowercase letter, or digit, except the last
|
721
750
|
character, which cannot be a dash.
|
722
|
-
:param pulumi.Input[str] network: This field is only used for PSC.
|
751
|
+
:param pulumi.Input[str] network: This field is only used for PSC and INTERNET NEGs.
|
723
752
|
The URL of the network to which all network endpoints in the NEG belong. Uses
|
724
753
|
"default" project network if unspecified.
|
725
|
-
:param pulumi.Input[str] network_endpoint_type: Type of network endpoints in this network endpoint group. Defaults to SERVERLESS
|
754
|
+
:param pulumi.Input[str] network_endpoint_type: Type of network endpoints in this network endpoint group. Defaults to SERVERLESS.
|
726
755
|
Default value is `SERVERLESS`.
|
727
|
-
Possible values are: `SERVERLESS`, `PRIVATE_SERVICE_CONNECT`.
|
756
|
+
Possible values are: `SERVERLESS`, `PRIVATE_SERVICE_CONNECT`, `INTERNET_IP_PORT`, `INTERNET_FQDN_PORT`.
|
728
757
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
729
758
|
If it is not provided, the provider project is used.
|
730
|
-
:param pulumi.Input[str] psc_target_service:
|
759
|
+
:param pulumi.Input[str] psc_target_service: This field is only used for PSC and INTERNET NEGs.
|
760
|
+
The target service url used to set up private service connection to
|
731
761
|
a Google API or a PSC Producer Service Attachment.
|
732
|
-
:param pulumi.Input[str] region: A reference to the region where the
|
762
|
+
:param pulumi.Input[str] region: A reference to the region where the regional NEGs reside.
|
733
763
|
|
734
764
|
|
735
765
|
- - -
|
736
|
-
:param pulumi.Input[pulumi.InputType['RegionNetworkEndpointGroupServerlessDeploymentArgs']] serverless_deployment:
|
766
|
+
:param pulumi.Input[pulumi.InputType['RegionNetworkEndpointGroupServerlessDeploymentArgs']] serverless_deployment: This field is only used for SERVERLESS NEGs.
|
737
767
|
Only one of cloudRun, appEngine, cloudFunction or serverlessDeployment may be set.
|
738
768
|
Structure is documented below.
|
739
|
-
:param pulumi.Input[str] subnetwork: This field is only used for PSC.
|
769
|
+
:param pulumi.Input[str] subnetwork: This field is only used for PSC NEGs.
|
740
770
|
Optional URL of the subnetwork to which all network endpoints in the NEG belong.
|
741
771
|
"""
|
742
772
|
...
|
@@ -746,13 +776,14 @@ class RegionNetworkEndpointGroup(pulumi.CustomResource):
|
|
746
776
|
args: RegionNetworkEndpointGroupArgs,
|
747
777
|
opts: Optional[pulumi.ResourceOptions] = None):
|
748
778
|
"""
|
749
|
-
A regional NEG that can support Serverless Products.
|
779
|
+
A regional NEG that can support Serverless Products and proxying traffic to external backends.
|
750
780
|
|
751
781
|
To get more information about RegionNetworkEndpointGroup, see:
|
752
782
|
|
753
783
|
* [API documentation](https://cloud.google.com/compute/docs/reference/rest/beta/regionNetworkEndpointGroups)
|
754
784
|
* How-to Guides
|
755
|
-
* [Official Documentation](https://cloud.google.com/load-balancing/docs/negs/serverless-neg-concepts)
|
785
|
+
* [Serverless NEGs Official Documentation](https://cloud.google.com/load-balancing/docs/negs/serverless-neg-concepts)
|
786
|
+
* [Internet NEGs Official Documentation](https://cloud.google.com/load-balancing/docs/negs/internet-neg-concepts)
|
756
787
|
|
757
788
|
## Example Usage
|
758
789
|
### Region Network Endpoint Group Functions
|
@@ -877,6 +908,30 @@ class RegionNetworkEndpointGroup(pulumi.CustomResource):
|
|
877
908
|
psc_target_service="asia-northeast3-cloudkms.googleapis.com",
|
878
909
|
region="asia-northeast3")
|
879
910
|
```
|
911
|
+
### Region Network Endpoint Group Internet Ip Port
|
912
|
+
|
913
|
+
```python
|
914
|
+
import pulumi
|
915
|
+
import pulumi_gcp as gcp
|
916
|
+
|
917
|
+
default = gcp.compute.Network("default")
|
918
|
+
region_network_endpoint_group_internet_ip_port = gcp.compute.RegionNetworkEndpointGroup("regionNetworkEndpointGroupInternetIpPort",
|
919
|
+
region="us-central1",
|
920
|
+
network=default.id,
|
921
|
+
network_endpoint_type="INTERNET_IP_PORT")
|
922
|
+
```
|
923
|
+
### Region Network Endpoint Group Internet Fqdn Port
|
924
|
+
|
925
|
+
```python
|
926
|
+
import pulumi
|
927
|
+
import pulumi_gcp as gcp
|
928
|
+
|
929
|
+
default = gcp.compute.Network("default")
|
930
|
+
region_network_endpoint_group_internet_fqdn_port = gcp.compute.RegionNetworkEndpointGroup("regionNetworkEndpointGroupInternetFqdnPort",
|
931
|
+
region="us-central1",
|
932
|
+
network=default.id,
|
933
|
+
network_endpoint_type="INTERNET_FQDN_PORT")
|
934
|
+
```
|
880
935
|
|
881
936
|
## Import
|
882
937
|
|
@@ -979,13 +1034,13 @@ class RegionNetworkEndpointGroup(pulumi.CustomResource):
|
|
979
1034
|
:param str resource_name: The unique name of the resulting resource.
|
980
1035
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
981
1036
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
982
|
-
:param pulumi.Input[pulumi.InputType['RegionNetworkEndpointGroupAppEngineArgs']] app_engine:
|
1037
|
+
:param pulumi.Input[pulumi.InputType['RegionNetworkEndpointGroupAppEngineArgs']] app_engine: This field is only used for SERVERLESS NEGs.
|
983
1038
|
Only one of cloud_run, app_engine, cloud_function or serverless_deployment may be set.
|
984
1039
|
Structure is documented below.
|
985
|
-
:param pulumi.Input[pulumi.InputType['RegionNetworkEndpointGroupCloudFunctionArgs']] cloud_function:
|
1040
|
+
:param pulumi.Input[pulumi.InputType['RegionNetworkEndpointGroupCloudFunctionArgs']] cloud_function: This field is only used for SERVERLESS NEGs.
|
986
1041
|
Only one of cloud_run, app_engine, cloud_function or serverless_deployment may be set.
|
987
1042
|
Structure is documented below.
|
988
|
-
:param pulumi.Input[pulumi.InputType['RegionNetworkEndpointGroupCloudRunArgs']] cloud_run:
|
1043
|
+
:param pulumi.Input[pulumi.InputType['RegionNetworkEndpointGroupCloudRunArgs']] cloud_run: This field is only used for SERVERLESS NEGs.
|
989
1044
|
Only one of cloud_run, app_engine, cloud_function or serverless_deployment may be set.
|
990
1045
|
Structure is documented below.
|
991
1046
|
:param pulumi.Input[str] description: An optional description of this resource. Provide this property when
|
@@ -997,25 +1052,26 @@ class RegionNetworkEndpointGroup(pulumi.CustomResource):
|
|
997
1052
|
first character must be a lowercase letter, and all following
|
998
1053
|
characters must be a dash, lowercase letter, or digit, except the last
|
999
1054
|
character, which cannot be a dash.
|
1000
|
-
:param pulumi.Input[str] network: This field is only used for PSC.
|
1055
|
+
:param pulumi.Input[str] network: This field is only used for PSC and INTERNET NEGs.
|
1001
1056
|
The URL of the network to which all network endpoints in the NEG belong. Uses
|
1002
1057
|
"default" project network if unspecified.
|
1003
|
-
:param pulumi.Input[str] network_endpoint_type: Type of network endpoints in this network endpoint group. Defaults to SERVERLESS
|
1058
|
+
:param pulumi.Input[str] network_endpoint_type: Type of network endpoints in this network endpoint group. Defaults to SERVERLESS.
|
1004
1059
|
Default value is `SERVERLESS`.
|
1005
|
-
Possible values are: `SERVERLESS`, `PRIVATE_SERVICE_CONNECT`.
|
1060
|
+
Possible values are: `SERVERLESS`, `PRIVATE_SERVICE_CONNECT`, `INTERNET_IP_PORT`, `INTERNET_FQDN_PORT`.
|
1006
1061
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
1007
1062
|
If it is not provided, the provider project is used.
|
1008
|
-
:param pulumi.Input[str] psc_target_service:
|
1063
|
+
:param pulumi.Input[str] psc_target_service: This field is only used for PSC and INTERNET NEGs.
|
1064
|
+
The target service url used to set up private service connection to
|
1009
1065
|
a Google API or a PSC Producer Service Attachment.
|
1010
|
-
:param pulumi.Input[str] region: A reference to the region where the
|
1066
|
+
:param pulumi.Input[str] region: A reference to the region where the regional NEGs reside.
|
1011
1067
|
|
1012
1068
|
|
1013
1069
|
- - -
|
1014
1070
|
:param pulumi.Input[str] self_link: The URI of the created resource.
|
1015
|
-
:param pulumi.Input[pulumi.InputType['RegionNetworkEndpointGroupServerlessDeploymentArgs']] serverless_deployment:
|
1071
|
+
:param pulumi.Input[pulumi.InputType['RegionNetworkEndpointGroupServerlessDeploymentArgs']] serverless_deployment: This field is only used for SERVERLESS NEGs.
|
1016
1072
|
Only one of cloudRun, appEngine, cloudFunction or serverlessDeployment may be set.
|
1017
1073
|
Structure is documented below.
|
1018
|
-
:param pulumi.Input[str] subnetwork: This field is only used for PSC.
|
1074
|
+
:param pulumi.Input[str] subnetwork: This field is only used for PSC NEGs.
|
1019
1075
|
Optional URL of the subnetwork to which all network endpoints in the NEG belong.
|
1020
1076
|
"""
|
1021
1077
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
@@ -1041,7 +1097,7 @@ class RegionNetworkEndpointGroup(pulumi.CustomResource):
|
|
1041
1097
|
@pulumi.getter(name="appEngine")
|
1042
1098
|
def app_engine(self) -> pulumi.Output[Optional['outputs.RegionNetworkEndpointGroupAppEngine']]:
|
1043
1099
|
"""
|
1044
|
-
|
1100
|
+
This field is only used for SERVERLESS NEGs.
|
1045
1101
|
Only one of cloud_run, app_engine, cloud_function or serverless_deployment may be set.
|
1046
1102
|
Structure is documented below.
|
1047
1103
|
"""
|
@@ -1051,7 +1107,7 @@ class RegionNetworkEndpointGroup(pulumi.CustomResource):
|
|
1051
1107
|
@pulumi.getter(name="cloudFunction")
|
1052
1108
|
def cloud_function(self) -> pulumi.Output[Optional['outputs.RegionNetworkEndpointGroupCloudFunction']]:
|
1053
1109
|
"""
|
1054
|
-
|
1110
|
+
This field is only used for SERVERLESS NEGs.
|
1055
1111
|
Only one of cloud_run, app_engine, cloud_function or serverless_deployment may be set.
|
1056
1112
|
Structure is documented below.
|
1057
1113
|
"""
|
@@ -1061,7 +1117,7 @@ class RegionNetworkEndpointGroup(pulumi.CustomResource):
|
|
1061
1117
|
@pulumi.getter(name="cloudRun")
|
1062
1118
|
def cloud_run(self) -> pulumi.Output[Optional['outputs.RegionNetworkEndpointGroupCloudRun']]:
|
1063
1119
|
"""
|
1064
|
-
|
1120
|
+
This field is only used for SERVERLESS NEGs.
|
1065
1121
|
Only one of cloud_run, app_engine, cloud_function or serverless_deployment may be set.
|
1066
1122
|
Structure is documented below.
|
1067
1123
|
"""
|
@@ -1094,7 +1150,7 @@ class RegionNetworkEndpointGroup(pulumi.CustomResource):
|
|
1094
1150
|
@pulumi.getter
|
1095
1151
|
def network(self) -> pulumi.Output[Optional[str]]:
|
1096
1152
|
"""
|
1097
|
-
This field is only used for PSC.
|
1153
|
+
This field is only used for PSC and INTERNET NEGs.
|
1098
1154
|
The URL of the network to which all network endpoints in the NEG belong. Uses
|
1099
1155
|
"default" project network if unspecified.
|
1100
1156
|
"""
|
@@ -1104,9 +1160,9 @@ class RegionNetworkEndpointGroup(pulumi.CustomResource):
|
|
1104
1160
|
@pulumi.getter(name="networkEndpointType")
|
1105
1161
|
def network_endpoint_type(self) -> pulumi.Output[Optional[str]]:
|
1106
1162
|
"""
|
1107
|
-
Type of network endpoints in this network endpoint group. Defaults to SERVERLESS
|
1163
|
+
Type of network endpoints in this network endpoint group. Defaults to SERVERLESS.
|
1108
1164
|
Default value is `SERVERLESS`.
|
1109
|
-
Possible values are: `SERVERLESS`, `PRIVATE_SERVICE_CONNECT`.
|
1165
|
+
Possible values are: `SERVERLESS`, `PRIVATE_SERVICE_CONNECT`, `INTERNET_IP_PORT`, `INTERNET_FQDN_PORT`.
|
1110
1166
|
"""
|
1111
1167
|
return pulumi.get(self, "network_endpoint_type")
|
1112
1168
|
|
@@ -1123,6 +1179,7 @@ class RegionNetworkEndpointGroup(pulumi.CustomResource):
|
|
1123
1179
|
@pulumi.getter(name="pscTargetService")
|
1124
1180
|
def psc_target_service(self) -> pulumi.Output[Optional[str]]:
|
1125
1181
|
"""
|
1182
|
+
This field is only used for PSC and INTERNET NEGs.
|
1126
1183
|
The target service url used to set up private service connection to
|
1127
1184
|
a Google API or a PSC Producer Service Attachment.
|
1128
1185
|
"""
|
@@ -1132,7 +1189,7 @@ class RegionNetworkEndpointGroup(pulumi.CustomResource):
|
|
1132
1189
|
@pulumi.getter
|
1133
1190
|
def region(self) -> pulumi.Output[str]:
|
1134
1191
|
"""
|
1135
|
-
A reference to the region where the
|
1192
|
+
A reference to the region where the regional NEGs reside.
|
1136
1193
|
|
1137
1194
|
|
1138
1195
|
- - -
|
@@ -1151,7 +1208,7 @@ class RegionNetworkEndpointGroup(pulumi.CustomResource):
|
|
1151
1208
|
@pulumi.getter(name="serverlessDeployment")
|
1152
1209
|
def serverless_deployment(self) -> pulumi.Output[Optional['outputs.RegionNetworkEndpointGroupServerlessDeployment']]:
|
1153
1210
|
"""
|
1154
|
-
|
1211
|
+
This field is only used for SERVERLESS NEGs.
|
1155
1212
|
Only one of cloudRun, appEngine, cloudFunction or serverlessDeployment may be set.
|
1156
1213
|
Structure is documented below.
|
1157
1214
|
"""
|
@@ -1161,7 +1218,7 @@ class RegionNetworkEndpointGroup(pulumi.CustomResource):
|
|
1161
1218
|
@pulumi.getter
|
1162
1219
|
def subnetwork(self) -> pulumi.Output[Optional[str]]:
|
1163
1220
|
"""
|
1164
|
-
This field is only used for PSC.
|
1221
|
+
This field is only used for PSC NEGs.
|
1165
1222
|
Optional URL of the subnetwork to which all network endpoints in the NEG belong.
|
1166
1223
|
"""
|
1167
1224
|
return pulumi.get(self, "subnetwork")
|
pulumi_gcp/config/__init__.pyi
CHANGED
@@ -60,6 +60,8 @@ billingProject: Optional[str]
|
|
60
60
|
|
61
61
|
binaryAuthorizationCustomEndpoint: Optional[str]
|
62
62
|
|
63
|
+
blockchainNodeEngineCustomEndpoint: Optional[str]
|
64
|
+
|
63
65
|
certificateManagerCustomEndpoint: Optional[str]
|
64
66
|
|
65
67
|
cloudAssetCustomEndpoint: Optional[str]
|
@@ -292,8 +294,6 @@ serviceNetworkingCustomEndpoint: Optional[str]
|
|
292
294
|
|
293
295
|
serviceUsageCustomEndpoint: Optional[str]
|
294
296
|
|
295
|
-
skipRegionValidation: bool
|
296
|
-
|
297
297
|
sourceRepoCustomEndpoint: Optional[str]
|
298
298
|
|
299
299
|
spannerCustomEndpoint: Optional[str]
|
pulumi_gcp/config/vars.py
CHANGED
@@ -116,6 +116,10 @@ class _ExportableConfig(types.ModuleType):
|
|
116
116
|
def binary_authorization_custom_endpoint(self) -> Optional[str]:
|
117
117
|
return __config__.get('binaryAuthorizationCustomEndpoint')
|
118
118
|
|
119
|
+
@property
|
120
|
+
def blockchain_node_engine_custom_endpoint(self) -> Optional[str]:
|
121
|
+
return __config__.get('blockchainNodeEngineCustomEndpoint')
|
122
|
+
|
119
123
|
@property
|
120
124
|
def certificate_manager_custom_endpoint(self) -> Optional[str]:
|
121
125
|
return __config__.get('certificateManagerCustomEndpoint')
|
@@ -580,10 +584,6 @@ class _ExportableConfig(types.ModuleType):
|
|
580
584
|
def service_usage_custom_endpoint(self) -> Optional[str]:
|
581
585
|
return __config__.get('serviceUsageCustomEndpoint')
|
582
586
|
|
583
|
-
@property
|
584
|
-
def skip_region_validation(self) -> bool:
|
585
|
-
return __config__.get_bool('skipRegionValidation') or (_utilities.get_env_bool('PULUMI_GCP_SKIP_REGION_VALIDATION') or False)
|
586
|
-
|
587
587
|
@property
|
588
588
|
def source_repo_custom_endpoint(self) -> Optional[str]:
|
589
589
|
return __config__.get('sourceRepoCustomEndpoint')
|