pulumi-alicloud 3.59.0a1720761596__py3-none-any.whl → 3.59.1__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/_utilities.py +3 -4
- pulumi_alicloud/adb/_inputs.py +14 -0
- pulumi_alicloud/adb/outputs.py +14 -0
- pulumi_alicloud/adb/resource_group.py +115 -119
- pulumi_alicloud/alb/_inputs.py +224 -0
- pulumi_alicloud/alb/outputs.py +260 -0
- pulumi_alicloud/arms/_inputs.py +438 -0
- pulumi_alicloud/arms/outputs.py +442 -0
- pulumi_alicloud/bp/_inputs.py +14 -0
- pulumi_alicloud/bp/outputs.py +14 -0
- pulumi_alicloud/cas/outputs.py +4 -0
- pulumi_alicloud/cddc/outputs.py +6 -0
- pulumi_alicloud/cen/get_transit_router_service.py +2 -2
- pulumi_alicloud/cfg/_inputs.py +20 -0
- pulumi_alicloud/cfg/outputs.py +20 -0
- pulumi_alicloud/clickhouse/get_regions.py +2 -2
- pulumi_alicloud/clickhouse/outputs.py +4 -0
- pulumi_alicloud/cloudfirewall/_inputs.py +40 -0
- pulumi_alicloud/cloudfirewall/control_policy_order.py +60 -44
- pulumi_alicloud/cloudfirewall/outputs.py +40 -0
- pulumi_alicloud/cloudmonitor/_inputs.py +18 -0
- pulumi_alicloud/cloudmonitor/outputs.py +18 -0
- pulumi_alicloud/cloudstoragegateway/gateway_cache_disk.py +150 -27
- pulumi_alicloud/cms/_inputs.py +188 -0
- pulumi_alicloud/cms/outputs.py +228 -0
- pulumi_alicloud/compute/_inputs.py +4 -0
- pulumi_alicloud/compute/outputs.py +4 -0
- pulumi_alicloud/cs/_inputs.py +22 -0
- pulumi_alicloud/cs/node_pool.py +7 -7
- pulumi_alicloud/cs/outputs.py +22 -0
- pulumi_alicloud/databasegateway/outputs.py +42 -0
- pulumi_alicloud/dcdn/_inputs.py +555 -27
- pulumi_alicloud/dcdn/domain.py +366 -217
- pulumi_alicloud/dcdn/outputs.py +550 -22
- pulumi_alicloud/ddos/_inputs.py +162 -0
- pulumi_alicloud/ddos/outputs.py +162 -0
- pulumi_alicloud/dfs/file_system.py +52 -19
- pulumi_alicloud/directmail/get_domains.py +31 -24
- pulumi_alicloud/directmail/outputs.py +131 -32
- pulumi_alicloud/ebs/_inputs.py +22 -0
- pulumi_alicloud/ebs/outputs.py +22 -0
- pulumi_alicloud/eci/_inputs.py +100 -0
- pulumi_alicloud/eci/outputs.py +100 -0
- pulumi_alicloud/ecs/_inputs.py +242 -16
- pulumi_alicloud/ecs/ecs_disk.py +7 -0
- pulumi_alicloud/ecs/image.py +607 -121
- pulumi_alicloud/ecs/instance.py +304 -102
- pulumi_alicloud/ecs/outputs.py +348 -17
- pulumi_alicloud/edas/_inputs.py +28 -0
- pulumi_alicloud/edas/outputs.py +28 -0
- pulumi_alicloud/ehpc/_inputs.py +6 -0
- pulumi_alicloud/ehpc/outputs.py +6 -0
- pulumi_alicloud/emr/_inputs.py +134 -0
- pulumi_alicloud/emr/outputs.py +148 -0
- pulumi_alicloud/emrv2/_inputs.py +714 -0
- pulumi_alicloud/emrv2/cluster.py +14 -14
- pulumi_alicloud/emrv2/outputs.py +724 -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/_inputs.py +24 -0
- pulumi_alicloud/ess/eci_scaling_configuration.py +94 -0
- pulumi_alicloud/ess/outputs.py +24 -0
- pulumi_alicloud/ess/scaling_group.py +94 -0
- pulumi_alicloud/eventbridge/_inputs.py +156 -0
- pulumi_alicloud/eventbridge/outputs.py +156 -0
- pulumi_alicloud/expressconnect/_inputs.py +12 -0
- pulumi_alicloud/expressconnect/outputs.py +12 -0
- pulumi_alicloud/fc/_inputs.py +32 -0
- pulumi_alicloud/fc/outputs.py +32 -0
- pulumi_alicloud/ga/_inputs.py +24 -0
- pulumi_alicloud/ga/bandwidth_package_attachment.py +34 -34
- pulumi_alicloud/ga/listener.py +122 -0
- pulumi_alicloud/ga/outputs.py +24 -0
- pulumi_alicloud/gpdb/__init__.py +4 -0
- pulumi_alicloud/gpdb/_inputs.py +48 -0
- pulumi_alicloud/gpdb/external_data_service.py +485 -0
- pulumi_alicloud/gpdb/outputs.py +60 -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/hbr/_inputs.py +68 -0
- pulumi_alicloud/hbr/outputs.py +68 -0
- pulumi_alicloud/imp/_inputs.py +14 -0
- pulumi_alicloud/imp/outputs.py +14 -0
- pulumi_alicloud/log/_inputs.py +14 -0
- pulumi_alicloud/log/outputs.py +14 -0
- pulumi_alicloud/maxcompute/_inputs.py +54 -34
- pulumi_alicloud/maxcompute/outputs.py +54 -34
- pulumi_alicloud/maxcompute/project.py +230 -66
- pulumi_alicloud/mongodb/_inputs.py +14 -0
- pulumi_alicloud/mongodb/outputs.py +14 -0
- pulumi_alicloud/oss/_inputs.py +100 -0
- pulumi_alicloud/oss/outputs.py +100 -0
- pulumi_alicloud/ots/_inputs.py +60 -0
- pulumi_alicloud/ots/outputs.py +60 -0
- pulumi_alicloud/polardb/_inputs.py +10 -0
- pulumi_alicloud/polardb/cluster.py +28 -28
- pulumi_alicloud/polardb/outputs.py +10 -0
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/pvtz/outputs.py +18 -0
- pulumi_alicloud/quotas/_inputs.py +10 -0
- pulumi_alicloud/quotas/outputs.py +10 -0
- pulumi_alicloud/ram/_inputs.py +24 -0
- pulumi_alicloud/ram/outputs.py +24 -0
- pulumi_alicloud/rdc/organization.py +2 -2
- pulumi_alicloud/realtimecompute/_inputs.py +6 -0
- pulumi_alicloud/realtimecompute/outputs.py +6 -0
- pulumi_alicloud/redis/tair_instance.py +161 -67
- pulumi_alicloud/rocketmq/_inputs.py +36 -0
- pulumi_alicloud/rocketmq/outputs.py +36 -0
- pulumi_alicloud/ros/_inputs.py +72 -0
- pulumi_alicloud/ros/outputs.py +72 -0
- pulumi_alicloud/sae/_inputs.py +118 -0
- pulumi_alicloud/sae/outputs.py +118 -0
- pulumi_alicloud/scdn/_inputs.py +56 -0
- pulumi_alicloud/scdn/outputs.py +56 -0
- pulumi_alicloud/servicecatalog/_inputs.py +10 -0
- pulumi_alicloud/servicecatalog/outputs.py +10 -0
- pulumi_alicloud/servicemesh/_inputs.py +150 -0
- pulumi_alicloud/servicemesh/outputs.py +154 -0
- pulumi_alicloud/slb/_inputs.py +8 -8
- pulumi_alicloud/slb/outputs.py +8 -8
- pulumi_alicloud/slb/server_group.py +140 -84
- pulumi_alicloud/sls/_inputs.py +186 -0
- pulumi_alicloud/sls/outputs.py +186 -0
- pulumi_alicloud/threatdetection/_inputs.py +32 -0
- pulumi_alicloud/threatdetection/outputs.py +32 -0
- pulumi_alicloud/vod/_inputs.py +18 -0
- pulumi_alicloud/vod/outputs.py +18 -0
- pulumi_alicloud/vpc/_inputs.py +50 -12
- pulumi_alicloud/vpc/network.py +332 -134
- pulumi_alicloud/vpc/outputs.py +50 -12
- pulumi_alicloud/vpc/public_ip_address_pool.py +118 -10
- pulumi_alicloud/vpn/_inputs.py +10 -0
- pulumi_alicloud/vpn/outputs.py +14 -0
- pulumi_alicloud/wafv3/_inputs.py +10 -0
- pulumi_alicloud/wafv3/outputs.py +10 -0
- {pulumi_alicloud-3.59.0a1720761596.dist-info → pulumi_alicloud-3.59.1.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.59.0a1720761596.dist-info → pulumi_alicloud-3.59.1.dist-info}/RECORD +144 -138
- {pulumi_alicloud-3.59.0a1720761596.dist-info → pulumi_alicloud-3.59.1.dist-info}/WHEEL +1 -1
- {pulumi_alicloud-3.59.0a1720761596.dist-info → pulumi_alicloud-3.59.1.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,27 @@ 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):
|
|
319
|
+
"""
|
|
320
|
+
:param str node_select_type: The bootstrap scripts execution target node select type. Supported value: NODE, NODEGROUP or CLUSTER.
|
|
321
|
+
:param Sequence[str] node_group_ids: The bootstrap scripts execution target node group ids.
|
|
322
|
+
:param Sequence[str] node_group_names: The bootstrap scripts execution target node group names.
|
|
323
|
+
:param Sequence[str] node_group_types: The bootstrap scripts execution target node group types.
|
|
324
|
+
:param Sequence[str] node_names: The bootstrap scripts execution target node names.
|
|
325
|
+
"""
|
|
304
326
|
pulumi.set(__self__, "node_select_type", node_select_type)
|
|
305
327
|
if node_group_id is not None:
|
|
306
328
|
pulumi.set(__self__, "node_group_id", node_group_id)
|
|
329
|
+
if node_group_ids is not None:
|
|
330
|
+
pulumi.set(__self__, "node_group_ids", node_group_ids)
|
|
307
331
|
if node_group_name is not None:
|
|
308
332
|
pulumi.set(__self__, "node_group_name", node_group_name)
|
|
333
|
+
if node_group_names is not None:
|
|
334
|
+
pulumi.set(__self__, "node_group_names", node_group_names)
|
|
309
335
|
if node_group_types is not None:
|
|
310
336
|
pulumi.set(__self__, "node_group_types", node_group_types)
|
|
311
337
|
if node_names is not None:
|
|
@@ -314,26 +340,53 @@ class ClusterBootstrapScriptNodeSelector(dict):
|
|
|
314
340
|
@property
|
|
315
341
|
@pulumi.getter(name="nodeSelectType")
|
|
316
342
|
def node_select_type(self) -> str:
|
|
343
|
+
"""
|
|
344
|
+
The bootstrap scripts execution target node select type. Supported value: NODE, NODEGROUP or CLUSTER.
|
|
345
|
+
"""
|
|
317
346
|
return pulumi.get(self, "node_select_type")
|
|
318
347
|
|
|
319
348
|
@property
|
|
320
349
|
@pulumi.getter(name="nodeGroupId")
|
|
350
|
+
@_utilities.deprecated("""Field 'node_group_id' has been deprecated from provider version 1.227.0. New field 'node_group_ids' replaces it.""")
|
|
321
351
|
def node_group_id(self) -> Optional[str]:
|
|
322
352
|
return pulumi.get(self, "node_group_id")
|
|
323
353
|
|
|
354
|
+
@property
|
|
355
|
+
@pulumi.getter(name="nodeGroupIds")
|
|
356
|
+
def node_group_ids(self) -> Optional[Sequence[str]]:
|
|
357
|
+
"""
|
|
358
|
+
The bootstrap scripts execution target node group ids.
|
|
359
|
+
"""
|
|
360
|
+
return pulumi.get(self, "node_group_ids")
|
|
361
|
+
|
|
324
362
|
@property
|
|
325
363
|
@pulumi.getter(name="nodeGroupName")
|
|
364
|
+
@_utilities.deprecated("""Field 'node_group_name' has been deprecated from provider version 1.227.0. New field 'node_group_names' replaces it.""")
|
|
326
365
|
def node_group_name(self) -> Optional[str]:
|
|
327
366
|
return pulumi.get(self, "node_group_name")
|
|
328
367
|
|
|
368
|
+
@property
|
|
369
|
+
@pulumi.getter(name="nodeGroupNames")
|
|
370
|
+
def node_group_names(self) -> Optional[Sequence[str]]:
|
|
371
|
+
"""
|
|
372
|
+
The bootstrap scripts execution target node group names.
|
|
373
|
+
"""
|
|
374
|
+
return pulumi.get(self, "node_group_names")
|
|
375
|
+
|
|
329
376
|
@property
|
|
330
377
|
@pulumi.getter(name="nodeGroupTypes")
|
|
331
378
|
def node_group_types(self) -> Optional[Sequence[str]]:
|
|
379
|
+
"""
|
|
380
|
+
The bootstrap scripts execution target node group types.
|
|
381
|
+
"""
|
|
332
382
|
return pulumi.get(self, "node_group_types")
|
|
333
383
|
|
|
334
384
|
@property
|
|
335
385
|
@pulumi.getter(name="nodeNames")
|
|
336
386
|
def node_names(self) -> Optional[Sequence[str]]:
|
|
387
|
+
"""
|
|
388
|
+
The bootstrap scripts execution target node names.
|
|
389
|
+
"""
|
|
337
390
|
return pulumi.get(self, "node_names")
|
|
338
391
|
|
|
339
392
|
|
|
@@ -471,6 +524,8 @@ class ClusterNodeGroup(dict):
|
|
|
471
524
|
suggest = "system_disk"
|
|
472
525
|
elif key == "additionalSecurityGroupIds":
|
|
473
526
|
suggest = "additional_security_group_ids"
|
|
527
|
+
elif key == "autoScalingPolicy":
|
|
528
|
+
suggest = "auto_scaling_policy"
|
|
474
529
|
elif key == "costOptimizedConfig":
|
|
475
530
|
suggest = "cost_optimized_config"
|
|
476
531
|
elif key == "deploymentSetStrategy":
|
|
@@ -511,6 +566,7 @@ class ClusterNodeGroup(dict):
|
|
|
511
566
|
node_group_type: str,
|
|
512
567
|
system_disk: 'outputs.ClusterNodeGroupSystemDisk',
|
|
513
568
|
additional_security_group_ids: Optional[Sequence[str]] = None,
|
|
569
|
+
auto_scaling_policy: Optional['outputs.ClusterNodeGroupAutoScalingPolicy'] = None,
|
|
514
570
|
cost_optimized_config: Optional['outputs.ClusterNodeGroupCostOptimizedConfig'] = None,
|
|
515
571
|
deployment_set_strategy: Optional[str] = None,
|
|
516
572
|
graceful_shutdown: Optional[bool] = None,
|
|
@@ -529,6 +585,7 @@ class ClusterNodeGroup(dict):
|
|
|
529
585
|
: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
586
|
:param 'ClusterNodeGroupSystemDiskArgs' system_disk: Host Ecs system disk information in this node group. See `system_disk` below.
|
|
531
587
|
:param Sequence[str] additional_security_group_ids: Additional security Group IDS for Cluster, you can also specify this key for each node group.
|
|
588
|
+
:param 'ClusterNodeGroupAutoScalingPolicyArgs' auto_scaling_policy: The node group auto scaling policy for emr cluster. See `auto_scaling_policy` below.
|
|
532
589
|
:param 'ClusterNodeGroupCostOptimizedConfigArgs' cost_optimized_config: The detail cost optimized configuration of emr cluster. See `cost_optimized_config` below.
|
|
533
590
|
:param str deployment_set_strategy: Deployment set strategy for this cluster node group. Supported value: NONE, CLUSTER or NODE_GROUP.
|
|
534
591
|
:param bool graceful_shutdown: Enable emr cluster of task node graceful decommission, ’true’ or ‘false’ .
|
|
@@ -548,6 +605,8 @@ class ClusterNodeGroup(dict):
|
|
|
548
605
|
pulumi.set(__self__, "system_disk", system_disk)
|
|
549
606
|
if additional_security_group_ids is not None:
|
|
550
607
|
pulumi.set(__self__, "additional_security_group_ids", additional_security_group_ids)
|
|
608
|
+
if auto_scaling_policy is not None:
|
|
609
|
+
pulumi.set(__self__, "auto_scaling_policy", auto_scaling_policy)
|
|
551
610
|
if cost_optimized_config is not None:
|
|
552
611
|
pulumi.set(__self__, "cost_optimized_config", cost_optimized_config)
|
|
553
612
|
if deployment_set_strategy is not None:
|
|
@@ -625,6 +684,14 @@ class ClusterNodeGroup(dict):
|
|
|
625
684
|
"""
|
|
626
685
|
return pulumi.get(self, "additional_security_group_ids")
|
|
627
686
|
|
|
687
|
+
@property
|
|
688
|
+
@pulumi.getter(name="autoScalingPolicy")
|
|
689
|
+
def auto_scaling_policy(self) -> Optional['outputs.ClusterNodeGroupAutoScalingPolicy']:
|
|
690
|
+
"""
|
|
691
|
+
The node group auto scaling policy for emr cluster. See `auto_scaling_policy` below.
|
|
692
|
+
"""
|
|
693
|
+
return pulumi.get(self, "auto_scaling_policy")
|
|
694
|
+
|
|
628
695
|
@property
|
|
629
696
|
@pulumi.getter(name="costOptimizedConfig")
|
|
630
697
|
def cost_optimized_config(self) -> Optional['outputs.ClusterNodeGroupCostOptimizedConfig']:
|
|
@@ -706,6 +773,603 @@ class ClusterNodeGroup(dict):
|
|
|
706
773
|
return pulumi.get(self, "with_public_ip")
|
|
707
774
|
|
|
708
775
|
|
|
776
|
+
@pulumi.output_type
|
|
777
|
+
class ClusterNodeGroupAutoScalingPolicy(dict):
|
|
778
|
+
@staticmethod
|
|
779
|
+
def __key_warning(key: str):
|
|
780
|
+
suggest = None
|
|
781
|
+
if key == "scalingRules":
|
|
782
|
+
suggest = "scaling_rules"
|
|
783
|
+
|
|
784
|
+
if suggest:
|
|
785
|
+
pulumi.log.warn(f"Key '{key}' not found in ClusterNodeGroupAutoScalingPolicy. Access the value via the '{suggest}' property getter instead.")
|
|
786
|
+
|
|
787
|
+
def __getitem__(self, key: str) -> Any:
|
|
788
|
+
ClusterNodeGroupAutoScalingPolicy.__key_warning(key)
|
|
789
|
+
return super().__getitem__(key)
|
|
790
|
+
|
|
791
|
+
def get(self, key: str, default = None) -> Any:
|
|
792
|
+
ClusterNodeGroupAutoScalingPolicy.__key_warning(key)
|
|
793
|
+
return super().get(key, default)
|
|
794
|
+
|
|
795
|
+
def __init__(__self__, *,
|
|
796
|
+
constraints: Optional['outputs.ClusterNodeGroupAutoScalingPolicyConstraints'] = None,
|
|
797
|
+
scaling_rules: Optional[Sequence['outputs.ClusterNodeGroupAutoScalingPolicyScalingRule']] = None):
|
|
798
|
+
"""
|
|
799
|
+
:param 'ClusterNodeGroupAutoScalingPolicyConstraintsArgs' constraints: The constraints of auto scaling policy. See `constraints` below.
|
|
800
|
+
:param Sequence['ClusterNodeGroupAutoScalingPolicyScalingRuleArgs'] scaling_rules: The scaling rules of auto scaling policy. See `scaling_rules` below.
|
|
801
|
+
"""
|
|
802
|
+
if constraints is not None:
|
|
803
|
+
pulumi.set(__self__, "constraints", constraints)
|
|
804
|
+
if scaling_rules is not None:
|
|
805
|
+
pulumi.set(__self__, "scaling_rules", scaling_rules)
|
|
806
|
+
|
|
807
|
+
@property
|
|
808
|
+
@pulumi.getter
|
|
809
|
+
def constraints(self) -> Optional['outputs.ClusterNodeGroupAutoScalingPolicyConstraints']:
|
|
810
|
+
"""
|
|
811
|
+
The constraints of auto scaling policy. See `constraints` below.
|
|
812
|
+
"""
|
|
813
|
+
return pulumi.get(self, "constraints")
|
|
814
|
+
|
|
815
|
+
@property
|
|
816
|
+
@pulumi.getter(name="scalingRules")
|
|
817
|
+
def scaling_rules(self) -> Optional[Sequence['outputs.ClusterNodeGroupAutoScalingPolicyScalingRule']]:
|
|
818
|
+
"""
|
|
819
|
+
The scaling rules of auto scaling policy. See `scaling_rules` below.
|
|
820
|
+
"""
|
|
821
|
+
return pulumi.get(self, "scaling_rules")
|
|
822
|
+
|
|
823
|
+
|
|
824
|
+
@pulumi.output_type
|
|
825
|
+
class ClusterNodeGroupAutoScalingPolicyConstraints(dict):
|
|
826
|
+
@staticmethod
|
|
827
|
+
def __key_warning(key: str):
|
|
828
|
+
suggest = None
|
|
829
|
+
if key == "maxCapacity":
|
|
830
|
+
suggest = "max_capacity"
|
|
831
|
+
elif key == "minCapacity":
|
|
832
|
+
suggest = "min_capacity"
|
|
833
|
+
|
|
834
|
+
if suggest:
|
|
835
|
+
pulumi.log.warn(f"Key '{key}' not found in ClusterNodeGroupAutoScalingPolicyConstraints. Access the value via the '{suggest}' property getter instead.")
|
|
836
|
+
|
|
837
|
+
def __getitem__(self, key: str) -> Any:
|
|
838
|
+
ClusterNodeGroupAutoScalingPolicyConstraints.__key_warning(key)
|
|
839
|
+
return super().__getitem__(key)
|
|
840
|
+
|
|
841
|
+
def get(self, key: str, default = None) -> Any:
|
|
842
|
+
ClusterNodeGroupAutoScalingPolicyConstraints.__key_warning(key)
|
|
843
|
+
return super().get(key, default)
|
|
844
|
+
|
|
845
|
+
def __init__(__self__, *,
|
|
846
|
+
max_capacity: Optional[int] = None,
|
|
847
|
+
min_capacity: Optional[int] = None):
|
|
848
|
+
"""
|
|
849
|
+
:param int max_capacity: The maximum capacity of constraints for emr node group auto scaling policy.
|
|
850
|
+
:param int min_capacity: The minimum capacity of constraints for emr node group auto scaling policy.
|
|
851
|
+
"""
|
|
852
|
+
if max_capacity is not None:
|
|
853
|
+
pulumi.set(__self__, "max_capacity", max_capacity)
|
|
854
|
+
if min_capacity is not None:
|
|
855
|
+
pulumi.set(__self__, "min_capacity", min_capacity)
|
|
856
|
+
|
|
857
|
+
@property
|
|
858
|
+
@pulumi.getter(name="maxCapacity")
|
|
859
|
+
def max_capacity(self) -> Optional[int]:
|
|
860
|
+
"""
|
|
861
|
+
The maximum capacity of constraints for emr node group auto scaling policy.
|
|
862
|
+
"""
|
|
863
|
+
return pulumi.get(self, "max_capacity")
|
|
864
|
+
|
|
865
|
+
@property
|
|
866
|
+
@pulumi.getter(name="minCapacity")
|
|
867
|
+
def min_capacity(self) -> Optional[int]:
|
|
868
|
+
"""
|
|
869
|
+
The minimum capacity of constraints for emr node group auto scaling policy.
|
|
870
|
+
"""
|
|
871
|
+
return pulumi.get(self, "min_capacity")
|
|
872
|
+
|
|
873
|
+
|
|
874
|
+
@pulumi.output_type
|
|
875
|
+
class ClusterNodeGroupAutoScalingPolicyScalingRule(dict):
|
|
876
|
+
@staticmethod
|
|
877
|
+
def __key_warning(key: str):
|
|
878
|
+
suggest = None
|
|
879
|
+
if key == "activityType":
|
|
880
|
+
suggest = "activity_type"
|
|
881
|
+
elif key == "adjustmentValue":
|
|
882
|
+
suggest = "adjustment_value"
|
|
883
|
+
elif key == "ruleName":
|
|
884
|
+
suggest = "rule_name"
|
|
885
|
+
elif key == "triggerType":
|
|
886
|
+
suggest = "trigger_type"
|
|
887
|
+
elif key == "adjustmentType":
|
|
888
|
+
suggest = "adjustment_type"
|
|
889
|
+
elif key == "metricsTrigger":
|
|
890
|
+
suggest = "metrics_trigger"
|
|
891
|
+
elif key == "minAdjustmentValue":
|
|
892
|
+
suggest = "min_adjustment_value"
|
|
893
|
+
elif key == "timeTrigger":
|
|
894
|
+
suggest = "time_trigger"
|
|
895
|
+
|
|
896
|
+
if suggest:
|
|
897
|
+
pulumi.log.warn(f"Key '{key}' not found in ClusterNodeGroupAutoScalingPolicyScalingRule. Access the value via the '{suggest}' property getter instead.")
|
|
898
|
+
|
|
899
|
+
def __getitem__(self, key: str) -> Any:
|
|
900
|
+
ClusterNodeGroupAutoScalingPolicyScalingRule.__key_warning(key)
|
|
901
|
+
return super().__getitem__(key)
|
|
902
|
+
|
|
903
|
+
def get(self, key: str, default = None) -> Any:
|
|
904
|
+
ClusterNodeGroupAutoScalingPolicyScalingRule.__key_warning(key)
|
|
905
|
+
return super().get(key, default)
|
|
906
|
+
|
|
907
|
+
def __init__(__self__, *,
|
|
908
|
+
activity_type: str,
|
|
909
|
+
adjustment_value: int,
|
|
910
|
+
rule_name: str,
|
|
911
|
+
trigger_type: str,
|
|
912
|
+
adjustment_type: Optional[str] = None,
|
|
913
|
+
metrics_trigger: Optional['outputs.ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTrigger'] = None,
|
|
914
|
+
min_adjustment_value: Optional[int] = None,
|
|
915
|
+
time_trigger: Optional['outputs.ClusterNodeGroupAutoScalingPolicyScalingRuleTimeTrigger'] = None):
|
|
916
|
+
"""
|
|
917
|
+
:param str activity_type: The activity type of auto scaling policy. Valid values: `SCALE_OUT` and `SCALE_IN`.
|
|
918
|
+
:param int adjustment_value: The adjustment value of auto scaling policy. The value should between 1 and 5000.
|
|
919
|
+
:param str rule_name: The rule name of auto scaling policy.
|
|
920
|
+
:param str trigger_type: The trigger type of auto scaling policy. Valid values: `TIME_TRIGGER` and `METRICS_TRIGGER`.
|
|
921
|
+
:param str adjustment_type: The adjustment type of auto scaling policy. Valid values: `CHANGE_IN_CAPACITY` and `EXACT_CAPACITY`.
|
|
922
|
+
:param 'ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerArgs' metrics_trigger: The trigger metrics of scaling rules for emr node group auto scaling policy. See `metrics_trigger` below.
|
|
923
|
+
:param int min_adjustment_value: The minimum adjustment value of auto scaling policy.
|
|
924
|
+
:param 'ClusterNodeGroupAutoScalingPolicyScalingRuleTimeTriggerArgs' time_trigger: The trigger time of scaling rules for emr node group auto scaling policy. See `time_trigger` below.
|
|
925
|
+
"""
|
|
926
|
+
pulumi.set(__self__, "activity_type", activity_type)
|
|
927
|
+
pulumi.set(__self__, "adjustment_value", adjustment_value)
|
|
928
|
+
pulumi.set(__self__, "rule_name", rule_name)
|
|
929
|
+
pulumi.set(__self__, "trigger_type", trigger_type)
|
|
930
|
+
if adjustment_type is not None:
|
|
931
|
+
pulumi.set(__self__, "adjustment_type", adjustment_type)
|
|
932
|
+
if metrics_trigger is not None:
|
|
933
|
+
pulumi.set(__self__, "metrics_trigger", metrics_trigger)
|
|
934
|
+
if min_adjustment_value is not None:
|
|
935
|
+
pulumi.set(__self__, "min_adjustment_value", min_adjustment_value)
|
|
936
|
+
if time_trigger is not None:
|
|
937
|
+
pulumi.set(__self__, "time_trigger", time_trigger)
|
|
938
|
+
|
|
939
|
+
@property
|
|
940
|
+
@pulumi.getter(name="activityType")
|
|
941
|
+
def activity_type(self) -> str:
|
|
942
|
+
"""
|
|
943
|
+
The activity type of auto scaling policy. Valid values: `SCALE_OUT` and `SCALE_IN`.
|
|
944
|
+
"""
|
|
945
|
+
return pulumi.get(self, "activity_type")
|
|
946
|
+
|
|
947
|
+
@property
|
|
948
|
+
@pulumi.getter(name="adjustmentValue")
|
|
949
|
+
def adjustment_value(self) -> int:
|
|
950
|
+
"""
|
|
951
|
+
The adjustment value of auto scaling policy. The value should between 1 and 5000.
|
|
952
|
+
"""
|
|
953
|
+
return pulumi.get(self, "adjustment_value")
|
|
954
|
+
|
|
955
|
+
@property
|
|
956
|
+
@pulumi.getter(name="ruleName")
|
|
957
|
+
def rule_name(self) -> str:
|
|
958
|
+
"""
|
|
959
|
+
The rule name of auto scaling policy.
|
|
960
|
+
"""
|
|
961
|
+
return pulumi.get(self, "rule_name")
|
|
962
|
+
|
|
963
|
+
@property
|
|
964
|
+
@pulumi.getter(name="triggerType")
|
|
965
|
+
def trigger_type(self) -> str:
|
|
966
|
+
"""
|
|
967
|
+
The trigger type of auto scaling policy. Valid values: `TIME_TRIGGER` and `METRICS_TRIGGER`.
|
|
968
|
+
"""
|
|
969
|
+
return pulumi.get(self, "trigger_type")
|
|
970
|
+
|
|
971
|
+
@property
|
|
972
|
+
@pulumi.getter(name="adjustmentType")
|
|
973
|
+
def adjustment_type(self) -> Optional[str]:
|
|
974
|
+
"""
|
|
975
|
+
The adjustment type of auto scaling policy. Valid values: `CHANGE_IN_CAPACITY` and `EXACT_CAPACITY`.
|
|
976
|
+
"""
|
|
977
|
+
return pulumi.get(self, "adjustment_type")
|
|
978
|
+
|
|
979
|
+
@property
|
|
980
|
+
@pulumi.getter(name="metricsTrigger")
|
|
981
|
+
def metrics_trigger(self) -> Optional['outputs.ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTrigger']:
|
|
982
|
+
"""
|
|
983
|
+
The trigger metrics of scaling rules for emr node group auto scaling policy. See `metrics_trigger` below.
|
|
984
|
+
"""
|
|
985
|
+
return pulumi.get(self, "metrics_trigger")
|
|
986
|
+
|
|
987
|
+
@property
|
|
988
|
+
@pulumi.getter(name="minAdjustmentValue")
|
|
989
|
+
def min_adjustment_value(self) -> Optional[int]:
|
|
990
|
+
"""
|
|
991
|
+
The minimum adjustment value of auto scaling policy.
|
|
992
|
+
"""
|
|
993
|
+
return pulumi.get(self, "min_adjustment_value")
|
|
994
|
+
|
|
995
|
+
@property
|
|
996
|
+
@pulumi.getter(name="timeTrigger")
|
|
997
|
+
def time_trigger(self) -> Optional['outputs.ClusterNodeGroupAutoScalingPolicyScalingRuleTimeTrigger']:
|
|
998
|
+
"""
|
|
999
|
+
The trigger time of scaling rules for emr node group auto scaling policy. See `time_trigger` below.
|
|
1000
|
+
"""
|
|
1001
|
+
return pulumi.get(self, "time_trigger")
|
|
1002
|
+
|
|
1003
|
+
|
|
1004
|
+
@pulumi.output_type
|
|
1005
|
+
class ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTrigger(dict):
|
|
1006
|
+
@staticmethod
|
|
1007
|
+
def __key_warning(key: str):
|
|
1008
|
+
suggest = None
|
|
1009
|
+
if key == "evaluationCount":
|
|
1010
|
+
suggest = "evaluation_count"
|
|
1011
|
+
elif key == "timeWindow":
|
|
1012
|
+
suggest = "time_window"
|
|
1013
|
+
elif key == "conditionLogicOperator":
|
|
1014
|
+
suggest = "condition_logic_operator"
|
|
1015
|
+
elif key == "coolDownInterval":
|
|
1016
|
+
suggest = "cool_down_interval"
|
|
1017
|
+
elif key == "timeConstraints":
|
|
1018
|
+
suggest = "time_constraints"
|
|
1019
|
+
|
|
1020
|
+
if suggest:
|
|
1021
|
+
pulumi.log.warn(f"Key '{key}' not found in ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTrigger. Access the value via the '{suggest}' property getter instead.")
|
|
1022
|
+
|
|
1023
|
+
def __getitem__(self, key: str) -> Any:
|
|
1024
|
+
ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTrigger.__key_warning(key)
|
|
1025
|
+
return super().__getitem__(key)
|
|
1026
|
+
|
|
1027
|
+
def get(self, key: str, default = None) -> Any:
|
|
1028
|
+
ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTrigger.__key_warning(key)
|
|
1029
|
+
return super().get(key, default)
|
|
1030
|
+
|
|
1031
|
+
def __init__(__self__, *,
|
|
1032
|
+
evaluation_count: int,
|
|
1033
|
+
time_window: int,
|
|
1034
|
+
condition_logic_operator: Optional[str] = None,
|
|
1035
|
+
conditions: Optional[Sequence['outputs.ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerCondition']] = None,
|
|
1036
|
+
cool_down_interval: Optional[int] = None,
|
|
1037
|
+
time_constraints: Optional[Sequence['outputs.ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerTimeConstraint']] = None):
|
|
1038
|
+
"""
|
|
1039
|
+
:param int evaluation_count: The evaluation count for this scaling rule specific metrics trigger.
|
|
1040
|
+
:param int time_window: The time window for this scaling rule specific metrics trigger.
|
|
1041
|
+
:param str condition_logic_operator: The condition logic operator for this scaling rule specific metrics trigger. Valid values: `And` and `Or`.
|
|
1042
|
+
:param Sequence['ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerConditionArgs'] conditions: The conditions for this scaling rule specific metrics trigger. See `conditions` below.
|
|
1043
|
+
:param int cool_down_interval: The time of cool down interval for this scaling rule specific metrics trigger.
|
|
1044
|
+
:param Sequence['ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerTimeConstraintArgs'] time_constraints: The time constraints for this scaling rule specific metrics trigger. See `time_constraints` below.
|
|
1045
|
+
"""
|
|
1046
|
+
pulumi.set(__self__, "evaluation_count", evaluation_count)
|
|
1047
|
+
pulumi.set(__self__, "time_window", time_window)
|
|
1048
|
+
if condition_logic_operator is not None:
|
|
1049
|
+
pulumi.set(__self__, "condition_logic_operator", condition_logic_operator)
|
|
1050
|
+
if conditions is not None:
|
|
1051
|
+
pulumi.set(__self__, "conditions", conditions)
|
|
1052
|
+
if cool_down_interval is not None:
|
|
1053
|
+
pulumi.set(__self__, "cool_down_interval", cool_down_interval)
|
|
1054
|
+
if time_constraints is not None:
|
|
1055
|
+
pulumi.set(__self__, "time_constraints", time_constraints)
|
|
1056
|
+
|
|
1057
|
+
@property
|
|
1058
|
+
@pulumi.getter(name="evaluationCount")
|
|
1059
|
+
def evaluation_count(self) -> int:
|
|
1060
|
+
"""
|
|
1061
|
+
The evaluation count for this scaling rule specific metrics trigger.
|
|
1062
|
+
"""
|
|
1063
|
+
return pulumi.get(self, "evaluation_count")
|
|
1064
|
+
|
|
1065
|
+
@property
|
|
1066
|
+
@pulumi.getter(name="timeWindow")
|
|
1067
|
+
def time_window(self) -> int:
|
|
1068
|
+
"""
|
|
1069
|
+
The time window for this scaling rule specific metrics trigger.
|
|
1070
|
+
"""
|
|
1071
|
+
return pulumi.get(self, "time_window")
|
|
1072
|
+
|
|
1073
|
+
@property
|
|
1074
|
+
@pulumi.getter(name="conditionLogicOperator")
|
|
1075
|
+
def condition_logic_operator(self) -> Optional[str]:
|
|
1076
|
+
"""
|
|
1077
|
+
The condition logic operator for this scaling rule specific metrics trigger. Valid values: `And` and `Or`.
|
|
1078
|
+
"""
|
|
1079
|
+
return pulumi.get(self, "condition_logic_operator")
|
|
1080
|
+
|
|
1081
|
+
@property
|
|
1082
|
+
@pulumi.getter
|
|
1083
|
+
def conditions(self) -> Optional[Sequence['outputs.ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerCondition']]:
|
|
1084
|
+
"""
|
|
1085
|
+
The conditions for this scaling rule specific metrics trigger. See `conditions` below.
|
|
1086
|
+
"""
|
|
1087
|
+
return pulumi.get(self, "conditions")
|
|
1088
|
+
|
|
1089
|
+
@property
|
|
1090
|
+
@pulumi.getter(name="coolDownInterval")
|
|
1091
|
+
def cool_down_interval(self) -> Optional[int]:
|
|
1092
|
+
"""
|
|
1093
|
+
The time of cool down interval for this scaling rule specific metrics trigger.
|
|
1094
|
+
"""
|
|
1095
|
+
return pulumi.get(self, "cool_down_interval")
|
|
1096
|
+
|
|
1097
|
+
@property
|
|
1098
|
+
@pulumi.getter(name="timeConstraints")
|
|
1099
|
+
def time_constraints(self) -> Optional[Sequence['outputs.ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerTimeConstraint']]:
|
|
1100
|
+
"""
|
|
1101
|
+
The time constraints for this scaling rule specific metrics trigger. See `time_constraints` below.
|
|
1102
|
+
"""
|
|
1103
|
+
return pulumi.get(self, "time_constraints")
|
|
1104
|
+
|
|
1105
|
+
|
|
1106
|
+
@pulumi.output_type
|
|
1107
|
+
class ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerCondition(dict):
|
|
1108
|
+
@staticmethod
|
|
1109
|
+
def __key_warning(key: str):
|
|
1110
|
+
suggest = None
|
|
1111
|
+
if key == "comparisonOperator":
|
|
1112
|
+
suggest = "comparison_operator"
|
|
1113
|
+
elif key == "metricName":
|
|
1114
|
+
suggest = "metric_name"
|
|
1115
|
+
|
|
1116
|
+
if suggest:
|
|
1117
|
+
pulumi.log.warn(f"Key '{key}' not found in ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerCondition. Access the value via the '{suggest}' property getter instead.")
|
|
1118
|
+
|
|
1119
|
+
def __getitem__(self, key: str) -> Any:
|
|
1120
|
+
ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerCondition.__key_warning(key)
|
|
1121
|
+
return super().__getitem__(key)
|
|
1122
|
+
|
|
1123
|
+
def get(self, key: str, default = None) -> Any:
|
|
1124
|
+
ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerCondition.__key_warning(key)
|
|
1125
|
+
return super().get(key, default)
|
|
1126
|
+
|
|
1127
|
+
def __init__(__self__, *,
|
|
1128
|
+
comparison_operator: str,
|
|
1129
|
+
metric_name: str,
|
|
1130
|
+
statistics: str,
|
|
1131
|
+
threshold: float,
|
|
1132
|
+
tags: Optional[Sequence['outputs.ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerConditionTag']] = None):
|
|
1133
|
+
"""
|
|
1134
|
+
:param str comparison_operator: The comparison operator for this scaling rule specific metrics trigger. Invalid values: `EQ`, `NE`, `GT`, `LT`, `GE`, `LE`.
|
|
1135
|
+
:param str metric_name: The metric name for this scaling rule specific metrics trigger.
|
|
1136
|
+
:param str statistics: The statistics for this scaling rule specific metrics trigger.
|
|
1137
|
+
:param float threshold: The threshold for this scaling rule specific metrics trigger.
|
|
1138
|
+
:param Sequence['ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerConditionTagArgs'] tags: A mapping of tags to assign to the resource.
|
|
1139
|
+
"""
|
|
1140
|
+
pulumi.set(__self__, "comparison_operator", comparison_operator)
|
|
1141
|
+
pulumi.set(__self__, "metric_name", metric_name)
|
|
1142
|
+
pulumi.set(__self__, "statistics", statistics)
|
|
1143
|
+
pulumi.set(__self__, "threshold", threshold)
|
|
1144
|
+
if tags is not None:
|
|
1145
|
+
pulumi.set(__self__, "tags", tags)
|
|
1146
|
+
|
|
1147
|
+
@property
|
|
1148
|
+
@pulumi.getter(name="comparisonOperator")
|
|
1149
|
+
def comparison_operator(self) -> str:
|
|
1150
|
+
"""
|
|
1151
|
+
The comparison operator for this scaling rule specific metrics trigger. Invalid values: `EQ`, `NE`, `GT`, `LT`, `GE`, `LE`.
|
|
1152
|
+
"""
|
|
1153
|
+
return pulumi.get(self, "comparison_operator")
|
|
1154
|
+
|
|
1155
|
+
@property
|
|
1156
|
+
@pulumi.getter(name="metricName")
|
|
1157
|
+
def metric_name(self) -> str:
|
|
1158
|
+
"""
|
|
1159
|
+
The metric name for this scaling rule specific metrics trigger.
|
|
1160
|
+
"""
|
|
1161
|
+
return pulumi.get(self, "metric_name")
|
|
1162
|
+
|
|
1163
|
+
@property
|
|
1164
|
+
@pulumi.getter
|
|
1165
|
+
def statistics(self) -> str:
|
|
1166
|
+
"""
|
|
1167
|
+
The statistics for this scaling rule specific metrics trigger.
|
|
1168
|
+
"""
|
|
1169
|
+
return pulumi.get(self, "statistics")
|
|
1170
|
+
|
|
1171
|
+
@property
|
|
1172
|
+
@pulumi.getter
|
|
1173
|
+
def threshold(self) -> float:
|
|
1174
|
+
"""
|
|
1175
|
+
The threshold for this scaling rule specific metrics trigger.
|
|
1176
|
+
"""
|
|
1177
|
+
return pulumi.get(self, "threshold")
|
|
1178
|
+
|
|
1179
|
+
@property
|
|
1180
|
+
@pulumi.getter
|
|
1181
|
+
def tags(self) -> Optional[Sequence['outputs.ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerConditionTag']]:
|
|
1182
|
+
"""
|
|
1183
|
+
A mapping of tags to assign to the resource.
|
|
1184
|
+
"""
|
|
1185
|
+
return pulumi.get(self, "tags")
|
|
1186
|
+
|
|
1187
|
+
|
|
1188
|
+
@pulumi.output_type
|
|
1189
|
+
class ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerConditionTag(dict):
|
|
1190
|
+
def __init__(__self__, *,
|
|
1191
|
+
key: str,
|
|
1192
|
+
value: Optional[str] = None):
|
|
1193
|
+
"""
|
|
1194
|
+
:param str key: The tag key for this scaling rule specific metrics trigger.
|
|
1195
|
+
:param str value: The tag value for this scaling rule specific metrics trigger.
|
|
1196
|
+
"""
|
|
1197
|
+
pulumi.set(__self__, "key", key)
|
|
1198
|
+
if value is not None:
|
|
1199
|
+
pulumi.set(__self__, "value", value)
|
|
1200
|
+
|
|
1201
|
+
@property
|
|
1202
|
+
@pulumi.getter
|
|
1203
|
+
def key(self) -> str:
|
|
1204
|
+
"""
|
|
1205
|
+
The tag key for this scaling rule specific metrics trigger.
|
|
1206
|
+
"""
|
|
1207
|
+
return pulumi.get(self, "key")
|
|
1208
|
+
|
|
1209
|
+
@property
|
|
1210
|
+
@pulumi.getter
|
|
1211
|
+
def value(self) -> Optional[str]:
|
|
1212
|
+
"""
|
|
1213
|
+
The tag value for this scaling rule specific metrics trigger.
|
|
1214
|
+
"""
|
|
1215
|
+
return pulumi.get(self, "value")
|
|
1216
|
+
|
|
1217
|
+
|
|
1218
|
+
@pulumi.output_type
|
|
1219
|
+
class ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerTimeConstraint(dict):
|
|
1220
|
+
@staticmethod
|
|
1221
|
+
def __key_warning(key: str):
|
|
1222
|
+
suggest = None
|
|
1223
|
+
if key == "endTime":
|
|
1224
|
+
suggest = "end_time"
|
|
1225
|
+
elif key == "startTime":
|
|
1226
|
+
suggest = "start_time"
|
|
1227
|
+
|
|
1228
|
+
if suggest:
|
|
1229
|
+
pulumi.log.warn(f"Key '{key}' not found in ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerTimeConstraint. Access the value via the '{suggest}' property getter instead.")
|
|
1230
|
+
|
|
1231
|
+
def __getitem__(self, key: str) -> Any:
|
|
1232
|
+
ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerTimeConstraint.__key_warning(key)
|
|
1233
|
+
return super().__getitem__(key)
|
|
1234
|
+
|
|
1235
|
+
def get(self, key: str, default = None) -> Any:
|
|
1236
|
+
ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerTimeConstraint.__key_warning(key)
|
|
1237
|
+
return super().get(key, default)
|
|
1238
|
+
|
|
1239
|
+
def __init__(__self__, *,
|
|
1240
|
+
end_time: Optional[str] = None,
|
|
1241
|
+
start_time: Optional[str] = None):
|
|
1242
|
+
"""
|
|
1243
|
+
:param str end_time: The end time for this scaling rule specific metrics trigger.
|
|
1244
|
+
:param str start_time: The start time for this scaling rule specific metrics trigger.
|
|
1245
|
+
"""
|
|
1246
|
+
if end_time is not None:
|
|
1247
|
+
pulumi.set(__self__, "end_time", end_time)
|
|
1248
|
+
if start_time is not None:
|
|
1249
|
+
pulumi.set(__self__, "start_time", start_time)
|
|
1250
|
+
|
|
1251
|
+
@property
|
|
1252
|
+
@pulumi.getter(name="endTime")
|
|
1253
|
+
def end_time(self) -> Optional[str]:
|
|
1254
|
+
"""
|
|
1255
|
+
The end time for this scaling rule specific metrics trigger.
|
|
1256
|
+
"""
|
|
1257
|
+
return pulumi.get(self, "end_time")
|
|
1258
|
+
|
|
1259
|
+
@property
|
|
1260
|
+
@pulumi.getter(name="startTime")
|
|
1261
|
+
def start_time(self) -> Optional[str]:
|
|
1262
|
+
"""
|
|
1263
|
+
The start time for this scaling rule specific metrics trigger.
|
|
1264
|
+
"""
|
|
1265
|
+
return pulumi.get(self, "start_time")
|
|
1266
|
+
|
|
1267
|
+
|
|
1268
|
+
@pulumi.output_type
|
|
1269
|
+
class ClusterNodeGroupAutoScalingPolicyScalingRuleTimeTrigger(dict):
|
|
1270
|
+
@staticmethod
|
|
1271
|
+
def __key_warning(key: str):
|
|
1272
|
+
suggest = None
|
|
1273
|
+
if key == "launchTime":
|
|
1274
|
+
suggest = "launch_time"
|
|
1275
|
+
elif key == "endTime":
|
|
1276
|
+
suggest = "end_time"
|
|
1277
|
+
elif key == "launchExpirationTime":
|
|
1278
|
+
suggest = "launch_expiration_time"
|
|
1279
|
+
elif key == "recurrenceType":
|
|
1280
|
+
suggest = "recurrence_type"
|
|
1281
|
+
elif key == "recurrenceValue":
|
|
1282
|
+
suggest = "recurrence_value"
|
|
1283
|
+
elif key == "startTime":
|
|
1284
|
+
suggest = "start_time"
|
|
1285
|
+
|
|
1286
|
+
if suggest:
|
|
1287
|
+
pulumi.log.warn(f"Key '{key}' not found in ClusterNodeGroupAutoScalingPolicyScalingRuleTimeTrigger. Access the value via the '{suggest}' property getter instead.")
|
|
1288
|
+
|
|
1289
|
+
def __getitem__(self, key: str) -> Any:
|
|
1290
|
+
ClusterNodeGroupAutoScalingPolicyScalingRuleTimeTrigger.__key_warning(key)
|
|
1291
|
+
return super().__getitem__(key)
|
|
1292
|
+
|
|
1293
|
+
def get(self, key: str, default = None) -> Any:
|
|
1294
|
+
ClusterNodeGroupAutoScalingPolicyScalingRuleTimeTrigger.__key_warning(key)
|
|
1295
|
+
return super().get(key, default)
|
|
1296
|
+
|
|
1297
|
+
def __init__(__self__, *,
|
|
1298
|
+
launch_time: str,
|
|
1299
|
+
end_time: Optional[str] = None,
|
|
1300
|
+
launch_expiration_time: Optional[int] = None,
|
|
1301
|
+
recurrence_type: Optional[str] = None,
|
|
1302
|
+
recurrence_value: Optional[str] = None,
|
|
1303
|
+
start_time: Optional[str] = None):
|
|
1304
|
+
"""
|
|
1305
|
+
:param str launch_time: The launch time for this scaling rule specific time trigger.
|
|
1306
|
+
:param str end_time: The end time for this scaling rule specific metrics trigger.
|
|
1307
|
+
:param int launch_expiration_time: The launch expiration time for this scaling rule specific time trigger. The value should between 0 and 3600.
|
|
1308
|
+
:param str recurrence_type: The recurrence type for this scaling rule specific time trigger. Valid values: `MINUTELY`, `HOURLY`, `DAILY`, `WEEKLY`, `MONTHLY`.
|
|
1309
|
+
:param str recurrence_value: The recurrence value for this scaling rule specific time trigger.
|
|
1310
|
+
:param str start_time: The start time for this scaling rule specific metrics trigger.
|
|
1311
|
+
"""
|
|
1312
|
+
pulumi.set(__self__, "launch_time", launch_time)
|
|
1313
|
+
if end_time is not None:
|
|
1314
|
+
pulumi.set(__self__, "end_time", end_time)
|
|
1315
|
+
if launch_expiration_time is not None:
|
|
1316
|
+
pulumi.set(__self__, "launch_expiration_time", launch_expiration_time)
|
|
1317
|
+
if recurrence_type is not None:
|
|
1318
|
+
pulumi.set(__self__, "recurrence_type", recurrence_type)
|
|
1319
|
+
if recurrence_value is not None:
|
|
1320
|
+
pulumi.set(__self__, "recurrence_value", recurrence_value)
|
|
1321
|
+
if start_time is not None:
|
|
1322
|
+
pulumi.set(__self__, "start_time", start_time)
|
|
1323
|
+
|
|
1324
|
+
@property
|
|
1325
|
+
@pulumi.getter(name="launchTime")
|
|
1326
|
+
def launch_time(self) -> str:
|
|
1327
|
+
"""
|
|
1328
|
+
The launch time for this scaling rule specific time trigger.
|
|
1329
|
+
"""
|
|
1330
|
+
return pulumi.get(self, "launch_time")
|
|
1331
|
+
|
|
1332
|
+
@property
|
|
1333
|
+
@pulumi.getter(name="endTime")
|
|
1334
|
+
def end_time(self) -> Optional[str]:
|
|
1335
|
+
"""
|
|
1336
|
+
The end time for this scaling rule specific metrics trigger.
|
|
1337
|
+
"""
|
|
1338
|
+
return pulumi.get(self, "end_time")
|
|
1339
|
+
|
|
1340
|
+
@property
|
|
1341
|
+
@pulumi.getter(name="launchExpirationTime")
|
|
1342
|
+
def launch_expiration_time(self) -> Optional[int]:
|
|
1343
|
+
"""
|
|
1344
|
+
The launch expiration time for this scaling rule specific time trigger. The value should between 0 and 3600.
|
|
1345
|
+
"""
|
|
1346
|
+
return pulumi.get(self, "launch_expiration_time")
|
|
1347
|
+
|
|
1348
|
+
@property
|
|
1349
|
+
@pulumi.getter(name="recurrenceType")
|
|
1350
|
+
def recurrence_type(self) -> Optional[str]:
|
|
1351
|
+
"""
|
|
1352
|
+
The recurrence type for this scaling rule specific time trigger. Valid values: `MINUTELY`, `HOURLY`, `DAILY`, `WEEKLY`, `MONTHLY`.
|
|
1353
|
+
"""
|
|
1354
|
+
return pulumi.get(self, "recurrence_type")
|
|
1355
|
+
|
|
1356
|
+
@property
|
|
1357
|
+
@pulumi.getter(name="recurrenceValue")
|
|
1358
|
+
def recurrence_value(self) -> Optional[str]:
|
|
1359
|
+
"""
|
|
1360
|
+
The recurrence value for this scaling rule specific time trigger.
|
|
1361
|
+
"""
|
|
1362
|
+
return pulumi.get(self, "recurrence_value")
|
|
1363
|
+
|
|
1364
|
+
@property
|
|
1365
|
+
@pulumi.getter(name="startTime")
|
|
1366
|
+
def start_time(self) -> Optional[str]:
|
|
1367
|
+
"""
|
|
1368
|
+
The start time for this scaling rule specific metrics trigger.
|
|
1369
|
+
"""
|
|
1370
|
+
return pulumi.get(self, "start_time")
|
|
1371
|
+
|
|
1372
|
+
|
|
709
1373
|
@pulumi.output_type
|
|
710
1374
|
class ClusterNodeGroupCostOptimizedConfig(dict):
|
|
711
1375
|
@staticmethod
|
|
@@ -733,6 +1397,11 @@ class ClusterNodeGroupCostOptimizedConfig(dict):
|
|
|
733
1397
|
on_demand_base_capacity: int,
|
|
734
1398
|
on_demand_percentage_above_base_capacity: int,
|
|
735
1399
|
spot_instance_pools: int):
|
|
1400
|
+
"""
|
|
1401
|
+
:param int on_demand_base_capacity: The cost optimized configuration which on demand based capacity.
|
|
1402
|
+
:param int on_demand_percentage_above_base_capacity: The cost optimized configuration which on demand percentage above based capacity.
|
|
1403
|
+
:param int spot_instance_pools: The cost optimized configuration with spot instance pools.
|
|
1404
|
+
"""
|
|
736
1405
|
pulumi.set(__self__, "on_demand_base_capacity", on_demand_base_capacity)
|
|
737
1406
|
pulumi.set(__self__, "on_demand_percentage_above_base_capacity", on_demand_percentage_above_base_capacity)
|
|
738
1407
|
pulumi.set(__self__, "spot_instance_pools", spot_instance_pools)
|
|
@@ -740,16 +1409,25 @@ class ClusterNodeGroupCostOptimizedConfig(dict):
|
|
|
740
1409
|
@property
|
|
741
1410
|
@pulumi.getter(name="onDemandBaseCapacity")
|
|
742
1411
|
def on_demand_base_capacity(self) -> int:
|
|
1412
|
+
"""
|
|
1413
|
+
The cost optimized configuration which on demand based capacity.
|
|
1414
|
+
"""
|
|
743
1415
|
return pulumi.get(self, "on_demand_base_capacity")
|
|
744
1416
|
|
|
745
1417
|
@property
|
|
746
1418
|
@pulumi.getter(name="onDemandPercentageAboveBaseCapacity")
|
|
747
1419
|
def on_demand_percentage_above_base_capacity(self) -> int:
|
|
1420
|
+
"""
|
|
1421
|
+
The cost optimized configuration which on demand percentage above based capacity.
|
|
1422
|
+
"""
|
|
748
1423
|
return pulumi.get(self, "on_demand_percentage_above_base_capacity")
|
|
749
1424
|
|
|
750
1425
|
@property
|
|
751
1426
|
@pulumi.getter(name="spotInstancePools")
|
|
752
1427
|
def spot_instance_pools(self) -> int:
|
|
1428
|
+
"""
|
|
1429
|
+
The cost optimized configuration with spot instance pools.
|
|
1430
|
+
"""
|
|
753
1431
|
return pulumi.get(self, "spot_instance_pools")
|
|
754
1432
|
|
|
755
1433
|
|
|
@@ -777,6 +1455,12 @@ class ClusterNodeGroupDataDisk(dict):
|
|
|
777
1455
|
size: int,
|
|
778
1456
|
count: Optional[int] = None,
|
|
779
1457
|
performance_level: Optional[str] = None):
|
|
1458
|
+
"""
|
|
1459
|
+
:param str category: The type of the data disk. Valid values: `cloud_efficiency` and `cloud_essd`.
|
|
1460
|
+
:param int size: The size of a data disk, at least 40. Unit: GiB.
|
|
1461
|
+
:param int count: The count of a data disk.
|
|
1462
|
+
:param str performance_level: Worker node data disk performance level, when `category` values `cloud_essd`, the optional values are `PL0`, `PL1`, `PL2` or `PL3`, but the specific performance level is related to the disk capacity.
|
|
1463
|
+
"""
|
|
780
1464
|
pulumi.set(__self__, "category", category)
|
|
781
1465
|
pulumi.set(__self__, "size", size)
|
|
782
1466
|
if count is not None:
|
|
@@ -787,21 +1471,33 @@ class ClusterNodeGroupDataDisk(dict):
|
|
|
787
1471
|
@property
|
|
788
1472
|
@pulumi.getter
|
|
789
1473
|
def category(self) -> str:
|
|
1474
|
+
"""
|
|
1475
|
+
The type of the data disk. Valid values: `cloud_efficiency` and `cloud_essd`.
|
|
1476
|
+
"""
|
|
790
1477
|
return pulumi.get(self, "category")
|
|
791
1478
|
|
|
792
1479
|
@property
|
|
793
1480
|
@pulumi.getter
|
|
794
1481
|
def size(self) -> int:
|
|
1482
|
+
"""
|
|
1483
|
+
The size of a data disk, at least 40. Unit: GiB.
|
|
1484
|
+
"""
|
|
795
1485
|
return pulumi.get(self, "size")
|
|
796
1486
|
|
|
797
1487
|
@property
|
|
798
1488
|
@pulumi.getter
|
|
799
1489
|
def count(self) -> Optional[int]:
|
|
1490
|
+
"""
|
|
1491
|
+
The count of a data disk.
|
|
1492
|
+
"""
|
|
800
1493
|
return pulumi.get(self, "count")
|
|
801
1494
|
|
|
802
1495
|
@property
|
|
803
1496
|
@pulumi.getter(name="performanceLevel")
|
|
804
1497
|
def performance_level(self) -> Optional[str]:
|
|
1498
|
+
"""
|
|
1499
|
+
Worker node data disk performance level, when `category` values `cloud_essd`, the optional values are `PL0`, `PL1`, `PL2` or `PL3`, but the specific performance level is related to the disk capacity.
|
|
1500
|
+
"""
|
|
805
1501
|
return pulumi.get(self, "performance_level")
|
|
806
1502
|
|
|
807
1503
|
|
|
@@ -829,17 +1525,27 @@ class ClusterNodeGroupSpotBidPrice(dict):
|
|
|
829
1525
|
def __init__(__self__, *,
|
|
830
1526
|
bid_price: int,
|
|
831
1527
|
instance_type: str):
|
|
1528
|
+
"""
|
|
1529
|
+
:param int bid_price: The spot bid price of a PayAsYouGo instance.
|
|
1530
|
+
:param str instance_type: Host Ecs instance type.
|
|
1531
|
+
"""
|
|
832
1532
|
pulumi.set(__self__, "bid_price", bid_price)
|
|
833
1533
|
pulumi.set(__self__, "instance_type", instance_type)
|
|
834
1534
|
|
|
835
1535
|
@property
|
|
836
1536
|
@pulumi.getter(name="bidPrice")
|
|
837
1537
|
def bid_price(self) -> int:
|
|
1538
|
+
"""
|
|
1539
|
+
The spot bid price of a PayAsYouGo instance.
|
|
1540
|
+
"""
|
|
838
1541
|
return pulumi.get(self, "bid_price")
|
|
839
1542
|
|
|
840
1543
|
@property
|
|
841
1544
|
@pulumi.getter(name="instanceType")
|
|
842
1545
|
def instance_type(self) -> str:
|
|
1546
|
+
"""
|
|
1547
|
+
Host Ecs instance type.
|
|
1548
|
+
"""
|
|
843
1549
|
return pulumi.get(self, "instance_type")
|
|
844
1550
|
|
|
845
1551
|
|
|
@@ -971,6 +1677,12 @@ class ClusterNodeGroupSystemDisk(dict):
|
|
|
971
1677
|
size: int,
|
|
972
1678
|
count: Optional[int] = None,
|
|
973
1679
|
performance_level: Optional[str] = None):
|
|
1680
|
+
"""
|
|
1681
|
+
:param str category: The type of the data disk. Valid values: `cloud_efficiency` and `cloud_essd`.
|
|
1682
|
+
:param int size: The size of a data disk, at least 40. Unit: GiB.
|
|
1683
|
+
:param int count: The count of a data disk.
|
|
1684
|
+
:param str performance_level: Worker node data disk performance level, when `category` values `cloud_essd`, the optional values are `PL0`, `PL1`, `PL2` or `PL3`, but the specific performance level is related to the disk capacity.
|
|
1685
|
+
"""
|
|
974
1686
|
pulumi.set(__self__, "category", category)
|
|
975
1687
|
pulumi.set(__self__, "size", size)
|
|
976
1688
|
if count is not None:
|
|
@@ -981,21 +1693,33 @@ class ClusterNodeGroupSystemDisk(dict):
|
|
|
981
1693
|
@property
|
|
982
1694
|
@pulumi.getter
|
|
983
1695
|
def category(self) -> str:
|
|
1696
|
+
"""
|
|
1697
|
+
The type of the data disk. Valid values: `cloud_efficiency` and `cloud_essd`.
|
|
1698
|
+
"""
|
|
984
1699
|
return pulumi.get(self, "category")
|
|
985
1700
|
|
|
986
1701
|
@property
|
|
987
1702
|
@pulumi.getter
|
|
988
1703
|
def size(self) -> int:
|
|
1704
|
+
"""
|
|
1705
|
+
The size of a data disk, at least 40. Unit: GiB.
|
|
1706
|
+
"""
|
|
989
1707
|
return pulumi.get(self, "size")
|
|
990
1708
|
|
|
991
1709
|
@property
|
|
992
1710
|
@pulumi.getter
|
|
993
1711
|
def count(self) -> Optional[int]:
|
|
1712
|
+
"""
|
|
1713
|
+
The count of a data disk.
|
|
1714
|
+
"""
|
|
994
1715
|
return pulumi.get(self, "count")
|
|
995
1716
|
|
|
996
1717
|
@property
|
|
997
1718
|
@pulumi.getter(name="performanceLevel")
|
|
998
1719
|
def performance_level(self) -> Optional[str]:
|
|
1720
|
+
"""
|
|
1721
|
+
Worker node data disk performance level, when `category` values `cloud_essd`, the optional values are `PL0`, `PL1`, `PL2` or `PL3`, but the specific performance level is related to the disk capacity.
|
|
1722
|
+
"""
|
|
999
1723
|
return pulumi.get(self, "performance_level")
|
|
1000
1724
|
|
|
1001
1725
|
|