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
@@ -697,45 +697,80 @@ class GetChildInstanceRouteEntryToAttachmentsAttachmentResult(dict):
697
697
  class GetFlowlogsFlowlogResult(dict):
698
698
  def __init__(__self__, *,
699
699
  cen_id: str,
700
+ create_time: str,
700
701
  description: str,
701
702
  flow_log_id: str,
702
703
  flow_log_name: str,
704
+ flow_log_version: str,
703
705
  id: str,
706
+ interval: int,
707
+ log_format_string: str,
704
708
  log_store_name: str,
705
709
  project_name: str,
706
- status: str):
710
+ record_total: str,
711
+ region_id: str,
712
+ status: str,
713
+ tags: Mapping[str, str],
714
+ transit_router_attachment_id: str,
715
+ transit_router_id: str):
707
716
  """
708
- :param str cen_id: The ID of the CEN Instance.
709
- :param str description: The description of flowlog.
710
- :param str flow_log_id: ID of the CEN flow log.
711
- :param str flow_log_name: The name of flowlog.
712
- :param str id: ID of the CEN flow log.
713
- :param str log_store_name: The name of the log store which is in the `project_name` SLS project.
714
- :param str project_name: The name of the SLS project.
715
- :param str status: The status of flowlog. Valid values: ["Active", "Inactive"]. Default to "Active".
717
+ :param str cen_id: The ID of Cen instance.
718
+ :param str create_time: The createTime of flowlog.
719
+ :param str description: The description of the flowlog.
720
+ :param str flow_log_id: The ID of FlowLog.
721
+ :param str flow_log_name: The name of the flowlog.
722
+ :param str flow_log_version: Flowlog Version.
723
+ :param str id: The ID of FlowLog.
724
+ :param int interval: The duration of the capture window for the flow log to capture traffic. Unit: seconds. Valid values: **60** or **600 * *. Default value: **600 * *.
725
+ :param str log_format_string: (Available since v1.236.0) Log Format.
726
+ :param str log_store_name: The LogStore that stores the flowlog.
727
+ :param str project_name: The Project that stores the flowlog.
728
+ :param str record_total: (Available since v1.236.0) Total number of records.
729
+ :param str region_id: Region id
730
+ :param str status: The status of the flow log. Valid values:-**Active**: started.-**InActive**: not started.
731
+ :param Mapping[str, str] tags: The tag of the resource.
732
+ :param str transit_router_attachment_id: (Available since v1.236.0) Cross-region Connection ID or VBR connection ID.> This parameter is required.
733
+ :param str transit_router_id: Transit Router ID
716
734
  """
717
735
  pulumi.set(__self__, "cen_id", cen_id)
736
+ pulumi.set(__self__, "create_time", create_time)
718
737
  pulumi.set(__self__, "description", description)
719
738
  pulumi.set(__self__, "flow_log_id", flow_log_id)
720
739
  pulumi.set(__self__, "flow_log_name", flow_log_name)
740
+ pulumi.set(__self__, "flow_log_version", flow_log_version)
721
741
  pulumi.set(__self__, "id", id)
742
+ pulumi.set(__self__, "interval", interval)
743
+ pulumi.set(__self__, "log_format_string", log_format_string)
722
744
  pulumi.set(__self__, "log_store_name", log_store_name)
723
745
  pulumi.set(__self__, "project_name", project_name)
746
+ pulumi.set(__self__, "record_total", record_total)
747
+ pulumi.set(__self__, "region_id", region_id)
724
748
  pulumi.set(__self__, "status", status)
749
+ pulumi.set(__self__, "tags", tags)
750
+ pulumi.set(__self__, "transit_router_attachment_id", transit_router_attachment_id)
751
+ pulumi.set(__self__, "transit_router_id", transit_router_id)
725
752
 
726
753
  @property
727
754
  @pulumi.getter(name="cenId")
728
755
  def cen_id(self) -> str:
729
756
  """
730
- The ID of the CEN Instance.
757
+ The ID of Cen instance.
731
758
  """
732
759
  return pulumi.get(self, "cen_id")
733
760
 
761
+ @property
762
+ @pulumi.getter(name="createTime")
763
+ def create_time(self) -> str:
764
+ """
765
+ The createTime of flowlog.
766
+ """
767
+ return pulumi.get(self, "create_time")
768
+
734
769
  @property
735
770
  @pulumi.getter
736
771
  def description(self) -> str:
737
772
  """
738
- The description of flowlog.
773
+ The description of the flowlog.
739
774
  """
740
775
  return pulumi.get(self, "description")
741
776
 
@@ -743,7 +778,7 @@ class GetFlowlogsFlowlogResult(dict):
743
778
  @pulumi.getter(name="flowLogId")
744
779
  def flow_log_id(self) -> str:
745
780
  """
746
- ID of the CEN flow log.
781
+ The ID of FlowLog.
747
782
  """
748
783
  return pulumi.get(self, "flow_log_id")
749
784
 
@@ -751,23 +786,47 @@ class GetFlowlogsFlowlogResult(dict):
751
786
  @pulumi.getter(name="flowLogName")
752
787
  def flow_log_name(self) -> str:
753
788
  """
754
- The name of flowlog.
789
+ The name of the flowlog.
755
790
  """
756
791
  return pulumi.get(self, "flow_log_name")
757
792
 
793
+ @property
794
+ @pulumi.getter(name="flowLogVersion")
795
+ def flow_log_version(self) -> str:
796
+ """
797
+ Flowlog Version.
798
+ """
799
+ return pulumi.get(self, "flow_log_version")
800
+
758
801
  @property
759
802
  @pulumi.getter
760
803
  def id(self) -> str:
761
804
  """
762
- ID of the CEN flow log.
805
+ The ID of FlowLog.
763
806
  """
764
807
  return pulumi.get(self, "id")
765
808
 
809
+ @property
810
+ @pulumi.getter
811
+ def interval(self) -> int:
812
+ """
813
+ The duration of the capture window for the flow log to capture traffic. Unit: seconds. Valid values: **60** or **600 * *. Default value: **600 * *.
814
+ """
815
+ return pulumi.get(self, "interval")
816
+
817
+ @property
818
+ @pulumi.getter(name="logFormatString")
819
+ def log_format_string(self) -> str:
820
+ """
821
+ (Available since v1.236.0) Log Format.
822
+ """
823
+ return pulumi.get(self, "log_format_string")
824
+
766
825
  @property
767
826
  @pulumi.getter(name="logStoreName")
768
827
  def log_store_name(self) -> str:
769
828
  """
770
- The name of the log store which is in the `project_name` SLS project.
829
+ The LogStore that stores the flowlog.
771
830
  """
772
831
  return pulumi.get(self, "log_store_name")
773
832
 
@@ -775,18 +834,58 @@ class GetFlowlogsFlowlogResult(dict):
775
834
  @pulumi.getter(name="projectName")
776
835
  def project_name(self) -> str:
777
836
  """
778
- The name of the SLS project.
837
+ The Project that stores the flowlog.
779
838
  """
780
839
  return pulumi.get(self, "project_name")
781
840
 
841
+ @property
842
+ @pulumi.getter(name="recordTotal")
843
+ def record_total(self) -> str:
844
+ """
845
+ (Available since v1.236.0) Total number of records.
846
+ """
847
+ return pulumi.get(self, "record_total")
848
+
849
+ @property
850
+ @pulumi.getter(name="regionId")
851
+ def region_id(self) -> str:
852
+ """
853
+ Region id
854
+ """
855
+ return pulumi.get(self, "region_id")
856
+
782
857
  @property
783
858
  @pulumi.getter
784
859
  def status(self) -> str:
785
860
  """
786
- The status of flowlog. Valid values: ["Active", "Inactive"]. Default to "Active".
861
+ The status of the flow log. Valid values:-**Active**: started.-**InActive**: not started.
787
862
  """
788
863
  return pulumi.get(self, "status")
789
864
 
865
+ @property
866
+ @pulumi.getter
867
+ def tags(self) -> Mapping[str, str]:
868
+ """
869
+ The tag of the resource.
870
+ """
871
+ return pulumi.get(self, "tags")
872
+
873
+ @property
874
+ @pulumi.getter(name="transitRouterAttachmentId")
875
+ def transit_router_attachment_id(self) -> str:
876
+ """
877
+ (Available since v1.236.0) Cross-region Connection ID or VBR connection ID.> This parameter is required.
878
+ """
879
+ return pulumi.get(self, "transit_router_attachment_id")
880
+
881
+ @property
882
+ @pulumi.getter(name="transitRouterId")
883
+ def transit_router_id(self) -> str:
884
+ """
885
+ Transit Router ID
886
+ """
887
+ return pulumi.get(self, "transit_router_id")
888
+
790
889
 
791
890
  @pulumi.output_type
792
891
  class GetInstanceAttachmentsAttachmentResult(dict):
@@ -820,8 +820,8 @@ class Rule(pulumi.CustomResource):
820
820
  resource_types_scopes=["ACS::RDS::DBInstance"],
821
821
  rule_name="contains-tag",
822
822
  input_parameters={
823
- "key": "example",
824
- "value": "example",
823
+ "key1": "value1",
824
+ "key2": "key2",
825
825
  })
826
826
  ```
827
827
 
@@ -892,8 +892,8 @@ class Rule(pulumi.CustomResource):
892
892
  resource_types_scopes=["ACS::RDS::DBInstance"],
893
893
  rule_name="contains-tag",
894
894
  input_parameters={
895
- "key": "example",
896
- "value": "example",
895
+ "key1": "value1",
896
+ "key2": "key2",
897
897
  })
898
898
  ```
899
899
 
@@ -29,6 +29,7 @@ class AutoscalingConfigArgs:
29
29
  recycle_node_deletion_enabled: Optional[pulumi.Input[bool]] = None,
30
30
  scale_down_enabled: Optional[pulumi.Input[bool]] = None,
31
31
  scale_up_from_zero: Optional[pulumi.Input[bool]] = None,
32
+ scaler_type: Optional[pulumi.Input[str]] = None,
32
33
  scan_interval: Optional[pulumi.Input[str]] = None,
33
34
  skip_nodes_with_local_storage: Optional[pulumi.Input[bool]] = None,
34
35
  skip_nodes_with_system_pods: Optional[pulumi.Input[bool]] = None,
@@ -46,6 +47,7 @@ class AutoscalingConfigArgs:
46
47
  :param pulumi.Input[bool] recycle_node_deletion_enabled: Should CA delete the K8s node object when recycle node has scaled down successfully. Default is `false`.
47
48
  :param pulumi.Input[bool] scale_down_enabled: Specify whether to allow the scale-in of nodes. Default is `true`.
48
49
  :param pulumi.Input[bool] scale_up_from_zero: Should CA scale up when there 0 ready nodes. Default is `true`.
50
+ :param pulumi.Input[str] scaler_type: The type of autoscaler. Valid values: `cluster-autoscaler`, `goatscaler`. For cluster version 1.22 and below, we only support `cluster-autoscaler`.
49
51
  :param pulumi.Input[str] scan_interval: The interval at which the cluster is reevaluated for scaling. Default is `30s`.
50
52
  :param pulumi.Input[bool] skip_nodes_with_local_storage: If true cluster autoscaler will never delete nodes with pods with local storage, e.g. EmptyDir or HostPath. Default is `false`.
51
53
  :param pulumi.Input[bool] skip_nodes_with_system_pods: If true cluster autoscaler will never delete nodes with pods from kube-system (except for DaemonSet or mirror pods). Default is `true`.
@@ -72,6 +74,8 @@ class AutoscalingConfigArgs:
72
74
  pulumi.set(__self__, "scale_down_enabled", scale_down_enabled)
73
75
  if scale_up_from_zero is not None:
74
76
  pulumi.set(__self__, "scale_up_from_zero", scale_up_from_zero)
77
+ if scaler_type is not None:
78
+ pulumi.set(__self__, "scaler_type", scaler_type)
75
79
  if scan_interval is not None:
76
80
  pulumi.set(__self__, "scan_interval", scan_interval)
77
81
  if skip_nodes_with_local_storage is not None:
@@ -203,6 +207,18 @@ class AutoscalingConfigArgs:
203
207
  def scale_up_from_zero(self, value: Optional[pulumi.Input[bool]]):
204
208
  pulumi.set(self, "scale_up_from_zero", value)
205
209
 
210
+ @property
211
+ @pulumi.getter(name="scalerType")
212
+ def scaler_type(self) -> Optional[pulumi.Input[str]]:
213
+ """
214
+ The type of autoscaler. Valid values: `cluster-autoscaler`, `goatscaler`. For cluster version 1.22 and below, we only support `cluster-autoscaler`.
215
+ """
216
+ return pulumi.get(self, "scaler_type")
217
+
218
+ @scaler_type.setter
219
+ def scaler_type(self, value: Optional[pulumi.Input[str]]):
220
+ pulumi.set(self, "scaler_type", value)
221
+
206
222
  @property
207
223
  @pulumi.getter(name="scanInterval")
208
224
  def scan_interval(self) -> Optional[pulumi.Input[str]]:
@@ -277,6 +293,7 @@ class _AutoscalingConfigState:
277
293
  recycle_node_deletion_enabled: Optional[pulumi.Input[bool]] = None,
278
294
  scale_down_enabled: Optional[pulumi.Input[bool]] = None,
279
295
  scale_up_from_zero: Optional[pulumi.Input[bool]] = None,
296
+ scaler_type: Optional[pulumi.Input[str]] = None,
280
297
  scan_interval: Optional[pulumi.Input[str]] = None,
281
298
  skip_nodes_with_local_storage: Optional[pulumi.Input[bool]] = None,
282
299
  skip_nodes_with_system_pods: Optional[pulumi.Input[bool]] = None,
@@ -294,6 +311,7 @@ class _AutoscalingConfigState:
294
311
  :param pulumi.Input[bool] recycle_node_deletion_enabled: Should CA delete the K8s node object when recycle node has scaled down successfully. Default is `false`.
295
312
  :param pulumi.Input[bool] scale_down_enabled: Specify whether to allow the scale-in of nodes. Default is `true`.
296
313
  :param pulumi.Input[bool] scale_up_from_zero: Should CA scale up when there 0 ready nodes. Default is `true`.
314
+ :param pulumi.Input[str] scaler_type: The type of autoscaler. Valid values: `cluster-autoscaler`, `goatscaler`. For cluster version 1.22 and below, we only support `cluster-autoscaler`.
297
315
  :param pulumi.Input[str] scan_interval: The interval at which the cluster is reevaluated for scaling. Default is `30s`.
298
316
  :param pulumi.Input[bool] skip_nodes_with_local_storage: If true cluster autoscaler will never delete nodes with pods with local storage, e.g. EmptyDir or HostPath. Default is `false`.
299
317
  :param pulumi.Input[bool] skip_nodes_with_system_pods: If true cluster autoscaler will never delete nodes with pods from kube-system (except for DaemonSet or mirror pods). Default is `true`.
@@ -320,6 +338,8 @@ class _AutoscalingConfigState:
320
338
  pulumi.set(__self__, "scale_down_enabled", scale_down_enabled)
321
339
  if scale_up_from_zero is not None:
322
340
  pulumi.set(__self__, "scale_up_from_zero", scale_up_from_zero)
341
+ if scaler_type is not None:
342
+ pulumi.set(__self__, "scaler_type", scaler_type)
323
343
  if scan_interval is not None:
324
344
  pulumi.set(__self__, "scan_interval", scan_interval)
325
345
  if skip_nodes_with_local_storage is not None:
@@ -451,6 +471,18 @@ class _AutoscalingConfigState:
451
471
  def scale_up_from_zero(self, value: Optional[pulumi.Input[bool]]):
452
472
  pulumi.set(self, "scale_up_from_zero", value)
453
473
 
474
+ @property
475
+ @pulumi.getter(name="scalerType")
476
+ def scaler_type(self) -> Optional[pulumi.Input[str]]:
477
+ """
478
+ The type of autoscaler. Valid values: `cluster-autoscaler`, `goatscaler`. For cluster version 1.22 and below, we only support `cluster-autoscaler`.
479
+ """
480
+ return pulumi.get(self, "scaler_type")
481
+
482
+ @scaler_type.setter
483
+ def scaler_type(self, value: Optional[pulumi.Input[str]]):
484
+ pulumi.set(self, "scaler_type", value)
485
+
454
486
  @property
455
487
  @pulumi.getter(name="scanInterval")
456
488
  def scan_interval(self) -> Optional[pulumi.Input[str]]:
@@ -527,6 +559,7 @@ class AutoscalingConfig(pulumi.CustomResource):
527
559
  recycle_node_deletion_enabled: Optional[pulumi.Input[bool]] = None,
528
560
  scale_down_enabled: Optional[pulumi.Input[bool]] = None,
529
561
  scale_up_from_zero: Optional[pulumi.Input[bool]] = None,
562
+ scaler_type: Optional[pulumi.Input[str]] = None,
530
563
  scan_interval: Optional[pulumi.Input[str]] = None,
531
564
  skip_nodes_with_local_storage: Optional[pulumi.Input[bool]] = None,
532
565
  skip_nodes_with_system_pods: Optional[pulumi.Input[bool]] = None,
@@ -542,6 +575,8 @@ class AutoscalingConfig(pulumi.CustomResource):
542
575
 
543
576
  > **NOTE:** From version 1.164.0, support for selecting the policy for selecting which node pool to scale by parameter `expander`.
544
577
 
578
+ > **NOTE:** From version 1.237.0, support for selecting the type of autoscaler by parameter `scaler_type`.
579
+
545
580
  :param str resource_name: The name of the resource.
546
581
  :param pulumi.ResourceOptions opts: Options for the resource.
547
582
  :param pulumi.Input[str] cluster_id: The id of kubernetes cluster.
@@ -554,6 +589,7 @@ class AutoscalingConfig(pulumi.CustomResource):
554
589
  :param pulumi.Input[bool] recycle_node_deletion_enabled: Should CA delete the K8s node object when recycle node has scaled down successfully. Default is `false`.
555
590
  :param pulumi.Input[bool] scale_down_enabled: Specify whether to allow the scale-in of nodes. Default is `true`.
556
591
  :param pulumi.Input[bool] scale_up_from_zero: Should CA scale up when there 0 ready nodes. Default is `true`.
592
+ :param pulumi.Input[str] scaler_type: The type of autoscaler. Valid values: `cluster-autoscaler`, `goatscaler`. For cluster version 1.22 and below, we only support `cluster-autoscaler`.
557
593
  :param pulumi.Input[str] scan_interval: The interval at which the cluster is reevaluated for scaling. Default is `30s`.
558
594
  :param pulumi.Input[bool] skip_nodes_with_local_storage: If true cluster autoscaler will never delete nodes with pods with local storage, e.g. EmptyDir or HostPath. Default is `false`.
559
595
  :param pulumi.Input[bool] skip_nodes_with_system_pods: If true cluster autoscaler will never delete nodes with pods from kube-system (except for DaemonSet or mirror pods). Default is `true`.
@@ -575,6 +611,8 @@ class AutoscalingConfig(pulumi.CustomResource):
575
611
 
576
612
  > **NOTE:** From version 1.164.0, support for selecting the policy for selecting which node pool to scale by parameter `expander`.
577
613
 
614
+ > **NOTE:** From version 1.237.0, support for selecting the type of autoscaler by parameter `scaler_type`.
615
+
578
616
  :param str resource_name: The name of the resource.
579
617
  :param AutoscalingConfigArgs args: The arguments to use to populate this resource's properties.
580
618
  :param pulumi.ResourceOptions opts: Options for the resource.
@@ -600,6 +638,7 @@ class AutoscalingConfig(pulumi.CustomResource):
600
638
  recycle_node_deletion_enabled: Optional[pulumi.Input[bool]] = None,
601
639
  scale_down_enabled: Optional[pulumi.Input[bool]] = None,
602
640
  scale_up_from_zero: Optional[pulumi.Input[bool]] = None,
641
+ scaler_type: Optional[pulumi.Input[str]] = None,
603
642
  scan_interval: Optional[pulumi.Input[str]] = None,
604
643
  skip_nodes_with_local_storage: Optional[pulumi.Input[bool]] = None,
605
644
  skip_nodes_with_system_pods: Optional[pulumi.Input[bool]] = None,
@@ -624,6 +663,7 @@ class AutoscalingConfig(pulumi.CustomResource):
624
663
  __props__.__dict__["recycle_node_deletion_enabled"] = recycle_node_deletion_enabled
625
664
  __props__.__dict__["scale_down_enabled"] = scale_down_enabled
626
665
  __props__.__dict__["scale_up_from_zero"] = scale_up_from_zero
666
+ __props__.__dict__["scaler_type"] = scaler_type
627
667
  __props__.__dict__["scan_interval"] = scan_interval
628
668
  __props__.__dict__["skip_nodes_with_local_storage"] = skip_nodes_with_local_storage
629
669
  __props__.__dict__["skip_nodes_with_system_pods"] = skip_nodes_with_system_pods
@@ -649,6 +689,7 @@ class AutoscalingConfig(pulumi.CustomResource):
649
689
  recycle_node_deletion_enabled: Optional[pulumi.Input[bool]] = None,
650
690
  scale_down_enabled: Optional[pulumi.Input[bool]] = None,
651
691
  scale_up_from_zero: Optional[pulumi.Input[bool]] = None,
692
+ scaler_type: Optional[pulumi.Input[str]] = None,
652
693
  scan_interval: Optional[pulumi.Input[str]] = None,
653
694
  skip_nodes_with_local_storage: Optional[pulumi.Input[bool]] = None,
654
695
  skip_nodes_with_system_pods: Optional[pulumi.Input[bool]] = None,
@@ -671,6 +712,7 @@ class AutoscalingConfig(pulumi.CustomResource):
671
712
  :param pulumi.Input[bool] recycle_node_deletion_enabled: Should CA delete the K8s node object when recycle node has scaled down successfully. Default is `false`.
672
713
  :param pulumi.Input[bool] scale_down_enabled: Specify whether to allow the scale-in of nodes. Default is `true`.
673
714
  :param pulumi.Input[bool] scale_up_from_zero: Should CA scale up when there 0 ready nodes. Default is `true`.
715
+ :param pulumi.Input[str] scaler_type: The type of autoscaler. Valid values: `cluster-autoscaler`, `goatscaler`. For cluster version 1.22 and below, we only support `cluster-autoscaler`.
674
716
  :param pulumi.Input[str] scan_interval: The interval at which the cluster is reevaluated for scaling. Default is `30s`.
675
717
  :param pulumi.Input[bool] skip_nodes_with_local_storage: If true cluster autoscaler will never delete nodes with pods with local storage, e.g. EmptyDir or HostPath. Default is `false`.
676
718
  :param pulumi.Input[bool] skip_nodes_with_system_pods: If true cluster autoscaler will never delete nodes with pods from kube-system (except for DaemonSet or mirror pods). Default is `true`.
@@ -691,6 +733,7 @@ class AutoscalingConfig(pulumi.CustomResource):
691
733
  __props__.__dict__["recycle_node_deletion_enabled"] = recycle_node_deletion_enabled
692
734
  __props__.__dict__["scale_down_enabled"] = scale_down_enabled
693
735
  __props__.__dict__["scale_up_from_zero"] = scale_up_from_zero
736
+ __props__.__dict__["scaler_type"] = scaler_type
694
737
  __props__.__dict__["scan_interval"] = scan_interval
695
738
  __props__.__dict__["skip_nodes_with_local_storage"] = skip_nodes_with_local_storage
696
739
  __props__.__dict__["skip_nodes_with_system_pods"] = skip_nodes_with_system_pods
@@ -778,6 +821,14 @@ class AutoscalingConfig(pulumi.CustomResource):
778
821
  """
779
822
  return pulumi.get(self, "scale_up_from_zero")
780
823
 
824
+ @property
825
+ @pulumi.getter(name="scalerType")
826
+ def scaler_type(self) -> pulumi.Output[Optional[str]]:
827
+ """
828
+ The type of autoscaler. Valid values: `cluster-autoscaler`, `goatscaler`. For cluster version 1.22 and below, we only support `cluster-autoscaler`.
829
+ """
830
+ return pulumi.get(self, "scaler_type")
831
+
781
832
  @property
782
833
  @pulumi.getter(name="scanInterval")
783
834
  def scan_interval(self) -> pulumi.Output[Optional[str]]:
@@ -118,6 +118,7 @@ class NodePoolArgs:
118
118
  - `Windows` : Windows image.
119
119
  - `WindowsCore` : WindowsCore image.
120
120
  - `ContainerOS` : container-optimized image.
121
+ - `Ubuntu`: (Available since v1.236.0) Ubuntu image.
121
122
  :param pulumi.Input[bool] install_cloud_monitor: Whether to install cloud monitoring on the ECS node. After installation, you can view the monitoring information of the created ECS instance in the cloud monitoring console and recommend enable it. Default value: `false`. Valid values:
122
123
  :param pulumi.Input[str] instance_charge_type: Node payment type. Valid values: `PostPaid`, `PrePaid`, default is `PostPaid`. If value is `PrePaid`, the arguments `period`, `period_unit`, `auto_renew` and `auto_renew_period` are required.
123
124
  :param pulumi.Input[Sequence[pulumi.Input[str]]] instances: The instance list. Add existing nodes under the same cluster VPC to the node pool.
@@ -527,6 +528,7 @@ class NodePoolArgs:
527
528
  - `Windows` : Windows image.
528
529
  - `WindowsCore` : WindowsCore image.
529
530
  - `ContainerOS` : container-optimized image.
531
+ - `Ubuntu`: (Available since v1.236.0) Ubuntu image.
530
532
  """
531
533
  return pulumi.get(self, "image_type")
532
534
 
@@ -1335,6 +1337,7 @@ class _NodePoolState:
1335
1337
  - `Windows` : Windows image.
1336
1338
  - `WindowsCore` : WindowsCore image.
1337
1339
  - `ContainerOS` : container-optimized image.
1340
+ - `Ubuntu`: (Available since v1.236.0) Ubuntu image.
1338
1341
  :param pulumi.Input[bool] install_cloud_monitor: Whether to install cloud monitoring on the ECS node. After installation, you can view the monitoring information of the created ECS instance in the cloud monitoring console and recommend enable it. Default value: `false`. Valid values:
1339
1342
  :param pulumi.Input[str] instance_charge_type: Node payment type. Valid values: `PostPaid`, `PrePaid`, default is `PostPaid`. If value is `PrePaid`, the arguments `period`, `period_unit`, `auto_renew` and `auto_renew_period` are required.
1340
1343
  :param pulumi.Input[Sequence[pulumi.Input[str]]] instance_types: In the node instance specification list, you can select multiple instance specifications as alternatives. When each node is created, it will try to purchase from the first specification until it is created successfully. The final purchased instance specifications may vary with inventory changes.
@@ -1731,6 +1734,7 @@ class _NodePoolState:
1731
1734
  - `Windows` : Windows image.
1732
1735
  - `WindowsCore` : WindowsCore image.
1733
1736
  - `ContainerOS` : container-optimized image.
1737
+ - `Ubuntu`: (Available since v1.236.0) Ubuntu image.
1734
1738
  """
1735
1739
  return pulumi.get(self, "image_type")
1736
1740
 
@@ -2601,6 +2605,7 @@ class NodePool(pulumi.CustomResource):
2601
2605
  - `Windows` : Windows image.
2602
2606
  - `WindowsCore` : WindowsCore image.
2603
2607
  - `ContainerOS` : container-optimized image.
2608
+ - `Ubuntu`: (Available since v1.236.0) Ubuntu image.
2604
2609
  :param pulumi.Input[bool] install_cloud_monitor: Whether to install cloud monitoring on the ECS node. After installation, you can view the monitoring information of the created ECS instance in the cloud monitoring console and recommend enable it. Default value: `false`. Valid values:
2605
2610
  :param pulumi.Input[str] instance_charge_type: Node payment type. Valid values: `PostPaid`, `PrePaid`, default is `PostPaid`. If value is `PrePaid`, the arguments `period`, `period_unit`, `auto_renew` and `auto_renew_period` are required.
2606
2611
  :param pulumi.Input[Sequence[pulumi.Input[str]]] instance_types: In the node instance specification list, you can select multiple instance specifications as alternatives. When each node is created, it will try to purchase from the first specification until it is created successfully. The final purchased instance specifications may vary with inventory changes.
@@ -2982,6 +2987,7 @@ class NodePool(pulumi.CustomResource):
2982
2987
  - `Windows` : Windows image.
2983
2988
  - `WindowsCore` : WindowsCore image.
2984
2989
  - `ContainerOS` : container-optimized image.
2990
+ - `Ubuntu`: (Available since v1.236.0) Ubuntu image.
2985
2991
  :param pulumi.Input[bool] install_cloud_monitor: Whether to install cloud monitoring on the ECS node. After installation, you can view the monitoring information of the created ECS instance in the cloud monitoring console and recommend enable it. Default value: `false`. Valid values:
2986
2992
  :param pulumi.Input[str] instance_charge_type: Node payment type. Valid values: `PostPaid`, `PrePaid`, default is `PostPaid`. If value is `PrePaid`, the arguments `period`, `period_unit`, `auto_renew` and `auto_renew_period` are required.
2987
2993
  :param pulumi.Input[Sequence[pulumi.Input[str]]] instance_types: In the node instance specification list, you can select multiple instance specifications as alternatives. When each node is created, it will try to purchase from the first specification until it is created successfully. The final purchased instance specifications may vary with inventory changes.
@@ -3246,6 +3252,7 @@ class NodePool(pulumi.CustomResource):
3246
3252
  - `Windows` : Windows image.
3247
3253
  - `WindowsCore` : WindowsCore image.
3248
3254
  - `ContainerOS` : container-optimized image.
3255
+ - `Ubuntu`: (Available since v1.236.0) Ubuntu image.
3249
3256
  """
3250
3257
  return pulumi.get(self, "image_type")
3251
3258
 
@@ -5,8 +5,12 @@
5
5
  from .. import _utilities
6
6
  import typing
7
7
  # Export this package's modules as members:
8
+ from .data_source import *
9
+ from .data_source_shared_rule import *
8
10
  from .folder import *
9
11
  from .get_folders import *
10
12
  from .get_service import *
11
13
  from .project import *
14
+ from .project_member import *
15
+ from ._inputs import *
12
16
  from . import outputs
@@ -0,0 +1,95 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from .. import _utilities
16
+
17
+ __all__ = [
18
+ 'ProjectMemberRoleArgs',
19
+ 'ProjectMemberRoleArgsDict',
20
+ ]
21
+
22
+ MYPY = False
23
+
24
+ if not MYPY:
25
+ class ProjectMemberRoleArgsDict(TypedDict):
26
+ code: NotRequired[pulumi.Input[str]]
27
+ """
28
+ Project Role Code.
29
+ """
30
+ name: NotRequired[pulumi.Input[str]]
31
+ """
32
+ project role name
33
+ """
34
+ type: NotRequired[pulumi.Input[str]]
35
+ """
36
+ project role type
37
+ """
38
+ elif False:
39
+ ProjectMemberRoleArgsDict: TypeAlias = Mapping[str, Any]
40
+
41
+ @pulumi.input_type
42
+ class ProjectMemberRoleArgs:
43
+ def __init__(__self__, *,
44
+ code: Optional[pulumi.Input[str]] = None,
45
+ name: Optional[pulumi.Input[str]] = None,
46
+ type: Optional[pulumi.Input[str]] = None):
47
+ """
48
+ :param pulumi.Input[str] code: Project Role Code.
49
+ :param pulumi.Input[str] name: project role name
50
+ :param pulumi.Input[str] type: project role type
51
+ """
52
+ if code is not None:
53
+ pulumi.set(__self__, "code", code)
54
+ if name is not None:
55
+ pulumi.set(__self__, "name", name)
56
+ if type is not None:
57
+ pulumi.set(__self__, "type", type)
58
+
59
+ @property
60
+ @pulumi.getter
61
+ def code(self) -> Optional[pulumi.Input[str]]:
62
+ """
63
+ Project Role Code.
64
+ """
65
+ return pulumi.get(self, "code")
66
+
67
+ @code.setter
68
+ def code(self, value: Optional[pulumi.Input[str]]):
69
+ pulumi.set(self, "code", value)
70
+
71
+ @property
72
+ @pulumi.getter
73
+ def name(self) -> Optional[pulumi.Input[str]]:
74
+ """
75
+ project role name
76
+ """
77
+ return pulumi.get(self, "name")
78
+
79
+ @name.setter
80
+ def name(self, value: Optional[pulumi.Input[str]]):
81
+ pulumi.set(self, "name", value)
82
+
83
+ @property
84
+ @pulumi.getter
85
+ def type(self) -> Optional[pulumi.Input[str]]:
86
+ """
87
+ project role type
88
+ """
89
+ return pulumi.get(self, "type")
90
+
91
+ @type.setter
92
+ def type(self, value: Optional[pulumi.Input[str]]):
93
+ pulumi.set(self, "type", value)
94
+
95
+