pulumi-alicloud 3.69.0__py3-none-any.whl → 3.69.0a1733289490__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 -56
- pulumi_alicloud/adb/db_cluster.py +0 -7
- pulumi_alicloud/arms/__init__.py +0 -2
- pulumi_alicloud/arms/_inputs.py +4 -42
- pulumi_alicloud/arms/dispatch_rule.py +0 -4
- pulumi_alicloud/arms/get_dispatch_rules.py +6 -99
- pulumi_alicloud/arms/outputs.py +13 -154
- pulumi_alicloud/cfg/rule.py +4 -4
- pulumi_alicloud/cs/autoscaling_config.py +0 -51
- pulumi_alicloud/dataworks/__init__.py +0 -4
- pulumi_alicloud/dataworks/outputs.py +0 -44
- pulumi_alicloud/dataworks/project.py +140 -294
- pulumi_alicloud/ecs/__init__.py +0 -1
- pulumi_alicloud/ecs/_inputs.py +0 -34
- pulumi_alicloud/ecs/disk.py +14 -156
- pulumi_alicloud/ecs/ecs_disk.py +97 -308
- pulumi_alicloud/ecs/ecs_key_pair.py +49 -77
- pulumi_alicloud/ecs/instance.py +0 -145
- pulumi_alicloud/ecs/key_pair.py +7 -27
- pulumi_alicloud/ecs/outputs.py +0 -37
- pulumi_alicloud/oss/__init__.py +0 -1
- pulumi_alicloud/oss/_inputs.py +0 -1750
- pulumi_alicloud/oss/outputs.py +0 -1338
- pulumi_alicloud/polardb/cluster.py +7 -7
- pulumi_alicloud/polardb/get_clusters.py +1 -1
- pulumi_alicloud/polardb/outputs.py +2 -2
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/redis/tair_instance.py +30 -63
- pulumi_alicloud/sae/application.py +1 -1
- pulumi_alicloud/slb/attachment.py +6 -2
- pulumi_alicloud/sls/__init__.py +0 -1
- pulumi_alicloud/sls/_inputs.py +0 -484
- pulumi_alicloud/sls/outputs.py +0 -346
- pulumi_alicloud/vpc/network.py +7 -7
- {pulumi_alicloud-3.69.0.dist-info → pulumi_alicloud-3.69.0a1733289490.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.69.0.dist-info → pulumi_alicloud-3.69.0a1733289490.dist-info}/RECORD +38 -47
- pulumi_alicloud/arms/alert_robot.py +0 -421
- pulumi_alicloud/arms/get_alert_robots.py +0 -230
- pulumi_alicloud/dataworks/_inputs.py +0 -95
- pulumi_alicloud/dataworks/data_source.py +0 -686
- pulumi_alicloud/dataworks/data_source_shared_rule.py +0 -378
- pulumi_alicloud/dataworks/project_member.py +0 -380
- pulumi_alicloud/ecs/image_pipeline_execution.py +0 -245
- pulumi_alicloud/oss/bucket_website.py +0 -416
- pulumi_alicloud/sls/oss_export_sink.py +0 -428
- {pulumi_alicloud-3.69.0.dist-info → pulumi_alicloud-3.69.0a1733289490.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.69.0.dist-info → pulumi_alicloud-3.69.0a1733289490.dist-info}/top_level.txt +0 -0
pulumi_alicloud/arms/outputs.py
CHANGED
|
@@ -41,7 +41,6 @@ __all__ = [
|
|
|
41
41
|
'SyntheticTaskMonitorConfWebsite',
|
|
42
42
|
'GetAlertContactGroupsGroupResult',
|
|
43
43
|
'GetAlertContactsContactResult',
|
|
44
|
-
'GetAlertRobotsRobotResult',
|
|
45
44
|
'GetDispatchRulesRuleResult',
|
|
46
45
|
'GetDispatchRulesRuleGroupRuleResult',
|
|
47
46
|
'GetDispatchRulesRuleLabelMatchExpressionGridResult',
|
|
@@ -285,12 +284,8 @@ class DispatchRuleNotifyRule(dict):
|
|
|
285
284
|
suggest = None
|
|
286
285
|
if key == "notifyChannels":
|
|
287
286
|
suggest = "notify_channels"
|
|
288
|
-
elif key == "notifyEndTime":
|
|
289
|
-
suggest = "notify_end_time"
|
|
290
287
|
elif key == "notifyObjects":
|
|
291
288
|
suggest = "notify_objects"
|
|
292
|
-
elif key == "notifyStartTime":
|
|
293
|
-
suggest = "notify_start_time"
|
|
294
289
|
|
|
295
290
|
if suggest:
|
|
296
291
|
pulumi.log.warn(f"Key '{key}' not found in DispatchRuleNotifyRule. Access the value via the '{suggest}' property getter instead.")
|
|
@@ -305,19 +300,13 @@ class DispatchRuleNotifyRule(dict):
|
|
|
305
300
|
|
|
306
301
|
def __init__(__self__, *,
|
|
307
302
|
notify_channels: Sequence[str],
|
|
308
|
-
|
|
309
|
-
notify_objects: Sequence['outputs.DispatchRuleNotifyRuleNotifyObject'],
|
|
310
|
-
notify_start_time: str):
|
|
303
|
+
notify_objects: Sequence['outputs.DispatchRuleNotifyRuleNotifyObject']):
|
|
311
304
|
"""
|
|
312
305
|
:param Sequence[str] notify_channels: The notification method. Valid values: dingTalk, sms, webhook, email, and wechat.
|
|
313
|
-
:param str notify_end_time: End time of notification.
|
|
314
306
|
:param Sequence['DispatchRuleNotifyRuleNotifyObjectArgs'] notify_objects: Sets the notification object. See `notify_objects` below.
|
|
315
|
-
:param str notify_start_time: Start time of notification.
|
|
316
307
|
"""
|
|
317
308
|
pulumi.set(__self__, "notify_channels", notify_channels)
|
|
318
|
-
pulumi.set(__self__, "notify_end_time", notify_end_time)
|
|
319
309
|
pulumi.set(__self__, "notify_objects", notify_objects)
|
|
320
|
-
pulumi.set(__self__, "notify_start_time", notify_start_time)
|
|
321
310
|
|
|
322
311
|
@property
|
|
323
312
|
@pulumi.getter(name="notifyChannels")
|
|
@@ -327,14 +316,6 @@ class DispatchRuleNotifyRule(dict):
|
|
|
327
316
|
"""
|
|
328
317
|
return pulumi.get(self, "notify_channels")
|
|
329
318
|
|
|
330
|
-
@property
|
|
331
|
-
@pulumi.getter(name="notifyEndTime")
|
|
332
|
-
def notify_end_time(self) -> str:
|
|
333
|
-
"""
|
|
334
|
-
End time of notification.
|
|
335
|
-
"""
|
|
336
|
-
return pulumi.get(self, "notify_end_time")
|
|
337
|
-
|
|
338
319
|
@property
|
|
339
320
|
@pulumi.getter(name="notifyObjects")
|
|
340
321
|
def notify_objects(self) -> Sequence['outputs.DispatchRuleNotifyRuleNotifyObject']:
|
|
@@ -343,14 +324,6 @@ class DispatchRuleNotifyRule(dict):
|
|
|
343
324
|
"""
|
|
344
325
|
return pulumi.get(self, "notify_objects")
|
|
345
326
|
|
|
346
|
-
@property
|
|
347
|
-
@pulumi.getter(name="notifyStartTime")
|
|
348
|
-
def notify_start_time(self) -> str:
|
|
349
|
-
"""
|
|
350
|
-
Start time of notification.
|
|
351
|
-
"""
|
|
352
|
-
return pulumi.get(self, "notify_start_time")
|
|
353
|
-
|
|
354
327
|
|
|
355
328
|
@pulumi.output_type
|
|
356
329
|
class DispatchRuleNotifyRuleNotifyObject(dict):
|
|
@@ -380,7 +353,7 @@ class DispatchRuleNotifyRuleNotifyObject(dict):
|
|
|
380
353
|
"""
|
|
381
354
|
:param str name: The name of the contact or contact group.
|
|
382
355
|
:param str notify_object_id: The ID of the contact or contact group.
|
|
383
|
-
:param str notify_type: The type of the alert contact. Valid values:
|
|
356
|
+
:param str notify_type: The type of the alert contact. Valid values: ARMS_CONTACT: contact. ARMS_CONTACT_GROUP: contact group.
|
|
384
357
|
"""
|
|
385
358
|
pulumi.set(__self__, "name", name)
|
|
386
359
|
pulumi.set(__self__, "notify_object_id", notify_object_id)
|
|
@@ -406,7 +379,7 @@ class DispatchRuleNotifyRuleNotifyObject(dict):
|
|
|
406
379
|
@pulumi.getter(name="notifyType")
|
|
407
380
|
def notify_type(self) -> str:
|
|
408
381
|
"""
|
|
409
|
-
The type of the alert contact. Valid values:
|
|
382
|
+
The type of the alert contact. Valid values: ARMS_CONTACT: contact. ARMS_CONTACT_GROUP: contact group.
|
|
410
383
|
"""
|
|
411
384
|
return pulumi.get(self, "notify_type")
|
|
412
385
|
|
|
@@ -2346,101 +2319,6 @@ class GetAlertContactsContactResult(dict):
|
|
|
2346
2319
|
return pulumi.get(self, "webhook")
|
|
2347
2320
|
|
|
2348
2321
|
|
|
2349
|
-
@pulumi.output_type
|
|
2350
|
-
class GetAlertRobotsRobotResult(dict):
|
|
2351
|
-
def __init__(__self__, *,
|
|
2352
|
-
create_time: str,
|
|
2353
|
-
daily_noc: str,
|
|
2354
|
-
daily_noc_time: str,
|
|
2355
|
-
id: str,
|
|
2356
|
-
robot_addr: str,
|
|
2357
|
-
robot_id: str,
|
|
2358
|
-
robot_name: str,
|
|
2359
|
-
robot_type: str):
|
|
2360
|
-
"""
|
|
2361
|
-
:param str create_time: The creation time of the resource.
|
|
2362
|
-
:param str daily_noc: Specifies whether the alert robot receives daily notifications.
|
|
2363
|
-
:param str daily_noc_time: The time of the daily notification.
|
|
2364
|
-
:param str id: The ID of the Alert Robot.
|
|
2365
|
-
:param str robot_addr: The webhook url of the robot.
|
|
2366
|
-
:param str robot_id: The id of the robot.
|
|
2367
|
-
:param str robot_name: The name of the robot.
|
|
2368
|
-
:param str robot_type: The robot type.
|
|
2369
|
-
"""
|
|
2370
|
-
pulumi.set(__self__, "create_time", create_time)
|
|
2371
|
-
pulumi.set(__self__, "daily_noc", daily_noc)
|
|
2372
|
-
pulumi.set(__self__, "daily_noc_time", daily_noc_time)
|
|
2373
|
-
pulumi.set(__self__, "id", id)
|
|
2374
|
-
pulumi.set(__self__, "robot_addr", robot_addr)
|
|
2375
|
-
pulumi.set(__self__, "robot_id", robot_id)
|
|
2376
|
-
pulumi.set(__self__, "robot_name", robot_name)
|
|
2377
|
-
pulumi.set(__self__, "robot_type", robot_type)
|
|
2378
|
-
|
|
2379
|
-
@property
|
|
2380
|
-
@pulumi.getter(name="createTime")
|
|
2381
|
-
def create_time(self) -> str:
|
|
2382
|
-
"""
|
|
2383
|
-
The creation time of the resource.
|
|
2384
|
-
"""
|
|
2385
|
-
return pulumi.get(self, "create_time")
|
|
2386
|
-
|
|
2387
|
-
@property
|
|
2388
|
-
@pulumi.getter(name="dailyNoc")
|
|
2389
|
-
def daily_noc(self) -> str:
|
|
2390
|
-
"""
|
|
2391
|
-
Specifies whether the alert robot receives daily notifications.
|
|
2392
|
-
"""
|
|
2393
|
-
return pulumi.get(self, "daily_noc")
|
|
2394
|
-
|
|
2395
|
-
@property
|
|
2396
|
-
@pulumi.getter(name="dailyNocTime")
|
|
2397
|
-
def daily_noc_time(self) -> str:
|
|
2398
|
-
"""
|
|
2399
|
-
The time of the daily notification.
|
|
2400
|
-
"""
|
|
2401
|
-
return pulumi.get(self, "daily_noc_time")
|
|
2402
|
-
|
|
2403
|
-
@property
|
|
2404
|
-
@pulumi.getter
|
|
2405
|
-
def id(self) -> str:
|
|
2406
|
-
"""
|
|
2407
|
-
The ID of the Alert Robot.
|
|
2408
|
-
"""
|
|
2409
|
-
return pulumi.get(self, "id")
|
|
2410
|
-
|
|
2411
|
-
@property
|
|
2412
|
-
@pulumi.getter(name="robotAddr")
|
|
2413
|
-
def robot_addr(self) -> str:
|
|
2414
|
-
"""
|
|
2415
|
-
The webhook url of the robot.
|
|
2416
|
-
"""
|
|
2417
|
-
return pulumi.get(self, "robot_addr")
|
|
2418
|
-
|
|
2419
|
-
@property
|
|
2420
|
-
@pulumi.getter(name="robotId")
|
|
2421
|
-
def robot_id(self) -> str:
|
|
2422
|
-
"""
|
|
2423
|
-
The id of the robot.
|
|
2424
|
-
"""
|
|
2425
|
-
return pulumi.get(self, "robot_id")
|
|
2426
|
-
|
|
2427
|
-
@property
|
|
2428
|
-
@pulumi.getter(name="robotName")
|
|
2429
|
-
def robot_name(self) -> str:
|
|
2430
|
-
"""
|
|
2431
|
-
The name of the robot.
|
|
2432
|
-
"""
|
|
2433
|
-
return pulumi.get(self, "robot_name")
|
|
2434
|
-
|
|
2435
|
-
@property
|
|
2436
|
-
@pulumi.getter(name="robotType")
|
|
2437
|
-
def robot_type(self) -> str:
|
|
2438
|
-
"""
|
|
2439
|
-
The robot type.
|
|
2440
|
-
"""
|
|
2441
|
-
return pulumi.get(self, "robot_type")
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
2322
|
@pulumi.output_type
|
|
2445
2323
|
class GetDispatchRulesRuleResult(dict):
|
|
2446
2324
|
def __init__(__self__, *,
|
|
@@ -2455,7 +2333,6 @@ class GetDispatchRulesRuleResult(dict):
|
|
|
2455
2333
|
"""
|
|
2456
2334
|
:param str dispatch_rule_id: Dispatch rule ID.
|
|
2457
2335
|
:param str dispatch_rule_name: The name of the dispatch rule.
|
|
2458
|
-
:param str dispatch_type: The type of the dispatch rule.
|
|
2459
2336
|
:param Sequence['GetDispatchRulesRuleGroupRuleArgs'] group_rules: Sets the event group.
|
|
2460
2337
|
:param str id: The ID of the Dispatch Rule.
|
|
2461
2338
|
:param Sequence['GetDispatchRulesRuleLabelMatchExpressionGridArgs'] label_match_expression_grids: Sets the dispatch rule.
|
|
@@ -2490,9 +2367,6 @@ class GetDispatchRulesRuleResult(dict):
|
|
|
2490
2367
|
@property
|
|
2491
2368
|
@pulumi.getter(name="dispatchType")
|
|
2492
2369
|
def dispatch_type(self) -> str:
|
|
2493
|
-
"""
|
|
2494
|
-
The type of the dispatch rule.
|
|
2495
|
-
"""
|
|
2496
2370
|
return pulumi.get(self, "dispatch_type")
|
|
2497
2371
|
|
|
2498
2372
|
@property
|
|
@@ -2539,6 +2413,7 @@ class GetDispatchRulesRuleResult(dict):
|
|
|
2539
2413
|
@pulumi.output_type
|
|
2540
2414
|
class GetDispatchRulesRuleGroupRuleResult(dict):
|
|
2541
2415
|
def __init__(__self__, *,
|
|
2416
|
+
group_id: int,
|
|
2542
2417
|
group_interval: int,
|
|
2543
2418
|
group_wait_time: int,
|
|
2544
2419
|
grouping_fields: Sequence[str],
|
|
@@ -2549,11 +2424,17 @@ class GetDispatchRulesRuleGroupRuleResult(dict):
|
|
|
2549
2424
|
:param Sequence[str] grouping_fields: The fields that are used to group events. Events with the same field content are assigned to a group. Alerts with the same specified grouping field are sent to the handler in separate notifications.
|
|
2550
2425
|
:param int repeat_interval: The silence period of repeated alerts. All alerts are repeatedly sent at specified intervals until the alerts are cleared. The minimum value is 61. Default to 600.
|
|
2551
2426
|
"""
|
|
2427
|
+
pulumi.set(__self__, "group_id", group_id)
|
|
2552
2428
|
pulumi.set(__self__, "group_interval", group_interval)
|
|
2553
2429
|
pulumi.set(__self__, "group_wait_time", group_wait_time)
|
|
2554
2430
|
pulumi.set(__self__, "grouping_fields", grouping_fields)
|
|
2555
2431
|
pulumi.set(__self__, "repeat_interval", repeat_interval)
|
|
2556
2432
|
|
|
2433
|
+
@property
|
|
2434
|
+
@pulumi.getter(name="groupId")
|
|
2435
|
+
def group_id(self) -> int:
|
|
2436
|
+
return pulumi.get(self, "group_id")
|
|
2437
|
+
|
|
2557
2438
|
@property
|
|
2558
2439
|
@pulumi.getter(name="groupInterval")
|
|
2559
2440
|
def group_interval(self) -> int:
|
|
@@ -2667,36 +2548,22 @@ class GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabel
|
|
|
2667
2548
|
class GetDispatchRulesRuleNotifyRuleResult(dict):
|
|
2668
2549
|
def __init__(__self__, *,
|
|
2669
2550
|
notify_channels: Sequence[str],
|
|
2670
|
-
|
|
2671
|
-
notify_objects: Sequence['outputs.GetDispatchRulesRuleNotifyRuleNotifyObjectResult'],
|
|
2672
|
-
notify_start_time: str):
|
|
2551
|
+
notify_objects: Sequence['outputs.GetDispatchRulesRuleNotifyRuleNotifyObjectResult']):
|
|
2673
2552
|
"""
|
|
2674
|
-
:param Sequence[str] notify_channels:
|
|
2675
|
-
:param str notify_end_time: (Available since v1.237.0) End time of notification.
|
|
2553
|
+
:param Sequence[str] notify_channels: The notification method.
|
|
2676
2554
|
:param Sequence['GetDispatchRulesRuleNotifyRuleNotifyObjectArgs'] notify_objects: Sets the notification object.
|
|
2677
|
-
:param str notify_start_time: (Available since v1.237.0) Start time of notification.
|
|
2678
2555
|
"""
|
|
2679
2556
|
pulumi.set(__self__, "notify_channels", notify_channels)
|
|
2680
|
-
pulumi.set(__self__, "notify_end_time", notify_end_time)
|
|
2681
2557
|
pulumi.set(__self__, "notify_objects", notify_objects)
|
|
2682
|
-
pulumi.set(__self__, "notify_start_time", notify_start_time)
|
|
2683
2558
|
|
|
2684
2559
|
@property
|
|
2685
2560
|
@pulumi.getter(name="notifyChannels")
|
|
2686
2561
|
def notify_channels(self) -> Sequence[str]:
|
|
2687
2562
|
"""
|
|
2688
|
-
|
|
2563
|
+
The notification method.
|
|
2689
2564
|
"""
|
|
2690
2565
|
return pulumi.get(self, "notify_channels")
|
|
2691
2566
|
|
|
2692
|
-
@property
|
|
2693
|
-
@pulumi.getter(name="notifyEndTime")
|
|
2694
|
-
def notify_end_time(self) -> str:
|
|
2695
|
-
"""
|
|
2696
|
-
(Available since v1.237.0) End time of notification.
|
|
2697
|
-
"""
|
|
2698
|
-
return pulumi.get(self, "notify_end_time")
|
|
2699
|
-
|
|
2700
2567
|
@property
|
|
2701
2568
|
@pulumi.getter(name="notifyObjects")
|
|
2702
2569
|
def notify_objects(self) -> Sequence['outputs.GetDispatchRulesRuleNotifyRuleNotifyObjectResult']:
|
|
@@ -2705,14 +2572,6 @@ class GetDispatchRulesRuleNotifyRuleResult(dict):
|
|
|
2705
2572
|
"""
|
|
2706
2573
|
return pulumi.get(self, "notify_objects")
|
|
2707
2574
|
|
|
2708
|
-
@property
|
|
2709
|
-
@pulumi.getter(name="notifyStartTime")
|
|
2710
|
-
def notify_start_time(self) -> str:
|
|
2711
|
-
"""
|
|
2712
|
-
(Available since v1.237.0) Start time of notification.
|
|
2713
|
-
"""
|
|
2714
|
-
return pulumi.get(self, "notify_start_time")
|
|
2715
|
-
|
|
2716
2575
|
|
|
2717
2576
|
@pulumi.output_type
|
|
2718
2577
|
class GetDispatchRulesRuleNotifyRuleNotifyObjectResult(dict):
|
pulumi_alicloud/cfg/rule.py
CHANGED
|
@@ -820,8 +820,8 @@ class Rule(pulumi.CustomResource):
|
|
|
820
820
|
resource_types_scopes=["ACS::RDS::DBInstance"],
|
|
821
821
|
rule_name="contains-tag",
|
|
822
822
|
input_parameters={
|
|
823
|
-
"
|
|
824
|
-
"
|
|
823
|
+
"key": "example",
|
|
824
|
+
"value": "example",
|
|
825
825
|
})
|
|
826
826
|
```
|
|
827
827
|
|
|
@@ -892,8 +892,8 @@ class Rule(pulumi.CustomResource):
|
|
|
892
892
|
resource_types_scopes=["ACS::RDS::DBInstance"],
|
|
893
893
|
rule_name="contains-tag",
|
|
894
894
|
input_parameters={
|
|
895
|
-
"
|
|
896
|
-
"
|
|
895
|
+
"key": "example",
|
|
896
|
+
"value": "example",
|
|
897
897
|
})
|
|
898
898
|
```
|
|
899
899
|
|
|
@@ -29,7 +29,6 @@ class AutoscalingConfigArgs:
|
|
|
29
29
|
recycle_node_deletion_enabled: Optional[pulumi.Input[bool]] = None,
|
|
30
30
|
scale_down_enabled: Optional[pulumi.Input[bool]] = None,
|
|
31
31
|
scale_up_from_zero: Optional[pulumi.Input[bool]] = None,
|
|
32
|
-
scaler_type: Optional[pulumi.Input[str]] = None,
|
|
33
32
|
scan_interval: Optional[pulumi.Input[str]] = None,
|
|
34
33
|
skip_nodes_with_local_storage: Optional[pulumi.Input[bool]] = None,
|
|
35
34
|
skip_nodes_with_system_pods: Optional[pulumi.Input[bool]] = None,
|
|
@@ -47,7 +46,6 @@ class AutoscalingConfigArgs:
|
|
|
47
46
|
:param pulumi.Input[bool] recycle_node_deletion_enabled: Should CA delete the K8s node object when recycle node has scaled down successfully. Default is `false`.
|
|
48
47
|
:param pulumi.Input[bool] scale_down_enabled: Specify whether to allow the scale-in of nodes. Default is `true`.
|
|
49
48
|
:param pulumi.Input[bool] scale_up_from_zero: Should CA scale up when there 0 ready nodes. Default is `true`.
|
|
50
|
-
:param pulumi.Input[str] scaler_type: The type of autoscaler. Valid values: `cluster-autoscaler`, `goatscaler`. For cluster version 1.22 and below, we only support `cluster-autoscaler`.
|
|
51
49
|
:param pulumi.Input[str] scan_interval: The interval at which the cluster is reevaluated for scaling. Default is `30s`.
|
|
52
50
|
:param pulumi.Input[bool] skip_nodes_with_local_storage: If true cluster autoscaler will never delete nodes with pods with local storage, e.g. EmptyDir or HostPath. Default is `false`.
|
|
53
51
|
:param pulumi.Input[bool] skip_nodes_with_system_pods: If true cluster autoscaler will never delete nodes with pods from kube-system (except for DaemonSet or mirror pods). Default is `true`.
|
|
@@ -74,8 +72,6 @@ class AutoscalingConfigArgs:
|
|
|
74
72
|
pulumi.set(__self__, "scale_down_enabled", scale_down_enabled)
|
|
75
73
|
if scale_up_from_zero is not None:
|
|
76
74
|
pulumi.set(__self__, "scale_up_from_zero", scale_up_from_zero)
|
|
77
|
-
if scaler_type is not None:
|
|
78
|
-
pulumi.set(__self__, "scaler_type", scaler_type)
|
|
79
75
|
if scan_interval is not None:
|
|
80
76
|
pulumi.set(__self__, "scan_interval", scan_interval)
|
|
81
77
|
if skip_nodes_with_local_storage is not None:
|
|
@@ -207,18 +203,6 @@ class AutoscalingConfigArgs:
|
|
|
207
203
|
def scale_up_from_zero(self, value: Optional[pulumi.Input[bool]]):
|
|
208
204
|
pulumi.set(self, "scale_up_from_zero", value)
|
|
209
205
|
|
|
210
|
-
@property
|
|
211
|
-
@pulumi.getter(name="scalerType")
|
|
212
|
-
def scaler_type(self) -> Optional[pulumi.Input[str]]:
|
|
213
|
-
"""
|
|
214
|
-
The type of autoscaler. Valid values: `cluster-autoscaler`, `goatscaler`. For cluster version 1.22 and below, we only support `cluster-autoscaler`.
|
|
215
|
-
"""
|
|
216
|
-
return pulumi.get(self, "scaler_type")
|
|
217
|
-
|
|
218
|
-
@scaler_type.setter
|
|
219
|
-
def scaler_type(self, value: Optional[pulumi.Input[str]]):
|
|
220
|
-
pulumi.set(self, "scaler_type", value)
|
|
221
|
-
|
|
222
206
|
@property
|
|
223
207
|
@pulumi.getter(name="scanInterval")
|
|
224
208
|
def scan_interval(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -293,7 +277,6 @@ class _AutoscalingConfigState:
|
|
|
293
277
|
recycle_node_deletion_enabled: Optional[pulumi.Input[bool]] = None,
|
|
294
278
|
scale_down_enabled: Optional[pulumi.Input[bool]] = None,
|
|
295
279
|
scale_up_from_zero: Optional[pulumi.Input[bool]] = None,
|
|
296
|
-
scaler_type: Optional[pulumi.Input[str]] = None,
|
|
297
280
|
scan_interval: Optional[pulumi.Input[str]] = None,
|
|
298
281
|
skip_nodes_with_local_storage: Optional[pulumi.Input[bool]] = None,
|
|
299
282
|
skip_nodes_with_system_pods: Optional[pulumi.Input[bool]] = None,
|
|
@@ -311,7 +294,6 @@ class _AutoscalingConfigState:
|
|
|
311
294
|
:param pulumi.Input[bool] recycle_node_deletion_enabled: Should CA delete the K8s node object when recycle node has scaled down successfully. Default is `false`.
|
|
312
295
|
:param pulumi.Input[bool] scale_down_enabled: Specify whether to allow the scale-in of nodes. Default is `true`.
|
|
313
296
|
:param pulumi.Input[bool] scale_up_from_zero: Should CA scale up when there 0 ready nodes. Default is `true`.
|
|
314
|
-
:param pulumi.Input[str] scaler_type: The type of autoscaler. Valid values: `cluster-autoscaler`, `goatscaler`. For cluster version 1.22 and below, we only support `cluster-autoscaler`.
|
|
315
297
|
:param pulumi.Input[str] scan_interval: The interval at which the cluster is reevaluated for scaling. Default is `30s`.
|
|
316
298
|
:param pulumi.Input[bool] skip_nodes_with_local_storage: If true cluster autoscaler will never delete nodes with pods with local storage, e.g. EmptyDir or HostPath. Default is `false`.
|
|
317
299
|
:param pulumi.Input[bool] skip_nodes_with_system_pods: If true cluster autoscaler will never delete nodes with pods from kube-system (except for DaemonSet or mirror pods). Default is `true`.
|
|
@@ -338,8 +320,6 @@ class _AutoscalingConfigState:
|
|
|
338
320
|
pulumi.set(__self__, "scale_down_enabled", scale_down_enabled)
|
|
339
321
|
if scale_up_from_zero is not None:
|
|
340
322
|
pulumi.set(__self__, "scale_up_from_zero", scale_up_from_zero)
|
|
341
|
-
if scaler_type is not None:
|
|
342
|
-
pulumi.set(__self__, "scaler_type", scaler_type)
|
|
343
323
|
if scan_interval is not None:
|
|
344
324
|
pulumi.set(__self__, "scan_interval", scan_interval)
|
|
345
325
|
if skip_nodes_with_local_storage is not None:
|
|
@@ -471,18 +451,6 @@ class _AutoscalingConfigState:
|
|
|
471
451
|
def scale_up_from_zero(self, value: Optional[pulumi.Input[bool]]):
|
|
472
452
|
pulumi.set(self, "scale_up_from_zero", value)
|
|
473
453
|
|
|
474
|
-
@property
|
|
475
|
-
@pulumi.getter(name="scalerType")
|
|
476
|
-
def scaler_type(self) -> Optional[pulumi.Input[str]]:
|
|
477
|
-
"""
|
|
478
|
-
The type of autoscaler. Valid values: `cluster-autoscaler`, `goatscaler`. For cluster version 1.22 and below, we only support `cluster-autoscaler`.
|
|
479
|
-
"""
|
|
480
|
-
return pulumi.get(self, "scaler_type")
|
|
481
|
-
|
|
482
|
-
@scaler_type.setter
|
|
483
|
-
def scaler_type(self, value: Optional[pulumi.Input[str]]):
|
|
484
|
-
pulumi.set(self, "scaler_type", value)
|
|
485
|
-
|
|
486
454
|
@property
|
|
487
455
|
@pulumi.getter(name="scanInterval")
|
|
488
456
|
def scan_interval(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -559,7 +527,6 @@ class AutoscalingConfig(pulumi.CustomResource):
|
|
|
559
527
|
recycle_node_deletion_enabled: Optional[pulumi.Input[bool]] = None,
|
|
560
528
|
scale_down_enabled: Optional[pulumi.Input[bool]] = None,
|
|
561
529
|
scale_up_from_zero: Optional[pulumi.Input[bool]] = None,
|
|
562
|
-
scaler_type: Optional[pulumi.Input[str]] = None,
|
|
563
530
|
scan_interval: Optional[pulumi.Input[str]] = None,
|
|
564
531
|
skip_nodes_with_local_storage: Optional[pulumi.Input[bool]] = None,
|
|
565
532
|
skip_nodes_with_system_pods: Optional[pulumi.Input[bool]] = None,
|
|
@@ -575,8 +542,6 @@ class AutoscalingConfig(pulumi.CustomResource):
|
|
|
575
542
|
|
|
576
543
|
> **NOTE:** From version 1.164.0, support for selecting the policy for selecting which node pool to scale by parameter `expander`.
|
|
577
544
|
|
|
578
|
-
> **NOTE:** From version 1.237.0, support for selecting the type of autoscaler by parameter `scaler_type`.
|
|
579
|
-
|
|
580
545
|
:param str resource_name: The name of the resource.
|
|
581
546
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
582
547
|
:param pulumi.Input[str] cluster_id: The id of kubernetes cluster.
|
|
@@ -589,7 +554,6 @@ class AutoscalingConfig(pulumi.CustomResource):
|
|
|
589
554
|
:param pulumi.Input[bool] recycle_node_deletion_enabled: Should CA delete the K8s node object when recycle node has scaled down successfully. Default is `false`.
|
|
590
555
|
:param pulumi.Input[bool] scale_down_enabled: Specify whether to allow the scale-in of nodes. Default is `true`.
|
|
591
556
|
:param pulumi.Input[bool] scale_up_from_zero: Should CA scale up when there 0 ready nodes. Default is `true`.
|
|
592
|
-
:param pulumi.Input[str] scaler_type: The type of autoscaler. Valid values: `cluster-autoscaler`, `goatscaler`. For cluster version 1.22 and below, we only support `cluster-autoscaler`.
|
|
593
557
|
:param pulumi.Input[str] scan_interval: The interval at which the cluster is reevaluated for scaling. Default is `30s`.
|
|
594
558
|
:param pulumi.Input[bool] skip_nodes_with_local_storage: If true cluster autoscaler will never delete nodes with pods with local storage, e.g. EmptyDir or HostPath. Default is `false`.
|
|
595
559
|
:param pulumi.Input[bool] skip_nodes_with_system_pods: If true cluster autoscaler will never delete nodes with pods from kube-system (except for DaemonSet or mirror pods). Default is `true`.
|
|
@@ -611,8 +575,6 @@ class AutoscalingConfig(pulumi.CustomResource):
|
|
|
611
575
|
|
|
612
576
|
> **NOTE:** From version 1.164.0, support for selecting the policy for selecting which node pool to scale by parameter `expander`.
|
|
613
577
|
|
|
614
|
-
> **NOTE:** From version 1.237.0, support for selecting the type of autoscaler by parameter `scaler_type`.
|
|
615
|
-
|
|
616
578
|
:param str resource_name: The name of the resource.
|
|
617
579
|
:param AutoscalingConfigArgs args: The arguments to use to populate this resource's properties.
|
|
618
580
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
@@ -638,7 +600,6 @@ class AutoscalingConfig(pulumi.CustomResource):
|
|
|
638
600
|
recycle_node_deletion_enabled: Optional[pulumi.Input[bool]] = None,
|
|
639
601
|
scale_down_enabled: Optional[pulumi.Input[bool]] = None,
|
|
640
602
|
scale_up_from_zero: Optional[pulumi.Input[bool]] = None,
|
|
641
|
-
scaler_type: Optional[pulumi.Input[str]] = None,
|
|
642
603
|
scan_interval: Optional[pulumi.Input[str]] = None,
|
|
643
604
|
skip_nodes_with_local_storage: Optional[pulumi.Input[bool]] = None,
|
|
644
605
|
skip_nodes_with_system_pods: Optional[pulumi.Input[bool]] = None,
|
|
@@ -663,7 +624,6 @@ class AutoscalingConfig(pulumi.CustomResource):
|
|
|
663
624
|
__props__.__dict__["recycle_node_deletion_enabled"] = recycle_node_deletion_enabled
|
|
664
625
|
__props__.__dict__["scale_down_enabled"] = scale_down_enabled
|
|
665
626
|
__props__.__dict__["scale_up_from_zero"] = scale_up_from_zero
|
|
666
|
-
__props__.__dict__["scaler_type"] = scaler_type
|
|
667
627
|
__props__.__dict__["scan_interval"] = scan_interval
|
|
668
628
|
__props__.__dict__["skip_nodes_with_local_storage"] = skip_nodes_with_local_storage
|
|
669
629
|
__props__.__dict__["skip_nodes_with_system_pods"] = skip_nodes_with_system_pods
|
|
@@ -689,7 +649,6 @@ class AutoscalingConfig(pulumi.CustomResource):
|
|
|
689
649
|
recycle_node_deletion_enabled: Optional[pulumi.Input[bool]] = None,
|
|
690
650
|
scale_down_enabled: Optional[pulumi.Input[bool]] = None,
|
|
691
651
|
scale_up_from_zero: Optional[pulumi.Input[bool]] = None,
|
|
692
|
-
scaler_type: Optional[pulumi.Input[str]] = None,
|
|
693
652
|
scan_interval: Optional[pulumi.Input[str]] = None,
|
|
694
653
|
skip_nodes_with_local_storage: Optional[pulumi.Input[bool]] = None,
|
|
695
654
|
skip_nodes_with_system_pods: Optional[pulumi.Input[bool]] = None,
|
|
@@ -712,7 +671,6 @@ class AutoscalingConfig(pulumi.CustomResource):
|
|
|
712
671
|
:param pulumi.Input[bool] recycle_node_deletion_enabled: Should CA delete the K8s node object when recycle node has scaled down successfully. Default is `false`.
|
|
713
672
|
:param pulumi.Input[bool] scale_down_enabled: Specify whether to allow the scale-in of nodes. Default is `true`.
|
|
714
673
|
:param pulumi.Input[bool] scale_up_from_zero: Should CA scale up when there 0 ready nodes. Default is `true`.
|
|
715
|
-
:param pulumi.Input[str] scaler_type: The type of autoscaler. Valid values: `cluster-autoscaler`, `goatscaler`. For cluster version 1.22 and below, we only support `cluster-autoscaler`.
|
|
716
674
|
:param pulumi.Input[str] scan_interval: The interval at which the cluster is reevaluated for scaling. Default is `30s`.
|
|
717
675
|
:param pulumi.Input[bool] skip_nodes_with_local_storage: If true cluster autoscaler will never delete nodes with pods with local storage, e.g. EmptyDir or HostPath. Default is `false`.
|
|
718
676
|
:param pulumi.Input[bool] skip_nodes_with_system_pods: If true cluster autoscaler will never delete nodes with pods from kube-system (except for DaemonSet or mirror pods). Default is `true`.
|
|
@@ -733,7 +691,6 @@ class AutoscalingConfig(pulumi.CustomResource):
|
|
|
733
691
|
__props__.__dict__["recycle_node_deletion_enabled"] = recycle_node_deletion_enabled
|
|
734
692
|
__props__.__dict__["scale_down_enabled"] = scale_down_enabled
|
|
735
693
|
__props__.__dict__["scale_up_from_zero"] = scale_up_from_zero
|
|
736
|
-
__props__.__dict__["scaler_type"] = scaler_type
|
|
737
694
|
__props__.__dict__["scan_interval"] = scan_interval
|
|
738
695
|
__props__.__dict__["skip_nodes_with_local_storage"] = skip_nodes_with_local_storage
|
|
739
696
|
__props__.__dict__["skip_nodes_with_system_pods"] = skip_nodes_with_system_pods
|
|
@@ -821,14 +778,6 @@ class AutoscalingConfig(pulumi.CustomResource):
|
|
|
821
778
|
"""
|
|
822
779
|
return pulumi.get(self, "scale_up_from_zero")
|
|
823
780
|
|
|
824
|
-
@property
|
|
825
|
-
@pulumi.getter(name="scalerType")
|
|
826
|
-
def scaler_type(self) -> pulumi.Output[Optional[str]]:
|
|
827
|
-
"""
|
|
828
|
-
The type of autoscaler. Valid values: `cluster-autoscaler`, `goatscaler`. For cluster version 1.22 and below, we only support `cluster-autoscaler`.
|
|
829
|
-
"""
|
|
830
|
-
return pulumi.get(self, "scaler_type")
|
|
831
|
-
|
|
832
781
|
@property
|
|
833
782
|
@pulumi.getter(name="scanInterval")
|
|
834
783
|
def scan_interval(self) -> pulumi.Output[Optional[str]]:
|
|
@@ -5,12 +5,8 @@
|
|
|
5
5
|
from .. import _utilities
|
|
6
6
|
import typing
|
|
7
7
|
# Export this package's modules as members:
|
|
8
|
-
from .data_source import *
|
|
9
|
-
from .data_source_shared_rule import *
|
|
10
8
|
from .folder import *
|
|
11
9
|
from .get_folders import *
|
|
12
10
|
from .get_service import *
|
|
13
11
|
from .project import *
|
|
14
|
-
from .project_member import *
|
|
15
|
-
from ._inputs import *
|
|
16
12
|
from . import outputs
|
|
@@ -15,53 +15,9 @@ else:
|
|
|
15
15
|
from .. import _utilities
|
|
16
16
|
|
|
17
17
|
__all__ = [
|
|
18
|
-
'ProjectMemberRole',
|
|
19
18
|
'GetFoldersFolderResult',
|
|
20
19
|
]
|
|
21
20
|
|
|
22
|
-
@pulumi.output_type
|
|
23
|
-
class ProjectMemberRole(dict):
|
|
24
|
-
def __init__(__self__, *,
|
|
25
|
-
code: Optional[str] = None,
|
|
26
|
-
name: Optional[str] = None,
|
|
27
|
-
type: Optional[str] = None):
|
|
28
|
-
"""
|
|
29
|
-
:param str code: Project Role Code.
|
|
30
|
-
:param str name: project role name
|
|
31
|
-
:param str type: project role type
|
|
32
|
-
"""
|
|
33
|
-
if code is not None:
|
|
34
|
-
pulumi.set(__self__, "code", code)
|
|
35
|
-
if name is not None:
|
|
36
|
-
pulumi.set(__self__, "name", name)
|
|
37
|
-
if type is not None:
|
|
38
|
-
pulumi.set(__self__, "type", type)
|
|
39
|
-
|
|
40
|
-
@property
|
|
41
|
-
@pulumi.getter
|
|
42
|
-
def code(self) -> Optional[str]:
|
|
43
|
-
"""
|
|
44
|
-
Project Role Code.
|
|
45
|
-
"""
|
|
46
|
-
return pulumi.get(self, "code")
|
|
47
|
-
|
|
48
|
-
@property
|
|
49
|
-
@pulumi.getter
|
|
50
|
-
def name(self) -> Optional[str]:
|
|
51
|
-
"""
|
|
52
|
-
project role name
|
|
53
|
-
"""
|
|
54
|
-
return pulumi.get(self, "name")
|
|
55
|
-
|
|
56
|
-
@property
|
|
57
|
-
@pulumi.getter
|
|
58
|
-
def type(self) -> Optional[str]:
|
|
59
|
-
"""
|
|
60
|
-
project role type
|
|
61
|
-
"""
|
|
62
|
-
return pulumi.get(self, "type")
|
|
63
|
-
|
|
64
|
-
|
|
65
21
|
@pulumi.output_type
|
|
66
22
|
class GetFoldersFolderResult(dict):
|
|
67
23
|
def __init__(__self__, *,
|