pulumi-alicloud 3.68.0a1732771126__py3-none-any.whl → 3.69.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.

Potentially problematic release.


This version of pulumi-alicloud might be problematic. Click here for more details.

Files changed (84) hide show
  1. pulumi_alicloud/__init__.py +96 -0
  2. pulumi_alicloud/adb/db_cluster.py +7 -0
  3. pulumi_alicloud/arms/__init__.py +2 -0
  4. pulumi_alicloud/arms/_inputs.py +42 -4
  5. pulumi_alicloud/arms/alert_robot.py +421 -0
  6. pulumi_alicloud/arms/dispatch_rule.py +4 -0
  7. pulumi_alicloud/arms/get_alert_robots.py +230 -0
  8. pulumi_alicloud/arms/get_dispatch_rules.py +99 -6
  9. pulumi_alicloud/arms/outputs.py +154 -13
  10. pulumi_alicloud/cdn/_inputs.py +3 -23
  11. pulumi_alicloud/cdn/domain_new.py +93 -51
  12. pulumi_alicloud/cdn/outputs.py +2 -16
  13. pulumi_alicloud/cdn/real_time_log_delivery.py +97 -46
  14. pulumi_alicloud/cen/get_flowlogs.py +250 -35
  15. pulumi_alicloud/cen/outputs.py +116 -17
  16. pulumi_alicloud/cfg/rule.py +4 -4
  17. pulumi_alicloud/cs/autoscaling_config.py +51 -0
  18. pulumi_alicloud/cs/node_pool.py +7 -0
  19. pulumi_alicloud/dataworks/__init__.py +4 -0
  20. pulumi_alicloud/dataworks/_inputs.py +95 -0
  21. pulumi_alicloud/dataworks/data_source.py +686 -0
  22. pulumi_alicloud/dataworks/data_source_shared_rule.py +378 -0
  23. pulumi_alicloud/dataworks/outputs.py +44 -0
  24. pulumi_alicloud/dataworks/project.py +294 -140
  25. pulumi_alicloud/dataworks/project_member.py +380 -0
  26. pulumi_alicloud/ecs/__init__.py +1 -0
  27. pulumi_alicloud/ecs/_inputs.py +126 -0
  28. pulumi_alicloud/ecs/auto_snapshot_policy.py +323 -129
  29. pulumi_alicloud/ecs/disk.py +156 -14
  30. pulumi_alicloud/ecs/ecs_disk.py +308 -97
  31. pulumi_alicloud/ecs/ecs_key_pair.py +77 -49
  32. pulumi_alicloud/ecs/image_pipeline_execution.py +245 -0
  33. pulumi_alicloud/ecs/instance.py +145 -0
  34. pulumi_alicloud/ecs/key_pair.py +27 -7
  35. pulumi_alicloud/ecs/outputs.py +125 -0
  36. pulumi_alicloud/ecs/snapshot_policy.py +154 -1
  37. pulumi_alicloud/emrv2/_inputs.py +875 -21
  38. pulumi_alicloud/emrv2/cluster.py +47 -0
  39. pulumi_alicloud/emrv2/outputs.py +580 -14
  40. pulumi_alicloud/gwlb/__init__.py +1 -0
  41. pulumi_alicloud/gwlb/_inputs.py +147 -126
  42. pulumi_alicloud/gwlb/get_zones.py +173 -0
  43. pulumi_alicloud/gwlb/listener.py +50 -50
  44. pulumi_alicloud/gwlb/load_balancer.py +78 -71
  45. pulumi_alicloud/gwlb/outputs.py +139 -84
  46. pulumi_alicloud/gwlb/server_group.py +162 -113
  47. pulumi_alicloud/kvstore/audit_log_config.py +7 -7
  48. pulumi_alicloud/kvstore/backup_policy.py +9 -9
  49. pulumi_alicloud/kvstore/get_instance_classes.py +8 -8
  50. pulumi_alicloud/kvstore/get_instances.py +9 -7
  51. pulumi_alicloud/kvstore/instance.py +21 -21
  52. pulumi_alicloud/kvstore/outputs.py +6 -6
  53. pulumi_alicloud/nas/_inputs.py +148 -0
  54. pulumi_alicloud/nas/file_system.py +482 -222
  55. pulumi_alicloud/nas/outputs.py +109 -0
  56. pulumi_alicloud/oss/__init__.py +1 -0
  57. pulumi_alicloud/oss/_inputs.py +1750 -0
  58. pulumi_alicloud/oss/bucket_website.py +416 -0
  59. pulumi_alicloud/oss/outputs.py +1338 -0
  60. pulumi_alicloud/pai/__init__.py +7 -0
  61. pulumi_alicloud/pai/_inputs.py +129 -0
  62. pulumi_alicloud/pai/outputs.py +83 -0
  63. pulumi_alicloud/pai/workspace_code_source.py +702 -0
  64. pulumi_alicloud/pai/workspace_dataset.py +1081 -0
  65. pulumi_alicloud/pai/workspace_datasetversion.py +818 -0
  66. pulumi_alicloud/pai/workspace_experiment.py +394 -0
  67. pulumi_alicloud/pai/workspace_run.py +344 -0
  68. pulumi_alicloud/pai/workspace_workspace.py +6 -6
  69. pulumi_alicloud/polardb/cluster.py +7 -7
  70. pulumi_alicloud/polardb/get_clusters.py +1 -1
  71. pulumi_alicloud/polardb/outputs.py +2 -2
  72. pulumi_alicloud/pulumi-plugin.json +1 -1
  73. pulumi_alicloud/redis/tair_instance.py +63 -30
  74. pulumi_alicloud/sae/application.py +1 -1
  75. pulumi_alicloud/slb/attachment.py +2 -6
  76. pulumi_alicloud/sls/__init__.py +1 -0
  77. pulumi_alicloud/sls/_inputs.py +484 -0
  78. pulumi_alicloud/sls/oss_export_sink.py +428 -0
  79. pulumi_alicloud/sls/outputs.py +346 -0
  80. pulumi_alicloud/vpc/network.py +7 -7
  81. {pulumi_alicloud-3.68.0a1732771126.dist-info → pulumi_alicloud-3.69.0.dist-info}/METADATA +1 -1
  82. {pulumi_alicloud-3.68.0a1732771126.dist-info → pulumi_alicloud-3.69.0.dist-info}/RECORD +84 -67
  83. {pulumi_alicloud-3.68.0a1732771126.dist-info → pulumi_alicloud-3.69.0.dist-info}/WHEEL +0 -0
  84. {pulumi_alicloud-3.68.0a1732771126.dist-info → pulumi_alicloud-3.69.0.dist-info}/top_level.txt +0 -0
@@ -21,6 +21,14 @@ __all__ = [
21
21
  'ClusterBootstrapScriptNodeSelector',
22
22
  'ClusterNodeAttribute',
23
23
  'ClusterNodeGroup',
24
+ 'ClusterNodeGroupAckConfig',
25
+ 'ClusterNodeGroupAckConfigCustomAnnotation',
26
+ 'ClusterNodeGroupAckConfigCustomLabel',
27
+ 'ClusterNodeGroupAckConfigNodeSelector',
28
+ 'ClusterNodeGroupAckConfigPvc',
29
+ 'ClusterNodeGroupAckConfigToleration',
30
+ 'ClusterNodeGroupAckConfigVolume',
31
+ 'ClusterNodeGroupAckConfigVolumeMount',
24
32
  'ClusterNodeGroupAutoScalingPolicy',
25
33
  'ClusterNodeGroupAutoScalingPolicyConstraints',
26
34
  'ClusterNodeGroupAutoScalingPolicyScalingRule',
@@ -207,7 +215,7 @@ class ClusterBootstrapScript(dict):
207
215
  script_path: str,
208
216
  priority: Optional[int] = None):
209
217
  """
210
- :param str execution_fail_strategy: The bootstrap scripts execution fail strategy, ’FAILED_BLOCKED’ or ‘FAILED_CONTINUE’ .
218
+ :param str execution_fail_strategy: The bootstrap scripts execution fail strategy, ’FAILED_BLOCK’ or ‘FAILED_CONTINUE’ .
211
219
  :param str execution_moment: The bootstrap scripts execution moment, ’BEFORE_INSTALL’ or ‘AFTER_STARTED’ .
212
220
  :param 'ClusterBootstrapScriptNodeSelectorArgs' node_selector: The bootstrap scripts execution target. See `node_selector` below.
213
221
  :param str script_args: The bootstrap script args, e.g. "--a=b".
@@ -228,7 +236,7 @@ class ClusterBootstrapScript(dict):
228
236
  @pulumi.getter(name="executionFailStrategy")
229
237
  def execution_fail_strategy(self) -> str:
230
238
  """
231
- The bootstrap scripts execution fail strategy, ’FAILED_BLOCKED’ or ‘FAILED_CONTINUE’ .
239
+ The bootstrap scripts execution fail strategy, ’FAILED_BLOCK’ or ‘FAILED_CONTINUE’ .
232
240
  """
233
241
  return pulumi.get(self, "execution_fail_strategy")
234
242
 
@@ -527,6 +535,8 @@ class ClusterNodeGroup(dict):
527
535
  suggest = "node_group_type"
528
536
  elif key == "systemDisk":
529
537
  suggest = "system_disk"
538
+ elif key == "ackConfig":
539
+ suggest = "ack_config"
530
540
  elif key == "additionalSecurityGroupIds":
531
541
  suggest = "additional_security_group_ids"
532
542
  elif key == "autoScalingPolicy":
@@ -545,6 +555,8 @@ class ClusterNodeGroup(dict):
545
555
  suggest = "spot_bid_prices"
546
556
  elif key == "spotInstanceRemedy":
547
557
  suggest = "spot_instance_remedy"
558
+ elif key == "spotStrategy":
559
+ suggest = "spot_strategy"
548
560
  elif key == "subscriptionConfig":
549
561
  suggest = "subscription_config"
550
562
  elif key == "vswitchIds":
@@ -570,6 +582,7 @@ class ClusterNodeGroup(dict):
570
582
  node_group_name: str,
571
583
  node_group_type: str,
572
584
  system_disk: 'outputs.ClusterNodeGroupSystemDisk',
585
+ ack_config: Optional['outputs.ClusterNodeGroupAckConfig'] = None,
573
586
  additional_security_group_ids: Optional[Sequence[str]] = None,
574
587
  auto_scaling_policy: Optional['outputs.ClusterNodeGroupAutoScalingPolicy'] = None,
575
588
  cost_optimized_config: Optional['outputs.ClusterNodeGroupCostOptimizedConfig'] = None,
@@ -579,28 +592,31 @@ class ClusterNodeGroup(dict):
579
592
  payment_type: Optional[str] = None,
580
593
  spot_bid_prices: Optional[Sequence['outputs.ClusterNodeGroupSpotBidPrice']] = None,
581
594
  spot_instance_remedy: Optional[bool] = None,
595
+ spot_strategy: Optional[str] = None,
582
596
  subscription_config: Optional['outputs.ClusterNodeGroupSubscriptionConfig'] = None,
583
597
  vswitch_ids: Optional[Sequence[str]] = None,
584
598
  with_public_ip: Optional[bool] = None):
585
599
  """
586
600
  :param Sequence['ClusterNodeGroupDataDiskArgs'] data_disks: Host Ecs data disks information in this node group. See `data_disks` below.
587
- :param Sequence[str] instance_types: Host Ecs instance types. **NOTE:** From version 1.230.1, `instance_types` can not be modified.
601
+ :param Sequence[str] instance_types: Host Ecs instance types. **NOTE:** From version 1.236.0, `instance_types` can be modified.
588
602
  :param int node_count: Host Ecs number in this node group.
589
603
  :param str node_group_name: The node group name of emr cluster.
590
604
  :param str node_group_type: The node group type of emr cluster, supported value: MASTER, CORE or TASK. Node group type of GATEWAY is available since v1.219.0.
591
605
  :param 'ClusterNodeGroupSystemDiskArgs' system_disk: Host Ecs system disk information in this node group. See `system_disk` below.
592
- :param Sequence[str] additional_security_group_ids: Additional security Group IDS for Cluster, you can also specify this key for each node group. **NOTE:** From version 1.230.1, `additional_security_group_ids` can not be modified.
606
+ :param 'ClusterNodeGroupAckConfigArgs' ack_config: The node group of ack configuration for emr cluster to deploying on kubernetes. See `ack_config` below.
607
+ :param Sequence[str] additional_security_group_ids: Additional security Group IDS for Cluster, you can also specify this key for each node group. **NOTE:** From version 1.236.0, `additional_security_group_ids` can be modified.
593
608
  :param 'ClusterNodeGroupAutoScalingPolicyArgs' auto_scaling_policy: The node group auto scaling policy for emr cluster. See `auto_scaling_policy` below.
594
- :param 'ClusterNodeGroupCostOptimizedConfigArgs' cost_optimized_config: The detail cost optimized configuration of emr cluster. See `cost_optimized_config` below. **NOTE:** From version 1.230.1, `cost_optimized_config` can not be modified.
595
- :param str deployment_set_strategy: Deployment set strategy for this cluster node group. Supported value: NONE, CLUSTER or NODE_GROUP. **NOTE:** From version 1.230.1, `deployment_set_strategy` can not be modified.
609
+ :param 'ClusterNodeGroupCostOptimizedConfigArgs' cost_optimized_config: The detail cost optimized configuration of emr cluster. See `cost_optimized_config` below. **NOTE:** From version 1.236.0, `cost_optimized_config` can be modified.
610
+ :param str deployment_set_strategy: Deployment set strategy for this cluster node group. Supported value: NONE, CLUSTER or NODE_GROUP. **NOTE:** From version 1.236.0, `deployment_set_strategy` can be modified.
596
611
  :param bool graceful_shutdown: Enable emr cluster of task node graceful decommission, ’true’ or ‘false’ .
597
612
  :param str node_resize_strategy: Node resize strategy for this cluster node group. Supported value: PRIORITY, COST_OPTIMIZED.
598
613
  :param str payment_type: Payment Type for this cluster. Supported value: PayAsYouGo or Subscription.
599
614
  :param Sequence['ClusterNodeGroupSpotBidPriceArgs'] spot_bid_prices: The spot bid prices of a PayAsYouGo instance. See `spot_bid_prices` below.
600
615
  :param bool spot_instance_remedy: Whether to replace spot instances with newly created spot/onDemand instance when receive a spot recycling message.
616
+ :param str spot_strategy: The spot strategy configuration of emr cluster. Valid values: `NoSpot`, `SpotWithPriceLimit`, `SpotAsPriceGo`.
601
617
  :param 'ClusterNodeGroupSubscriptionConfigArgs' subscription_config: The detail configuration of subscription payment type. See `subscription_config` below.
602
- :param Sequence[str] vswitch_ids: Global vSwitch ids, you can also specify it in node group. **NOTE:** From version 1.230.1, `vswitch_ids` can not be modified.
603
- :param bool with_public_ip: Whether the node has a public IP address enabled. **NOTE:** From version 1.230.1, `with_public_ip` can not be modified.
618
+ :param Sequence[str] vswitch_ids: Global vSwitch ids, you can also specify it in node group. **NOTE:** From version 1.236.0, `vswitch_ids` can be modified.
619
+ :param bool with_public_ip: Whether the node has a public IP address enabled. **NOTE:** From version 1.236.0, `with_public_ip` can be modified.
604
620
  """
605
621
  pulumi.set(__self__, "data_disks", data_disks)
606
622
  pulumi.set(__self__, "instance_types", instance_types)
@@ -608,6 +624,8 @@ class ClusterNodeGroup(dict):
608
624
  pulumi.set(__self__, "node_group_name", node_group_name)
609
625
  pulumi.set(__self__, "node_group_type", node_group_type)
610
626
  pulumi.set(__self__, "system_disk", system_disk)
627
+ if ack_config is not None:
628
+ pulumi.set(__self__, "ack_config", ack_config)
611
629
  if additional_security_group_ids is not None:
612
630
  pulumi.set(__self__, "additional_security_group_ids", additional_security_group_ids)
613
631
  if auto_scaling_policy is not None:
@@ -626,6 +644,8 @@ class ClusterNodeGroup(dict):
626
644
  pulumi.set(__self__, "spot_bid_prices", spot_bid_prices)
627
645
  if spot_instance_remedy is not None:
628
646
  pulumi.set(__self__, "spot_instance_remedy", spot_instance_remedy)
647
+ if spot_strategy is not None:
648
+ pulumi.set(__self__, "spot_strategy", spot_strategy)
629
649
  if subscription_config is not None:
630
650
  pulumi.set(__self__, "subscription_config", subscription_config)
631
651
  if vswitch_ids is not None:
@@ -645,7 +665,7 @@ class ClusterNodeGroup(dict):
645
665
  @pulumi.getter(name="instanceTypes")
646
666
  def instance_types(self) -> Sequence[str]:
647
667
  """
648
- Host Ecs instance types. **NOTE:** From version 1.230.1, `instance_types` can not be modified.
668
+ Host Ecs instance types. **NOTE:** From version 1.236.0, `instance_types` can be modified.
649
669
  """
650
670
  return pulumi.get(self, "instance_types")
651
671
 
@@ -681,11 +701,19 @@ class ClusterNodeGroup(dict):
681
701
  """
682
702
  return pulumi.get(self, "system_disk")
683
703
 
704
+ @property
705
+ @pulumi.getter(name="ackConfig")
706
+ def ack_config(self) -> Optional['outputs.ClusterNodeGroupAckConfig']:
707
+ """
708
+ The node group of ack configuration for emr cluster to deploying on kubernetes. See `ack_config` below.
709
+ """
710
+ return pulumi.get(self, "ack_config")
711
+
684
712
  @property
685
713
  @pulumi.getter(name="additionalSecurityGroupIds")
686
714
  def additional_security_group_ids(self) -> Optional[Sequence[str]]:
687
715
  """
688
- Additional security Group IDS for Cluster, you can also specify this key for each node group. **NOTE:** From version 1.230.1, `additional_security_group_ids` can not be modified.
716
+ Additional security Group IDS for Cluster, you can also specify this key for each node group. **NOTE:** From version 1.236.0, `additional_security_group_ids` can be modified.
689
717
  """
690
718
  return pulumi.get(self, "additional_security_group_ids")
691
719
 
@@ -701,7 +729,7 @@ class ClusterNodeGroup(dict):
701
729
  @pulumi.getter(name="costOptimizedConfig")
702
730
  def cost_optimized_config(self) -> Optional['outputs.ClusterNodeGroupCostOptimizedConfig']:
703
731
  """
704
- The detail cost optimized configuration of emr cluster. See `cost_optimized_config` below. **NOTE:** From version 1.230.1, `cost_optimized_config` can not be modified.
732
+ The detail cost optimized configuration of emr cluster. See `cost_optimized_config` below. **NOTE:** From version 1.236.0, `cost_optimized_config` can be modified.
705
733
  """
706
734
  return pulumi.get(self, "cost_optimized_config")
707
735
 
@@ -709,7 +737,7 @@ class ClusterNodeGroup(dict):
709
737
  @pulumi.getter(name="deploymentSetStrategy")
710
738
  def deployment_set_strategy(self) -> Optional[str]:
711
739
  """
712
- Deployment set strategy for this cluster node group. Supported value: NONE, CLUSTER or NODE_GROUP. **NOTE:** From version 1.230.1, `deployment_set_strategy` can not be modified.
740
+ Deployment set strategy for this cluster node group. Supported value: NONE, CLUSTER or NODE_GROUP. **NOTE:** From version 1.236.0, `deployment_set_strategy` can be modified.
713
741
  """
714
742
  return pulumi.get(self, "deployment_set_strategy")
715
743
 
@@ -753,6 +781,14 @@ class ClusterNodeGroup(dict):
753
781
  """
754
782
  return pulumi.get(self, "spot_instance_remedy")
755
783
 
784
+ @property
785
+ @pulumi.getter(name="spotStrategy")
786
+ def spot_strategy(self) -> Optional[str]:
787
+ """
788
+ The spot strategy configuration of emr cluster. Valid values: `NoSpot`, `SpotWithPriceLimit`, `SpotAsPriceGo`.
789
+ """
790
+ return pulumi.get(self, "spot_strategy")
791
+
756
792
  @property
757
793
  @pulumi.getter(name="subscriptionConfig")
758
794
  def subscription_config(self) -> Optional['outputs.ClusterNodeGroupSubscriptionConfig']:
@@ -765,7 +801,7 @@ class ClusterNodeGroup(dict):
765
801
  @pulumi.getter(name="vswitchIds")
766
802
  def vswitch_ids(self) -> Optional[Sequence[str]]:
767
803
  """
768
- Global vSwitch ids, you can also specify it in node group. **NOTE:** From version 1.230.1, `vswitch_ids` can not be modified.
804
+ Global vSwitch ids, you can also specify it in node group. **NOTE:** From version 1.236.0, `vswitch_ids` can be modified.
769
805
  """
770
806
  return pulumi.get(self, "vswitch_ids")
771
807
 
@@ -773,11 +809,541 @@ class ClusterNodeGroup(dict):
773
809
  @pulumi.getter(name="withPublicIp")
774
810
  def with_public_ip(self) -> Optional[bool]:
775
811
  """
776
- Whether the node has a public IP address enabled. **NOTE:** From version 1.230.1, `with_public_ip` can not be modified.
812
+ Whether the node has a public IP address enabled. **NOTE:** From version 1.236.0, `with_public_ip` can be modified.
777
813
  """
778
814
  return pulumi.get(self, "with_public_ip")
779
815
 
780
816
 
817
+ @pulumi.output_type
818
+ class ClusterNodeGroupAckConfig(dict):
819
+ @staticmethod
820
+ def __key_warning(key: str):
821
+ suggest = None
822
+ if key == "ackInstanceId":
823
+ suggest = "ack_instance_id"
824
+ elif key == "limitCpu":
825
+ suggest = "limit_cpu"
826
+ elif key == "limitMemory":
827
+ suggest = "limit_memory"
828
+ elif key == "requestCpu":
829
+ suggest = "request_cpu"
830
+ elif key == "requestMemory":
831
+ suggest = "request_memory"
832
+ elif key == "customAnnotations":
833
+ suggest = "custom_annotations"
834
+ elif key == "customLabels":
835
+ suggest = "custom_labels"
836
+ elif key == "nodeAffinity":
837
+ suggest = "node_affinity"
838
+ elif key == "nodeSelectors":
839
+ suggest = "node_selectors"
840
+ elif key == "podAffinity":
841
+ suggest = "pod_affinity"
842
+ elif key == "podAntiAffinity":
843
+ suggest = "pod_anti_affinity"
844
+ elif key == "preStartCommands":
845
+ suggest = "pre_start_commands"
846
+ elif key == "volumeMounts":
847
+ suggest = "volume_mounts"
848
+
849
+ if suggest:
850
+ pulumi.log.warn(f"Key '{key}' not found in ClusterNodeGroupAckConfig. Access the value via the '{suggest}' property getter instead.")
851
+
852
+ def __getitem__(self, key: str) -> Any:
853
+ ClusterNodeGroupAckConfig.__key_warning(key)
854
+ return super().__getitem__(key)
855
+
856
+ def get(self, key: str, default = None) -> Any:
857
+ ClusterNodeGroupAckConfig.__key_warning(key)
858
+ return super().get(key, default)
859
+
860
+ def __init__(__self__, *,
861
+ ack_instance_id: str,
862
+ limit_cpu: float,
863
+ limit_memory: float,
864
+ namespace: str,
865
+ request_cpu: float,
866
+ request_memory: float,
867
+ custom_annotations: Optional[Sequence['outputs.ClusterNodeGroupAckConfigCustomAnnotation']] = None,
868
+ custom_labels: Optional[Sequence['outputs.ClusterNodeGroupAckConfigCustomLabel']] = None,
869
+ node_affinity: Optional[str] = None,
870
+ node_selectors: Optional[Sequence['outputs.ClusterNodeGroupAckConfigNodeSelector']] = None,
871
+ pod_affinity: Optional[str] = None,
872
+ pod_anti_affinity: Optional[str] = None,
873
+ pre_start_commands: Optional[Sequence[str]] = None,
874
+ pvcs: Optional[Sequence['outputs.ClusterNodeGroupAckConfigPvc']] = None,
875
+ tolerations: Optional[Sequence['outputs.ClusterNodeGroupAckConfigToleration']] = None,
876
+ volume_mounts: Optional[Sequence['outputs.ClusterNodeGroupAckConfigVolumeMount']] = None,
877
+ volumes: Optional[Sequence['outputs.ClusterNodeGroupAckConfigVolume']] = None):
878
+ """
879
+ :param str ack_instance_id: The ack cluster instance id.
880
+ :param float limit_cpu: The job pod resource of limit cpu.
881
+ :param float limit_memory: The job pod resource of limit memory.
882
+ :param str namespace: The ack cluster namespace.
883
+ :param float request_cpu: The job pod resource of request cpu.
884
+ :param float request_memory: The job pod resource of request memory.
885
+ :param Sequence['ClusterNodeGroupAckConfigCustomAnnotationArgs'] custom_annotations: The ack cluster custom annotations. See `custom_annotations` below.
886
+ :param Sequence['ClusterNodeGroupAckConfigCustomLabelArgs'] custom_labels: The ack cluster custom labels. See `custom_labels` below.
887
+ :param str node_affinity: The ack cluster node affinity.
888
+ :param Sequence['ClusterNodeGroupAckConfigNodeSelectorArgs'] node_selectors: The ack cluster node selectors for job pods scheduling. See `node_selectors` below.
889
+ :param str pod_affinity: The job pod affinity.
890
+ :param str pod_anti_affinity: The job pod anti-affinity.
891
+ :param Sequence[str] pre_start_commands: The job pod pre start command.
892
+ :param Sequence['ClusterNodeGroupAckConfigPvcArgs'] pvcs: The ack cluster persistent volume claim. See `pvcs` below.
893
+ :param Sequence['ClusterNodeGroupAckConfigTolerationArgs'] tolerations: The ack cluster tolerations. See `tolerations` below.
894
+ :param Sequence['ClusterNodeGroupAckConfigVolumeMountArgs'] volume_mounts: The ack cluster volume mounts. See `volume_mounts` below.
895
+ :param Sequence['ClusterNodeGroupAckConfigVolumeArgs'] volumes: The ack cluster volumes. See `volumes` below.
896
+ """
897
+ pulumi.set(__self__, "ack_instance_id", ack_instance_id)
898
+ pulumi.set(__self__, "limit_cpu", limit_cpu)
899
+ pulumi.set(__self__, "limit_memory", limit_memory)
900
+ pulumi.set(__self__, "namespace", namespace)
901
+ pulumi.set(__self__, "request_cpu", request_cpu)
902
+ pulumi.set(__self__, "request_memory", request_memory)
903
+ if custom_annotations is not None:
904
+ pulumi.set(__self__, "custom_annotations", custom_annotations)
905
+ if custom_labels is not None:
906
+ pulumi.set(__self__, "custom_labels", custom_labels)
907
+ if node_affinity is not None:
908
+ pulumi.set(__self__, "node_affinity", node_affinity)
909
+ if node_selectors is not None:
910
+ pulumi.set(__self__, "node_selectors", node_selectors)
911
+ if pod_affinity is not None:
912
+ pulumi.set(__self__, "pod_affinity", pod_affinity)
913
+ if pod_anti_affinity is not None:
914
+ pulumi.set(__self__, "pod_anti_affinity", pod_anti_affinity)
915
+ if pre_start_commands is not None:
916
+ pulumi.set(__self__, "pre_start_commands", pre_start_commands)
917
+ if pvcs is not None:
918
+ pulumi.set(__self__, "pvcs", pvcs)
919
+ if tolerations is not None:
920
+ pulumi.set(__self__, "tolerations", tolerations)
921
+ if volume_mounts is not None:
922
+ pulumi.set(__self__, "volume_mounts", volume_mounts)
923
+ if volumes is not None:
924
+ pulumi.set(__self__, "volumes", volumes)
925
+
926
+ @property
927
+ @pulumi.getter(name="ackInstanceId")
928
+ def ack_instance_id(self) -> str:
929
+ """
930
+ The ack cluster instance id.
931
+ """
932
+ return pulumi.get(self, "ack_instance_id")
933
+
934
+ @property
935
+ @pulumi.getter(name="limitCpu")
936
+ def limit_cpu(self) -> float:
937
+ """
938
+ The job pod resource of limit cpu.
939
+ """
940
+ return pulumi.get(self, "limit_cpu")
941
+
942
+ @property
943
+ @pulumi.getter(name="limitMemory")
944
+ def limit_memory(self) -> float:
945
+ """
946
+ The job pod resource of limit memory.
947
+ """
948
+ return pulumi.get(self, "limit_memory")
949
+
950
+ @property
951
+ @pulumi.getter
952
+ def namespace(self) -> str:
953
+ """
954
+ The ack cluster namespace.
955
+ """
956
+ return pulumi.get(self, "namespace")
957
+
958
+ @property
959
+ @pulumi.getter(name="requestCpu")
960
+ def request_cpu(self) -> float:
961
+ """
962
+ The job pod resource of request cpu.
963
+ """
964
+ return pulumi.get(self, "request_cpu")
965
+
966
+ @property
967
+ @pulumi.getter(name="requestMemory")
968
+ def request_memory(self) -> float:
969
+ """
970
+ The job pod resource of request memory.
971
+ """
972
+ return pulumi.get(self, "request_memory")
973
+
974
+ @property
975
+ @pulumi.getter(name="customAnnotations")
976
+ def custom_annotations(self) -> Optional[Sequence['outputs.ClusterNodeGroupAckConfigCustomAnnotation']]:
977
+ """
978
+ The ack cluster custom annotations. See `custom_annotations` below.
979
+ """
980
+ return pulumi.get(self, "custom_annotations")
981
+
982
+ @property
983
+ @pulumi.getter(name="customLabels")
984
+ def custom_labels(self) -> Optional[Sequence['outputs.ClusterNodeGroupAckConfigCustomLabel']]:
985
+ """
986
+ The ack cluster custom labels. See `custom_labels` below.
987
+ """
988
+ return pulumi.get(self, "custom_labels")
989
+
990
+ @property
991
+ @pulumi.getter(name="nodeAffinity")
992
+ def node_affinity(self) -> Optional[str]:
993
+ """
994
+ The ack cluster node affinity.
995
+ """
996
+ return pulumi.get(self, "node_affinity")
997
+
998
+ @property
999
+ @pulumi.getter(name="nodeSelectors")
1000
+ def node_selectors(self) -> Optional[Sequence['outputs.ClusterNodeGroupAckConfigNodeSelector']]:
1001
+ """
1002
+ The ack cluster node selectors for job pods scheduling. See `node_selectors` below.
1003
+ """
1004
+ return pulumi.get(self, "node_selectors")
1005
+
1006
+ @property
1007
+ @pulumi.getter(name="podAffinity")
1008
+ def pod_affinity(self) -> Optional[str]:
1009
+ """
1010
+ The job pod affinity.
1011
+ """
1012
+ return pulumi.get(self, "pod_affinity")
1013
+
1014
+ @property
1015
+ @pulumi.getter(name="podAntiAffinity")
1016
+ def pod_anti_affinity(self) -> Optional[str]:
1017
+ """
1018
+ The job pod anti-affinity.
1019
+ """
1020
+ return pulumi.get(self, "pod_anti_affinity")
1021
+
1022
+ @property
1023
+ @pulumi.getter(name="preStartCommands")
1024
+ def pre_start_commands(self) -> Optional[Sequence[str]]:
1025
+ """
1026
+ The job pod pre start command.
1027
+ """
1028
+ return pulumi.get(self, "pre_start_commands")
1029
+
1030
+ @property
1031
+ @pulumi.getter
1032
+ def pvcs(self) -> Optional[Sequence['outputs.ClusterNodeGroupAckConfigPvc']]:
1033
+ """
1034
+ The ack cluster persistent volume claim. See `pvcs` below.
1035
+ """
1036
+ return pulumi.get(self, "pvcs")
1037
+
1038
+ @property
1039
+ @pulumi.getter
1040
+ def tolerations(self) -> Optional[Sequence['outputs.ClusterNodeGroupAckConfigToleration']]:
1041
+ """
1042
+ The ack cluster tolerations. See `tolerations` below.
1043
+ """
1044
+ return pulumi.get(self, "tolerations")
1045
+
1046
+ @property
1047
+ @pulumi.getter(name="volumeMounts")
1048
+ def volume_mounts(self) -> Optional[Sequence['outputs.ClusterNodeGroupAckConfigVolumeMount']]:
1049
+ """
1050
+ The ack cluster volume mounts. See `volume_mounts` below.
1051
+ """
1052
+ return pulumi.get(self, "volume_mounts")
1053
+
1054
+ @property
1055
+ @pulumi.getter
1056
+ def volumes(self) -> Optional[Sequence['outputs.ClusterNodeGroupAckConfigVolume']]:
1057
+ """
1058
+ The ack cluster volumes. See `volumes` below.
1059
+ """
1060
+ return pulumi.get(self, "volumes")
1061
+
1062
+
1063
+ @pulumi.output_type
1064
+ class ClusterNodeGroupAckConfigCustomAnnotation(dict):
1065
+ def __init__(__self__, *,
1066
+ key: str,
1067
+ value: Optional[str] = None):
1068
+ """
1069
+ :param str key: The tag key for this scaling rule specific metrics trigger.
1070
+ :param str value: The tag value for this scaling rule specific metrics trigger.
1071
+ """
1072
+ pulumi.set(__self__, "key", key)
1073
+ if value is not None:
1074
+ pulumi.set(__self__, "value", value)
1075
+
1076
+ @property
1077
+ @pulumi.getter
1078
+ def key(self) -> str:
1079
+ """
1080
+ The tag key for this scaling rule specific metrics trigger.
1081
+ """
1082
+ return pulumi.get(self, "key")
1083
+
1084
+ @property
1085
+ @pulumi.getter
1086
+ def value(self) -> Optional[str]:
1087
+ """
1088
+ The tag value for this scaling rule specific metrics trigger.
1089
+ """
1090
+ return pulumi.get(self, "value")
1091
+
1092
+
1093
+ @pulumi.output_type
1094
+ class ClusterNodeGroupAckConfigCustomLabel(dict):
1095
+ def __init__(__self__, *,
1096
+ key: str,
1097
+ value: Optional[str] = None):
1098
+ """
1099
+ :param str key: The tag key for this scaling rule specific metrics trigger.
1100
+ :param str value: The tag value for this scaling rule specific metrics trigger.
1101
+ """
1102
+ pulumi.set(__self__, "key", key)
1103
+ if value is not None:
1104
+ pulumi.set(__self__, "value", value)
1105
+
1106
+ @property
1107
+ @pulumi.getter
1108
+ def key(self) -> str:
1109
+ """
1110
+ The tag key for this scaling rule specific metrics trigger.
1111
+ """
1112
+ return pulumi.get(self, "key")
1113
+
1114
+ @property
1115
+ @pulumi.getter
1116
+ def value(self) -> Optional[str]:
1117
+ """
1118
+ The tag value for this scaling rule specific metrics trigger.
1119
+ """
1120
+ return pulumi.get(self, "value")
1121
+
1122
+
1123
+ @pulumi.output_type
1124
+ class ClusterNodeGroupAckConfigNodeSelector(dict):
1125
+ def __init__(__self__, *,
1126
+ key: str,
1127
+ value: Optional[str] = None):
1128
+ """
1129
+ :param str key: The tag key for this scaling rule specific metrics trigger.
1130
+ :param str value: The tag value for this scaling rule specific metrics trigger.
1131
+ """
1132
+ pulumi.set(__self__, "key", key)
1133
+ if value is not None:
1134
+ pulumi.set(__self__, "value", value)
1135
+
1136
+ @property
1137
+ @pulumi.getter
1138
+ def key(self) -> str:
1139
+ """
1140
+ The tag key for this scaling rule specific metrics trigger.
1141
+ """
1142
+ return pulumi.get(self, "key")
1143
+
1144
+ @property
1145
+ @pulumi.getter
1146
+ def value(self) -> Optional[str]:
1147
+ """
1148
+ The tag value for this scaling rule specific metrics trigger.
1149
+ """
1150
+ return pulumi.get(self, "value")
1151
+
1152
+
1153
+ @pulumi.output_type
1154
+ class ClusterNodeGroupAckConfigPvc(dict):
1155
+ @staticmethod
1156
+ def __key_warning(key: str):
1157
+ suggest = None
1158
+ if key == "dataDiskSize":
1159
+ suggest = "data_disk_size"
1160
+ elif key == "dataDiskStorageClass":
1161
+ suggest = "data_disk_storage_class"
1162
+
1163
+ if suggest:
1164
+ pulumi.log.warn(f"Key '{key}' not found in ClusterNodeGroupAckConfigPvc. Access the value via the '{suggest}' property getter instead.")
1165
+
1166
+ def __getitem__(self, key: str) -> Any:
1167
+ ClusterNodeGroupAckConfigPvc.__key_warning(key)
1168
+ return super().__getitem__(key)
1169
+
1170
+ def get(self, key: str, default = None) -> Any:
1171
+ ClusterNodeGroupAckConfigPvc.__key_warning(key)
1172
+ return super().get(key, default)
1173
+
1174
+ def __init__(__self__, *,
1175
+ data_disk_size: int,
1176
+ data_disk_storage_class: str,
1177
+ name: str,
1178
+ path: str):
1179
+ """
1180
+ :param int data_disk_size: The ack cluster job pod data disk size of persistent volume claim.
1181
+ :param str data_disk_storage_class: The ack cluster job pod data disk storage class of persistent volume claim.
1182
+ :param str name: The name of ack cluster job pod volume mounts.
1183
+ :param str path: The path of ack cluster job pod volume mounts.
1184
+ """
1185
+ pulumi.set(__self__, "data_disk_size", data_disk_size)
1186
+ pulumi.set(__self__, "data_disk_storage_class", data_disk_storage_class)
1187
+ pulumi.set(__self__, "name", name)
1188
+ pulumi.set(__self__, "path", path)
1189
+
1190
+ @property
1191
+ @pulumi.getter(name="dataDiskSize")
1192
+ def data_disk_size(self) -> int:
1193
+ """
1194
+ The ack cluster job pod data disk size of persistent volume claim.
1195
+ """
1196
+ return pulumi.get(self, "data_disk_size")
1197
+
1198
+ @property
1199
+ @pulumi.getter(name="dataDiskStorageClass")
1200
+ def data_disk_storage_class(self) -> str:
1201
+ """
1202
+ The ack cluster job pod data disk storage class of persistent volume claim.
1203
+ """
1204
+ return pulumi.get(self, "data_disk_storage_class")
1205
+
1206
+ @property
1207
+ @pulumi.getter
1208
+ def name(self) -> str:
1209
+ """
1210
+ The name of ack cluster job pod volume mounts.
1211
+ """
1212
+ return pulumi.get(self, "name")
1213
+
1214
+ @property
1215
+ @pulumi.getter
1216
+ def path(self) -> str:
1217
+ """
1218
+ The path of ack cluster job pod volume mounts.
1219
+ """
1220
+ return pulumi.get(self, "path")
1221
+
1222
+
1223
+ @pulumi.output_type
1224
+ class ClusterNodeGroupAckConfigToleration(dict):
1225
+ def __init__(__self__, *,
1226
+ effect: Optional[str] = None,
1227
+ key: Optional[str] = None,
1228
+ operator: Optional[str] = None,
1229
+ value: Optional[str] = None):
1230
+ """
1231
+ :param str effect: The effect of ack cluster tolerations.
1232
+ :param str key: The tag key for this scaling rule specific metrics trigger.
1233
+ :param str operator: The operator of ack cluster tolerations.
1234
+ :param str value: The tag value for this scaling rule specific metrics trigger.
1235
+ """
1236
+ if effect is not None:
1237
+ pulumi.set(__self__, "effect", effect)
1238
+ if key is not None:
1239
+ pulumi.set(__self__, "key", key)
1240
+ if operator is not None:
1241
+ pulumi.set(__self__, "operator", operator)
1242
+ if value is not None:
1243
+ pulumi.set(__self__, "value", value)
1244
+
1245
+ @property
1246
+ @pulumi.getter
1247
+ def effect(self) -> Optional[str]:
1248
+ """
1249
+ The effect of ack cluster tolerations.
1250
+ """
1251
+ return pulumi.get(self, "effect")
1252
+
1253
+ @property
1254
+ @pulumi.getter
1255
+ def key(self) -> Optional[str]:
1256
+ """
1257
+ The tag key for this scaling rule specific metrics trigger.
1258
+ """
1259
+ return pulumi.get(self, "key")
1260
+
1261
+ @property
1262
+ @pulumi.getter
1263
+ def operator(self) -> Optional[str]:
1264
+ """
1265
+ The operator of ack cluster tolerations.
1266
+ """
1267
+ return pulumi.get(self, "operator")
1268
+
1269
+ @property
1270
+ @pulumi.getter
1271
+ def value(self) -> Optional[str]:
1272
+ """
1273
+ The tag value for this scaling rule specific metrics trigger.
1274
+ """
1275
+ return pulumi.get(self, "value")
1276
+
1277
+
1278
+ @pulumi.output_type
1279
+ class ClusterNodeGroupAckConfigVolume(dict):
1280
+ def __init__(__self__, *,
1281
+ name: str,
1282
+ path: str,
1283
+ type: str):
1284
+ """
1285
+ :param str name: The name of ack cluster job pod volume mounts.
1286
+ :param str path: The path of ack cluster job pod volume mounts.
1287
+ :param str type: The ack cluster job pod volumes type.
1288
+ """
1289
+ pulumi.set(__self__, "name", name)
1290
+ pulumi.set(__self__, "path", path)
1291
+ pulumi.set(__self__, "type", type)
1292
+
1293
+ @property
1294
+ @pulumi.getter
1295
+ def name(self) -> str:
1296
+ """
1297
+ The name of ack cluster job pod volume mounts.
1298
+ """
1299
+ return pulumi.get(self, "name")
1300
+
1301
+ @property
1302
+ @pulumi.getter
1303
+ def path(self) -> str:
1304
+ """
1305
+ The path of ack cluster job pod volume mounts.
1306
+ """
1307
+ return pulumi.get(self, "path")
1308
+
1309
+ @property
1310
+ @pulumi.getter
1311
+ def type(self) -> str:
1312
+ """
1313
+ The ack cluster job pod volumes type.
1314
+ """
1315
+ return pulumi.get(self, "type")
1316
+
1317
+
1318
+ @pulumi.output_type
1319
+ class ClusterNodeGroupAckConfigVolumeMount(dict):
1320
+ def __init__(__self__, *,
1321
+ name: str,
1322
+ path: str):
1323
+ """
1324
+ :param str name: The name of ack cluster job pod volume mounts.
1325
+ :param str path: The path of ack cluster job pod volume mounts.
1326
+ """
1327
+ pulumi.set(__self__, "name", name)
1328
+ pulumi.set(__self__, "path", path)
1329
+
1330
+ @property
1331
+ @pulumi.getter
1332
+ def name(self) -> str:
1333
+ """
1334
+ The name of ack cluster job pod volume mounts.
1335
+ """
1336
+ return pulumi.get(self, "name")
1337
+
1338
+ @property
1339
+ @pulumi.getter
1340
+ def path(self) -> str:
1341
+ """
1342
+ The path of ack cluster job pod volume mounts.
1343
+ """
1344
+ return pulumi.get(self, "path")
1345
+
1346
+
781
1347
  @pulumi.output_type
782
1348
  class ClusterNodeGroupAutoScalingPolicy(dict):
783
1349
  @staticmethod