pulumi-gcp 8.9.0a1731366299__py3-none-any.whl → 8.9.0a1731432418__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.
Files changed (114) hide show
  1. pulumi_gcp/__init__.py +64 -0
  2. pulumi_gcp/activedirectory/domain.py +24 -0
  3. pulumi_gcp/apigee/__init__.py +1 -0
  4. pulumi_gcp/apigee/_inputs.py +74 -0
  5. pulumi_gcp/apigee/api.py +456 -0
  6. pulumi_gcp/apigee/outputs.py +65 -0
  7. pulumi_gcp/applicationintegration/auth_config.py +24 -0
  8. pulumi_gcp/backupdisasterrecovery/__init__.py +4 -0
  9. pulumi_gcp/backupdisasterrecovery/_inputs.py +533 -0
  10. pulumi_gcp/backupdisasterrecovery/backup_plan.py +653 -0
  11. pulumi_gcp/backupdisasterrecovery/backup_plan_association.py +766 -0
  12. pulumi_gcp/backupdisasterrecovery/backup_vault.py +146 -6
  13. pulumi_gcp/backupdisasterrecovery/get_backup_plan.py +204 -0
  14. pulumi_gcp/backupdisasterrecovery/get_backup_plan_association.py +243 -0
  15. pulumi_gcp/backupdisasterrecovery/outputs.py +702 -0
  16. pulumi_gcp/bigquery/data_transfer_config.py +24 -0
  17. pulumi_gcp/cloudrunv2/_inputs.py +46 -0
  18. pulumi_gcp/cloudrunv2/job.py +0 -2
  19. pulumi_gcp/cloudrunv2/outputs.py +60 -2
  20. pulumi_gcp/cloudrunv2/service.py +0 -2
  21. pulumi_gcp/compute/__init__.py +1 -0
  22. pulumi_gcp/compute/_inputs.py +2163 -256
  23. pulumi_gcp/compute/disk.py +7 -7
  24. pulumi_gcp/compute/firewall_policy_rule.py +108 -54
  25. pulumi_gcp/compute/get_region_instance_group_manager.py +12 -1
  26. pulumi_gcp/compute/health_check.py +42 -42
  27. pulumi_gcp/compute/network_firewall_policy_rule.py +4 -4
  28. pulumi_gcp/compute/network_firewall_policy_with_rules.py +10 -10
  29. pulumi_gcp/compute/node_template.py +95 -0
  30. pulumi_gcp/compute/outputs.py +1639 -213
  31. pulumi_gcp/compute/region_disk.py +7 -7
  32. pulumi_gcp/compute/region_health_check.py +42 -42
  33. pulumi_gcp/compute/region_instance_group_manager.py +54 -14
  34. pulumi_gcp/compute/region_network_firewall_policy_rule.py +4 -4
  35. pulumi_gcp/compute/region_network_firewall_policy_with_rules.py +10 -10
  36. pulumi_gcp/compute/region_resize_request.py +772 -0
  37. pulumi_gcp/compute/region_security_policy.py +120 -0
  38. pulumi_gcp/compute/region_security_policy_rule.py +6 -6
  39. pulumi_gcp/compute/router_peer.py +56 -35
  40. pulumi_gcp/compute/security_scan_config.py +8 -8
  41. pulumi_gcp/config/__init__.pyi +4 -0
  42. pulumi_gcp/config/vars.py +8 -0
  43. pulumi_gcp/container/_inputs.py +345 -10
  44. pulumi_gcp/container/cluster.py +101 -0
  45. pulumi_gcp/container/get_cluster.py +23 -1
  46. pulumi_gcp/container/outputs.py +456 -8
  47. pulumi_gcp/dataloss/prevention_discovery_config.py +7 -7
  48. pulumi_gcp/dataproc/__init__.py +2 -0
  49. pulumi_gcp/dataproc/_inputs.py +101 -0
  50. pulumi_gcp/dataproc/gdc_application_environment.py +931 -0
  51. pulumi_gcp/dataproc/gdc_service_instance.py +1022 -0
  52. pulumi_gcp/dataproc/outputs.py +94 -0
  53. pulumi_gcp/edgecontainer/vpn_connection.py +4 -4
  54. pulumi_gcp/firebase/android_app.py +2 -2
  55. pulumi_gcp/firebase/apple_app.py +2 -2
  56. pulumi_gcp/firebase/web_app.py +2 -2
  57. pulumi_gcp/firestore/index.py +44 -0
  58. pulumi_gcp/gkeonprem/_inputs.py +15 -15
  59. pulumi_gcp/gkeonprem/outputs.py +10 -10
  60. pulumi_gcp/healthcare/dataset.py +7 -7
  61. pulumi_gcp/healthcare/dicom_store.py +7 -7
  62. pulumi_gcp/healthcare/fhir_store.py +7 -7
  63. pulumi_gcp/healthcare/hl7_store.py +14 -14
  64. pulumi_gcp/iam/__init__.py +1 -0
  65. pulumi_gcp/iam/_inputs.py +161 -0
  66. pulumi_gcp/iam/outputs.py +114 -0
  67. pulumi_gcp/iam/principal_access_boundary_policy.py +679 -0
  68. pulumi_gcp/logging/metric.py +2 -2
  69. pulumi_gcp/looker/_inputs.py +6 -0
  70. pulumi_gcp/looker/instance.py +169 -321
  71. pulumi_gcp/looker/outputs.py +4 -0
  72. pulumi_gcp/memorystore/instance.py +4 -0
  73. pulumi_gcp/monitoring/alert_policy.py +24 -0
  74. pulumi_gcp/monitoring/custom_service.py +24 -0
  75. pulumi_gcp/monitoring/group.py +24 -0
  76. pulumi_gcp/monitoring/metric_descriptor.py +24 -0
  77. pulumi_gcp/monitoring/slo.py +24 -0
  78. pulumi_gcp/monitoring/uptime_check_config.py +24 -0
  79. pulumi_gcp/networkmanagement/__init__.py +1 -0
  80. pulumi_gcp/networkmanagement/vpc_flow_logs_config.py +1358 -0
  81. pulumi_gcp/osconfig/patch_deployment.py +8 -8
  82. pulumi_gcp/provider.py +40 -0
  83. pulumi_gcp/pulumi-plugin.json +1 -1
  84. pulumi_gcp/redis/_inputs.py +3 -3
  85. pulumi_gcp/redis/outputs.py +2 -2
  86. pulumi_gcp/securitycenter/notification_config.py +4 -16
  87. pulumi_gcp/securitycenter/project_notification_config.py +0 -24
  88. pulumi_gcp/securitycenter/v2_organization_notification_config.py +4 -16
  89. pulumi_gcp/spanner/__init__.py +1 -0
  90. pulumi_gcp/spanner/_inputs.py +9 -9
  91. pulumi_gcp/spanner/get_database.py +229 -0
  92. pulumi_gcp/spanner/get_instance.py +12 -1
  93. pulumi_gcp/spanner/instance.py +70 -0
  94. pulumi_gcp/spanner/outputs.py +46 -12
  95. pulumi_gcp/sql/_inputs.py +26 -0
  96. pulumi_gcp/sql/database_instance.py +124 -11
  97. pulumi_gcp/sql/get_database_instance.py +12 -1
  98. pulumi_gcp/sql/outputs.py +51 -0
  99. pulumi_gcp/storage/_inputs.py +3 -3
  100. pulumi_gcp/storage/outputs.py +2 -2
  101. pulumi_gcp/tags/tag_binding.py +4 -4
  102. pulumi_gcp/tags/tag_value.py +2 -2
  103. pulumi_gcp/transcoder/job.py +24 -0
  104. pulumi_gcp/vertex/_inputs.py +184 -0
  105. pulumi_gcp/vertex/ai_endpoint.py +394 -8
  106. pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
  107. pulumi_gcp/vertex/outputs.py +166 -0
  108. pulumi_gcp/workbench/instance.py +21 -7
  109. pulumi_gcp/workflows/workflow.py +36 -0
  110. pulumi_gcp/workstations/workstation_config.py +8 -8
  111. {pulumi_gcp-8.9.0a1731366299.dist-info → pulumi_gcp-8.9.0a1731432418.dist-info}/METADATA +1 -1
  112. {pulumi_gcp-8.9.0a1731366299.dist-info → pulumi_gcp-8.9.0a1731432418.dist-info}/RECORD +114 -103
  113. {pulumi_gcp-8.9.0a1731366299.dist-info → pulumi_gcp-8.9.0a1731432418.dist-info}/WHEEL +0 -0
  114. {pulumi_gcp-8.9.0a1731366299.dist-info → pulumi_gcp-8.9.0a1731432418.dist-info}/top_level.txt +0 -0
@@ -53,7 +53,7 @@ class DiskArgs:
53
53
  * READ_WRITE_SINGLE
54
54
  * READ_WRITE_MANY
55
55
  * READ_ONLY_SINGLE
56
- :param pulumi.Input['DiskAsyncPrimaryDiskArgs'] async_primary_disk: A nested object resource
56
+ :param pulumi.Input['DiskAsyncPrimaryDiskArgs'] async_primary_disk: A nested object resource.
57
57
  Structure is documented below.
58
58
  :param pulumi.Input[str] description: An optional description of this resource. Provide this property when
59
59
  you create the resource.
@@ -234,7 +234,7 @@ class DiskArgs:
234
234
  @pulumi.getter(name="asyncPrimaryDisk")
235
235
  def async_primary_disk(self) -> Optional[pulumi.Input['DiskAsyncPrimaryDiskArgs']]:
236
236
  """
237
- A nested object resource
237
+ A nested object resource.
238
238
  Structure is documented below.
239
239
  """
240
240
  return pulumi.get(self, "async_primary_disk")
@@ -649,7 +649,7 @@ class _DiskState:
649
649
  * READ_WRITE_SINGLE
650
650
  * READ_WRITE_MANY
651
651
  * READ_ONLY_SINGLE
652
- :param pulumi.Input['DiskAsyncPrimaryDiskArgs'] async_primary_disk: A nested object resource
652
+ :param pulumi.Input['DiskAsyncPrimaryDiskArgs'] async_primary_disk: A nested object resource.
653
653
  Structure is documented below.
654
654
  :param pulumi.Input[str] creation_timestamp: Creation timestamp in RFC3339 text format.
655
655
  :param pulumi.Input[str] description: An optional description of this resource. Provide this property when
@@ -880,7 +880,7 @@ class _DiskState:
880
880
  @pulumi.getter(name="asyncPrimaryDisk")
881
881
  def async_primary_disk(self) -> Optional[pulumi.Input['DiskAsyncPrimaryDiskArgs']]:
882
882
  """
883
- A nested object resource
883
+ A nested object resource.
884
884
  Structure is documented below.
885
885
  """
886
886
  return pulumi.get(self, "async_primary_disk")
@@ -1563,7 +1563,7 @@ class Disk(pulumi.CustomResource):
1563
1563
  * READ_WRITE_SINGLE
1564
1564
  * READ_WRITE_MANY
1565
1565
  * READ_ONLY_SINGLE
1566
- :param pulumi.Input[Union['DiskAsyncPrimaryDiskArgs', 'DiskAsyncPrimaryDiskArgsDict']] async_primary_disk: A nested object resource
1566
+ :param pulumi.Input[Union['DiskAsyncPrimaryDiskArgs', 'DiskAsyncPrimaryDiskArgsDict']] async_primary_disk: A nested object resource.
1567
1567
  Structure is documented below.
1568
1568
  :param pulumi.Input[str] description: An optional description of this resource. Provide this property when
1569
1569
  you create the resource.
@@ -1942,7 +1942,7 @@ class Disk(pulumi.CustomResource):
1942
1942
  * READ_WRITE_SINGLE
1943
1943
  * READ_WRITE_MANY
1944
1944
  * READ_ONLY_SINGLE
1945
- :param pulumi.Input[Union['DiskAsyncPrimaryDiskArgs', 'DiskAsyncPrimaryDiskArgsDict']] async_primary_disk: A nested object resource
1945
+ :param pulumi.Input[Union['DiskAsyncPrimaryDiskArgs', 'DiskAsyncPrimaryDiskArgsDict']] async_primary_disk: A nested object resource.
1946
1946
  Structure is documented below.
1947
1947
  :param pulumi.Input[str] creation_timestamp: Creation timestamp in RFC3339 text format.
1948
1948
  :param pulumi.Input[str] description: An optional description of this resource. Provide this property when
@@ -2134,7 +2134,7 @@ class Disk(pulumi.CustomResource):
2134
2134
  @pulumi.getter(name="asyncPrimaryDisk")
2135
2135
  def async_primary_disk(self) -> pulumi.Output[Optional['outputs.DiskAsyncPrimaryDisk']]:
2136
2136
  """
2137
- A nested object resource
2137
+ A nested object resource.
2138
2138
  Structure is documented below.
2139
2139
  """
2140
2140
  return pulumi.get(self, "async_primary_disk")
@@ -36,23 +36,27 @@ class FirewallPolicyRuleArgs:
36
36
  """
37
37
  The set of arguments for constructing a FirewallPolicyRule resource.
38
38
  :param pulumi.Input[str] action: The Action to perform when the client connection triggers the rule. Valid actions are "allow", "deny", "goto_next" and "apply_security_profile_group".
39
- :param pulumi.Input[str] direction: The direction in which this rule applies. Possible values: INGRESS, EGRESS
39
+ :param pulumi.Input[str] direction: The direction in which this rule applies.
40
+ Possible values are: `INGRESS`, `EGRESS`.
40
41
  :param pulumi.Input[str] firewall_policy: The firewall policy of the resource.
41
42
  :param pulumi.Input['FirewallPolicyRuleMatchArgs'] match: A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced.
42
- :param pulumi.Input[int] priority: An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest prority.
43
+ Structure is documented below.
44
+ :param pulumi.Input[int] priority: An integer indicating the priority of a rule in the list.
45
+ The priority must be a positive value between 0 and 2147483647.
46
+ Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest prority.
43
47
  :param pulumi.Input[str] description: An optional description for this resource.
44
48
  :param pulumi.Input[bool] disabled: Denotes whether the firewall policy rule is disabled. When set to true, the firewall policy rule is not enforced and
45
49
  traffic behaves as if it did not exist. If this is unspecified, the firewall policy rule will be enabled.
46
50
  :param pulumi.Input[bool] enable_logging: Denotes whether to enable logging for a particular rule. If logging is enabled, logs will be exported to the configured
47
51
  export destination in Stackdriver. Logs may be exported to BigQuery or Pub/Sub. Note: you cannot enable logging on
48
52
  "goto_next" rules.
49
- :param pulumi.Input[str] security_profile_group: A fully-qualified URL of a SecurityProfileGroup resource. Example:
50
- https://networksecurity.googleapis.com/v1/organizations/{organizationId}/locations/global/securityProfileGroups/my-security-profile-group.
51
- It must be specified if action = 'apply_security_profile_group' and cannot be specified for other actions.
53
+ :param pulumi.Input[str] security_profile_group: A fully-qualified URL of a SecurityProfile resource instance. Example:
54
+ https://networksecurity.googleapis.com/v1/projects/{project}/locations/{location}/securityProfileGroups/my-security-profile-group
55
+ Must be specified if action = 'apply_security_profile_group' and cannot be specified for other actions.
52
56
  :param pulumi.Input[Sequence[pulumi.Input[str]]] target_resources: A list of network resource URLs to which this rule applies. This field allows you to control which network's VMs get
53
57
  this rule. If this field is left blank, all VMs within the organization will receive the rule.
54
58
  :param pulumi.Input[Sequence[pulumi.Input[str]]] target_service_accounts: A list of service accounts indicating the sets of instances that are applied with this rule.
55
- :param pulumi.Input[bool] tls_inspect: Boolean flag indicating if the traffic should be TLS decrypted. It can be set only if action =
59
+ :param pulumi.Input[bool] tls_inspect: Boolean flag indicating if the traffic should be TLS decrypted. Can be set only if action =
56
60
  'apply_security_profile_group' and cannot be set for other actions.
57
61
  """
58
62
  pulumi.set(__self__, "action", action)
@@ -91,7 +95,8 @@ class FirewallPolicyRuleArgs:
91
95
  @pulumi.getter
92
96
  def direction(self) -> pulumi.Input[str]:
93
97
  """
94
- The direction in which this rule applies. Possible values: INGRESS, EGRESS
98
+ The direction in which this rule applies.
99
+ Possible values are: `INGRESS`, `EGRESS`.
95
100
  """
96
101
  return pulumi.get(self, "direction")
97
102
 
@@ -116,6 +121,7 @@ class FirewallPolicyRuleArgs:
116
121
  def match(self) -> pulumi.Input['FirewallPolicyRuleMatchArgs']:
117
122
  """
118
123
  A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced.
124
+ Structure is documented below.
119
125
  """
120
126
  return pulumi.get(self, "match")
121
127
 
@@ -127,7 +133,9 @@ class FirewallPolicyRuleArgs:
127
133
  @pulumi.getter
128
134
  def priority(self) -> pulumi.Input[int]:
129
135
  """
130
- An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest prority.
136
+ An integer indicating the priority of a rule in the list.
137
+ The priority must be a positive value between 0 and 2147483647.
138
+ Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest prority.
131
139
  """
132
140
  return pulumi.get(self, "priority")
133
141
 
@@ -178,9 +186,9 @@ class FirewallPolicyRuleArgs:
178
186
  @pulumi.getter(name="securityProfileGroup")
179
187
  def security_profile_group(self) -> Optional[pulumi.Input[str]]:
180
188
  """
181
- A fully-qualified URL of a SecurityProfileGroup resource. Example:
182
- https://networksecurity.googleapis.com/v1/organizations/{organizationId}/locations/global/securityProfileGroups/my-security-profile-group.
183
- It must be specified if action = 'apply_security_profile_group' and cannot be specified for other actions.
189
+ A fully-qualified URL of a SecurityProfile resource instance. Example:
190
+ https://networksecurity.googleapis.com/v1/projects/{project}/locations/{location}/securityProfileGroups/my-security-profile-group
191
+ Must be specified if action = 'apply_security_profile_group' and cannot be specified for other actions.
184
192
  """
185
193
  return pulumi.get(self, "security_profile_group")
186
194
 
@@ -217,7 +225,7 @@ class FirewallPolicyRuleArgs:
217
225
  @pulumi.getter(name="tlsInspect")
218
226
  def tls_inspect(self) -> Optional[pulumi.Input[bool]]:
219
227
  """
220
- Boolean flag indicating if the traffic should be TLS decrypted. It can be set only if action =
228
+ Boolean flag indicating if the traffic should be TLS decrypted. Can be set only if action =
221
229
  'apply_security_profile_group' and cannot be set for other actions.
222
230
  """
223
231
  return pulumi.get(self, "tls_inspect")
@@ -231,6 +239,7 @@ class FirewallPolicyRuleArgs:
231
239
  class _FirewallPolicyRuleState:
232
240
  def __init__(__self__, *,
233
241
  action: Optional[pulumi.Input[str]] = None,
242
+ creation_timestamp: Optional[pulumi.Input[str]] = None,
234
243
  description: Optional[pulumi.Input[str]] = None,
235
244
  direction: Optional[pulumi.Input[str]] = None,
236
245
  disabled: Optional[pulumi.Input[bool]] = None,
@@ -247,8 +256,10 @@ class _FirewallPolicyRuleState:
247
256
  """
248
257
  Input properties used for looking up and filtering FirewallPolicyRule resources.
249
258
  :param pulumi.Input[str] action: The Action to perform when the client connection triggers the rule. Valid actions are "allow", "deny", "goto_next" and "apply_security_profile_group".
259
+ :param pulumi.Input[str] creation_timestamp: Creation timestamp in RFC3339 text format.
250
260
  :param pulumi.Input[str] description: An optional description for this resource.
251
- :param pulumi.Input[str] direction: The direction in which this rule applies. Possible values: INGRESS, EGRESS
261
+ :param pulumi.Input[str] direction: The direction in which this rule applies.
262
+ Possible values are: `INGRESS`, `EGRESS`.
252
263
  :param pulumi.Input[bool] disabled: Denotes whether the firewall policy rule is disabled. When set to true, the firewall policy rule is not enforced and
253
264
  traffic behaves as if it did not exist. If this is unspecified, the firewall policy rule will be enabled.
254
265
  :param pulumi.Input[bool] enable_logging: Denotes whether to enable logging for a particular rule. If logging is enabled, logs will be exported to the configured
@@ -257,19 +268,24 @@ class _FirewallPolicyRuleState:
257
268
  :param pulumi.Input[str] firewall_policy: The firewall policy of the resource.
258
269
  :param pulumi.Input[str] kind: Type of the resource. Always `compute#firewallPolicyRule` for firewall policy rules
259
270
  :param pulumi.Input['FirewallPolicyRuleMatchArgs'] match: A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced.
260
- :param pulumi.Input[int] priority: An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest prority.
271
+ Structure is documented below.
272
+ :param pulumi.Input[int] priority: An integer indicating the priority of a rule in the list.
273
+ The priority must be a positive value between 0 and 2147483647.
274
+ Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest prority.
261
275
  :param pulumi.Input[int] rule_tuple_count: Calculation of the complexity of a single firewall policy rule.
262
- :param pulumi.Input[str] security_profile_group: A fully-qualified URL of a SecurityProfileGroup resource. Example:
263
- https://networksecurity.googleapis.com/v1/organizations/{organizationId}/locations/global/securityProfileGroups/my-security-profile-group.
264
- It must be specified if action = 'apply_security_profile_group' and cannot be specified for other actions.
276
+ :param pulumi.Input[str] security_profile_group: A fully-qualified URL of a SecurityProfile resource instance. Example:
277
+ https://networksecurity.googleapis.com/v1/projects/{project}/locations/{location}/securityProfileGroups/my-security-profile-group
278
+ Must be specified if action = 'apply_security_profile_group' and cannot be specified for other actions.
265
279
  :param pulumi.Input[Sequence[pulumi.Input[str]]] target_resources: A list of network resource URLs to which this rule applies. This field allows you to control which network's VMs get
266
280
  this rule. If this field is left blank, all VMs within the organization will receive the rule.
267
281
  :param pulumi.Input[Sequence[pulumi.Input[str]]] target_service_accounts: A list of service accounts indicating the sets of instances that are applied with this rule.
268
- :param pulumi.Input[bool] tls_inspect: Boolean flag indicating if the traffic should be TLS decrypted. It can be set only if action =
282
+ :param pulumi.Input[bool] tls_inspect: Boolean flag indicating if the traffic should be TLS decrypted. Can be set only if action =
269
283
  'apply_security_profile_group' and cannot be set for other actions.
270
284
  """
271
285
  if action is not None:
272
286
  pulumi.set(__self__, "action", action)
287
+ if creation_timestamp is not None:
288
+ pulumi.set(__self__, "creation_timestamp", creation_timestamp)
273
289
  if description is not None:
274
290
  pulumi.set(__self__, "description", description)
275
291
  if direction is not None:
@@ -309,6 +325,18 @@ class _FirewallPolicyRuleState:
309
325
  def action(self, value: Optional[pulumi.Input[str]]):
310
326
  pulumi.set(self, "action", value)
311
327
 
328
+ @property
329
+ @pulumi.getter(name="creationTimestamp")
330
+ def creation_timestamp(self) -> Optional[pulumi.Input[str]]:
331
+ """
332
+ Creation timestamp in RFC3339 text format.
333
+ """
334
+ return pulumi.get(self, "creation_timestamp")
335
+
336
+ @creation_timestamp.setter
337
+ def creation_timestamp(self, value: Optional[pulumi.Input[str]]):
338
+ pulumi.set(self, "creation_timestamp", value)
339
+
312
340
  @property
313
341
  @pulumi.getter
314
342
  def description(self) -> Optional[pulumi.Input[str]]:
@@ -325,7 +353,8 @@ class _FirewallPolicyRuleState:
325
353
  @pulumi.getter
326
354
  def direction(self) -> Optional[pulumi.Input[str]]:
327
355
  """
328
- The direction in which this rule applies. Possible values: INGRESS, EGRESS
356
+ The direction in which this rule applies.
357
+ Possible values are: `INGRESS`, `EGRESS`.
329
358
  """
330
359
  return pulumi.get(self, "direction")
331
360
 
@@ -389,6 +418,7 @@ class _FirewallPolicyRuleState:
389
418
  def match(self) -> Optional[pulumi.Input['FirewallPolicyRuleMatchArgs']]:
390
419
  """
391
420
  A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced.
421
+ Structure is documented below.
392
422
  """
393
423
  return pulumi.get(self, "match")
394
424
 
@@ -400,7 +430,9 @@ class _FirewallPolicyRuleState:
400
430
  @pulumi.getter
401
431
  def priority(self) -> Optional[pulumi.Input[int]]:
402
432
  """
403
- An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest prority.
433
+ An integer indicating the priority of a rule in the list.
434
+ The priority must be a positive value between 0 and 2147483647.
435
+ Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest prority.
404
436
  """
405
437
  return pulumi.get(self, "priority")
406
438
 
@@ -424,9 +456,9 @@ class _FirewallPolicyRuleState:
424
456
  @pulumi.getter(name="securityProfileGroup")
425
457
  def security_profile_group(self) -> Optional[pulumi.Input[str]]:
426
458
  """
427
- A fully-qualified URL of a SecurityProfileGroup resource. Example:
428
- https://networksecurity.googleapis.com/v1/organizations/{organizationId}/locations/global/securityProfileGroups/my-security-profile-group.
429
- It must be specified if action = 'apply_security_profile_group' and cannot be specified for other actions.
459
+ A fully-qualified URL of a SecurityProfile resource instance. Example:
460
+ https://networksecurity.googleapis.com/v1/projects/{project}/locations/{location}/securityProfileGroups/my-security-profile-group
461
+ Must be specified if action = 'apply_security_profile_group' and cannot be specified for other actions.
430
462
  """
431
463
  return pulumi.get(self, "security_profile_group")
432
464
 
@@ -463,7 +495,7 @@ class _FirewallPolicyRuleState:
463
495
  @pulumi.getter(name="tlsInspect")
464
496
  def tls_inspect(self) -> Optional[pulumi.Input[bool]]:
465
497
  """
466
- Boolean flag indicating if the traffic should be TLS decrypted. It can be set only if action =
498
+ Boolean flag indicating if the traffic should be TLS decrypted. Can be set only if action =
467
499
  'apply_security_profile_group' and cannot be set for other actions.
468
500
  """
469
501
  return pulumi.get(self, "tls_inspect")
@@ -492,17 +524,16 @@ class FirewallPolicyRule(pulumi.CustomResource):
492
524
  tls_inspect: Optional[pulumi.Input[bool]] = None,
493
525
  __props__=None):
494
526
  """
495
- The Compute FirewallPolicyRule resource
496
-
497
527
  ## Example Usage
498
528
 
499
- ### Basic_fir_sec_rule
529
+ ### Firewall Policy Rule
530
+
500
531
  ```python
501
532
  import pulumi
502
533
  import pulumi_gcp as gcp
503
534
 
504
535
  basic_global_networksecurity_address_group = gcp.networksecurity.AddressGroup("basic_global_networksecurity_address_group",
505
- name="policy",
536
+ name="address",
506
537
  parent="organizations/123456789",
507
538
  description="Sample global networksecurity_address_group",
508
539
  location="global",
@@ -510,14 +541,14 @@ class FirewallPolicyRule(pulumi.CustomResource):
510
541
  type="IPV4",
511
542
  capacity=100)
512
543
  folder = gcp.organizations.Folder("folder",
513
- display_name="policy",
544
+ display_name="folder",
514
545
  parent="organizations/123456789",
515
546
  deletion_protection=False)
516
547
  default = gcp.compute.FirewallPolicy("default",
517
548
  parent=folder.id,
518
549
  short_name="policy",
519
550
  description="Resource created for Terraform acceptance testing")
520
- primary = gcp.compute.FirewallPolicyRule("primary",
551
+ policy_rule = gcp.compute.FirewallPolicyRule("policy_rule",
521
552
  firewall_policy=default.name,
522
553
  description="Resource created for Terraform acceptance testing",
523
554
  priority=9000,
@@ -568,7 +599,8 @@ class FirewallPolicyRule(pulumi.CustomResource):
568
599
  :param pulumi.ResourceOptions opts: Options for the resource.
569
600
  :param pulumi.Input[str] action: The Action to perform when the client connection triggers the rule. Valid actions are "allow", "deny", "goto_next" and "apply_security_profile_group".
570
601
  :param pulumi.Input[str] description: An optional description for this resource.
571
- :param pulumi.Input[str] direction: The direction in which this rule applies. Possible values: INGRESS, EGRESS
602
+ :param pulumi.Input[str] direction: The direction in which this rule applies.
603
+ Possible values are: `INGRESS`, `EGRESS`.
572
604
  :param pulumi.Input[bool] disabled: Denotes whether the firewall policy rule is disabled. When set to true, the firewall policy rule is not enforced and
573
605
  traffic behaves as if it did not exist. If this is unspecified, the firewall policy rule will be enabled.
574
606
  :param pulumi.Input[bool] enable_logging: Denotes whether to enable logging for a particular rule. If logging is enabled, logs will be exported to the configured
@@ -576,14 +608,17 @@ class FirewallPolicyRule(pulumi.CustomResource):
576
608
  "goto_next" rules.
577
609
  :param pulumi.Input[str] firewall_policy: The firewall policy of the resource.
578
610
  :param pulumi.Input[Union['FirewallPolicyRuleMatchArgs', 'FirewallPolicyRuleMatchArgsDict']] match: A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced.
579
- :param pulumi.Input[int] priority: An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest prority.
580
- :param pulumi.Input[str] security_profile_group: A fully-qualified URL of a SecurityProfileGroup resource. Example:
581
- https://networksecurity.googleapis.com/v1/organizations/{organizationId}/locations/global/securityProfileGroups/my-security-profile-group.
582
- It must be specified if action = 'apply_security_profile_group' and cannot be specified for other actions.
611
+ Structure is documented below.
612
+ :param pulumi.Input[int] priority: An integer indicating the priority of a rule in the list.
613
+ The priority must be a positive value between 0 and 2147483647.
614
+ Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest prority.
615
+ :param pulumi.Input[str] security_profile_group: A fully-qualified URL of a SecurityProfile resource instance. Example:
616
+ https://networksecurity.googleapis.com/v1/projects/{project}/locations/{location}/securityProfileGroups/my-security-profile-group
617
+ Must be specified if action = 'apply_security_profile_group' and cannot be specified for other actions.
583
618
  :param pulumi.Input[Sequence[pulumi.Input[str]]] target_resources: A list of network resource URLs to which this rule applies. This field allows you to control which network's VMs get
584
619
  this rule. If this field is left blank, all VMs within the organization will receive the rule.
585
620
  :param pulumi.Input[Sequence[pulumi.Input[str]]] target_service_accounts: A list of service accounts indicating the sets of instances that are applied with this rule.
586
- :param pulumi.Input[bool] tls_inspect: Boolean flag indicating if the traffic should be TLS decrypted. It can be set only if action =
621
+ :param pulumi.Input[bool] tls_inspect: Boolean flag indicating if the traffic should be TLS decrypted. Can be set only if action =
587
622
  'apply_security_profile_group' and cannot be set for other actions.
588
623
  """
589
624
  ...
@@ -593,17 +628,16 @@ class FirewallPolicyRule(pulumi.CustomResource):
593
628
  args: FirewallPolicyRuleArgs,
594
629
  opts: Optional[pulumi.ResourceOptions] = None):
595
630
  """
596
- The Compute FirewallPolicyRule resource
597
-
598
631
  ## Example Usage
599
632
 
600
- ### Basic_fir_sec_rule
633
+ ### Firewall Policy Rule
634
+
601
635
  ```python
602
636
  import pulumi
603
637
  import pulumi_gcp as gcp
604
638
 
605
639
  basic_global_networksecurity_address_group = gcp.networksecurity.AddressGroup("basic_global_networksecurity_address_group",
606
- name="policy",
640
+ name="address",
607
641
  parent="organizations/123456789",
608
642
  description="Sample global networksecurity_address_group",
609
643
  location="global",
@@ -611,14 +645,14 @@ class FirewallPolicyRule(pulumi.CustomResource):
611
645
  type="IPV4",
612
646
  capacity=100)
613
647
  folder = gcp.organizations.Folder("folder",
614
- display_name="policy",
648
+ display_name="folder",
615
649
  parent="organizations/123456789",
616
650
  deletion_protection=False)
617
651
  default = gcp.compute.FirewallPolicy("default",
618
652
  parent=folder.id,
619
653
  short_name="policy",
620
654
  description="Resource created for Terraform acceptance testing")
621
- primary = gcp.compute.FirewallPolicyRule("primary",
655
+ policy_rule = gcp.compute.FirewallPolicyRule("policy_rule",
622
656
  firewall_policy=default.name,
623
657
  description="Resource created for Terraform acceptance testing",
624
658
  priority=9000,
@@ -723,6 +757,7 @@ class FirewallPolicyRule(pulumi.CustomResource):
723
757
  __props__.__dict__["target_resources"] = target_resources
724
758
  __props__.__dict__["target_service_accounts"] = target_service_accounts
725
759
  __props__.__dict__["tls_inspect"] = tls_inspect
760
+ __props__.__dict__["creation_timestamp"] = None
726
761
  __props__.__dict__["kind"] = None
727
762
  __props__.__dict__["rule_tuple_count"] = None
728
763
  super(FirewallPolicyRule, __self__).__init__(
@@ -736,6 +771,7 @@ class FirewallPolicyRule(pulumi.CustomResource):
736
771
  id: pulumi.Input[str],
737
772
  opts: Optional[pulumi.ResourceOptions] = None,
738
773
  action: Optional[pulumi.Input[str]] = None,
774
+ creation_timestamp: Optional[pulumi.Input[str]] = None,
739
775
  description: Optional[pulumi.Input[str]] = None,
740
776
  direction: Optional[pulumi.Input[str]] = None,
741
777
  disabled: Optional[pulumi.Input[bool]] = None,
@@ -757,8 +793,10 @@ class FirewallPolicyRule(pulumi.CustomResource):
757
793
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
758
794
  :param pulumi.ResourceOptions opts: Options for the resource.
759
795
  :param pulumi.Input[str] action: The Action to perform when the client connection triggers the rule. Valid actions are "allow", "deny", "goto_next" and "apply_security_profile_group".
796
+ :param pulumi.Input[str] creation_timestamp: Creation timestamp in RFC3339 text format.
760
797
  :param pulumi.Input[str] description: An optional description for this resource.
761
- :param pulumi.Input[str] direction: The direction in which this rule applies. Possible values: INGRESS, EGRESS
798
+ :param pulumi.Input[str] direction: The direction in which this rule applies.
799
+ Possible values are: `INGRESS`, `EGRESS`.
762
800
  :param pulumi.Input[bool] disabled: Denotes whether the firewall policy rule is disabled. When set to true, the firewall policy rule is not enforced and
763
801
  traffic behaves as if it did not exist. If this is unspecified, the firewall policy rule will be enabled.
764
802
  :param pulumi.Input[bool] enable_logging: Denotes whether to enable logging for a particular rule. If logging is enabled, logs will be exported to the configured
@@ -767,15 +805,18 @@ class FirewallPolicyRule(pulumi.CustomResource):
767
805
  :param pulumi.Input[str] firewall_policy: The firewall policy of the resource.
768
806
  :param pulumi.Input[str] kind: Type of the resource. Always `compute#firewallPolicyRule` for firewall policy rules
769
807
  :param pulumi.Input[Union['FirewallPolicyRuleMatchArgs', 'FirewallPolicyRuleMatchArgsDict']] match: A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced.
770
- :param pulumi.Input[int] priority: An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest prority.
808
+ Structure is documented below.
809
+ :param pulumi.Input[int] priority: An integer indicating the priority of a rule in the list.
810
+ The priority must be a positive value between 0 and 2147483647.
811
+ Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest prority.
771
812
  :param pulumi.Input[int] rule_tuple_count: Calculation of the complexity of a single firewall policy rule.
772
- :param pulumi.Input[str] security_profile_group: A fully-qualified URL of a SecurityProfileGroup resource. Example:
773
- https://networksecurity.googleapis.com/v1/organizations/{organizationId}/locations/global/securityProfileGroups/my-security-profile-group.
774
- It must be specified if action = 'apply_security_profile_group' and cannot be specified for other actions.
813
+ :param pulumi.Input[str] security_profile_group: A fully-qualified URL of a SecurityProfile resource instance. Example:
814
+ https://networksecurity.googleapis.com/v1/projects/{project}/locations/{location}/securityProfileGroups/my-security-profile-group
815
+ Must be specified if action = 'apply_security_profile_group' and cannot be specified for other actions.
775
816
  :param pulumi.Input[Sequence[pulumi.Input[str]]] target_resources: A list of network resource URLs to which this rule applies. This field allows you to control which network's VMs get
776
817
  this rule. If this field is left blank, all VMs within the organization will receive the rule.
777
818
  :param pulumi.Input[Sequence[pulumi.Input[str]]] target_service_accounts: A list of service accounts indicating the sets of instances that are applied with this rule.
778
- :param pulumi.Input[bool] tls_inspect: Boolean flag indicating if the traffic should be TLS decrypted. It can be set only if action =
819
+ :param pulumi.Input[bool] tls_inspect: Boolean flag indicating if the traffic should be TLS decrypted. Can be set only if action =
779
820
  'apply_security_profile_group' and cannot be set for other actions.
780
821
  """
781
822
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -783,6 +824,7 @@ class FirewallPolicyRule(pulumi.CustomResource):
783
824
  __props__ = _FirewallPolicyRuleState.__new__(_FirewallPolicyRuleState)
784
825
 
785
826
  __props__.__dict__["action"] = action
827
+ __props__.__dict__["creation_timestamp"] = creation_timestamp
786
828
  __props__.__dict__["description"] = description
787
829
  __props__.__dict__["direction"] = direction
788
830
  __props__.__dict__["disabled"] = disabled
@@ -806,6 +848,14 @@ class FirewallPolicyRule(pulumi.CustomResource):
806
848
  """
807
849
  return pulumi.get(self, "action")
808
850
 
851
+ @property
852
+ @pulumi.getter(name="creationTimestamp")
853
+ def creation_timestamp(self) -> pulumi.Output[str]:
854
+ """
855
+ Creation timestamp in RFC3339 text format.
856
+ """
857
+ return pulumi.get(self, "creation_timestamp")
858
+
809
859
  @property
810
860
  @pulumi.getter
811
861
  def description(self) -> pulumi.Output[Optional[str]]:
@@ -818,7 +868,8 @@ class FirewallPolicyRule(pulumi.CustomResource):
818
868
  @pulumi.getter
819
869
  def direction(self) -> pulumi.Output[str]:
820
870
  """
821
- The direction in which this rule applies. Possible values: INGRESS, EGRESS
871
+ The direction in which this rule applies.
872
+ Possible values are: `INGRESS`, `EGRESS`.
822
873
  """
823
874
  return pulumi.get(self, "direction")
824
875
 
@@ -862,6 +913,7 @@ class FirewallPolicyRule(pulumi.CustomResource):
862
913
  def match(self) -> pulumi.Output['outputs.FirewallPolicyRuleMatch']:
863
914
  """
864
915
  A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced.
916
+ Structure is documented below.
865
917
  """
866
918
  return pulumi.get(self, "match")
867
919
 
@@ -869,7 +921,9 @@ class FirewallPolicyRule(pulumi.CustomResource):
869
921
  @pulumi.getter
870
922
  def priority(self) -> pulumi.Output[int]:
871
923
  """
872
- An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest prority.
924
+ An integer indicating the priority of a rule in the list.
925
+ The priority must be a positive value between 0 and 2147483647.
926
+ Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest prority.
873
927
  """
874
928
  return pulumi.get(self, "priority")
875
929
 
@@ -885,9 +939,9 @@ class FirewallPolicyRule(pulumi.CustomResource):
885
939
  @pulumi.getter(name="securityProfileGroup")
886
940
  def security_profile_group(self) -> pulumi.Output[Optional[str]]:
887
941
  """
888
- A fully-qualified URL of a SecurityProfileGroup resource. Example:
889
- https://networksecurity.googleapis.com/v1/organizations/{organizationId}/locations/global/securityProfileGroups/my-security-profile-group.
890
- It must be specified if action = 'apply_security_profile_group' and cannot be specified for other actions.
942
+ A fully-qualified URL of a SecurityProfile resource instance. Example:
943
+ https://networksecurity.googleapis.com/v1/projects/{project}/locations/{location}/securityProfileGroups/my-security-profile-group
944
+ Must be specified if action = 'apply_security_profile_group' and cannot be specified for other actions.
891
945
  """
892
946
  return pulumi.get(self, "security_profile_group")
893
947
 
@@ -912,7 +966,7 @@ class FirewallPolicyRule(pulumi.CustomResource):
912
966
  @pulumi.getter(name="tlsInspect")
913
967
  def tls_inspect(self) -> pulumi.Output[Optional[bool]]:
914
968
  """
915
- Boolean flag indicating if the traffic should be TLS decrypted. It can be set only if action =
969
+ Boolean flag indicating if the traffic should be TLS decrypted. Can be set only if action =
916
970
  'apply_security_profile_group' and cannot be set for other actions.
917
971
  """
918
972
  return pulumi.get(self, "tls_inspect")
@@ -27,7 +27,7 @@ class GetRegionInstanceGroupManagerResult:
27
27
  """
28
28
  A collection of values returned by getRegionInstanceGroupManager.
29
29
  """
30
- def __init__(__self__, all_instances_configs=None, auto_healing_policies=None, base_instance_name=None, creation_timestamp=None, description=None, distribution_policy_target_shape=None, distribution_policy_zones=None, fingerprint=None, id=None, instance_group=None, instance_lifecycle_policies=None, list_managed_instances_results=None, name=None, named_ports=None, params=None, project=None, region=None, self_link=None, standby_policies=None, stateful_disks=None, stateful_external_ips=None, stateful_internal_ips=None, statuses=None, target_pools=None, target_size=None, target_stopped_size=None, target_suspended_size=None, update_policies=None, versions=None, wait_for_instances=None, wait_for_instances_status=None):
30
+ def __init__(__self__, all_instances_configs=None, auto_healing_policies=None, base_instance_name=None, creation_timestamp=None, description=None, distribution_policy_target_shape=None, distribution_policy_zones=None, fingerprint=None, id=None, instance_flexibility_policies=None, instance_group=None, instance_lifecycle_policies=None, list_managed_instances_results=None, name=None, named_ports=None, params=None, project=None, region=None, self_link=None, standby_policies=None, stateful_disks=None, stateful_external_ips=None, stateful_internal_ips=None, statuses=None, target_pools=None, target_size=None, target_stopped_size=None, target_suspended_size=None, update_policies=None, versions=None, wait_for_instances=None, wait_for_instances_status=None):
31
31
  if all_instances_configs and not isinstance(all_instances_configs, list):
32
32
  raise TypeError("Expected argument 'all_instances_configs' to be a list")
33
33
  pulumi.set(__self__, "all_instances_configs", all_instances_configs)
@@ -55,6 +55,9 @@ class GetRegionInstanceGroupManagerResult:
55
55
  if id and not isinstance(id, str):
56
56
  raise TypeError("Expected argument 'id' to be a str")
57
57
  pulumi.set(__self__, "id", id)
58
+ if instance_flexibility_policies and not isinstance(instance_flexibility_policies, list):
59
+ raise TypeError("Expected argument 'instance_flexibility_policies' to be a list")
60
+ pulumi.set(__self__, "instance_flexibility_policies", instance_flexibility_policies)
58
61
  if instance_group and not isinstance(instance_group, str):
59
62
  raise TypeError("Expected argument 'instance_group' to be a str")
60
63
  pulumi.set(__self__, "instance_group", instance_group)
@@ -170,6 +173,11 @@ class GetRegionInstanceGroupManagerResult:
170
173
  """
171
174
  return pulumi.get(self, "id")
172
175
 
176
+ @property
177
+ @pulumi.getter(name="instanceFlexibilityPolicies")
178
+ def instance_flexibility_policies(self) -> Sequence['outputs.GetRegionInstanceGroupManagerInstanceFlexibilityPolicyResult']:
179
+ return pulumi.get(self, "instance_flexibility_policies")
180
+
173
181
  @property
174
182
  @pulumi.getter(name="instanceGroup")
175
183
  def instance_group(self) -> str:
@@ -296,6 +304,7 @@ class AwaitableGetRegionInstanceGroupManagerResult(GetRegionInstanceGroupManager
296
304
  distribution_policy_zones=self.distribution_policy_zones,
297
305
  fingerprint=self.fingerprint,
298
306
  id=self.id,
307
+ instance_flexibility_policies=self.instance_flexibility_policies,
299
308
  instance_group=self.instance_group,
300
309
  instance_lifecycle_policies=self.instance_lifecycle_policies,
301
310
  list_managed_instances_results=self.list_managed_instances_results,
@@ -365,6 +374,7 @@ def get_region_instance_group_manager(name: Optional[str] = None,
365
374
  distribution_policy_zones=pulumi.get(__ret__, 'distribution_policy_zones'),
366
375
  fingerprint=pulumi.get(__ret__, 'fingerprint'),
367
376
  id=pulumi.get(__ret__, 'id'),
377
+ instance_flexibility_policies=pulumi.get(__ret__, 'instance_flexibility_policies'),
368
378
  instance_group=pulumi.get(__ret__, 'instance_group'),
369
379
  instance_lifecycle_policies=pulumi.get(__ret__, 'instance_lifecycle_policies'),
370
380
  list_managed_instances_results=pulumi.get(__ret__, 'list_managed_instances_results'),
@@ -431,6 +441,7 @@ def get_region_instance_group_manager_output(name: Optional[pulumi.Input[Optiona
431
441
  distribution_policy_zones=pulumi.get(__response__, 'distribution_policy_zones'),
432
442
  fingerprint=pulumi.get(__response__, 'fingerprint'),
433
443
  id=pulumi.get(__response__, 'id'),
444
+ instance_flexibility_policies=pulumi.get(__response__, 'instance_flexibility_policies'),
434
445
  instance_group=pulumi.get(__response__, 'instance_group'),
435
446
  instance_lifecycle_policies=pulumi.get(__response__, 'instance_lifecycle_policies'),
436
447
  list_managed_instances_results=pulumi.get(__response__, 'list_managed_instances_results'),