pulumi-alicloud 3.68.0__py3-none-any.whl → 3.68.0a1732598392__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 (45) hide show
  1. pulumi_alicloud/__init__.py +0 -40
  2. pulumi_alicloud/cdn/_inputs.py +23 -3
  3. pulumi_alicloud/cdn/domain_new.py +51 -93
  4. pulumi_alicloud/cdn/outputs.py +16 -2
  5. pulumi_alicloud/cdn/real_time_log_delivery.py +46 -97
  6. pulumi_alicloud/cen/get_flowlogs.py +35 -250
  7. pulumi_alicloud/cen/outputs.py +17 -116
  8. pulumi_alicloud/cs/node_pool.py +0 -7
  9. pulumi_alicloud/ecs/_inputs.py +0 -92
  10. pulumi_alicloud/ecs/auto_snapshot_policy.py +129 -323
  11. pulumi_alicloud/ecs/outputs.py +0 -88
  12. pulumi_alicloud/ecs/snapshot_policy.py +1 -154
  13. pulumi_alicloud/emrv2/_inputs.py +21 -875
  14. pulumi_alicloud/emrv2/cluster.py +0 -47
  15. pulumi_alicloud/emrv2/outputs.py +14 -580
  16. pulumi_alicloud/gwlb/__init__.py +0 -1
  17. pulumi_alicloud/gwlb/_inputs.py +126 -147
  18. pulumi_alicloud/gwlb/listener.py +50 -50
  19. pulumi_alicloud/gwlb/load_balancer.py +71 -78
  20. pulumi_alicloud/gwlb/outputs.py +84 -139
  21. pulumi_alicloud/gwlb/server_group.py +113 -162
  22. pulumi_alicloud/kvstore/audit_log_config.py +7 -7
  23. pulumi_alicloud/kvstore/backup_policy.py +9 -9
  24. pulumi_alicloud/kvstore/get_instance_classes.py +8 -8
  25. pulumi_alicloud/kvstore/get_instances.py +7 -9
  26. pulumi_alicloud/kvstore/instance.py +21 -21
  27. pulumi_alicloud/kvstore/outputs.py +6 -6
  28. pulumi_alicloud/nas/_inputs.py +0 -148
  29. pulumi_alicloud/nas/file_system.py +222 -482
  30. pulumi_alicloud/nas/outputs.py +0 -109
  31. pulumi_alicloud/pai/__init__.py +0 -7
  32. pulumi_alicloud/pai/workspace_workspace.py +6 -6
  33. pulumi_alicloud/pulumi-plugin.json +1 -1
  34. {pulumi_alicloud-3.68.0.dist-info → pulumi_alicloud-3.68.0a1732598392.dist-info}/METADATA +1 -1
  35. {pulumi_alicloud-3.68.0.dist-info → pulumi_alicloud-3.68.0a1732598392.dist-info}/RECORD +37 -45
  36. pulumi_alicloud/gwlb/get_zones.py +0 -173
  37. pulumi_alicloud/pai/_inputs.py +0 -129
  38. pulumi_alicloud/pai/outputs.py +0 -83
  39. pulumi_alicloud/pai/workspace_code_source.py +0 -702
  40. pulumi_alicloud/pai/workspace_dataset.py +0 -1081
  41. pulumi_alicloud/pai/workspace_datasetversion.py +0 -818
  42. pulumi_alicloud/pai/workspace_experiment.py +0 -394
  43. pulumi_alicloud/pai/workspace_run.py +0 -344
  44. {pulumi_alicloud-3.68.0.dist-info → pulumi_alicloud-3.68.0a1732598392.dist-info}/WHEEL +0 -0
  45. {pulumi_alicloud-3.68.0.dist-info → pulumi_alicloud-3.68.0a1732598392.dist-info}/top_level.txt +0 -0
@@ -21,14 +21,6 @@ __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',
32
24
  'ClusterNodeGroupAutoScalingPolicy',
33
25
  'ClusterNodeGroupAutoScalingPolicyConstraints',
34
26
  'ClusterNodeGroupAutoScalingPolicyScalingRule',
@@ -215,7 +207,7 @@ class ClusterBootstrapScript(dict):
215
207
  script_path: str,
216
208
  priority: Optional[int] = None):
217
209
  """
218
- :param str execution_fail_strategy: The bootstrap scripts execution fail strategy, ’FAILED_BLOCK’ or ‘FAILED_CONTINUE’ .
210
+ :param str execution_fail_strategy: The bootstrap scripts execution fail strategy, ’FAILED_BLOCKED’ or ‘FAILED_CONTINUE’ .
219
211
  :param str execution_moment: The bootstrap scripts execution moment, ’BEFORE_INSTALL’ or ‘AFTER_STARTED’ .
220
212
  :param 'ClusterBootstrapScriptNodeSelectorArgs' node_selector: The bootstrap scripts execution target. See `node_selector` below.
221
213
  :param str script_args: The bootstrap script args, e.g. "--a=b".
@@ -236,7 +228,7 @@ class ClusterBootstrapScript(dict):
236
228
  @pulumi.getter(name="executionFailStrategy")
237
229
  def execution_fail_strategy(self) -> str:
238
230
  """
239
- The bootstrap scripts execution fail strategy, ’FAILED_BLOCK’ or ‘FAILED_CONTINUE’ .
231
+ The bootstrap scripts execution fail strategy, ’FAILED_BLOCKED’ or ‘FAILED_CONTINUE’ .
240
232
  """
241
233
  return pulumi.get(self, "execution_fail_strategy")
242
234
 
@@ -535,8 +527,6 @@ class ClusterNodeGroup(dict):
535
527
  suggest = "node_group_type"
536
528
  elif key == "systemDisk":
537
529
  suggest = "system_disk"
538
- elif key == "ackConfig":
539
- suggest = "ack_config"
540
530
  elif key == "additionalSecurityGroupIds":
541
531
  suggest = "additional_security_group_ids"
542
532
  elif key == "autoScalingPolicy":
@@ -555,8 +545,6 @@ class ClusterNodeGroup(dict):
555
545
  suggest = "spot_bid_prices"
556
546
  elif key == "spotInstanceRemedy":
557
547
  suggest = "spot_instance_remedy"
558
- elif key == "spotStrategy":
559
- suggest = "spot_strategy"
560
548
  elif key == "subscriptionConfig":
561
549
  suggest = "subscription_config"
562
550
  elif key == "vswitchIds":
@@ -582,7 +570,6 @@ class ClusterNodeGroup(dict):
582
570
  node_group_name: str,
583
571
  node_group_type: str,
584
572
  system_disk: 'outputs.ClusterNodeGroupSystemDisk',
585
- ack_config: Optional['outputs.ClusterNodeGroupAckConfig'] = None,
586
573
  additional_security_group_ids: Optional[Sequence[str]] = None,
587
574
  auto_scaling_policy: Optional['outputs.ClusterNodeGroupAutoScalingPolicy'] = None,
588
575
  cost_optimized_config: Optional['outputs.ClusterNodeGroupCostOptimizedConfig'] = None,
@@ -592,31 +579,28 @@ class ClusterNodeGroup(dict):
592
579
  payment_type: Optional[str] = None,
593
580
  spot_bid_prices: Optional[Sequence['outputs.ClusterNodeGroupSpotBidPrice']] = None,
594
581
  spot_instance_remedy: Optional[bool] = None,
595
- spot_strategy: Optional[str] = None,
596
582
  subscription_config: Optional['outputs.ClusterNodeGroupSubscriptionConfig'] = None,
597
583
  vswitch_ids: Optional[Sequence[str]] = None,
598
584
  with_public_ip: Optional[bool] = None):
599
585
  """
600
586
  :param Sequence['ClusterNodeGroupDataDiskArgs'] data_disks: Host Ecs data disks information in this node group. See `data_disks` below.
601
- :param Sequence[str] instance_types: Host Ecs instance types. **NOTE:** From version 1.236.0, `instance_types` can be modified.
587
+ :param Sequence[str] instance_types: Host Ecs instance types. **NOTE:** From version 1.230.1, `instance_types` can not be modified.
602
588
  :param int node_count: Host Ecs number in this node group.
603
589
  :param str node_group_name: The node group name of emr cluster.
604
590
  :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.
605
591
  :param 'ClusterNodeGroupSystemDiskArgs' system_disk: Host Ecs system disk information in this node group. See `system_disk` below.
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.
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.
608
593
  :param 'ClusterNodeGroupAutoScalingPolicyArgs' auto_scaling_policy: The node group auto scaling policy for emr cluster. See `auto_scaling_policy` below.
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.
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.
611
596
  :param bool graceful_shutdown: Enable emr cluster of task node graceful decommission, ’true’ or ‘false’ .
612
597
  :param str node_resize_strategy: Node resize strategy for this cluster node group. Supported value: PRIORITY, COST_OPTIMIZED.
613
598
  :param str payment_type: Payment Type for this cluster. Supported value: PayAsYouGo or Subscription.
614
599
  :param Sequence['ClusterNodeGroupSpotBidPriceArgs'] spot_bid_prices: The spot bid prices of a PayAsYouGo instance. See `spot_bid_prices` below.
615
600
  :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`.
617
601
  :param 'ClusterNodeGroupSubscriptionConfigArgs' subscription_config: The detail configuration of subscription payment type. See `subscription_config` below.
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.
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.
620
604
  """
621
605
  pulumi.set(__self__, "data_disks", data_disks)
622
606
  pulumi.set(__self__, "instance_types", instance_types)
@@ -624,8 +608,6 @@ class ClusterNodeGroup(dict):
624
608
  pulumi.set(__self__, "node_group_name", node_group_name)
625
609
  pulumi.set(__self__, "node_group_type", node_group_type)
626
610
  pulumi.set(__self__, "system_disk", system_disk)
627
- if ack_config is not None:
628
- pulumi.set(__self__, "ack_config", ack_config)
629
611
  if additional_security_group_ids is not None:
630
612
  pulumi.set(__self__, "additional_security_group_ids", additional_security_group_ids)
631
613
  if auto_scaling_policy is not None:
@@ -644,8 +626,6 @@ class ClusterNodeGroup(dict):
644
626
  pulumi.set(__self__, "spot_bid_prices", spot_bid_prices)
645
627
  if spot_instance_remedy is not None:
646
628
  pulumi.set(__self__, "spot_instance_remedy", spot_instance_remedy)
647
- if spot_strategy is not None:
648
- pulumi.set(__self__, "spot_strategy", spot_strategy)
649
629
  if subscription_config is not None:
650
630
  pulumi.set(__self__, "subscription_config", subscription_config)
651
631
  if vswitch_ids is not None:
@@ -665,7 +645,7 @@ class ClusterNodeGroup(dict):
665
645
  @pulumi.getter(name="instanceTypes")
666
646
  def instance_types(self) -> Sequence[str]:
667
647
  """
668
- Host Ecs instance types. **NOTE:** From version 1.236.0, `instance_types` can be modified.
648
+ Host Ecs instance types. **NOTE:** From version 1.230.1, `instance_types` can not be modified.
669
649
  """
670
650
  return pulumi.get(self, "instance_types")
671
651
 
@@ -701,19 +681,11 @@ class ClusterNodeGroup(dict):
701
681
  """
702
682
  return pulumi.get(self, "system_disk")
703
683
 
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
-
712
684
  @property
713
685
  @pulumi.getter(name="additionalSecurityGroupIds")
714
686
  def additional_security_group_ids(self) -> Optional[Sequence[str]]:
715
687
  """
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.
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.
717
689
  """
718
690
  return pulumi.get(self, "additional_security_group_ids")
719
691
 
@@ -729,7 +701,7 @@ class ClusterNodeGroup(dict):
729
701
  @pulumi.getter(name="costOptimizedConfig")
730
702
  def cost_optimized_config(self) -> Optional['outputs.ClusterNodeGroupCostOptimizedConfig']:
731
703
  """
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.
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.
733
705
  """
734
706
  return pulumi.get(self, "cost_optimized_config")
735
707
 
@@ -737,7 +709,7 @@ class ClusterNodeGroup(dict):
737
709
  @pulumi.getter(name="deploymentSetStrategy")
738
710
  def deployment_set_strategy(self) -> Optional[str]:
739
711
  """
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.
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.
741
713
  """
742
714
  return pulumi.get(self, "deployment_set_strategy")
743
715
 
@@ -781,14 +753,6 @@ class ClusterNodeGroup(dict):
781
753
  """
782
754
  return pulumi.get(self, "spot_instance_remedy")
783
755
 
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
-
792
756
  @property
793
757
  @pulumi.getter(name="subscriptionConfig")
794
758
  def subscription_config(self) -> Optional['outputs.ClusterNodeGroupSubscriptionConfig']:
@@ -801,7 +765,7 @@ class ClusterNodeGroup(dict):
801
765
  @pulumi.getter(name="vswitchIds")
802
766
  def vswitch_ids(self) -> Optional[Sequence[str]]:
803
767
  """
804
- Global vSwitch ids, you can also specify it in node group. **NOTE:** From version 1.236.0, `vswitch_ids` can be modified.
768
+ Global vSwitch ids, you can also specify it in node group. **NOTE:** From version 1.230.1, `vswitch_ids` can not be modified.
805
769
  """
806
770
  return pulumi.get(self, "vswitch_ids")
807
771
 
@@ -809,541 +773,11 @@ class ClusterNodeGroup(dict):
809
773
  @pulumi.getter(name="withPublicIp")
810
774
  def with_public_ip(self) -> Optional[bool]:
811
775
  """
812
- Whether the node has a public IP address enabled. **NOTE:** From version 1.236.0, `with_public_ip` can be modified.
776
+ Whether the node has a public IP address enabled. **NOTE:** From version 1.230.1, `with_public_ip` can not be modified.
813
777
  """
814
778
  return pulumi.get(self, "with_public_ip")
815
779
 
816
780
 
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
-
1347
781
  @pulumi.output_type
1348
782
  class ClusterNodeGroupAutoScalingPolicy(dict):
1349
783
  @staticmethod