pulumi-gcp 8.1.0a1726492828__py3-none-any.whl → 8.2.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 +38 -0
- pulumi_gcp/bigquery/__init__.py +1 -0
- pulumi_gcp/bigquery/get_tables.py +143 -0
- pulumi_gcp/bigquery/outputs.py +30 -0
- pulumi_gcp/compute/__init__.py +1 -0
- pulumi_gcp/compute/_inputs.py +2208 -285
- pulumi_gcp/compute/get_instance.py +3 -0
- pulumi_gcp/compute/network_firewall_policy_with_rules.py +826 -0
- pulumi_gcp/compute/outputs.py +1383 -0
- pulumi_gcp/compute/region_target_http_proxy.py +159 -0
- pulumi_gcp/compute/region_target_https_proxy.py +175 -0
- pulumi_gcp/compute/service_attachment.py +75 -0
- pulumi_gcp/compute/target_http_proxy.py +49 -28
- pulumi_gcp/compute/target_https_proxy.py +49 -28
- pulumi_gcp/config/__init__.pyi +4 -0
- pulumi_gcp/config/vars.py +8 -0
- pulumi_gcp/container/_inputs.py +96 -0
- pulumi_gcp/container/attached_cluster.py +54 -1
- pulumi_gcp/container/outputs.py +102 -0
- pulumi_gcp/dataproc/metastore_federation.py +8 -8
- pulumi_gcp/dataproc/metastore_service.py +2 -0
- pulumi_gcp/datastream/stream.py +21 -14
- pulumi_gcp/developerconnect/__init__.py +11 -0
- pulumi_gcp/developerconnect/_inputs.py +301 -0
- pulumi_gcp/developerconnect/connection.py +1034 -0
- pulumi_gcp/developerconnect/git_repository_link.py +873 -0
- pulumi_gcp/developerconnect/outputs.py +247 -0
- pulumi_gcp/gkeonprem/_inputs.py +3 -3
- pulumi_gcp/gkeonprem/outputs.py +2 -2
- pulumi_gcp/memorystore/__init__.py +10 -0
- pulumi_gcp/memorystore/_inputs.py +731 -0
- pulumi_gcp/memorystore/instance.py +1663 -0
- pulumi_gcp/memorystore/outputs.py +598 -0
- pulumi_gcp/netapp/volume.py +101 -0
- pulumi_gcp/organizations/folder.py +52 -33
- pulumi_gcp/provider.py +40 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/securitycenter/v2_project_mute_config.py +2 -2
- pulumi_gcp/vpcaccess/connector.py +21 -28
- {pulumi_gcp-8.1.0a1726492828.dist-info → pulumi_gcp-8.2.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.1.0a1726492828.dist-info → pulumi_gcp-8.2.0.dist-info}/RECORD +43 -32
- {pulumi_gcp-8.1.0a1726492828.dist-info → pulumi_gcp-8.2.0.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.1.0a1726492828.dist-info → pulumi_gcp-8.2.0.dist-info}/top_level.txt +0 -0
@@ -21,6 +21,7 @@ class RegionTargetHttpProxyArgs:
|
|
21
21
|
def __init__(__self__, *,
|
22
22
|
url_map: pulumi.Input[str],
|
23
23
|
description: Optional[pulumi.Input[str]] = None,
|
24
|
+
http_keep_alive_timeout_sec: Optional[pulumi.Input[int]] = None,
|
24
25
|
name: Optional[pulumi.Input[str]] = None,
|
25
26
|
project: Optional[pulumi.Input[str]] = None,
|
26
27
|
region: Optional[pulumi.Input[str]] = None):
|
@@ -32,6 +33,11 @@ class RegionTargetHttpProxyArgs:
|
|
32
33
|
|
33
34
|
- - -
|
34
35
|
:param pulumi.Input[str] description: An optional description of this resource.
|
36
|
+
:param pulumi.Input[int] http_keep_alive_timeout_sec: Specifies how long to keep a connection open, after completing a response,
|
37
|
+
while there is no matching traffic (in seconds). If an HTTP keepalive is
|
38
|
+
not specified, a default value (600 seconds) will be used. For Regional
|
39
|
+
HTTP(S) load balancer, the minimum allowed value is 5 seconds and the
|
40
|
+
maximum allowed value is 600 seconds.
|
35
41
|
:param pulumi.Input[str] name: Name of the resource. Provided by the client when the resource is
|
36
42
|
created. The name must be 1-63 characters long, and comply with
|
37
43
|
RFC1035. Specifically, the name must be 1-63 characters long and match
|
@@ -47,6 +53,8 @@ class RegionTargetHttpProxyArgs:
|
|
47
53
|
pulumi.set(__self__, "url_map", url_map)
|
48
54
|
if description is not None:
|
49
55
|
pulumi.set(__self__, "description", description)
|
56
|
+
if http_keep_alive_timeout_sec is not None:
|
57
|
+
pulumi.set(__self__, "http_keep_alive_timeout_sec", http_keep_alive_timeout_sec)
|
50
58
|
if name is not None:
|
51
59
|
pulumi.set(__self__, "name", name)
|
52
60
|
if project is not None:
|
@@ -82,6 +90,22 @@ class RegionTargetHttpProxyArgs:
|
|
82
90
|
def description(self, value: Optional[pulumi.Input[str]]):
|
83
91
|
pulumi.set(self, "description", value)
|
84
92
|
|
93
|
+
@property
|
94
|
+
@pulumi.getter(name="httpKeepAliveTimeoutSec")
|
95
|
+
def http_keep_alive_timeout_sec(self) -> Optional[pulumi.Input[int]]:
|
96
|
+
"""
|
97
|
+
Specifies how long to keep a connection open, after completing a response,
|
98
|
+
while there is no matching traffic (in seconds). If an HTTP keepalive is
|
99
|
+
not specified, a default value (600 seconds) will be used. For Regional
|
100
|
+
HTTP(S) load balancer, the minimum allowed value is 5 seconds and the
|
101
|
+
maximum allowed value is 600 seconds.
|
102
|
+
"""
|
103
|
+
return pulumi.get(self, "http_keep_alive_timeout_sec")
|
104
|
+
|
105
|
+
@http_keep_alive_timeout_sec.setter
|
106
|
+
def http_keep_alive_timeout_sec(self, value: Optional[pulumi.Input[int]]):
|
107
|
+
pulumi.set(self, "http_keep_alive_timeout_sec", value)
|
108
|
+
|
85
109
|
@property
|
86
110
|
@pulumi.getter
|
87
111
|
def name(self) -> Optional[pulumi.Input[str]]:
|
@@ -132,6 +156,7 @@ class _RegionTargetHttpProxyState:
|
|
132
156
|
def __init__(__self__, *,
|
133
157
|
creation_timestamp: Optional[pulumi.Input[str]] = None,
|
134
158
|
description: Optional[pulumi.Input[str]] = None,
|
159
|
+
http_keep_alive_timeout_sec: Optional[pulumi.Input[int]] = None,
|
135
160
|
name: Optional[pulumi.Input[str]] = None,
|
136
161
|
project: Optional[pulumi.Input[str]] = None,
|
137
162
|
proxy_id: Optional[pulumi.Input[int]] = None,
|
@@ -142,6 +167,11 @@ class _RegionTargetHttpProxyState:
|
|
142
167
|
Input properties used for looking up and filtering RegionTargetHttpProxy resources.
|
143
168
|
:param pulumi.Input[str] creation_timestamp: Creation timestamp in RFC3339 text format.
|
144
169
|
:param pulumi.Input[str] description: An optional description of this resource.
|
170
|
+
:param pulumi.Input[int] http_keep_alive_timeout_sec: Specifies how long to keep a connection open, after completing a response,
|
171
|
+
while there is no matching traffic (in seconds). If an HTTP keepalive is
|
172
|
+
not specified, a default value (600 seconds) will be used. For Regional
|
173
|
+
HTTP(S) load balancer, the minimum allowed value is 5 seconds and the
|
174
|
+
maximum allowed value is 600 seconds.
|
145
175
|
:param pulumi.Input[str] name: Name of the resource. Provided by the client when the resource is
|
146
176
|
created. The name must be 1-63 characters long, and comply with
|
147
177
|
RFC1035. Specifically, the name must be 1-63 characters long and match
|
@@ -165,6 +195,8 @@ class _RegionTargetHttpProxyState:
|
|
165
195
|
pulumi.set(__self__, "creation_timestamp", creation_timestamp)
|
166
196
|
if description is not None:
|
167
197
|
pulumi.set(__self__, "description", description)
|
198
|
+
if http_keep_alive_timeout_sec is not None:
|
199
|
+
pulumi.set(__self__, "http_keep_alive_timeout_sec", http_keep_alive_timeout_sec)
|
168
200
|
if name is not None:
|
169
201
|
pulumi.set(__self__, "name", name)
|
170
202
|
if project is not None:
|
@@ -202,6 +234,22 @@ class _RegionTargetHttpProxyState:
|
|
202
234
|
def description(self, value: Optional[pulumi.Input[str]]):
|
203
235
|
pulumi.set(self, "description", value)
|
204
236
|
|
237
|
+
@property
|
238
|
+
@pulumi.getter(name="httpKeepAliveTimeoutSec")
|
239
|
+
def http_keep_alive_timeout_sec(self) -> Optional[pulumi.Input[int]]:
|
240
|
+
"""
|
241
|
+
Specifies how long to keep a connection open, after completing a response,
|
242
|
+
while there is no matching traffic (in seconds). If an HTTP keepalive is
|
243
|
+
not specified, a default value (600 seconds) will be used. For Regional
|
244
|
+
HTTP(S) load balancer, the minimum allowed value is 5 seconds and the
|
245
|
+
maximum allowed value is 600 seconds.
|
246
|
+
"""
|
247
|
+
return pulumi.get(self, "http_keep_alive_timeout_sec")
|
248
|
+
|
249
|
+
@http_keep_alive_timeout_sec.setter
|
250
|
+
def http_keep_alive_timeout_sec(self, value: Optional[pulumi.Input[int]]):
|
251
|
+
pulumi.set(self, "http_keep_alive_timeout_sec", value)
|
252
|
+
|
205
253
|
@property
|
206
254
|
@pulumi.getter
|
207
255
|
def name(self) -> Optional[pulumi.Input[str]]:
|
@@ -293,6 +341,7 @@ class RegionTargetHttpProxy(pulumi.CustomResource):
|
|
293
341
|
resource_name: str,
|
294
342
|
opts: Optional[pulumi.ResourceOptions] = None,
|
295
343
|
description: Optional[pulumi.Input[str]] = None,
|
344
|
+
http_keep_alive_timeout_sec: Optional[pulumi.Input[int]] = None,
|
296
345
|
name: Optional[pulumi.Input[str]] = None,
|
297
346
|
project: Optional[pulumi.Input[str]] = None,
|
298
347
|
region: Optional[pulumi.Input[str]] = None,
|
@@ -350,6 +399,48 @@ class RegionTargetHttpProxy(pulumi.CustomResource):
|
|
350
399
|
name="test-proxy",
|
351
400
|
url_map=default_region_url_map.id)
|
352
401
|
```
|
402
|
+
### Region Target Http Proxy Http Keep Alive Timeout
|
403
|
+
|
404
|
+
```python
|
405
|
+
import pulumi
|
406
|
+
import pulumi_gcp as gcp
|
407
|
+
|
408
|
+
default_region_health_check = gcp.compute.RegionHealthCheck("default",
|
409
|
+
region="us-central1",
|
410
|
+
name="http-health-check",
|
411
|
+
http_health_check={
|
412
|
+
"port": 80,
|
413
|
+
})
|
414
|
+
default_region_backend_service = gcp.compute.RegionBackendService("default",
|
415
|
+
region="us-central1",
|
416
|
+
name="backend-service",
|
417
|
+
port_name="http",
|
418
|
+
protocol="HTTP",
|
419
|
+
timeout_sec=10,
|
420
|
+
load_balancing_scheme="INTERNAL_MANAGED",
|
421
|
+
health_checks=default_region_health_check.id)
|
422
|
+
default_region_url_map = gcp.compute.RegionUrlMap("default",
|
423
|
+
region="us-central1",
|
424
|
+
name="url-map",
|
425
|
+
default_service=default_region_backend_service.id,
|
426
|
+
host_rules=[{
|
427
|
+
"hosts": ["mysite.com"],
|
428
|
+
"path_matcher": "allpaths",
|
429
|
+
}],
|
430
|
+
path_matchers=[{
|
431
|
+
"name": "allpaths",
|
432
|
+
"default_service": default_region_backend_service.id,
|
433
|
+
"path_rules": [{
|
434
|
+
"paths": ["/*"],
|
435
|
+
"service": default_region_backend_service.id,
|
436
|
+
}],
|
437
|
+
}])
|
438
|
+
default = gcp.compute.RegionTargetHttpProxy("default",
|
439
|
+
region="us-central1",
|
440
|
+
name="test-http-keep-alive-timeout-proxy",
|
441
|
+
http_keep_alive_timeout_sec=600,
|
442
|
+
url_map=default_region_url_map.id)
|
443
|
+
```
|
353
444
|
### Region Target Http Proxy Https Redirect
|
354
445
|
|
355
446
|
```python
|
@@ -402,6 +493,11 @@ class RegionTargetHttpProxy(pulumi.CustomResource):
|
|
402
493
|
:param str resource_name: The name of the resource.
|
403
494
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
404
495
|
:param pulumi.Input[str] description: An optional description of this resource.
|
496
|
+
:param pulumi.Input[int] http_keep_alive_timeout_sec: Specifies how long to keep a connection open, after completing a response,
|
497
|
+
while there is no matching traffic (in seconds). If an HTTP keepalive is
|
498
|
+
not specified, a default value (600 seconds) will be used. For Regional
|
499
|
+
HTTP(S) load balancer, the minimum allowed value is 5 seconds and the
|
500
|
+
maximum allowed value is 600 seconds.
|
405
501
|
:param pulumi.Input[str] name: Name of the resource. Provided by the client when the resource is
|
406
502
|
created. The name must be 1-63 characters long, and comply with
|
407
503
|
RFC1035. Specifically, the name must be 1-63 characters long and match
|
@@ -477,6 +573,48 @@ class RegionTargetHttpProxy(pulumi.CustomResource):
|
|
477
573
|
name="test-proxy",
|
478
574
|
url_map=default_region_url_map.id)
|
479
575
|
```
|
576
|
+
### Region Target Http Proxy Http Keep Alive Timeout
|
577
|
+
|
578
|
+
```python
|
579
|
+
import pulumi
|
580
|
+
import pulumi_gcp as gcp
|
581
|
+
|
582
|
+
default_region_health_check = gcp.compute.RegionHealthCheck("default",
|
583
|
+
region="us-central1",
|
584
|
+
name="http-health-check",
|
585
|
+
http_health_check={
|
586
|
+
"port": 80,
|
587
|
+
})
|
588
|
+
default_region_backend_service = gcp.compute.RegionBackendService("default",
|
589
|
+
region="us-central1",
|
590
|
+
name="backend-service",
|
591
|
+
port_name="http",
|
592
|
+
protocol="HTTP",
|
593
|
+
timeout_sec=10,
|
594
|
+
load_balancing_scheme="INTERNAL_MANAGED",
|
595
|
+
health_checks=default_region_health_check.id)
|
596
|
+
default_region_url_map = gcp.compute.RegionUrlMap("default",
|
597
|
+
region="us-central1",
|
598
|
+
name="url-map",
|
599
|
+
default_service=default_region_backend_service.id,
|
600
|
+
host_rules=[{
|
601
|
+
"hosts": ["mysite.com"],
|
602
|
+
"path_matcher": "allpaths",
|
603
|
+
}],
|
604
|
+
path_matchers=[{
|
605
|
+
"name": "allpaths",
|
606
|
+
"default_service": default_region_backend_service.id,
|
607
|
+
"path_rules": [{
|
608
|
+
"paths": ["/*"],
|
609
|
+
"service": default_region_backend_service.id,
|
610
|
+
}],
|
611
|
+
}])
|
612
|
+
default = gcp.compute.RegionTargetHttpProxy("default",
|
613
|
+
region="us-central1",
|
614
|
+
name="test-http-keep-alive-timeout-proxy",
|
615
|
+
http_keep_alive_timeout_sec=600,
|
616
|
+
url_map=default_region_url_map.id)
|
617
|
+
```
|
480
618
|
### Region Target Http Proxy Https Redirect
|
481
619
|
|
482
620
|
```python
|
@@ -542,6 +680,7 @@ class RegionTargetHttpProxy(pulumi.CustomResource):
|
|
542
680
|
resource_name: str,
|
543
681
|
opts: Optional[pulumi.ResourceOptions] = None,
|
544
682
|
description: Optional[pulumi.Input[str]] = None,
|
683
|
+
http_keep_alive_timeout_sec: Optional[pulumi.Input[int]] = None,
|
545
684
|
name: Optional[pulumi.Input[str]] = None,
|
546
685
|
project: Optional[pulumi.Input[str]] = None,
|
547
686
|
region: Optional[pulumi.Input[str]] = None,
|
@@ -556,6 +695,7 @@ class RegionTargetHttpProxy(pulumi.CustomResource):
|
|
556
695
|
__props__ = RegionTargetHttpProxyArgs.__new__(RegionTargetHttpProxyArgs)
|
557
696
|
|
558
697
|
__props__.__dict__["description"] = description
|
698
|
+
__props__.__dict__["http_keep_alive_timeout_sec"] = http_keep_alive_timeout_sec
|
559
699
|
__props__.__dict__["name"] = name
|
560
700
|
__props__.__dict__["project"] = project
|
561
701
|
__props__.__dict__["region"] = region
|
@@ -577,6 +717,7 @@ class RegionTargetHttpProxy(pulumi.CustomResource):
|
|
577
717
|
opts: Optional[pulumi.ResourceOptions] = None,
|
578
718
|
creation_timestamp: Optional[pulumi.Input[str]] = None,
|
579
719
|
description: Optional[pulumi.Input[str]] = None,
|
720
|
+
http_keep_alive_timeout_sec: Optional[pulumi.Input[int]] = None,
|
580
721
|
name: Optional[pulumi.Input[str]] = None,
|
581
722
|
project: Optional[pulumi.Input[str]] = None,
|
582
723
|
proxy_id: Optional[pulumi.Input[int]] = None,
|
@@ -592,6 +733,11 @@ class RegionTargetHttpProxy(pulumi.CustomResource):
|
|
592
733
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
593
734
|
:param pulumi.Input[str] creation_timestamp: Creation timestamp in RFC3339 text format.
|
594
735
|
:param pulumi.Input[str] description: An optional description of this resource.
|
736
|
+
:param pulumi.Input[int] http_keep_alive_timeout_sec: Specifies how long to keep a connection open, after completing a response,
|
737
|
+
while there is no matching traffic (in seconds). If an HTTP keepalive is
|
738
|
+
not specified, a default value (600 seconds) will be used. For Regional
|
739
|
+
HTTP(S) load balancer, the minimum allowed value is 5 seconds and the
|
740
|
+
maximum allowed value is 600 seconds.
|
595
741
|
:param pulumi.Input[str] name: Name of the resource. Provided by the client when the resource is
|
596
742
|
created. The name must be 1-63 characters long, and comply with
|
597
743
|
RFC1035. Specifically, the name must be 1-63 characters long and match
|
@@ -617,6 +763,7 @@ class RegionTargetHttpProxy(pulumi.CustomResource):
|
|
617
763
|
|
618
764
|
__props__.__dict__["creation_timestamp"] = creation_timestamp
|
619
765
|
__props__.__dict__["description"] = description
|
766
|
+
__props__.__dict__["http_keep_alive_timeout_sec"] = http_keep_alive_timeout_sec
|
620
767
|
__props__.__dict__["name"] = name
|
621
768
|
__props__.__dict__["project"] = project
|
622
769
|
__props__.__dict__["proxy_id"] = proxy_id
|
@@ -641,6 +788,18 @@ class RegionTargetHttpProxy(pulumi.CustomResource):
|
|
641
788
|
"""
|
642
789
|
return pulumi.get(self, "description")
|
643
790
|
|
791
|
+
@property
|
792
|
+
@pulumi.getter(name="httpKeepAliveTimeoutSec")
|
793
|
+
def http_keep_alive_timeout_sec(self) -> pulumi.Output[Optional[int]]:
|
794
|
+
"""
|
795
|
+
Specifies how long to keep a connection open, after completing a response,
|
796
|
+
while there is no matching traffic (in seconds). If an HTTP keepalive is
|
797
|
+
not specified, a default value (600 seconds) will be used. For Regional
|
798
|
+
HTTP(S) load balancer, the minimum allowed value is 5 seconds and the
|
799
|
+
maximum allowed value is 600 seconds.
|
800
|
+
"""
|
801
|
+
return pulumi.get(self, "http_keep_alive_timeout_sec")
|
802
|
+
|
644
803
|
@property
|
645
804
|
@pulumi.getter
|
646
805
|
def name(self) -> pulumi.Output[str]:
|
@@ -22,6 +22,7 @@ class RegionTargetHttpsProxyArgs:
|
|
22
22
|
url_map: pulumi.Input[str],
|
23
23
|
certificate_manager_certificates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
24
24
|
description: Optional[pulumi.Input[str]] = None,
|
25
|
+
http_keep_alive_timeout_sec: Optional[pulumi.Input[int]] = None,
|
25
26
|
name: Optional[pulumi.Input[str]] = None,
|
26
27
|
project: Optional[pulumi.Input[str]] = None,
|
27
28
|
region: Optional[pulumi.Input[str]] = None,
|
@@ -39,6 +40,11 @@ class RegionTargetHttpsProxyArgs:
|
|
39
40
|
sslCertificates and certificateManagerCertificates can't be defined together.
|
40
41
|
Accepted format is `//certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}` or just the self_link `projects/{project}/locations/{location}/certificates/{resourceName}`
|
41
42
|
:param pulumi.Input[str] description: An optional description of this resource.
|
43
|
+
:param pulumi.Input[int] http_keep_alive_timeout_sec: Specifies how long to keep a connection open, after completing a response,
|
44
|
+
while there is no matching traffic (in seconds). If an HTTP keepalive is
|
45
|
+
not specified, a default value (600 seconds) will be used. For Regioanl
|
46
|
+
HTTP(S) load balancer, the minimum allowed value is 5 seconds and the
|
47
|
+
maximum allowed value is 600 seconds.
|
42
48
|
:param pulumi.Input[str] name: Name of the resource. Provided by the client when the resource is
|
43
49
|
created. The name must be 1-63 characters long, and comply with
|
44
50
|
RFC1035. Specifically, the name must be 1-63 characters long and match
|
@@ -75,6 +81,8 @@ class RegionTargetHttpsProxyArgs:
|
|
75
81
|
pulumi.set(__self__, "certificate_manager_certificates", certificate_manager_certificates)
|
76
82
|
if description is not None:
|
77
83
|
pulumi.set(__self__, "description", description)
|
84
|
+
if http_keep_alive_timeout_sec is not None:
|
85
|
+
pulumi.set(__self__, "http_keep_alive_timeout_sec", http_keep_alive_timeout_sec)
|
78
86
|
if name is not None:
|
79
87
|
pulumi.set(__self__, "name", name)
|
80
88
|
if project is not None:
|
@@ -130,6 +138,22 @@ class RegionTargetHttpsProxyArgs:
|
|
130
138
|
def description(self, value: Optional[pulumi.Input[str]]):
|
131
139
|
pulumi.set(self, "description", value)
|
132
140
|
|
141
|
+
@property
|
142
|
+
@pulumi.getter(name="httpKeepAliveTimeoutSec")
|
143
|
+
def http_keep_alive_timeout_sec(self) -> Optional[pulumi.Input[int]]:
|
144
|
+
"""
|
145
|
+
Specifies how long to keep a connection open, after completing a response,
|
146
|
+
while there is no matching traffic (in seconds). If an HTTP keepalive is
|
147
|
+
not specified, a default value (600 seconds) will be used. For Regioanl
|
148
|
+
HTTP(S) load balancer, the minimum allowed value is 5 seconds and the
|
149
|
+
maximum allowed value is 600 seconds.
|
150
|
+
"""
|
151
|
+
return pulumi.get(self, "http_keep_alive_timeout_sec")
|
152
|
+
|
153
|
+
@http_keep_alive_timeout_sec.setter
|
154
|
+
def http_keep_alive_timeout_sec(self, value: Optional[pulumi.Input[int]]):
|
155
|
+
pulumi.set(self, "http_keep_alive_timeout_sec", value)
|
156
|
+
|
133
157
|
@property
|
134
158
|
@pulumi.getter
|
135
159
|
def name(self) -> Optional[pulumi.Input[str]]:
|
@@ -233,6 +257,7 @@ class _RegionTargetHttpsProxyState:
|
|
233
257
|
certificate_manager_certificates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
234
258
|
creation_timestamp: Optional[pulumi.Input[str]] = None,
|
235
259
|
description: Optional[pulumi.Input[str]] = None,
|
260
|
+
http_keep_alive_timeout_sec: Optional[pulumi.Input[int]] = None,
|
236
261
|
name: Optional[pulumi.Input[str]] = None,
|
237
262
|
project: Optional[pulumi.Input[str]] = None,
|
238
263
|
proxy_id: Optional[pulumi.Input[int]] = None,
|
@@ -249,6 +274,11 @@ class _RegionTargetHttpsProxyState:
|
|
249
274
|
Accepted format is `//certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}` or just the self_link `projects/{project}/locations/{location}/certificates/{resourceName}`
|
250
275
|
:param pulumi.Input[str] creation_timestamp: Creation timestamp in RFC3339 text format.
|
251
276
|
:param pulumi.Input[str] description: An optional description of this resource.
|
277
|
+
:param pulumi.Input[int] http_keep_alive_timeout_sec: Specifies how long to keep a connection open, after completing a response,
|
278
|
+
while there is no matching traffic (in seconds). If an HTTP keepalive is
|
279
|
+
not specified, a default value (600 seconds) will be used. For Regioanl
|
280
|
+
HTTP(S) load balancer, the minimum allowed value is 5 seconds and the
|
281
|
+
maximum allowed value is 600 seconds.
|
252
282
|
:param pulumi.Input[str] name: Name of the resource. Provided by the client when the resource is
|
253
283
|
created. The name must be 1-63 characters long, and comply with
|
254
284
|
RFC1035. Specifically, the name must be 1-63 characters long and match
|
@@ -293,6 +323,8 @@ class _RegionTargetHttpsProxyState:
|
|
293
323
|
pulumi.set(__self__, "creation_timestamp", creation_timestamp)
|
294
324
|
if description is not None:
|
295
325
|
pulumi.set(__self__, "description", description)
|
326
|
+
if http_keep_alive_timeout_sec is not None:
|
327
|
+
pulumi.set(__self__, "http_keep_alive_timeout_sec", http_keep_alive_timeout_sec)
|
296
328
|
if name is not None:
|
297
329
|
pulumi.set(__self__, "name", name)
|
298
330
|
if project is not None:
|
@@ -350,6 +382,22 @@ class _RegionTargetHttpsProxyState:
|
|
350
382
|
def description(self, value: Optional[pulumi.Input[str]]):
|
351
383
|
pulumi.set(self, "description", value)
|
352
384
|
|
385
|
+
@property
|
386
|
+
@pulumi.getter(name="httpKeepAliveTimeoutSec")
|
387
|
+
def http_keep_alive_timeout_sec(self) -> Optional[pulumi.Input[int]]:
|
388
|
+
"""
|
389
|
+
Specifies how long to keep a connection open, after completing a response,
|
390
|
+
while there is no matching traffic (in seconds). If an HTTP keepalive is
|
391
|
+
not specified, a default value (600 seconds) will be used. For Regioanl
|
392
|
+
HTTP(S) load balancer, the minimum allowed value is 5 seconds and the
|
393
|
+
maximum allowed value is 600 seconds.
|
394
|
+
"""
|
395
|
+
return pulumi.get(self, "http_keep_alive_timeout_sec")
|
396
|
+
|
397
|
+
@http_keep_alive_timeout_sec.setter
|
398
|
+
def http_keep_alive_timeout_sec(self, value: Optional[pulumi.Input[int]]):
|
399
|
+
pulumi.set(self, "http_keep_alive_timeout_sec", value)
|
400
|
+
|
353
401
|
@property
|
354
402
|
@pulumi.getter
|
355
403
|
def name(self) -> Optional[pulumi.Input[str]]:
|
@@ -494,6 +542,7 @@ class RegionTargetHttpsProxy(pulumi.CustomResource):
|
|
494
542
|
opts: Optional[pulumi.ResourceOptions] = None,
|
495
543
|
certificate_manager_certificates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
496
544
|
description: Optional[pulumi.Input[str]] = None,
|
545
|
+
http_keep_alive_timeout_sec: Optional[pulumi.Input[int]] = None,
|
497
546
|
name: Optional[pulumi.Input[str]] = None,
|
498
547
|
project: Optional[pulumi.Input[str]] = None,
|
499
548
|
region: Optional[pulumi.Input[str]] = None,
|
@@ -562,6 +611,56 @@ class RegionTargetHttpsProxy(pulumi.CustomResource):
|
|
562
611
|
url_map=default_region_url_map.id,
|
563
612
|
ssl_certificates=[default_region_ssl_certificate.id])
|
564
613
|
```
|
614
|
+
### Region Target Https Proxy Http Keep Alive Timeout
|
615
|
+
|
616
|
+
```python
|
617
|
+
import pulumi
|
618
|
+
import pulumi_gcp as gcp
|
619
|
+
import pulumi_std as std
|
620
|
+
|
621
|
+
default_region_ssl_certificate = gcp.compute.RegionSslCertificate("default",
|
622
|
+
region="us-central1",
|
623
|
+
name="my-certificate",
|
624
|
+
private_key=std.file(input="path/to/private.key").result,
|
625
|
+
certificate=std.file(input="path/to/certificate.crt").result)
|
626
|
+
default_region_health_check = gcp.compute.RegionHealthCheck("default",
|
627
|
+
region="us-central1",
|
628
|
+
name="http-health-check",
|
629
|
+
http_health_check={
|
630
|
+
"port": 80,
|
631
|
+
})
|
632
|
+
default_region_backend_service = gcp.compute.RegionBackendService("default",
|
633
|
+
region="us-central1",
|
634
|
+
name="backend-service",
|
635
|
+
port_name="http",
|
636
|
+
protocol="HTTP",
|
637
|
+
timeout_sec=10,
|
638
|
+
load_balancing_scheme="INTERNAL_MANAGED",
|
639
|
+
health_checks=default_region_health_check.id)
|
640
|
+
default_region_url_map = gcp.compute.RegionUrlMap("default",
|
641
|
+
region="us-central1",
|
642
|
+
name="url-map",
|
643
|
+
description="a description",
|
644
|
+
default_service=default_region_backend_service.id,
|
645
|
+
host_rules=[{
|
646
|
+
"hosts": ["mysite.com"],
|
647
|
+
"path_matcher": "allpaths",
|
648
|
+
}],
|
649
|
+
path_matchers=[{
|
650
|
+
"name": "allpaths",
|
651
|
+
"default_service": default_region_backend_service.id,
|
652
|
+
"path_rules": [{
|
653
|
+
"paths": ["/*"],
|
654
|
+
"service": default_region_backend_service.id,
|
655
|
+
}],
|
656
|
+
}])
|
657
|
+
default = gcp.compute.RegionTargetHttpsProxy("default",
|
658
|
+
region="us-central1",
|
659
|
+
name="test-http-keep-alive-timeout-proxy",
|
660
|
+
http_keep_alive_timeout_sec=600,
|
661
|
+
url_map=default_region_url_map.id,
|
662
|
+
ssl_certificates=[default_region_ssl_certificate.id])
|
663
|
+
```
|
565
664
|
### Region Target Https Proxy Mtls
|
566
665
|
|
567
666
|
```python
|
@@ -705,6 +804,11 @@ class RegionTargetHttpsProxy(pulumi.CustomResource):
|
|
705
804
|
sslCertificates and certificateManagerCertificates can't be defined together.
|
706
805
|
Accepted format is `//certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}` or just the self_link `projects/{project}/locations/{location}/certificates/{resourceName}`
|
707
806
|
:param pulumi.Input[str] description: An optional description of this resource.
|
807
|
+
:param pulumi.Input[int] http_keep_alive_timeout_sec: Specifies how long to keep a connection open, after completing a response,
|
808
|
+
while there is no matching traffic (in seconds). If an HTTP keepalive is
|
809
|
+
not specified, a default value (600 seconds) will be used. For Regioanl
|
810
|
+
HTTP(S) load balancer, the minimum allowed value is 5 seconds and the
|
811
|
+
maximum allowed value is 600 seconds.
|
708
812
|
:param pulumi.Input[str] name: Name of the resource. Provided by the client when the resource is
|
709
813
|
created. The name must be 1-63 characters long, and comply with
|
710
814
|
RFC1035. Specifically, the name must be 1-63 characters long and match
|
@@ -807,6 +911,56 @@ class RegionTargetHttpsProxy(pulumi.CustomResource):
|
|
807
911
|
url_map=default_region_url_map.id,
|
808
912
|
ssl_certificates=[default_region_ssl_certificate.id])
|
809
913
|
```
|
914
|
+
### Region Target Https Proxy Http Keep Alive Timeout
|
915
|
+
|
916
|
+
```python
|
917
|
+
import pulumi
|
918
|
+
import pulumi_gcp as gcp
|
919
|
+
import pulumi_std as std
|
920
|
+
|
921
|
+
default_region_ssl_certificate = gcp.compute.RegionSslCertificate("default",
|
922
|
+
region="us-central1",
|
923
|
+
name="my-certificate",
|
924
|
+
private_key=std.file(input="path/to/private.key").result,
|
925
|
+
certificate=std.file(input="path/to/certificate.crt").result)
|
926
|
+
default_region_health_check = gcp.compute.RegionHealthCheck("default",
|
927
|
+
region="us-central1",
|
928
|
+
name="http-health-check",
|
929
|
+
http_health_check={
|
930
|
+
"port": 80,
|
931
|
+
})
|
932
|
+
default_region_backend_service = gcp.compute.RegionBackendService("default",
|
933
|
+
region="us-central1",
|
934
|
+
name="backend-service",
|
935
|
+
port_name="http",
|
936
|
+
protocol="HTTP",
|
937
|
+
timeout_sec=10,
|
938
|
+
load_balancing_scheme="INTERNAL_MANAGED",
|
939
|
+
health_checks=default_region_health_check.id)
|
940
|
+
default_region_url_map = gcp.compute.RegionUrlMap("default",
|
941
|
+
region="us-central1",
|
942
|
+
name="url-map",
|
943
|
+
description="a description",
|
944
|
+
default_service=default_region_backend_service.id,
|
945
|
+
host_rules=[{
|
946
|
+
"hosts": ["mysite.com"],
|
947
|
+
"path_matcher": "allpaths",
|
948
|
+
}],
|
949
|
+
path_matchers=[{
|
950
|
+
"name": "allpaths",
|
951
|
+
"default_service": default_region_backend_service.id,
|
952
|
+
"path_rules": [{
|
953
|
+
"paths": ["/*"],
|
954
|
+
"service": default_region_backend_service.id,
|
955
|
+
}],
|
956
|
+
}])
|
957
|
+
default = gcp.compute.RegionTargetHttpsProxy("default",
|
958
|
+
region="us-central1",
|
959
|
+
name="test-http-keep-alive-timeout-proxy",
|
960
|
+
http_keep_alive_timeout_sec=600,
|
961
|
+
url_map=default_region_url_map.id,
|
962
|
+
ssl_certificates=[default_region_ssl_certificate.id])
|
963
|
+
```
|
810
964
|
### Region Target Https Proxy Mtls
|
811
965
|
|
812
966
|
```python
|
@@ -961,6 +1115,7 @@ class RegionTargetHttpsProxy(pulumi.CustomResource):
|
|
961
1115
|
opts: Optional[pulumi.ResourceOptions] = None,
|
962
1116
|
certificate_manager_certificates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
963
1117
|
description: Optional[pulumi.Input[str]] = None,
|
1118
|
+
http_keep_alive_timeout_sec: Optional[pulumi.Input[int]] = None,
|
964
1119
|
name: Optional[pulumi.Input[str]] = None,
|
965
1120
|
project: Optional[pulumi.Input[str]] = None,
|
966
1121
|
region: Optional[pulumi.Input[str]] = None,
|
@@ -979,6 +1134,7 @@ class RegionTargetHttpsProxy(pulumi.CustomResource):
|
|
979
1134
|
|
980
1135
|
__props__.__dict__["certificate_manager_certificates"] = certificate_manager_certificates
|
981
1136
|
__props__.__dict__["description"] = description
|
1137
|
+
__props__.__dict__["http_keep_alive_timeout_sec"] = http_keep_alive_timeout_sec
|
982
1138
|
__props__.__dict__["name"] = name
|
983
1139
|
__props__.__dict__["project"] = project
|
984
1140
|
__props__.__dict__["region"] = region
|
@@ -1004,6 +1160,7 @@ class RegionTargetHttpsProxy(pulumi.CustomResource):
|
|
1004
1160
|
certificate_manager_certificates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
1005
1161
|
creation_timestamp: Optional[pulumi.Input[str]] = None,
|
1006
1162
|
description: Optional[pulumi.Input[str]] = None,
|
1163
|
+
http_keep_alive_timeout_sec: Optional[pulumi.Input[int]] = None,
|
1007
1164
|
name: Optional[pulumi.Input[str]] = None,
|
1008
1165
|
project: Optional[pulumi.Input[str]] = None,
|
1009
1166
|
proxy_id: Optional[pulumi.Input[int]] = None,
|
@@ -1025,6 +1182,11 @@ class RegionTargetHttpsProxy(pulumi.CustomResource):
|
|
1025
1182
|
Accepted format is `//certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}` or just the self_link `projects/{project}/locations/{location}/certificates/{resourceName}`
|
1026
1183
|
:param pulumi.Input[str] creation_timestamp: Creation timestamp in RFC3339 text format.
|
1027
1184
|
:param pulumi.Input[str] description: An optional description of this resource.
|
1185
|
+
:param pulumi.Input[int] http_keep_alive_timeout_sec: Specifies how long to keep a connection open, after completing a response,
|
1186
|
+
while there is no matching traffic (in seconds). If an HTTP keepalive is
|
1187
|
+
not specified, a default value (600 seconds) will be used. For Regioanl
|
1188
|
+
HTTP(S) load balancer, the minimum allowed value is 5 seconds and the
|
1189
|
+
maximum allowed value is 600 seconds.
|
1028
1190
|
:param pulumi.Input[str] name: Name of the resource. Provided by the client when the resource is
|
1029
1191
|
created. The name must be 1-63 characters long, and comply with
|
1030
1192
|
RFC1035. Specifically, the name must be 1-63 characters long and match
|
@@ -1070,6 +1232,7 @@ class RegionTargetHttpsProxy(pulumi.CustomResource):
|
|
1070
1232
|
__props__.__dict__["certificate_manager_certificates"] = certificate_manager_certificates
|
1071
1233
|
__props__.__dict__["creation_timestamp"] = creation_timestamp
|
1072
1234
|
__props__.__dict__["description"] = description
|
1235
|
+
__props__.__dict__["http_keep_alive_timeout_sec"] = http_keep_alive_timeout_sec
|
1073
1236
|
__props__.__dict__["name"] = name
|
1074
1237
|
__props__.__dict__["project"] = project
|
1075
1238
|
__props__.__dict__["proxy_id"] = proxy_id
|
@@ -1107,6 +1270,18 @@ class RegionTargetHttpsProxy(pulumi.CustomResource):
|
|
1107
1270
|
"""
|
1108
1271
|
return pulumi.get(self, "description")
|
1109
1272
|
|
1273
|
+
@property
|
1274
|
+
@pulumi.getter(name="httpKeepAliveTimeoutSec")
|
1275
|
+
def http_keep_alive_timeout_sec(self) -> pulumi.Output[Optional[int]]:
|
1276
|
+
"""
|
1277
|
+
Specifies how long to keep a connection open, after completing a response,
|
1278
|
+
while there is no matching traffic (in seconds). If an HTTP keepalive is
|
1279
|
+
not specified, a default value (600 seconds) will be used. For Regioanl
|
1280
|
+
HTTP(S) load balancer, the minimum allowed value is 5 seconds and the
|
1281
|
+
maximum allowed value is 600 seconds.
|
1282
|
+
"""
|
1283
|
+
return pulumi.get(self, "http_keep_alive_timeout_sec")
|
1284
|
+
|
1110
1285
|
@property
|
1111
1286
|
@pulumi.getter
|
1112
1287
|
def name(self) -> pulumi.Output[str]:
|