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.
Files changed (67) hide show
  1. pulumi_gcp/__init__.py +0 -32
  2. pulumi_gcp/artifactregistry/get_docker_image.py +2 -2
  3. pulumi_gcp/bigtable/gc_policy.py +14 -68
  4. pulumi_gcp/cloudfunctionsv2/_inputs.py +0 -97
  5. pulumi_gcp/cloudfunctionsv2/function.py +0 -232
  6. pulumi_gcp/cloudfunctionsv2/outputs.py +1 -129
  7. pulumi_gcp/compute/_inputs.py +0 -622
  8. pulumi_gcp/compute/address.py +7 -0
  9. pulumi_gcp/compute/backend_service.py +14 -0
  10. pulumi_gcp/compute/forwarding_rule.py +21 -0
  11. pulumi_gcp/compute/global_forwarding_rule.py +21 -0
  12. pulumi_gcp/compute/managed_ssl_certificate.py +7 -0
  13. pulumi_gcp/compute/manged_ssl_certificate.py +7 -0
  14. pulumi_gcp/compute/network_attachment.py +0 -16
  15. pulumi_gcp/compute/outputs.py +8 -504
  16. pulumi_gcp/compute/region_backend_service.py +14 -0
  17. pulumi_gcp/compute/region_disk_iam_binding.py +95 -122
  18. pulumi_gcp/compute/region_disk_iam_member.py +95 -122
  19. pulumi_gcp/compute/region_disk_iam_policy.py +88 -115
  20. pulumi_gcp/compute/region_ssl_certificate.py +7 -0
  21. pulumi_gcp/compute/ssl_certificate.py +7 -0
  22. pulumi_gcp/compute/target_https_proxy.py +1 -76
  23. pulumi_gcp/compute/url_map.py +0 -255
  24. pulumi_gcp/container/aws_cluster.py +2 -2
  25. pulumi_gcp/container/aws_node_pool.py +2 -2
  26. pulumi_gcp/container/azure_client.py +2 -2
  27. pulumi_gcp/container/azure_cluster.py +2 -2
  28. pulumi_gcp/container/azure_node_pool.py +2 -2
  29. pulumi_gcp/datafusion/_inputs.py +11 -163
  30. pulumi_gcp/datafusion/instance.py +0 -64
  31. pulumi_gcp/datafusion/outputs.py +7 -127
  32. pulumi_gcp/gkebackup/restore_plan_iam_binding.py +953 -328
  33. pulumi_gcp/gkebackup/restore_plan_iam_member.py +953 -328
  34. pulumi_gcp/gkebackup/restore_plan_iam_policy.py +953 -238
  35. pulumi_gcp/healthcare/_inputs.py +0 -43
  36. pulumi_gcp/healthcare/dataset.py +0 -110
  37. pulumi_gcp/healthcare/outputs.py +0 -43
  38. pulumi_gcp/identityplatform/config.py +1 -1
  39. pulumi_gcp/logging/billing_account_bucket_config.py +1 -1
  40. pulumi_gcp/logging/folder_bucket_config.py +1 -1
  41. pulumi_gcp/logging/organization_bucket_config.py +1 -1
  42. pulumi_gcp/monitoring/_inputs.py +0 -77
  43. pulumi_gcp/monitoring/outputs.py +0 -63
  44. pulumi_gcp/networksecurity/address_group_iam_binding.py +2 -289
  45. pulumi_gcp/networksecurity/address_group_iam_member.py +2 -289
  46. pulumi_gcp/pulumi-plugin.json +1 -1
  47. pulumi_gcp/securitycenter/instance_iam_binding.py +0 -64
  48. pulumi_gcp/securitycenter/instance_iam_member.py +0 -64
  49. pulumi_gcp/securitycenter/instance_iam_policy.py +0 -64
  50. pulumi_gcp/sourcerepo/repository_iam_binding.py +83 -92
  51. pulumi_gcp/sourcerepo/repository_iam_member.py +83 -92
  52. pulumi_gcp/sourcerepo/repository_iam_policy.py +76 -85
  53. pulumi_gcp/storage/__init__.py +0 -5
  54. pulumi_gcp/storage/_inputs.py +0 -130
  55. pulumi_gcp/storage/outputs.py +0 -76
  56. pulumi_gcp/vertex/_inputs.py +3 -3
  57. pulumi_gcp/vertex/ai_feature_online_store.py +9 -9
  58. pulumi_gcp/vertex/outputs.py +2 -2
  59. {pulumi_gcp-7.30.0.dist-info → pulumi_gcp-7.30.0a1719513455.dist-info}/METADATA +1 -1
  60. {pulumi_gcp-7.30.0.dist-info → pulumi_gcp-7.30.0a1719513455.dist-info}/RECORD +62 -67
  61. {pulumi_gcp-7.30.0.dist-info → pulumi_gcp-7.30.0a1719513455.dist-info}/WHEEL +1 -1
  62. pulumi_gcp/storage/get_managed_folder_iam_policy.py +0 -115
  63. pulumi_gcp/storage/managed_folder.py +0 -440
  64. pulumi_gcp/storage/managed_folder_iam_binding.py +0 -947
  65. pulumi_gcp/storage/managed_folder_iam_member.py +0 -947
  66. pulumi_gcp/storage/managed_folder_iam_policy.py +0 -766
  67. {pulumi_gcp-7.30.0.dist-info → pulumi_gcp-7.30.0a1719513455.dist-info}/top_level.txt +0 -0
@@ -473,8 +473,6 @@ __all__ = [
473
473
  'SubnetworkIAMMemberCondition',
474
474
  'SubnetworkLogConfig',
475
475
  'SubnetworkSecondaryIpRange',
476
- 'URLMapDefaultCustomErrorResponsePolicy',
477
- 'URLMapDefaultCustomErrorResponsePolicyErrorResponseRule',
478
476
  'URLMapDefaultRouteAction',
479
477
  'URLMapDefaultRouteActionCorsPolicy',
480
478
  'URLMapDefaultRouteActionFaultInjectionPolicy',
@@ -496,8 +494,6 @@ __all__ = [
496
494
  'URLMapHeaderActionResponseHeadersToAdd',
497
495
  'URLMapHostRule',
498
496
  'URLMapPathMatcher',
499
- 'URLMapPathMatcherDefaultCustomErrorResponsePolicy',
500
- 'URLMapPathMatcherDefaultCustomErrorResponsePolicyErrorResponseRule',
501
497
  'URLMapPathMatcherDefaultRouteAction',
502
498
  'URLMapPathMatcherDefaultRouteActionCorsPolicy',
503
499
  'URLMapPathMatcherDefaultRouteActionFaultInjectionPolicy',
@@ -518,8 +514,6 @@ __all__ = [
518
514
  'URLMapPathMatcherHeaderActionRequestHeadersToAdd',
519
515
  'URLMapPathMatcherHeaderActionResponseHeadersToAdd',
520
516
  'URLMapPathMatcherPathRule',
521
- 'URLMapPathMatcherPathRuleCustomErrorResponsePolicy',
522
- 'URLMapPathMatcherPathRuleCustomErrorResponsePolicyErrorResponseRule',
523
517
  'URLMapPathMatcherPathRuleRouteAction',
524
518
  'URLMapPathMatcherPathRuleRouteActionCorsPolicy',
525
519
  'URLMapPathMatcherPathRuleRouteActionFaultInjectionPolicy',
@@ -33650,152 +33644,6 @@ class SubnetworkSecondaryIpRange(dict):
33650
33644
  return pulumi.get(self, "range_name")
33651
33645
 
33652
33646
 
33653
- @pulumi.output_type
33654
- class URLMapDefaultCustomErrorResponsePolicy(dict):
33655
- @staticmethod
33656
- def __key_warning(key: str):
33657
- suggest = None
33658
- if key == "errorResponseRules":
33659
- suggest = "error_response_rules"
33660
- elif key == "errorService":
33661
- suggest = "error_service"
33662
-
33663
- if suggest:
33664
- pulumi.log.warn(f"Key '{key}' not found in URLMapDefaultCustomErrorResponsePolicy. Access the value via the '{suggest}' property getter instead.")
33665
-
33666
- def __getitem__(self, key: str) -> Any:
33667
- URLMapDefaultCustomErrorResponsePolicy.__key_warning(key)
33668
- return super().__getitem__(key)
33669
-
33670
- def get(self, key: str, default = None) -> Any:
33671
- URLMapDefaultCustomErrorResponsePolicy.__key_warning(key)
33672
- return super().get(key, default)
33673
-
33674
- def __init__(__self__, *,
33675
- error_response_rules: Optional[Sequence['outputs.URLMapDefaultCustomErrorResponsePolicyErrorResponseRule']] = None,
33676
- error_service: Optional[str] = None):
33677
- """
33678
- :param Sequence['URLMapDefaultCustomErrorResponsePolicyErrorResponseRuleArgs'] error_response_rules: Specifies rules for returning error responses.
33679
- In a given policy, if you specify rules for both a range of error codes as well as rules for specific error codes then rules with specific error codes have a higher priority.
33680
- For example, assume that you configure a rule for 401 (Un-authorized) code, and another for all 4 series error codes (4XX).
33681
- If the backend service returns a 401, then the rule for 401 will be applied. However if the backend service returns a 403, the rule for 4xx takes effect.
33682
- Structure is documented below.
33683
- :param str error_service: The full or partial URL to the BackendBucket resource that contains the custom error content. Examples are:
33684
- https://www.googleapis.com/compute/v1/projects/project/global/backendBuckets/myBackendBucket
33685
- compute/v1/projects/project/global/backendBuckets/myBackendBucket
33686
- global/backendBuckets/myBackendBucket
33687
- If errorService is not specified at lower levels like pathMatcher, pathRule and routeRule, an errorService specified at a higher level in the UrlMap will be used. If UrlMap.defaultCustomErrorResponsePolicy contains one or more errorResponseRules[], it must specify errorService.
33688
- If load balancer cannot reach the backendBucket, a simple Not Found Error will be returned, with the original response code (or overrideResponseCode if configured).
33689
- """
33690
- if error_response_rules is not None:
33691
- pulumi.set(__self__, "error_response_rules", error_response_rules)
33692
- if error_service is not None:
33693
- pulumi.set(__self__, "error_service", error_service)
33694
-
33695
- @property
33696
- @pulumi.getter(name="errorResponseRules")
33697
- def error_response_rules(self) -> Optional[Sequence['outputs.URLMapDefaultCustomErrorResponsePolicyErrorResponseRule']]:
33698
- """
33699
- Specifies rules for returning error responses.
33700
- In a given policy, if you specify rules for both a range of error codes as well as rules for specific error codes then rules with specific error codes have a higher priority.
33701
- For example, assume that you configure a rule for 401 (Un-authorized) code, and another for all 4 series error codes (4XX).
33702
- If the backend service returns a 401, then the rule for 401 will be applied. However if the backend service returns a 403, the rule for 4xx takes effect.
33703
- Structure is documented below.
33704
- """
33705
- return pulumi.get(self, "error_response_rules")
33706
-
33707
- @property
33708
- @pulumi.getter(name="errorService")
33709
- def error_service(self) -> Optional[str]:
33710
- """
33711
- The full or partial URL to the BackendBucket resource that contains the custom error content. Examples are:
33712
- https://www.googleapis.com/compute/v1/projects/project/global/backendBuckets/myBackendBucket
33713
- compute/v1/projects/project/global/backendBuckets/myBackendBucket
33714
- global/backendBuckets/myBackendBucket
33715
- If errorService is not specified at lower levels like pathMatcher, pathRule and routeRule, an errorService specified at a higher level in the UrlMap will be used. If UrlMap.defaultCustomErrorResponsePolicy contains one or more errorResponseRules[], it must specify errorService.
33716
- If load balancer cannot reach the backendBucket, a simple Not Found Error will be returned, with the original response code (or overrideResponseCode if configured).
33717
- """
33718
- return pulumi.get(self, "error_service")
33719
-
33720
-
33721
- @pulumi.output_type
33722
- class URLMapDefaultCustomErrorResponsePolicyErrorResponseRule(dict):
33723
- @staticmethod
33724
- def __key_warning(key: str):
33725
- suggest = None
33726
- if key == "matchResponseCodes":
33727
- suggest = "match_response_codes"
33728
- elif key == "overrideResponseCode":
33729
- suggest = "override_response_code"
33730
-
33731
- if suggest:
33732
- pulumi.log.warn(f"Key '{key}' not found in URLMapDefaultCustomErrorResponsePolicyErrorResponseRule. Access the value via the '{suggest}' property getter instead.")
33733
-
33734
- def __getitem__(self, key: str) -> Any:
33735
- URLMapDefaultCustomErrorResponsePolicyErrorResponseRule.__key_warning(key)
33736
- return super().__getitem__(key)
33737
-
33738
- def get(self, key: str, default = None) -> Any:
33739
- URLMapDefaultCustomErrorResponsePolicyErrorResponseRule.__key_warning(key)
33740
- return super().get(key, default)
33741
-
33742
- def __init__(__self__, *,
33743
- match_response_codes: Optional[Sequence[str]] = None,
33744
- override_response_code: Optional[int] = None,
33745
- path: Optional[str] = None):
33746
- """
33747
- :param Sequence[str] match_response_codes: Valid values include:
33748
- - A number between 400 and 599: For example 401 or 503, in which case the load balancer applies the policy if the error code exactly matches this value.
33749
- - 5xx: Load Balancer will apply the policy if the backend service responds with any response code in the range of 500 to 599.
33750
- - 4xx: Load Balancer will apply the policy if the backend service responds with any response code in the range of 400 to 499.
33751
- Values must be unique within matchResponseCodes and across all errorResponseRules of CustomErrorResponsePolicy.
33752
- :param int override_response_code: The HTTP status code returned with the response containing the custom error content.
33753
- If overrideResponseCode is not supplied, the same response code returned by the original backend bucket or backend service is returned to the client.
33754
- :param str path: The full path to a file within backendBucket. For example: /errors/defaultError.html
33755
- path must start with a leading slash. path cannot have trailing slashes.
33756
- If the file is not available in backendBucket or the load balancer cannot reach the BackendBucket, a simple Not Found Error is returned to the client.
33757
- The value must be from 1 to 1024 characters.
33758
- """
33759
- if match_response_codes is not None:
33760
- pulumi.set(__self__, "match_response_codes", match_response_codes)
33761
- if override_response_code is not None:
33762
- pulumi.set(__self__, "override_response_code", override_response_code)
33763
- if path is not None:
33764
- pulumi.set(__self__, "path", path)
33765
-
33766
- @property
33767
- @pulumi.getter(name="matchResponseCodes")
33768
- def match_response_codes(self) -> Optional[Sequence[str]]:
33769
- """
33770
- Valid values include:
33771
- - A number between 400 and 599: For example 401 or 503, in which case the load balancer applies the policy if the error code exactly matches this value.
33772
- - 5xx: Load Balancer will apply the policy if the backend service responds with any response code in the range of 500 to 599.
33773
- - 4xx: Load Balancer will apply the policy if the backend service responds with any response code in the range of 400 to 499.
33774
- Values must be unique within matchResponseCodes and across all errorResponseRules of CustomErrorResponsePolicy.
33775
- """
33776
- return pulumi.get(self, "match_response_codes")
33777
-
33778
- @property
33779
- @pulumi.getter(name="overrideResponseCode")
33780
- def override_response_code(self) -> Optional[int]:
33781
- """
33782
- The HTTP status code returned with the response containing the custom error content.
33783
- If overrideResponseCode is not supplied, the same response code returned by the original backend bucket or backend service is returned to the client.
33784
- """
33785
- return pulumi.get(self, "override_response_code")
33786
-
33787
- @property
33788
- @pulumi.getter
33789
- def path(self) -> Optional[str]:
33790
- """
33791
- The full path to a file within backendBucket. For example: /errors/defaultError.html
33792
- path must start with a leading slash. path cannot have trailing slashes.
33793
- If the file is not available in backendBucket or the load balancer cannot reach the BackendBucket, a simple Not Found Error is returned to the client.
33794
- The value must be from 1 to 1024 characters.
33795
- """
33796
- return pulumi.get(self, "path")
33797
-
33798
-
33799
33647
  @pulumi.output_type
33800
33648
  class URLMapDefaultRouteAction(dict):
33801
33649
  @staticmethod
@@ -35261,9 +35109,7 @@ class URLMapPathMatcher(dict):
35261
35109
  @staticmethod
35262
35110
  def __key_warning(key: str):
35263
35111
  suggest = None
35264
- if key == "defaultCustomErrorResponsePolicy":
35265
- suggest = "default_custom_error_response_policy"
35266
- elif key == "defaultRouteAction":
35112
+ if key == "defaultRouteAction":
35267
35113
  suggest = "default_route_action"
35268
35114
  elif key == "defaultService":
35269
35115
  suggest = "default_service"
@@ -35289,7 +35135,6 @@ class URLMapPathMatcher(dict):
35289
35135
 
35290
35136
  def __init__(__self__, *,
35291
35137
  name: str,
35292
- default_custom_error_response_policy: Optional['outputs.URLMapPathMatcherDefaultCustomErrorResponsePolicy'] = None,
35293
35138
  default_route_action: Optional['outputs.URLMapPathMatcherDefaultRouteAction'] = None,
35294
35139
  default_service: Optional[str] = None,
35295
35140
  default_url_redirect: Optional['outputs.URLMapPathMatcherDefaultUrlRedirect'] = None,
@@ -35299,15 +35144,6 @@ class URLMapPathMatcher(dict):
35299
35144
  route_rules: Optional[Sequence['outputs.URLMapPathMatcherRouteRule']] = None):
35300
35145
  """
35301
35146
  :param str name: The name to which this PathMatcher is referred by the HostRule.
35302
- :param 'URLMapPathMatcherDefaultCustomErrorResponsePolicyArgs' default_custom_error_response_policy: defaultCustomErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error.
35303
- 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.
35304
- For example, consider a UrlMap with the following configuration:
35305
- UrlMap.defaultCustomErrorResponsePolicy is configured with policies for 5xx and 4xx errors
35306
- A RouteRule for /coming_soon/ is configured for the error code 404.
35307
- 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.
35308
- 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.
35309
- defaultCustomErrorResponsePolicy is supported only for global external Application Load Balancers.
35310
- Structure is documented below.
35311
35147
  :param 'URLMapPathMatcherDefaultRouteActionArgs' default_route_action: defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs
35312
35148
  advanced routing actions like URL rewrites, header transformations, etc. prior to forwarding the request
35313
35149
  to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set.
@@ -35341,8 +35177,6 @@ class URLMapPathMatcher(dict):
35341
35177
  Structure is documented below.
35342
35178
  """
35343
35179
  pulumi.set(__self__, "name", name)
35344
- if default_custom_error_response_policy is not None:
35345
- pulumi.set(__self__, "default_custom_error_response_policy", default_custom_error_response_policy)
35346
35180
  if default_route_action is not None:
35347
35181
  pulumi.set(__self__, "default_route_action", default_route_action)
35348
35182
  if default_service is not None:
@@ -35366,22 +35200,6 @@ class URLMapPathMatcher(dict):
35366
35200
  """
35367
35201
  return pulumi.get(self, "name")
35368
35202
 
35369
- @property
35370
- @pulumi.getter(name="defaultCustomErrorResponsePolicy")
35371
- def default_custom_error_response_policy(self) -> Optional['outputs.URLMapPathMatcherDefaultCustomErrorResponsePolicy']:
35372
- """
35373
- defaultCustomErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error.
35374
- 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.
35375
- For example, consider a UrlMap with the following configuration:
35376
- UrlMap.defaultCustomErrorResponsePolicy is configured with policies for 5xx and 4xx errors
35377
- A RouteRule for /coming_soon/ is configured for the error code 404.
35378
- 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.
35379
- 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.
35380
- defaultCustomErrorResponsePolicy is supported only for global external Application Load Balancers.
35381
- Structure is documented below.
35382
- """
35383
- return pulumi.get(self, "default_custom_error_response_policy")
35384
-
35385
35203
  @property
35386
35204
  @pulumi.getter(name="defaultRouteAction")
35387
35205
  def default_route_action(self) -> Optional['outputs.URLMapPathMatcherDefaultRouteAction']:
@@ -35463,152 +35281,6 @@ class URLMapPathMatcher(dict):
35463
35281
  return pulumi.get(self, "route_rules")
35464
35282
 
35465
35283
 
35466
- @pulumi.output_type
35467
- class URLMapPathMatcherDefaultCustomErrorResponsePolicy(dict):
35468
- @staticmethod
35469
- def __key_warning(key: str):
35470
- suggest = None
35471
- if key == "errorResponseRules":
35472
- suggest = "error_response_rules"
35473
- elif key == "errorService":
35474
- suggest = "error_service"
35475
-
35476
- if suggest:
35477
- pulumi.log.warn(f"Key '{key}' not found in URLMapPathMatcherDefaultCustomErrorResponsePolicy. Access the value via the '{suggest}' property getter instead.")
35478
-
35479
- def __getitem__(self, key: str) -> Any:
35480
- URLMapPathMatcherDefaultCustomErrorResponsePolicy.__key_warning(key)
35481
- return super().__getitem__(key)
35482
-
35483
- def get(self, key: str, default = None) -> Any:
35484
- URLMapPathMatcherDefaultCustomErrorResponsePolicy.__key_warning(key)
35485
- return super().get(key, default)
35486
-
35487
- def __init__(__self__, *,
35488
- error_response_rules: Optional[Sequence['outputs.URLMapPathMatcherDefaultCustomErrorResponsePolicyErrorResponseRule']] = None,
35489
- error_service: Optional[str] = None):
35490
- """
35491
- :param Sequence['URLMapPathMatcherDefaultCustomErrorResponsePolicyErrorResponseRuleArgs'] error_response_rules: Specifies rules for returning error responses.
35492
- In a given policy, if you specify rules for both a range of error codes as well as rules for specific error codes then rules with specific error codes have a higher priority.
35493
- For example, assume that you configure a rule for 401 (Un-authorized) code, and another for all 4 series error codes (4XX).
35494
- If the backend service returns a 401, then the rule for 401 will be applied. However if the backend service returns a 403, the rule for 4xx takes effect.
35495
- Structure is documented below.
35496
- :param str error_service: The full or partial URL to the BackendBucket resource that contains the custom error content. Examples are:
35497
- https://www.googleapis.com/compute/v1/projects/project/global/backendBuckets/myBackendBucket
35498
- compute/v1/projects/project/global/backendBuckets/myBackendBucket
35499
- global/backendBuckets/myBackendBucket
35500
- If errorService is not specified at lower levels like pathMatcher, pathRule and routeRule, an errorService specified at a higher level in the UrlMap will be used. If UrlMap.defaultCustomErrorResponsePolicy contains one or more errorResponseRules[], it must specify errorService.
35501
- If load balancer cannot reach the backendBucket, a simple Not Found Error will be returned, with the original response code (or overrideResponseCode if configured).
35502
- """
35503
- if error_response_rules is not None:
35504
- pulumi.set(__self__, "error_response_rules", error_response_rules)
35505
- if error_service is not None:
35506
- pulumi.set(__self__, "error_service", error_service)
35507
-
35508
- @property
35509
- @pulumi.getter(name="errorResponseRules")
35510
- def error_response_rules(self) -> Optional[Sequence['outputs.URLMapPathMatcherDefaultCustomErrorResponsePolicyErrorResponseRule']]:
35511
- """
35512
- Specifies rules for returning error responses.
35513
- In a given policy, if you specify rules for both a range of error codes as well as rules for specific error codes then rules with specific error codes have a higher priority.
35514
- For example, assume that you configure a rule for 401 (Un-authorized) code, and another for all 4 series error codes (4XX).
35515
- If the backend service returns a 401, then the rule for 401 will be applied. However if the backend service returns a 403, the rule for 4xx takes effect.
35516
- Structure is documented below.
35517
- """
35518
- return pulumi.get(self, "error_response_rules")
35519
-
35520
- @property
35521
- @pulumi.getter(name="errorService")
35522
- def error_service(self) -> Optional[str]:
35523
- """
35524
- The full or partial URL to the BackendBucket resource that contains the custom error content. Examples are:
35525
- https://www.googleapis.com/compute/v1/projects/project/global/backendBuckets/myBackendBucket
35526
- compute/v1/projects/project/global/backendBuckets/myBackendBucket
35527
- global/backendBuckets/myBackendBucket
35528
- If errorService is not specified at lower levels like pathMatcher, pathRule and routeRule, an errorService specified at a higher level in the UrlMap will be used. If UrlMap.defaultCustomErrorResponsePolicy contains one or more errorResponseRules[], it must specify errorService.
35529
- If load balancer cannot reach the backendBucket, a simple Not Found Error will be returned, with the original response code (or overrideResponseCode if configured).
35530
- """
35531
- return pulumi.get(self, "error_service")
35532
-
35533
-
35534
- @pulumi.output_type
35535
- class URLMapPathMatcherDefaultCustomErrorResponsePolicyErrorResponseRule(dict):
35536
- @staticmethod
35537
- def __key_warning(key: str):
35538
- suggest = None
35539
- if key == "matchResponseCodes":
35540
- suggest = "match_response_codes"
35541
- elif key == "overrideResponseCode":
35542
- suggest = "override_response_code"
35543
-
35544
- if suggest:
35545
- pulumi.log.warn(f"Key '{key}' not found in URLMapPathMatcherDefaultCustomErrorResponsePolicyErrorResponseRule. Access the value via the '{suggest}' property getter instead.")
35546
-
35547
- def __getitem__(self, key: str) -> Any:
35548
- URLMapPathMatcherDefaultCustomErrorResponsePolicyErrorResponseRule.__key_warning(key)
35549
- return super().__getitem__(key)
35550
-
35551
- def get(self, key: str, default = None) -> Any:
35552
- URLMapPathMatcherDefaultCustomErrorResponsePolicyErrorResponseRule.__key_warning(key)
35553
- return super().get(key, default)
35554
-
35555
- def __init__(__self__, *,
35556
- match_response_codes: Optional[Sequence[str]] = None,
35557
- override_response_code: Optional[int] = None,
35558
- path: Optional[str] = None):
35559
- """
35560
- :param Sequence[str] match_response_codes: Valid values include:
35561
- - A number between 400 and 599: For example 401 or 503, in which case the load balancer applies the policy if the error code exactly matches this value.
35562
- - 5xx: Load Balancer will apply the policy if the backend service responds with any response code in the range of 500 to 599.
35563
- - 4xx: Load Balancer will apply the policy if the backend service responds with any response code in the range of 400 to 499.
35564
- Values must be unique within matchResponseCodes and across all errorResponseRules of CustomErrorResponsePolicy.
35565
- :param int override_response_code: The HTTP status code returned with the response containing the custom error content.
35566
- If overrideResponseCode is not supplied, the same response code returned by the original backend bucket or backend service is returned to the client.
35567
- :param str path: The full path to a file within backendBucket. For example: /errors/defaultError.html
35568
- path must start with a leading slash. path cannot have trailing slashes.
35569
- If the file is not available in backendBucket or the load balancer cannot reach the BackendBucket, a simple Not Found Error is returned to the client.
35570
- The value must be from 1 to 1024 characters.
35571
- """
35572
- if match_response_codes is not None:
35573
- pulumi.set(__self__, "match_response_codes", match_response_codes)
35574
- if override_response_code is not None:
35575
- pulumi.set(__self__, "override_response_code", override_response_code)
35576
- if path is not None:
35577
- pulumi.set(__self__, "path", path)
35578
-
35579
- @property
35580
- @pulumi.getter(name="matchResponseCodes")
35581
- def match_response_codes(self) -> Optional[Sequence[str]]:
35582
- """
35583
- Valid values include:
35584
- - A number between 400 and 599: For example 401 or 503, in which case the load balancer applies the policy if the error code exactly matches this value.
35585
- - 5xx: Load Balancer will apply the policy if the backend service responds with any response code in the range of 500 to 599.
35586
- - 4xx: Load Balancer will apply the policy if the backend service responds with any response code in the range of 400 to 499.
35587
- Values must be unique within matchResponseCodes and across all errorResponseRules of CustomErrorResponsePolicy.
35588
- """
35589
- return pulumi.get(self, "match_response_codes")
35590
-
35591
- @property
35592
- @pulumi.getter(name="overrideResponseCode")
35593
- def override_response_code(self) -> Optional[int]:
35594
- """
35595
- The HTTP status code returned with the response containing the custom error content.
35596
- If overrideResponseCode is not supplied, the same response code returned by the original backend bucket or backend service is returned to the client.
35597
- """
35598
- return pulumi.get(self, "override_response_code")
35599
-
35600
- @property
35601
- @pulumi.getter
35602
- def path(self) -> Optional[str]:
35603
- """
35604
- The full path to a file within backendBucket. For example: /errors/defaultError.html
35605
- path must start with a leading slash. path cannot have trailing slashes.
35606
- If the file is not available in backendBucket or the load balancer cannot reach the BackendBucket, a simple Not Found Error is returned to the client.
35607
- The value must be from 1 to 1024 characters.
35608
- """
35609
- return pulumi.get(self, "path")
35610
-
35611
-
35612
35284
  @pulumi.output_type
35613
35285
  class URLMapPathMatcherDefaultRouteAction(dict):
35614
35286
  @staticmethod
@@ -37008,9 +36680,7 @@ class URLMapPathMatcherPathRule(dict):
37008
36680
  @staticmethod
37009
36681
  def __key_warning(key: str):
37010
36682
  suggest = None
37011
- if key == "customErrorResponsePolicy":
37012
- suggest = "custom_error_response_policy"
37013
- elif key == "routeAction":
36683
+ if key == "routeAction":
37014
36684
  suggest = "route_action"
37015
36685
  elif key == "urlRedirect":
37016
36686
  suggest = "url_redirect"
@@ -37028,7 +36698,6 @@ class URLMapPathMatcherPathRule(dict):
37028
36698
 
37029
36699
  def __init__(__self__, *,
37030
36700
  paths: Sequence[str],
37031
- custom_error_response_policy: Optional['outputs.URLMapPathMatcherPathRuleCustomErrorResponsePolicy'] = None,
37032
36701
  route_action: Optional['outputs.URLMapPathMatcherPathRuleRouteAction'] = None,
37033
36702
  service: Optional[str] = None,
37034
36703
  url_redirect: Optional['outputs.URLMapPathMatcherPathRuleUrlRedirect'] = None):
@@ -37037,14 +36706,6 @@ class URLMapPathMatcherPathRule(dict):
37037
36706
  \\* is allowed is at the end following a /. The string fed to the path matcher
37038
36707
  does not include any text after the first ? or #, and those chars are not
37039
36708
  allowed here.
37040
- :param 'URLMapPathMatcherPathRuleCustomErrorResponsePolicyArgs' custom_error_response_policy: customErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error.
37041
- If a policy for an error code is not configured for the PathRule, a policy for the error code configured in pathMatcher.defaultCustomErrorResponsePolicy is applied. If one is not specified in pathMatcher.defaultCustomErrorResponsePolicy, the policy configured in UrlMap.defaultCustomErrorResponsePolicy takes effect.
37042
- For example, consider a UrlMap with the following configuration:
37043
- UrlMap.defaultCustomErrorResponsePolicy are configured with policies for 5xx and 4xx errors
37044
- A PathRule for /coming_soon/ is configured for the error code 404.
37045
- 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 PathRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect.
37046
- customErrorResponsePolicy is supported only for global external Application Load Balancers.
37047
- Structure is documented below.
37048
36709
  :param 'URLMapPathMatcherPathRuleRouteActionArgs' route_action: In response to a matching path, the load balancer performs advanced routing
37049
36710
  actions like URL rewrites, header transformations, etc. prior to forwarding the
37050
36711
  request to the selected backend. If routeAction specifies any
@@ -37059,8 +36720,6 @@ class URLMapPathMatcherPathRule(dict):
37059
36720
  Structure is documented below.
37060
36721
  """
37061
36722
  pulumi.set(__self__, "paths", paths)
37062
- if custom_error_response_policy is not None:
37063
- pulumi.set(__self__, "custom_error_response_policy", custom_error_response_policy)
37064
36723
  if route_action is not None:
37065
36724
  pulumi.set(__self__, "route_action", route_action)
37066
36725
  if service is not None:
@@ -37079,21 +36738,6 @@ class URLMapPathMatcherPathRule(dict):
37079
36738
  """
37080
36739
  return pulumi.get(self, "paths")
37081
36740
 
37082
- @property
37083
- @pulumi.getter(name="customErrorResponsePolicy")
37084
- def custom_error_response_policy(self) -> Optional['outputs.URLMapPathMatcherPathRuleCustomErrorResponsePolicy']:
37085
- """
37086
- customErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error.
37087
- If a policy for an error code is not configured for the PathRule, a policy for the error code configured in pathMatcher.defaultCustomErrorResponsePolicy is applied. If one is not specified in pathMatcher.defaultCustomErrorResponsePolicy, the policy configured in UrlMap.defaultCustomErrorResponsePolicy takes effect.
37088
- For example, consider a UrlMap with the following configuration:
37089
- UrlMap.defaultCustomErrorResponsePolicy are configured with policies for 5xx and 4xx errors
37090
- A PathRule for /coming_soon/ is configured for the error code 404.
37091
- 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 PathRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect.
37092
- customErrorResponsePolicy is supported only for global external Application Load Balancers.
37093
- Structure is documented below.
37094
- """
37095
- return pulumi.get(self, "custom_error_response_policy")
37096
-
37097
36741
  @property
37098
36742
  @pulumi.getter(name="routeAction")
37099
36743
  def route_action(self) -> Optional['outputs.URLMapPathMatcherPathRuleRouteAction']:
@@ -37128,152 +36772,6 @@ class URLMapPathMatcherPathRule(dict):
37128
36772
  return pulumi.get(self, "url_redirect")
37129
36773
 
37130
36774
 
37131
- @pulumi.output_type
37132
- class URLMapPathMatcherPathRuleCustomErrorResponsePolicy(dict):
37133
- @staticmethod
37134
- def __key_warning(key: str):
37135
- suggest = None
37136
- if key == "errorResponseRules":
37137
- suggest = "error_response_rules"
37138
- elif key == "errorService":
37139
- suggest = "error_service"
37140
-
37141
- if suggest:
37142
- pulumi.log.warn(f"Key '{key}' not found in URLMapPathMatcherPathRuleCustomErrorResponsePolicy. Access the value via the '{suggest}' property getter instead.")
37143
-
37144
- def __getitem__(self, key: str) -> Any:
37145
- URLMapPathMatcherPathRuleCustomErrorResponsePolicy.__key_warning(key)
37146
- return super().__getitem__(key)
37147
-
37148
- def get(self, key: str, default = None) -> Any:
37149
- URLMapPathMatcherPathRuleCustomErrorResponsePolicy.__key_warning(key)
37150
- return super().get(key, default)
37151
-
37152
- def __init__(__self__, *,
37153
- error_response_rules: Optional[Sequence['outputs.URLMapPathMatcherPathRuleCustomErrorResponsePolicyErrorResponseRule']] = None,
37154
- error_service: Optional[str] = None):
37155
- """
37156
- :param Sequence['URLMapPathMatcherPathRuleCustomErrorResponsePolicyErrorResponseRuleArgs'] error_response_rules: Specifies rules for returning error responses.
37157
- In a given policy, if you specify rules for both a range of error codes as well as rules for specific error codes then rules with specific error codes have a higher priority.
37158
- For example, assume that you configure a rule for 401 (Un-authorized) code, and another for all 4 series error codes (4XX).
37159
- If the backend service returns a 401, then the rule for 401 will be applied. However if the backend service returns a 403, the rule for 4xx takes effect.
37160
- Structure is documented below.
37161
- :param str error_service: The full or partial URL to the BackendBucket resource that contains the custom error content. Examples are:
37162
- https://www.googleapis.com/compute/v1/projects/project/global/backendBuckets/myBackendBucket
37163
- compute/v1/projects/project/global/backendBuckets/myBackendBucket
37164
- global/backendBuckets/myBackendBucket
37165
- If errorService is not specified at lower levels like pathMatcher, pathRule and routeRule, an errorService specified at a higher level in the UrlMap will be used. If UrlMap.defaultCustomErrorResponsePolicy contains one or more errorResponseRules[], it must specify errorService.
37166
- If load balancer cannot reach the backendBucket, a simple Not Found Error will be returned, with the original response code (or overrideResponseCode if configured).
37167
- """
37168
- if error_response_rules is not None:
37169
- pulumi.set(__self__, "error_response_rules", error_response_rules)
37170
- if error_service is not None:
37171
- pulumi.set(__self__, "error_service", error_service)
37172
-
37173
- @property
37174
- @pulumi.getter(name="errorResponseRules")
37175
- def error_response_rules(self) -> Optional[Sequence['outputs.URLMapPathMatcherPathRuleCustomErrorResponsePolicyErrorResponseRule']]:
37176
- """
37177
- Specifies rules for returning error responses.
37178
- In a given policy, if you specify rules for both a range of error codes as well as rules for specific error codes then rules with specific error codes have a higher priority.
37179
- For example, assume that you configure a rule for 401 (Un-authorized) code, and another for all 4 series error codes (4XX).
37180
- If the backend service returns a 401, then the rule for 401 will be applied. However if the backend service returns a 403, the rule for 4xx takes effect.
37181
- Structure is documented below.
37182
- """
37183
- return pulumi.get(self, "error_response_rules")
37184
-
37185
- @property
37186
- @pulumi.getter(name="errorService")
37187
- def error_service(self) -> Optional[str]:
37188
- """
37189
- The full or partial URL to the BackendBucket resource that contains the custom error content. Examples are:
37190
- https://www.googleapis.com/compute/v1/projects/project/global/backendBuckets/myBackendBucket
37191
- compute/v1/projects/project/global/backendBuckets/myBackendBucket
37192
- global/backendBuckets/myBackendBucket
37193
- If errorService is not specified at lower levels like pathMatcher, pathRule and routeRule, an errorService specified at a higher level in the UrlMap will be used. If UrlMap.defaultCustomErrorResponsePolicy contains one or more errorResponseRules[], it must specify errorService.
37194
- If load balancer cannot reach the backendBucket, a simple Not Found Error will be returned, with the original response code (or overrideResponseCode if configured).
37195
- """
37196
- return pulumi.get(self, "error_service")
37197
-
37198
-
37199
- @pulumi.output_type
37200
- class URLMapPathMatcherPathRuleCustomErrorResponsePolicyErrorResponseRule(dict):
37201
- @staticmethod
37202
- def __key_warning(key: str):
37203
- suggest = None
37204
- if key == "matchResponseCodes":
37205
- suggest = "match_response_codes"
37206
- elif key == "overrideResponseCode":
37207
- suggest = "override_response_code"
37208
-
37209
- if suggest:
37210
- pulumi.log.warn(f"Key '{key}' not found in URLMapPathMatcherPathRuleCustomErrorResponsePolicyErrorResponseRule. Access the value via the '{suggest}' property getter instead.")
37211
-
37212
- def __getitem__(self, key: str) -> Any:
37213
- URLMapPathMatcherPathRuleCustomErrorResponsePolicyErrorResponseRule.__key_warning(key)
37214
- return super().__getitem__(key)
37215
-
37216
- def get(self, key: str, default = None) -> Any:
37217
- URLMapPathMatcherPathRuleCustomErrorResponsePolicyErrorResponseRule.__key_warning(key)
37218
- return super().get(key, default)
37219
-
37220
- def __init__(__self__, *,
37221
- match_response_codes: Optional[Sequence[str]] = None,
37222
- override_response_code: Optional[int] = None,
37223
- path: Optional[str] = None):
37224
- """
37225
- :param Sequence[str] match_response_codes: Valid values include:
37226
- - A number between 400 and 599: For example 401 or 503, in which case the load balancer applies the policy if the error code exactly matches this value.
37227
- - 5xx: Load Balancer will apply the policy if the backend service responds with any response code in the range of 500 to 599.
37228
- - 4xx: Load Balancer will apply the policy if the backend service responds with any response code in the range of 400 to 499.
37229
- Values must be unique within matchResponseCodes and across all errorResponseRules of CustomErrorResponsePolicy.
37230
- :param int override_response_code: The HTTP status code returned with the response containing the custom error content.
37231
- If overrideResponseCode is not supplied, the same response code returned by the original backend bucket or backend service is returned to the client.
37232
- :param str path: The full path to a file within backendBucket. For example: /errors/defaultError.html
37233
- path must start with a leading slash. path cannot have trailing slashes.
37234
- If the file is not available in backendBucket or the load balancer cannot reach the BackendBucket, a simple Not Found Error is returned to the client.
37235
- The value must be from 1 to 1024 characters.
37236
- """
37237
- if match_response_codes is not None:
37238
- pulumi.set(__self__, "match_response_codes", match_response_codes)
37239
- if override_response_code is not None:
37240
- pulumi.set(__self__, "override_response_code", override_response_code)
37241
- if path is not None:
37242
- pulumi.set(__self__, "path", path)
37243
-
37244
- @property
37245
- @pulumi.getter(name="matchResponseCodes")
37246
- def match_response_codes(self) -> Optional[Sequence[str]]:
37247
- """
37248
- Valid values include:
37249
- - A number between 400 and 599: For example 401 or 503, in which case the load balancer applies the policy if the error code exactly matches this value.
37250
- - 5xx: Load Balancer will apply the policy if the backend service responds with any response code in the range of 500 to 599.
37251
- - 4xx: Load Balancer will apply the policy if the backend service responds with any response code in the range of 400 to 499.
37252
- Values must be unique within matchResponseCodes and across all errorResponseRules of CustomErrorResponsePolicy.
37253
- """
37254
- return pulumi.get(self, "match_response_codes")
37255
-
37256
- @property
37257
- @pulumi.getter(name="overrideResponseCode")
37258
- def override_response_code(self) -> Optional[int]:
37259
- """
37260
- The HTTP status code returned with the response containing the custom error content.
37261
- If overrideResponseCode is not supplied, the same response code returned by the original backend bucket or backend service is returned to the client.
37262
- """
37263
- return pulumi.get(self, "override_response_code")
37264
-
37265
- @property
37266
- @pulumi.getter
37267
- def path(self) -> Optional[str]:
37268
- """
37269
- The full path to a file within backendBucket. For example: /errors/defaultError.html
37270
- path must start with a leading slash. path cannot have trailing slashes.
37271
- If the file is not available in backendBucket or the load balancer cannot reach the BackendBucket, a simple Not Found Error is returned to the client.
37272
- The value must be from 1 to 1024 characters.
37273
- """
37274
- return pulumi.get(self, "path")
37275
-
37276
-
37277
36775
  @pulumi.output_type
37278
36776
  class URLMapPathMatcherPathRuleRouteAction(dict):
37279
36777
  @staticmethod
@@ -42654,6 +42152,7 @@ class GetForwardingRulesRuleResult(dict):
42654
42152
  * When the 'target' is a Private Service Connect Google APIs
42655
42153
  bundle, you must specify an 'IPAddress'.
42656
42154
 
42155
+
42657
42156
  Otherwise, you can optionally specify an IP address that references an
42658
42157
  existing static (reserved) IP address resource. When omitted, Google Cloud
42659
42158
  assigns an ephemeral IP address.
@@ -42671,6 +42170,7 @@ class GetForwardingRulesRuleResult(dict):
42671
42170
  * 'global/addresses/address-name'
42672
42171
  * 'address-name'
42673
42172
 
42173
+
42674
42174
  The forwarding rule's 'target' or 'backendService',
42675
42175
  and in most cases, also the 'loadBalancingScheme', determine the
42676
42176
  type of IP address that you can use. For detailed information, see
@@ -42842,6 +42342,7 @@ class GetForwardingRulesRuleResult(dict):
42842
42342
  * 'vpc-sc' - [ APIs that support VPC Service Controls](https://cloud.google.com/vpc-service-controls/docs/supported-products).
42843
42343
  * 'all-apis' - [All supported Google APIs](https://cloud.google.com/vpc/docs/private-service-connect#supported-apis).
42844
42344
 
42345
+
42845
42346
  For Private Service Connect forwarding rules that forward traffic to managed services, the target must be a service attachment.
42846
42347
  """
42847
42348
  pulumi.set(__self__, "all_ports", all_ports)
@@ -42983,6 +42484,7 @@ class GetForwardingRulesRuleResult(dict):
42983
42484
  * When the 'target' is a Private Service Connect Google APIs
42984
42485
  bundle, you must specify an 'IPAddress'.
42985
42486
 
42487
+
42986
42488
  Otherwise, you can optionally specify an IP address that references an
42987
42489
  existing static (reserved) IP address resource. When omitted, Google Cloud
42988
42490
  assigns an ephemeral IP address.
@@ -43000,6 +42502,7 @@ class GetForwardingRulesRuleResult(dict):
43000
42502
  * 'global/addresses/address-name'
43001
42503
  * 'address-name'
43002
42504
 
42505
+
43003
42506
  The forwarding rule's 'target' or 'backendService',
43004
42507
  and in most cases, also the 'loadBalancingScheme', determine the
43005
42508
  type of IP address that you can use. For detailed information, see
@@ -43344,6 +42847,7 @@ class GetForwardingRulesRuleResult(dict):
43344
42847
  * 'vpc-sc' - [ APIs that support VPC Service Controls](https://cloud.google.com/vpc-service-controls/docs/supported-products).
43345
42848
  * 'all-apis' - [All supported Google APIs](https://cloud.google.com/vpc/docs/private-service-connect#supported-apis).
43346
42849
 
42850
+
43347
42851
  For Private Service Connect forwarding rules that forward traffic to managed services, the target must be a service attachment.
43348
42852
  """
43349
42853
  return pulumi.get(self, "target")