pulumi-gcp 7.30.0__py3-none-any.whl → 7.30.0a1719513455__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_gcp/__init__.py +0 -32
- pulumi_gcp/artifactregistry/get_docker_image.py +2 -2
- pulumi_gcp/bigtable/gc_policy.py +14 -68
- pulumi_gcp/cloudfunctionsv2/_inputs.py +0 -97
- pulumi_gcp/cloudfunctionsv2/function.py +0 -232
- pulumi_gcp/cloudfunctionsv2/outputs.py +1 -129
- pulumi_gcp/compute/_inputs.py +0 -622
- pulumi_gcp/compute/address.py +7 -0
- pulumi_gcp/compute/backend_service.py +14 -0
- pulumi_gcp/compute/forwarding_rule.py +21 -0
- pulumi_gcp/compute/global_forwarding_rule.py +21 -0
- pulumi_gcp/compute/managed_ssl_certificate.py +7 -0
- pulumi_gcp/compute/manged_ssl_certificate.py +7 -0
- pulumi_gcp/compute/network_attachment.py +0 -16
- pulumi_gcp/compute/outputs.py +8 -504
- pulumi_gcp/compute/region_backend_service.py +14 -0
- pulumi_gcp/compute/region_disk_iam_binding.py +95 -122
- pulumi_gcp/compute/region_disk_iam_member.py +95 -122
- pulumi_gcp/compute/region_disk_iam_policy.py +88 -115
- pulumi_gcp/compute/region_ssl_certificate.py +7 -0
- pulumi_gcp/compute/ssl_certificate.py +7 -0
- pulumi_gcp/compute/target_https_proxy.py +1 -76
- pulumi_gcp/compute/url_map.py +0 -255
- pulumi_gcp/container/aws_cluster.py +2 -2
- pulumi_gcp/container/aws_node_pool.py +2 -2
- pulumi_gcp/container/azure_client.py +2 -2
- pulumi_gcp/container/azure_cluster.py +2 -2
- pulumi_gcp/container/azure_node_pool.py +2 -2
- pulumi_gcp/datafusion/_inputs.py +11 -163
- pulumi_gcp/datafusion/instance.py +0 -64
- pulumi_gcp/datafusion/outputs.py +7 -127
- pulumi_gcp/gkebackup/restore_plan_iam_binding.py +953 -328
- pulumi_gcp/gkebackup/restore_plan_iam_member.py +953 -328
- pulumi_gcp/gkebackup/restore_plan_iam_policy.py +953 -238
- pulumi_gcp/healthcare/_inputs.py +0 -43
- pulumi_gcp/healthcare/dataset.py +0 -110
- pulumi_gcp/healthcare/outputs.py +0 -43
- pulumi_gcp/identityplatform/config.py +1 -1
- pulumi_gcp/logging/billing_account_bucket_config.py +1 -1
- pulumi_gcp/logging/folder_bucket_config.py +1 -1
- pulumi_gcp/logging/organization_bucket_config.py +1 -1
- pulumi_gcp/monitoring/_inputs.py +0 -77
- pulumi_gcp/monitoring/outputs.py +0 -63
- pulumi_gcp/networksecurity/address_group_iam_binding.py +2 -289
- pulumi_gcp/networksecurity/address_group_iam_member.py +2 -289
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/securitycenter/instance_iam_binding.py +0 -64
- pulumi_gcp/securitycenter/instance_iam_member.py +0 -64
- pulumi_gcp/securitycenter/instance_iam_policy.py +0 -64
- pulumi_gcp/sourcerepo/repository_iam_binding.py +83 -92
- pulumi_gcp/sourcerepo/repository_iam_member.py +83 -92
- pulumi_gcp/sourcerepo/repository_iam_policy.py +76 -85
- pulumi_gcp/storage/__init__.py +0 -5
- pulumi_gcp/storage/_inputs.py +0 -130
- pulumi_gcp/storage/outputs.py +0 -76
- pulumi_gcp/vertex/_inputs.py +3 -3
- pulumi_gcp/vertex/ai_feature_online_store.py +9 -9
- pulumi_gcp/vertex/outputs.py +2 -2
- {pulumi_gcp-7.30.0.dist-info → pulumi_gcp-7.30.0a1719513455.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.30.0.dist-info → pulumi_gcp-7.30.0a1719513455.dist-info}/RECORD +62 -67
- {pulumi_gcp-7.30.0.dist-info → pulumi_gcp-7.30.0a1719513455.dist-info}/WHEEL +1 -1
- pulumi_gcp/storage/get_managed_folder_iam_policy.py +0 -115
- pulumi_gcp/storage/managed_folder.py +0 -440
- pulumi_gcp/storage/managed_folder_iam_binding.py +0 -947
- pulumi_gcp/storage/managed_folder_iam_member.py +0 -947
- pulumi_gcp/storage/managed_folder_iam_policy.py +0 -766
- {pulumi_gcp-7.30.0.dist-info → pulumi_gcp-7.30.0a1719513455.dist-info}/top_level.txt +0 -0
@@ -30,8 +30,7 @@ class TargetHttpsProxyArgs:
|
|
30
30
|
quic_override: Optional[pulumi.Input[str]] = None,
|
31
31
|
server_tls_policy: Optional[pulumi.Input[str]] = None,
|
32
32
|
ssl_certificates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
33
|
-
ssl_policy: Optional[pulumi.Input[str]] = None
|
34
|
-
tls_early_data: Optional[pulumi.Input[str]] = None):
|
33
|
+
ssl_policy: Optional[pulumi.Input[str]] = None):
|
35
34
|
"""
|
36
35
|
The set of arguments for constructing a TargetHttpsProxy resource.
|
37
36
|
:param pulumi.Input[str] url_map: A reference to the UrlMap resource that defines the mapping from URL
|
@@ -87,11 +86,6 @@ class TargetHttpsProxyArgs:
|
|
87
86
|
:param pulumi.Input[str] ssl_policy: A reference to the SslPolicy resource that will be associated with
|
88
87
|
the TargetHttpsProxy resource. If not set, the TargetHttpsProxy
|
89
88
|
resource will not have any SSL policy configured.
|
90
|
-
:param pulumi.Input[str] tls_early_data: Specifies whether TLS 1.3 0-RTT Data (“Early Data”) should be accepted for this service.
|
91
|
-
Early Data allows a TLS resumption handshake to include the initial application payload
|
92
|
-
(a HTTP request) alongside the handshake, reducing the effective round trips to “zero”.
|
93
|
-
This applies to TLS 1.3 connections over TCP (HTTP/2) as well as over UDP (QUIC/h3).
|
94
|
-
Possible values are: `STRICT`, `PERMISSIVE`, `DISABLED`.
|
95
89
|
"""
|
96
90
|
pulumi.set(__self__, "url_map", url_map)
|
97
91
|
if certificate_manager_certificates is not None:
|
@@ -116,8 +110,6 @@ class TargetHttpsProxyArgs:
|
|
116
110
|
pulumi.set(__self__, "ssl_certificates", ssl_certificates)
|
117
111
|
if ssl_policy is not None:
|
118
112
|
pulumi.set(__self__, "ssl_policy", ssl_policy)
|
119
|
-
if tls_early_data is not None:
|
120
|
-
pulumi.set(__self__, "tls_early_data", tls_early_data)
|
121
113
|
|
122
114
|
@property
|
123
115
|
@pulumi.getter(name="urlMap")
|
@@ -304,22 +296,6 @@ class TargetHttpsProxyArgs:
|
|
304
296
|
def ssl_policy(self, value: Optional[pulumi.Input[str]]):
|
305
297
|
pulumi.set(self, "ssl_policy", value)
|
306
298
|
|
307
|
-
@property
|
308
|
-
@pulumi.getter(name="tlsEarlyData")
|
309
|
-
def tls_early_data(self) -> Optional[pulumi.Input[str]]:
|
310
|
-
"""
|
311
|
-
Specifies whether TLS 1.3 0-RTT Data (“Early Data”) should be accepted for this service.
|
312
|
-
Early Data allows a TLS resumption handshake to include the initial application payload
|
313
|
-
(a HTTP request) alongside the handshake, reducing the effective round trips to “zero”.
|
314
|
-
This applies to TLS 1.3 connections over TCP (HTTP/2) as well as over UDP (QUIC/h3).
|
315
|
-
Possible values are: `STRICT`, `PERMISSIVE`, `DISABLED`.
|
316
|
-
"""
|
317
|
-
return pulumi.get(self, "tls_early_data")
|
318
|
-
|
319
|
-
@tls_early_data.setter
|
320
|
-
def tls_early_data(self, value: Optional[pulumi.Input[str]]):
|
321
|
-
pulumi.set(self, "tls_early_data", value)
|
322
|
-
|
323
299
|
|
324
300
|
@pulumi.input_type
|
325
301
|
class _TargetHttpsProxyState:
|
@@ -338,7 +314,6 @@ class _TargetHttpsProxyState:
|
|
338
314
|
server_tls_policy: Optional[pulumi.Input[str]] = None,
|
339
315
|
ssl_certificates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
340
316
|
ssl_policy: Optional[pulumi.Input[str]] = None,
|
341
|
-
tls_early_data: Optional[pulumi.Input[str]] = None,
|
342
317
|
url_map: Optional[pulumi.Input[str]] = None):
|
343
318
|
"""
|
344
319
|
Input properties used for looking up and filtering TargetHttpsProxy resources.
|
@@ -393,11 +368,6 @@ class _TargetHttpsProxyState:
|
|
393
368
|
:param pulumi.Input[str] ssl_policy: A reference to the SslPolicy resource that will be associated with
|
394
369
|
the TargetHttpsProxy resource. If not set, the TargetHttpsProxy
|
395
370
|
resource will not have any SSL policy configured.
|
396
|
-
:param pulumi.Input[str] tls_early_data: Specifies whether TLS 1.3 0-RTT Data (“Early Data”) should be accepted for this service.
|
397
|
-
Early Data allows a TLS resumption handshake to include the initial application payload
|
398
|
-
(a HTTP request) alongside the handshake, reducing the effective round trips to “zero”.
|
399
|
-
This applies to TLS 1.3 connections over TCP (HTTP/2) as well as over UDP (QUIC/h3).
|
400
|
-
Possible values are: `STRICT`, `PERMISSIVE`, `DISABLED`.
|
401
371
|
:param pulumi.Input[str] url_map: A reference to the UrlMap resource that defines the mapping from URL
|
402
372
|
to the BackendService.
|
403
373
|
|
@@ -432,8 +402,6 @@ class _TargetHttpsProxyState:
|
|
432
402
|
pulumi.set(__self__, "ssl_certificates", ssl_certificates)
|
433
403
|
if ssl_policy is not None:
|
434
404
|
pulumi.set(__self__, "ssl_policy", ssl_policy)
|
435
|
-
if tls_early_data is not None:
|
436
|
-
pulumi.set(__self__, "tls_early_data", tls_early_data)
|
437
405
|
if url_map is not None:
|
438
406
|
pulumi.set(__self__, "url_map", url_map)
|
439
407
|
|
@@ -642,22 +610,6 @@ class _TargetHttpsProxyState:
|
|
642
610
|
def ssl_policy(self, value: Optional[pulumi.Input[str]]):
|
643
611
|
pulumi.set(self, "ssl_policy", value)
|
644
612
|
|
645
|
-
@property
|
646
|
-
@pulumi.getter(name="tlsEarlyData")
|
647
|
-
def tls_early_data(self) -> Optional[pulumi.Input[str]]:
|
648
|
-
"""
|
649
|
-
Specifies whether TLS 1.3 0-RTT Data (“Early Data”) should be accepted for this service.
|
650
|
-
Early Data allows a TLS resumption handshake to include the initial application payload
|
651
|
-
(a HTTP request) alongside the handshake, reducing the effective round trips to “zero”.
|
652
|
-
This applies to TLS 1.3 connections over TCP (HTTP/2) as well as over UDP (QUIC/h3).
|
653
|
-
Possible values are: `STRICT`, `PERMISSIVE`, `DISABLED`.
|
654
|
-
"""
|
655
|
-
return pulumi.get(self, "tls_early_data")
|
656
|
-
|
657
|
-
@tls_early_data.setter
|
658
|
-
def tls_early_data(self, value: Optional[pulumi.Input[str]]):
|
659
|
-
pulumi.set(self, "tls_early_data", value)
|
660
|
-
|
661
613
|
@property
|
662
614
|
@pulumi.getter(name="urlMap")
|
663
615
|
def url_map(self) -> Optional[pulumi.Input[str]]:
|
@@ -691,7 +643,6 @@ class TargetHttpsProxy(pulumi.CustomResource):
|
|
691
643
|
server_tls_policy: Optional[pulumi.Input[str]] = None,
|
692
644
|
ssl_certificates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
693
645
|
ssl_policy: Optional[pulumi.Input[str]] = None,
|
694
|
-
tls_early_data: Optional[pulumi.Input[str]] = None,
|
695
646
|
url_map: Optional[pulumi.Input[str]] = None,
|
696
647
|
__props__=None):
|
697
648
|
"""
|
@@ -979,11 +930,6 @@ class TargetHttpsProxy(pulumi.CustomResource):
|
|
979
930
|
:param pulumi.Input[str] ssl_policy: A reference to the SslPolicy resource that will be associated with
|
980
931
|
the TargetHttpsProxy resource. If not set, the TargetHttpsProxy
|
981
932
|
resource will not have any SSL policy configured.
|
982
|
-
:param pulumi.Input[str] tls_early_data: Specifies whether TLS 1.3 0-RTT Data (“Early Data”) should be accepted for this service.
|
983
|
-
Early Data allows a TLS resumption handshake to include the initial application payload
|
984
|
-
(a HTTP request) alongside the handshake, reducing the effective round trips to “zero”.
|
985
|
-
This applies to TLS 1.3 connections over TCP (HTTP/2) as well as over UDP (QUIC/h3).
|
986
|
-
Possible values are: `STRICT`, `PERMISSIVE`, `DISABLED`.
|
987
933
|
:param pulumi.Input[str] url_map: A reference to the UrlMap resource that defines the mapping from URL
|
988
934
|
to the BackendService.
|
989
935
|
|
@@ -1257,7 +1203,6 @@ class TargetHttpsProxy(pulumi.CustomResource):
|
|
1257
1203
|
server_tls_policy: Optional[pulumi.Input[str]] = None,
|
1258
1204
|
ssl_certificates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
1259
1205
|
ssl_policy: Optional[pulumi.Input[str]] = None,
|
1260
|
-
tls_early_data: Optional[pulumi.Input[str]] = None,
|
1261
1206
|
url_map: Optional[pulumi.Input[str]] = None,
|
1262
1207
|
__props__=None):
|
1263
1208
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
@@ -1279,7 +1224,6 @@ class TargetHttpsProxy(pulumi.CustomResource):
|
|
1279
1224
|
__props__.__dict__["server_tls_policy"] = server_tls_policy
|
1280
1225
|
__props__.__dict__["ssl_certificates"] = ssl_certificates
|
1281
1226
|
__props__.__dict__["ssl_policy"] = ssl_policy
|
1282
|
-
__props__.__dict__["tls_early_data"] = tls_early_data
|
1283
1227
|
if url_map is None and not opts.urn:
|
1284
1228
|
raise TypeError("Missing required property 'url_map'")
|
1285
1229
|
__props__.__dict__["url_map"] = url_map
|
@@ -1310,7 +1254,6 @@ class TargetHttpsProxy(pulumi.CustomResource):
|
|
1310
1254
|
server_tls_policy: Optional[pulumi.Input[str]] = None,
|
1311
1255
|
ssl_certificates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
1312
1256
|
ssl_policy: Optional[pulumi.Input[str]] = None,
|
1313
|
-
tls_early_data: Optional[pulumi.Input[str]] = None,
|
1314
1257
|
url_map: Optional[pulumi.Input[str]] = None) -> 'TargetHttpsProxy':
|
1315
1258
|
"""
|
1316
1259
|
Get an existing TargetHttpsProxy resource's state with the given name, id, and optional extra
|
@@ -1370,11 +1313,6 @@ class TargetHttpsProxy(pulumi.CustomResource):
|
|
1370
1313
|
:param pulumi.Input[str] ssl_policy: A reference to the SslPolicy resource that will be associated with
|
1371
1314
|
the TargetHttpsProxy resource. If not set, the TargetHttpsProxy
|
1372
1315
|
resource will not have any SSL policy configured.
|
1373
|
-
:param pulumi.Input[str] tls_early_data: Specifies whether TLS 1.3 0-RTT Data (“Early Data”) should be accepted for this service.
|
1374
|
-
Early Data allows a TLS resumption handshake to include the initial application payload
|
1375
|
-
(a HTTP request) alongside the handshake, reducing the effective round trips to “zero”.
|
1376
|
-
This applies to TLS 1.3 connections over TCP (HTTP/2) as well as over UDP (QUIC/h3).
|
1377
|
-
Possible values are: `STRICT`, `PERMISSIVE`, `DISABLED`.
|
1378
1316
|
:param pulumi.Input[str] url_map: A reference to the UrlMap resource that defines the mapping from URL
|
1379
1317
|
to the BackendService.
|
1380
1318
|
|
@@ -1399,7 +1337,6 @@ class TargetHttpsProxy(pulumi.CustomResource):
|
|
1399
1337
|
__props__.__dict__["server_tls_policy"] = server_tls_policy
|
1400
1338
|
__props__.__dict__["ssl_certificates"] = ssl_certificates
|
1401
1339
|
__props__.__dict__["ssl_policy"] = ssl_policy
|
1402
|
-
__props__.__dict__["tls_early_data"] = tls_early_data
|
1403
1340
|
__props__.__dict__["url_map"] = url_map
|
1404
1341
|
return TargetHttpsProxy(resource_name, opts=opts, __props__=__props__)
|
1405
1342
|
|
@@ -1552,18 +1489,6 @@ class TargetHttpsProxy(pulumi.CustomResource):
|
|
1552
1489
|
"""
|
1553
1490
|
return pulumi.get(self, "ssl_policy")
|
1554
1491
|
|
1555
|
-
@property
|
1556
|
-
@pulumi.getter(name="tlsEarlyData")
|
1557
|
-
def tls_early_data(self) -> pulumi.Output[str]:
|
1558
|
-
"""
|
1559
|
-
Specifies whether TLS 1.3 0-RTT Data (“Early Data”) should be accepted for this service.
|
1560
|
-
Early Data allows a TLS resumption handshake to include the initial application payload
|
1561
|
-
(a HTTP request) alongside the handshake, reducing the effective round trips to “zero”.
|
1562
|
-
This applies to TLS 1.3 connections over TCP (HTTP/2) as well as over UDP (QUIC/h3).
|
1563
|
-
Possible values are: `STRICT`, `PERMISSIVE`, `DISABLED`.
|
1564
|
-
"""
|
1565
|
-
return pulumi.get(self, "tls_early_data")
|
1566
|
-
|
1567
1492
|
@property
|
1568
1493
|
@pulumi.getter(name="urlMap")
|
1569
1494
|
def url_map(self) -> pulumi.Output[str]:
|
pulumi_gcp/compute/url_map.py
CHANGED
@@ -21,7 +21,6 @@ __all__ = ['URLMapArgs', 'URLMap']
|
|
21
21
|
@pulumi.input_type
|
22
22
|
class URLMapArgs:
|
23
23
|
def __init__(__self__, *,
|
24
|
-
default_custom_error_response_policy: Optional[pulumi.Input['URLMapDefaultCustomErrorResponsePolicyArgs']] = None,
|
25
24
|
default_route_action: Optional[pulumi.Input['URLMapDefaultRouteActionArgs']] = None,
|
26
25
|
default_service: Optional[pulumi.Input[str]] = None,
|
27
26
|
default_url_redirect: Optional[pulumi.Input['URLMapDefaultUrlRedirectArgs']] = None,
|
@@ -34,15 +33,6 @@ class URLMapArgs:
|
|
34
33
|
tests: Optional[pulumi.Input[Sequence[pulumi.Input['URLMapTestArgs']]]] = None):
|
35
34
|
"""
|
36
35
|
The set of arguments for constructing a URLMap resource.
|
37
|
-
:param pulumi.Input['URLMapDefaultCustomErrorResponsePolicyArgs'] default_custom_error_response_policy: defaultCustomErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error.
|
38
|
-
This policy takes effect at the PathMatcher level and applies only when no policy has been defined for the error code at lower levels like RouteRule and PathRule within this PathMatcher. If an error code does not have a policy defined in defaultCustomErrorResponsePolicy, then a policy defined for the error code in UrlMap.defaultCustomErrorResponsePolicy takes effect.
|
39
|
-
For example, consider a UrlMap with the following configuration:
|
40
|
-
UrlMap.defaultCustomErrorResponsePolicy is configured with policies for 5xx and 4xx errors
|
41
|
-
A RouteRule for /coming_soon/ is configured for the error code 404.
|
42
|
-
If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in RouteRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect.
|
43
|
-
When used in conjunction with pathMatcher.defaultRouteAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the defaultCustomErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the defaultCustomErrorResponsePolicy is ignored and the response from the service is returned to the client.
|
44
|
-
defaultCustomErrorResponsePolicy is supported only for global external Application Load Balancers.
|
45
|
-
Structure is documented below.
|
46
36
|
:param pulumi.Input['URLMapDefaultRouteActionArgs'] default_route_action: defaultRouteAction takes effect when none of the hostRules match. The load balancer performs advanced routing actions
|
47
37
|
like URL rewrites, header transformations, etc. prior to forwarding the request to the selected backend.
|
48
38
|
If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService
|
@@ -80,8 +70,6 @@ class URLMapArgs:
|
|
80
70
|
tests per UrlMap.
|
81
71
|
Structure is documented below.
|
82
72
|
"""
|
83
|
-
if default_custom_error_response_policy is not None:
|
84
|
-
pulumi.set(__self__, "default_custom_error_response_policy", default_custom_error_response_policy)
|
85
73
|
if default_route_action is not None:
|
86
74
|
pulumi.set(__self__, "default_route_action", default_route_action)
|
87
75
|
if default_service is not None:
|
@@ -103,26 +91,6 @@ class URLMapArgs:
|
|
103
91
|
if tests is not None:
|
104
92
|
pulumi.set(__self__, "tests", tests)
|
105
93
|
|
106
|
-
@property
|
107
|
-
@pulumi.getter(name="defaultCustomErrorResponsePolicy")
|
108
|
-
def default_custom_error_response_policy(self) -> Optional[pulumi.Input['URLMapDefaultCustomErrorResponsePolicyArgs']]:
|
109
|
-
"""
|
110
|
-
defaultCustomErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error.
|
111
|
-
This policy takes effect at the PathMatcher level and applies only when no policy has been defined for the error code at lower levels like RouteRule and PathRule within this PathMatcher. If an error code does not have a policy defined in defaultCustomErrorResponsePolicy, then a policy defined for the error code in UrlMap.defaultCustomErrorResponsePolicy takes effect.
|
112
|
-
For example, consider a UrlMap with the following configuration:
|
113
|
-
UrlMap.defaultCustomErrorResponsePolicy is configured with policies for 5xx and 4xx errors
|
114
|
-
A RouteRule for /coming_soon/ is configured for the error code 404.
|
115
|
-
If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in RouteRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect.
|
116
|
-
When used in conjunction with pathMatcher.defaultRouteAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the defaultCustomErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the defaultCustomErrorResponsePolicy is ignored and the response from the service is returned to the client.
|
117
|
-
defaultCustomErrorResponsePolicy is supported only for global external Application Load Balancers.
|
118
|
-
Structure is documented below.
|
119
|
-
"""
|
120
|
-
return pulumi.get(self, "default_custom_error_response_policy")
|
121
|
-
|
122
|
-
@default_custom_error_response_policy.setter
|
123
|
-
def default_custom_error_response_policy(self, value: Optional[pulumi.Input['URLMapDefaultCustomErrorResponsePolicyArgs']]):
|
124
|
-
pulumi.set(self, "default_custom_error_response_policy", value)
|
125
|
-
|
126
94
|
@property
|
127
95
|
@pulumi.getter(name="defaultRouteAction")
|
128
96
|
def default_route_action(self) -> Optional[pulumi.Input['URLMapDefaultRouteActionArgs']]:
|
@@ -274,7 +242,6 @@ class URLMapArgs:
|
|
274
242
|
class _URLMapState:
|
275
243
|
def __init__(__self__, *,
|
276
244
|
creation_timestamp: Optional[pulumi.Input[str]] = None,
|
277
|
-
default_custom_error_response_policy: Optional[pulumi.Input['URLMapDefaultCustomErrorResponsePolicyArgs']] = None,
|
278
245
|
default_route_action: Optional[pulumi.Input['URLMapDefaultRouteActionArgs']] = None,
|
279
246
|
default_service: Optional[pulumi.Input[str]] = None,
|
280
247
|
default_url_redirect: Optional[pulumi.Input['URLMapDefaultUrlRedirectArgs']] = None,
|
@@ -291,15 +258,6 @@ class _URLMapState:
|
|
291
258
|
"""
|
292
259
|
Input properties used for looking up and filtering URLMap resources.
|
293
260
|
:param pulumi.Input[str] creation_timestamp: Creation timestamp in RFC3339 text format.
|
294
|
-
:param pulumi.Input['URLMapDefaultCustomErrorResponsePolicyArgs'] default_custom_error_response_policy: defaultCustomErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error.
|
295
|
-
This policy takes effect at the PathMatcher level and applies only when no policy has been defined for the error code at lower levels like RouteRule and PathRule within this PathMatcher. If an error code does not have a policy defined in defaultCustomErrorResponsePolicy, then a policy defined for the error code in UrlMap.defaultCustomErrorResponsePolicy takes effect.
|
296
|
-
For example, consider a UrlMap with the following configuration:
|
297
|
-
UrlMap.defaultCustomErrorResponsePolicy is configured with policies for 5xx and 4xx errors
|
298
|
-
A RouteRule for /coming_soon/ is configured for the error code 404.
|
299
|
-
If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in RouteRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect.
|
300
|
-
When used in conjunction with pathMatcher.defaultRouteAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the defaultCustomErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the defaultCustomErrorResponsePolicy is ignored and the response from the service is returned to the client.
|
301
|
-
defaultCustomErrorResponsePolicy is supported only for global external Application Load Balancers.
|
302
|
-
Structure is documented below.
|
303
261
|
:param pulumi.Input['URLMapDefaultRouteActionArgs'] default_route_action: defaultRouteAction takes effect when none of the hostRules match. The load balancer performs advanced routing actions
|
304
262
|
like URL rewrites, header transformations, etc. prior to forwarding the request to the selected backend.
|
305
263
|
If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService
|
@@ -343,8 +301,6 @@ class _URLMapState:
|
|
343
301
|
"""
|
344
302
|
if creation_timestamp is not None:
|
345
303
|
pulumi.set(__self__, "creation_timestamp", creation_timestamp)
|
346
|
-
if default_custom_error_response_policy is not None:
|
347
|
-
pulumi.set(__self__, "default_custom_error_response_policy", default_custom_error_response_policy)
|
348
304
|
if default_route_action is not None:
|
349
305
|
pulumi.set(__self__, "default_route_action", default_route_action)
|
350
306
|
if default_service is not None:
|
@@ -384,26 +340,6 @@ class _URLMapState:
|
|
384
340
|
def creation_timestamp(self, value: Optional[pulumi.Input[str]]):
|
385
341
|
pulumi.set(self, "creation_timestamp", value)
|
386
342
|
|
387
|
-
@property
|
388
|
-
@pulumi.getter(name="defaultCustomErrorResponsePolicy")
|
389
|
-
def default_custom_error_response_policy(self) -> Optional[pulumi.Input['URLMapDefaultCustomErrorResponsePolicyArgs']]:
|
390
|
-
"""
|
391
|
-
defaultCustomErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error.
|
392
|
-
This policy takes effect at the PathMatcher level and applies only when no policy has been defined for the error code at lower levels like RouteRule and PathRule within this PathMatcher. If an error code does not have a policy defined in defaultCustomErrorResponsePolicy, then a policy defined for the error code in UrlMap.defaultCustomErrorResponsePolicy takes effect.
|
393
|
-
For example, consider a UrlMap with the following configuration:
|
394
|
-
UrlMap.defaultCustomErrorResponsePolicy is configured with policies for 5xx and 4xx errors
|
395
|
-
A RouteRule for /coming_soon/ is configured for the error code 404.
|
396
|
-
If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in RouteRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect.
|
397
|
-
When used in conjunction with pathMatcher.defaultRouteAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the defaultCustomErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the defaultCustomErrorResponsePolicy is ignored and the response from the service is returned to the client.
|
398
|
-
defaultCustomErrorResponsePolicy is supported only for global external Application Load Balancers.
|
399
|
-
Structure is documented below.
|
400
|
-
"""
|
401
|
-
return pulumi.get(self, "default_custom_error_response_policy")
|
402
|
-
|
403
|
-
@default_custom_error_response_policy.setter
|
404
|
-
def default_custom_error_response_policy(self, value: Optional[pulumi.Input['URLMapDefaultCustomErrorResponsePolicyArgs']]):
|
405
|
-
pulumi.set(self, "default_custom_error_response_policy", value)
|
406
|
-
|
407
343
|
@property
|
408
344
|
@pulumi.getter(name="defaultRouteAction")
|
409
345
|
def default_route_action(self) -> Optional[pulumi.Input['URLMapDefaultRouteActionArgs']]:
|
@@ -593,7 +529,6 @@ class URLMap(pulumi.CustomResource):
|
|
593
529
|
def __init__(__self__,
|
594
530
|
resource_name: str,
|
595
531
|
opts: Optional[pulumi.ResourceOptions] = None,
|
596
|
-
default_custom_error_response_policy: Optional[pulumi.Input[Union['URLMapDefaultCustomErrorResponsePolicyArgs', 'URLMapDefaultCustomErrorResponsePolicyArgsDict']]] = None,
|
597
532
|
default_route_action: Optional[pulumi.Input[Union['URLMapDefaultRouteActionArgs', 'URLMapDefaultRouteActionArgsDict']]] = None,
|
598
533
|
default_service: Optional[pulumi.Input[str]] = None,
|
599
534
|
default_url_redirect: Optional[pulumi.Input[Union['URLMapDefaultUrlRedirectArgs', 'URLMapDefaultUrlRedirectArgsDict']]] = None,
|
@@ -1188,82 +1123,6 @@ class URLMap(pulumi.CustomResource):
|
|
1188
1123
|
],
|
1189
1124
|
}])
|
1190
1125
|
```
|
1191
|
-
### Url Map Custom Error Response Policy
|
1192
|
-
|
1193
|
-
```python
|
1194
|
-
import pulumi
|
1195
|
-
import pulumi_gcp as gcp
|
1196
|
-
|
1197
|
-
default = gcp.compute.HttpHealthCheck("default",
|
1198
|
-
name="health-check",
|
1199
|
-
request_path="/",
|
1200
|
-
check_interval_sec=1,
|
1201
|
-
timeout_sec=1)
|
1202
|
-
example = gcp.compute.BackendService("example",
|
1203
|
-
name="login",
|
1204
|
-
port_name="http",
|
1205
|
-
protocol="HTTP",
|
1206
|
-
timeout_sec=10,
|
1207
|
-
load_balancing_scheme="EXTERNAL_MANAGED",
|
1208
|
-
health_checks=default.id)
|
1209
|
-
error_bucket = gcp.storage.Bucket("error",
|
1210
|
-
name="static-asset-bucket",
|
1211
|
-
location="US")
|
1212
|
-
error = gcp.compute.BackendBucket("error",
|
1213
|
-
name="error-backend-bucket",
|
1214
|
-
bucket_name=error_bucket.name,
|
1215
|
-
enable_cdn=True)
|
1216
|
-
urlmap = gcp.compute.URLMap("urlmap",
|
1217
|
-
name="urlmap",
|
1218
|
-
description="a description",
|
1219
|
-
default_service=example.id,
|
1220
|
-
default_custom_error_response_policy={
|
1221
|
-
"errorResponseRules": [{
|
1222
|
-
"matchResponseCodes": ["5xx"],
|
1223
|
-
"path": "/*",
|
1224
|
-
"overrideResponseCode": 502,
|
1225
|
-
}],
|
1226
|
-
"errorService": error.id,
|
1227
|
-
},
|
1228
|
-
host_rules=[{
|
1229
|
-
"hosts": ["mysite.com"],
|
1230
|
-
"pathMatcher": "mysite",
|
1231
|
-
}],
|
1232
|
-
path_matchers=[{
|
1233
|
-
"name": "mysite",
|
1234
|
-
"defaultService": example.id,
|
1235
|
-
"defaultCustomErrorResponsePolicy": {
|
1236
|
-
"errorResponseRules": [
|
1237
|
-
{
|
1238
|
-
"matchResponseCodes": [
|
1239
|
-
"4xx",
|
1240
|
-
"5xx",
|
1241
|
-
],
|
1242
|
-
"path": "/login",
|
1243
|
-
"overrideResponseCode": 404,
|
1244
|
-
},
|
1245
|
-
{
|
1246
|
-
"matchResponseCodes": ["503"],
|
1247
|
-
"path": "/example",
|
1248
|
-
"overrideResponseCode": 502,
|
1249
|
-
},
|
1250
|
-
],
|
1251
|
-
"errorService": error.id,
|
1252
|
-
},
|
1253
|
-
"pathRules": [{
|
1254
|
-
"paths": ["/*"],
|
1255
|
-
"service": example.id,
|
1256
|
-
"customErrorResponsePolicy": {
|
1257
|
-
"errorResponseRules": [{
|
1258
|
-
"matchResponseCodes": ["4xx"],
|
1259
|
-
"path": "/register",
|
1260
|
-
"overrideResponseCode": 401,
|
1261
|
-
}],
|
1262
|
-
"errorService": error.id,
|
1263
|
-
},
|
1264
|
-
}],
|
1265
|
-
}])
|
1266
|
-
```
|
1267
1126
|
|
1268
1127
|
## Import
|
1269
1128
|
|
@@ -1291,15 +1150,6 @@ class URLMap(pulumi.CustomResource):
|
|
1291
1150
|
|
1292
1151
|
:param str resource_name: The name of the resource.
|
1293
1152
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
1294
|
-
:param pulumi.Input[Union['URLMapDefaultCustomErrorResponsePolicyArgs', 'URLMapDefaultCustomErrorResponsePolicyArgsDict']] default_custom_error_response_policy: defaultCustomErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error.
|
1295
|
-
This policy takes effect at the PathMatcher level and applies only when no policy has been defined for the error code at lower levels like RouteRule and PathRule within this PathMatcher. If an error code does not have a policy defined in defaultCustomErrorResponsePolicy, then a policy defined for the error code in UrlMap.defaultCustomErrorResponsePolicy takes effect.
|
1296
|
-
For example, consider a UrlMap with the following configuration:
|
1297
|
-
UrlMap.defaultCustomErrorResponsePolicy is configured with policies for 5xx and 4xx errors
|
1298
|
-
A RouteRule for /coming_soon/ is configured for the error code 404.
|
1299
|
-
If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in RouteRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect.
|
1300
|
-
When used in conjunction with pathMatcher.defaultRouteAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the defaultCustomErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the defaultCustomErrorResponsePolicy is ignored and the response from the service is returned to the client.
|
1301
|
-
defaultCustomErrorResponsePolicy is supported only for global external Application Load Balancers.
|
1302
|
-
Structure is documented below.
|
1303
1153
|
:param pulumi.Input[Union['URLMapDefaultRouteActionArgs', 'URLMapDefaultRouteActionArgsDict']] default_route_action: defaultRouteAction takes effect when none of the hostRules match. The load balancer performs advanced routing actions
|
1304
1154
|
like URL rewrites, header transformations, etc. prior to forwarding the request to the selected backend.
|
1305
1155
|
If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService
|
@@ -1926,82 +1776,6 @@ class URLMap(pulumi.CustomResource):
|
|
1926
1776
|
],
|
1927
1777
|
}])
|
1928
1778
|
```
|
1929
|
-
### Url Map Custom Error Response Policy
|
1930
|
-
|
1931
|
-
```python
|
1932
|
-
import pulumi
|
1933
|
-
import pulumi_gcp as gcp
|
1934
|
-
|
1935
|
-
default = gcp.compute.HttpHealthCheck("default",
|
1936
|
-
name="health-check",
|
1937
|
-
request_path="/",
|
1938
|
-
check_interval_sec=1,
|
1939
|
-
timeout_sec=1)
|
1940
|
-
example = gcp.compute.BackendService("example",
|
1941
|
-
name="login",
|
1942
|
-
port_name="http",
|
1943
|
-
protocol="HTTP",
|
1944
|
-
timeout_sec=10,
|
1945
|
-
load_balancing_scheme="EXTERNAL_MANAGED",
|
1946
|
-
health_checks=default.id)
|
1947
|
-
error_bucket = gcp.storage.Bucket("error",
|
1948
|
-
name="static-asset-bucket",
|
1949
|
-
location="US")
|
1950
|
-
error = gcp.compute.BackendBucket("error",
|
1951
|
-
name="error-backend-bucket",
|
1952
|
-
bucket_name=error_bucket.name,
|
1953
|
-
enable_cdn=True)
|
1954
|
-
urlmap = gcp.compute.URLMap("urlmap",
|
1955
|
-
name="urlmap",
|
1956
|
-
description="a description",
|
1957
|
-
default_service=example.id,
|
1958
|
-
default_custom_error_response_policy={
|
1959
|
-
"errorResponseRules": [{
|
1960
|
-
"matchResponseCodes": ["5xx"],
|
1961
|
-
"path": "/*",
|
1962
|
-
"overrideResponseCode": 502,
|
1963
|
-
}],
|
1964
|
-
"errorService": error.id,
|
1965
|
-
},
|
1966
|
-
host_rules=[{
|
1967
|
-
"hosts": ["mysite.com"],
|
1968
|
-
"pathMatcher": "mysite",
|
1969
|
-
}],
|
1970
|
-
path_matchers=[{
|
1971
|
-
"name": "mysite",
|
1972
|
-
"defaultService": example.id,
|
1973
|
-
"defaultCustomErrorResponsePolicy": {
|
1974
|
-
"errorResponseRules": [
|
1975
|
-
{
|
1976
|
-
"matchResponseCodes": [
|
1977
|
-
"4xx",
|
1978
|
-
"5xx",
|
1979
|
-
],
|
1980
|
-
"path": "/login",
|
1981
|
-
"overrideResponseCode": 404,
|
1982
|
-
},
|
1983
|
-
{
|
1984
|
-
"matchResponseCodes": ["503"],
|
1985
|
-
"path": "/example",
|
1986
|
-
"overrideResponseCode": 502,
|
1987
|
-
},
|
1988
|
-
],
|
1989
|
-
"errorService": error.id,
|
1990
|
-
},
|
1991
|
-
"pathRules": [{
|
1992
|
-
"paths": ["/*"],
|
1993
|
-
"service": example.id,
|
1994
|
-
"customErrorResponsePolicy": {
|
1995
|
-
"errorResponseRules": [{
|
1996
|
-
"matchResponseCodes": ["4xx"],
|
1997
|
-
"path": "/register",
|
1998
|
-
"overrideResponseCode": 401,
|
1999
|
-
}],
|
2000
|
-
"errorService": error.id,
|
2001
|
-
},
|
2002
|
-
}],
|
2003
|
-
}])
|
2004
|
-
```
|
2005
1779
|
|
2006
1780
|
## Import
|
2007
1781
|
|
@@ -2042,7 +1816,6 @@ class URLMap(pulumi.CustomResource):
|
|
2042
1816
|
def _internal_init(__self__,
|
2043
1817
|
resource_name: str,
|
2044
1818
|
opts: Optional[pulumi.ResourceOptions] = None,
|
2045
|
-
default_custom_error_response_policy: Optional[pulumi.Input[Union['URLMapDefaultCustomErrorResponsePolicyArgs', 'URLMapDefaultCustomErrorResponsePolicyArgsDict']]] = None,
|
2046
1819
|
default_route_action: Optional[pulumi.Input[Union['URLMapDefaultRouteActionArgs', 'URLMapDefaultRouteActionArgsDict']]] = None,
|
2047
1820
|
default_service: Optional[pulumi.Input[str]] = None,
|
2048
1821
|
default_url_redirect: Optional[pulumi.Input[Union['URLMapDefaultUrlRedirectArgs', 'URLMapDefaultUrlRedirectArgsDict']]] = None,
|
@@ -2062,7 +1835,6 @@ class URLMap(pulumi.CustomResource):
|
|
2062
1835
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
2063
1836
|
__props__ = URLMapArgs.__new__(URLMapArgs)
|
2064
1837
|
|
2065
|
-
__props__.__dict__["default_custom_error_response_policy"] = default_custom_error_response_policy
|
2066
1838
|
__props__.__dict__["default_route_action"] = default_route_action
|
2067
1839
|
__props__.__dict__["default_service"] = default_service
|
2068
1840
|
__props__.__dict__["default_url_redirect"] = default_url_redirect
|
@@ -2088,7 +1860,6 @@ class URLMap(pulumi.CustomResource):
|
|
2088
1860
|
id: pulumi.Input[str],
|
2089
1861
|
opts: Optional[pulumi.ResourceOptions] = None,
|
2090
1862
|
creation_timestamp: Optional[pulumi.Input[str]] = None,
|
2091
|
-
default_custom_error_response_policy: Optional[pulumi.Input[Union['URLMapDefaultCustomErrorResponsePolicyArgs', 'URLMapDefaultCustomErrorResponsePolicyArgsDict']]] = None,
|
2092
1863
|
default_route_action: Optional[pulumi.Input[Union['URLMapDefaultRouteActionArgs', 'URLMapDefaultRouteActionArgsDict']]] = None,
|
2093
1864
|
default_service: Optional[pulumi.Input[str]] = None,
|
2094
1865
|
default_url_redirect: Optional[pulumi.Input[Union['URLMapDefaultUrlRedirectArgs', 'URLMapDefaultUrlRedirectArgsDict']]] = None,
|
@@ -2110,15 +1881,6 @@ class URLMap(pulumi.CustomResource):
|
|
2110
1881
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
2111
1882
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
2112
1883
|
:param pulumi.Input[str] creation_timestamp: Creation timestamp in RFC3339 text format.
|
2113
|
-
:param pulumi.Input[Union['URLMapDefaultCustomErrorResponsePolicyArgs', 'URLMapDefaultCustomErrorResponsePolicyArgsDict']] default_custom_error_response_policy: defaultCustomErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error.
|
2114
|
-
This policy takes effect at the PathMatcher level and applies only when no policy has been defined for the error code at lower levels like RouteRule and PathRule within this PathMatcher. If an error code does not have a policy defined in defaultCustomErrorResponsePolicy, then a policy defined for the error code in UrlMap.defaultCustomErrorResponsePolicy takes effect.
|
2115
|
-
For example, consider a UrlMap with the following configuration:
|
2116
|
-
UrlMap.defaultCustomErrorResponsePolicy is configured with policies for 5xx and 4xx errors
|
2117
|
-
A RouteRule for /coming_soon/ is configured for the error code 404.
|
2118
|
-
If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in RouteRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect.
|
2119
|
-
When used in conjunction with pathMatcher.defaultRouteAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the defaultCustomErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the defaultCustomErrorResponsePolicy is ignored and the response from the service is returned to the client.
|
2120
|
-
defaultCustomErrorResponsePolicy is supported only for global external Application Load Balancers.
|
2121
|
-
Structure is documented below.
|
2122
1884
|
:param pulumi.Input[Union['URLMapDefaultRouteActionArgs', 'URLMapDefaultRouteActionArgsDict']] default_route_action: defaultRouteAction takes effect when none of the hostRules match. The load balancer performs advanced routing actions
|
2123
1885
|
like URL rewrites, header transformations, etc. prior to forwarding the request to the selected backend.
|
2124
1886
|
If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService
|
@@ -2165,7 +1927,6 @@ class URLMap(pulumi.CustomResource):
|
|
2165
1927
|
__props__ = _URLMapState.__new__(_URLMapState)
|
2166
1928
|
|
2167
1929
|
__props__.__dict__["creation_timestamp"] = creation_timestamp
|
2168
|
-
__props__.__dict__["default_custom_error_response_policy"] = default_custom_error_response_policy
|
2169
1930
|
__props__.__dict__["default_route_action"] = default_route_action
|
2170
1931
|
__props__.__dict__["default_service"] = default_service
|
2171
1932
|
__props__.__dict__["default_url_redirect"] = default_url_redirect
|
@@ -2189,22 +1950,6 @@ class URLMap(pulumi.CustomResource):
|
|
2189
1950
|
"""
|
2190
1951
|
return pulumi.get(self, "creation_timestamp")
|
2191
1952
|
|
2192
|
-
@property
|
2193
|
-
@pulumi.getter(name="defaultCustomErrorResponsePolicy")
|
2194
|
-
def default_custom_error_response_policy(self) -> pulumi.Output[Optional['outputs.URLMapDefaultCustomErrorResponsePolicy']]:
|
2195
|
-
"""
|
2196
|
-
defaultCustomErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error.
|
2197
|
-
This policy takes effect at the PathMatcher level and applies only when no policy has been defined for the error code at lower levels like RouteRule and PathRule within this PathMatcher. If an error code does not have a policy defined in defaultCustomErrorResponsePolicy, then a policy defined for the error code in UrlMap.defaultCustomErrorResponsePolicy takes effect.
|
2198
|
-
For example, consider a UrlMap with the following configuration:
|
2199
|
-
UrlMap.defaultCustomErrorResponsePolicy is configured with policies for 5xx and 4xx errors
|
2200
|
-
A RouteRule for /coming_soon/ is configured for the error code 404.
|
2201
|
-
If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in RouteRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect.
|
2202
|
-
When used in conjunction with pathMatcher.defaultRouteAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the defaultCustomErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the defaultCustomErrorResponsePolicy is ignored and the response from the service is returned to the client.
|
2203
|
-
defaultCustomErrorResponsePolicy is supported only for global external Application Load Balancers.
|
2204
|
-
Structure is documented below.
|
2205
|
-
"""
|
2206
|
-
return pulumi.get(self, "default_custom_error_response_policy")
|
2207
|
-
|
2208
1953
|
@property
|
2209
1954
|
@pulumi.getter(name="defaultRouteAction")
|
2210
1955
|
def default_route_action(self) -> pulumi.Output[Optional['outputs.URLMapDefaultRouteAction']]:
|
@@ -594,7 +594,7 @@ class AwsCluster(pulumi.CustomResource):
|
|
594
594
|
An Anthos cluster running on AWS.
|
595
595
|
|
596
596
|
For more information, see:
|
597
|
-
* [Multicloud overview](https://cloud.google.com/
|
597
|
+
* [Multicloud overview](https://cloud.google.com/anthos/clusters/docs/multi-cloud)
|
598
598
|
## Example Usage
|
599
599
|
|
600
600
|
### Basic_aws_cluster
|
@@ -876,7 +876,7 @@ class AwsCluster(pulumi.CustomResource):
|
|
876
876
|
An Anthos cluster running on AWS.
|
877
877
|
|
878
878
|
For more information, see:
|
879
|
-
* [Multicloud overview](https://cloud.google.com/
|
879
|
+
* [Multicloud overview](https://cloud.google.com/anthos/clusters/docs/multi-cloud)
|
880
880
|
## Example Usage
|
881
881
|
|
882
882
|
### Basic_aws_cluster
|
@@ -561,7 +561,7 @@ class AwsNodePool(pulumi.CustomResource):
|
|
561
561
|
An Anthos node pool running on AWS.
|
562
562
|
|
563
563
|
For more information, see:
|
564
|
-
* [Multicloud overview](https://cloud.google.com/
|
564
|
+
* [Multicloud overview](https://cloud.google.com/anthos/clusters/docs/multi-cloud)
|
565
565
|
## Example Usage
|
566
566
|
|
567
567
|
### Basic_aws_cluster
|
@@ -983,7 +983,7 @@ class AwsNodePool(pulumi.CustomResource):
|
|
983
983
|
An Anthos node pool running on AWS.
|
984
984
|
|
985
985
|
For more information, see:
|
986
|
-
* [Multicloud overview](https://cloud.google.com/
|
986
|
+
* [Multicloud overview](https://cloud.google.com/anthos/clusters/docs/multi-cloud)
|
987
987
|
## Example Usage
|
988
988
|
|
989
989
|
### Basic_aws_cluster
|
@@ -268,7 +268,7 @@ class AzureClient(pulumi.CustomResource):
|
|
268
268
|
AzureClient resources hold client authentication information needed by the Anthos Multi-Cloud API to manage Azure resources on your Azure subscription.When an AzureCluster is created, an AzureClient resource needs to be provided and all operations on Azure resources associated to that cluster will authenticate to Azure services using the given client.AzureClient resources are immutable and cannot be modified upon creation.Each AzureClient resource is bound to a single Azure Active Directory Application and tenant.
|
269
269
|
|
270
270
|
For more information, see:
|
271
|
-
* [Multicloud overview](https://cloud.google.com/
|
271
|
+
* [Multicloud overview](https://cloud.google.com/anthos/clusters/docs/multi-cloud)
|
272
272
|
## Example Usage
|
273
273
|
|
274
274
|
### Basic_azure_client
|
@@ -331,7 +331,7 @@ class AzureClient(pulumi.CustomResource):
|
|
331
331
|
AzureClient resources hold client authentication information needed by the Anthos Multi-Cloud API to manage Azure resources on your Azure subscription.When an AzureCluster is created, an AzureClient resource needs to be provided and all operations on Azure resources associated to that cluster will authenticate to Azure services using the given client.AzureClient resources are immutable and cannot be modified upon creation.Each AzureClient resource is bound to a single Azure Active Directory Application and tenant.
|
332
332
|
|
333
333
|
For more information, see:
|
334
|
-
* [Multicloud overview](https://cloud.google.com/
|
334
|
+
* [Multicloud overview](https://cloud.google.com/anthos/clusters/docs/multi-cloud)
|
335
335
|
## Example Usage
|
336
336
|
|
337
337
|
### Basic_azure_client
|
@@ -671,7 +671,7 @@ class AzureCluster(pulumi.CustomResource):
|
|
671
671
|
An Anthos cluster running on Azure.
|
672
672
|
|
673
673
|
For more information, see:
|
674
|
-
* [Multicloud overview](https://cloud.google.com/
|
674
|
+
* [Multicloud overview](https://cloud.google.com/anthos/clusters/docs/multi-cloud)
|
675
675
|
## Example Usage
|
676
676
|
|
677
677
|
### Basic_azure_cluster
|
@@ -829,7 +829,7 @@ class AzureCluster(pulumi.CustomResource):
|
|
829
829
|
An Anthos cluster running on Azure.
|
830
830
|
|
831
831
|
For more information, see:
|
832
|
-
* [Multicloud overview](https://cloud.google.com/
|
832
|
+
* [Multicloud overview](https://cloud.google.com/anthos/clusters/docs/multi-cloud)
|
833
833
|
## Example Usage
|
834
834
|
|
835
835
|
### Basic_azure_cluster
|