pulumi-gcp 7.21.0a1714565535__py3-none-any.whl → 7.21.0a1714768411__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 +40 -0
- pulumi_gcp/alloydb/_inputs.py +74 -0
- pulumi_gcp/alloydb/instance.py +90 -0
- pulumi_gcp/alloydb/outputs.py +98 -0
- pulumi_gcp/apigee/environment.py +47 -0
- pulumi_gcp/applicationintegration/__init__.py +1 -0
- pulumi_gcp/applicationintegration/_inputs.py +843 -0
- pulumi_gcp/applicationintegration/auth_config.py +998 -0
- pulumi_gcp/applicationintegration/outputs.py +891 -0
- pulumi_gcp/bigquerydatapolicy/_inputs.py +21 -4
- pulumi_gcp/bigquerydatapolicy/data_policy.py +78 -0
- pulumi_gcp/bigquerydatapolicy/outputs.py +16 -3
- pulumi_gcp/certificateauthority/_inputs.py +92 -12
- pulumi_gcp/certificateauthority/authority.py +110 -0
- pulumi_gcp/certificateauthority/certificate.py +176 -0
- pulumi_gcp/certificateauthority/outputs.py +144 -12
- pulumi_gcp/composer/__init__.py +1 -0
- pulumi_gcp/composer/user_workloads_secret.py +441 -0
- pulumi_gcp/compute/__init__.py +1 -0
- pulumi_gcp/compute/_inputs.py +121 -58
- pulumi_gcp/compute/global_forwarding_rule.py +0 -282
- pulumi_gcp/compute/outputs.py +120 -57
- pulumi_gcp/compute/region_target_https_proxy.py +257 -0
- pulumi_gcp/compute/region_url_map.py +0 -470
- pulumi_gcp/compute/security_policy_rule.py +850 -0
- pulumi_gcp/dataloss/__init__.py +1 -0
- pulumi_gcp/dataloss/_inputs.py +1040 -0
- pulumi_gcp/dataloss/outputs.py +1123 -0
- pulumi_gcp/dataloss/prevention_discovery_config.py +737 -0
- pulumi_gcp/dns/_inputs.py +2 -2
- pulumi_gcp/dns/outputs.py +2 -2
- pulumi_gcp/dns/record_set.py +2 -2
- pulumi_gcp/filestore/get_instance.py +11 -1
- pulumi_gcp/filestore/instance.py +101 -0
- pulumi_gcp/firebase/_inputs.py +16 -0
- pulumi_gcp/firebase/app_check_play_integrity_config.py +20 -0
- pulumi_gcp/firebase/app_check_recaptcha_enterprise_config.py +10 -0
- pulumi_gcp/firebase/hosting_version.py +44 -0
- pulumi_gcp/firebase/outputs.py +12 -0
- pulumi_gcp/logging/folder_sink.py +54 -0
- pulumi_gcp/logging/organization_sink.py +54 -0
- pulumi_gcp/monitoring/_inputs.py +46 -2
- pulumi_gcp/monitoring/outputs.py +40 -2
- pulumi_gcp/monitoring/uptime_check_config.py +6 -0
- pulumi_gcp/networkconnectivity/__init__.py +1 -0
- pulumi_gcp/networkconnectivity/internal_range.py +1024 -0
- pulumi_gcp/secretmanager/get_secret.py +13 -3
- pulumi_gcp/secretmanager/outputs.py +20 -1
- pulumi_gcp/secretmanager/secret.py +90 -3
- pulumi_gcp/storage/__init__.py +1 -0
- pulumi_gcp/storage/get_bucket_objects.py +153 -0
- pulumi_gcp/storage/outputs.py +63 -0
- {pulumi_gcp-7.21.0a1714565535.dist-info → pulumi_gcp-7.21.0a1714768411.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.21.0a1714565535.dist-info → pulumi_gcp-7.21.0a1714768411.dist-info}/RECORD +56 -50
- {pulumi_gcp-7.21.0a1714565535.dist-info → pulumi_gcp-7.21.0a1714768411.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.21.0a1714565535.dist-info → pulumi_gcp-7.21.0a1714768411.dist-info}/top_level.txt +0 -0
@@ -20,6 +20,7 @@ class RegionTargetHttpsProxyArgs:
|
|
20
20
|
name: Optional[pulumi.Input[str]] = None,
|
21
21
|
project: Optional[pulumi.Input[str]] = None,
|
22
22
|
region: Optional[pulumi.Input[str]] = None,
|
23
|
+
server_tls_policy: Optional[pulumi.Input[str]] = None,
|
23
24
|
ssl_certificates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
24
25
|
ssl_policy: Optional[pulumi.Input[str]] = None):
|
25
26
|
"""
|
@@ -45,6 +46,15 @@ class RegionTargetHttpsProxyArgs:
|
|
45
46
|
If it is not provided, the provider project is used.
|
46
47
|
:param pulumi.Input[str] region: The Region in which the created target https proxy should reside.
|
47
48
|
If it is not provided, the provider region is used.
|
49
|
+
:param pulumi.Input[str] server_tls_policy: A URL referring to a networksecurity.ServerTlsPolicy
|
50
|
+
resource that describes how the proxy should authenticate inbound
|
51
|
+
traffic. serverTlsPolicy only applies to a global TargetHttpsProxy
|
52
|
+
attached to globalForwardingRules with the loadBalancingScheme
|
53
|
+
set to INTERNAL_SELF_MANAGED or EXTERNAL or EXTERNAL_MANAGED.
|
54
|
+
For details which ServerTlsPolicy resources are accepted with
|
55
|
+
INTERNAL_SELF_MANAGED and which with EXTERNAL, EXTERNAL_MANAGED
|
56
|
+
loadBalancingScheme consult ServerTlsPolicy documentation.
|
57
|
+
If left blank, communications are not encrypted.
|
48
58
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] ssl_certificates: URLs to SslCertificate resources that are used to authenticate connections between users and the load balancer.
|
49
59
|
At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates.
|
50
60
|
sslCertificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED.
|
@@ -63,6 +73,8 @@ class RegionTargetHttpsProxyArgs:
|
|
63
73
|
pulumi.set(__self__, "project", project)
|
64
74
|
if region is not None:
|
65
75
|
pulumi.set(__self__, "region", region)
|
76
|
+
if server_tls_policy is not None:
|
77
|
+
pulumi.set(__self__, "server_tls_policy", server_tls_policy)
|
66
78
|
if ssl_certificates is not None:
|
67
79
|
pulumi.set(__self__, "ssl_certificates", ssl_certificates)
|
68
80
|
if ssl_policy is not None:
|
@@ -155,6 +167,26 @@ class RegionTargetHttpsProxyArgs:
|
|
155
167
|
def region(self, value: Optional[pulumi.Input[str]]):
|
156
168
|
pulumi.set(self, "region", value)
|
157
169
|
|
170
|
+
@property
|
171
|
+
@pulumi.getter(name="serverTlsPolicy")
|
172
|
+
def server_tls_policy(self) -> Optional[pulumi.Input[str]]:
|
173
|
+
"""
|
174
|
+
A URL referring to a networksecurity.ServerTlsPolicy
|
175
|
+
resource that describes how the proxy should authenticate inbound
|
176
|
+
traffic. serverTlsPolicy only applies to a global TargetHttpsProxy
|
177
|
+
attached to globalForwardingRules with the loadBalancingScheme
|
178
|
+
set to INTERNAL_SELF_MANAGED or EXTERNAL or EXTERNAL_MANAGED.
|
179
|
+
For details which ServerTlsPolicy resources are accepted with
|
180
|
+
INTERNAL_SELF_MANAGED and which with EXTERNAL, EXTERNAL_MANAGED
|
181
|
+
loadBalancingScheme consult ServerTlsPolicy documentation.
|
182
|
+
If left blank, communications are not encrypted.
|
183
|
+
"""
|
184
|
+
return pulumi.get(self, "server_tls_policy")
|
185
|
+
|
186
|
+
@server_tls_policy.setter
|
187
|
+
def server_tls_policy(self, value: Optional[pulumi.Input[str]]):
|
188
|
+
pulumi.set(self, "server_tls_policy", value)
|
189
|
+
|
158
190
|
@property
|
159
191
|
@pulumi.getter(name="sslCertificates")
|
160
192
|
def ssl_certificates(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
@@ -195,6 +227,7 @@ class _RegionTargetHttpsProxyState:
|
|
195
227
|
proxy_id: Optional[pulumi.Input[int]] = None,
|
196
228
|
region: Optional[pulumi.Input[str]] = None,
|
197
229
|
self_link: Optional[pulumi.Input[str]] = None,
|
230
|
+
server_tls_policy: Optional[pulumi.Input[str]] = None,
|
198
231
|
ssl_certificates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
199
232
|
ssl_policy: Optional[pulumi.Input[str]] = None,
|
200
233
|
url_map: Optional[pulumi.Input[str]] = None):
|
@@ -219,6 +252,15 @@ class _RegionTargetHttpsProxyState:
|
|
219
252
|
:param pulumi.Input[str] region: The Region in which the created target https proxy should reside.
|
220
253
|
If it is not provided, the provider region is used.
|
221
254
|
:param pulumi.Input[str] self_link: The URI of the created resource.
|
255
|
+
:param pulumi.Input[str] server_tls_policy: A URL referring to a networksecurity.ServerTlsPolicy
|
256
|
+
resource that describes how the proxy should authenticate inbound
|
257
|
+
traffic. serverTlsPolicy only applies to a global TargetHttpsProxy
|
258
|
+
attached to globalForwardingRules with the loadBalancingScheme
|
259
|
+
set to INTERNAL_SELF_MANAGED or EXTERNAL or EXTERNAL_MANAGED.
|
260
|
+
For details which ServerTlsPolicy resources are accepted with
|
261
|
+
INTERNAL_SELF_MANAGED and which with EXTERNAL, EXTERNAL_MANAGED
|
262
|
+
loadBalancingScheme consult ServerTlsPolicy documentation.
|
263
|
+
If left blank, communications are not encrypted.
|
222
264
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] ssl_certificates: URLs to SslCertificate resources that are used to authenticate connections between users and the load balancer.
|
223
265
|
At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates.
|
224
266
|
sslCertificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED.
|
@@ -247,6 +289,8 @@ class _RegionTargetHttpsProxyState:
|
|
247
289
|
pulumi.set(__self__, "region", region)
|
248
290
|
if self_link is not None:
|
249
291
|
pulumi.set(__self__, "self_link", self_link)
|
292
|
+
if server_tls_policy is not None:
|
293
|
+
pulumi.set(__self__, "server_tls_policy", server_tls_policy)
|
250
294
|
if ssl_certificates is not None:
|
251
295
|
pulumi.set(__self__, "ssl_certificates", ssl_certificates)
|
252
296
|
if ssl_policy is not None:
|
@@ -361,6 +405,26 @@ class _RegionTargetHttpsProxyState:
|
|
361
405
|
def self_link(self, value: Optional[pulumi.Input[str]]):
|
362
406
|
pulumi.set(self, "self_link", value)
|
363
407
|
|
408
|
+
@property
|
409
|
+
@pulumi.getter(name="serverTlsPolicy")
|
410
|
+
def server_tls_policy(self) -> Optional[pulumi.Input[str]]:
|
411
|
+
"""
|
412
|
+
A URL referring to a networksecurity.ServerTlsPolicy
|
413
|
+
resource that describes how the proxy should authenticate inbound
|
414
|
+
traffic. serverTlsPolicy only applies to a global TargetHttpsProxy
|
415
|
+
attached to globalForwardingRules with the loadBalancingScheme
|
416
|
+
set to INTERNAL_SELF_MANAGED or EXTERNAL or EXTERNAL_MANAGED.
|
417
|
+
For details which ServerTlsPolicy resources are accepted with
|
418
|
+
INTERNAL_SELF_MANAGED and which with EXTERNAL, EXTERNAL_MANAGED
|
419
|
+
loadBalancingScheme consult ServerTlsPolicy documentation.
|
420
|
+
If left blank, communications are not encrypted.
|
421
|
+
"""
|
422
|
+
return pulumi.get(self, "server_tls_policy")
|
423
|
+
|
424
|
+
@server_tls_policy.setter
|
425
|
+
def server_tls_policy(self, value: Optional[pulumi.Input[str]]):
|
426
|
+
pulumi.set(self, "server_tls_policy", value)
|
427
|
+
|
364
428
|
@property
|
365
429
|
@pulumi.getter(name="sslCertificates")
|
366
430
|
def ssl_certificates(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
@@ -416,6 +480,7 @@ class RegionTargetHttpsProxy(pulumi.CustomResource):
|
|
416
480
|
name: Optional[pulumi.Input[str]] = None,
|
417
481
|
project: Optional[pulumi.Input[str]] = None,
|
418
482
|
region: Optional[pulumi.Input[str]] = None,
|
483
|
+
server_tls_policy: Optional[pulumi.Input[str]] = None,
|
419
484
|
ssl_certificates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
420
485
|
ssl_policy: Optional[pulumi.Input[str]] = None,
|
421
486
|
url_map: Optional[pulumi.Input[str]] = None,
|
@@ -480,6 +545,83 @@ class RegionTargetHttpsProxy(pulumi.CustomResource):
|
|
480
545
|
url_map=default_region_url_map.id,
|
481
546
|
ssl_certificates=[default_region_ssl_certificate.id])
|
482
547
|
```
|
548
|
+
### Region Target Https Proxy Mtls
|
549
|
+
|
550
|
+
```python
|
551
|
+
import pulumi
|
552
|
+
import pulumi_gcp as gcp
|
553
|
+
import pulumi_std as std
|
554
|
+
|
555
|
+
project = gcp.organizations.get_project()
|
556
|
+
default_trust_config = gcp.certificatemanager.TrustConfig("default",
|
557
|
+
location="us-central1",
|
558
|
+
name="my-trust-config",
|
559
|
+
description="sample description for trust config",
|
560
|
+
trust_stores=[gcp.certificatemanager.TrustConfigTrustStoreArgs(
|
561
|
+
trust_anchors=[gcp.certificatemanager.TrustConfigTrustStoreTrustAnchorArgs(
|
562
|
+
pem_certificate=std.file(input="test-fixtures/ca_cert.pem").result,
|
563
|
+
)],
|
564
|
+
intermediate_cas=[gcp.certificatemanager.TrustConfigTrustStoreIntermediateCaArgs(
|
565
|
+
pem_certificate=std.file(input="test-fixtures/ca_cert.pem").result,
|
566
|
+
)],
|
567
|
+
)],
|
568
|
+
labels={
|
569
|
+
"foo": "bar",
|
570
|
+
})
|
571
|
+
default_server_tls_policy = gcp.networksecurity.ServerTlsPolicy("default",
|
572
|
+
location="us-central1",
|
573
|
+
name="my-tls-policy",
|
574
|
+
description="my description",
|
575
|
+
allow_open=False,
|
576
|
+
mtls_policy=gcp.networksecurity.ServerTlsPolicyMtlsPolicyArgs(
|
577
|
+
client_validation_mode="REJECT_INVALID",
|
578
|
+
client_validation_trust_config=default_trust_config.name.apply(lambda name: f"projects/{project.number}/locations/us-central1/trustConfigs/{name}"),
|
579
|
+
))
|
580
|
+
default_region_ssl_certificate = gcp.compute.RegionSslCertificate("default",
|
581
|
+
region="us-central1",
|
582
|
+
name="my-certificate",
|
583
|
+
private_key=std.file(input="path/to/private.key").result,
|
584
|
+
certificate=std.file(input="path/to/certificate.crt").result)
|
585
|
+
default_region_health_check = gcp.compute.RegionHealthCheck("default",
|
586
|
+
region="us-central1",
|
587
|
+
name="http-health-check",
|
588
|
+
check_interval_sec=1,
|
589
|
+
timeout_sec=1,
|
590
|
+
http_health_check=gcp.compute.RegionHealthCheckHttpHealthCheckArgs(
|
591
|
+
port=80,
|
592
|
+
))
|
593
|
+
default_region_backend_service = gcp.compute.RegionBackendService("default",
|
594
|
+
region="us-central1",
|
595
|
+
name="backend-service",
|
596
|
+
port_name="http",
|
597
|
+
protocol="HTTP",
|
598
|
+
timeout_sec=10,
|
599
|
+
load_balancing_scheme="INTERNAL_MANAGED",
|
600
|
+
health_checks=default_region_health_check.id)
|
601
|
+
default_region_url_map = gcp.compute.RegionUrlMap("default",
|
602
|
+
region="us-central1",
|
603
|
+
name="url-map",
|
604
|
+
description="a description",
|
605
|
+
default_service=default_region_backend_service.id,
|
606
|
+
host_rules=[gcp.compute.RegionUrlMapHostRuleArgs(
|
607
|
+
hosts=["mysite.com"],
|
608
|
+
path_matcher="allpaths",
|
609
|
+
)],
|
610
|
+
path_matchers=[gcp.compute.RegionUrlMapPathMatcherArgs(
|
611
|
+
name="allpaths",
|
612
|
+
default_service=default_region_backend_service.id,
|
613
|
+
path_rules=[gcp.compute.RegionUrlMapPathMatcherPathRuleArgs(
|
614
|
+
paths=["/*"],
|
615
|
+
service=default_region_backend_service.id,
|
616
|
+
)],
|
617
|
+
)])
|
618
|
+
default = gcp.compute.RegionTargetHttpsProxy("default",
|
619
|
+
region="us-central1",
|
620
|
+
name="test-mtls-proxy",
|
621
|
+
url_map=default_region_url_map.id,
|
622
|
+
ssl_certificates=[default_region_ssl_certificate.id],
|
623
|
+
server_tls_policy=default_server_tls_policy.id)
|
624
|
+
```
|
483
625
|
### Region Target Https Proxy Certificate Manager Certificate
|
484
626
|
|
485
627
|
```python
|
@@ -558,6 +700,15 @@ class RegionTargetHttpsProxy(pulumi.CustomResource):
|
|
558
700
|
If it is not provided, the provider project is used.
|
559
701
|
:param pulumi.Input[str] region: The Region in which the created target https proxy should reside.
|
560
702
|
If it is not provided, the provider region is used.
|
703
|
+
:param pulumi.Input[str] server_tls_policy: A URL referring to a networksecurity.ServerTlsPolicy
|
704
|
+
resource that describes how the proxy should authenticate inbound
|
705
|
+
traffic. serverTlsPolicy only applies to a global TargetHttpsProxy
|
706
|
+
attached to globalForwardingRules with the loadBalancingScheme
|
707
|
+
set to INTERNAL_SELF_MANAGED or EXTERNAL or EXTERNAL_MANAGED.
|
708
|
+
For details which ServerTlsPolicy resources are accepted with
|
709
|
+
INTERNAL_SELF_MANAGED and which with EXTERNAL, EXTERNAL_MANAGED
|
710
|
+
loadBalancingScheme consult ServerTlsPolicy documentation.
|
711
|
+
If left blank, communications are not encrypted.
|
561
712
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] ssl_certificates: URLs to SslCertificate resources that are used to authenticate connections between users and the load balancer.
|
562
713
|
At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates.
|
563
714
|
sslCertificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED.
|
@@ -636,6 +787,83 @@ class RegionTargetHttpsProxy(pulumi.CustomResource):
|
|
636
787
|
url_map=default_region_url_map.id,
|
637
788
|
ssl_certificates=[default_region_ssl_certificate.id])
|
638
789
|
```
|
790
|
+
### Region Target Https Proxy Mtls
|
791
|
+
|
792
|
+
```python
|
793
|
+
import pulumi
|
794
|
+
import pulumi_gcp as gcp
|
795
|
+
import pulumi_std as std
|
796
|
+
|
797
|
+
project = gcp.organizations.get_project()
|
798
|
+
default_trust_config = gcp.certificatemanager.TrustConfig("default",
|
799
|
+
location="us-central1",
|
800
|
+
name="my-trust-config",
|
801
|
+
description="sample description for trust config",
|
802
|
+
trust_stores=[gcp.certificatemanager.TrustConfigTrustStoreArgs(
|
803
|
+
trust_anchors=[gcp.certificatemanager.TrustConfigTrustStoreTrustAnchorArgs(
|
804
|
+
pem_certificate=std.file(input="test-fixtures/ca_cert.pem").result,
|
805
|
+
)],
|
806
|
+
intermediate_cas=[gcp.certificatemanager.TrustConfigTrustStoreIntermediateCaArgs(
|
807
|
+
pem_certificate=std.file(input="test-fixtures/ca_cert.pem").result,
|
808
|
+
)],
|
809
|
+
)],
|
810
|
+
labels={
|
811
|
+
"foo": "bar",
|
812
|
+
})
|
813
|
+
default_server_tls_policy = gcp.networksecurity.ServerTlsPolicy("default",
|
814
|
+
location="us-central1",
|
815
|
+
name="my-tls-policy",
|
816
|
+
description="my description",
|
817
|
+
allow_open=False,
|
818
|
+
mtls_policy=gcp.networksecurity.ServerTlsPolicyMtlsPolicyArgs(
|
819
|
+
client_validation_mode="REJECT_INVALID",
|
820
|
+
client_validation_trust_config=default_trust_config.name.apply(lambda name: f"projects/{project.number}/locations/us-central1/trustConfigs/{name}"),
|
821
|
+
))
|
822
|
+
default_region_ssl_certificate = gcp.compute.RegionSslCertificate("default",
|
823
|
+
region="us-central1",
|
824
|
+
name="my-certificate",
|
825
|
+
private_key=std.file(input="path/to/private.key").result,
|
826
|
+
certificate=std.file(input="path/to/certificate.crt").result)
|
827
|
+
default_region_health_check = gcp.compute.RegionHealthCheck("default",
|
828
|
+
region="us-central1",
|
829
|
+
name="http-health-check",
|
830
|
+
check_interval_sec=1,
|
831
|
+
timeout_sec=1,
|
832
|
+
http_health_check=gcp.compute.RegionHealthCheckHttpHealthCheckArgs(
|
833
|
+
port=80,
|
834
|
+
))
|
835
|
+
default_region_backend_service = gcp.compute.RegionBackendService("default",
|
836
|
+
region="us-central1",
|
837
|
+
name="backend-service",
|
838
|
+
port_name="http",
|
839
|
+
protocol="HTTP",
|
840
|
+
timeout_sec=10,
|
841
|
+
load_balancing_scheme="INTERNAL_MANAGED",
|
842
|
+
health_checks=default_region_health_check.id)
|
843
|
+
default_region_url_map = gcp.compute.RegionUrlMap("default",
|
844
|
+
region="us-central1",
|
845
|
+
name="url-map",
|
846
|
+
description="a description",
|
847
|
+
default_service=default_region_backend_service.id,
|
848
|
+
host_rules=[gcp.compute.RegionUrlMapHostRuleArgs(
|
849
|
+
hosts=["mysite.com"],
|
850
|
+
path_matcher="allpaths",
|
851
|
+
)],
|
852
|
+
path_matchers=[gcp.compute.RegionUrlMapPathMatcherArgs(
|
853
|
+
name="allpaths",
|
854
|
+
default_service=default_region_backend_service.id,
|
855
|
+
path_rules=[gcp.compute.RegionUrlMapPathMatcherPathRuleArgs(
|
856
|
+
paths=["/*"],
|
857
|
+
service=default_region_backend_service.id,
|
858
|
+
)],
|
859
|
+
)])
|
860
|
+
default = gcp.compute.RegionTargetHttpsProxy("default",
|
861
|
+
region="us-central1",
|
862
|
+
name="test-mtls-proxy",
|
863
|
+
url_map=default_region_url_map.id,
|
864
|
+
ssl_certificates=[default_region_ssl_certificate.id],
|
865
|
+
server_tls_policy=default_server_tls_policy.id)
|
866
|
+
```
|
639
867
|
### Region Target Https Proxy Certificate Manager Certificate
|
640
868
|
|
641
869
|
```python
|
@@ -716,6 +944,7 @@ class RegionTargetHttpsProxy(pulumi.CustomResource):
|
|
716
944
|
name: Optional[pulumi.Input[str]] = None,
|
717
945
|
project: Optional[pulumi.Input[str]] = None,
|
718
946
|
region: Optional[pulumi.Input[str]] = None,
|
947
|
+
server_tls_policy: Optional[pulumi.Input[str]] = None,
|
719
948
|
ssl_certificates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
720
949
|
ssl_policy: Optional[pulumi.Input[str]] = None,
|
721
950
|
url_map: Optional[pulumi.Input[str]] = None,
|
@@ -733,6 +962,7 @@ class RegionTargetHttpsProxy(pulumi.CustomResource):
|
|
733
962
|
__props__.__dict__["name"] = name
|
734
963
|
__props__.__dict__["project"] = project
|
735
964
|
__props__.__dict__["region"] = region
|
965
|
+
__props__.__dict__["server_tls_policy"] = server_tls_policy
|
736
966
|
__props__.__dict__["ssl_certificates"] = ssl_certificates
|
737
967
|
__props__.__dict__["ssl_policy"] = ssl_policy
|
738
968
|
if url_map is None and not opts.urn:
|
@@ -759,6 +989,7 @@ class RegionTargetHttpsProxy(pulumi.CustomResource):
|
|
759
989
|
proxy_id: Optional[pulumi.Input[int]] = None,
|
760
990
|
region: Optional[pulumi.Input[str]] = None,
|
761
991
|
self_link: Optional[pulumi.Input[str]] = None,
|
992
|
+
server_tls_policy: Optional[pulumi.Input[str]] = None,
|
762
993
|
ssl_certificates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
763
994
|
ssl_policy: Optional[pulumi.Input[str]] = None,
|
764
995
|
url_map: Optional[pulumi.Input[str]] = None) -> 'RegionTargetHttpsProxy':
|
@@ -788,6 +1019,15 @@ class RegionTargetHttpsProxy(pulumi.CustomResource):
|
|
788
1019
|
:param pulumi.Input[str] region: The Region in which the created target https proxy should reside.
|
789
1020
|
If it is not provided, the provider region is used.
|
790
1021
|
:param pulumi.Input[str] self_link: The URI of the created resource.
|
1022
|
+
:param pulumi.Input[str] server_tls_policy: A URL referring to a networksecurity.ServerTlsPolicy
|
1023
|
+
resource that describes how the proxy should authenticate inbound
|
1024
|
+
traffic. serverTlsPolicy only applies to a global TargetHttpsProxy
|
1025
|
+
attached to globalForwardingRules with the loadBalancingScheme
|
1026
|
+
set to INTERNAL_SELF_MANAGED or EXTERNAL or EXTERNAL_MANAGED.
|
1027
|
+
For details which ServerTlsPolicy resources are accepted with
|
1028
|
+
INTERNAL_SELF_MANAGED and which with EXTERNAL, EXTERNAL_MANAGED
|
1029
|
+
loadBalancingScheme consult ServerTlsPolicy documentation.
|
1030
|
+
If left blank, communications are not encrypted.
|
791
1031
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] ssl_certificates: URLs to SslCertificate resources that are used to authenticate connections between users and the load balancer.
|
792
1032
|
At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates.
|
793
1033
|
sslCertificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED.
|
@@ -812,6 +1052,7 @@ class RegionTargetHttpsProxy(pulumi.CustomResource):
|
|
812
1052
|
__props__.__dict__["proxy_id"] = proxy_id
|
813
1053
|
__props__.__dict__["region"] = region
|
814
1054
|
__props__.__dict__["self_link"] = self_link
|
1055
|
+
__props__.__dict__["server_tls_policy"] = server_tls_policy
|
815
1056
|
__props__.__dict__["ssl_certificates"] = ssl_certificates
|
816
1057
|
__props__.__dict__["ssl_policy"] = ssl_policy
|
817
1058
|
__props__.__dict__["url_map"] = url_map
|
@@ -892,6 +1133,22 @@ class RegionTargetHttpsProxy(pulumi.CustomResource):
|
|
892
1133
|
"""
|
893
1134
|
return pulumi.get(self, "self_link")
|
894
1135
|
|
1136
|
+
@property
|
1137
|
+
@pulumi.getter(name="serverTlsPolicy")
|
1138
|
+
def server_tls_policy(self) -> pulumi.Output[Optional[str]]:
|
1139
|
+
"""
|
1140
|
+
A URL referring to a networksecurity.ServerTlsPolicy
|
1141
|
+
resource that describes how the proxy should authenticate inbound
|
1142
|
+
traffic. serverTlsPolicy only applies to a global TargetHttpsProxy
|
1143
|
+
attached to globalForwardingRules with the loadBalancingScheme
|
1144
|
+
set to INTERNAL_SELF_MANAGED or EXTERNAL or EXTERNAL_MANAGED.
|
1145
|
+
For details which ServerTlsPolicy resources are accepted with
|
1146
|
+
INTERNAL_SELF_MANAGED and which with EXTERNAL, EXTERNAL_MANAGED
|
1147
|
+
loadBalancingScheme consult ServerTlsPolicy documentation.
|
1148
|
+
If left blank, communications are not encrypted.
|
1149
|
+
"""
|
1150
|
+
return pulumi.get(self, "server_tls_policy")
|
1151
|
+
|
895
1152
|
@property
|
896
1153
|
@pulumi.getter(name="sslCertificates")
|
897
1154
|
def ssl_certificates(self) -> pulumi.Output[Optional[Sequence[str]]]:
|