pulumi-alicloud 3.59.0a1720516341__py3-none-any.whl → 3.59.0a1720785756__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.
- pulumi_alicloud/__init__.py +48 -0
- pulumi_alicloud/adb/resource_group.py +115 -119
- pulumi_alicloud/clickhouse/get_regions.py +2 -2
- pulumi_alicloud/cloudstoragegateway/gateway_cache_disk.py +150 -27
- pulumi_alicloud/dfs/file_system.py +52 -19
- pulumi_alicloud/ecs/_inputs.py +132 -8
- pulumi_alicloud/ecs/image.py +607 -121
- pulumi_alicloud/ecs/outputs.py +131 -8
- pulumi_alicloud/emrv2/_inputs.py +490 -0
- pulumi_alicloud/emrv2/cluster.py +14 -14
- pulumi_alicloud/emrv2/outputs.py +500 -0
- pulumi_alicloud/ens/__init__.py +2 -0
- pulumi_alicloud/ens/eip_instance_attachment.py +480 -0
- pulumi_alicloud/ens/instance.py +16 -17
- pulumi_alicloud/ens/nat_gateway.py +458 -0
- pulumi_alicloud/ess/eci_scaling_configuration.py +94 -0
- pulumi_alicloud/ess/scaling_group.py +94 -0
- pulumi_alicloud/ga/bandwidth_package_attachment.py +34 -34
- pulumi_alicloud/ga/listener.py +122 -0
- pulumi_alicloud/gpdb/__init__.py +4 -0
- pulumi_alicloud/gpdb/external_data_service.py +485 -0
- pulumi_alicloud/gpdb/remote_adb_data_source.py +763 -0
- pulumi_alicloud/gpdb/streaming_data_service.py +481 -0
- pulumi_alicloud/gpdb/streaming_data_source.py +645 -0
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/redis/tair_instance.py +161 -67
- {pulumi_alicloud-3.59.0a1720516341.dist-info → pulumi_alicloud-3.59.0a1720785756.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.59.0a1720516341.dist-info → pulumi_alicloud-3.59.0a1720785756.dist-info}/RECORD +30 -24
- {pulumi_alicloud-3.59.0a1720516341.dist-info → pulumi_alicloud-3.59.0a1720785756.dist-info}/WHEEL +1 -1
- {pulumi_alicloud-3.59.0a1720516341.dist-info → pulumi_alicloud-3.59.0a1720785756.dist-info}/top_level.txt +0 -0
pulumi_alicloud/emrv2/outputs.py
CHANGED
|
@@ -16,6 +16,14 @@ __all__ = [
|
|
|
16
16
|
'ClusterBootstrapScriptNodeSelector',
|
|
17
17
|
'ClusterNodeAttribute',
|
|
18
18
|
'ClusterNodeGroup',
|
|
19
|
+
'ClusterNodeGroupAutoScalingPolicy',
|
|
20
|
+
'ClusterNodeGroupAutoScalingPolicyConstraints',
|
|
21
|
+
'ClusterNodeGroupAutoScalingPolicyScalingRule',
|
|
22
|
+
'ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTrigger',
|
|
23
|
+
'ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerCondition',
|
|
24
|
+
'ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerConditionTag',
|
|
25
|
+
'ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerTimeConstraint',
|
|
26
|
+
'ClusterNodeGroupAutoScalingPolicyScalingRuleTimeTrigger',
|
|
19
27
|
'ClusterNodeGroupCostOptimizedConfig',
|
|
20
28
|
'ClusterNodeGroupDataDisk',
|
|
21
29
|
'ClusterNodeGroupSpotBidPrice',
|
|
@@ -261,6 +269,7 @@ class ClusterBootstrapScript(dict):
|
|
|
261
269
|
|
|
262
270
|
@property
|
|
263
271
|
@pulumi.getter
|
|
272
|
+
@_utilities.deprecated("""Field 'priority' has been deprecated from provider version 1.227.0.""")
|
|
264
273
|
def priority(self) -> Optional[int]:
|
|
265
274
|
"""
|
|
266
275
|
The bootstrap scripts priority.
|
|
@@ -277,8 +286,12 @@ class ClusterBootstrapScriptNodeSelector(dict):
|
|
|
277
286
|
suggest = "node_select_type"
|
|
278
287
|
elif key == "nodeGroupId":
|
|
279
288
|
suggest = "node_group_id"
|
|
289
|
+
elif key == "nodeGroupIds":
|
|
290
|
+
suggest = "node_group_ids"
|
|
280
291
|
elif key == "nodeGroupName":
|
|
281
292
|
suggest = "node_group_name"
|
|
293
|
+
elif key == "nodeGroupNames":
|
|
294
|
+
suggest = "node_group_names"
|
|
282
295
|
elif key == "nodeGroupTypes":
|
|
283
296
|
suggest = "node_group_types"
|
|
284
297
|
elif key == "nodeNames":
|
|
@@ -298,14 +311,20 @@ class ClusterBootstrapScriptNodeSelector(dict):
|
|
|
298
311
|
def __init__(__self__, *,
|
|
299
312
|
node_select_type: str,
|
|
300
313
|
node_group_id: Optional[str] = None,
|
|
314
|
+
node_group_ids: Optional[Sequence[str]] = None,
|
|
301
315
|
node_group_name: Optional[str] = None,
|
|
316
|
+
node_group_names: Optional[Sequence[str]] = None,
|
|
302
317
|
node_group_types: Optional[Sequence[str]] = None,
|
|
303
318
|
node_names: Optional[Sequence[str]] = None):
|
|
304
319
|
pulumi.set(__self__, "node_select_type", node_select_type)
|
|
305
320
|
if node_group_id is not None:
|
|
306
321
|
pulumi.set(__self__, "node_group_id", node_group_id)
|
|
322
|
+
if node_group_ids is not None:
|
|
323
|
+
pulumi.set(__self__, "node_group_ids", node_group_ids)
|
|
307
324
|
if node_group_name is not None:
|
|
308
325
|
pulumi.set(__self__, "node_group_name", node_group_name)
|
|
326
|
+
if node_group_names is not None:
|
|
327
|
+
pulumi.set(__self__, "node_group_names", node_group_names)
|
|
309
328
|
if node_group_types is not None:
|
|
310
329
|
pulumi.set(__self__, "node_group_types", node_group_types)
|
|
311
330
|
if node_names is not None:
|
|
@@ -318,14 +337,26 @@ class ClusterBootstrapScriptNodeSelector(dict):
|
|
|
318
337
|
|
|
319
338
|
@property
|
|
320
339
|
@pulumi.getter(name="nodeGroupId")
|
|
340
|
+
@_utilities.deprecated("""Field 'node_group_id' has been deprecated from provider version 1.227.0. New field 'node_group_ids' replaces it.""")
|
|
321
341
|
def node_group_id(self) -> Optional[str]:
|
|
322
342
|
return pulumi.get(self, "node_group_id")
|
|
323
343
|
|
|
344
|
+
@property
|
|
345
|
+
@pulumi.getter(name="nodeGroupIds")
|
|
346
|
+
def node_group_ids(self) -> Optional[Sequence[str]]:
|
|
347
|
+
return pulumi.get(self, "node_group_ids")
|
|
348
|
+
|
|
324
349
|
@property
|
|
325
350
|
@pulumi.getter(name="nodeGroupName")
|
|
351
|
+
@_utilities.deprecated("""Field 'node_group_name' has been deprecated from provider version 1.227.0. New field 'node_group_names' replaces it.""")
|
|
326
352
|
def node_group_name(self) -> Optional[str]:
|
|
327
353
|
return pulumi.get(self, "node_group_name")
|
|
328
354
|
|
|
355
|
+
@property
|
|
356
|
+
@pulumi.getter(name="nodeGroupNames")
|
|
357
|
+
def node_group_names(self) -> Optional[Sequence[str]]:
|
|
358
|
+
return pulumi.get(self, "node_group_names")
|
|
359
|
+
|
|
329
360
|
@property
|
|
330
361
|
@pulumi.getter(name="nodeGroupTypes")
|
|
331
362
|
def node_group_types(self) -> Optional[Sequence[str]]:
|
|
@@ -471,6 +502,8 @@ class ClusterNodeGroup(dict):
|
|
|
471
502
|
suggest = "system_disk"
|
|
472
503
|
elif key == "additionalSecurityGroupIds":
|
|
473
504
|
suggest = "additional_security_group_ids"
|
|
505
|
+
elif key == "autoScalingPolicy":
|
|
506
|
+
suggest = "auto_scaling_policy"
|
|
474
507
|
elif key == "costOptimizedConfig":
|
|
475
508
|
suggest = "cost_optimized_config"
|
|
476
509
|
elif key == "deploymentSetStrategy":
|
|
@@ -511,6 +544,7 @@ class ClusterNodeGroup(dict):
|
|
|
511
544
|
node_group_type: str,
|
|
512
545
|
system_disk: 'outputs.ClusterNodeGroupSystemDisk',
|
|
513
546
|
additional_security_group_ids: Optional[Sequence[str]] = None,
|
|
547
|
+
auto_scaling_policy: Optional['outputs.ClusterNodeGroupAutoScalingPolicy'] = None,
|
|
514
548
|
cost_optimized_config: Optional['outputs.ClusterNodeGroupCostOptimizedConfig'] = None,
|
|
515
549
|
deployment_set_strategy: Optional[str] = None,
|
|
516
550
|
graceful_shutdown: Optional[bool] = None,
|
|
@@ -529,6 +563,7 @@ class ClusterNodeGroup(dict):
|
|
|
529
563
|
: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.
|
|
530
564
|
:param 'ClusterNodeGroupSystemDiskArgs' system_disk: Host Ecs system disk information in this node group. See `system_disk` below.
|
|
531
565
|
:param Sequence[str] additional_security_group_ids: Additional security Group IDS for Cluster, you can also specify this key for each node group.
|
|
566
|
+
:param 'ClusterNodeGroupAutoScalingPolicyArgs' auto_scaling_policy: The node group auto scaling policy for emr cluster. See `auto_scaling_policy` below.
|
|
532
567
|
:param 'ClusterNodeGroupCostOptimizedConfigArgs' cost_optimized_config: The detail cost optimized configuration of emr cluster. See `cost_optimized_config` below.
|
|
533
568
|
:param str deployment_set_strategy: Deployment set strategy for this cluster node group. Supported value: NONE, CLUSTER or NODE_GROUP.
|
|
534
569
|
:param bool graceful_shutdown: Enable emr cluster of task node graceful decommission, ’true’ or ‘false’ .
|
|
@@ -548,6 +583,8 @@ class ClusterNodeGroup(dict):
|
|
|
548
583
|
pulumi.set(__self__, "system_disk", system_disk)
|
|
549
584
|
if additional_security_group_ids is not None:
|
|
550
585
|
pulumi.set(__self__, "additional_security_group_ids", additional_security_group_ids)
|
|
586
|
+
if auto_scaling_policy is not None:
|
|
587
|
+
pulumi.set(__self__, "auto_scaling_policy", auto_scaling_policy)
|
|
551
588
|
if cost_optimized_config is not None:
|
|
552
589
|
pulumi.set(__self__, "cost_optimized_config", cost_optimized_config)
|
|
553
590
|
if deployment_set_strategy is not None:
|
|
@@ -625,6 +662,14 @@ class ClusterNodeGroup(dict):
|
|
|
625
662
|
"""
|
|
626
663
|
return pulumi.get(self, "additional_security_group_ids")
|
|
627
664
|
|
|
665
|
+
@property
|
|
666
|
+
@pulumi.getter(name="autoScalingPolicy")
|
|
667
|
+
def auto_scaling_policy(self) -> Optional['outputs.ClusterNodeGroupAutoScalingPolicy']:
|
|
668
|
+
"""
|
|
669
|
+
The node group auto scaling policy for emr cluster. See `auto_scaling_policy` below.
|
|
670
|
+
"""
|
|
671
|
+
return pulumi.get(self, "auto_scaling_policy")
|
|
672
|
+
|
|
628
673
|
@property
|
|
629
674
|
@pulumi.getter(name="costOptimizedConfig")
|
|
630
675
|
def cost_optimized_config(self) -> Optional['outputs.ClusterNodeGroupCostOptimizedConfig']:
|
|
@@ -706,6 +751,461 @@ class ClusterNodeGroup(dict):
|
|
|
706
751
|
return pulumi.get(self, "with_public_ip")
|
|
707
752
|
|
|
708
753
|
|
|
754
|
+
@pulumi.output_type
|
|
755
|
+
class ClusterNodeGroupAutoScalingPolicy(dict):
|
|
756
|
+
@staticmethod
|
|
757
|
+
def __key_warning(key: str):
|
|
758
|
+
suggest = None
|
|
759
|
+
if key == "scalingRules":
|
|
760
|
+
suggest = "scaling_rules"
|
|
761
|
+
|
|
762
|
+
if suggest:
|
|
763
|
+
pulumi.log.warn(f"Key '{key}' not found in ClusterNodeGroupAutoScalingPolicy. Access the value via the '{suggest}' property getter instead.")
|
|
764
|
+
|
|
765
|
+
def __getitem__(self, key: str) -> Any:
|
|
766
|
+
ClusterNodeGroupAutoScalingPolicy.__key_warning(key)
|
|
767
|
+
return super().__getitem__(key)
|
|
768
|
+
|
|
769
|
+
def get(self, key: str, default = None) -> Any:
|
|
770
|
+
ClusterNodeGroupAutoScalingPolicy.__key_warning(key)
|
|
771
|
+
return super().get(key, default)
|
|
772
|
+
|
|
773
|
+
def __init__(__self__, *,
|
|
774
|
+
constraints: Optional['outputs.ClusterNodeGroupAutoScalingPolicyConstraints'] = None,
|
|
775
|
+
scaling_rules: Optional[Sequence['outputs.ClusterNodeGroupAutoScalingPolicyScalingRule']] = None):
|
|
776
|
+
if constraints is not None:
|
|
777
|
+
pulumi.set(__self__, "constraints", constraints)
|
|
778
|
+
if scaling_rules is not None:
|
|
779
|
+
pulumi.set(__self__, "scaling_rules", scaling_rules)
|
|
780
|
+
|
|
781
|
+
@property
|
|
782
|
+
@pulumi.getter
|
|
783
|
+
def constraints(self) -> Optional['outputs.ClusterNodeGroupAutoScalingPolicyConstraints']:
|
|
784
|
+
return pulumi.get(self, "constraints")
|
|
785
|
+
|
|
786
|
+
@property
|
|
787
|
+
@pulumi.getter(name="scalingRules")
|
|
788
|
+
def scaling_rules(self) -> Optional[Sequence['outputs.ClusterNodeGroupAutoScalingPolicyScalingRule']]:
|
|
789
|
+
return pulumi.get(self, "scaling_rules")
|
|
790
|
+
|
|
791
|
+
|
|
792
|
+
@pulumi.output_type
|
|
793
|
+
class ClusterNodeGroupAutoScalingPolicyConstraints(dict):
|
|
794
|
+
@staticmethod
|
|
795
|
+
def __key_warning(key: str):
|
|
796
|
+
suggest = None
|
|
797
|
+
if key == "maxCapacity":
|
|
798
|
+
suggest = "max_capacity"
|
|
799
|
+
elif key == "minCapacity":
|
|
800
|
+
suggest = "min_capacity"
|
|
801
|
+
|
|
802
|
+
if suggest:
|
|
803
|
+
pulumi.log.warn(f"Key '{key}' not found in ClusterNodeGroupAutoScalingPolicyConstraints. Access the value via the '{suggest}' property getter instead.")
|
|
804
|
+
|
|
805
|
+
def __getitem__(self, key: str) -> Any:
|
|
806
|
+
ClusterNodeGroupAutoScalingPolicyConstraints.__key_warning(key)
|
|
807
|
+
return super().__getitem__(key)
|
|
808
|
+
|
|
809
|
+
def get(self, key: str, default = None) -> Any:
|
|
810
|
+
ClusterNodeGroupAutoScalingPolicyConstraints.__key_warning(key)
|
|
811
|
+
return super().get(key, default)
|
|
812
|
+
|
|
813
|
+
def __init__(__self__, *,
|
|
814
|
+
max_capacity: Optional[int] = None,
|
|
815
|
+
min_capacity: Optional[int] = None):
|
|
816
|
+
if max_capacity is not None:
|
|
817
|
+
pulumi.set(__self__, "max_capacity", max_capacity)
|
|
818
|
+
if min_capacity is not None:
|
|
819
|
+
pulumi.set(__self__, "min_capacity", min_capacity)
|
|
820
|
+
|
|
821
|
+
@property
|
|
822
|
+
@pulumi.getter(name="maxCapacity")
|
|
823
|
+
def max_capacity(self) -> Optional[int]:
|
|
824
|
+
return pulumi.get(self, "max_capacity")
|
|
825
|
+
|
|
826
|
+
@property
|
|
827
|
+
@pulumi.getter(name="minCapacity")
|
|
828
|
+
def min_capacity(self) -> Optional[int]:
|
|
829
|
+
return pulumi.get(self, "min_capacity")
|
|
830
|
+
|
|
831
|
+
|
|
832
|
+
@pulumi.output_type
|
|
833
|
+
class ClusterNodeGroupAutoScalingPolicyScalingRule(dict):
|
|
834
|
+
@staticmethod
|
|
835
|
+
def __key_warning(key: str):
|
|
836
|
+
suggest = None
|
|
837
|
+
if key == "activityType":
|
|
838
|
+
suggest = "activity_type"
|
|
839
|
+
elif key == "adjustmentValue":
|
|
840
|
+
suggest = "adjustment_value"
|
|
841
|
+
elif key == "ruleName":
|
|
842
|
+
suggest = "rule_name"
|
|
843
|
+
elif key == "triggerType":
|
|
844
|
+
suggest = "trigger_type"
|
|
845
|
+
elif key == "adjustmentType":
|
|
846
|
+
suggest = "adjustment_type"
|
|
847
|
+
elif key == "metricsTrigger":
|
|
848
|
+
suggest = "metrics_trigger"
|
|
849
|
+
elif key == "minAdjustmentValue":
|
|
850
|
+
suggest = "min_adjustment_value"
|
|
851
|
+
elif key == "timeTrigger":
|
|
852
|
+
suggest = "time_trigger"
|
|
853
|
+
|
|
854
|
+
if suggest:
|
|
855
|
+
pulumi.log.warn(f"Key '{key}' not found in ClusterNodeGroupAutoScalingPolicyScalingRule. Access the value via the '{suggest}' property getter instead.")
|
|
856
|
+
|
|
857
|
+
def __getitem__(self, key: str) -> Any:
|
|
858
|
+
ClusterNodeGroupAutoScalingPolicyScalingRule.__key_warning(key)
|
|
859
|
+
return super().__getitem__(key)
|
|
860
|
+
|
|
861
|
+
def get(self, key: str, default = None) -> Any:
|
|
862
|
+
ClusterNodeGroupAutoScalingPolicyScalingRule.__key_warning(key)
|
|
863
|
+
return super().get(key, default)
|
|
864
|
+
|
|
865
|
+
def __init__(__self__, *,
|
|
866
|
+
activity_type: str,
|
|
867
|
+
adjustment_value: int,
|
|
868
|
+
rule_name: str,
|
|
869
|
+
trigger_type: str,
|
|
870
|
+
adjustment_type: Optional[str] = None,
|
|
871
|
+
metrics_trigger: Optional['outputs.ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTrigger'] = None,
|
|
872
|
+
min_adjustment_value: Optional[int] = None,
|
|
873
|
+
time_trigger: Optional['outputs.ClusterNodeGroupAutoScalingPolicyScalingRuleTimeTrigger'] = None):
|
|
874
|
+
pulumi.set(__self__, "activity_type", activity_type)
|
|
875
|
+
pulumi.set(__self__, "adjustment_value", adjustment_value)
|
|
876
|
+
pulumi.set(__self__, "rule_name", rule_name)
|
|
877
|
+
pulumi.set(__self__, "trigger_type", trigger_type)
|
|
878
|
+
if adjustment_type is not None:
|
|
879
|
+
pulumi.set(__self__, "adjustment_type", adjustment_type)
|
|
880
|
+
if metrics_trigger is not None:
|
|
881
|
+
pulumi.set(__self__, "metrics_trigger", metrics_trigger)
|
|
882
|
+
if min_adjustment_value is not None:
|
|
883
|
+
pulumi.set(__self__, "min_adjustment_value", min_adjustment_value)
|
|
884
|
+
if time_trigger is not None:
|
|
885
|
+
pulumi.set(__self__, "time_trigger", time_trigger)
|
|
886
|
+
|
|
887
|
+
@property
|
|
888
|
+
@pulumi.getter(name="activityType")
|
|
889
|
+
def activity_type(self) -> str:
|
|
890
|
+
return pulumi.get(self, "activity_type")
|
|
891
|
+
|
|
892
|
+
@property
|
|
893
|
+
@pulumi.getter(name="adjustmentValue")
|
|
894
|
+
def adjustment_value(self) -> int:
|
|
895
|
+
return pulumi.get(self, "adjustment_value")
|
|
896
|
+
|
|
897
|
+
@property
|
|
898
|
+
@pulumi.getter(name="ruleName")
|
|
899
|
+
def rule_name(self) -> str:
|
|
900
|
+
return pulumi.get(self, "rule_name")
|
|
901
|
+
|
|
902
|
+
@property
|
|
903
|
+
@pulumi.getter(name="triggerType")
|
|
904
|
+
def trigger_type(self) -> str:
|
|
905
|
+
return pulumi.get(self, "trigger_type")
|
|
906
|
+
|
|
907
|
+
@property
|
|
908
|
+
@pulumi.getter(name="adjustmentType")
|
|
909
|
+
def adjustment_type(self) -> Optional[str]:
|
|
910
|
+
return pulumi.get(self, "adjustment_type")
|
|
911
|
+
|
|
912
|
+
@property
|
|
913
|
+
@pulumi.getter(name="metricsTrigger")
|
|
914
|
+
def metrics_trigger(self) -> Optional['outputs.ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTrigger']:
|
|
915
|
+
return pulumi.get(self, "metrics_trigger")
|
|
916
|
+
|
|
917
|
+
@property
|
|
918
|
+
@pulumi.getter(name="minAdjustmentValue")
|
|
919
|
+
def min_adjustment_value(self) -> Optional[int]:
|
|
920
|
+
return pulumi.get(self, "min_adjustment_value")
|
|
921
|
+
|
|
922
|
+
@property
|
|
923
|
+
@pulumi.getter(name="timeTrigger")
|
|
924
|
+
def time_trigger(self) -> Optional['outputs.ClusterNodeGroupAutoScalingPolicyScalingRuleTimeTrigger']:
|
|
925
|
+
return pulumi.get(self, "time_trigger")
|
|
926
|
+
|
|
927
|
+
|
|
928
|
+
@pulumi.output_type
|
|
929
|
+
class ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTrigger(dict):
|
|
930
|
+
@staticmethod
|
|
931
|
+
def __key_warning(key: str):
|
|
932
|
+
suggest = None
|
|
933
|
+
if key == "evaluationCount":
|
|
934
|
+
suggest = "evaluation_count"
|
|
935
|
+
elif key == "timeWindow":
|
|
936
|
+
suggest = "time_window"
|
|
937
|
+
elif key == "conditionLogicOperator":
|
|
938
|
+
suggest = "condition_logic_operator"
|
|
939
|
+
elif key == "coolDownInterval":
|
|
940
|
+
suggest = "cool_down_interval"
|
|
941
|
+
elif key == "timeConstraints":
|
|
942
|
+
suggest = "time_constraints"
|
|
943
|
+
|
|
944
|
+
if suggest:
|
|
945
|
+
pulumi.log.warn(f"Key '{key}' not found in ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTrigger. Access the value via the '{suggest}' property getter instead.")
|
|
946
|
+
|
|
947
|
+
def __getitem__(self, key: str) -> Any:
|
|
948
|
+
ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTrigger.__key_warning(key)
|
|
949
|
+
return super().__getitem__(key)
|
|
950
|
+
|
|
951
|
+
def get(self, key: str, default = None) -> Any:
|
|
952
|
+
ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTrigger.__key_warning(key)
|
|
953
|
+
return super().get(key, default)
|
|
954
|
+
|
|
955
|
+
def __init__(__self__, *,
|
|
956
|
+
evaluation_count: int,
|
|
957
|
+
time_window: int,
|
|
958
|
+
condition_logic_operator: Optional[str] = None,
|
|
959
|
+
conditions: Optional[Sequence['outputs.ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerCondition']] = None,
|
|
960
|
+
cool_down_interval: Optional[int] = None,
|
|
961
|
+
time_constraints: Optional[Sequence['outputs.ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerTimeConstraint']] = None):
|
|
962
|
+
pulumi.set(__self__, "evaluation_count", evaluation_count)
|
|
963
|
+
pulumi.set(__self__, "time_window", time_window)
|
|
964
|
+
if condition_logic_operator is not None:
|
|
965
|
+
pulumi.set(__self__, "condition_logic_operator", condition_logic_operator)
|
|
966
|
+
if conditions is not None:
|
|
967
|
+
pulumi.set(__self__, "conditions", conditions)
|
|
968
|
+
if cool_down_interval is not None:
|
|
969
|
+
pulumi.set(__self__, "cool_down_interval", cool_down_interval)
|
|
970
|
+
if time_constraints is not None:
|
|
971
|
+
pulumi.set(__self__, "time_constraints", time_constraints)
|
|
972
|
+
|
|
973
|
+
@property
|
|
974
|
+
@pulumi.getter(name="evaluationCount")
|
|
975
|
+
def evaluation_count(self) -> int:
|
|
976
|
+
return pulumi.get(self, "evaluation_count")
|
|
977
|
+
|
|
978
|
+
@property
|
|
979
|
+
@pulumi.getter(name="timeWindow")
|
|
980
|
+
def time_window(self) -> int:
|
|
981
|
+
return pulumi.get(self, "time_window")
|
|
982
|
+
|
|
983
|
+
@property
|
|
984
|
+
@pulumi.getter(name="conditionLogicOperator")
|
|
985
|
+
def condition_logic_operator(self) -> Optional[str]:
|
|
986
|
+
return pulumi.get(self, "condition_logic_operator")
|
|
987
|
+
|
|
988
|
+
@property
|
|
989
|
+
@pulumi.getter
|
|
990
|
+
def conditions(self) -> Optional[Sequence['outputs.ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerCondition']]:
|
|
991
|
+
return pulumi.get(self, "conditions")
|
|
992
|
+
|
|
993
|
+
@property
|
|
994
|
+
@pulumi.getter(name="coolDownInterval")
|
|
995
|
+
def cool_down_interval(self) -> Optional[int]:
|
|
996
|
+
return pulumi.get(self, "cool_down_interval")
|
|
997
|
+
|
|
998
|
+
@property
|
|
999
|
+
@pulumi.getter(name="timeConstraints")
|
|
1000
|
+
def time_constraints(self) -> Optional[Sequence['outputs.ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerTimeConstraint']]:
|
|
1001
|
+
return pulumi.get(self, "time_constraints")
|
|
1002
|
+
|
|
1003
|
+
|
|
1004
|
+
@pulumi.output_type
|
|
1005
|
+
class ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerCondition(dict):
|
|
1006
|
+
@staticmethod
|
|
1007
|
+
def __key_warning(key: str):
|
|
1008
|
+
suggest = None
|
|
1009
|
+
if key == "comparisonOperator":
|
|
1010
|
+
suggest = "comparison_operator"
|
|
1011
|
+
elif key == "metricName":
|
|
1012
|
+
suggest = "metric_name"
|
|
1013
|
+
|
|
1014
|
+
if suggest:
|
|
1015
|
+
pulumi.log.warn(f"Key '{key}' not found in ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerCondition. Access the value via the '{suggest}' property getter instead.")
|
|
1016
|
+
|
|
1017
|
+
def __getitem__(self, key: str) -> Any:
|
|
1018
|
+
ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerCondition.__key_warning(key)
|
|
1019
|
+
return super().__getitem__(key)
|
|
1020
|
+
|
|
1021
|
+
def get(self, key: str, default = None) -> Any:
|
|
1022
|
+
ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerCondition.__key_warning(key)
|
|
1023
|
+
return super().get(key, default)
|
|
1024
|
+
|
|
1025
|
+
def __init__(__self__, *,
|
|
1026
|
+
comparison_operator: str,
|
|
1027
|
+
metric_name: str,
|
|
1028
|
+
statistics: str,
|
|
1029
|
+
threshold: float,
|
|
1030
|
+
tags: Optional[Sequence['outputs.ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerConditionTag']] = None):
|
|
1031
|
+
"""
|
|
1032
|
+
:param Sequence['ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerConditionTagArgs'] tags: A mapping of tags to assign to the resource.
|
|
1033
|
+
"""
|
|
1034
|
+
pulumi.set(__self__, "comparison_operator", comparison_operator)
|
|
1035
|
+
pulumi.set(__self__, "metric_name", metric_name)
|
|
1036
|
+
pulumi.set(__self__, "statistics", statistics)
|
|
1037
|
+
pulumi.set(__self__, "threshold", threshold)
|
|
1038
|
+
if tags is not None:
|
|
1039
|
+
pulumi.set(__self__, "tags", tags)
|
|
1040
|
+
|
|
1041
|
+
@property
|
|
1042
|
+
@pulumi.getter(name="comparisonOperator")
|
|
1043
|
+
def comparison_operator(self) -> str:
|
|
1044
|
+
return pulumi.get(self, "comparison_operator")
|
|
1045
|
+
|
|
1046
|
+
@property
|
|
1047
|
+
@pulumi.getter(name="metricName")
|
|
1048
|
+
def metric_name(self) -> str:
|
|
1049
|
+
return pulumi.get(self, "metric_name")
|
|
1050
|
+
|
|
1051
|
+
@property
|
|
1052
|
+
@pulumi.getter
|
|
1053
|
+
def statistics(self) -> str:
|
|
1054
|
+
return pulumi.get(self, "statistics")
|
|
1055
|
+
|
|
1056
|
+
@property
|
|
1057
|
+
@pulumi.getter
|
|
1058
|
+
def threshold(self) -> float:
|
|
1059
|
+
return pulumi.get(self, "threshold")
|
|
1060
|
+
|
|
1061
|
+
@property
|
|
1062
|
+
@pulumi.getter
|
|
1063
|
+
def tags(self) -> Optional[Sequence['outputs.ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerConditionTag']]:
|
|
1064
|
+
"""
|
|
1065
|
+
A mapping of tags to assign to the resource.
|
|
1066
|
+
"""
|
|
1067
|
+
return pulumi.get(self, "tags")
|
|
1068
|
+
|
|
1069
|
+
|
|
1070
|
+
@pulumi.output_type
|
|
1071
|
+
class ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerConditionTag(dict):
|
|
1072
|
+
def __init__(__self__, *,
|
|
1073
|
+
key: str,
|
|
1074
|
+
value: Optional[str] = None):
|
|
1075
|
+
pulumi.set(__self__, "key", key)
|
|
1076
|
+
if value is not None:
|
|
1077
|
+
pulumi.set(__self__, "value", value)
|
|
1078
|
+
|
|
1079
|
+
@property
|
|
1080
|
+
@pulumi.getter
|
|
1081
|
+
def key(self) -> str:
|
|
1082
|
+
return pulumi.get(self, "key")
|
|
1083
|
+
|
|
1084
|
+
@property
|
|
1085
|
+
@pulumi.getter
|
|
1086
|
+
def value(self) -> Optional[str]:
|
|
1087
|
+
return pulumi.get(self, "value")
|
|
1088
|
+
|
|
1089
|
+
|
|
1090
|
+
@pulumi.output_type
|
|
1091
|
+
class ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerTimeConstraint(dict):
|
|
1092
|
+
@staticmethod
|
|
1093
|
+
def __key_warning(key: str):
|
|
1094
|
+
suggest = None
|
|
1095
|
+
if key == "endTime":
|
|
1096
|
+
suggest = "end_time"
|
|
1097
|
+
elif key == "startTime":
|
|
1098
|
+
suggest = "start_time"
|
|
1099
|
+
|
|
1100
|
+
if suggest:
|
|
1101
|
+
pulumi.log.warn(f"Key '{key}' not found in ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerTimeConstraint. Access the value via the '{suggest}' property getter instead.")
|
|
1102
|
+
|
|
1103
|
+
def __getitem__(self, key: str) -> Any:
|
|
1104
|
+
ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerTimeConstraint.__key_warning(key)
|
|
1105
|
+
return super().__getitem__(key)
|
|
1106
|
+
|
|
1107
|
+
def get(self, key: str, default = None) -> Any:
|
|
1108
|
+
ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerTimeConstraint.__key_warning(key)
|
|
1109
|
+
return super().get(key, default)
|
|
1110
|
+
|
|
1111
|
+
def __init__(__self__, *,
|
|
1112
|
+
end_time: Optional[str] = None,
|
|
1113
|
+
start_time: Optional[str] = None):
|
|
1114
|
+
if end_time is not None:
|
|
1115
|
+
pulumi.set(__self__, "end_time", end_time)
|
|
1116
|
+
if start_time is not None:
|
|
1117
|
+
pulumi.set(__self__, "start_time", start_time)
|
|
1118
|
+
|
|
1119
|
+
@property
|
|
1120
|
+
@pulumi.getter(name="endTime")
|
|
1121
|
+
def end_time(self) -> Optional[str]:
|
|
1122
|
+
return pulumi.get(self, "end_time")
|
|
1123
|
+
|
|
1124
|
+
@property
|
|
1125
|
+
@pulumi.getter(name="startTime")
|
|
1126
|
+
def start_time(self) -> Optional[str]:
|
|
1127
|
+
return pulumi.get(self, "start_time")
|
|
1128
|
+
|
|
1129
|
+
|
|
1130
|
+
@pulumi.output_type
|
|
1131
|
+
class ClusterNodeGroupAutoScalingPolicyScalingRuleTimeTrigger(dict):
|
|
1132
|
+
@staticmethod
|
|
1133
|
+
def __key_warning(key: str):
|
|
1134
|
+
suggest = None
|
|
1135
|
+
if key == "launchTime":
|
|
1136
|
+
suggest = "launch_time"
|
|
1137
|
+
elif key == "endTime":
|
|
1138
|
+
suggest = "end_time"
|
|
1139
|
+
elif key == "launchExpirationTime":
|
|
1140
|
+
suggest = "launch_expiration_time"
|
|
1141
|
+
elif key == "recurrenceType":
|
|
1142
|
+
suggest = "recurrence_type"
|
|
1143
|
+
elif key == "recurrenceValue":
|
|
1144
|
+
suggest = "recurrence_value"
|
|
1145
|
+
elif key == "startTime":
|
|
1146
|
+
suggest = "start_time"
|
|
1147
|
+
|
|
1148
|
+
if suggest:
|
|
1149
|
+
pulumi.log.warn(f"Key '{key}' not found in ClusterNodeGroupAutoScalingPolicyScalingRuleTimeTrigger. Access the value via the '{suggest}' property getter instead.")
|
|
1150
|
+
|
|
1151
|
+
def __getitem__(self, key: str) -> Any:
|
|
1152
|
+
ClusterNodeGroupAutoScalingPolicyScalingRuleTimeTrigger.__key_warning(key)
|
|
1153
|
+
return super().__getitem__(key)
|
|
1154
|
+
|
|
1155
|
+
def get(self, key: str, default = None) -> Any:
|
|
1156
|
+
ClusterNodeGroupAutoScalingPolicyScalingRuleTimeTrigger.__key_warning(key)
|
|
1157
|
+
return super().get(key, default)
|
|
1158
|
+
|
|
1159
|
+
def __init__(__self__, *,
|
|
1160
|
+
launch_time: str,
|
|
1161
|
+
end_time: Optional[str] = None,
|
|
1162
|
+
launch_expiration_time: Optional[int] = None,
|
|
1163
|
+
recurrence_type: Optional[str] = None,
|
|
1164
|
+
recurrence_value: Optional[str] = None,
|
|
1165
|
+
start_time: Optional[str] = None):
|
|
1166
|
+
pulumi.set(__self__, "launch_time", launch_time)
|
|
1167
|
+
if end_time is not None:
|
|
1168
|
+
pulumi.set(__self__, "end_time", end_time)
|
|
1169
|
+
if launch_expiration_time is not None:
|
|
1170
|
+
pulumi.set(__self__, "launch_expiration_time", launch_expiration_time)
|
|
1171
|
+
if recurrence_type is not None:
|
|
1172
|
+
pulumi.set(__self__, "recurrence_type", recurrence_type)
|
|
1173
|
+
if recurrence_value is not None:
|
|
1174
|
+
pulumi.set(__self__, "recurrence_value", recurrence_value)
|
|
1175
|
+
if start_time is not None:
|
|
1176
|
+
pulumi.set(__self__, "start_time", start_time)
|
|
1177
|
+
|
|
1178
|
+
@property
|
|
1179
|
+
@pulumi.getter(name="launchTime")
|
|
1180
|
+
def launch_time(self) -> str:
|
|
1181
|
+
return pulumi.get(self, "launch_time")
|
|
1182
|
+
|
|
1183
|
+
@property
|
|
1184
|
+
@pulumi.getter(name="endTime")
|
|
1185
|
+
def end_time(self) -> Optional[str]:
|
|
1186
|
+
return pulumi.get(self, "end_time")
|
|
1187
|
+
|
|
1188
|
+
@property
|
|
1189
|
+
@pulumi.getter(name="launchExpirationTime")
|
|
1190
|
+
def launch_expiration_time(self) -> Optional[int]:
|
|
1191
|
+
return pulumi.get(self, "launch_expiration_time")
|
|
1192
|
+
|
|
1193
|
+
@property
|
|
1194
|
+
@pulumi.getter(name="recurrenceType")
|
|
1195
|
+
def recurrence_type(self) -> Optional[str]:
|
|
1196
|
+
return pulumi.get(self, "recurrence_type")
|
|
1197
|
+
|
|
1198
|
+
@property
|
|
1199
|
+
@pulumi.getter(name="recurrenceValue")
|
|
1200
|
+
def recurrence_value(self) -> Optional[str]:
|
|
1201
|
+
return pulumi.get(self, "recurrence_value")
|
|
1202
|
+
|
|
1203
|
+
@property
|
|
1204
|
+
@pulumi.getter(name="startTime")
|
|
1205
|
+
def start_time(self) -> Optional[str]:
|
|
1206
|
+
return pulumi.get(self, "start_time")
|
|
1207
|
+
|
|
1208
|
+
|
|
709
1209
|
@pulumi.output_type
|
|
710
1210
|
class ClusterNodeGroupCostOptimizedConfig(dict):
|
|
711
1211
|
@staticmethod
|
pulumi_alicloud/ens/__init__.py
CHANGED
|
@@ -8,12 +8,14 @@ import typing
|
|
|
8
8
|
from .disk import *
|
|
9
9
|
from .disk_instance_attachment import *
|
|
10
10
|
from .eip import *
|
|
11
|
+
from .eip_instance_attachment import *
|
|
11
12
|
from .get_key_pairs import *
|
|
12
13
|
from .image import *
|
|
13
14
|
from .instance import *
|
|
14
15
|
from .instance_security_group_attachment import *
|
|
15
16
|
from .key_pair import *
|
|
16
17
|
from .load_balancer import *
|
|
18
|
+
from .nat_gateway import *
|
|
17
19
|
from .network import *
|
|
18
20
|
from .security_group import *
|
|
19
21
|
from .snapshot import *
|