pulumi-gcp 8.17.0a1738274430__py3-none-any.whl → 8.18.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.
Files changed (137) hide show
  1. pulumi_gcp/__init__.py +115 -0
  2. pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_resource.py +28 -0
  3. pulumi_gcp/alloydb/cluster.py +75 -7
  4. pulumi_gcp/alloydb/user.py +10 -1
  5. pulumi_gcp/apigee/_inputs.py +91 -0
  6. pulumi_gcp/apigee/endpoint_attachment.py +0 -64
  7. pulumi_gcp/apigee/environment.py +54 -0
  8. pulumi_gcp/apigee/outputs.py +54 -0
  9. pulumi_gcp/apihub/__init__.py +10 -0
  10. pulumi_gcp/apihub/_inputs.py +154 -0
  11. pulumi_gcp/apihub/api_hub_instance.py +784 -0
  12. pulumi_gcp/apihub/outputs.py +124 -0
  13. pulumi_gcp/assuredworkloads/workload.py +7 -7
  14. pulumi_gcp/beyondcorp/__init__.py +4 -0
  15. pulumi_gcp/beyondcorp/_inputs.py +130 -0
  16. pulumi_gcp/beyondcorp/get_security_gateway_iam_policy.py +180 -0
  17. pulumi_gcp/beyondcorp/outputs.py +76 -0
  18. pulumi_gcp/beyondcorp/security_gateway.py +52 -25
  19. pulumi_gcp/beyondcorp/security_gateway_iam_binding.py +1075 -0
  20. pulumi_gcp/beyondcorp/security_gateway_iam_member.py +1075 -0
  21. pulumi_gcp/beyondcorp/security_gateway_iam_policy.py +894 -0
  22. pulumi_gcp/bigquery/_inputs.py +33 -0
  23. pulumi_gcp/bigquery/dataset.py +7 -7
  24. pulumi_gcp/bigquery/outputs.py +36 -0
  25. pulumi_gcp/bigquery/table.py +61 -7
  26. pulumi_gcp/chronicle/__init__.py +1 -0
  27. pulumi_gcp/chronicle/_inputs.py +124 -0
  28. pulumi_gcp/chronicle/outputs.py +112 -0
  29. pulumi_gcp/chronicle/retrohunt.py +629 -0
  30. pulumi_gcp/cloudquota/s_quota_adjuster_settings.py +23 -23
  31. pulumi_gcp/cloudrunv2/_inputs.py +197 -0
  32. pulumi_gcp/cloudrunv2/get_service.py +12 -1
  33. pulumi_gcp/cloudrunv2/outputs.py +256 -0
  34. pulumi_gcp/cloudrunv2/service.py +159 -0
  35. pulumi_gcp/colab/__init__.py +5 -0
  36. pulumi_gcp/colab/_inputs.py +131 -0
  37. pulumi_gcp/colab/get_runtime_template_iam_policy.py +182 -0
  38. pulumi_gcp/colab/outputs.py +92 -0
  39. pulumi_gcp/colab/runtime.py +696 -0
  40. pulumi_gcp/colab/runtime_template_iam_binding.py +828 -0
  41. pulumi_gcp/colab/runtime_template_iam_member.py +828 -0
  42. pulumi_gcp/colab/runtime_template_iam_policy.py +667 -0
  43. pulumi_gcp/compute/__init__.py +4 -0
  44. pulumi_gcp/compute/_inputs.py +535 -9
  45. pulumi_gcp/compute/firewall_policy_rule.py +104 -22
  46. pulumi_gcp/compute/firewall_policy_with_rules.py +114 -42
  47. pulumi_gcp/compute/get_instance_template_iam_policy.py +159 -0
  48. pulumi_gcp/compute/get_network.py +3 -3
  49. pulumi_gcp/compute/instance_template_iam_binding.py +998 -0
  50. pulumi_gcp/compute/instance_template_iam_member.py +998 -0
  51. pulumi_gcp/compute/instance_template_iam_policy.py +817 -0
  52. pulumi_gcp/compute/interconnect_attachment.py +189 -2
  53. pulumi_gcp/compute/network.py +7 -7
  54. pulumi_gcp/compute/network_firewall_policy_rule.py +122 -10
  55. pulumi_gcp/compute/network_firewall_policy_with_rules.py +116 -44
  56. pulumi_gcp/compute/outputs.py +358 -6
  57. pulumi_gcp/compute/project_metadata_item.py +12 -0
  58. pulumi_gcp/compute/public_advertised_prefix.py +87 -0
  59. pulumi_gcp/compute/region_network_firewall_policy_rule.py +130 -10
  60. pulumi_gcp/compute/region_network_firewall_policy_with_rules.py +104 -32
  61. pulumi_gcp/compute/router_peer.py +227 -3
  62. pulumi_gcp/config/__init__.pyi +2 -0
  63. pulumi_gcp/config/vars.py +4 -0
  64. pulumi_gcp/container/_inputs.py +79 -20
  65. pulumi_gcp/container/outputs.py +75 -12
  66. pulumi_gcp/dataproc/_inputs.py +34 -0
  67. pulumi_gcp/dataproc/outputs.py +37 -0
  68. pulumi_gcp/dataproc/workflow_template.py +47 -0
  69. pulumi_gcp/filestore/get_instance.py +12 -1
  70. pulumi_gcp/filestore/instance.py +75 -0
  71. pulumi_gcp/firestore/field.py +60 -0
  72. pulumi_gcp/gemini/code_repository_index.py +29 -33
  73. pulumi_gcp/gemini/get_repository_group_iam_policy.py +28 -2
  74. pulumi_gcp/gemini/repository_group.py +76 -26
  75. pulumi_gcp/gemini/repository_group_iam_binding.py +258 -0
  76. pulumi_gcp/gemini/repository_group_iam_member.py +258 -0
  77. pulumi_gcp/gemini/repository_group_iam_policy.py +258 -0
  78. pulumi_gcp/gkehub/_inputs.py +20 -0
  79. pulumi_gcp/gkehub/membership_binding.py +6 -6
  80. pulumi_gcp/gkehub/membership_rbac_role_binding.py +4 -4
  81. pulumi_gcp/gkehub/namespace.py +4 -4
  82. pulumi_gcp/gkehub/outputs.py +26 -1
  83. pulumi_gcp/gkehub/scope_rbac_role_binding.py +4 -4
  84. pulumi_gcp/iap/tunnel_dest_group.py +2 -2
  85. pulumi_gcp/integrationconnectors/managed_zone.py +8 -8
  86. pulumi_gcp/kms/__init__.py +1 -0
  87. pulumi_gcp/kms/get_key_handles.py +172 -0
  88. pulumi_gcp/kms/outputs.py +45 -0
  89. pulumi_gcp/netapp/storage_pool.py +1 -1
  90. pulumi_gcp/networkconnectivity/spoke.py +76 -14
  91. pulumi_gcp/networksecurity/_inputs.py +72 -0
  92. pulumi_gcp/networksecurity/outputs.py +76 -0
  93. pulumi_gcp/networksecurity/security_profile.py +233 -7
  94. pulumi_gcp/networksecurity/security_profile_group.py +218 -0
  95. pulumi_gcp/organizations/__init__.py +1 -0
  96. pulumi_gcp/organizations/get_s.py +128 -0
  97. pulumi_gcp/organizations/outputs.py +63 -0
  98. pulumi_gcp/orgpolicy/policy.py +2 -2
  99. pulumi_gcp/parametermanager/__init__.py +6 -0
  100. pulumi_gcp/parametermanager/get_parameter.py +211 -0
  101. pulumi_gcp/parametermanager/get_parameter_version.py +216 -0
  102. pulumi_gcp/parametermanager/get_parameters.py +140 -0
  103. pulumi_gcp/parametermanager/get_regional_parameter_version.py +235 -0
  104. pulumi_gcp/parametermanager/get_regional_parameters.py +157 -0
  105. pulumi_gcp/parametermanager/outputs.py +366 -0
  106. pulumi_gcp/parametermanager/parameter_version.py +496 -0
  107. pulumi_gcp/parametermanager/regional_parameter_version.py +10 -38
  108. pulumi_gcp/provider.py +20 -0
  109. pulumi_gcp/pubsub/_inputs.py +477 -1
  110. pulumi_gcp/pubsub/outputs.py +631 -2
  111. pulumi_gcp/pubsub/subscription.py +6 -6
  112. pulumi_gcp/pubsub/topic.py +112 -0
  113. pulumi_gcp/pulumi-plugin.json +1 -1
  114. pulumi_gcp/redis/__init__.py +1 -0
  115. pulumi_gcp/redis/_inputs.py +342 -6
  116. pulumi_gcp/redis/cluster.py +223 -102
  117. pulumi_gcp/redis/cluster_user_created_connections.py +845 -0
  118. pulumi_gcp/redis/outputs.py +268 -4
  119. pulumi_gcp/resourcemanager/lien.py +12 -0
  120. pulumi_gcp/secretmanager/regional_secret.py +4 -0
  121. pulumi_gcp/secretmanager/regional_secret_version.py +12 -0
  122. pulumi_gcp/secretmanager/secret.py +4 -0
  123. pulumi_gcp/secretmanager/secret_version.py +12 -0
  124. pulumi_gcp/securityposture/posture.py +4 -0
  125. pulumi_gcp/securityposture/posture_deployment.py +4 -0
  126. pulumi_gcp/serviceaccount/get_s.py +98 -8
  127. pulumi_gcp/spanner/_inputs.py +68 -0
  128. pulumi_gcp/spanner/backup_schedule.py +70 -4
  129. pulumi_gcp/spanner/outputs.py +60 -0
  130. pulumi_gcp/storage/get_bucket_object_content.py +4 -4
  131. pulumi_gcp/vertex/ai_endpoint.py +4 -4
  132. pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
  133. pulumi_gcp/workflows/workflow.py +175 -0
  134. {pulumi_gcp-8.17.0a1738274430.dist-info → pulumi_gcp-8.18.0.dist-info}/METADATA +1 -1
  135. {pulumi_gcp-8.17.0a1738274430.dist-info → pulumi_gcp-8.18.0.dist-info}/RECORD +137 -110
  136. {pulumi_gcp-8.17.0a1738274430.dist-info → pulumi_gcp-8.18.0.dist-info}/WHEEL +0 -0
  137. {pulumi_gcp-8.17.0a1738274430.dist-info → pulumi_gcp-8.18.0.dist-info}/top_level.txt +0 -0
@@ -6398,16 +6398,16 @@ class ClusterClusterAutoscalingAutoProvisioningDefaultsUpgradeSettingsBlueGreenS
6398
6398
 
6399
6399
  if not MYPY:
6400
6400
  class ClusterClusterAutoscalingResourceLimitArgsDict(TypedDict):
6401
+ maximum: pulumi.Input[int]
6402
+ """
6403
+ Maximum amount of the resource in the cluster.
6404
+ """
6401
6405
  resource_type: pulumi.Input[str]
6402
6406
  """
6403
6407
  The type of the resource. For example, `cpu` and
6404
6408
  `memory`. See the [guide to using Node Auto-Provisioning](https://cloud.google.com/kubernetes-engine/docs/how-to/node-auto-provisioning)
6405
6409
  for a list of types.
6406
6410
  """
6407
- maximum: NotRequired[pulumi.Input[int]]
6408
- """
6409
- Maximum amount of the resource in the cluster.
6410
- """
6411
6411
  minimum: NotRequired[pulumi.Input[int]]
6412
6412
  """
6413
6413
  Minimum amount of the resource in the cluster.
@@ -6418,22 +6418,33 @@ elif False:
6418
6418
  @pulumi.input_type
6419
6419
  class ClusterClusterAutoscalingResourceLimitArgs:
6420
6420
  def __init__(__self__, *,
6421
+ maximum: pulumi.Input[int],
6421
6422
  resource_type: pulumi.Input[str],
6422
- maximum: Optional[pulumi.Input[int]] = None,
6423
6423
  minimum: Optional[pulumi.Input[int]] = None):
6424
6424
  """
6425
+ :param pulumi.Input[int] maximum: Maximum amount of the resource in the cluster.
6425
6426
  :param pulumi.Input[str] resource_type: The type of the resource. For example, `cpu` and
6426
6427
  `memory`. See the [guide to using Node Auto-Provisioning](https://cloud.google.com/kubernetes-engine/docs/how-to/node-auto-provisioning)
6427
6428
  for a list of types.
6428
- :param pulumi.Input[int] maximum: Maximum amount of the resource in the cluster.
6429
6429
  :param pulumi.Input[int] minimum: Minimum amount of the resource in the cluster.
6430
6430
  """
6431
+ pulumi.set(__self__, "maximum", maximum)
6431
6432
  pulumi.set(__self__, "resource_type", resource_type)
6432
- if maximum is not None:
6433
- pulumi.set(__self__, "maximum", maximum)
6434
6433
  if minimum is not None:
6435
6434
  pulumi.set(__self__, "minimum", minimum)
6436
6435
 
6436
+ @property
6437
+ @pulumi.getter
6438
+ def maximum(self) -> pulumi.Input[int]:
6439
+ """
6440
+ Maximum amount of the resource in the cluster.
6441
+ """
6442
+ return pulumi.get(self, "maximum")
6443
+
6444
+ @maximum.setter
6445
+ def maximum(self, value: pulumi.Input[int]):
6446
+ pulumi.set(self, "maximum", value)
6447
+
6437
6448
  @property
6438
6449
  @pulumi.getter(name="resourceType")
6439
6450
  def resource_type(self) -> pulumi.Input[str]:
@@ -6448,18 +6459,6 @@ class ClusterClusterAutoscalingResourceLimitArgs:
6448
6459
  def resource_type(self, value: pulumi.Input[str]):
6449
6460
  pulumi.set(self, "resource_type", value)
6450
6461
 
6451
- @property
6452
- @pulumi.getter
6453
- def maximum(self) -> Optional[pulumi.Input[int]]:
6454
- """
6455
- Maximum amount of the resource in the cluster.
6456
- """
6457
- return pulumi.get(self, "maximum")
6458
-
6459
- @maximum.setter
6460
- def maximum(self, value: Optional[pulumi.Input[int]]):
6461
- pulumi.set(self, "maximum", value)
6462
-
6463
6462
  @property
6464
6463
  @pulumi.getter
6465
6464
  def minimum(self) -> Optional[pulumi.Input[int]]:
@@ -8491,6 +8490,10 @@ if not MYPY:
8491
8490
  Defaults to `e2-medium`. To create a custom machine type, value should be set as specified
8492
8491
  [here](https://cloud.google.com/compute/docs/reference/latest/instances#machineType).
8493
8492
  """
8493
+ max_run_duration: NotRequired[pulumi.Input[str]]
8494
+ """
8495
+ The runtime of each node in the node pool in seconds, terminated by 's'. Example: "3600s".
8496
+ """
8494
8497
  metadata: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]]
8495
8498
  """
8496
8499
  The metadata key/value pairs assigned to instances in
@@ -8620,6 +8623,7 @@ class ClusterNodeConfigArgs:
8620
8623
  local_ssd_encryption_mode: Optional[pulumi.Input[str]] = None,
8621
8624
  logging_variant: Optional[pulumi.Input[str]] = None,
8622
8625
  machine_type: Optional[pulumi.Input[str]] = None,
8626
+ max_run_duration: Optional[pulumi.Input[str]] = None,
8623
8627
  metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
8624
8628
  min_cpu_platform: Optional[pulumi.Input[str]] = None,
8625
8629
  node_group: Optional[pulumi.Input[str]] = None,
@@ -8697,6 +8701,7 @@ class ClusterNodeConfigArgs:
8697
8701
  :param pulumi.Input[str] machine_type: The name of a Google Compute Engine machine type.
8698
8702
  Defaults to `e2-medium`. To create a custom machine type, value should be set as specified
8699
8703
  [here](https://cloud.google.com/compute/docs/reference/latest/instances#machineType).
8704
+ :param pulumi.Input[str] max_run_duration: The runtime of each node in the node pool in seconds, terminated by 's'. Example: "3600s".
8700
8705
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] metadata: The metadata key/value pairs assigned to instances in
8701
8706
  the cluster. From GKE `1.12` onwards, `disable-legacy-endpoints` is set to
8702
8707
  `true` by the API; if `metadata` is set but that default value is not
@@ -8791,6 +8796,8 @@ class ClusterNodeConfigArgs:
8791
8796
  pulumi.set(__self__, "logging_variant", logging_variant)
8792
8797
  if machine_type is not None:
8793
8798
  pulumi.set(__self__, "machine_type", machine_type)
8799
+ if max_run_duration is not None:
8800
+ pulumi.set(__self__, "max_run_duration", max_run_duration)
8794
8801
  if metadata is not None:
8795
8802
  pulumi.set(__self__, "metadata", metadata)
8796
8803
  if min_cpu_platform is not None:
@@ -9150,6 +9157,18 @@ class ClusterNodeConfigArgs:
9150
9157
  def machine_type(self, value: Optional[pulumi.Input[str]]):
9151
9158
  pulumi.set(self, "machine_type", value)
9152
9159
 
9160
+ @property
9161
+ @pulumi.getter(name="maxRunDuration")
9162
+ def max_run_duration(self) -> Optional[pulumi.Input[str]]:
9163
+ """
9164
+ The runtime of each node in the node pool in seconds, terminated by 's'. Example: "3600s".
9165
+ """
9166
+ return pulumi.get(self, "max_run_duration")
9167
+
9168
+ @max_run_duration.setter
9169
+ def max_run_duration(self, value: Optional[pulumi.Input[str]]):
9170
+ pulumi.set(self, "max_run_duration", value)
9171
+
9153
9172
  @property
9154
9173
  @pulumi.getter
9155
9174
  def metadata(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
@@ -12481,6 +12500,10 @@ if not MYPY:
12481
12500
  Defaults to `e2-medium`. To create a custom machine type, value should be set as specified
12482
12501
  [here](https://cloud.google.com/compute/docs/reference/latest/instances#machineType).
12483
12502
  """
12503
+ max_run_duration: NotRequired[pulumi.Input[str]]
12504
+ """
12505
+ The runtime of each node in the node pool in seconds, terminated by 's'. Example: "3600s".
12506
+ """
12484
12507
  metadata: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]]
12485
12508
  """
12486
12509
  The metadata key/value pairs assigned to instances in
@@ -12610,6 +12633,7 @@ class ClusterNodePoolNodeConfigArgs:
12610
12633
  local_ssd_encryption_mode: Optional[pulumi.Input[str]] = None,
12611
12634
  logging_variant: Optional[pulumi.Input[str]] = None,
12612
12635
  machine_type: Optional[pulumi.Input[str]] = None,
12636
+ max_run_duration: Optional[pulumi.Input[str]] = None,
12613
12637
  metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
12614
12638
  min_cpu_platform: Optional[pulumi.Input[str]] = None,
12615
12639
  node_group: Optional[pulumi.Input[str]] = None,
@@ -12687,6 +12711,7 @@ class ClusterNodePoolNodeConfigArgs:
12687
12711
  :param pulumi.Input[str] machine_type: The name of a Google Compute Engine machine type.
12688
12712
  Defaults to `e2-medium`. To create a custom machine type, value should be set as specified
12689
12713
  [here](https://cloud.google.com/compute/docs/reference/latest/instances#machineType).
12714
+ :param pulumi.Input[str] max_run_duration: The runtime of each node in the node pool in seconds, terminated by 's'. Example: "3600s".
12690
12715
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] metadata: The metadata key/value pairs assigned to instances in
12691
12716
  the cluster. From GKE `1.12` onwards, `disable-legacy-endpoints` is set to
12692
12717
  `true` by the API; if `metadata` is set but that default value is not
@@ -12781,6 +12806,8 @@ class ClusterNodePoolNodeConfigArgs:
12781
12806
  pulumi.set(__self__, "logging_variant", logging_variant)
12782
12807
  if machine_type is not None:
12783
12808
  pulumi.set(__self__, "machine_type", machine_type)
12809
+ if max_run_duration is not None:
12810
+ pulumi.set(__self__, "max_run_duration", max_run_duration)
12784
12811
  if metadata is not None:
12785
12812
  pulumi.set(__self__, "metadata", metadata)
12786
12813
  if min_cpu_platform is not None:
@@ -13140,6 +13167,18 @@ class ClusterNodePoolNodeConfigArgs:
13140
13167
  def machine_type(self, value: Optional[pulumi.Input[str]]):
13141
13168
  pulumi.set(self, "machine_type", value)
13142
13169
 
13170
+ @property
13171
+ @pulumi.getter(name="maxRunDuration")
13172
+ def max_run_duration(self) -> Optional[pulumi.Input[str]]:
13173
+ """
13174
+ The runtime of each node in the node pool in seconds, terminated by 's'. Example: "3600s".
13175
+ """
13176
+ return pulumi.get(self, "max_run_duration")
13177
+
13178
+ @max_run_duration.setter
13179
+ def max_run_duration(self, value: Optional[pulumi.Input[str]]):
13180
+ pulumi.set(self, "max_run_duration", value)
13181
+
13143
13182
  @property
13144
13183
  @pulumi.getter
13145
13184
  def metadata(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
@@ -16986,6 +17025,10 @@ if not MYPY:
16986
17025
  """
16987
17026
  The name of a Google Compute Engine machine type.
16988
17027
  """
17028
+ max_run_duration: NotRequired[pulumi.Input[str]]
17029
+ """
17030
+ The runtime of each node in the node pool in seconds, terminated by 's'. Example: "3600s".
17031
+ """
16989
17032
  metadata: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]]
16990
17033
  """
16991
17034
  The metadata key/value pairs assigned to instances in the cluster.
@@ -17091,6 +17134,7 @@ class NodePoolNodeConfigArgs:
17091
17134
  local_ssd_encryption_mode: Optional[pulumi.Input[str]] = None,
17092
17135
  logging_variant: Optional[pulumi.Input[str]] = None,
17093
17136
  machine_type: Optional[pulumi.Input[str]] = None,
17137
+ max_run_duration: Optional[pulumi.Input[str]] = None,
17094
17138
  metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
17095
17139
  min_cpu_platform: Optional[pulumi.Input[str]] = None,
17096
17140
  node_group: Optional[pulumi.Input[str]] = None,
@@ -17134,6 +17178,7 @@ class NodePoolNodeConfigArgs:
17134
17178
  :param pulumi.Input[str] local_ssd_encryption_mode: LocalSsdEncryptionMode specified the method used for encrypting the local SSDs attached to the node.
17135
17179
  :param pulumi.Input[str] logging_variant: Type of logging agent that is used as the default value for node pools in the cluster. Valid values include DEFAULT and MAX_THROUGHPUT.
17136
17180
  :param pulumi.Input[str] machine_type: The name of a Google Compute Engine machine type.
17181
+ :param pulumi.Input[str] max_run_duration: The runtime of each node in the node pool in seconds, terminated by 's'. Example: "3600s".
17137
17182
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] metadata: The metadata key/value pairs assigned to instances in the cluster.
17138
17183
  :param pulumi.Input[str] min_cpu_platform: Minimum CPU platform to be used by this instance. The instance may be scheduled on the specified or newer CPU platform.
17139
17184
  :param pulumi.Input[str] node_group: Setting this field will assign instances of this pool to run on the specified node group. This is useful for running workloads on sole tenant nodes.
@@ -17204,6 +17249,8 @@ class NodePoolNodeConfigArgs:
17204
17249
  pulumi.set(__self__, "logging_variant", logging_variant)
17205
17250
  if machine_type is not None:
17206
17251
  pulumi.set(__self__, "machine_type", machine_type)
17252
+ if max_run_duration is not None:
17253
+ pulumi.set(__self__, "max_run_duration", max_run_duration)
17207
17254
  if metadata is not None:
17208
17255
  pulumi.set(__self__, "metadata", metadata)
17209
17256
  if min_cpu_platform is not None:
@@ -17529,6 +17576,18 @@ class NodePoolNodeConfigArgs:
17529
17576
  def machine_type(self, value: Optional[pulumi.Input[str]]):
17530
17577
  pulumi.set(self, "machine_type", value)
17531
17578
 
17579
+ @property
17580
+ @pulumi.getter(name="maxRunDuration")
17581
+ def max_run_duration(self) -> Optional[pulumi.Input[str]]:
17582
+ """
17583
+ The runtime of each node in the node pool in seconds, terminated by 's'. Example: "3600s".
17584
+ """
17585
+ return pulumi.get(self, "max_run_duration")
17586
+
17587
+ @max_run_duration.setter
17588
+ def max_run_duration(self, value: Optional[pulumi.Input[str]]):
17589
+ pulumi.set(self, "max_run_duration", value)
17590
+
17532
17591
  @property
17533
17592
  @pulumi.getter
17534
17593
  def metadata(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
@@ -5287,22 +5287,29 @@ class ClusterClusterAutoscalingResourceLimit(dict):
5287
5287
  return super().get(key, default)
5288
5288
 
5289
5289
  def __init__(__self__, *,
5290
+ maximum: int,
5290
5291
  resource_type: str,
5291
- maximum: Optional[int] = None,
5292
5292
  minimum: Optional[int] = None):
5293
5293
  """
5294
+ :param int maximum: Maximum amount of the resource in the cluster.
5294
5295
  :param str resource_type: The type of the resource. For example, `cpu` and
5295
5296
  `memory`. See the [guide to using Node Auto-Provisioning](https://cloud.google.com/kubernetes-engine/docs/how-to/node-auto-provisioning)
5296
5297
  for a list of types.
5297
- :param int maximum: Maximum amount of the resource in the cluster.
5298
5298
  :param int minimum: Minimum amount of the resource in the cluster.
5299
5299
  """
5300
+ pulumi.set(__self__, "maximum", maximum)
5300
5301
  pulumi.set(__self__, "resource_type", resource_type)
5301
- if maximum is not None:
5302
- pulumi.set(__self__, "maximum", maximum)
5303
5302
  if minimum is not None:
5304
5303
  pulumi.set(__self__, "minimum", minimum)
5305
5304
 
5305
+ @property
5306
+ @pulumi.getter
5307
+ def maximum(self) -> int:
5308
+ """
5309
+ Maximum amount of the resource in the cluster.
5310
+ """
5311
+ return pulumi.get(self, "maximum")
5312
+
5306
5313
  @property
5307
5314
  @pulumi.getter(name="resourceType")
5308
5315
  def resource_type(self) -> str:
@@ -5313,14 +5320,6 @@ class ClusterClusterAutoscalingResourceLimit(dict):
5313
5320
  """
5314
5321
  return pulumi.get(self, "resource_type")
5315
5322
 
5316
- @property
5317
- @pulumi.getter
5318
- def maximum(self) -> Optional[int]:
5319
- """
5320
- Maximum amount of the resource in the cluster.
5321
- """
5322
- return pulumi.get(self, "maximum")
5323
-
5324
5323
  @property
5325
5324
  @pulumi.getter
5326
5325
  def minimum(self) -> Optional[int]:
@@ -6925,6 +6924,8 @@ class ClusterNodeConfig(dict):
6925
6924
  suggest = "logging_variant"
6926
6925
  elif key == "machineType":
6927
6926
  suggest = "machine_type"
6927
+ elif key == "maxRunDuration":
6928
+ suggest = "max_run_duration"
6928
6929
  elif key == "minCpuPlatform":
6929
6930
  suggest = "min_cpu_platform"
6930
6931
  elif key == "nodeGroup":
@@ -6988,6 +6989,7 @@ class ClusterNodeConfig(dict):
6988
6989
  local_ssd_encryption_mode: Optional[str] = None,
6989
6990
  logging_variant: Optional[str] = None,
6990
6991
  machine_type: Optional[str] = None,
6992
+ max_run_duration: Optional[str] = None,
6991
6993
  metadata: Optional[Mapping[str, str]] = None,
6992
6994
  min_cpu_platform: Optional[str] = None,
6993
6995
  node_group: Optional[str] = None,
@@ -7065,6 +7067,7 @@ class ClusterNodeConfig(dict):
7065
7067
  :param str machine_type: The name of a Google Compute Engine machine type.
7066
7068
  Defaults to `e2-medium`. To create a custom machine type, value should be set as specified
7067
7069
  [here](https://cloud.google.com/compute/docs/reference/latest/instances#machineType).
7070
+ :param str max_run_duration: The runtime of each node in the node pool in seconds, terminated by 's'. Example: "3600s".
7068
7071
  :param Mapping[str, str] metadata: The metadata key/value pairs assigned to instances in
7069
7072
  the cluster. From GKE `1.12` onwards, `disable-legacy-endpoints` is set to
7070
7073
  `true` by the API; if `metadata` is set but that default value is not
@@ -7159,6 +7162,8 @@ class ClusterNodeConfig(dict):
7159
7162
  pulumi.set(__self__, "logging_variant", logging_variant)
7160
7163
  if machine_type is not None:
7161
7164
  pulumi.set(__self__, "machine_type", machine_type)
7165
+ if max_run_duration is not None:
7166
+ pulumi.set(__self__, "max_run_duration", max_run_duration)
7162
7167
  if metadata is not None:
7163
7168
  pulumi.set(__self__, "metadata", metadata)
7164
7169
  if min_cpu_platform is not None:
@@ -7422,6 +7427,14 @@ class ClusterNodeConfig(dict):
7422
7427
  """
7423
7428
  return pulumi.get(self, "machine_type")
7424
7429
 
7430
+ @property
7431
+ @pulumi.getter(name="maxRunDuration")
7432
+ def max_run_duration(self) -> Optional[str]:
7433
+ """
7434
+ The runtime of each node in the node pool in seconds, terminated by 's'. Example: "3600s".
7435
+ """
7436
+ return pulumi.get(self, "max_run_duration")
7437
+
7425
7438
  @property
7426
7439
  @pulumi.getter
7427
7440
  def metadata(self) -> Optional[Mapping[str, str]]:
@@ -10085,6 +10098,8 @@ class ClusterNodePoolNodeConfig(dict):
10085
10098
  suggest = "logging_variant"
10086
10099
  elif key == "machineType":
10087
10100
  suggest = "machine_type"
10101
+ elif key == "maxRunDuration":
10102
+ suggest = "max_run_duration"
10088
10103
  elif key == "minCpuPlatform":
10089
10104
  suggest = "min_cpu_platform"
10090
10105
  elif key == "nodeGroup":
@@ -10148,6 +10163,7 @@ class ClusterNodePoolNodeConfig(dict):
10148
10163
  local_ssd_encryption_mode: Optional[str] = None,
10149
10164
  logging_variant: Optional[str] = None,
10150
10165
  machine_type: Optional[str] = None,
10166
+ max_run_duration: Optional[str] = None,
10151
10167
  metadata: Optional[Mapping[str, str]] = None,
10152
10168
  min_cpu_platform: Optional[str] = None,
10153
10169
  node_group: Optional[str] = None,
@@ -10225,6 +10241,7 @@ class ClusterNodePoolNodeConfig(dict):
10225
10241
  :param str machine_type: The name of a Google Compute Engine machine type.
10226
10242
  Defaults to `e2-medium`. To create a custom machine type, value should be set as specified
10227
10243
  [here](https://cloud.google.com/compute/docs/reference/latest/instances#machineType).
10244
+ :param str max_run_duration: The runtime of each node in the node pool in seconds, terminated by 's'. Example: "3600s".
10228
10245
  :param Mapping[str, str] metadata: The metadata key/value pairs assigned to instances in
10229
10246
  the cluster. From GKE `1.12` onwards, `disable-legacy-endpoints` is set to
10230
10247
  `true` by the API; if `metadata` is set but that default value is not
@@ -10319,6 +10336,8 @@ class ClusterNodePoolNodeConfig(dict):
10319
10336
  pulumi.set(__self__, "logging_variant", logging_variant)
10320
10337
  if machine_type is not None:
10321
10338
  pulumi.set(__self__, "machine_type", machine_type)
10339
+ if max_run_duration is not None:
10340
+ pulumi.set(__self__, "max_run_duration", max_run_duration)
10322
10341
  if metadata is not None:
10323
10342
  pulumi.set(__self__, "metadata", metadata)
10324
10343
  if min_cpu_platform is not None:
@@ -10582,6 +10601,14 @@ class ClusterNodePoolNodeConfig(dict):
10582
10601
  """
10583
10602
  return pulumi.get(self, "machine_type")
10584
10603
 
10604
+ @property
10605
+ @pulumi.getter(name="maxRunDuration")
10606
+ def max_run_duration(self) -> Optional[str]:
10607
+ """
10608
+ The runtime of each node in the node pool in seconds, terminated by 's'. Example: "3600s".
10609
+ """
10610
+ return pulumi.get(self, "max_run_duration")
10611
+
10585
10612
  @property
10586
10613
  @pulumi.getter
10587
10614
  def metadata(self) -> Optional[Mapping[str, str]]:
@@ -13668,6 +13695,8 @@ class NodePoolNodeConfig(dict):
13668
13695
  suggest = "logging_variant"
13669
13696
  elif key == "machineType":
13670
13697
  suggest = "machine_type"
13698
+ elif key == "maxRunDuration":
13699
+ suggest = "max_run_duration"
13671
13700
  elif key == "minCpuPlatform":
13672
13701
  suggest = "min_cpu_platform"
13673
13702
  elif key == "nodeGroup":
@@ -13731,6 +13760,7 @@ class NodePoolNodeConfig(dict):
13731
13760
  local_ssd_encryption_mode: Optional[str] = None,
13732
13761
  logging_variant: Optional[str] = None,
13733
13762
  machine_type: Optional[str] = None,
13763
+ max_run_duration: Optional[str] = None,
13734
13764
  metadata: Optional[Mapping[str, str]] = None,
13735
13765
  min_cpu_platform: Optional[str] = None,
13736
13766
  node_group: Optional[str] = None,
@@ -13774,6 +13804,7 @@ class NodePoolNodeConfig(dict):
13774
13804
  :param str local_ssd_encryption_mode: LocalSsdEncryptionMode specified the method used for encrypting the local SSDs attached to the node.
13775
13805
  :param str logging_variant: Type of logging agent that is used as the default value for node pools in the cluster. Valid values include DEFAULT and MAX_THROUGHPUT.
13776
13806
  :param str machine_type: The name of a Google Compute Engine machine type.
13807
+ :param str max_run_duration: The runtime of each node in the node pool in seconds, terminated by 's'. Example: "3600s".
13777
13808
  :param Mapping[str, str] metadata: The metadata key/value pairs assigned to instances in the cluster.
13778
13809
  :param str min_cpu_platform: Minimum CPU platform to be used by this instance. The instance may be scheduled on the specified or newer CPU platform.
13779
13810
  :param str node_group: Setting this field will assign instances of this pool to run on the specified node group. This is useful for running workloads on sole tenant nodes.
@@ -13844,6 +13875,8 @@ class NodePoolNodeConfig(dict):
13844
13875
  pulumi.set(__self__, "logging_variant", logging_variant)
13845
13876
  if machine_type is not None:
13846
13877
  pulumi.set(__self__, "machine_type", machine_type)
13878
+ if max_run_duration is not None:
13879
+ pulumi.set(__self__, "max_run_duration", max_run_duration)
13847
13880
  if metadata is not None:
13848
13881
  pulumi.set(__self__, "metadata", metadata)
13849
13882
  if min_cpu_platform is not None:
@@ -14073,6 +14106,14 @@ class NodePoolNodeConfig(dict):
14073
14106
  """
14074
14107
  return pulumi.get(self, "machine_type")
14075
14108
 
14109
+ @property
14110
+ @pulumi.getter(name="maxRunDuration")
14111
+ def max_run_duration(self) -> Optional[str]:
14112
+ """
14113
+ The runtime of each node in the node pool in seconds, terminated by 's'. Example: "3600s".
14114
+ """
14115
+ return pulumi.get(self, "max_run_duration")
14116
+
14076
14117
  @property
14077
14118
  @pulumi.getter
14078
14119
  def metadata(self) -> Optional[Mapping[str, str]]:
@@ -17525,6 +17566,7 @@ class GetClusterNodeConfigResult(dict):
17525
17566
  local_ssd_encryption_mode: str,
17526
17567
  logging_variant: str,
17527
17568
  machine_type: str,
17569
+ max_run_duration: str,
17528
17570
  metadata: Mapping[str, str],
17529
17571
  min_cpu_platform: str,
17530
17572
  node_group: str,
@@ -17568,6 +17610,7 @@ class GetClusterNodeConfigResult(dict):
17568
17610
  :param str local_ssd_encryption_mode: LocalSsdEncryptionMode specified the method used for encrypting the local SSDs attached to the node.
17569
17611
  :param str logging_variant: Type of logging agent that is used as the default value for node pools in the cluster. Valid values include DEFAULT and MAX_THROUGHPUT.
17570
17612
  :param str machine_type: The name of a Google Compute Engine machine type.
17613
+ :param str max_run_duration: The runtime of each node in the node pool in seconds, terminated by 's'. Example: "3600s".
17571
17614
  :param Mapping[str, str] metadata: The metadata key/value pairs assigned to instances in the cluster.
17572
17615
  :param str min_cpu_platform: Minimum CPU platform to be used by this instance. The instance may be scheduled on the specified or newer CPU platform.
17573
17616
  :param str node_group: Setting this field will assign instances of this pool to run on the specified node group. This is useful for running workloads on sole tenant nodes.
@@ -17611,6 +17654,7 @@ class GetClusterNodeConfigResult(dict):
17611
17654
  pulumi.set(__self__, "local_ssd_encryption_mode", local_ssd_encryption_mode)
17612
17655
  pulumi.set(__self__, "logging_variant", logging_variant)
17613
17656
  pulumi.set(__self__, "machine_type", machine_type)
17657
+ pulumi.set(__self__, "max_run_duration", max_run_duration)
17614
17658
  pulumi.set(__self__, "metadata", metadata)
17615
17659
  pulumi.set(__self__, "min_cpu_platform", min_cpu_platform)
17616
17660
  pulumi.set(__self__, "node_group", node_group)
@@ -17822,6 +17866,14 @@ class GetClusterNodeConfigResult(dict):
17822
17866
  """
17823
17867
  return pulumi.get(self, "machine_type")
17824
17868
 
17869
+ @property
17870
+ @pulumi.getter(name="maxRunDuration")
17871
+ def max_run_duration(self) -> str:
17872
+ """
17873
+ The runtime of each node in the node pool in seconds, terminated by 's'. Example: "3600s".
17874
+ """
17875
+ return pulumi.get(self, "max_run_duration")
17876
+
17825
17877
  @property
17826
17878
  @pulumi.getter
17827
17879
  def metadata(self) -> Mapping[str, str]:
@@ -19523,6 +19575,7 @@ class GetClusterNodePoolNodeConfigResult(dict):
19523
19575
  local_ssd_encryption_mode: str,
19524
19576
  logging_variant: str,
19525
19577
  machine_type: str,
19578
+ max_run_duration: str,
19526
19579
  metadata: Mapping[str, str],
19527
19580
  min_cpu_platform: str,
19528
19581
  node_group: str,
@@ -19566,6 +19619,7 @@ class GetClusterNodePoolNodeConfigResult(dict):
19566
19619
  :param str local_ssd_encryption_mode: LocalSsdEncryptionMode specified the method used for encrypting the local SSDs attached to the node.
19567
19620
  :param str logging_variant: Type of logging agent that is used as the default value for node pools in the cluster. Valid values include DEFAULT and MAX_THROUGHPUT.
19568
19621
  :param str machine_type: The name of a Google Compute Engine machine type.
19622
+ :param str max_run_duration: The runtime of each node in the node pool in seconds, terminated by 's'. Example: "3600s".
19569
19623
  :param Mapping[str, str] metadata: The metadata key/value pairs assigned to instances in the cluster.
19570
19624
  :param str min_cpu_platform: Minimum CPU platform to be used by this instance. The instance may be scheduled on the specified or newer CPU platform.
19571
19625
  :param str node_group: Setting this field will assign instances of this pool to run on the specified node group. This is useful for running workloads on sole tenant nodes.
@@ -19609,6 +19663,7 @@ class GetClusterNodePoolNodeConfigResult(dict):
19609
19663
  pulumi.set(__self__, "local_ssd_encryption_mode", local_ssd_encryption_mode)
19610
19664
  pulumi.set(__self__, "logging_variant", logging_variant)
19611
19665
  pulumi.set(__self__, "machine_type", machine_type)
19666
+ pulumi.set(__self__, "max_run_duration", max_run_duration)
19612
19667
  pulumi.set(__self__, "metadata", metadata)
19613
19668
  pulumi.set(__self__, "min_cpu_platform", min_cpu_platform)
19614
19669
  pulumi.set(__self__, "node_group", node_group)
@@ -19820,6 +19875,14 @@ class GetClusterNodePoolNodeConfigResult(dict):
19820
19875
  """
19821
19876
  return pulumi.get(self, "machine_type")
19822
19877
 
19878
+ @property
19879
+ @pulumi.getter(name="maxRunDuration")
19880
+ def max_run_duration(self) -> str:
19881
+ """
19882
+ The runtime of each node in the node pool in seconds, terminated by 's'. Example: "3600s".
19883
+ """
19884
+ return pulumi.get(self, "max_run_duration")
19885
+
19823
19886
  @property
19824
19887
  @pulumi.getter
19825
19888
  def metadata(self) -> Mapping[str, str]:
@@ -243,6 +243,8 @@ __all__ = [
243
243
  'MetastoreServiceScheduledBackupArgsDict',
244
244
  'MetastoreServiceTelemetryConfigArgs',
245
245
  'MetastoreServiceTelemetryConfigArgsDict',
246
+ 'WorkflowTemplateEncryptionConfigArgs',
247
+ 'WorkflowTemplateEncryptionConfigArgsDict',
246
248
  'WorkflowTemplateJobArgs',
247
249
  'WorkflowTemplateJobArgsDict',
248
250
  'WorkflowTemplateJobHadoopJobArgs',
@@ -10187,6 +10189,38 @@ class MetastoreServiceTelemetryConfigArgs:
10187
10189
  pulumi.set(self, "log_format", value)
10188
10190
 
10189
10191
 
10192
+ if not MYPY:
10193
+ class WorkflowTemplateEncryptionConfigArgsDict(TypedDict):
10194
+ kms_key: NotRequired[pulumi.Input[str]]
10195
+ """
10196
+ Optional. The Cloud KMS key name to use for encryption.
10197
+ """
10198
+ elif False:
10199
+ WorkflowTemplateEncryptionConfigArgsDict: TypeAlias = Mapping[str, Any]
10200
+
10201
+ @pulumi.input_type
10202
+ class WorkflowTemplateEncryptionConfigArgs:
10203
+ def __init__(__self__, *,
10204
+ kms_key: Optional[pulumi.Input[str]] = None):
10205
+ """
10206
+ :param pulumi.Input[str] kms_key: Optional. The Cloud KMS key name to use for encryption.
10207
+ """
10208
+ if kms_key is not None:
10209
+ pulumi.set(__self__, "kms_key", kms_key)
10210
+
10211
+ @property
10212
+ @pulumi.getter(name="kmsKey")
10213
+ def kms_key(self) -> Optional[pulumi.Input[str]]:
10214
+ """
10215
+ Optional. The Cloud KMS key name to use for encryption.
10216
+ """
10217
+ return pulumi.get(self, "kms_key")
10218
+
10219
+ @kms_key.setter
10220
+ def kms_key(self, value: Optional[pulumi.Input[str]]):
10221
+ pulumi.set(self, "kms_key", value)
10222
+
10223
+
10190
10224
  if not MYPY:
10191
10225
  class WorkflowTemplateJobArgsDict(TypedDict):
10192
10226
  step_id: pulumi.Input[str]
@@ -130,6 +130,7 @@ __all__ = [
130
130
  'MetastoreServiceScalingConfigAutoscalingConfigLimitConfig',
131
131
  'MetastoreServiceScheduledBackup',
132
132
  'MetastoreServiceTelemetryConfig',
133
+ 'WorkflowTemplateEncryptionConfig',
133
134
  'WorkflowTemplateJob',
134
135
  'WorkflowTemplateJobHadoopJob',
135
136
  'WorkflowTemplateJobHadoopJobLoggingConfig',
@@ -8160,6 +8161,42 @@ class MetastoreServiceTelemetryConfig(dict):
8160
8161
  return pulumi.get(self, "log_format")
8161
8162
 
8162
8163
 
8164
+ @pulumi.output_type
8165
+ class WorkflowTemplateEncryptionConfig(dict):
8166
+ @staticmethod
8167
+ def __key_warning(key: str):
8168
+ suggest = None
8169
+ if key == "kmsKey":
8170
+ suggest = "kms_key"
8171
+
8172
+ if suggest:
8173
+ pulumi.log.warn(f"Key '{key}' not found in WorkflowTemplateEncryptionConfig. Access the value via the '{suggest}' property getter instead.")
8174
+
8175
+ def __getitem__(self, key: str) -> Any:
8176
+ WorkflowTemplateEncryptionConfig.__key_warning(key)
8177
+ return super().__getitem__(key)
8178
+
8179
+ def get(self, key: str, default = None) -> Any:
8180
+ WorkflowTemplateEncryptionConfig.__key_warning(key)
8181
+ return super().get(key, default)
8182
+
8183
+ def __init__(__self__, *,
8184
+ kms_key: Optional[str] = None):
8185
+ """
8186
+ :param str kms_key: Optional. The Cloud KMS key name to use for encryption.
8187
+ """
8188
+ if kms_key is not None:
8189
+ pulumi.set(__self__, "kms_key", kms_key)
8190
+
8191
+ @property
8192
+ @pulumi.getter(name="kmsKey")
8193
+ def kms_key(self) -> Optional[str]:
8194
+ """
8195
+ Optional. The Cloud KMS key name to use for encryption.
8196
+ """
8197
+ return pulumi.get(self, "kms_key")
8198
+
8199
+
8163
8200
  @pulumi.output_type
8164
8201
  class WorkflowTemplateJob(dict):
8165
8202
  @staticmethod