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.
@@ -3016,6 +3016,25 @@ class BackendServiceLocalityLbPolicyPolicyArgs:
3016
3016
  Note that specifying the same policy more than once for a backend is
3017
3017
  not a valid configuration and will be rejected.
3018
3018
  The possible values are:
3019
+ * `ROUND_ROBIN`: This is a simple policy in which each healthy backend
3020
+ is selected in round robin order.
3021
+ * `LEAST_REQUEST`: An O(1) algorithm which selects two random healthy
3022
+ hosts and picks the host which has fewer active requests.
3023
+ * `RING_HASH`: The ring/modulo hash load balancer implements consistent
3024
+ hashing to backends. The algorithm has the property that the
3025
+ addition/removal of a host from a set of N hosts only affects
3026
+ 1/N of the requests.
3027
+ * `RANDOM`: The load balancer selects a random healthy host.
3028
+ * `ORIGINAL_DESTINATION`: Backend host is selected based on the client
3029
+ connection metadata, i.e., connections are opened
3030
+ to the same address as the destination address of
3031
+ the incoming connection before the connection
3032
+ was redirected to the load balancer.
3033
+ * `MAGLEV`: used as a drop in replacement for the ring hash load balancer.
3034
+ Maglev is not as stable as ring hash but has faster table lookup
3035
+ build times and host selection times. For more information about
3036
+ Maglev, refer to https://ai.google/research/pubs/pub44824
3037
+ Possible values are: `ROUND_ROBIN`, `LEAST_REQUEST`, `RING_HASH`, `RANDOM`, `ORIGINAL_DESTINATION`, `MAGLEV`.
3019
3038
  """
3020
3039
  pulumi.set(__self__, "name", name)
3021
3040
 
@@ -3031,6 +3050,25 @@ class BackendServiceLocalityLbPolicyPolicyArgs:
3031
3050
  Note that specifying the same policy more than once for a backend is
3032
3051
  not a valid configuration and will be rejected.
3033
3052
  The possible values are:
3053
+ * `ROUND_ROBIN`: This is a simple policy in which each healthy backend
3054
+ is selected in round robin order.
3055
+ * `LEAST_REQUEST`: An O(1) algorithm which selects two random healthy
3056
+ hosts and picks the host which has fewer active requests.
3057
+ * `RING_HASH`: The ring/modulo hash load balancer implements consistent
3058
+ hashing to backends. The algorithm has the property that the
3059
+ addition/removal of a host from a set of N hosts only affects
3060
+ 1/N of the requests.
3061
+ * `RANDOM`: The load balancer selects a random healthy host.
3062
+ * `ORIGINAL_DESTINATION`: Backend host is selected based on the client
3063
+ connection metadata, i.e., connections are opened
3064
+ to the same address as the destination address of
3065
+ the incoming connection before the connection
3066
+ was redirected to the load balancer.
3067
+ * `MAGLEV`: used as a drop in replacement for the ring hash load balancer.
3068
+ Maglev is not as stable as ring hash but has faster table lookup
3069
+ build times and host selection times. For more information about
3070
+ Maglev, refer to https://ai.google/research/pubs/pub44824
3071
+ Possible values are: `ROUND_ROBIN`, `LEAST_REQUEST`, `RING_HASH`, `RANDOM`, `ORIGINAL_DESTINATION`, `MAGLEV`.
3034
3072
  """
3035
3073
  return pulumi.get(self, "name")
3036
3074
 
@@ -4583,6 +4621,15 @@ class HealthCheckGrpcHealthCheckArgs:
4583
4621
  port_name are defined, port takes precedence.
4584
4622
  :param pulumi.Input[str] port_specification: Specifies how port is selected for health checking, can be one of the
4585
4623
  following values:
4624
+ * `USE_FIXED_PORT`: The port number in `port` is used for health checking.
4625
+ * `USE_NAMED_PORT`: The `portName` is used for health checking.
4626
+ * `USE_SERVING_PORT`: For NetworkEndpointGroup, the port specified for each
4627
+ network endpoint is used for health checking. For other backends, the
4628
+ port or named port specified in the Backend Service is used for health
4629
+ checking.
4630
+ If not specified, gRPC health check follows behavior specified in `port` and
4631
+ `portName` fields.
4632
+ Possible values are: `USE_FIXED_PORT`, `USE_NAMED_PORT`, `USE_SERVING_PORT`.
4586
4633
  """
4587
4634
  if grpc_service_name is not None:
4588
4635
  pulumi.set(__self__, "grpc_service_name", grpc_service_name)
@@ -4642,6 +4689,15 @@ class HealthCheckGrpcHealthCheckArgs:
4642
4689
  """
4643
4690
  Specifies how port is selected for health checking, can be one of the
4644
4691
  following values:
4692
+ * `USE_FIXED_PORT`: The port number in `port` is used for health checking.
4693
+ * `USE_NAMED_PORT`: The `portName` is used for health checking.
4694
+ * `USE_SERVING_PORT`: For NetworkEndpointGroup, the port specified for each
4695
+ network endpoint is used for health checking. For other backends, the
4696
+ port or named port specified in the Backend Service is used for health
4697
+ checking.
4698
+ If not specified, gRPC health check follows behavior specified in `port` and
4699
+ `portName` fields.
4700
+ Possible values are: `USE_FIXED_PORT`, `USE_NAMED_PORT`, `USE_SERVING_PORT`.
4645
4701
  """
4646
4702
  return pulumi.get(self, "port_specification")
4647
4703
 
@@ -4831,6 +4887,15 @@ class HealthCheckHttpHealthCheckArgs:
4831
4887
  port_name are defined, port takes precedence.
4832
4888
  :param pulumi.Input[str] port_specification: Specifies how port is selected for health checking, can be one of the
4833
4889
  following values:
4890
+ * `USE_FIXED_PORT`: The port number in `port` is used for health checking.
4891
+ * `USE_NAMED_PORT`: The `portName` is used for health checking.
4892
+ * `USE_SERVING_PORT`: For NetworkEndpointGroup, the port specified for each
4893
+ network endpoint is used for health checking. For other backends, the
4894
+ port or named port specified in the Backend Service is used for health
4895
+ checking.
4896
+ If not specified, HTTP health check follows behavior specified in `port` and
4897
+ `portName` fields.
4898
+ Possible values are: `USE_FIXED_PORT`, `USE_NAMED_PORT`, `USE_SERVING_PORT`.
4834
4899
  :param pulumi.Input[str] proxy_header: Specifies the type of proxy header to append before sending data to the
4835
4900
  backend.
4836
4901
  Default value is `NONE`.
@@ -4902,6 +4967,15 @@ class HealthCheckHttpHealthCheckArgs:
4902
4967
  """
4903
4968
  Specifies how port is selected for health checking, can be one of the
4904
4969
  following values:
4970
+ * `USE_FIXED_PORT`: The port number in `port` is used for health checking.
4971
+ * `USE_NAMED_PORT`: The `portName` is used for health checking.
4972
+ * `USE_SERVING_PORT`: For NetworkEndpointGroup, the port specified for each
4973
+ network endpoint is used for health checking. For other backends, the
4974
+ port or named port specified in the Backend Service is used for health
4975
+ checking.
4976
+ If not specified, HTTP health check follows behavior specified in `port` and
4977
+ `portName` fields.
4978
+ Possible values are: `USE_FIXED_PORT`, `USE_NAMED_PORT`, `USE_SERVING_PORT`.
4905
4979
  """
4906
4980
  return pulumi.get(self, "port_specification")
4907
4981
 
@@ -4972,6 +5046,15 @@ class HealthCheckHttpsHealthCheckArgs:
4972
5046
  port_name are defined, port takes precedence.
4973
5047
  :param pulumi.Input[str] port_specification: Specifies how port is selected for health checking, can be one of the
4974
5048
  following values:
5049
+ * `USE_FIXED_PORT`: The port number in `port` is used for health checking.
5050
+ * `USE_NAMED_PORT`: The `portName` is used for health checking.
5051
+ * `USE_SERVING_PORT`: For NetworkEndpointGroup, the port specified for each
5052
+ network endpoint is used for health checking. For other backends, the
5053
+ port or named port specified in the Backend Service is used for health
5054
+ checking.
5055
+ If not specified, HTTPS health check follows behavior specified in `port` and
5056
+ `portName` fields.
5057
+ Possible values are: `USE_FIXED_PORT`, `USE_NAMED_PORT`, `USE_SERVING_PORT`.
4975
5058
  :param pulumi.Input[str] proxy_header: Specifies the type of proxy header to append before sending data to the
4976
5059
  backend.
4977
5060
  Default value is `NONE`.
@@ -5043,6 +5126,15 @@ class HealthCheckHttpsHealthCheckArgs:
5043
5126
  """
5044
5127
  Specifies how port is selected for health checking, can be one of the
5045
5128
  following values:
5129
+ * `USE_FIXED_PORT`: The port number in `port` is used for health checking.
5130
+ * `USE_NAMED_PORT`: The `portName` is used for health checking.
5131
+ * `USE_SERVING_PORT`: For NetworkEndpointGroup, the port specified for each
5132
+ network endpoint is used for health checking. For other backends, the
5133
+ port or named port specified in the Backend Service is used for health
5134
+ checking.
5135
+ If not specified, HTTPS health check follows behavior specified in `port` and
5136
+ `portName` fields.
5137
+ Possible values are: `USE_FIXED_PORT`, `USE_NAMED_PORT`, `USE_SERVING_PORT`.
5046
5138
  """
5047
5139
  return pulumi.get(self, "port_specification")
5048
5140
 
@@ -5134,6 +5226,15 @@ class HealthCheckSslHealthCheckArgs:
5134
5226
  port_name are defined, port takes precedence.
5135
5227
  :param pulumi.Input[str] port_specification: Specifies how port is selected for health checking, can be one of the
5136
5228
  following values:
5229
+ * `USE_FIXED_PORT`: The port number in `port` is used for health checking.
5230
+ * `USE_NAMED_PORT`: The `portName` is used for health checking.
5231
+ * `USE_SERVING_PORT`: For NetworkEndpointGroup, the port specified for each
5232
+ network endpoint is used for health checking. For other backends, the
5233
+ port or named port specified in the Backend Service is used for health
5234
+ checking.
5235
+ If not specified, HTTP2 health check follows behavior specified in `port` and
5236
+ `portName` fields.
5237
+ Possible values are: `USE_FIXED_PORT`, `USE_NAMED_PORT`, `USE_SERVING_PORT`.
5137
5238
  :param pulumi.Input[str] proxy_header: Specifies the type of proxy header to append before sending data to the
5138
5239
  backend.
5139
5240
  Default value is `NONE`.
@@ -5191,6 +5292,15 @@ class HealthCheckSslHealthCheckArgs:
5191
5292
  """
5192
5293
  Specifies how port is selected for health checking, can be one of the
5193
5294
  following values:
5295
+ * `USE_FIXED_PORT`: The port number in `port` is used for health checking.
5296
+ * `USE_NAMED_PORT`: The `portName` is used for health checking.
5297
+ * `USE_SERVING_PORT`: For NetworkEndpointGroup, the port specified for each
5298
+ network endpoint is used for health checking. For other backends, the
5299
+ port or named port specified in the Backend Service is used for health
5300
+ checking.
5301
+ If not specified, HTTP2 health check follows behavior specified in `port` and
5302
+ `portName` fields.
5303
+ Possible values are: `USE_FIXED_PORT`, `USE_NAMED_PORT`, `USE_SERVING_PORT`.
5194
5304
  """
5195
5305
  return pulumi.get(self, "port_specification")
5196
5306
 
@@ -5259,6 +5369,15 @@ class HealthCheckTcpHealthCheckArgs:
5259
5369
  port_name are defined, port takes precedence.
5260
5370
  :param pulumi.Input[str] port_specification: Specifies how port is selected for health checking, can be one of the
5261
5371
  following values:
5372
+ * `USE_FIXED_PORT`: The port number in `port` is used for health checking.
5373
+ * `USE_NAMED_PORT`: The `portName` is used for health checking.
5374
+ * `USE_SERVING_PORT`: For NetworkEndpointGroup, the port specified for each
5375
+ network endpoint is used for health checking. For other backends, the
5376
+ port or named port specified in the Backend Service is used for health
5377
+ checking.
5378
+ If not specified, TCP health check follows behavior specified in `port` and
5379
+ `portName` fields.
5380
+ Possible values are: `USE_FIXED_PORT`, `USE_NAMED_PORT`, `USE_SERVING_PORT`.
5262
5381
  :param pulumi.Input[str] proxy_header: Specifies the type of proxy header to append before sending data to the
5263
5382
  backend.
5264
5383
  Default value is `NONE`.
@@ -5316,6 +5435,15 @@ class HealthCheckTcpHealthCheckArgs:
5316
5435
  """
5317
5436
  Specifies how port is selected for health checking, can be one of the
5318
5437
  following values:
5438
+ * `USE_FIXED_PORT`: The port number in `port` is used for health checking.
5439
+ * `USE_NAMED_PORT`: The `portName` is used for health checking.
5440
+ * `USE_SERVING_PORT`: For NetworkEndpointGroup, the port specified for each
5441
+ network endpoint is used for health checking. For other backends, the
5442
+ port or named port specified in the Backend Service is used for health
5443
+ checking.
5444
+ If not specified, TCP health check follows behavior specified in `port` and
5445
+ `portName` fields.
5446
+ Possible values are: `USE_FIXED_PORT`, `USE_NAMED_PORT`, `USE_SERVING_PORT`.
5319
5447
  """
5320
5448
  return pulumi.get(self, "port_specification")
5321
5449
 
@@ -17765,6 +17893,15 @@ class RegionHealthCheckGrpcHealthCheckArgs:
17765
17893
  port_name are defined, port takes precedence.
17766
17894
  :param pulumi.Input[str] port_specification: Specifies how port is selected for health checking, can be one of the
17767
17895
  following values:
17896
+ * `USE_FIXED_PORT`: The port number in `port` is used for health checking.
17897
+ * `USE_NAMED_PORT`: The `portName` is used for health checking.
17898
+ * `USE_SERVING_PORT`: For NetworkEndpointGroup, the port specified for each
17899
+ network endpoint is used for health checking. For other backends, the
17900
+ port or named port specified in the Backend Service is used for health
17901
+ checking.
17902
+ If not specified, gRPC health check follows behavior specified in `port` and
17903
+ `portName` fields.
17904
+ Possible values are: `USE_FIXED_PORT`, `USE_NAMED_PORT`, `USE_SERVING_PORT`.
17768
17905
  """
17769
17906
  if grpc_service_name is not None:
17770
17907
  pulumi.set(__self__, "grpc_service_name", grpc_service_name)
@@ -17824,6 +17961,15 @@ class RegionHealthCheckGrpcHealthCheckArgs:
17824
17961
  """
17825
17962
  Specifies how port is selected for health checking, can be one of the
17826
17963
  following values:
17964
+ * `USE_FIXED_PORT`: The port number in `port` is used for health checking.
17965
+ * `USE_NAMED_PORT`: The `portName` is used for health checking.
17966
+ * `USE_SERVING_PORT`: For NetworkEndpointGroup, the port specified for each
17967
+ network endpoint is used for health checking. For other backends, the
17968
+ port or named port specified in the Backend Service is used for health
17969
+ checking.
17970
+ If not specified, gRPC health check follows behavior specified in `port` and
17971
+ `portName` fields.
17972
+ Possible values are: `USE_FIXED_PORT`, `USE_NAMED_PORT`, `USE_SERVING_PORT`.
17827
17973
  """
17828
17974
  return pulumi.get(self, "port_specification")
17829
17975
 
@@ -18013,6 +18159,15 @@ class RegionHealthCheckHttpHealthCheckArgs:
18013
18159
  port_name are defined, port takes precedence.
18014
18160
  :param pulumi.Input[str] port_specification: Specifies how port is selected for health checking, can be one of the
18015
18161
  following values:
18162
+ * `USE_FIXED_PORT`: The port number in `port` is used for health checking.
18163
+ * `USE_NAMED_PORT`: The `portName` is used for health checking.
18164
+ * `USE_SERVING_PORT`: For NetworkEndpointGroup, the port specified for each
18165
+ network endpoint is used for health checking. For other backends, the
18166
+ port or named port specified in the Backend Service is used for health
18167
+ checking.
18168
+ If not specified, HTTP health check follows behavior specified in `port` and
18169
+ `portName` fields.
18170
+ Possible values are: `USE_FIXED_PORT`, `USE_NAMED_PORT`, `USE_SERVING_PORT`.
18016
18171
  :param pulumi.Input[str] proxy_header: Specifies the type of proxy header to append before sending data to the
18017
18172
  backend.
18018
18173
  Default value is `NONE`.
@@ -18084,6 +18239,15 @@ class RegionHealthCheckHttpHealthCheckArgs:
18084
18239
  """
18085
18240
  Specifies how port is selected for health checking, can be one of the
18086
18241
  following values:
18242
+ * `USE_FIXED_PORT`: The port number in `port` is used for health checking.
18243
+ * `USE_NAMED_PORT`: The `portName` is used for health checking.
18244
+ * `USE_SERVING_PORT`: For NetworkEndpointGroup, the port specified for each
18245
+ network endpoint is used for health checking. For other backends, the
18246
+ port or named port specified in the Backend Service is used for health
18247
+ checking.
18248
+ If not specified, HTTP health check follows behavior specified in `port` and
18249
+ `portName` fields.
18250
+ Possible values are: `USE_FIXED_PORT`, `USE_NAMED_PORT`, `USE_SERVING_PORT`.
18087
18251
  """
18088
18252
  return pulumi.get(self, "port_specification")
18089
18253
 
@@ -18154,6 +18318,15 @@ class RegionHealthCheckHttpsHealthCheckArgs:
18154
18318
  port_name are defined, port takes precedence.
18155
18319
  :param pulumi.Input[str] port_specification: Specifies how port is selected for health checking, can be one of the
18156
18320
  following values:
18321
+ * `USE_FIXED_PORT`: The port number in `port` is used for health checking.
18322
+ * `USE_NAMED_PORT`: The `portName` is used for health checking.
18323
+ * `USE_SERVING_PORT`: For NetworkEndpointGroup, the port specified for each
18324
+ network endpoint is used for health checking. For other backends, the
18325
+ port or named port specified in the Backend Service is used for health
18326
+ checking.
18327
+ If not specified, HTTPS health check follows behavior specified in `port` and
18328
+ `portName` fields.
18329
+ Possible values are: `USE_FIXED_PORT`, `USE_NAMED_PORT`, `USE_SERVING_PORT`.
18157
18330
  :param pulumi.Input[str] proxy_header: Specifies the type of proxy header to append before sending data to the
18158
18331
  backend.
18159
18332
  Default value is `NONE`.
@@ -18225,6 +18398,15 @@ class RegionHealthCheckHttpsHealthCheckArgs:
18225
18398
  """
18226
18399
  Specifies how port is selected for health checking, can be one of the
18227
18400
  following values:
18401
+ * `USE_FIXED_PORT`: The port number in `port` is used for health checking.
18402
+ * `USE_NAMED_PORT`: The `portName` is used for health checking.
18403
+ * `USE_SERVING_PORT`: For NetworkEndpointGroup, the port specified for each
18404
+ network endpoint is used for health checking. For other backends, the
18405
+ port or named port specified in the Backend Service is used for health
18406
+ checking.
18407
+ If not specified, HTTPS health check follows behavior specified in `port` and
18408
+ `portName` fields.
18409
+ Possible values are: `USE_FIXED_PORT`, `USE_NAMED_PORT`, `USE_SERVING_PORT`.
18228
18410
  """
18229
18411
  return pulumi.get(self, "port_specification")
18230
18412
 
@@ -18316,6 +18498,15 @@ class RegionHealthCheckSslHealthCheckArgs:
18316
18498
  port_name are defined, port takes precedence.
18317
18499
  :param pulumi.Input[str] port_specification: Specifies how port is selected for health checking, can be one of the
18318
18500
  following values:
18501
+ * `USE_FIXED_PORT`: The port number in `port` is used for health checking.
18502
+ * `USE_NAMED_PORT`: The `portName` is used for health checking.
18503
+ * `USE_SERVING_PORT`: For NetworkEndpointGroup, the port specified for each
18504
+ network endpoint is used for health checking. For other backends, the
18505
+ port or named port specified in the Backend Service is used for health
18506
+ checking.
18507
+ If not specified, HTTP2 health check follows behavior specified in `port` and
18508
+ `portName` fields.
18509
+ Possible values are: `USE_FIXED_PORT`, `USE_NAMED_PORT`, `USE_SERVING_PORT`.
18319
18510
  :param pulumi.Input[str] proxy_header: Specifies the type of proxy header to append before sending data to the
18320
18511
  backend.
18321
18512
  Default value is `NONE`.
@@ -18373,6 +18564,15 @@ class RegionHealthCheckSslHealthCheckArgs:
18373
18564
  """
18374
18565
  Specifies how port is selected for health checking, can be one of the
18375
18566
  following values:
18567
+ * `USE_FIXED_PORT`: The port number in `port` is used for health checking.
18568
+ * `USE_NAMED_PORT`: The `portName` is used for health checking.
18569
+ * `USE_SERVING_PORT`: For NetworkEndpointGroup, the port specified for each
18570
+ network endpoint is used for health checking. For other backends, the
18571
+ port or named port specified in the Backend Service is used for health
18572
+ checking.
18573
+ If not specified, HTTP2 health check follows behavior specified in `port` and
18574
+ `portName` fields.
18575
+ Possible values are: `USE_FIXED_PORT`, `USE_NAMED_PORT`, `USE_SERVING_PORT`.
18376
18576
  """
18377
18577
  return pulumi.get(self, "port_specification")
18378
18578
 
@@ -18441,6 +18641,15 @@ class RegionHealthCheckTcpHealthCheckArgs:
18441
18641
  port_name are defined, port takes precedence.
18442
18642
  :param pulumi.Input[str] port_specification: Specifies how port is selected for health checking, can be one of the
18443
18643
  following values:
18644
+ * `USE_FIXED_PORT`: The port number in `port` is used for health checking.
18645
+ * `USE_NAMED_PORT`: The `portName` is used for health checking.
18646
+ * `USE_SERVING_PORT`: For NetworkEndpointGroup, the port specified for each
18647
+ network endpoint is used for health checking. For other backends, the
18648
+ port or named port specified in the Backend Service is used for health
18649
+ checking.
18650
+ If not specified, TCP health check follows behavior specified in `port` and
18651
+ `portName` fields.
18652
+ Possible values are: `USE_FIXED_PORT`, `USE_NAMED_PORT`, `USE_SERVING_PORT`.
18444
18653
  :param pulumi.Input[str] proxy_header: Specifies the type of proxy header to append before sending data to the
18445
18654
  backend.
18446
18655
  Default value is `NONE`.
@@ -18498,6 +18707,15 @@ class RegionHealthCheckTcpHealthCheckArgs:
18498
18707
  """
18499
18708
  Specifies how port is selected for health checking, can be one of the
18500
18709
  following values:
18710
+ * `USE_FIXED_PORT`: The port number in `port` is used for health checking.
18711
+ * `USE_NAMED_PORT`: The `portName` is used for health checking.
18712
+ * `USE_SERVING_PORT`: For NetworkEndpointGroup, the port specified for each
18713
+ network endpoint is used for health checking. For other backends, the
18714
+ port or named port specified in the Backend Service is used for health
18715
+ checking.
18716
+ If not specified, TCP health check follows behavior specified in `port` and
18717
+ `portName` fields.
18718
+ Possible values are: `USE_FIXED_PORT`, `USE_NAMED_PORT`, `USE_SERVING_PORT`.
18501
18719
  """
18502
18720
  return pulumi.get(self, "port_specification")
18503
18721
 
@@ -29583,7 +29801,11 @@ class SecurityPolicyAdvancedOptionsConfigArgs:
29583
29801
  :param pulumi.Input['SecurityPolicyAdvancedOptionsConfigJsonCustomConfigArgs'] json_custom_config: Custom configuration to apply the JSON parsing. Only applicable when
29584
29802
  `json_parsing` is set to `STANDARD`. Structure is documented below.
29585
29803
  :param pulumi.Input[str] json_parsing: Whether or not to JSON parse the payload body. Defaults to `DISABLED`.
29804
+ * `DISABLED` - Don't parse JSON payloads in POST bodies.
29805
+ * `STANDARD` - Parse JSON payloads in POST bodies.
29586
29806
  :param pulumi.Input[str] log_level: Log level to use. Defaults to `NORMAL`.
29807
+ * `NORMAL` - Normal log level.
29808
+ * `VERBOSE` - Verbose log level.
29587
29809
  :param pulumi.Input[Sequence[pulumi.Input[str]]] user_ip_request_headers: An optional list of case-insensitive request header names to use for resolving the callers client IP address.
29588
29810
  """
29589
29811
  if json_custom_config is not None:
@@ -29613,6 +29835,8 @@ class SecurityPolicyAdvancedOptionsConfigArgs:
29613
29835
  def json_parsing(self) -> Optional[pulumi.Input[str]]:
29614
29836
  """
29615
29837
  Whether or not to JSON parse the payload body. Defaults to `DISABLED`.
29838
+ * `DISABLED` - Don't parse JSON payloads in POST bodies.
29839
+ * `STANDARD` - Parse JSON payloads in POST bodies.
29616
29840
  """
29617
29841
  return pulumi.get(self, "json_parsing")
29618
29842
 
@@ -29625,6 +29849,8 @@ class SecurityPolicyAdvancedOptionsConfigArgs:
29625
29849
  def log_level(self) -> Optional[pulumi.Input[str]]:
29626
29850
  """
29627
29851
  Log level to use. Defaults to `NORMAL`.
29852
+ * `NORMAL` - Normal log level.
29853
+ * `VERBOSE` - Verbose log level.
29628
29854
  """
29629
29855
  return pulumi.get(self, "log_level")
29630
29856
 
@@ -30391,10 +30617,22 @@ class SecurityPolicyRuleRateLimitOptionsArgs:
30391
30617
  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
30392
30618
  exceed this `ban_threshold`. Structure is documented below.
30393
30619
  :param pulumi.Input[str] enforce_on_key: Determines the key to enforce the rate_limit_threshold on. If not specified, defaults to `ALL`.
30620
+
30621
+ * `ALL`: A single rate limit threshold is applied to all the requests matching this rule.
30622
+ * `IP`: The source IP address of the request is the key. Each IP has this limit enforced separately.
30623
+ * `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`.
30624
+ * `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`.
30625
+ * `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`.
30626
+ * `HTTP_PATH`: The URL path of the HTTP request. The key value is truncated to the first 128 bytes
30627
+ * `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.
30628
+ * `REGION_CODE`: The country/region from which the request originates.
30394
30629
  :param pulumi.Input[Sequence[pulumi.Input['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.
30395
30630
 
30396
30631
  **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.
30397
30632
  :param pulumi.Input[str] enforce_on_key_name: Rate limit key name applicable only for the following key types:
30633
+
30634
+ * `HTTP_HEADER` -- Name of the HTTP header whose value is taken as the key value.
30635
+ * `HTTP_COOKIE` -- Name of the HTTP cookie whose value is taken as the key value.
30398
30636
  :param pulumi.Input['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.
30399
30637
  """
30400
30638
  pulumi.set(__self__, "conform_action", conform_action)
@@ -30482,6 +30720,15 @@ class SecurityPolicyRuleRateLimitOptionsArgs:
30482
30720
  def enforce_on_key(self) -> Optional[pulumi.Input[str]]:
30483
30721
  """
30484
30722
  Determines the key to enforce the rate_limit_threshold on. If not specified, defaults to `ALL`.
30723
+
30724
+ * `ALL`: A single rate limit threshold is applied to all the requests matching this rule.
30725
+ * `IP`: The source IP address of the request is the key. Each IP has this limit enforced separately.
30726
+ * `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`.
30727
+ * `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`.
30728
+ * `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`.
30729
+ * `HTTP_PATH`: The URL path of the HTTP request. The key value is truncated to the first 128 bytes
30730
+ * `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.
30731
+ * `REGION_CODE`: The country/region from which the request originates.
30485
30732
  """
30486
30733
  return pulumi.get(self, "enforce_on_key")
30487
30734
 
@@ -30508,6 +30755,9 @@ class SecurityPolicyRuleRateLimitOptionsArgs:
30508
30755
  def enforce_on_key_name(self) -> Optional[pulumi.Input[str]]:
30509
30756
  """
30510
30757
  Rate limit key name applicable only for the following key types:
30758
+
30759
+ * `HTTP_HEADER` -- Name of the HTTP header whose value is taken as the key value.
30760
+ * `HTTP_COOKIE` -- Name of the HTTP cookie whose value is taken as the key value.
30511
30761
  """
30512
30762
  return pulumi.get(self, "enforce_on_key_name")
30513
30763
 
@@ -30572,7 +30822,19 @@ class SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigArgs:
30572
30822
  enforce_on_key_type: Optional[pulumi.Input[str]] = None):
30573
30823
  """
30574
30824
  :param pulumi.Input[str] enforce_on_key_name: Rate limit key name applicable only for the following key types:
30825
+
30826
+ * `HTTP_HEADER` -- Name of the HTTP header whose value is taken as the key value.
30827
+ * `HTTP_COOKIE` -- Name of the HTTP cookie whose value is taken as the key value.
30575
30828
  :param pulumi.Input[str] enforce_on_key_type: Determines the key to enforce the `rate_limit_threshold` on. If not specified, defaults to `ALL`.
30829
+
30830
+ * `ALL`: A single rate limit threshold is applied to all the requests matching this rule.
30831
+ * `IP`: The source IP address of the request is the key. Each IP has this limit enforced separately.
30832
+ * `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`.
30833
+ * `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`.
30834
+ * `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`.
30835
+ * `HTTP_PATH`: The URL path of the HTTP request. The key value is truncated to the first 128 bytes
30836
+ * `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.
30837
+ * `REGION_CODE`: The country/region from which the request originates.
30576
30838
  """
30577
30839
  if enforce_on_key_name is not None:
30578
30840
  pulumi.set(__self__, "enforce_on_key_name", enforce_on_key_name)
@@ -30584,6 +30846,9 @@ class SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigArgs:
30584
30846
  def enforce_on_key_name(self) -> Optional[pulumi.Input[str]]:
30585
30847
  """
30586
30848
  Rate limit key name applicable only for the following key types:
30849
+
30850
+ * `HTTP_HEADER` -- Name of the HTTP header whose value is taken as the key value.
30851
+ * `HTTP_COOKIE` -- Name of the HTTP cookie whose value is taken as the key value.
30587
30852
  """
30588
30853
  return pulumi.get(self, "enforce_on_key_name")
30589
30854
 
@@ -30596,6 +30861,15 @@ class SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigArgs:
30596
30861
  def enforce_on_key_type(self) -> Optional[pulumi.Input[str]]:
30597
30862
  """
30598
30863
  Determines the key to enforce the `rate_limit_threshold` on. If not specified, defaults to `ALL`.
30864
+
30865
+ * `ALL`: A single rate limit threshold is applied to all the requests matching this rule.
30866
+ * `IP`: The source IP address of the request is the key. Each IP has this limit enforced separately.
30867
+ * `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`.
30868
+ * `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`.
30869
+ * `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`.
30870
+ * `HTTP_PATH`: The URL path of the HTTP request. The key value is truncated to the first 128 bytes
30871
+ * `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.
30872
+ * `REGION_CODE`: The country/region from which the request originates.
30599
30873
  """
30600
30874
  return pulumi.get(self, "enforce_on_key_type")
30601
30875
 
@@ -30686,6 +30960,9 @@ class SecurityPolicyRuleRedirectOptionsArgs:
30686
30960
  target: Optional[pulumi.Input[str]] = None):
30687
30961
  """
30688
30962
  :param pulumi.Input[str] type: Type of redirect action.
30963
+
30964
+ * `EXTERNAL_302`: Redirect to an external address, configured in `target`.
30965
+ * `GOOGLE_RECAPTCHA`: Redirect to Google reCAPTCHA.
30689
30966
  :param pulumi.Input[str] target: External redirection target when `EXTERNAL_302` is set in `type`.
30690
30967
  """
30691
30968
  pulumi.set(__self__, "type", type)
@@ -30697,6 +30974,9 @@ class SecurityPolicyRuleRedirectOptionsArgs:
30697
30974
  def type(self) -> pulumi.Input[str]:
30698
30975
  """
30699
30976
  Type of redirect action.
30977
+
30978
+ * `EXTERNAL_302`: Redirect to an external address, configured in `target`.
30979
+ * `GOOGLE_RECAPTCHA`: Redirect to Google reCAPTCHA.
30700
30980
  """
30701
30981
  return pulumi.get(self, "type")
30702
30982