pulumi-gcp 7.25.0a1717104660__py3-none-any.whl → 7.25.0a1717407024__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_gcp/__init__.py +88 -0
- pulumi_gcp/appengine/_inputs.py +18 -0
- pulumi_gcp/appengine/domain_mapping.py +1 -1
- pulumi_gcp/appengine/outputs.py +16 -0
- pulumi_gcp/bigquery/_inputs.py +286 -2
- pulumi_gcp/bigquery/outputs.py +289 -2
- pulumi_gcp/bigquery/table.py +77 -35
- pulumi_gcp/cloudfunctionsv2/function.py +0 -4
- pulumi_gcp/cloudrun/_inputs.py +80 -4
- pulumi_gcp/cloudrun/outputs.py +137 -4
- pulumi_gcp/composer/user_workloads_secret.py +4 -4
- pulumi_gcp/compute/__init__.py +1 -0
- pulumi_gcp/compute/_inputs.py +398 -176
- pulumi_gcp/compute/get_subnetworks.py +157 -0
- pulumi_gcp/compute/instance_group_membership.py +2 -2
- pulumi_gcp/compute/interconnect_attachment.py +82 -0
- pulumi_gcp/compute/network_endpoint.py +2 -2
- pulumi_gcp/compute/network_endpoint_list.py +2 -2
- pulumi_gcp/compute/outputs.py +609 -161
- pulumi_gcp/compute/region_ssl_policy.py +39 -40
- pulumi_gcp/compute/security_policy_rule.py +55 -1
- pulumi_gcp/container/_inputs.py +560 -0
- pulumi_gcp/container/outputs.py +1106 -51
- pulumi_gcp/dataplex/__init__.py +10 -0
- pulumi_gcp/dataplex/_inputs.py +160 -0
- pulumi_gcp/dataplex/aspect_type.py +1077 -0
- pulumi_gcp/dataplex/aspect_type_iam_binding.py +765 -0
- pulumi_gcp/dataplex/aspect_type_iam_member.py +765 -0
- pulumi_gcp/dataplex/aspect_type_iam_policy.py +604 -0
- pulumi_gcp/dataplex/entry_group.py +722 -0
- pulumi_gcp/dataplex/entry_group_iam_binding.py +765 -0
- pulumi_gcp/dataplex/entry_group_iam_member.py +765 -0
- pulumi_gcp/dataplex/entry_group_iam_policy.py +604 -0
- pulumi_gcp/dataplex/get_aspect_type_iam_policy.py +164 -0
- pulumi_gcp/dataplex/get_entry_group_iam_policy.py +164 -0
- pulumi_gcp/dataplex/outputs.py +112 -0
- pulumi_gcp/datastream/connection_profile.py +47 -0
- pulumi_gcp/datastream/private_connection.py +47 -0
- pulumi_gcp/datastream/stream.py +47 -0
- pulumi_gcp/kms/__init__.py +2 -0
- pulumi_gcp/kms/autokey_config.py +366 -0
- pulumi_gcp/kms/key_handle.py +548 -0
- pulumi_gcp/networkservices/__init__.py +1 -0
- pulumi_gcp/networkservices/_inputs.py +245 -27
- pulumi_gcp/networkservices/lb_route_extension.py +663 -0
- pulumi_gcp/networkservices/lb_traffic_extension.py +28 -14
- pulumi_gcp/networkservices/outputs.py +251 -20
- pulumi_gcp/orgpolicy/policy.py +2 -2
- pulumi_gcp/pubsub/_inputs.py +16 -0
- pulumi_gcp/pubsub/outputs.py +25 -0
- pulumi_gcp/pubsub/subscription.py +8 -4
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/sql/user.py +4 -4
- pulumi_gcp/tpu/_inputs.py +2 -2
- pulumi_gcp/tpu/outputs.py +2 -2
- {pulumi_gcp-7.25.0a1717104660.dist-info → pulumi_gcp-7.25.0a1717407024.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.25.0a1717104660.dist-info → pulumi_gcp-7.25.0a1717407024.dist-info}/RECORD +59 -45
- {pulumi_gcp-7.25.0a1717104660.dist-info → pulumi_gcp-7.25.0a1717407024.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.25.0a1717104660.dist-info → pulumi_gcp-7.25.0a1717407024.dist-info}/top_level.txt +0 -0
@@ -14,19 +14,15 @@ __all__ = ['RegionSslPolicyArgs', 'RegionSslPolicy']
|
|
14
14
|
@pulumi.input_type
|
15
15
|
class RegionSslPolicyArgs:
|
16
16
|
def __init__(__self__, *,
|
17
|
-
region: pulumi.Input[str],
|
18
17
|
custom_features: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
19
18
|
description: Optional[pulumi.Input[str]] = None,
|
20
19
|
min_tls_version: Optional[pulumi.Input[str]] = None,
|
21
20
|
name: Optional[pulumi.Input[str]] = None,
|
22
21
|
profile: Optional[pulumi.Input[str]] = None,
|
23
|
-
project: Optional[pulumi.Input[str]] = None
|
22
|
+
project: Optional[pulumi.Input[str]] = None,
|
23
|
+
region: Optional[pulumi.Input[str]] = None):
|
24
24
|
"""
|
25
25
|
The set of arguments for constructing a RegionSslPolicy resource.
|
26
|
-
:param pulumi.Input[str] region: The region where the regional SSL policy resides.
|
27
|
-
|
28
|
-
|
29
|
-
- - -
|
30
26
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] custom_features: A list of features enabled when the selected profile is CUSTOM. The
|
31
27
|
method returns the set of features that can be specified in this
|
32
28
|
list. This field must be empty if the profile is not CUSTOM.
|
@@ -46,6 +42,9 @@ class RegionSslPolicyArgs:
|
|
46
42
|
first character must be a lowercase letter, and all following
|
47
43
|
characters must be a dash, lowercase letter, or digit, except the last
|
48
44
|
character, which cannot be a dash.
|
45
|
+
|
46
|
+
|
47
|
+
- - -
|
49
48
|
:param pulumi.Input[str] profile: Profile specifies the set of SSL features that can be used by the
|
50
49
|
load balancer when negotiating SSL with clients. If using `CUSTOM`,
|
51
50
|
the set of SSL features to enable must be specified in the
|
@@ -57,8 +56,8 @@ class RegionSslPolicyArgs:
|
|
57
56
|
Possible values are: `COMPATIBLE`, `MODERN`, `RESTRICTED`, `CUSTOM`.
|
58
57
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
59
58
|
If it is not provided, the provider project is used.
|
59
|
+
:param pulumi.Input[str] region: The region where the regional SSL policy resides.
|
60
60
|
"""
|
61
|
-
pulumi.set(__self__, "region", region)
|
62
61
|
if custom_features is not None:
|
63
62
|
pulumi.set(__self__, "custom_features", custom_features)
|
64
63
|
if description is not None:
|
@@ -71,21 +70,8 @@ class RegionSslPolicyArgs:
|
|
71
70
|
pulumi.set(__self__, "profile", profile)
|
72
71
|
if project is not None:
|
73
72
|
pulumi.set(__self__, "project", project)
|
74
|
-
|
75
|
-
|
76
|
-
@pulumi.getter
|
77
|
-
def region(self) -> pulumi.Input[str]:
|
78
|
-
"""
|
79
|
-
The region where the regional SSL policy resides.
|
80
|
-
|
81
|
-
|
82
|
-
- - -
|
83
|
-
"""
|
84
|
-
return pulumi.get(self, "region")
|
85
|
-
|
86
|
-
@region.setter
|
87
|
-
def region(self, value: pulumi.Input[str]):
|
88
|
-
pulumi.set(self, "region", value)
|
73
|
+
if region is not None:
|
74
|
+
pulumi.set(__self__, "region", region)
|
89
75
|
|
90
76
|
@property
|
91
77
|
@pulumi.getter(name="customFeatures")
|
@@ -143,6 +129,9 @@ class RegionSslPolicyArgs:
|
|
143
129
|
first character must be a lowercase letter, and all following
|
144
130
|
characters must be a dash, lowercase letter, or digit, except the last
|
145
131
|
character, which cannot be a dash.
|
132
|
+
|
133
|
+
|
134
|
+
- - -
|
146
135
|
"""
|
147
136
|
return pulumi.get(self, "name")
|
148
137
|
|
@@ -183,6 +172,18 @@ class RegionSslPolicyArgs:
|
|
183
172
|
def project(self, value: Optional[pulumi.Input[str]]):
|
184
173
|
pulumi.set(self, "project", value)
|
185
174
|
|
175
|
+
@property
|
176
|
+
@pulumi.getter
|
177
|
+
def region(self) -> Optional[pulumi.Input[str]]:
|
178
|
+
"""
|
179
|
+
The region where the regional SSL policy resides.
|
180
|
+
"""
|
181
|
+
return pulumi.get(self, "region")
|
182
|
+
|
183
|
+
@region.setter
|
184
|
+
def region(self, value: Optional[pulumi.Input[str]]):
|
185
|
+
pulumi.set(self, "region", value)
|
186
|
+
|
186
187
|
|
187
188
|
@pulumi.input_type
|
188
189
|
class _RegionSslPolicyState:
|
@@ -223,6 +224,9 @@ class _RegionSslPolicyState:
|
|
223
224
|
first character must be a lowercase letter, and all following
|
224
225
|
characters must be a dash, lowercase letter, or digit, except the last
|
225
226
|
character, which cannot be a dash.
|
227
|
+
|
228
|
+
|
229
|
+
- - -
|
226
230
|
:param pulumi.Input[str] profile: Profile specifies the set of SSL features that can be used by the
|
227
231
|
load balancer when negotiating SSL with clients. If using `CUSTOM`,
|
228
232
|
the set of SSL features to enable must be specified in the
|
@@ -235,9 +239,6 @@ class _RegionSslPolicyState:
|
|
235
239
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
236
240
|
If it is not provided, the provider project is used.
|
237
241
|
:param pulumi.Input[str] region: The region where the regional SSL policy resides.
|
238
|
-
|
239
|
-
|
240
|
-
- - -
|
241
242
|
:param pulumi.Input[str] self_link: The URI of the created resource.
|
242
243
|
"""
|
243
244
|
if creation_timestamp is not None:
|
@@ -356,6 +357,9 @@ class _RegionSslPolicyState:
|
|
356
357
|
first character must be a lowercase letter, and all following
|
357
358
|
characters must be a dash, lowercase letter, or digit, except the last
|
358
359
|
character, which cannot be a dash.
|
360
|
+
|
361
|
+
|
362
|
+
- - -
|
359
363
|
"""
|
360
364
|
return pulumi.get(self, "name")
|
361
365
|
|
@@ -401,9 +405,6 @@ class _RegionSslPolicyState:
|
|
401
405
|
def region(self) -> Optional[pulumi.Input[str]]:
|
402
406
|
"""
|
403
407
|
The region where the regional SSL policy resides.
|
404
|
-
|
405
|
-
|
406
|
-
- - -
|
407
408
|
"""
|
408
409
|
return pulumi.get(self, "region")
|
409
410
|
|
@@ -498,6 +499,9 @@ class RegionSslPolicy(pulumi.CustomResource):
|
|
498
499
|
first character must be a lowercase letter, and all following
|
499
500
|
characters must be a dash, lowercase letter, or digit, except the last
|
500
501
|
character, which cannot be a dash.
|
502
|
+
|
503
|
+
|
504
|
+
- - -
|
501
505
|
:param pulumi.Input[str] profile: Profile specifies the set of SSL features that can be used by the
|
502
506
|
load balancer when negotiating SSL with clients. If using `CUSTOM`,
|
503
507
|
the set of SSL features to enable must be specified in the
|
@@ -510,15 +514,12 @@ class RegionSslPolicy(pulumi.CustomResource):
|
|
510
514
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
511
515
|
If it is not provided, the provider project is used.
|
512
516
|
:param pulumi.Input[str] region: The region where the regional SSL policy resides.
|
513
|
-
|
514
|
-
|
515
|
-
- - -
|
516
517
|
"""
|
517
518
|
...
|
518
519
|
@overload
|
519
520
|
def __init__(__self__,
|
520
521
|
resource_name: str,
|
521
|
-
args: RegionSslPolicyArgs,
|
522
|
+
args: Optional[RegionSslPolicyArgs] = None,
|
522
523
|
opts: Optional[pulumi.ResourceOptions] = None):
|
523
524
|
"""
|
524
525
|
Represents a Regional SSL policy. SSL policies give you the ability to control the
|
@@ -597,8 +598,6 @@ class RegionSslPolicy(pulumi.CustomResource):
|
|
597
598
|
__props__.__dict__["name"] = name
|
598
599
|
__props__.__dict__["profile"] = profile
|
599
600
|
__props__.__dict__["project"] = project
|
600
|
-
if region is None and not opts.urn:
|
601
|
-
raise TypeError("Missing required property 'region'")
|
602
601
|
__props__.__dict__["region"] = region
|
603
602
|
__props__.__dict__["creation_timestamp"] = None
|
604
603
|
__props__.__dict__["enabled_features"] = None
|
@@ -655,6 +654,9 @@ class RegionSslPolicy(pulumi.CustomResource):
|
|
655
654
|
first character must be a lowercase letter, and all following
|
656
655
|
characters must be a dash, lowercase letter, or digit, except the last
|
657
656
|
character, which cannot be a dash.
|
657
|
+
|
658
|
+
|
659
|
+
- - -
|
658
660
|
:param pulumi.Input[str] profile: Profile specifies the set of SSL features that can be used by the
|
659
661
|
load balancer when negotiating SSL with clients. If using `CUSTOM`,
|
660
662
|
the set of SSL features to enable must be specified in the
|
@@ -667,9 +669,6 @@ class RegionSslPolicy(pulumi.CustomResource):
|
|
667
669
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
668
670
|
If it is not provided, the provider project is used.
|
669
671
|
:param pulumi.Input[str] region: The region where the regional SSL policy resides.
|
670
|
-
|
671
|
-
|
672
|
-
- - -
|
673
672
|
:param pulumi.Input[str] self_link: The URI of the created resource.
|
674
673
|
"""
|
675
674
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
@@ -758,6 +757,9 @@ class RegionSslPolicy(pulumi.CustomResource):
|
|
758
757
|
first character must be a lowercase letter, and all following
|
759
758
|
characters must be a dash, lowercase letter, or digit, except the last
|
760
759
|
character, which cannot be a dash.
|
760
|
+
|
761
|
+
|
762
|
+
- - -
|
761
763
|
"""
|
762
764
|
return pulumi.get(self, "name")
|
763
765
|
|
@@ -791,9 +793,6 @@ class RegionSslPolicy(pulumi.CustomResource):
|
|
791
793
|
def region(self) -> pulumi.Output[str]:
|
792
794
|
"""
|
793
795
|
The region where the regional SSL policy resides.
|
794
|
-
|
795
|
-
|
796
|
-
- - -
|
797
796
|
"""
|
798
797
|
return pulumi.get(self, "region")
|
799
798
|
|
@@ -23,7 +23,8 @@ class SecurityPolicyRuleInitArgs:
|
|
23
23
|
match: Optional[pulumi.Input['SecurityPolicyRuleMatchArgs']] = None,
|
24
24
|
preconfigured_waf_config: Optional[pulumi.Input['SecurityPolicyRulePreconfiguredWafConfigArgs']] = None,
|
25
25
|
preview: Optional[pulumi.Input[bool]] = None,
|
26
|
-
project: Optional[pulumi.Input[str]] = None
|
26
|
+
project: Optional[pulumi.Input[str]] = None,
|
27
|
+
rate_limit_options: Optional[pulumi.Input['SecurityPolicyRuleRateLimitOptionsArgs']] = None):
|
27
28
|
"""
|
28
29
|
The set of arguments for constructing a SecurityPolicyRule resource.
|
29
30
|
:param pulumi.Input[str] action: The Action to perform when the rule is matched. The following are the valid actions:
|
@@ -49,6 +50,8 @@ class SecurityPolicyRuleInitArgs:
|
|
49
50
|
:param pulumi.Input[bool] preview: If set to true, the specified action is not enforced.
|
50
51
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
51
52
|
If it is not provided, the provider project is used.
|
53
|
+
:param pulumi.Input['SecurityPolicyRuleRateLimitOptionsArgs'] rate_limit_options: Must be specified if the action is "rate_based_ban" or "throttle". Cannot be specified for any other actions.
|
54
|
+
Structure is documented below.
|
52
55
|
"""
|
53
56
|
pulumi.set(__self__, "action", action)
|
54
57
|
pulumi.set(__self__, "priority", priority)
|
@@ -63,6 +66,8 @@ class SecurityPolicyRuleInitArgs:
|
|
63
66
|
pulumi.set(__self__, "preview", preview)
|
64
67
|
if project is not None:
|
65
68
|
pulumi.set(__self__, "project", project)
|
69
|
+
if rate_limit_options is not None:
|
70
|
+
pulumi.set(__self__, "rate_limit_options", rate_limit_options)
|
66
71
|
|
67
72
|
@property
|
68
73
|
@pulumi.getter
|
@@ -175,6 +180,19 @@ class SecurityPolicyRuleInitArgs:
|
|
175
180
|
def project(self, value: Optional[pulumi.Input[str]]):
|
176
181
|
pulumi.set(self, "project", value)
|
177
182
|
|
183
|
+
@property
|
184
|
+
@pulumi.getter(name="rateLimitOptions")
|
185
|
+
def rate_limit_options(self) -> Optional[pulumi.Input['SecurityPolicyRuleRateLimitOptionsArgs']]:
|
186
|
+
"""
|
187
|
+
Must be specified if the action is "rate_based_ban" or "throttle". Cannot be specified for any other actions.
|
188
|
+
Structure is documented below.
|
189
|
+
"""
|
190
|
+
return pulumi.get(self, "rate_limit_options")
|
191
|
+
|
192
|
+
@rate_limit_options.setter
|
193
|
+
def rate_limit_options(self, value: Optional[pulumi.Input['SecurityPolicyRuleRateLimitOptionsArgs']]):
|
194
|
+
pulumi.set(self, "rate_limit_options", value)
|
195
|
+
|
178
196
|
|
179
197
|
@pulumi.input_type
|
180
198
|
class _SecurityPolicyRuleState:
|
@@ -186,6 +204,7 @@ class _SecurityPolicyRuleState:
|
|
186
204
|
preview: Optional[pulumi.Input[bool]] = None,
|
187
205
|
priority: Optional[pulumi.Input[int]] = None,
|
188
206
|
project: Optional[pulumi.Input[str]] = None,
|
207
|
+
rate_limit_options: Optional[pulumi.Input['SecurityPolicyRuleRateLimitOptionsArgs']] = None,
|
189
208
|
security_policy: Optional[pulumi.Input[str]] = None):
|
190
209
|
"""
|
191
210
|
Input properties used for looking up and filtering SecurityPolicyRule resources.
|
@@ -208,6 +227,8 @@ class _SecurityPolicyRuleState:
|
|
208
227
|
Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest priority.
|
209
228
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
210
229
|
If it is not provided, the provider project is used.
|
230
|
+
:param pulumi.Input['SecurityPolicyRuleRateLimitOptionsArgs'] rate_limit_options: Must be specified if the action is "rate_based_ban" or "throttle". Cannot be specified for any other actions.
|
231
|
+
Structure is documented below.
|
211
232
|
:param pulumi.Input[str] security_policy: The name of the security policy this rule belongs to.
|
212
233
|
|
213
234
|
|
@@ -227,6 +248,8 @@ class _SecurityPolicyRuleState:
|
|
227
248
|
pulumi.set(__self__, "priority", priority)
|
228
249
|
if project is not None:
|
229
250
|
pulumi.set(__self__, "project", project)
|
251
|
+
if rate_limit_options is not None:
|
252
|
+
pulumi.set(__self__, "rate_limit_options", rate_limit_options)
|
230
253
|
if security_policy is not None:
|
231
254
|
pulumi.set(__self__, "security_policy", security_policy)
|
232
255
|
|
@@ -326,6 +349,19 @@ class _SecurityPolicyRuleState:
|
|
326
349
|
def project(self, value: Optional[pulumi.Input[str]]):
|
327
350
|
pulumi.set(self, "project", value)
|
328
351
|
|
352
|
+
@property
|
353
|
+
@pulumi.getter(name="rateLimitOptions")
|
354
|
+
def rate_limit_options(self) -> Optional[pulumi.Input['SecurityPolicyRuleRateLimitOptionsArgs']]:
|
355
|
+
"""
|
356
|
+
Must be specified if the action is "rate_based_ban" or "throttle". Cannot be specified for any other actions.
|
357
|
+
Structure is documented below.
|
358
|
+
"""
|
359
|
+
return pulumi.get(self, "rate_limit_options")
|
360
|
+
|
361
|
+
@rate_limit_options.setter
|
362
|
+
def rate_limit_options(self, value: Optional[pulumi.Input['SecurityPolicyRuleRateLimitOptionsArgs']]):
|
363
|
+
pulumi.set(self, "rate_limit_options", value)
|
364
|
+
|
329
365
|
@property
|
330
366
|
@pulumi.getter(name="securityPolicy")
|
331
367
|
def security_policy(self) -> Optional[pulumi.Input[str]]:
|
@@ -354,6 +390,7 @@ class SecurityPolicyRule(pulumi.CustomResource):
|
|
354
390
|
preview: Optional[pulumi.Input[bool]] = None,
|
355
391
|
priority: Optional[pulumi.Input[int]] = None,
|
356
392
|
project: Optional[pulumi.Input[str]] = None,
|
393
|
+
rate_limit_options: Optional[pulumi.Input[pulumi.InputType['SecurityPolicyRuleRateLimitOptionsArgs']]] = None,
|
357
394
|
security_policy: Optional[pulumi.Input[str]] = None,
|
358
395
|
__props__=None):
|
359
396
|
"""
|
@@ -513,6 +550,8 @@ class SecurityPolicyRule(pulumi.CustomResource):
|
|
513
550
|
Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest priority.
|
514
551
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
515
552
|
If it is not provided, the provider project is used.
|
553
|
+
:param pulumi.Input[pulumi.InputType['SecurityPolicyRuleRateLimitOptionsArgs']] rate_limit_options: Must be specified if the action is "rate_based_ban" or "throttle". Cannot be specified for any other actions.
|
554
|
+
Structure is documented below.
|
516
555
|
:param pulumi.Input[str] security_policy: The name of the security policy this rule belongs to.
|
517
556
|
|
518
557
|
|
@@ -682,6 +721,7 @@ class SecurityPolicyRule(pulumi.CustomResource):
|
|
682
721
|
preview: Optional[pulumi.Input[bool]] = None,
|
683
722
|
priority: Optional[pulumi.Input[int]] = None,
|
684
723
|
project: Optional[pulumi.Input[str]] = None,
|
724
|
+
rate_limit_options: Optional[pulumi.Input[pulumi.InputType['SecurityPolicyRuleRateLimitOptionsArgs']]] = None,
|
685
725
|
security_policy: Optional[pulumi.Input[str]] = None,
|
686
726
|
__props__=None):
|
687
727
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
@@ -703,6 +743,7 @@ class SecurityPolicyRule(pulumi.CustomResource):
|
|
703
743
|
raise TypeError("Missing required property 'priority'")
|
704
744
|
__props__.__dict__["priority"] = priority
|
705
745
|
__props__.__dict__["project"] = project
|
746
|
+
__props__.__dict__["rate_limit_options"] = rate_limit_options
|
706
747
|
if security_policy is None and not opts.urn:
|
707
748
|
raise TypeError("Missing required property 'security_policy'")
|
708
749
|
__props__.__dict__["security_policy"] = security_policy
|
@@ -723,6 +764,7 @@ class SecurityPolicyRule(pulumi.CustomResource):
|
|
723
764
|
preview: Optional[pulumi.Input[bool]] = None,
|
724
765
|
priority: Optional[pulumi.Input[int]] = None,
|
725
766
|
project: Optional[pulumi.Input[str]] = None,
|
767
|
+
rate_limit_options: Optional[pulumi.Input[pulumi.InputType['SecurityPolicyRuleRateLimitOptionsArgs']]] = None,
|
726
768
|
security_policy: Optional[pulumi.Input[str]] = None) -> 'SecurityPolicyRule':
|
727
769
|
"""
|
728
770
|
Get an existing SecurityPolicyRule resource's state with the given name, id, and optional extra
|
@@ -750,6 +792,8 @@ class SecurityPolicyRule(pulumi.CustomResource):
|
|
750
792
|
Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest priority.
|
751
793
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
752
794
|
If it is not provided, the provider project is used.
|
795
|
+
:param pulumi.Input[pulumi.InputType['SecurityPolicyRuleRateLimitOptionsArgs']] rate_limit_options: Must be specified if the action is "rate_based_ban" or "throttle". Cannot be specified for any other actions.
|
796
|
+
Structure is documented below.
|
753
797
|
:param pulumi.Input[str] security_policy: The name of the security policy this rule belongs to.
|
754
798
|
|
755
799
|
|
@@ -766,6 +810,7 @@ class SecurityPolicyRule(pulumi.CustomResource):
|
|
766
810
|
__props__.__dict__["preview"] = preview
|
767
811
|
__props__.__dict__["priority"] = priority
|
768
812
|
__props__.__dict__["project"] = project
|
813
|
+
__props__.__dict__["rate_limit_options"] = rate_limit_options
|
769
814
|
__props__.__dict__["security_policy"] = security_policy
|
770
815
|
return SecurityPolicyRule(resource_name, opts=opts, __props__=__props__)
|
771
816
|
|
@@ -837,6 +882,15 @@ class SecurityPolicyRule(pulumi.CustomResource):
|
|
837
882
|
"""
|
838
883
|
return pulumi.get(self, "project")
|
839
884
|
|
885
|
+
@property
|
886
|
+
@pulumi.getter(name="rateLimitOptions")
|
887
|
+
def rate_limit_options(self) -> pulumi.Output[Optional['outputs.SecurityPolicyRuleRateLimitOptions']]:
|
888
|
+
"""
|
889
|
+
Must be specified if the action is "rate_based_ban" or "throttle". Cannot be specified for any other actions.
|
890
|
+
Structure is documented below.
|
891
|
+
"""
|
892
|
+
return pulumi.get(self, "rate_limit_options")
|
893
|
+
|
840
894
|
@property
|
841
895
|
@pulumi.getter(name="securityPolicy")
|
842
896
|
def security_policy(self) -> pulumi.Output[str]:
|