pulumi-alicloud 3.59.0__py3-none-any.whl → 3.59.0a1720502311__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 +0 -48
- pulumi_alicloud/adb/resource_group.py +119 -115
- pulumi_alicloud/clickhouse/get_regions.py +2 -2
- pulumi_alicloud/cloudstoragegateway/gateway_cache_disk.py +27 -150
- pulumi_alicloud/dfs/file_system.py +19 -52
- pulumi_alicloud/ecs/_inputs.py +8 -132
- pulumi_alicloud/ecs/image.py +121 -607
- pulumi_alicloud/ecs/outputs.py +8 -131
- pulumi_alicloud/emrv2/_inputs.py +0 -490
- pulumi_alicloud/emrv2/cluster.py +14 -14
- pulumi_alicloud/emrv2/outputs.py +0 -500
- pulumi_alicloud/ens/__init__.py +0 -2
- pulumi_alicloud/ens/instance.py +17 -16
- pulumi_alicloud/ess/eci_scaling_configuration.py +0 -94
- pulumi_alicloud/ess/scaling_group.py +0 -94
- pulumi_alicloud/ga/bandwidth_package_attachment.py +34 -34
- pulumi_alicloud/ga/listener.py +0 -122
- pulumi_alicloud/gpdb/__init__.py +0 -4
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/redis/tair_instance.py +67 -161
- {pulumi_alicloud-3.59.0.dist-info → pulumi_alicloud-3.59.0a1720502311.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.59.0.dist-info → pulumi_alicloud-3.59.0a1720502311.dist-info}/RECORD +24 -30
- {pulumi_alicloud-3.59.0.dist-info → pulumi_alicloud-3.59.0a1720502311.dist-info}/WHEEL +1 -1
- pulumi_alicloud/ens/eip_instance_attachment.py +0 -480
- pulumi_alicloud/ens/nat_gateway.py +0 -458
- pulumi_alicloud/gpdb/external_data_service.py +0 -485
- pulumi_alicloud/gpdb/remote_adb_data_source.py +0 -763
- pulumi_alicloud/gpdb/streaming_data_service.py +0 -481
- pulumi_alicloud/gpdb/streaming_data_source.py +0 -645
- {pulumi_alicloud-3.59.0.dist-info → pulumi_alicloud-3.59.0a1720502311.dist-info}/top_level.txt +0 -0
pulumi_alicloud/emrv2/outputs.py
CHANGED
|
@@ -16,14 +16,6 @@ __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',
|
|
27
19
|
'ClusterNodeGroupCostOptimizedConfig',
|
|
28
20
|
'ClusterNodeGroupDataDisk',
|
|
29
21
|
'ClusterNodeGroupSpotBidPrice',
|
|
@@ -269,7 +261,6 @@ class ClusterBootstrapScript(dict):
|
|
|
269
261
|
|
|
270
262
|
@property
|
|
271
263
|
@pulumi.getter
|
|
272
|
-
@_utilities.deprecated("""Field 'priority' has been deprecated from provider version 1.227.0.""")
|
|
273
264
|
def priority(self) -> Optional[int]:
|
|
274
265
|
"""
|
|
275
266
|
The bootstrap scripts priority.
|
|
@@ -286,12 +277,8 @@ class ClusterBootstrapScriptNodeSelector(dict):
|
|
|
286
277
|
suggest = "node_select_type"
|
|
287
278
|
elif key == "nodeGroupId":
|
|
288
279
|
suggest = "node_group_id"
|
|
289
|
-
elif key == "nodeGroupIds":
|
|
290
|
-
suggest = "node_group_ids"
|
|
291
280
|
elif key == "nodeGroupName":
|
|
292
281
|
suggest = "node_group_name"
|
|
293
|
-
elif key == "nodeGroupNames":
|
|
294
|
-
suggest = "node_group_names"
|
|
295
282
|
elif key == "nodeGroupTypes":
|
|
296
283
|
suggest = "node_group_types"
|
|
297
284
|
elif key == "nodeNames":
|
|
@@ -311,20 +298,14 @@ class ClusterBootstrapScriptNodeSelector(dict):
|
|
|
311
298
|
def __init__(__self__, *,
|
|
312
299
|
node_select_type: str,
|
|
313
300
|
node_group_id: Optional[str] = None,
|
|
314
|
-
node_group_ids: Optional[Sequence[str]] = None,
|
|
315
301
|
node_group_name: Optional[str] = None,
|
|
316
|
-
node_group_names: Optional[Sequence[str]] = None,
|
|
317
302
|
node_group_types: Optional[Sequence[str]] = None,
|
|
318
303
|
node_names: Optional[Sequence[str]] = None):
|
|
319
304
|
pulumi.set(__self__, "node_select_type", node_select_type)
|
|
320
305
|
if node_group_id is not None:
|
|
321
306
|
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)
|
|
324
307
|
if node_group_name is not None:
|
|
325
308
|
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)
|
|
328
309
|
if node_group_types is not None:
|
|
329
310
|
pulumi.set(__self__, "node_group_types", node_group_types)
|
|
330
311
|
if node_names is not None:
|
|
@@ -337,26 +318,14 @@ class ClusterBootstrapScriptNodeSelector(dict):
|
|
|
337
318
|
|
|
338
319
|
@property
|
|
339
320
|
@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.""")
|
|
341
321
|
def node_group_id(self) -> Optional[str]:
|
|
342
322
|
return pulumi.get(self, "node_group_id")
|
|
343
323
|
|
|
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
|
-
|
|
349
324
|
@property
|
|
350
325
|
@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.""")
|
|
352
326
|
def node_group_name(self) -> Optional[str]:
|
|
353
327
|
return pulumi.get(self, "node_group_name")
|
|
354
328
|
|
|
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
|
-
|
|
360
329
|
@property
|
|
361
330
|
@pulumi.getter(name="nodeGroupTypes")
|
|
362
331
|
def node_group_types(self) -> Optional[Sequence[str]]:
|
|
@@ -502,8 +471,6 @@ class ClusterNodeGroup(dict):
|
|
|
502
471
|
suggest = "system_disk"
|
|
503
472
|
elif key == "additionalSecurityGroupIds":
|
|
504
473
|
suggest = "additional_security_group_ids"
|
|
505
|
-
elif key == "autoScalingPolicy":
|
|
506
|
-
suggest = "auto_scaling_policy"
|
|
507
474
|
elif key == "costOptimizedConfig":
|
|
508
475
|
suggest = "cost_optimized_config"
|
|
509
476
|
elif key == "deploymentSetStrategy":
|
|
@@ -544,7 +511,6 @@ class ClusterNodeGroup(dict):
|
|
|
544
511
|
node_group_type: str,
|
|
545
512
|
system_disk: 'outputs.ClusterNodeGroupSystemDisk',
|
|
546
513
|
additional_security_group_ids: Optional[Sequence[str]] = None,
|
|
547
|
-
auto_scaling_policy: Optional['outputs.ClusterNodeGroupAutoScalingPolicy'] = None,
|
|
548
514
|
cost_optimized_config: Optional['outputs.ClusterNodeGroupCostOptimizedConfig'] = None,
|
|
549
515
|
deployment_set_strategy: Optional[str] = None,
|
|
550
516
|
graceful_shutdown: Optional[bool] = None,
|
|
@@ -563,7 +529,6 @@ class ClusterNodeGroup(dict):
|
|
|
563
529
|
: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.
|
|
564
530
|
:param 'ClusterNodeGroupSystemDiskArgs' system_disk: Host Ecs system disk information in this node group. See `system_disk` below.
|
|
565
531
|
: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.
|
|
567
532
|
:param 'ClusterNodeGroupCostOptimizedConfigArgs' cost_optimized_config: The detail cost optimized configuration of emr cluster. See `cost_optimized_config` below.
|
|
568
533
|
:param str deployment_set_strategy: Deployment set strategy for this cluster node group. Supported value: NONE, CLUSTER or NODE_GROUP.
|
|
569
534
|
:param bool graceful_shutdown: Enable emr cluster of task node graceful decommission, ’true’ or ‘false’ .
|
|
@@ -583,8 +548,6 @@ class ClusterNodeGroup(dict):
|
|
|
583
548
|
pulumi.set(__self__, "system_disk", system_disk)
|
|
584
549
|
if additional_security_group_ids is not None:
|
|
585
550
|
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)
|
|
588
551
|
if cost_optimized_config is not None:
|
|
589
552
|
pulumi.set(__self__, "cost_optimized_config", cost_optimized_config)
|
|
590
553
|
if deployment_set_strategy is not None:
|
|
@@ -662,14 +625,6 @@ class ClusterNodeGroup(dict):
|
|
|
662
625
|
"""
|
|
663
626
|
return pulumi.get(self, "additional_security_group_ids")
|
|
664
627
|
|
|
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
|
-
|
|
673
628
|
@property
|
|
674
629
|
@pulumi.getter(name="costOptimizedConfig")
|
|
675
630
|
def cost_optimized_config(self) -> Optional['outputs.ClusterNodeGroupCostOptimizedConfig']:
|
|
@@ -751,461 +706,6 @@ class ClusterNodeGroup(dict):
|
|
|
751
706
|
return pulumi.get(self, "with_public_ip")
|
|
752
707
|
|
|
753
708
|
|
|
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
|
-
|
|
1209
709
|
@pulumi.output_type
|
|
1210
710
|
class ClusterNodeGroupCostOptimizedConfig(dict):
|
|
1211
711
|
@staticmethod
|
pulumi_alicloud/ens/__init__.py
CHANGED
|
@@ -8,14 +8,12 @@ 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 *
|
|
12
11
|
from .get_key_pairs import *
|
|
13
12
|
from .image import *
|
|
14
13
|
from .instance import *
|
|
15
14
|
from .instance_security_group_attachment import *
|
|
16
15
|
from .key_pair import *
|
|
17
16
|
from .load_balancer import *
|
|
18
|
-
from .nat_gateway import *
|
|
19
17
|
from .network import *
|
|
20
18
|
from .security_group import *
|
|
21
19
|
from .snapshot import *
|