pulumi-gcp 8.36.0a1751060819__py3-none-any.whl → 8.37.0a1751903932__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 +24 -0
- pulumi_gcp/apihub/__init__.py +1 -0
- pulumi_gcp/apihub/_inputs.py +675 -0
- pulumi_gcp/apihub/outputs.py +567 -0
- pulumi_gcp/apihub/plugin.py +1146 -0
- pulumi_gcp/bigqueryanalyticshub/data_exchange.py +7 -7
- pulumi_gcp/bigqueryanalyticshub/listing.py +7 -7
- pulumi_gcp/cloudidentity/group_membership.py +47 -0
- pulumi_gcp/cloudidentity/outputs.py +11 -0
- pulumi_gcp/cloudrunv2/_inputs.py +65 -9
- pulumi_gcp/cloudrunv2/job.py +44 -0
- pulumi_gcp/cloudrunv2/outputs.py +73 -8
- pulumi_gcp/cloudrunv2/service.py +0 -2
- pulumi_gcp/cloudrunv2/worker_pool.py +18 -20
- pulumi_gcp/compute/__init__.py +1 -0
- pulumi_gcp/compute/_inputs.py +763 -6
- pulumi_gcp/compute/disk.py +35 -28
- pulumi_gcp/compute/firewall_policy_rule.py +207 -0
- pulumi_gcp/compute/get_instance_group_manager.py +12 -1
- pulumi_gcp/compute/get_region_disk.py +12 -1
- pulumi_gcp/compute/instance_group_manager.py +165 -14
- pulumi_gcp/compute/network.py +56 -0
- pulumi_gcp/compute/network_firewall_policy.py +68 -0
- pulumi_gcp/compute/network_firewall_policy_with_rules.py +61 -0
- pulumi_gcp/compute/outputs.py +604 -4
- pulumi_gcp/compute/region_disk.py +114 -0
- pulumi_gcp/compute/region_network_firewall_policy.py +90 -0
- pulumi_gcp/compute/region_network_firewall_policy_with_rules.py +109 -0
- pulumi_gcp/compute/wire_group.py +751 -0
- pulumi_gcp/container/_inputs.py +135 -16
- pulumi_gcp/container/cluster.py +54 -0
- pulumi_gcp/container/get_cluster.py +12 -1
- pulumi_gcp/container/node_pool.py +14 -0
- pulumi_gcp/container/outputs.py +222 -12
- pulumi_gcp/diagflow/__init__.py +1 -0
- pulumi_gcp/diagflow/_inputs.py +431 -0
- pulumi_gcp/diagflow/cx_generative_settings.py +625 -0
- pulumi_gcp/diagflow/outputs.py +370 -0
- pulumi_gcp/dns/record_set.py +4 -2
- pulumi_gcp/firestore/database.py +0 -9
- pulumi_gcp/iam/_inputs.py +36 -0
- pulumi_gcp/iam/outputs.py +38 -0
- pulumi_gcp/iam/workload_identity_pool_managed_identity.py +88 -2
- pulumi_gcp/kms/autokey_config.py +28 -0
- pulumi_gcp/kms/get_autokey_config.py +12 -1
- pulumi_gcp/memorystore/get_instance.py +12 -1
- pulumi_gcp/memorystore/instance.py +49 -0
- pulumi_gcp/monitoring/metric_descriptor.py +55 -57
- pulumi_gcp/notebooks/instance.py +8 -8
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/get_instance.py +12 -1
- pulumi_gcp/redis/instance.py +44 -0
- pulumi_gcp/secretmanager/get_regional_secret.py +12 -1
- pulumi_gcp/secretmanager/outputs.py +7 -0
- pulumi_gcp/secretmanager/regional_secret.py +38 -2
- pulumi_gcp/spanner/_inputs.py +24 -1
- pulumi_gcp/spanner/outputs.py +17 -1
- pulumi_gcp/storage/_inputs.py +43 -3
- pulumi_gcp/storage/outputs.py +53 -3
- pulumi_gcp/workbench/instance.py +2 -0
- {pulumi_gcp-8.36.0a1751060819.dist-info → pulumi_gcp-8.37.0a1751903932.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.36.0a1751060819.dist-info → pulumi_gcp-8.37.0a1751903932.dist-info}/RECORD +64 -61
- {pulumi_gcp-8.36.0a1751060819.dist-info → pulumi_gcp-8.37.0a1751903932.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.36.0a1751060819.dist-info → pulumi_gcp-8.37.0a1751903932.dist-info}/top_level.txt +0 -0
@@ -22,6 +22,7 @@ class NetworkFirewallPolicyArgs:
|
|
22
22
|
def __init__(__self__, *,
|
23
23
|
description: Optional[pulumi.Input[builtins.str]] = None,
|
24
24
|
name: Optional[pulumi.Input[builtins.str]] = None,
|
25
|
+
policy_type: Optional[pulumi.Input[builtins.str]] = None,
|
25
26
|
project: Optional[pulumi.Input[builtins.str]] = None):
|
26
27
|
"""
|
27
28
|
The set of arguments for constructing a NetworkFirewallPolicy resource.
|
@@ -30,6 +31,10 @@ class NetworkFirewallPolicyArgs:
|
|
30
31
|
|
31
32
|
|
32
33
|
- - -
|
34
|
+
:param pulumi.Input[builtins.str] policy_type: Policy type is used to determine which resources (networks) the policy can be associated with.
|
35
|
+
A policy can be associated with a network only if the network has the matching policyType in its network profile.
|
36
|
+
Different policy types may support some of the Firewall Rules features.
|
37
|
+
Possible values are: `VPC_POLICY`.
|
33
38
|
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
34
39
|
If it is not provided, the provider project is used.
|
35
40
|
"""
|
@@ -37,6 +42,8 @@ class NetworkFirewallPolicyArgs:
|
|
37
42
|
pulumi.set(__self__, "description", description)
|
38
43
|
if name is not None:
|
39
44
|
pulumi.set(__self__, "name", name)
|
45
|
+
if policy_type is not None:
|
46
|
+
pulumi.set(__self__, "policy_type", policy_type)
|
40
47
|
if project is not None:
|
41
48
|
pulumi.set(__self__, "project", project)
|
42
49
|
|
@@ -67,6 +74,21 @@ class NetworkFirewallPolicyArgs:
|
|
67
74
|
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
68
75
|
pulumi.set(self, "name", value)
|
69
76
|
|
77
|
+
@property
|
78
|
+
@pulumi.getter(name="policyType")
|
79
|
+
def policy_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
80
|
+
"""
|
81
|
+
Policy type is used to determine which resources (networks) the policy can be associated with.
|
82
|
+
A policy can be associated with a network only if the network has the matching policyType in its network profile.
|
83
|
+
Different policy types may support some of the Firewall Rules features.
|
84
|
+
Possible values are: `VPC_POLICY`.
|
85
|
+
"""
|
86
|
+
return pulumi.get(self, "policy_type")
|
87
|
+
|
88
|
+
@policy_type.setter
|
89
|
+
def policy_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
90
|
+
pulumi.set(self, "policy_type", value)
|
91
|
+
|
70
92
|
@property
|
71
93
|
@pulumi.getter
|
72
94
|
def project(self) -> Optional[pulumi.Input[builtins.str]]:
|
@@ -89,6 +111,7 @@ class _NetworkFirewallPolicyState:
|
|
89
111
|
fingerprint: Optional[pulumi.Input[builtins.str]] = None,
|
90
112
|
name: Optional[pulumi.Input[builtins.str]] = None,
|
91
113
|
network_firewall_policy_id: Optional[pulumi.Input[builtins.str]] = None,
|
114
|
+
policy_type: Optional[pulumi.Input[builtins.str]] = None,
|
92
115
|
project: Optional[pulumi.Input[builtins.str]] = None,
|
93
116
|
rule_tuple_count: Optional[pulumi.Input[builtins.int]] = None,
|
94
117
|
self_link: Optional[pulumi.Input[builtins.str]] = None,
|
@@ -103,6 +126,10 @@ class _NetworkFirewallPolicyState:
|
|
103
126
|
|
104
127
|
- - -
|
105
128
|
:param pulumi.Input[builtins.str] network_firewall_policy_id: The unique identifier for the resource. This identifier is defined by the server.
|
129
|
+
:param pulumi.Input[builtins.str] policy_type: Policy type is used to determine which resources (networks) the policy can be associated with.
|
130
|
+
A policy can be associated with a network only if the network has the matching policyType in its network profile.
|
131
|
+
Different policy types may support some of the Firewall Rules features.
|
132
|
+
Possible values are: `VPC_POLICY`.
|
106
133
|
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
107
134
|
If it is not provided, the provider project is used.
|
108
135
|
:param pulumi.Input[builtins.int] rule_tuple_count: Total count of all firewall policy rule tuples. A firewall policy can not exceed a set number of tuples.
|
@@ -119,6 +146,8 @@ class _NetworkFirewallPolicyState:
|
|
119
146
|
pulumi.set(__self__, "name", name)
|
120
147
|
if network_firewall_policy_id is not None:
|
121
148
|
pulumi.set(__self__, "network_firewall_policy_id", network_firewall_policy_id)
|
149
|
+
if policy_type is not None:
|
150
|
+
pulumi.set(__self__, "policy_type", policy_type)
|
122
151
|
if project is not None:
|
123
152
|
pulumi.set(__self__, "project", project)
|
124
153
|
if rule_tuple_count is not None:
|
@@ -191,6 +220,21 @@ class _NetworkFirewallPolicyState:
|
|
191
220
|
def network_firewall_policy_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
192
221
|
pulumi.set(self, "network_firewall_policy_id", value)
|
193
222
|
|
223
|
+
@property
|
224
|
+
@pulumi.getter(name="policyType")
|
225
|
+
def policy_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
226
|
+
"""
|
227
|
+
Policy type is used to determine which resources (networks) the policy can be associated with.
|
228
|
+
A policy can be associated with a network only if the network has the matching policyType in its network profile.
|
229
|
+
Different policy types may support some of the Firewall Rules features.
|
230
|
+
Possible values are: `VPC_POLICY`.
|
231
|
+
"""
|
232
|
+
return pulumi.get(self, "policy_type")
|
233
|
+
|
234
|
+
@policy_type.setter
|
235
|
+
def policy_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
236
|
+
pulumi.set(self, "policy_type", value)
|
237
|
+
|
194
238
|
@property
|
195
239
|
@pulumi.getter
|
196
240
|
def project(self) -> Optional[pulumi.Input[builtins.str]]:
|
@@ -249,6 +293,7 @@ class NetworkFirewallPolicy(pulumi.CustomResource):
|
|
249
293
|
opts: Optional[pulumi.ResourceOptions] = None,
|
250
294
|
description: Optional[pulumi.Input[builtins.str]] = None,
|
251
295
|
name: Optional[pulumi.Input[builtins.str]] = None,
|
296
|
+
policy_type: Optional[pulumi.Input[builtins.str]] = None,
|
252
297
|
project: Optional[pulumi.Input[builtins.str]] = None,
|
253
298
|
__props__=None):
|
254
299
|
"""
|
@@ -298,6 +343,10 @@ class NetworkFirewallPolicy(pulumi.CustomResource):
|
|
298
343
|
|
299
344
|
|
300
345
|
- - -
|
346
|
+
:param pulumi.Input[builtins.str] policy_type: Policy type is used to determine which resources (networks) the policy can be associated with.
|
347
|
+
A policy can be associated with a network only if the network has the matching policyType in its network profile.
|
348
|
+
Different policy types may support some of the Firewall Rules features.
|
349
|
+
Possible values are: `VPC_POLICY`.
|
301
350
|
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
302
351
|
If it is not provided, the provider project is used.
|
303
352
|
"""
|
@@ -364,6 +413,7 @@ class NetworkFirewallPolicy(pulumi.CustomResource):
|
|
364
413
|
opts: Optional[pulumi.ResourceOptions] = None,
|
365
414
|
description: Optional[pulumi.Input[builtins.str]] = None,
|
366
415
|
name: Optional[pulumi.Input[builtins.str]] = None,
|
416
|
+
policy_type: Optional[pulumi.Input[builtins.str]] = None,
|
367
417
|
project: Optional[pulumi.Input[builtins.str]] = None,
|
368
418
|
__props__=None):
|
369
419
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
@@ -376,6 +426,7 @@ class NetworkFirewallPolicy(pulumi.CustomResource):
|
|
376
426
|
|
377
427
|
__props__.__dict__["description"] = description
|
378
428
|
__props__.__dict__["name"] = name
|
429
|
+
__props__.__dict__["policy_type"] = policy_type
|
379
430
|
__props__.__dict__["project"] = project
|
380
431
|
__props__.__dict__["creation_timestamp"] = None
|
381
432
|
__props__.__dict__["fingerprint"] = None
|
@@ -398,6 +449,7 @@ class NetworkFirewallPolicy(pulumi.CustomResource):
|
|
398
449
|
fingerprint: Optional[pulumi.Input[builtins.str]] = None,
|
399
450
|
name: Optional[pulumi.Input[builtins.str]] = None,
|
400
451
|
network_firewall_policy_id: Optional[pulumi.Input[builtins.str]] = None,
|
452
|
+
policy_type: Optional[pulumi.Input[builtins.str]] = None,
|
401
453
|
project: Optional[pulumi.Input[builtins.str]] = None,
|
402
454
|
rule_tuple_count: Optional[pulumi.Input[builtins.int]] = None,
|
403
455
|
self_link: Optional[pulumi.Input[builtins.str]] = None,
|
@@ -417,6 +469,10 @@ class NetworkFirewallPolicy(pulumi.CustomResource):
|
|
417
469
|
|
418
470
|
- - -
|
419
471
|
:param pulumi.Input[builtins.str] network_firewall_policy_id: The unique identifier for the resource. This identifier is defined by the server.
|
472
|
+
:param pulumi.Input[builtins.str] policy_type: Policy type is used to determine which resources (networks) the policy can be associated with.
|
473
|
+
A policy can be associated with a network only if the network has the matching policyType in its network profile.
|
474
|
+
Different policy types may support some of the Firewall Rules features.
|
475
|
+
Possible values are: `VPC_POLICY`.
|
420
476
|
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
421
477
|
If it is not provided, the provider project is used.
|
422
478
|
:param pulumi.Input[builtins.int] rule_tuple_count: Total count of all firewall policy rule tuples. A firewall policy can not exceed a set number of tuples.
|
@@ -432,6 +488,7 @@ class NetworkFirewallPolicy(pulumi.CustomResource):
|
|
432
488
|
__props__.__dict__["fingerprint"] = fingerprint
|
433
489
|
__props__.__dict__["name"] = name
|
434
490
|
__props__.__dict__["network_firewall_policy_id"] = network_firewall_policy_id
|
491
|
+
__props__.__dict__["policy_type"] = policy_type
|
435
492
|
__props__.__dict__["project"] = project
|
436
493
|
__props__.__dict__["rule_tuple_count"] = rule_tuple_count
|
437
494
|
__props__.__dict__["self_link"] = self_link
|
@@ -481,6 +538,17 @@ class NetworkFirewallPolicy(pulumi.CustomResource):
|
|
481
538
|
"""
|
482
539
|
return pulumi.get(self, "network_firewall_policy_id")
|
483
540
|
|
541
|
+
@property
|
542
|
+
@pulumi.getter(name="policyType")
|
543
|
+
def policy_type(self) -> pulumi.Output[builtins.str]:
|
544
|
+
"""
|
545
|
+
Policy type is used to determine which resources (networks) the policy can be associated with.
|
546
|
+
A policy can be associated with a network only if the network has the matching policyType in its network profile.
|
547
|
+
Different policy types may support some of the Firewall Rules features.
|
548
|
+
Possible values are: `VPC_POLICY`.
|
549
|
+
"""
|
550
|
+
return pulumi.get(self, "policy_type")
|
551
|
+
|
484
552
|
@property
|
485
553
|
@pulumi.getter
|
486
554
|
def project(self) -> pulumi.Output[builtins.str]:
|
@@ -25,6 +25,7 @@ class NetworkFirewallPolicyWithRulesArgs:
|
|
25
25
|
rules: pulumi.Input[Sequence[pulumi.Input['NetworkFirewallPolicyWithRulesRuleArgs']]],
|
26
26
|
description: Optional[pulumi.Input[builtins.str]] = None,
|
27
27
|
name: Optional[pulumi.Input[builtins.str]] = None,
|
28
|
+
policy_type: Optional[pulumi.Input[builtins.str]] = None,
|
28
29
|
project: Optional[pulumi.Input[builtins.str]] = None):
|
29
30
|
"""
|
30
31
|
The set of arguments for constructing a NetworkFirewallPolicyWithRules resource.
|
@@ -38,12 +39,17 @@ class NetworkFirewallPolicyWithRulesArgs:
|
|
38
39
|
the name must be 1-63 characters long and match the regular expression a-z?
|
39
40
|
which means the first character must be a lowercase letter, and all following characters must be a dash,
|
40
41
|
lowercase letter, or digit, except the last character, which cannot be a dash.
|
42
|
+
:param pulumi.Input[builtins.str] policy_type: Policy type is used to determine which resources (networks) the policy can be associated with. A policy can be
|
43
|
+
associated with a network only if the network has the matching policyType in its network profile. Different policy types
|
44
|
+
may support some of the Firewall Rules features. Possible values: ["VPC_POLICY"]
|
41
45
|
"""
|
42
46
|
pulumi.set(__self__, "rules", rules)
|
43
47
|
if description is not None:
|
44
48
|
pulumi.set(__self__, "description", description)
|
45
49
|
if name is not None:
|
46
50
|
pulumi.set(__self__, "name", name)
|
51
|
+
if policy_type is not None:
|
52
|
+
pulumi.set(__self__, "policy_type", policy_type)
|
47
53
|
if project is not None:
|
48
54
|
pulumi.set(__self__, "project", project)
|
49
55
|
|
@@ -90,6 +96,20 @@ class NetworkFirewallPolicyWithRulesArgs:
|
|
90
96
|
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
91
97
|
pulumi.set(self, "name", value)
|
92
98
|
|
99
|
+
@property
|
100
|
+
@pulumi.getter(name="policyType")
|
101
|
+
def policy_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
102
|
+
"""
|
103
|
+
Policy type is used to determine which resources (networks) the policy can be associated with. A policy can be
|
104
|
+
associated with a network only if the network has the matching policyType in its network profile. Different policy types
|
105
|
+
may support some of the Firewall Rules features. Possible values: ["VPC_POLICY"]
|
106
|
+
"""
|
107
|
+
return pulumi.get(self, "policy_type")
|
108
|
+
|
109
|
+
@policy_type.setter
|
110
|
+
def policy_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
111
|
+
pulumi.set(self, "policy_type", value)
|
112
|
+
|
93
113
|
@property
|
94
114
|
@pulumi.getter
|
95
115
|
def project(self) -> Optional[pulumi.Input[builtins.str]]:
|
@@ -108,6 +128,7 @@ class _NetworkFirewallPolicyWithRulesState:
|
|
108
128
|
fingerprint: Optional[pulumi.Input[builtins.str]] = None,
|
109
129
|
name: Optional[pulumi.Input[builtins.str]] = None,
|
110
130
|
network_firewall_policy_id: Optional[pulumi.Input[builtins.str]] = None,
|
131
|
+
policy_type: Optional[pulumi.Input[builtins.str]] = None,
|
111
132
|
predefined_rules: Optional[pulumi.Input[Sequence[pulumi.Input['NetworkFirewallPolicyWithRulesPredefinedRuleArgs']]]] = None,
|
112
133
|
project: Optional[pulumi.Input[builtins.str]] = None,
|
113
134
|
rule_tuple_count: Optional[pulumi.Input[builtins.int]] = None,
|
@@ -127,6 +148,9 @@ class _NetworkFirewallPolicyWithRulesState:
|
|
127
148
|
which means the first character must be a lowercase letter, and all following characters must be a dash,
|
128
149
|
lowercase letter, or digit, except the last character, which cannot be a dash.
|
129
150
|
:param pulumi.Input[builtins.str] network_firewall_policy_id: The unique identifier for the resource. This identifier is defined by the server.
|
151
|
+
:param pulumi.Input[builtins.str] policy_type: Policy type is used to determine which resources (networks) the policy can be associated with. A policy can be
|
152
|
+
associated with a network only if the network has the matching policyType in its network profile. Different policy types
|
153
|
+
may support some of the Firewall Rules features. Possible values: ["VPC_POLICY"]
|
130
154
|
:param pulumi.Input[Sequence[pulumi.Input['NetworkFirewallPolicyWithRulesPredefinedRuleArgs']]] predefined_rules: A list of firewall policy pre-defined rules.
|
131
155
|
Structure is documented below.
|
132
156
|
:param pulumi.Input[builtins.int] rule_tuple_count: Total count of all firewall policy rule tuples. A firewall policy can not exceed a set number of tuples.
|
@@ -145,6 +169,8 @@ class _NetworkFirewallPolicyWithRulesState:
|
|
145
169
|
pulumi.set(__self__, "name", name)
|
146
170
|
if network_firewall_policy_id is not None:
|
147
171
|
pulumi.set(__self__, "network_firewall_policy_id", network_firewall_policy_id)
|
172
|
+
if policy_type is not None:
|
173
|
+
pulumi.set(__self__, "policy_type", policy_type)
|
148
174
|
if predefined_rules is not None:
|
149
175
|
pulumi.set(__self__, "predefined_rules", predefined_rules)
|
150
176
|
if project is not None:
|
@@ -224,6 +250,20 @@ class _NetworkFirewallPolicyWithRulesState:
|
|
224
250
|
def network_firewall_policy_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
225
251
|
pulumi.set(self, "network_firewall_policy_id", value)
|
226
252
|
|
253
|
+
@property
|
254
|
+
@pulumi.getter(name="policyType")
|
255
|
+
def policy_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
256
|
+
"""
|
257
|
+
Policy type is used to determine which resources (networks) the policy can be associated with. A policy can be
|
258
|
+
associated with a network only if the network has the matching policyType in its network profile. Different policy types
|
259
|
+
may support some of the Firewall Rules features. Possible values: ["VPC_POLICY"]
|
260
|
+
"""
|
261
|
+
return pulumi.get(self, "policy_type")
|
262
|
+
|
263
|
+
@policy_type.setter
|
264
|
+
def policy_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
265
|
+
pulumi.set(self, "policy_type", value)
|
266
|
+
|
227
267
|
@property
|
228
268
|
@pulumi.getter(name="predefinedRules")
|
229
269
|
def predefined_rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NetworkFirewallPolicyWithRulesPredefinedRuleArgs']]]]:
|
@@ -304,6 +344,7 @@ class NetworkFirewallPolicyWithRules(pulumi.CustomResource):
|
|
304
344
|
opts: Optional[pulumi.ResourceOptions] = None,
|
305
345
|
description: Optional[pulumi.Input[builtins.str]] = None,
|
306
346
|
name: Optional[pulumi.Input[builtins.str]] = None,
|
347
|
+
policy_type: Optional[pulumi.Input[builtins.str]] = None,
|
307
348
|
project: Optional[pulumi.Input[builtins.str]] = None,
|
308
349
|
rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NetworkFirewallPolicyWithRulesRuleArgs', 'NetworkFirewallPolicyWithRulesRuleArgsDict']]]]] = None,
|
309
350
|
__props__=None):
|
@@ -470,6 +511,9 @@ class NetworkFirewallPolicyWithRules(pulumi.CustomResource):
|
|
470
511
|
the name must be 1-63 characters long and match the regular expression a-z?
|
471
512
|
which means the first character must be a lowercase letter, and all following characters must be a dash,
|
472
513
|
lowercase letter, or digit, except the last character, which cannot be a dash.
|
514
|
+
:param pulumi.Input[builtins.str] policy_type: Policy type is used to determine which resources (networks) the policy can be associated with. A policy can be
|
515
|
+
associated with a network only if the network has the matching policyType in its network profile. Different policy types
|
516
|
+
may support some of the Firewall Rules features. Possible values: ["VPC_POLICY"]
|
473
517
|
:param pulumi.Input[Sequence[pulumi.Input[Union['NetworkFirewallPolicyWithRulesRuleArgs', 'NetworkFirewallPolicyWithRulesRuleArgsDict']]]] rules: A list of firewall policy rules.
|
474
518
|
Structure is documented below.
|
475
519
|
"""
|
@@ -649,6 +693,7 @@ class NetworkFirewallPolicyWithRules(pulumi.CustomResource):
|
|
649
693
|
opts: Optional[pulumi.ResourceOptions] = None,
|
650
694
|
description: Optional[pulumi.Input[builtins.str]] = None,
|
651
695
|
name: Optional[pulumi.Input[builtins.str]] = None,
|
696
|
+
policy_type: Optional[pulumi.Input[builtins.str]] = None,
|
652
697
|
project: Optional[pulumi.Input[builtins.str]] = None,
|
653
698
|
rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NetworkFirewallPolicyWithRulesRuleArgs', 'NetworkFirewallPolicyWithRulesRuleArgsDict']]]]] = None,
|
654
699
|
__props__=None):
|
@@ -662,6 +707,7 @@ class NetworkFirewallPolicyWithRules(pulumi.CustomResource):
|
|
662
707
|
|
663
708
|
__props__.__dict__["description"] = description
|
664
709
|
__props__.__dict__["name"] = name
|
710
|
+
__props__.__dict__["policy_type"] = policy_type
|
665
711
|
__props__.__dict__["project"] = project
|
666
712
|
if rules is None and not opts.urn:
|
667
713
|
raise TypeError("Missing required property 'rules'")
|
@@ -688,6 +734,7 @@ class NetworkFirewallPolicyWithRules(pulumi.CustomResource):
|
|
688
734
|
fingerprint: Optional[pulumi.Input[builtins.str]] = None,
|
689
735
|
name: Optional[pulumi.Input[builtins.str]] = None,
|
690
736
|
network_firewall_policy_id: Optional[pulumi.Input[builtins.str]] = None,
|
737
|
+
policy_type: Optional[pulumi.Input[builtins.str]] = None,
|
691
738
|
predefined_rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NetworkFirewallPolicyWithRulesPredefinedRuleArgs', 'NetworkFirewallPolicyWithRulesPredefinedRuleArgsDict']]]]] = None,
|
692
739
|
project: Optional[pulumi.Input[builtins.str]] = None,
|
693
740
|
rule_tuple_count: Optional[pulumi.Input[builtins.int]] = None,
|
@@ -712,6 +759,9 @@ class NetworkFirewallPolicyWithRules(pulumi.CustomResource):
|
|
712
759
|
which means the first character must be a lowercase letter, and all following characters must be a dash,
|
713
760
|
lowercase letter, or digit, except the last character, which cannot be a dash.
|
714
761
|
:param pulumi.Input[builtins.str] network_firewall_policy_id: The unique identifier for the resource. This identifier is defined by the server.
|
762
|
+
:param pulumi.Input[builtins.str] policy_type: Policy type is used to determine which resources (networks) the policy can be associated with. A policy can be
|
763
|
+
associated with a network only if the network has the matching policyType in its network profile. Different policy types
|
764
|
+
may support some of the Firewall Rules features. Possible values: ["VPC_POLICY"]
|
715
765
|
:param pulumi.Input[Sequence[pulumi.Input[Union['NetworkFirewallPolicyWithRulesPredefinedRuleArgs', 'NetworkFirewallPolicyWithRulesPredefinedRuleArgsDict']]]] predefined_rules: A list of firewall policy pre-defined rules.
|
716
766
|
Structure is documented below.
|
717
767
|
:param pulumi.Input[builtins.int] rule_tuple_count: Total count of all firewall policy rule tuples. A firewall policy can not exceed a set number of tuples.
|
@@ -729,6 +779,7 @@ class NetworkFirewallPolicyWithRules(pulumi.CustomResource):
|
|
729
779
|
__props__.__dict__["fingerprint"] = fingerprint
|
730
780
|
__props__.__dict__["name"] = name
|
731
781
|
__props__.__dict__["network_firewall_policy_id"] = network_firewall_policy_id
|
782
|
+
__props__.__dict__["policy_type"] = policy_type
|
732
783
|
__props__.__dict__["predefined_rules"] = predefined_rules
|
733
784
|
__props__.__dict__["project"] = project
|
734
785
|
__props__.__dict__["rule_tuple_count"] = rule_tuple_count
|
@@ -783,6 +834,16 @@ class NetworkFirewallPolicyWithRules(pulumi.CustomResource):
|
|
783
834
|
"""
|
784
835
|
return pulumi.get(self, "network_firewall_policy_id")
|
785
836
|
|
837
|
+
@property
|
838
|
+
@pulumi.getter(name="policyType")
|
839
|
+
def policy_type(self) -> pulumi.Output[builtins.str]:
|
840
|
+
"""
|
841
|
+
Policy type is used to determine which resources (networks) the policy can be associated with. A policy can be
|
842
|
+
associated with a network only if the network has the matching policyType in its network profile. Different policy types
|
843
|
+
may support some of the Firewall Rules features. Possible values: ["VPC_POLICY"]
|
844
|
+
"""
|
845
|
+
return pulumi.get(self, "policy_type")
|
846
|
+
|
786
847
|
@property
|
787
848
|
@pulumi.getter(name="predefinedRules")
|
788
849
|
def predefined_rules(self) -> pulumi.Output[Sequence['outputs.NetworkFirewallPolicyWithRulesPredefinedRule']]:
|