pulumi-gcp 7.31.0a1720850808__py3-none-any.whl → 7.32.0__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 +51 -0
- pulumi_gcp/alloydb/cluster.py +0 -24
- pulumi_gcp/applicationintegration/auth_config.py +2 -2
- pulumi_gcp/bigquery/_inputs.py +0 -12
- pulumi_gcp/bigquery/dataset.py +0 -28
- pulumi_gcp/bigquery/dataset_access.py +0 -28
- pulumi_gcp/bigquery/outputs.py +0 -24
- pulumi_gcp/bigquery/reservation_assignment.py +48 -30
- pulumi_gcp/bigtable/authorized_view.py +104 -0
- pulumi_gcp/certificateauthority/certificate_template.py +2 -2
- pulumi_gcp/certificatemanager/_inputs.py +33 -0
- pulumi_gcp/certificatemanager/outputs.py +36 -0
- pulumi_gcp/certificatemanager/trust_config.py +107 -0
- pulumi_gcp/compute/_inputs.py +3 -6
- pulumi_gcp/compute/ca_external_account_key.py +2 -2
- pulumi_gcp/compute/get_health_check.py +11 -1
- pulumi_gcp/compute/global_address.py +16 -4
- pulumi_gcp/compute/global_forwarding_rule.py +2 -4
- pulumi_gcp/compute/health_check.py +124 -0
- pulumi_gcp/compute/instance.py +14 -14
- pulumi_gcp/compute/instance_group_membership.py +2 -2
- pulumi_gcp/compute/outputs.py +4 -8
- 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/compute/target_instance.py +2 -2
- pulumi_gcp/config/__init__.pyi +4 -0
- pulumi_gcp/config/vars.py +8 -0
- 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 +3 -0
- pulumi_gcp/dataloss/outputs.py +2 -0
- pulumi_gcp/dataloss/prevention_job_trigger.py +90 -0
- pulumi_gcp/dataplex/_inputs.py +56 -0
- pulumi_gcp/dataplex/datascan.py +12 -0
- pulumi_gcp/dataplex/outputs.py +52 -0
- pulumi_gcp/filestore/backup.py +2 -2
- pulumi_gcp/filestore/instance.py +2 -2
- pulumi_gcp/filestore/snapshot.py +2 -2
- pulumi_gcp/gkehub/__init__.py +1 -0
- pulumi_gcp/gkehub/_inputs.py +20 -0
- pulumi_gcp/gkehub/get_membership_binding.py +222 -0
- pulumi_gcp/gkehub/outputs.py +31 -0
- pulumi_gcp/iap/client.py +7 -7
- pulumi_gcp/kms/__init__.py +2 -0
- pulumi_gcp/kms/_inputs.py +40 -0
- pulumi_gcp/kms/crypto_key.py +110 -7
- pulumi_gcp/kms/get_crypto_keys.py +143 -0
- pulumi_gcp/kms/get_key_rings.py +119 -0
- pulumi_gcp/kms/get_kms_crypto_key.py +11 -1
- pulumi_gcp/kms/outputs.py +382 -0
- 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 +132 -53
- pulumi_gcp/netapp/volume.py +60 -4
- pulumi_gcp/networksecurity/address_group.py +85 -1
- 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 +40 -10
- pulumi_gcp/orgpolicy/outputs.py +28 -8
- pulumi_gcp/orgpolicy/policy.py +52 -35
- pulumi_gcp/privilegedaccessmanager/entitlement.py +4 -0
- pulumi_gcp/provider.py +40 -0
- 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 +5 -0
- pulumi_gcp/securesourcemanager/_inputs.py +284 -0
- pulumi_gcp/securesourcemanager/get_repository_iam_policy.py +177 -0
- pulumi_gcp/securesourcemanager/outputs.py +202 -0
- pulumi_gcp/securesourcemanager/repository.py +715 -0
- pulumi_gcp/securesourcemanager/repository_iam_binding.py +804 -0
- pulumi_gcp/securesourcemanager/repository_iam_member.py +804 -0
- pulumi_gcp/securesourcemanager/repository_iam_policy.py +643 -0
- pulumi_gcp/securitycenter/__init__.py +2 -0
- pulumi_gcp/securitycenter/_inputs.py +186 -0
- pulumi_gcp/securitycenter/outputs.py +118 -0
- pulumi_gcp/securitycenter/project_notification_config.py +518 -0
- pulumi_gcp/securitycenter/v2_organization_notification_config.py +576 -0
- pulumi_gcp/securityposture/posture_deployment.py +0 -78
- pulumi_gcp/servicenetworking/vpc_service_controls.py +2 -2
- pulumi_gcp/siteverification/__init__.py +8 -0
- pulumi_gcp/siteverification/get_token.py +221 -0
- pulumi_gcp/vertex/_inputs.py +21 -1
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +222 -0
- pulumi_gcp/vertex/outputs.py +15 -1
- pulumi_gcp/workstations/_inputs.py +33 -1
- pulumi_gcp/workstations/outputs.py +23 -1
- pulumi_gcp/workstations/workstation_config.py +18 -0
- {pulumi_gcp-7.31.0a1720850808.dist-info → pulumi_gcp-7.32.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.31.0a1720850808.dist-info → pulumi_gcp-7.32.0.dist-info}/RECORD +103 -91
- {pulumi_gcp-7.31.0a1720850808.dist-info → pulumi_gcp-7.32.0.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.31.0a1720850808.dist-info → pulumi_gcp-7.32.0.dist-info}/top_level.txt +0 -0
pulumi_gcp/orgpolicy/_inputs.py
CHANGED
@@ -39,6 +39,7 @@ if not MYPY:
|
|
39
39
|
class PolicyDryRunSpecArgsDict(TypedDict):
|
40
40
|
etag: NotRequired[pulumi.Input[str]]
|
41
41
|
"""
|
42
|
+
(Output)
|
42
43
|
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.
|
43
44
|
"""
|
44
45
|
inherit_from_parent: NotRequired[pulumi.Input[bool]]
|
@@ -52,9 +53,11 @@ if not MYPY:
|
|
52
53
|
rules: NotRequired[pulumi.Input[Sequence[pulumi.Input['PolicyDryRunSpecRuleArgsDict']]]]
|
53
54
|
"""
|
54
55
|
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.
|
55
57
|
"""
|
56
58
|
update_time: NotRequired[pulumi.Input[str]]
|
57
59
|
"""
|
60
|
+
(Output)
|
58
61
|
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.
|
59
62
|
"""
|
60
63
|
elif False:
|
@@ -69,11 +72,14 @@ class PolicyDryRunSpecArgs:
|
|
69
72
|
rules: Optional[pulumi.Input[Sequence[pulumi.Input['PolicyDryRunSpecRuleArgs']]]] = None,
|
70
73
|
update_time: Optional[pulumi.Input[str]] = None):
|
71
74
|
"""
|
72
|
-
:param pulumi.Input[str] etag:
|
75
|
+
:param pulumi.Input[str] etag: (Output)
|
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.
|
73
77
|
: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.
|
74
78
|
: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.
|
75
79
|
: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.
|
76
|
-
|
80
|
+
Structure is documented below.
|
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.
|
77
83
|
"""
|
78
84
|
if etag is not None:
|
79
85
|
pulumi.set(__self__, "etag", etag)
|
@@ -90,6 +96,7 @@ class PolicyDryRunSpecArgs:
|
|
90
96
|
@pulumi.getter
|
91
97
|
def etag(self) -> Optional[pulumi.Input[str]]:
|
92
98
|
"""
|
99
|
+
(Output)
|
93
100
|
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.
|
94
101
|
"""
|
95
102
|
return pulumi.get(self, "etag")
|
@@ -127,6 +134,7 @@ class PolicyDryRunSpecArgs:
|
|
127
134
|
def rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['PolicyDryRunSpecRuleArgs']]]]:
|
128
135
|
"""
|
129
136
|
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.
|
130
138
|
"""
|
131
139
|
return pulumi.get(self, "rules")
|
132
140
|
|
@@ -138,6 +146,7 @@ class PolicyDryRunSpecArgs:
|
|
138
146
|
@pulumi.getter(name="updateTime")
|
139
147
|
def update_time(self) -> Optional[pulumi.Input[str]]:
|
140
148
|
"""
|
149
|
+
(Output)
|
141
150
|
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.
|
142
151
|
"""
|
143
152
|
return pulumi.get(self, "update_time")
|
@@ -156,6 +165,7 @@ if not MYPY:
|
|
156
165
|
condition: NotRequired[pulumi.Input['PolicyDryRunSpecRuleConditionArgsDict']]
|
157
166
|
"""
|
158
167
|
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.
|
159
169
|
"""
|
160
170
|
deny_all: NotRequired[pulumi.Input[str]]
|
161
171
|
"""
|
@@ -167,7 +177,8 @@ if not MYPY:
|
|
167
177
|
"""
|
168
178
|
values: NotRequired[pulumi.Input['PolicyDryRunSpecRuleValuesArgsDict']]
|
169
179
|
"""
|
170
|
-
List of values to be used for this
|
180
|
+
List of values to be used for this policy rule. This field can be set only in policies for list constraints.
|
181
|
+
Structure is documented below.
|
171
182
|
"""
|
172
183
|
elif False:
|
173
184
|
PolicyDryRunSpecRuleArgsDict: TypeAlias = Mapping[str, Any]
|
@@ -183,9 +194,11 @@ class PolicyDryRunSpecRuleArgs:
|
|
183
194
|
"""
|
184
195
|
: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.
|
185
196
|
: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.
|
186
198
|
: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.
|
187
199
|
: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.
|
188
|
-
:param pulumi.Input['PolicyDryRunSpecRuleValuesArgs'] values: List of values to be used for this
|
200
|
+
:param pulumi.Input['PolicyDryRunSpecRuleValuesArgs'] values: List of values to be used for this policy rule. This field can be set only in policies for list constraints.
|
201
|
+
Structure is documented below.
|
189
202
|
"""
|
190
203
|
if allow_all is not None:
|
191
204
|
pulumi.set(__self__, "allow_all", allow_all)
|
@@ -215,6 +228,7 @@ class PolicyDryRunSpecRuleArgs:
|
|
215
228
|
def condition(self) -> Optional[pulumi.Input['PolicyDryRunSpecRuleConditionArgs']]:
|
216
229
|
"""
|
217
230
|
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.
|
218
232
|
"""
|
219
233
|
return pulumi.get(self, "condition")
|
220
234
|
|
@@ -250,7 +264,8 @@ class PolicyDryRunSpecRuleArgs:
|
|
250
264
|
@pulumi.getter
|
251
265
|
def values(self) -> Optional[pulumi.Input['PolicyDryRunSpecRuleValuesArgs']]:
|
252
266
|
"""
|
253
|
-
List of values to be used for this
|
267
|
+
List of values to be used for this policy rule. This field can be set only in policies for list constraints.
|
268
|
+
Structure is documented below.
|
254
269
|
"""
|
255
270
|
return pulumi.get(self, "values")
|
256
271
|
|
@@ -407,6 +422,7 @@ if not MYPY:
|
|
407
422
|
class PolicySpecArgsDict(TypedDict):
|
408
423
|
etag: NotRequired[pulumi.Input[str]]
|
409
424
|
"""
|
425
|
+
(Output)
|
410
426
|
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.
|
411
427
|
"""
|
412
428
|
inherit_from_parent: NotRequired[pulumi.Input[bool]]
|
@@ -420,9 +436,11 @@ if not MYPY:
|
|
420
436
|
rules: NotRequired[pulumi.Input[Sequence[pulumi.Input['PolicySpecRuleArgsDict']]]]
|
421
437
|
"""
|
422
438
|
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.
|
423
440
|
"""
|
424
441
|
update_time: NotRequired[pulumi.Input[str]]
|
425
442
|
"""
|
443
|
+
(Output)
|
426
444
|
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`.
|
427
445
|
"""
|
428
446
|
elif False:
|
@@ -437,11 +455,14 @@ class PolicySpecArgs:
|
|
437
455
|
rules: Optional[pulumi.Input[Sequence[pulumi.Input['PolicySpecRuleArgs']]]] = None,
|
438
456
|
update_time: Optional[pulumi.Input[str]] = None):
|
439
457
|
"""
|
440
|
-
:param pulumi.Input[str] etag:
|
458
|
+
:param pulumi.Input[str] etag: (Output)
|
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.
|
441
460
|
: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.
|
442
461
|
: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.
|
443
462
|
: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.
|
444
|
-
|
463
|
+
Structure is documented below.
|
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`.
|
445
466
|
"""
|
446
467
|
if etag is not None:
|
447
468
|
pulumi.set(__self__, "etag", etag)
|
@@ -458,6 +479,7 @@ class PolicySpecArgs:
|
|
458
479
|
@pulumi.getter
|
459
480
|
def etag(self) -> Optional[pulumi.Input[str]]:
|
460
481
|
"""
|
482
|
+
(Output)
|
461
483
|
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.
|
462
484
|
"""
|
463
485
|
return pulumi.get(self, "etag")
|
@@ -495,6 +517,7 @@ class PolicySpecArgs:
|
|
495
517
|
def rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['PolicySpecRuleArgs']]]]:
|
496
518
|
"""
|
497
519
|
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.
|
498
521
|
"""
|
499
522
|
return pulumi.get(self, "rules")
|
500
523
|
|
@@ -506,6 +529,7 @@ class PolicySpecArgs:
|
|
506
529
|
@pulumi.getter(name="updateTime")
|
507
530
|
def update_time(self) -> Optional[pulumi.Input[str]]:
|
508
531
|
"""
|
532
|
+
(Output)
|
509
533
|
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`.
|
510
534
|
"""
|
511
535
|
return pulumi.get(self, "update_time")
|
@@ -524,6 +548,7 @@ if not MYPY:
|
|
524
548
|
condition: NotRequired[pulumi.Input['PolicySpecRuleConditionArgsDict']]
|
525
549
|
"""
|
526
550
|
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.
|
527
552
|
"""
|
528
553
|
deny_all: NotRequired[pulumi.Input[str]]
|
529
554
|
"""
|
@@ -535,7 +560,8 @@ if not MYPY:
|
|
535
560
|
"""
|
536
561
|
values: NotRequired[pulumi.Input['PolicySpecRuleValuesArgsDict']]
|
537
562
|
"""
|
538
|
-
List of values to be used for this
|
563
|
+
List of values to be used for this policy rule. This field can be set only in policies for list constraints.
|
564
|
+
Structure is documented below.
|
539
565
|
"""
|
540
566
|
elif False:
|
541
567
|
PolicySpecRuleArgsDict: TypeAlias = Mapping[str, Any]
|
@@ -551,9 +577,11 @@ class PolicySpecRuleArgs:
|
|
551
577
|
"""
|
552
578
|
: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.
|
553
579
|
: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.
|
554
581
|
: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.
|
555
582
|
: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.
|
556
|
-
:param pulumi.Input['PolicySpecRuleValuesArgs'] values: List of values to be used for this
|
583
|
+
:param pulumi.Input['PolicySpecRuleValuesArgs'] values: List of values to be used for this policy rule. This field can be set only in policies for list constraints.
|
584
|
+
Structure is documented below.
|
557
585
|
"""
|
558
586
|
if allow_all is not None:
|
559
587
|
pulumi.set(__self__, "allow_all", allow_all)
|
@@ -583,6 +611,7 @@ class PolicySpecRuleArgs:
|
|
583
611
|
def condition(self) -> Optional[pulumi.Input['PolicySpecRuleConditionArgs']]:
|
584
612
|
"""
|
585
613
|
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.
|
586
615
|
"""
|
587
616
|
return pulumi.get(self, "condition")
|
588
617
|
|
@@ -618,7 +647,8 @@ class PolicySpecRuleArgs:
|
|
618
647
|
@pulumi.getter
|
619
648
|
def values(self) -> Optional[pulumi.Input['PolicySpecRuleValuesArgs']]:
|
620
649
|
"""
|
621
|
-
List of values to be used for this
|
650
|
+
List of values to be used for this policy rule. This field can be set only in policies for list constraints.
|
651
|
+
Structure is documented below.
|
622
652
|
"""
|
623
653
|
return pulumi.get(self, "values")
|
624
654
|
|
pulumi_gcp/orgpolicy/outputs.py
CHANGED
@@ -54,11 +54,14 @@ class PolicyDryRunSpec(dict):
|
|
54
54
|
rules: Optional[Sequence['outputs.PolicyDryRunSpecRule']] = None,
|
55
55
|
update_time: Optional[str] = None):
|
56
56
|
"""
|
57
|
-
:param str etag:
|
57
|
+
:param str etag: (Output)
|
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.
|
58
59
|
: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.
|
59
60
|
: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.
|
60
61
|
: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.
|
61
|
-
|
62
|
+
Structure is documented below.
|
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.
|
62
65
|
"""
|
63
66
|
if etag is not None:
|
64
67
|
pulumi.set(__self__, "etag", etag)
|
@@ -75,6 +78,7 @@ class PolicyDryRunSpec(dict):
|
|
75
78
|
@pulumi.getter
|
76
79
|
def etag(self) -> Optional[str]:
|
77
80
|
"""
|
81
|
+
(Output)
|
78
82
|
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.
|
79
83
|
"""
|
80
84
|
return pulumi.get(self, "etag")
|
@@ -100,6 +104,7 @@ class PolicyDryRunSpec(dict):
|
|
100
104
|
def rules(self) -> Optional[Sequence['outputs.PolicyDryRunSpecRule']]:
|
101
105
|
"""
|
102
106
|
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.
|
103
108
|
"""
|
104
109
|
return pulumi.get(self, "rules")
|
105
110
|
|
@@ -107,6 +112,7 @@ class PolicyDryRunSpec(dict):
|
|
107
112
|
@pulumi.getter(name="updateTime")
|
108
113
|
def update_time(self) -> Optional[str]:
|
109
114
|
"""
|
115
|
+
(Output)
|
110
116
|
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.
|
111
117
|
"""
|
112
118
|
return pulumi.get(self, "update_time")
|
@@ -142,9 +148,11 @@ class PolicyDryRunSpecRule(dict):
|
|
142
148
|
"""
|
143
149
|
: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.
|
144
150
|
: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.
|
145
152
|
: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.
|
146
153
|
: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.
|
147
|
-
:param 'PolicyDryRunSpecRuleValuesArgs' values: List of values to be used for this
|
154
|
+
:param 'PolicyDryRunSpecRuleValuesArgs' values: List of values to be used for this policy rule. This field can be set only in policies for list constraints.
|
155
|
+
Structure is documented below.
|
148
156
|
"""
|
149
157
|
if allow_all is not None:
|
150
158
|
pulumi.set(__self__, "allow_all", allow_all)
|
@@ -170,6 +178,7 @@ class PolicyDryRunSpecRule(dict):
|
|
170
178
|
def condition(self) -> Optional['outputs.PolicyDryRunSpecRuleCondition']:
|
171
179
|
"""
|
172
180
|
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.
|
173
182
|
"""
|
174
183
|
return pulumi.get(self, "condition")
|
175
184
|
|
@@ -193,7 +202,8 @@ class PolicyDryRunSpecRule(dict):
|
|
193
202
|
@pulumi.getter
|
194
203
|
def values(self) -> Optional['outputs.PolicyDryRunSpecRuleValues']:
|
195
204
|
"""
|
196
|
-
List of values to be used for this
|
205
|
+
List of values to be used for this policy rule. This field can be set only in policies for list constraints.
|
206
|
+
Structure is documented below.
|
197
207
|
"""
|
198
208
|
return pulumi.get(self, "values")
|
199
209
|
|
@@ -331,11 +341,14 @@ class PolicySpec(dict):
|
|
331
341
|
rules: Optional[Sequence['outputs.PolicySpecRule']] = None,
|
332
342
|
update_time: Optional[str] = None):
|
333
343
|
"""
|
334
|
-
:param str etag:
|
344
|
+
:param str etag: (Output)
|
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.
|
335
346
|
: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.
|
336
347
|
: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.
|
337
348
|
: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.
|
338
|
-
|
349
|
+
Structure is documented below.
|
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`.
|
339
352
|
"""
|
340
353
|
if etag is not None:
|
341
354
|
pulumi.set(__self__, "etag", etag)
|
@@ -352,6 +365,7 @@ class PolicySpec(dict):
|
|
352
365
|
@pulumi.getter
|
353
366
|
def etag(self) -> Optional[str]:
|
354
367
|
"""
|
368
|
+
(Output)
|
355
369
|
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.
|
356
370
|
"""
|
357
371
|
return pulumi.get(self, "etag")
|
@@ -377,6 +391,7 @@ class PolicySpec(dict):
|
|
377
391
|
def rules(self) -> Optional[Sequence['outputs.PolicySpecRule']]:
|
378
392
|
"""
|
379
393
|
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.
|
380
395
|
"""
|
381
396
|
return pulumi.get(self, "rules")
|
382
397
|
|
@@ -384,6 +399,7 @@ class PolicySpec(dict):
|
|
384
399
|
@pulumi.getter(name="updateTime")
|
385
400
|
def update_time(self) -> Optional[str]:
|
386
401
|
"""
|
402
|
+
(Output)
|
387
403
|
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`.
|
388
404
|
"""
|
389
405
|
return pulumi.get(self, "update_time")
|
@@ -419,9 +435,11 @@ class PolicySpecRule(dict):
|
|
419
435
|
"""
|
420
436
|
: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.
|
421
437
|
: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.
|
422
439
|
: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.
|
423
440
|
: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.
|
424
|
-
:param 'PolicySpecRuleValuesArgs' values: List of values to be used for this
|
441
|
+
:param 'PolicySpecRuleValuesArgs' values: List of values to be used for this policy rule. This field can be set only in policies for list constraints.
|
442
|
+
Structure is documented below.
|
425
443
|
"""
|
426
444
|
if allow_all is not None:
|
427
445
|
pulumi.set(__self__, "allow_all", allow_all)
|
@@ -447,6 +465,7 @@ class PolicySpecRule(dict):
|
|
447
465
|
def condition(self) -> Optional['outputs.PolicySpecRuleCondition']:
|
448
466
|
"""
|
449
467
|
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.
|
450
469
|
"""
|
451
470
|
return pulumi.get(self, "condition")
|
452
471
|
|
@@ -470,7 +489,8 @@ class PolicySpecRule(dict):
|
|
470
489
|
@pulumi.getter
|
471
490
|
def values(self) -> Optional['outputs.PolicySpecRuleValues']:
|
472
491
|
"""
|
473
|
-
List of values to be used for this
|
492
|
+
List of values to be used for this policy rule. This field can be set only in policies for list constraints.
|
493
|
+
Structure is documented below.
|
474
494
|
"""
|
475
495
|
return pulumi.get(self, "values")
|
476
496
|
|