pulumi-gcp 7.24.0a1715926460__py3-none-any.whl → 7.24.0a1716510380__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.
@@ -3121,6 +3121,25 @@ class BackendServiceLocalityLbPolicyPolicy(dict):
3121
3121
  Note that specifying the same policy more than once for a backend is
3122
3122
  not a valid configuration and will be rejected.
3123
3123
  The possible values are:
3124
+ * `ROUND_ROBIN`: This is a simple policy in which each healthy backend
3125
+ is selected in round robin order.
3126
+ * `LEAST_REQUEST`: An O(1) algorithm which selects two random healthy
3127
+ hosts and picks the host which has fewer active requests.
3128
+ * `RING_HASH`: The ring/modulo hash load balancer implements consistent
3129
+ hashing to backends. The algorithm has the property that the
3130
+ addition/removal of a host from a set of N hosts only affects
3131
+ 1/N of the requests.
3132
+ * `RANDOM`: The load balancer selects a random healthy host.
3133
+ * `ORIGINAL_DESTINATION`: Backend host is selected based on the client
3134
+ connection metadata, i.e., connections are opened
3135
+ to the same address as the destination address of
3136
+ the incoming connection before the connection
3137
+ was redirected to the load balancer.
3138
+ * `MAGLEV`: used as a drop in replacement for the ring hash load balancer.
3139
+ Maglev is not as stable as ring hash but has faster table lookup
3140
+ build times and host selection times. For more information about
3141
+ Maglev, refer to https://ai.google/research/pubs/pub44824
3142
+ Possible values are: `ROUND_ROBIN`, `LEAST_REQUEST`, `RING_HASH`, `RANDOM`, `ORIGINAL_DESTINATION`, `MAGLEV`.
3124
3143
  """
3125
3144
  pulumi.set(__self__, "name", name)
3126
3145
 
@@ -3136,6 +3155,25 @@ class BackendServiceLocalityLbPolicyPolicy(dict):
3136
3155
  Note that specifying the same policy more than once for a backend is
3137
3156
  not a valid configuration and will be rejected.
3138
3157
  The possible values are:
3158
+ * `ROUND_ROBIN`: This is a simple policy in which each healthy backend
3159
+ is selected in round robin order.
3160
+ * `LEAST_REQUEST`: An O(1) algorithm which selects two random healthy
3161
+ hosts and picks the host which has fewer active requests.
3162
+ * `RING_HASH`: The ring/modulo hash load balancer implements consistent
3163
+ hashing to backends. The algorithm has the property that the
3164
+ addition/removal of a host from a set of N hosts only affects
3165
+ 1/N of the requests.
3166
+ * `RANDOM`: The load balancer selects a random healthy host.
3167
+ * `ORIGINAL_DESTINATION`: Backend host is selected based on the client
3168
+ connection metadata, i.e., connections are opened
3169
+ to the same address as the destination address of
3170
+ the incoming connection before the connection
3171
+ was redirected to the load balancer.
3172
+ * `MAGLEV`: used as a drop in replacement for the ring hash load balancer.
3173
+ Maglev is not as stable as ring hash but has faster table lookup
3174
+ build times and host selection times. For more information about
3175
+ Maglev, refer to https://ai.google/research/pubs/pub44824
3176
+ Possible values are: `ROUND_ROBIN`, `LEAST_REQUEST`, `RING_HASH`, `RANDOM`, `ORIGINAL_DESTINATION`, `MAGLEV`.
3139
3177
  """
3140
3178
  return pulumi.get(self, "name")
3141
3179
 
@@ -4675,6 +4713,15 @@ class HealthCheckGrpcHealthCheck(dict):
4675
4713
  port_name are defined, port takes precedence.
4676
4714
  :param str port_specification: Specifies how port is selected for health checking, can be one of the
4677
4715
  following values:
4716
+ * `USE_FIXED_PORT`: The port number in `port` is used for health checking.
4717
+ * `USE_NAMED_PORT`: The `portName` is used for health checking.
4718
+ * `USE_SERVING_PORT`: For NetworkEndpointGroup, the port specified for each
4719
+ network endpoint is used for health checking. For other backends, the
4720
+ port or named port specified in the Backend Service is used for health
4721
+ checking.
4722
+ If not specified, gRPC health check follows behavior specified in `port` and
4723
+ `portName` fields.
4724
+ Possible values are: `USE_FIXED_PORT`, `USE_NAMED_PORT`, `USE_SERVING_PORT`.
4678
4725
  """
4679
4726
  if grpc_service_name is not None:
4680
4727
  pulumi.set(__self__, "grpc_service_name", grpc_service_name)
@@ -4722,6 +4769,15 @@ class HealthCheckGrpcHealthCheck(dict):
4722
4769
  """
4723
4770
  Specifies how port is selected for health checking, can be one of the
4724
4771
  following values:
4772
+ * `USE_FIXED_PORT`: The port number in `port` is used for health checking.
4773
+ * `USE_NAMED_PORT`: The `portName` is used for health checking.
4774
+ * `USE_SERVING_PORT`: For NetworkEndpointGroup, the port specified for each
4775
+ network endpoint is used for health checking. For other backends, the
4776
+ port or named port specified in the Backend Service is used for health
4777
+ checking.
4778
+ If not specified, gRPC health check follows behavior specified in `port` and
4779
+ `portName` fields.
4780
+ Possible values are: `USE_FIXED_PORT`, `USE_NAMED_PORT`, `USE_SERVING_PORT`.
4725
4781
  """
4726
4782
  return pulumi.get(self, "port_specification")
4727
4783
 
@@ -4925,6 +4981,15 @@ class HealthCheckHttpHealthCheck(dict):
4925
4981
  port_name are defined, port takes precedence.
4926
4982
  :param str port_specification: Specifies how port is selected for health checking, can be one of the
4927
4983
  following values:
4984
+ * `USE_FIXED_PORT`: The port number in `port` is used for health checking.
4985
+ * `USE_NAMED_PORT`: The `portName` is used for health checking.
4986
+ * `USE_SERVING_PORT`: For NetworkEndpointGroup, the port specified for each
4987
+ network endpoint is used for health checking. For other backends, the
4988
+ port or named port specified in the Backend Service is used for health
4989
+ checking.
4990
+ If not specified, HTTP health check follows behavior specified in `port` and
4991
+ `portName` fields.
4992
+ Possible values are: `USE_FIXED_PORT`, `USE_NAMED_PORT`, `USE_SERVING_PORT`.
4928
4993
  :param str proxy_header: Specifies the type of proxy header to append before sending data to the
4929
4994
  backend.
4930
4995
  Default value is `NONE`.
@@ -4984,6 +5049,15 @@ class HealthCheckHttpHealthCheck(dict):
4984
5049
  """
4985
5050
  Specifies how port is selected for health checking, can be one of the
4986
5051
  following values:
5052
+ * `USE_FIXED_PORT`: The port number in `port` is used for health checking.
5053
+ * `USE_NAMED_PORT`: The `portName` is used for health checking.
5054
+ * `USE_SERVING_PORT`: For NetworkEndpointGroup, the port specified for each
5055
+ network endpoint is used for health checking. For other backends, the
5056
+ port or named port specified in the Backend Service is used for health
5057
+ checking.
5058
+ If not specified, HTTP health check follows behavior specified in `port` and
5059
+ `portName` fields.
5060
+ Possible values are: `USE_FIXED_PORT`, `USE_NAMED_PORT`, `USE_SERVING_PORT`.
4987
5061
  """
4988
5062
  return pulumi.get(self, "port_specification")
4989
5063
 
@@ -5061,6 +5135,15 @@ class HealthCheckHttpsHealthCheck(dict):
5061
5135
  port_name are defined, port takes precedence.
5062
5136
  :param str port_specification: Specifies how port is selected for health checking, can be one of the
5063
5137
  following values:
5138
+ * `USE_FIXED_PORT`: The port number in `port` is used for health checking.
5139
+ * `USE_NAMED_PORT`: The `portName` is used for health checking.
5140
+ * `USE_SERVING_PORT`: For NetworkEndpointGroup, the port specified for each
5141
+ network endpoint is used for health checking. For other backends, the
5142
+ port or named port specified in the Backend Service is used for health
5143
+ checking.
5144
+ If not specified, HTTPS health check follows behavior specified in `port` and
5145
+ `portName` fields.
5146
+ Possible values are: `USE_FIXED_PORT`, `USE_NAMED_PORT`, `USE_SERVING_PORT`.
5064
5147
  :param str proxy_header: Specifies the type of proxy header to append before sending data to the
5065
5148
  backend.
5066
5149
  Default value is `NONE`.
@@ -5120,6 +5203,15 @@ class HealthCheckHttpsHealthCheck(dict):
5120
5203
  """
5121
5204
  Specifies how port is selected for health checking, can be one of the
5122
5205
  following values:
5206
+ * `USE_FIXED_PORT`: The port number in `port` is used for health checking.
5207
+ * `USE_NAMED_PORT`: The `portName` is used for health checking.
5208
+ * `USE_SERVING_PORT`: For NetworkEndpointGroup, the port specified for each
5209
+ network endpoint is used for health checking. For other backends, the
5210
+ port or named port specified in the Backend Service is used for health
5211
+ checking.
5212
+ If not specified, HTTPS health check follows behavior specified in `port` and
5213
+ `portName` fields.
5214
+ Possible values are: `USE_FIXED_PORT`, `USE_NAMED_PORT`, `USE_SERVING_PORT`.
5123
5215
  """
5124
5216
  return pulumi.get(self, "port_specification")
5125
5217
 
@@ -5212,6 +5304,15 @@ class HealthCheckSslHealthCheck(dict):
5212
5304
  port_name are defined, port takes precedence.
5213
5305
  :param str port_specification: Specifies how port is selected for health checking, can be one of the
5214
5306
  following values:
5307
+ * `USE_FIXED_PORT`: The port number in `port` is used for health checking.
5308
+ * `USE_NAMED_PORT`: The `portName` is used for health checking.
5309
+ * `USE_SERVING_PORT`: For NetworkEndpointGroup, the port specified for each
5310
+ network endpoint is used for health checking. For other backends, the
5311
+ port or named port specified in the Backend Service is used for health
5312
+ checking.
5313
+ If not specified, HTTP2 health check follows behavior specified in `port` and
5314
+ `portName` fields.
5315
+ Possible values are: `USE_FIXED_PORT`, `USE_NAMED_PORT`, `USE_SERVING_PORT`.
5215
5316
  :param str proxy_header: Specifies the type of proxy header to append before sending data to the
5216
5317
  backend.
5217
5318
  Default value is `NONE`.
@@ -5261,6 +5362,15 @@ class HealthCheckSslHealthCheck(dict):
5261
5362
  """
5262
5363
  Specifies how port is selected for health checking, can be one of the
5263
5364
  following values:
5365
+ * `USE_FIXED_PORT`: The port number in `port` is used for health checking.
5366
+ * `USE_NAMED_PORT`: The `portName` is used for health checking.
5367
+ * `USE_SERVING_PORT`: For NetworkEndpointGroup, the port specified for each
5368
+ network endpoint is used for health checking. For other backends, the
5369
+ port or named port specified in the Backend Service is used for health
5370
+ checking.
5371
+ If not specified, HTTP2 health check follows behavior specified in `port` and
5372
+ `portName` fields.
5373
+ Possible values are: `USE_FIXED_PORT`, `USE_NAMED_PORT`, `USE_SERVING_PORT`.
5264
5374
  """
5265
5375
  return pulumi.get(self, "port_specification")
5266
5376
 
@@ -5334,6 +5444,15 @@ class HealthCheckTcpHealthCheck(dict):
5334
5444
  port_name are defined, port takes precedence.
5335
5445
  :param str port_specification: Specifies how port is selected for health checking, can be one of the
5336
5446
  following values:
5447
+ * `USE_FIXED_PORT`: The port number in `port` is used for health checking.
5448
+ * `USE_NAMED_PORT`: The `portName` is used for health checking.
5449
+ * `USE_SERVING_PORT`: For NetworkEndpointGroup, the port specified for each
5450
+ network endpoint is used for health checking. For other backends, the
5451
+ port or named port specified in the Backend Service is used for health
5452
+ checking.
5453
+ If not specified, TCP health check follows behavior specified in `port` and
5454
+ `portName` fields.
5455
+ Possible values are: `USE_FIXED_PORT`, `USE_NAMED_PORT`, `USE_SERVING_PORT`.
5337
5456
  :param str proxy_header: Specifies the type of proxy header to append before sending data to the
5338
5457
  backend.
5339
5458
  Default value is `NONE`.
@@ -5383,6 +5502,15 @@ class HealthCheckTcpHealthCheck(dict):
5383
5502
  """
5384
5503
  Specifies how port is selected for health checking, can be one of the
5385
5504
  following values:
5505
+ * `USE_FIXED_PORT`: The port number in `port` is used for health checking.
5506
+ * `USE_NAMED_PORT`: The `portName` is used for health checking.
5507
+ * `USE_SERVING_PORT`: For NetworkEndpointGroup, the port specified for each
5508
+ network endpoint is used for health checking. For other backends, the
5509
+ port or named port specified in the Backend Service is used for health
5510
+ checking.
5511
+ If not specified, TCP health check follows behavior specified in `port` and
5512
+ `portName` fields.
5513
+ Possible values are: `USE_FIXED_PORT`, `USE_NAMED_PORT`, `USE_SERVING_PORT`.
5386
5514
  """
5387
5515
  return pulumi.get(self, "port_specification")
5388
5516
 
@@ -17797,6 +17925,15 @@ class RegionHealthCheckGrpcHealthCheck(dict):
17797
17925
  port_name are defined, port takes precedence.
17798
17926
  :param str port_specification: Specifies how port is selected for health checking, can be one of the
17799
17927
  following values:
17928
+ * `USE_FIXED_PORT`: The port number in `port` is used for health checking.
17929
+ * `USE_NAMED_PORT`: The `portName` is used for health checking.
17930
+ * `USE_SERVING_PORT`: For NetworkEndpointGroup, the port specified for each
17931
+ network endpoint is used for health checking. For other backends, the
17932
+ port or named port specified in the Backend Service is used for health
17933
+ checking.
17934
+ If not specified, gRPC health check follows behavior specified in `port` and
17935
+ `portName` fields.
17936
+ Possible values are: `USE_FIXED_PORT`, `USE_NAMED_PORT`, `USE_SERVING_PORT`.
17800
17937
  """
17801
17938
  if grpc_service_name is not None:
17802
17939
  pulumi.set(__self__, "grpc_service_name", grpc_service_name)
@@ -17844,6 +17981,15 @@ class RegionHealthCheckGrpcHealthCheck(dict):
17844
17981
  """
17845
17982
  Specifies how port is selected for health checking, can be one of the
17846
17983
  following values:
17984
+ * `USE_FIXED_PORT`: The port number in `port` is used for health checking.
17985
+ * `USE_NAMED_PORT`: The `portName` is used for health checking.
17986
+ * `USE_SERVING_PORT`: For NetworkEndpointGroup, the port specified for each
17987
+ network endpoint is used for health checking. For other backends, the
17988
+ port or named port specified in the Backend Service is used for health
17989
+ checking.
17990
+ If not specified, gRPC health check follows behavior specified in `port` and
17991
+ `portName` fields.
17992
+ Possible values are: `USE_FIXED_PORT`, `USE_NAMED_PORT`, `USE_SERVING_PORT`.
17847
17993
  """
17848
17994
  return pulumi.get(self, "port_specification")
17849
17995
 
@@ -18047,6 +18193,15 @@ class RegionHealthCheckHttpHealthCheck(dict):
18047
18193
  port_name are defined, port takes precedence.
18048
18194
  :param str port_specification: Specifies how port is selected for health checking, can be one of the
18049
18195
  following values:
18196
+ * `USE_FIXED_PORT`: The port number in `port` is used for health checking.
18197
+ * `USE_NAMED_PORT`: The `portName` is used for health checking.
18198
+ * `USE_SERVING_PORT`: For NetworkEndpointGroup, the port specified for each
18199
+ network endpoint is used for health checking. For other backends, the
18200
+ port or named port specified in the Backend Service is used for health
18201
+ checking.
18202
+ If not specified, HTTP health check follows behavior specified in `port` and
18203
+ `portName` fields.
18204
+ Possible values are: `USE_FIXED_PORT`, `USE_NAMED_PORT`, `USE_SERVING_PORT`.
18050
18205
  :param str proxy_header: Specifies the type of proxy header to append before sending data to the
18051
18206
  backend.
18052
18207
  Default value is `NONE`.
@@ -18106,6 +18261,15 @@ class RegionHealthCheckHttpHealthCheck(dict):
18106
18261
  """
18107
18262
  Specifies how port is selected for health checking, can be one of the
18108
18263
  following values:
18264
+ * `USE_FIXED_PORT`: The port number in `port` is used for health checking.
18265
+ * `USE_NAMED_PORT`: The `portName` is used for health checking.
18266
+ * `USE_SERVING_PORT`: For NetworkEndpointGroup, the port specified for each
18267
+ network endpoint is used for health checking. For other backends, the
18268
+ port or named port specified in the Backend Service is used for health
18269
+ checking.
18270
+ If not specified, HTTP health check follows behavior specified in `port` and
18271
+ `portName` fields.
18272
+ Possible values are: `USE_FIXED_PORT`, `USE_NAMED_PORT`, `USE_SERVING_PORT`.
18109
18273
  """
18110
18274
  return pulumi.get(self, "port_specification")
18111
18275
 
@@ -18183,6 +18347,15 @@ class RegionHealthCheckHttpsHealthCheck(dict):
18183
18347
  port_name are defined, port takes precedence.
18184
18348
  :param str port_specification: Specifies how port is selected for health checking, can be one of the
18185
18349
  following values:
18350
+ * `USE_FIXED_PORT`: The port number in `port` is used for health checking.
18351
+ * `USE_NAMED_PORT`: The `portName` is used for health checking.
18352
+ * `USE_SERVING_PORT`: For NetworkEndpointGroup, the port specified for each
18353
+ network endpoint is used for health checking. For other backends, the
18354
+ port or named port specified in the Backend Service is used for health
18355
+ checking.
18356
+ If not specified, HTTPS health check follows behavior specified in `port` and
18357
+ `portName` fields.
18358
+ Possible values are: `USE_FIXED_PORT`, `USE_NAMED_PORT`, `USE_SERVING_PORT`.
18186
18359
  :param str proxy_header: Specifies the type of proxy header to append before sending data to the
18187
18360
  backend.
18188
18361
  Default value is `NONE`.
@@ -18242,6 +18415,15 @@ class RegionHealthCheckHttpsHealthCheck(dict):
18242
18415
  """
18243
18416
  Specifies how port is selected for health checking, can be one of the
18244
18417
  following values:
18418
+ * `USE_FIXED_PORT`: The port number in `port` is used for health checking.
18419
+ * `USE_NAMED_PORT`: The `portName` is used for health checking.
18420
+ * `USE_SERVING_PORT`: For NetworkEndpointGroup, the port specified for each
18421
+ network endpoint is used for health checking. For other backends, the
18422
+ port or named port specified in the Backend Service is used for health
18423
+ checking.
18424
+ If not specified, HTTPS health check follows behavior specified in `port` and
18425
+ `portName` fields.
18426
+ Possible values are: `USE_FIXED_PORT`, `USE_NAMED_PORT`, `USE_SERVING_PORT`.
18245
18427
  """
18246
18428
  return pulumi.get(self, "port_specification")
18247
18429
 
@@ -18334,6 +18516,15 @@ class RegionHealthCheckSslHealthCheck(dict):
18334
18516
  port_name are defined, port takes precedence.
18335
18517
  :param str port_specification: Specifies how port is selected for health checking, can be one of the
18336
18518
  following values:
18519
+ * `USE_FIXED_PORT`: The port number in `port` is used for health checking.
18520
+ * `USE_NAMED_PORT`: The `portName` is used for health checking.
18521
+ * `USE_SERVING_PORT`: For NetworkEndpointGroup, the port specified for each
18522
+ network endpoint is used for health checking. For other backends, the
18523
+ port or named port specified in the Backend Service is used for health
18524
+ checking.
18525
+ If not specified, HTTP2 health check follows behavior specified in `port` and
18526
+ `portName` fields.
18527
+ Possible values are: `USE_FIXED_PORT`, `USE_NAMED_PORT`, `USE_SERVING_PORT`.
18337
18528
  :param str proxy_header: Specifies the type of proxy header to append before sending data to the
18338
18529
  backend.
18339
18530
  Default value is `NONE`.
@@ -18383,6 +18574,15 @@ class RegionHealthCheckSslHealthCheck(dict):
18383
18574
  """
18384
18575
  Specifies how port is selected for health checking, can be one of the
18385
18576
  following values:
18577
+ * `USE_FIXED_PORT`: The port number in `port` is used for health checking.
18578
+ * `USE_NAMED_PORT`: The `portName` is used for health checking.
18579
+ * `USE_SERVING_PORT`: For NetworkEndpointGroup, the port specified for each
18580
+ network endpoint is used for health checking. For other backends, the
18581
+ port or named port specified in the Backend Service is used for health
18582
+ checking.
18583
+ If not specified, HTTP2 health check follows behavior specified in `port` and
18584
+ `portName` fields.
18585
+ Possible values are: `USE_FIXED_PORT`, `USE_NAMED_PORT`, `USE_SERVING_PORT`.
18386
18586
  """
18387
18587
  return pulumi.get(self, "port_specification")
18388
18588
 
@@ -18456,6 +18656,15 @@ class RegionHealthCheckTcpHealthCheck(dict):
18456
18656
  port_name are defined, port takes precedence.
18457
18657
  :param str port_specification: Specifies how port is selected for health checking, can be one of the
18458
18658
  following values:
18659
+ * `USE_FIXED_PORT`: The port number in `port` is used for health checking.
18660
+ * `USE_NAMED_PORT`: The `portName` is used for health checking.
18661
+ * `USE_SERVING_PORT`: For NetworkEndpointGroup, the port specified for each
18662
+ network endpoint is used for health checking. For other backends, the
18663
+ port or named port specified in the Backend Service is used for health
18664
+ checking.
18665
+ If not specified, TCP health check follows behavior specified in `port` and
18666
+ `portName` fields.
18667
+ Possible values are: `USE_FIXED_PORT`, `USE_NAMED_PORT`, `USE_SERVING_PORT`.
18459
18668
  :param str proxy_header: Specifies the type of proxy header to append before sending data to the
18460
18669
  backend.
18461
18670
  Default value is `NONE`.
@@ -18505,6 +18714,15 @@ class RegionHealthCheckTcpHealthCheck(dict):
18505
18714
  """
18506
18715
  Specifies how port is selected for health checking, can be one of the
18507
18716
  following values:
18717
+ * `USE_FIXED_PORT`: The port number in `port` is used for health checking.
18718
+ * `USE_NAMED_PORT`: The `portName` is used for health checking.
18719
+ * `USE_SERVING_PORT`: For NetworkEndpointGroup, the port specified for each
18720
+ network endpoint is used for health checking. For other backends, the
18721
+ port or named port specified in the Backend Service is used for health
18722
+ checking.
18723
+ If not specified, TCP health check follows behavior specified in `port` and
18724
+ `portName` fields.
18725
+ Possible values are: `USE_FIXED_PORT`, `USE_NAMED_PORT`, `USE_SERVING_PORT`.
18508
18726
  """
18509
18727
  return pulumi.get(self, "port_specification")
18510
18728
 
@@ -30500,7 +30718,11 @@ class SecurityPolicyAdvancedOptionsConfig(dict):
30500
30718
  :param 'SecurityPolicyAdvancedOptionsConfigJsonCustomConfigArgs' json_custom_config: Custom configuration to apply the JSON parsing. Only applicable when
30501
30719
  `json_parsing` is set to `STANDARD`. Structure is documented below.
30502
30720
  :param str json_parsing: Whether or not to JSON parse the payload body. Defaults to `DISABLED`.
30721
+ * `DISABLED` - Don't parse JSON payloads in POST bodies.
30722
+ * `STANDARD` - Parse JSON payloads in POST bodies.
30503
30723
  :param str log_level: Log level to use. Defaults to `NORMAL`.
30724
+ * `NORMAL` - Normal log level.
30725
+ * `VERBOSE` - Verbose log level.
30504
30726
  :param Sequence[str] user_ip_request_headers: An optional list of case-insensitive request header names to use for resolving the callers client IP address.
30505
30727
  """
30506
30728
  if json_custom_config is not None:
@@ -30526,6 +30748,8 @@ class SecurityPolicyAdvancedOptionsConfig(dict):
30526
30748
  def json_parsing(self) -> Optional[str]:
30527
30749
  """
30528
30750
  Whether or not to JSON parse the payload body. Defaults to `DISABLED`.
30751
+ * `DISABLED` - Don't parse JSON payloads in POST bodies.
30752
+ * `STANDARD` - Parse JSON payloads in POST bodies.
30529
30753
  """
30530
30754
  return pulumi.get(self, "json_parsing")
30531
30755
 
@@ -30534,6 +30758,8 @@ class SecurityPolicyAdvancedOptionsConfig(dict):
30534
30758
  def log_level(self) -> Optional[str]:
30535
30759
  """
30536
30760
  Log level to use. Defaults to `NORMAL`.
30761
+ * `NORMAL` - Normal log level.
30762
+ * `VERBOSE` - Verbose log level.
30537
30763
  """
30538
30764
  return pulumi.get(self, "log_level")
30539
30765
 
@@ -31343,10 +31569,22 @@ class SecurityPolicyRuleRateLimitOptions(dict):
31343
31569
  If specified, the key will be banned for the configured `ban_duration_sec` when the number of requests that exceed the `rate_limit_threshold` also
31344
31570
  exceed this `ban_threshold`. Structure is documented below.
31345
31571
  :param str enforce_on_key: Determines the key to enforce the rate_limit_threshold on. If not specified, defaults to `ALL`.
31572
+
31573
+ * `ALL`: A single rate limit threshold is applied to all the requests matching this rule.
31574
+ * `IP`: The source IP address of the request is the key. Each IP has this limit enforced separately.
31575
+ * `HTTP_HEADER`: The value of the HTTP header whose name is configured under `enforce_on_key_name`. The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to `ALL`.
31576
+ * `XFF_IP`: The first IP address (i.e. the originating client IP address) specified in the list of IPs under `X-Forwarded-For` HTTP header. If no such header is present or the value is not a valid IP, the key type defaults to `ALL`.
31577
+ * `HTTP_COOKIE`: The value of the HTTP cookie whose name is configured under `enforce_on_key_name`. The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to `ALL`.
31578
+ * `HTTP_PATH`: The URL path of the HTTP request. The key value is truncated to the first 128 bytes
31579
+ * `SNI`: Server name indication in the TLS session of the HTTPS request. The key value is truncated to the first 128 bytes. The key type defaults to `ALL` on a HTTP session.
31580
+ * `REGION_CODE`: The country/region from which the request originates.
31346
31581
  :param Sequence['SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigArgs'] enforce_on_key_configs: If specified, any combination of values of enforce_on_key_type/enforce_on_key_name is treated as the key on which rate limit threshold/action is enforced. You can specify up to 3 enforce_on_key_configs. If `enforce_on_key_configs` is specified, `enforce_on_key` must be set to an empty string. Structure is documented below.
31347
31582
 
31348
31583
  **Note:** To avoid the conflict between `enforce_on_key` and `enforce_on_key_configs`, the field `enforce_on_key` needs to be set to an empty string.
31349
31584
  :param str enforce_on_key_name: Rate limit key name applicable only for the following key types:
31585
+
31586
+ * `HTTP_HEADER` -- Name of the HTTP header whose value is taken as the key value.
31587
+ * `HTTP_COOKIE` -- Name of the HTTP cookie whose value is taken as the key value.
31350
31588
  :param 'SecurityPolicyRuleRateLimitOptionsExceedRedirectOptionsArgs' exceed_redirect_options: Parameters defining the redirect action that is used as the exceed action. Cannot be specified if the exceed action is not redirect.
31351
31589
  """
31352
31590
  pulumi.set(__self__, "conform_action", conform_action)
@@ -31414,6 +31652,15 @@ class SecurityPolicyRuleRateLimitOptions(dict):
31414
31652
  def enforce_on_key(self) -> Optional[str]:
31415
31653
  """
31416
31654
  Determines the key to enforce the rate_limit_threshold on. If not specified, defaults to `ALL`.
31655
+
31656
+ * `ALL`: A single rate limit threshold is applied to all the requests matching this rule.
31657
+ * `IP`: The source IP address of the request is the key. Each IP has this limit enforced separately.
31658
+ * `HTTP_HEADER`: The value of the HTTP header whose name is configured under `enforce_on_key_name`. The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to `ALL`.
31659
+ * `XFF_IP`: The first IP address (i.e. the originating client IP address) specified in the list of IPs under `X-Forwarded-For` HTTP header. If no such header is present or the value is not a valid IP, the key type defaults to `ALL`.
31660
+ * `HTTP_COOKIE`: The value of the HTTP cookie whose name is configured under `enforce_on_key_name`. The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to `ALL`.
31661
+ * `HTTP_PATH`: The URL path of the HTTP request. The key value is truncated to the first 128 bytes
31662
+ * `SNI`: Server name indication in the TLS session of the HTTPS request. The key value is truncated to the first 128 bytes. The key type defaults to `ALL` on a HTTP session.
31663
+ * `REGION_CODE`: The country/region from which the request originates.
31417
31664
  """
31418
31665
  return pulumi.get(self, "enforce_on_key")
31419
31666
 
@@ -31432,6 +31679,9 @@ class SecurityPolicyRuleRateLimitOptions(dict):
31432
31679
  def enforce_on_key_name(self) -> Optional[str]:
31433
31680
  """
31434
31681
  Rate limit key name applicable only for the following key types:
31682
+
31683
+ * `HTTP_HEADER` -- Name of the HTTP header whose value is taken as the key value.
31684
+ * `HTTP_COOKIE` -- Name of the HTTP cookie whose value is taken as the key value.
31435
31685
  """
31436
31686
  return pulumi.get(self, "enforce_on_key_name")
31437
31687
 
@@ -31516,7 +31766,19 @@ class SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig(dict):
31516
31766
  enforce_on_key_type: Optional[str] = None):
31517
31767
  """
31518
31768
  :param str enforce_on_key_name: Rate limit key name applicable only for the following key types:
31769
+
31770
+ * `HTTP_HEADER` -- Name of the HTTP header whose value is taken as the key value.
31771
+ * `HTTP_COOKIE` -- Name of the HTTP cookie whose value is taken as the key value.
31519
31772
  :param str enforce_on_key_type: Determines the key to enforce the `rate_limit_threshold` on. If not specified, defaults to `ALL`.
31773
+
31774
+ * `ALL`: A single rate limit threshold is applied to all the requests matching this rule.
31775
+ * `IP`: The source IP address of the request is the key. Each IP has this limit enforced separately.
31776
+ * `HTTP_HEADER`: The value of the HTTP header whose name is configured on `enforce_on_key_name`. The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to `ALL`.
31777
+ * `XFF_IP`: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key type defaults to `ALL`.
31778
+ * `HTTP_COOKIE`: The value of the HTTP cookie whose name is configured under `enforce_on_key_name`. The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to `ALL`.
31779
+ * `HTTP_PATH`: The URL path of the HTTP request. The key value is truncated to the first 128 bytes
31780
+ * `SNI`: Server name indication in the TLS session of the HTTPS request. The key value is truncated to the first 128 bytes. The key type defaults to `ALL` on a HTTP session.
31781
+ * `REGION_CODE`: The country/region from which the request originates.
31520
31782
  """
31521
31783
  if enforce_on_key_name is not None:
31522
31784
  pulumi.set(__self__, "enforce_on_key_name", enforce_on_key_name)
@@ -31528,6 +31790,9 @@ class SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig(dict):
31528
31790
  def enforce_on_key_name(self) -> Optional[str]:
31529
31791
  """
31530
31792
  Rate limit key name applicable only for the following key types:
31793
+
31794
+ * `HTTP_HEADER` -- Name of the HTTP header whose value is taken as the key value.
31795
+ * `HTTP_COOKIE` -- Name of the HTTP cookie whose value is taken as the key value.
31531
31796
  """
31532
31797
  return pulumi.get(self, "enforce_on_key_name")
31533
31798
 
@@ -31536,6 +31801,15 @@ class SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig(dict):
31536
31801
  def enforce_on_key_type(self) -> Optional[str]:
31537
31802
  """
31538
31803
  Determines the key to enforce the `rate_limit_threshold` on. If not specified, defaults to `ALL`.
31804
+
31805
+ * `ALL`: A single rate limit threshold is applied to all the requests matching this rule.
31806
+ * `IP`: The source IP address of the request is the key. Each IP has this limit enforced separately.
31807
+ * `HTTP_HEADER`: The value of the HTTP header whose name is configured on `enforce_on_key_name`. The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to `ALL`.
31808
+ * `XFF_IP`: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key type defaults to `ALL`.
31809
+ * `HTTP_COOKIE`: The value of the HTTP cookie whose name is configured under `enforce_on_key_name`. The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to `ALL`.
31810
+ * `HTTP_PATH`: The URL path of the HTTP request. The key value is truncated to the first 128 bytes
31811
+ * `SNI`: Server name indication in the TLS session of the HTTPS request. The key value is truncated to the first 128 bytes. The key type defaults to `ALL` on a HTTP session.
31812
+ * `REGION_CODE`: The country/region from which the request originates.
31539
31813
  """
31540
31814
  return pulumi.get(self, "enforce_on_key_type")
31541
31815
 
@@ -31623,6 +31897,9 @@ class SecurityPolicyRuleRedirectOptions(dict):
31623
31897
  target: Optional[str] = None):
31624
31898
  """
31625
31899
  :param str type: Type of redirect action.
31900
+
31901
+ * `EXTERNAL_302`: Redirect to an external address, configured in `target`.
31902
+ * `GOOGLE_RECAPTCHA`: Redirect to Google reCAPTCHA.
31626
31903
  :param str target: External redirection target when `EXTERNAL_302` is set in `type`.
31627
31904
  """
31628
31905
  pulumi.set(__self__, "type", type)
@@ -31634,6 +31911,9 @@ class SecurityPolicyRuleRedirectOptions(dict):
31634
31911
  def type(self) -> str:
31635
31912
  """
31636
31913
  Type of redirect action.
31914
+
31915
+ * `EXTERNAL_302`: Redirect to an external address, configured in `target`.
31916
+ * `GOOGLE_RECAPTCHA`: Redirect to Google reCAPTCHA.
31637
31917
  """
31638
31918
  return pulumi.get(self, "type")
31639
31919
 
@@ -41053,6 +41333,8 @@ class GetForwardingRulesRuleResult(dict):
41053
41333
  For internal forwarding rules within the same VPC network, two or more
41054
41334
  forwarding rules cannot use the same '[IPAddress, IPProtocol]' pair, and
41055
41335
  cannot have overlapping 'portRange's.
41336
+
41337
+ @pattern: \\d+(?:-\\d+)?
41056
41338
  :param Sequence[str] ports: The 'ports', 'portRange', and 'allPorts' fields are mutually exclusive.
41057
41339
  Only packets addressed to ports in the specified range will be forwarded
41058
41340
  to the backends configured with this forwarding rule.
@@ -41073,6 +41355,8 @@ class GetForwardingRulesRuleResult(dict):
41073
41355
  For internal forwarding rules within the same VPC network, two or more
41074
41356
  forwarding rules cannot use the same '[IPAddress, IPProtocol]' pair if
41075
41357
  they share at least one port number.
41358
+
41359
+ @pattern: \\d+(?:-\\d+)?
41076
41360
  :param str project: The name of the project.
41077
41361
  :param str psc_connection_id: The PSC connection id of the PSC Forwarding Rule.
41078
41362
  :param str psc_connection_status: The PSC connection status of the PSC Forwarding Rule. Possible values: 'STATUS_UNSPECIFIED', 'PENDING', 'ACCEPTED', 'REJECTED', 'CLOSED'
@@ -41458,6 +41742,8 @@ class GetForwardingRulesRuleResult(dict):
41458
41742
  For internal forwarding rules within the same VPC network, two or more
41459
41743
  forwarding rules cannot use the same '[IPAddress, IPProtocol]' pair, and
41460
41744
  cannot have overlapping 'portRange's.
41745
+
41746
+ @pattern: \\d+(?:-\\d+)?
41461
41747
  """
41462
41748
  return pulumi.get(self, "port_range")
41463
41749
 
@@ -41485,6 +41771,8 @@ class GetForwardingRulesRuleResult(dict):
41485
41771
  For internal forwarding rules within the same VPC network, two or more
41486
41772
  forwarding rules cannot use the same '[IPAddress, IPProtocol]' pair if
41487
41773
  they share at least one port number.
41774
+
41775
+ @pattern: \\d+(?:-\\d+)?
41488
41776
  """
41489
41777
  return pulumi.get(self, "ports")
41490
41778