pulumi-gcp 7.31.0__py3-none-any.whl → 7.31.0a1720509668__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 +0 -40
- pulumi_gcp/applicationintegration/auth_config.py +2 -2
- pulumi_gcp/bigquery/reservation_assignment.py +30 -48
- pulumi_gcp/certificateauthority/certificate_template.py +2 -2
- pulumi_gcp/certificatemanager/_inputs.py +0 -33
- pulumi_gcp/certificatemanager/outputs.py +0 -36
- pulumi_gcp/certificatemanager/trust_config.py +0 -107
- pulumi_gcp/compute/_inputs.py +6 -3
- pulumi_gcp/compute/ca_external_account_key.py +2 -2
- pulumi_gcp/compute/get_health_check.py +1 -11
- pulumi_gcp/compute/global_forwarding_rule.py +4 -2
- pulumi_gcp/compute/health_check.py +0 -124
- pulumi_gcp/compute/instance.py +14 -14
- pulumi_gcp/compute/instance_group_membership.py +2 -2
- pulumi_gcp/compute/outputs.py +8 -4
- pulumi_gcp/compute/region_network_endpoint.py +2 -2
- pulumi_gcp/compute/region_network_endpoint_group.py +2 -2
- pulumi_gcp/compute/subnetwork.py +2 -2
- pulumi_gcp/config/__init__.pyi +0 -2
- pulumi_gcp/config/vars.py +0 -4
- pulumi_gcp/container/_inputs.py +3 -3
- pulumi_gcp/container/outputs.py +4 -4
- pulumi_gcp/containeranalysis/note.py +2 -2
- pulumi_gcp/dataloss/_inputs.py +0 -3
- pulumi_gcp/dataloss/outputs.py +0 -2
- pulumi_gcp/dataloss/prevention_job_trigger.py +0 -90
- pulumi_gcp/dataplex/_inputs.py +0 -56
- pulumi_gcp/dataplex/datascan.py +0 -12
- pulumi_gcp/dataplex/outputs.py +0 -52
- pulumi_gcp/filestore/backup.py +2 -2
- pulumi_gcp/filestore/instance.py +2 -2
- pulumi_gcp/filestore/snapshot.py +2 -2
- pulumi_gcp/gkehub/_inputs.py +0 -20
- pulumi_gcp/gkehub/outputs.py +0 -12
- pulumi_gcp/kms/__init__.py +0 -2
- pulumi_gcp/kms/crypto_key.py +7 -7
- pulumi_gcp/kms/outputs.py +0 -270
- pulumi_gcp/logging/_inputs.py +12 -12
- pulumi_gcp/logging/folder_bucket_config.py +6 -6
- pulumi_gcp/logging/organization_bucket_config.py +6 -6
- pulumi_gcp/logging/outputs.py +8 -8
- pulumi_gcp/logging/project_bucket_config.py +6 -6
- pulumi_gcp/looker/instance.py +2 -2
- pulumi_gcp/monitoring/custom_service.py +2 -2
- pulumi_gcp/monitoring/generic_service.py +2 -2
- pulumi_gcp/monitoring/notification_channel.py +2 -2
- pulumi_gcp/monitoring/slo.py +2 -2
- pulumi_gcp/netapp/storage_pool.py +53 -132
- pulumi_gcp/netapp/volume.py +4 -60
- pulumi_gcp/networksecurity/address_group.py +1 -85
- pulumi_gcp/networksecurity/firewall_endpoint.py +2 -2
- pulumi_gcp/networksecurity/firewall_endpoint_association.py +2 -2
- pulumi_gcp/networksecurity/security_profile_group.py +2 -2
- pulumi_gcp/orgpolicy/_inputs.py +10 -40
- pulumi_gcp/orgpolicy/outputs.py +8 -28
- pulumi_gcp/orgpolicy/policy.py +35 -52
- pulumi_gcp/provider.py +0 -20
- pulumi_gcp/pubsub/_inputs.py +3 -3
- pulumi_gcp/pubsub/outputs.py +4 -4
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/securesourcemanager/__init__.py +0 -5
- pulumi_gcp/securesourcemanager/_inputs.py +0 -284
- pulumi_gcp/securesourcemanager/outputs.py +0 -202
- pulumi_gcp/securitycenter/__init__.py +0 -1
- pulumi_gcp/securitycenter/_inputs.py +0 -93
- pulumi_gcp/securitycenter/outputs.py +0 -59
- pulumi_gcp/securityposture/posture_deployment.py +78 -0
- pulumi_gcp/servicenetworking/vpc_service_controls.py +2 -2
- pulumi_gcp/vertex/_inputs.py +1 -21
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +0 -222
- pulumi_gcp/vertex/outputs.py +1 -15
- pulumi_gcp/workstations/_inputs.py +1 -33
- pulumi_gcp/workstations/outputs.py +1 -23
- pulumi_gcp/workstations/workstation_config.py +0 -18
- {pulumi_gcp-7.31.0.dist-info → pulumi_gcp-7.31.0a1720509668.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.31.0.dist-info → pulumi_gcp-7.31.0a1720509668.dist-info}/RECORD +78 -86
- {pulumi_gcp-7.31.0.dist-info → pulumi_gcp-7.31.0a1720509668.dist-info}/WHEEL +1 -1
- pulumi_gcp/kms/get_crypto_keys.py +0 -143
- pulumi_gcp/kms/get_key_rings.py +0 -119
- pulumi_gcp/securesourcemanager/get_repository_iam_policy.py +0 -177
- pulumi_gcp/securesourcemanager/repository.py +0 -715
- pulumi_gcp/securesourcemanager/repository_iam_binding.py +0 -804
- pulumi_gcp/securesourcemanager/repository_iam_member.py +0 -804
- pulumi_gcp/securesourcemanager/repository_iam_policy.py +0 -643
- pulumi_gcp/securitycenter/v2_organization_notification_config.py +0 -576
- {pulumi_gcp-7.31.0.dist-info → pulumi_gcp-7.31.0a1720509668.dist-info}/top_level.txt +0 -0
pulumi_gcp/orgpolicy/_inputs.py
CHANGED
@@ -39,7 +39,6 @@ if not MYPY:
|
|
39
39
|
class PolicyDryRunSpecArgsDict(TypedDict):
|
40
40
|
etag: NotRequired[pulumi.Input[str]]
|
41
41
|
"""
|
42
|
-
(Output)
|
43
42
|
An opaque tag indicating the current version of the policy, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy` is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policy to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset.
|
44
43
|
"""
|
45
44
|
inherit_from_parent: NotRequired[pulumi.Input[bool]]
|
@@ -53,11 +52,9 @@ if not MYPY:
|
|
53
52
|
rules: NotRequired[pulumi.Input[Sequence[pulumi.Input['PolicyDryRunSpecRuleArgsDict']]]]
|
54
53
|
"""
|
55
54
|
In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence.
|
56
|
-
Structure is documented below.
|
57
55
|
"""
|
58
56
|
update_time: NotRequired[pulumi.Input[str]]
|
59
57
|
"""
|
60
|
-
(Output)
|
61
58
|
Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy.
|
62
59
|
"""
|
63
60
|
elif False:
|
@@ -72,14 +69,11 @@ class PolicyDryRunSpecArgs:
|
|
72
69
|
rules: Optional[pulumi.Input[Sequence[pulumi.Input['PolicyDryRunSpecRuleArgs']]]] = None,
|
73
70
|
update_time: Optional[pulumi.Input[str]] = None):
|
74
71
|
"""
|
75
|
-
:param pulumi.Input[str] etag:
|
76
|
-
An opaque tag indicating the current version of the policy, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy` is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policy to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset.
|
72
|
+
:param pulumi.Input[str] etag: An opaque tag indicating the current version of the policy, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy` is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policy to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset.
|
77
73
|
:param pulumi.Input[bool] inherit_from_parent: Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints.
|
78
74
|
:param pulumi.Input[bool] reset: Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false.
|
79
75
|
:param pulumi.Input[Sequence[pulumi.Input['PolicyDryRunSpecRuleArgs']]] rules: In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence.
|
80
|
-
|
81
|
-
:param pulumi.Input[str] update_time: (Output)
|
82
|
-
Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy.
|
76
|
+
:param pulumi.Input[str] update_time: Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy.
|
83
77
|
"""
|
84
78
|
if etag is not None:
|
85
79
|
pulumi.set(__self__, "etag", etag)
|
@@ -96,7 +90,6 @@ class PolicyDryRunSpecArgs:
|
|
96
90
|
@pulumi.getter
|
97
91
|
def etag(self) -> Optional[pulumi.Input[str]]:
|
98
92
|
"""
|
99
|
-
(Output)
|
100
93
|
An opaque tag indicating the current version of the policy, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy` is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policy to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset.
|
101
94
|
"""
|
102
95
|
return pulumi.get(self, "etag")
|
@@ -134,7 +127,6 @@ class PolicyDryRunSpecArgs:
|
|
134
127
|
def rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['PolicyDryRunSpecRuleArgs']]]]:
|
135
128
|
"""
|
136
129
|
In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence.
|
137
|
-
Structure is documented below.
|
138
130
|
"""
|
139
131
|
return pulumi.get(self, "rules")
|
140
132
|
|
@@ -146,7 +138,6 @@ class PolicyDryRunSpecArgs:
|
|
146
138
|
@pulumi.getter(name="updateTime")
|
147
139
|
def update_time(self) -> Optional[pulumi.Input[str]]:
|
148
140
|
"""
|
149
|
-
(Output)
|
150
141
|
Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy.
|
151
142
|
"""
|
152
143
|
return pulumi.get(self, "update_time")
|
@@ -165,7 +156,6 @@ if not MYPY:
|
|
165
156
|
condition: NotRequired[pulumi.Input['PolicyDryRunSpecRuleConditionArgsDict']]
|
166
157
|
"""
|
167
158
|
A condition which determines whether this rule is used in the evaluation of the policy. When set, the `expression` field in the `Expr' must include from 1 to 10 subexpressions, joined by the "||" or "&&" operators. Each subexpression must be of the form "resource.matchTag('/tag_key_short_name, 'tag_value_short_name')". or "resource.matchTagId('tagKeys/key_id', 'tagValues/value_id')". where key_name and value_name are the resource names for Label Keys and Values. These names are available from the Tag Manager Service. An example expression is: "resource.matchTag('123456789/environment, 'prod')". or "resource.matchTagId('tagKeys/123', 'tagValues/456')".
|
168
|
-
Structure is documented below.
|
169
159
|
"""
|
170
160
|
deny_all: NotRequired[pulumi.Input[str]]
|
171
161
|
"""
|
@@ -177,8 +167,7 @@ if not MYPY:
|
|
177
167
|
"""
|
178
168
|
values: NotRequired[pulumi.Input['PolicyDryRunSpecRuleValuesArgsDict']]
|
179
169
|
"""
|
180
|
-
List of values to be used for this
|
181
|
-
Structure is documented below.
|
170
|
+
List of values to be used for this PolicyRule. This field can be set only in Policies for list constraints.
|
182
171
|
"""
|
183
172
|
elif False:
|
184
173
|
PolicyDryRunSpecRuleArgsDict: TypeAlias = Mapping[str, Any]
|
@@ -194,11 +183,9 @@ class PolicyDryRunSpecRuleArgs:
|
|
194
183
|
"""
|
195
184
|
:param pulumi.Input[str] allow_all: Setting this to `"TRUE"` means that all values are allowed. This field can be set only in Policies for list constraints.
|
196
185
|
:param pulumi.Input['PolicyDryRunSpecRuleConditionArgs'] condition: A condition which determines whether this rule is used in the evaluation of the policy. When set, the `expression` field in the `Expr' must include from 1 to 10 subexpressions, joined by the "||" or "&&" operators. Each subexpression must be of the form "resource.matchTag('/tag_key_short_name, 'tag_value_short_name')". or "resource.matchTagId('tagKeys/key_id', 'tagValues/value_id')". where key_name and value_name are the resource names for Label Keys and Values. These names are available from the Tag Manager Service. An example expression is: "resource.matchTag('123456789/environment, 'prod')". or "resource.matchTagId('tagKeys/123', 'tagValues/456')".
|
197
|
-
Structure is documented below.
|
198
186
|
:param pulumi.Input[str] deny_all: Setting this to `"TRUE"` means that all values are denied. This field can be set only in Policies for list constraints.
|
199
187
|
:param pulumi.Input[str] enforce: If `"TRUE"`, then the `Policy` is enforced. If `"FALSE"`, then any configuration is acceptable. This field can be set only in Policies for boolean constraints.
|
200
|
-
:param pulumi.Input['PolicyDryRunSpecRuleValuesArgs'] values: List of values to be used for this
|
201
|
-
Structure is documented below.
|
188
|
+
:param pulumi.Input['PolicyDryRunSpecRuleValuesArgs'] values: List of values to be used for this PolicyRule. This field can be set only in Policies for list constraints.
|
202
189
|
"""
|
203
190
|
if allow_all is not None:
|
204
191
|
pulumi.set(__self__, "allow_all", allow_all)
|
@@ -228,7 +215,6 @@ class PolicyDryRunSpecRuleArgs:
|
|
228
215
|
def condition(self) -> Optional[pulumi.Input['PolicyDryRunSpecRuleConditionArgs']]:
|
229
216
|
"""
|
230
217
|
A condition which determines whether this rule is used in the evaluation of the policy. When set, the `expression` field in the `Expr' must include from 1 to 10 subexpressions, joined by the "||" or "&&" operators. Each subexpression must be of the form "resource.matchTag('/tag_key_short_name, 'tag_value_short_name')". or "resource.matchTagId('tagKeys/key_id', 'tagValues/value_id')". where key_name and value_name are the resource names for Label Keys and Values. These names are available from the Tag Manager Service. An example expression is: "resource.matchTag('123456789/environment, 'prod')". or "resource.matchTagId('tagKeys/123', 'tagValues/456')".
|
231
|
-
Structure is documented below.
|
232
218
|
"""
|
233
219
|
return pulumi.get(self, "condition")
|
234
220
|
|
@@ -264,8 +250,7 @@ class PolicyDryRunSpecRuleArgs:
|
|
264
250
|
@pulumi.getter
|
265
251
|
def values(self) -> Optional[pulumi.Input['PolicyDryRunSpecRuleValuesArgs']]:
|
266
252
|
"""
|
267
|
-
List of values to be used for this
|
268
|
-
Structure is documented below.
|
253
|
+
List of values to be used for this PolicyRule. This field can be set only in Policies for list constraints.
|
269
254
|
"""
|
270
255
|
return pulumi.get(self, "values")
|
271
256
|
|
@@ -422,7 +407,6 @@ if not MYPY:
|
|
422
407
|
class PolicySpecArgsDict(TypedDict):
|
423
408
|
etag: NotRequired[pulumi.Input[str]]
|
424
409
|
"""
|
425
|
-
(Output)
|
426
410
|
An opaque tag indicating the current version of the `Policy`, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the `Policy` is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current `Policy` to use when executing a read-modify-write loop. When the `Policy` is returned from a `GetEffectivePolicy` request, the `etag` will be unset.
|
427
411
|
"""
|
428
412
|
inherit_from_parent: NotRequired[pulumi.Input[bool]]
|
@@ -436,11 +420,9 @@ if not MYPY:
|
|
436
420
|
rules: NotRequired[pulumi.Input[Sequence[pulumi.Input['PolicySpecRuleArgsDict']]]]
|
437
421
|
"""
|
438
422
|
Up to 10 PolicyRules are allowed. In Policies for boolean constraints, the following requirements apply: - There must be one and only one PolicyRule where condition is unset. - BooleanPolicyRules with conditions must set `enforced` to the opposite of the PolicyRule without a condition. - During policy evaluation, PolicyRules with conditions that are true for a target resource take precedence.
|
439
|
-
Structure is documented below.
|
440
423
|
"""
|
441
424
|
update_time: NotRequired[pulumi.Input[str]]
|
442
425
|
"""
|
443
|
-
(Output)
|
444
426
|
Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that `Policy`.
|
445
427
|
"""
|
446
428
|
elif False:
|
@@ -455,14 +437,11 @@ class PolicySpecArgs:
|
|
455
437
|
rules: Optional[pulumi.Input[Sequence[pulumi.Input['PolicySpecRuleArgs']]]] = None,
|
456
438
|
update_time: Optional[pulumi.Input[str]] = None):
|
457
439
|
"""
|
458
|
-
:param pulumi.Input[str] etag:
|
459
|
-
An opaque tag indicating the current version of the `Policy`, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the `Policy` is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current `Policy` to use when executing a read-modify-write loop. When the `Policy` is returned from a `GetEffectivePolicy` request, the `etag` will be unset.
|
440
|
+
:param pulumi.Input[str] etag: An opaque tag indicating the current version of the `Policy`, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the `Policy` is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current `Policy` to use when executing a read-modify-write loop. When the `Policy` is returned from a `GetEffectivePolicy` request, the `etag` will be unset.
|
460
441
|
:param pulumi.Input[bool] inherit_from_parent: Determines the inheritance behavior for this `Policy`. If `inherit_from_parent` is true, PolicyRules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this Policy becomes the new root for evaluation. This field can be set only for Policies which configure list constraints.
|
461
442
|
:param pulumi.Input[bool] reset: Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific `Constraint` at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false.
|
462
443
|
:param pulumi.Input[Sequence[pulumi.Input['PolicySpecRuleArgs']]] rules: Up to 10 PolicyRules are allowed. In Policies for boolean constraints, the following requirements apply: - There must be one and only one PolicyRule where condition is unset. - BooleanPolicyRules with conditions must set `enforced` to the opposite of the PolicyRule without a condition. - During policy evaluation, PolicyRules with conditions that are true for a target resource take precedence.
|
463
|
-
|
464
|
-
:param pulumi.Input[str] update_time: (Output)
|
465
|
-
Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that `Policy`.
|
444
|
+
:param pulumi.Input[str] update_time: Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that `Policy`.
|
466
445
|
"""
|
467
446
|
if etag is not None:
|
468
447
|
pulumi.set(__self__, "etag", etag)
|
@@ -479,7 +458,6 @@ class PolicySpecArgs:
|
|
479
458
|
@pulumi.getter
|
480
459
|
def etag(self) -> Optional[pulumi.Input[str]]:
|
481
460
|
"""
|
482
|
-
(Output)
|
483
461
|
An opaque tag indicating the current version of the `Policy`, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the `Policy` is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current `Policy` to use when executing a read-modify-write loop. When the `Policy` is returned from a `GetEffectivePolicy` request, the `etag` will be unset.
|
484
462
|
"""
|
485
463
|
return pulumi.get(self, "etag")
|
@@ -517,7 +495,6 @@ class PolicySpecArgs:
|
|
517
495
|
def rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['PolicySpecRuleArgs']]]]:
|
518
496
|
"""
|
519
497
|
Up to 10 PolicyRules are allowed. In Policies for boolean constraints, the following requirements apply: - There must be one and only one PolicyRule where condition is unset. - BooleanPolicyRules with conditions must set `enforced` to the opposite of the PolicyRule without a condition. - During policy evaluation, PolicyRules with conditions that are true for a target resource take precedence.
|
520
|
-
Structure is documented below.
|
521
498
|
"""
|
522
499
|
return pulumi.get(self, "rules")
|
523
500
|
|
@@ -529,7 +506,6 @@ class PolicySpecArgs:
|
|
529
506
|
@pulumi.getter(name="updateTime")
|
530
507
|
def update_time(self) -> Optional[pulumi.Input[str]]:
|
531
508
|
"""
|
532
|
-
(Output)
|
533
509
|
Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that `Policy`.
|
534
510
|
"""
|
535
511
|
return pulumi.get(self, "update_time")
|
@@ -548,7 +524,6 @@ if not MYPY:
|
|
548
524
|
condition: NotRequired[pulumi.Input['PolicySpecRuleConditionArgsDict']]
|
549
525
|
"""
|
550
526
|
A condition which determines whether this rule is used in the evaluation of the policy. When set, the `expression` field in the `Expr' must include from 1 to 10 subexpressions, joined by the "||" or "&&" operators. Each subexpression must be of the form "resource.matchTag('/tag_key_short_name, 'tag_value_short_name')". or "resource.matchTagId('tagKeys/key_id', 'tagValues/value_id')". where key_name and value_name are the resource names for Label Keys and Values. These names are available from the Tag Manager Service. An example expression is: "resource.matchTag('123456789/environment, 'prod')". or "resource.matchTagId('tagKeys/123', 'tagValues/456')".
|
551
|
-
Structure is documented below.
|
552
527
|
"""
|
553
528
|
deny_all: NotRequired[pulumi.Input[str]]
|
554
529
|
"""
|
@@ -560,8 +535,7 @@ if not MYPY:
|
|
560
535
|
"""
|
561
536
|
values: NotRequired[pulumi.Input['PolicySpecRuleValuesArgsDict']]
|
562
537
|
"""
|
563
|
-
List of values to be used for this
|
564
|
-
Structure is documented below.
|
538
|
+
List of values to be used for this PolicyRule. This field can be set only in Policies for list constraints.
|
565
539
|
"""
|
566
540
|
elif False:
|
567
541
|
PolicySpecRuleArgsDict: TypeAlias = Mapping[str, Any]
|
@@ -577,11 +551,9 @@ class PolicySpecRuleArgs:
|
|
577
551
|
"""
|
578
552
|
:param pulumi.Input[str] allow_all: Setting this to `"TRUE"` means that all values are allowed. This field can be set only in Policies for list constraints.
|
579
553
|
:param pulumi.Input['PolicySpecRuleConditionArgs'] condition: A condition which determines whether this rule is used in the evaluation of the policy. When set, the `expression` field in the `Expr' must include from 1 to 10 subexpressions, joined by the "||" or "&&" operators. Each subexpression must be of the form "resource.matchTag('/tag_key_short_name, 'tag_value_short_name')". or "resource.matchTagId('tagKeys/key_id', 'tagValues/value_id')". where key_name and value_name are the resource names for Label Keys and Values. These names are available from the Tag Manager Service. An example expression is: "resource.matchTag('123456789/environment, 'prod')". or "resource.matchTagId('tagKeys/123', 'tagValues/456')".
|
580
|
-
Structure is documented below.
|
581
554
|
:param pulumi.Input[str] deny_all: Setting this to `"TRUE"` means that all values are denied. This field can be set only in Policies for list constraints.
|
582
555
|
:param pulumi.Input[str] enforce: If `"TRUE"`, then the `Policy` is enforced. If `"FALSE"`, then any configuration is acceptable. This field can be set only in Policies for boolean constraints.
|
583
|
-
:param pulumi.Input['PolicySpecRuleValuesArgs'] values: List of values to be used for this
|
584
|
-
Structure is documented below.
|
556
|
+
:param pulumi.Input['PolicySpecRuleValuesArgs'] values: List of values to be used for this PolicyRule. This field can be set only in Policies for list constraints.
|
585
557
|
"""
|
586
558
|
if allow_all is not None:
|
587
559
|
pulumi.set(__self__, "allow_all", allow_all)
|
@@ -611,7 +583,6 @@ class PolicySpecRuleArgs:
|
|
611
583
|
def condition(self) -> Optional[pulumi.Input['PolicySpecRuleConditionArgs']]:
|
612
584
|
"""
|
613
585
|
A condition which determines whether this rule is used in the evaluation of the policy. When set, the `expression` field in the `Expr' must include from 1 to 10 subexpressions, joined by the "||" or "&&" operators. Each subexpression must be of the form "resource.matchTag('/tag_key_short_name, 'tag_value_short_name')". or "resource.matchTagId('tagKeys/key_id', 'tagValues/value_id')". where key_name and value_name are the resource names for Label Keys and Values. These names are available from the Tag Manager Service. An example expression is: "resource.matchTag('123456789/environment, 'prod')". or "resource.matchTagId('tagKeys/123', 'tagValues/456')".
|
614
|
-
Structure is documented below.
|
615
586
|
"""
|
616
587
|
return pulumi.get(self, "condition")
|
617
588
|
|
@@ -647,8 +618,7 @@ class PolicySpecRuleArgs:
|
|
647
618
|
@pulumi.getter
|
648
619
|
def values(self) -> Optional[pulumi.Input['PolicySpecRuleValuesArgs']]:
|
649
620
|
"""
|
650
|
-
List of values to be used for this
|
651
|
-
Structure is documented below.
|
621
|
+
List of values to be used for this PolicyRule. This field can be set only in Policies for list constraints.
|
652
622
|
"""
|
653
623
|
return pulumi.get(self, "values")
|
654
624
|
|
pulumi_gcp/orgpolicy/outputs.py
CHANGED
@@ -54,14 +54,11 @@ class PolicyDryRunSpec(dict):
|
|
54
54
|
rules: Optional[Sequence['outputs.PolicyDryRunSpecRule']] = None,
|
55
55
|
update_time: Optional[str] = None):
|
56
56
|
"""
|
57
|
-
:param str etag:
|
58
|
-
An opaque tag indicating the current version of the policy, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy` is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policy to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset.
|
57
|
+
:param str etag: An opaque tag indicating the current version of the policy, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy` is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policy to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset.
|
59
58
|
:param bool inherit_from_parent: Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints.
|
60
59
|
:param bool reset: Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false.
|
61
60
|
:param Sequence['PolicyDryRunSpecRuleArgs'] rules: In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence.
|
62
|
-
|
63
|
-
:param str update_time: (Output)
|
64
|
-
Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy.
|
61
|
+
:param str update_time: Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy.
|
65
62
|
"""
|
66
63
|
if etag is not None:
|
67
64
|
pulumi.set(__self__, "etag", etag)
|
@@ -78,7 +75,6 @@ class PolicyDryRunSpec(dict):
|
|
78
75
|
@pulumi.getter
|
79
76
|
def etag(self) -> Optional[str]:
|
80
77
|
"""
|
81
|
-
(Output)
|
82
78
|
An opaque tag indicating the current version of the policy, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy` is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policy to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset.
|
83
79
|
"""
|
84
80
|
return pulumi.get(self, "etag")
|
@@ -104,7 +100,6 @@ class PolicyDryRunSpec(dict):
|
|
104
100
|
def rules(self) -> Optional[Sequence['outputs.PolicyDryRunSpecRule']]:
|
105
101
|
"""
|
106
102
|
In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence.
|
107
|
-
Structure is documented below.
|
108
103
|
"""
|
109
104
|
return pulumi.get(self, "rules")
|
110
105
|
|
@@ -112,7 +107,6 @@ class PolicyDryRunSpec(dict):
|
|
112
107
|
@pulumi.getter(name="updateTime")
|
113
108
|
def update_time(self) -> Optional[str]:
|
114
109
|
"""
|
115
|
-
(Output)
|
116
110
|
Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy.
|
117
111
|
"""
|
118
112
|
return pulumi.get(self, "update_time")
|
@@ -148,11 +142,9 @@ class PolicyDryRunSpecRule(dict):
|
|
148
142
|
"""
|
149
143
|
:param str allow_all: Setting this to `"TRUE"` means that all values are allowed. This field can be set only in Policies for list constraints.
|
150
144
|
:param 'PolicyDryRunSpecRuleConditionArgs' condition: A condition which determines whether this rule is used in the evaluation of the policy. When set, the `expression` field in the `Expr' must include from 1 to 10 subexpressions, joined by the "||" or "&&" operators. Each subexpression must be of the form "resource.matchTag('/tag_key_short_name, 'tag_value_short_name')". or "resource.matchTagId('tagKeys/key_id', 'tagValues/value_id')". where key_name and value_name are the resource names for Label Keys and Values. These names are available from the Tag Manager Service. An example expression is: "resource.matchTag('123456789/environment, 'prod')". or "resource.matchTagId('tagKeys/123', 'tagValues/456')".
|
151
|
-
Structure is documented below.
|
152
145
|
:param str deny_all: Setting this to `"TRUE"` means that all values are denied. This field can be set only in Policies for list constraints.
|
153
146
|
:param str enforce: If `"TRUE"`, then the `Policy` is enforced. If `"FALSE"`, then any configuration is acceptable. This field can be set only in Policies for boolean constraints.
|
154
|
-
:param 'PolicyDryRunSpecRuleValuesArgs' values: List of values to be used for this
|
155
|
-
Structure is documented below.
|
147
|
+
:param 'PolicyDryRunSpecRuleValuesArgs' values: List of values to be used for this PolicyRule. This field can be set only in Policies for list constraints.
|
156
148
|
"""
|
157
149
|
if allow_all is not None:
|
158
150
|
pulumi.set(__self__, "allow_all", allow_all)
|
@@ -178,7 +170,6 @@ class PolicyDryRunSpecRule(dict):
|
|
178
170
|
def condition(self) -> Optional['outputs.PolicyDryRunSpecRuleCondition']:
|
179
171
|
"""
|
180
172
|
A condition which determines whether this rule is used in the evaluation of the policy. When set, the `expression` field in the `Expr' must include from 1 to 10 subexpressions, joined by the "||" or "&&" operators. Each subexpression must be of the form "resource.matchTag('/tag_key_short_name, 'tag_value_short_name')". or "resource.matchTagId('tagKeys/key_id', 'tagValues/value_id')". where key_name and value_name are the resource names for Label Keys and Values. These names are available from the Tag Manager Service. An example expression is: "resource.matchTag('123456789/environment, 'prod')". or "resource.matchTagId('tagKeys/123', 'tagValues/456')".
|
181
|
-
Structure is documented below.
|
182
173
|
"""
|
183
174
|
return pulumi.get(self, "condition")
|
184
175
|
|
@@ -202,8 +193,7 @@ class PolicyDryRunSpecRule(dict):
|
|
202
193
|
@pulumi.getter
|
203
194
|
def values(self) -> Optional['outputs.PolicyDryRunSpecRuleValues']:
|
204
195
|
"""
|
205
|
-
List of values to be used for this
|
206
|
-
Structure is documented below.
|
196
|
+
List of values to be used for this PolicyRule. This field can be set only in Policies for list constraints.
|
207
197
|
"""
|
208
198
|
return pulumi.get(self, "values")
|
209
199
|
|
@@ -341,14 +331,11 @@ class PolicySpec(dict):
|
|
341
331
|
rules: Optional[Sequence['outputs.PolicySpecRule']] = None,
|
342
332
|
update_time: Optional[str] = None):
|
343
333
|
"""
|
344
|
-
:param str etag:
|
345
|
-
An opaque tag indicating the current version of the `Policy`, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the `Policy` is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current `Policy` to use when executing a read-modify-write loop. When the `Policy` is returned from a `GetEffectivePolicy` request, the `etag` will be unset.
|
334
|
+
:param str etag: An opaque tag indicating the current version of the `Policy`, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the `Policy` is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current `Policy` to use when executing a read-modify-write loop. When the `Policy` is returned from a `GetEffectivePolicy` request, the `etag` will be unset.
|
346
335
|
:param bool inherit_from_parent: Determines the inheritance behavior for this `Policy`. If `inherit_from_parent` is true, PolicyRules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this Policy becomes the new root for evaluation. This field can be set only for Policies which configure list constraints.
|
347
336
|
:param bool reset: Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific `Constraint` at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false.
|
348
337
|
:param Sequence['PolicySpecRuleArgs'] rules: Up to 10 PolicyRules are allowed. In Policies for boolean constraints, the following requirements apply: - There must be one and only one PolicyRule where condition is unset. - BooleanPolicyRules with conditions must set `enforced` to the opposite of the PolicyRule without a condition. - During policy evaluation, PolicyRules with conditions that are true for a target resource take precedence.
|
349
|
-
|
350
|
-
:param str update_time: (Output)
|
351
|
-
Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that `Policy`.
|
338
|
+
:param str update_time: Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that `Policy`.
|
352
339
|
"""
|
353
340
|
if etag is not None:
|
354
341
|
pulumi.set(__self__, "etag", etag)
|
@@ -365,7 +352,6 @@ class PolicySpec(dict):
|
|
365
352
|
@pulumi.getter
|
366
353
|
def etag(self) -> Optional[str]:
|
367
354
|
"""
|
368
|
-
(Output)
|
369
355
|
An opaque tag indicating the current version of the `Policy`, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the `Policy` is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current `Policy` to use when executing a read-modify-write loop. When the `Policy` is returned from a `GetEffectivePolicy` request, the `etag` will be unset.
|
370
356
|
"""
|
371
357
|
return pulumi.get(self, "etag")
|
@@ -391,7 +377,6 @@ class PolicySpec(dict):
|
|
391
377
|
def rules(self) -> Optional[Sequence['outputs.PolicySpecRule']]:
|
392
378
|
"""
|
393
379
|
Up to 10 PolicyRules are allowed. In Policies for boolean constraints, the following requirements apply: - There must be one and only one PolicyRule where condition is unset. - BooleanPolicyRules with conditions must set `enforced` to the opposite of the PolicyRule without a condition. - During policy evaluation, PolicyRules with conditions that are true for a target resource take precedence.
|
394
|
-
Structure is documented below.
|
395
380
|
"""
|
396
381
|
return pulumi.get(self, "rules")
|
397
382
|
|
@@ -399,7 +384,6 @@ class PolicySpec(dict):
|
|
399
384
|
@pulumi.getter(name="updateTime")
|
400
385
|
def update_time(self) -> Optional[str]:
|
401
386
|
"""
|
402
|
-
(Output)
|
403
387
|
Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that `Policy`.
|
404
388
|
"""
|
405
389
|
return pulumi.get(self, "update_time")
|
@@ -435,11 +419,9 @@ class PolicySpecRule(dict):
|
|
435
419
|
"""
|
436
420
|
:param str allow_all: Setting this to `"TRUE"` means that all values are allowed. This field can be set only in Policies for list constraints.
|
437
421
|
:param 'PolicySpecRuleConditionArgs' condition: A condition which determines whether this rule is used in the evaluation of the policy. When set, the `expression` field in the `Expr' must include from 1 to 10 subexpressions, joined by the "||" or "&&" operators. Each subexpression must be of the form "resource.matchTag('/tag_key_short_name, 'tag_value_short_name')". or "resource.matchTagId('tagKeys/key_id', 'tagValues/value_id')". where key_name and value_name are the resource names for Label Keys and Values. These names are available from the Tag Manager Service. An example expression is: "resource.matchTag('123456789/environment, 'prod')". or "resource.matchTagId('tagKeys/123', 'tagValues/456')".
|
438
|
-
Structure is documented below.
|
439
422
|
:param str deny_all: Setting this to `"TRUE"` means that all values are denied. This field can be set only in Policies for list constraints.
|
440
423
|
:param str enforce: If `"TRUE"`, then the `Policy` is enforced. If `"FALSE"`, then any configuration is acceptable. This field can be set only in Policies for boolean constraints.
|
441
|
-
:param 'PolicySpecRuleValuesArgs' values: List of values to be used for this
|
442
|
-
Structure is documented below.
|
424
|
+
:param 'PolicySpecRuleValuesArgs' values: List of values to be used for this PolicyRule. This field can be set only in Policies for list constraints.
|
443
425
|
"""
|
444
426
|
if allow_all is not None:
|
445
427
|
pulumi.set(__self__, "allow_all", allow_all)
|
@@ -465,7 +447,6 @@ class PolicySpecRule(dict):
|
|
465
447
|
def condition(self) -> Optional['outputs.PolicySpecRuleCondition']:
|
466
448
|
"""
|
467
449
|
A condition which determines whether this rule is used in the evaluation of the policy. When set, the `expression` field in the `Expr' must include from 1 to 10 subexpressions, joined by the "||" or "&&" operators. Each subexpression must be of the form "resource.matchTag('/tag_key_short_name, 'tag_value_short_name')". or "resource.matchTagId('tagKeys/key_id', 'tagValues/value_id')". where key_name and value_name are the resource names for Label Keys and Values. These names are available from the Tag Manager Service. An example expression is: "resource.matchTag('123456789/environment, 'prod')". or "resource.matchTagId('tagKeys/123', 'tagValues/456')".
|
468
|
-
Structure is documented below.
|
469
450
|
"""
|
470
451
|
return pulumi.get(self, "condition")
|
471
452
|
|
@@ -489,8 +470,7 @@ class PolicySpecRule(dict):
|
|
489
470
|
@pulumi.getter
|
490
471
|
def values(self) -> Optional['outputs.PolicySpecRuleValues']:
|
491
472
|
"""
|
492
|
-
List of values to be used for this
|
493
|
-
Structure is documented below.
|
473
|
+
List of values to be used for this PolicyRule. This field can be set only in Policies for list constraints.
|
494
474
|
"""
|
495
475
|
return pulumi.get(self, "values")
|
496
476
|
|