pulumi-alicloud 3.69.0a1733375908__py3-none-any.whl → 3.69.0a1733740345__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pulumi-alicloud might be problematic. Click here for more details.

Files changed (47) hide show
  1. pulumi_alicloud/__init__.py +56 -0
  2. pulumi_alicloud/adb/db_cluster.py +7 -0
  3. pulumi_alicloud/arms/__init__.py +2 -0
  4. pulumi_alicloud/arms/_inputs.py +42 -4
  5. pulumi_alicloud/arms/alert_robot.py +421 -0
  6. pulumi_alicloud/arms/dispatch_rule.py +4 -0
  7. pulumi_alicloud/arms/get_alert_robots.py +230 -0
  8. pulumi_alicloud/arms/get_dispatch_rules.py +99 -6
  9. pulumi_alicloud/arms/outputs.py +154 -13
  10. pulumi_alicloud/cfg/rule.py +4 -4
  11. pulumi_alicloud/cs/autoscaling_config.py +51 -0
  12. pulumi_alicloud/dataworks/__init__.py +4 -0
  13. pulumi_alicloud/dataworks/_inputs.py +95 -0
  14. pulumi_alicloud/dataworks/data_source.py +686 -0
  15. pulumi_alicloud/dataworks/data_source_shared_rule.py +378 -0
  16. pulumi_alicloud/dataworks/outputs.py +44 -0
  17. pulumi_alicloud/dataworks/project.py +294 -140
  18. pulumi_alicloud/dataworks/project_member.py +380 -0
  19. pulumi_alicloud/ecs/__init__.py +1 -0
  20. pulumi_alicloud/ecs/_inputs.py +34 -0
  21. pulumi_alicloud/ecs/disk.py +156 -14
  22. pulumi_alicloud/ecs/ecs_disk.py +308 -97
  23. pulumi_alicloud/ecs/ecs_key_pair.py +77 -49
  24. pulumi_alicloud/ecs/image_pipeline_execution.py +245 -0
  25. pulumi_alicloud/ecs/instance.py +145 -0
  26. pulumi_alicloud/ecs/key_pair.py +27 -7
  27. pulumi_alicloud/ecs/outputs.py +37 -0
  28. pulumi_alicloud/oss/__init__.py +1 -0
  29. pulumi_alicloud/oss/_inputs.py +1750 -0
  30. pulumi_alicloud/oss/bucket_website.py +416 -0
  31. pulumi_alicloud/oss/outputs.py +1338 -0
  32. pulumi_alicloud/polardb/cluster.py +7 -7
  33. pulumi_alicloud/polardb/get_clusters.py +1 -1
  34. pulumi_alicloud/polardb/outputs.py +2 -2
  35. pulumi_alicloud/pulumi-plugin.json +1 -1
  36. pulumi_alicloud/redis/tair_instance.py +63 -30
  37. pulumi_alicloud/sae/application.py +1 -1
  38. pulumi_alicloud/slb/attachment.py +2 -6
  39. pulumi_alicloud/sls/__init__.py +1 -0
  40. pulumi_alicloud/sls/_inputs.py +484 -0
  41. pulumi_alicloud/sls/oss_export_sink.py +428 -0
  42. pulumi_alicloud/sls/outputs.py +346 -0
  43. pulumi_alicloud/vpc/network.py +7 -7
  44. {pulumi_alicloud-3.69.0a1733375908.dist-info → pulumi_alicloud-3.69.0a1733740345.dist-info}/METADATA +1 -1
  45. {pulumi_alicloud-3.69.0a1733375908.dist-info → pulumi_alicloud-3.69.0a1733740345.dist-info}/RECORD +47 -38
  46. {pulumi_alicloud-3.69.0a1733375908.dist-info → pulumi_alicloud-3.69.0a1733740345.dist-info}/WHEEL +0 -0
  47. {pulumi_alicloud-3.69.0a1733375908.dist-info → pulumi_alicloud-3.69.0a1733740345.dist-info}/top_level.txt +0 -0
@@ -56,6 +56,9 @@ class GetDispatchRulesResult:
56
56
  @property
57
57
  @pulumi.getter(name="dispatchRuleName")
58
58
  def dispatch_rule_name(self) -> Optional[str]:
59
+ """
60
+ The name of the dispatch rule.
61
+ """
59
62
  return pulumi.get(self, "dispatch_rule_name")
60
63
 
61
64
  @property
@@ -84,6 +87,9 @@ class GetDispatchRulesResult:
84
87
  @property
85
88
  @pulumi.getter
86
89
  def names(self) -> Sequence[str]:
90
+ """
91
+ A list of Dispatch Rule names.
92
+ """
87
93
  return pulumi.get(self, "names")
88
94
 
89
95
  @property
@@ -94,6 +100,9 @@ class GetDispatchRulesResult:
94
100
  @property
95
101
  @pulumi.getter
96
102
  def rules(self) -> Sequence['outputs.GetDispatchRulesRuleResult']:
103
+ """
104
+ A list of Arms Dispatch Rules. Each element contains the following attributes:
105
+ """
97
106
  return pulumi.get(self, "rules")
98
107
 
99
108
 
@@ -122,7 +131,7 @@ def get_dispatch_rules(dispatch_rule_name: Optional[str] = None,
122
131
  """
123
132
  This data source provides the Arms Dispatch Rules of the current Alibaba Cloud user.
124
133
 
125
- > **NOTE:** Available in v1.136.0+.
134
+ > **NOTE:** Available since v1.136.0.
126
135
 
127
136
  ## Example Usage
128
137
 
@@ -132,10 +141,52 @@ def get_dispatch_rules(dispatch_rule_name: Optional[str] = None,
132
141
  import pulumi
133
142
  import pulumi_alicloud as alicloud
134
143
 
144
+ default = alicloud.arms.AlertContact("default",
145
+ alert_contact_name="example_value",
146
+ email="example_value@aaa.com")
147
+ default_alert_contact_group = alicloud.arms.AlertContactGroup("default",
148
+ alert_contact_group_name="example_value",
149
+ contact_ids=[default.id])
150
+ default_dispatch_rule = alicloud.arms.DispatchRule("default",
151
+ dispatch_rule_name="example_value",
152
+ dispatch_type="CREATE_ALERT",
153
+ group_rules=[{
154
+ "group_wait_time": 5,
155
+ "group_interval": 15,
156
+ "repeat_interval": 100,
157
+ "grouping_fields": ["alertname"],
158
+ }],
159
+ label_match_expression_grids=[{
160
+ "label_match_expression_groups": [{
161
+ "label_match_expressions": [{
162
+ "key": "_aliyun_arms_involvedObject_kind",
163
+ "value": "app",
164
+ "operator": "eq",
165
+ }],
166
+ }],
167
+ }],
168
+ notify_rules=[{
169
+ "notify_objects": [
170
+ {
171
+ "notify_object_id": default.id,
172
+ "notify_type": "ARMS_CONTACT",
173
+ "name": "example_value",
174
+ },
175
+ {
176
+ "notify_object_id": default_alert_contact_group.id,
177
+ "notify_type": "ARMS_CONTACT_GROUP",
178
+ "name": "example_value",
179
+ },
180
+ ],
181
+ "notify_channels": [
182
+ "dingTalk",
183
+ "wechat",
184
+ ],
185
+ "notify_start_time": "10:00",
186
+ "notify_end_time": "23:00",
187
+ }])
135
188
  ids = alicloud.arms.get_dispatch_rules()
136
189
  pulumi.export("armsDispatchRuleId1", ids.rules[0].id)
137
- name_regex = alicloud.arms.get_dispatch_rules(name_regex="^my-DispatchRule")
138
- pulumi.export("armsDispatchRuleId2", name_regex.rules[0].id)
139
190
  ```
140
191
 
141
192
 
@@ -172,7 +223,7 @@ def get_dispatch_rules_output(dispatch_rule_name: Optional[pulumi.Input[Optional
172
223
  """
173
224
  This data source provides the Arms Dispatch Rules of the current Alibaba Cloud user.
174
225
 
175
- > **NOTE:** Available in v1.136.0+.
226
+ > **NOTE:** Available since v1.136.0.
176
227
 
177
228
  ## Example Usage
178
229
 
@@ -182,10 +233,52 @@ def get_dispatch_rules_output(dispatch_rule_name: Optional[pulumi.Input[Optional
182
233
  import pulumi
183
234
  import pulumi_alicloud as alicloud
184
235
 
236
+ default = alicloud.arms.AlertContact("default",
237
+ alert_contact_name="example_value",
238
+ email="example_value@aaa.com")
239
+ default_alert_contact_group = alicloud.arms.AlertContactGroup("default",
240
+ alert_contact_group_name="example_value",
241
+ contact_ids=[default.id])
242
+ default_dispatch_rule = alicloud.arms.DispatchRule("default",
243
+ dispatch_rule_name="example_value",
244
+ dispatch_type="CREATE_ALERT",
245
+ group_rules=[{
246
+ "group_wait_time": 5,
247
+ "group_interval": 15,
248
+ "repeat_interval": 100,
249
+ "grouping_fields": ["alertname"],
250
+ }],
251
+ label_match_expression_grids=[{
252
+ "label_match_expression_groups": [{
253
+ "label_match_expressions": [{
254
+ "key": "_aliyun_arms_involvedObject_kind",
255
+ "value": "app",
256
+ "operator": "eq",
257
+ }],
258
+ }],
259
+ }],
260
+ notify_rules=[{
261
+ "notify_objects": [
262
+ {
263
+ "notify_object_id": default.id,
264
+ "notify_type": "ARMS_CONTACT",
265
+ "name": "example_value",
266
+ },
267
+ {
268
+ "notify_object_id": default_alert_contact_group.id,
269
+ "notify_type": "ARMS_CONTACT_GROUP",
270
+ "name": "example_value",
271
+ },
272
+ ],
273
+ "notify_channels": [
274
+ "dingTalk",
275
+ "wechat",
276
+ ],
277
+ "notify_start_time": "10:00",
278
+ "notify_end_time": "23:00",
279
+ }])
185
280
  ids = alicloud.arms.get_dispatch_rules()
186
281
  pulumi.export("armsDispatchRuleId1", ids.rules[0].id)
187
- name_regex = alicloud.arms.get_dispatch_rules(name_regex="^my-DispatchRule")
188
- pulumi.export("armsDispatchRuleId2", name_regex.rules[0].id)
189
282
  ```
190
283
 
191
284
 
@@ -41,6 +41,7 @@ __all__ = [
41
41
  'SyntheticTaskMonitorConfWebsite',
42
42
  'GetAlertContactGroupsGroupResult',
43
43
  'GetAlertContactsContactResult',
44
+ 'GetAlertRobotsRobotResult',
44
45
  'GetDispatchRulesRuleResult',
45
46
  'GetDispatchRulesRuleGroupRuleResult',
46
47
  'GetDispatchRulesRuleLabelMatchExpressionGridResult',
@@ -284,8 +285,12 @@ class DispatchRuleNotifyRule(dict):
284
285
  suggest = None
285
286
  if key == "notifyChannels":
286
287
  suggest = "notify_channels"
288
+ elif key == "notifyEndTime":
289
+ suggest = "notify_end_time"
287
290
  elif key == "notifyObjects":
288
291
  suggest = "notify_objects"
292
+ elif key == "notifyStartTime":
293
+ suggest = "notify_start_time"
289
294
 
290
295
  if suggest:
291
296
  pulumi.log.warn(f"Key '{key}' not found in DispatchRuleNotifyRule. Access the value via the '{suggest}' property getter instead.")
@@ -300,13 +305,19 @@ class DispatchRuleNotifyRule(dict):
300
305
 
301
306
  def __init__(__self__, *,
302
307
  notify_channels: Sequence[str],
303
- notify_objects: Sequence['outputs.DispatchRuleNotifyRuleNotifyObject']):
308
+ notify_end_time: str,
309
+ notify_objects: Sequence['outputs.DispatchRuleNotifyRuleNotifyObject'],
310
+ notify_start_time: str):
304
311
  """
305
312
  :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.
306
314
  :param Sequence['DispatchRuleNotifyRuleNotifyObjectArgs'] notify_objects: Sets the notification object. See `notify_objects` below.
315
+ :param str notify_start_time: Start time of notification.
307
316
  """
308
317
  pulumi.set(__self__, "notify_channels", notify_channels)
318
+ pulumi.set(__self__, "notify_end_time", notify_end_time)
309
319
  pulumi.set(__self__, "notify_objects", notify_objects)
320
+ pulumi.set(__self__, "notify_start_time", notify_start_time)
310
321
 
311
322
  @property
312
323
  @pulumi.getter(name="notifyChannels")
@@ -316,6 +327,14 @@ class DispatchRuleNotifyRule(dict):
316
327
  """
317
328
  return pulumi.get(self, "notify_channels")
318
329
 
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
+
319
338
  @property
320
339
  @pulumi.getter(name="notifyObjects")
321
340
  def notify_objects(self) -> Sequence['outputs.DispatchRuleNotifyRuleNotifyObject']:
@@ -324,6 +343,14 @@ class DispatchRuleNotifyRule(dict):
324
343
  """
325
344
  return pulumi.get(self, "notify_objects")
326
345
 
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
+
327
354
 
328
355
  @pulumi.output_type
329
356
  class DispatchRuleNotifyRuleNotifyObject(dict):
@@ -353,7 +380,7 @@ class DispatchRuleNotifyRuleNotifyObject(dict):
353
380
  """
354
381
  :param str name: The name of the contact or contact group.
355
382
  :param str notify_object_id: The ID of the contact or contact group.
356
- :param str notify_type: The type of the alert contact. Valid values: ARMS_CONTACT: contact. ARMS_CONTACT_GROUP: contact group.
383
+ :param str notify_type: The type of the alert contact. Valid values: ARMS_ROBOT: robot. ARMS_CONTACT: contact. ARMS_CONTACT_GROUP: contact group.
357
384
  """
358
385
  pulumi.set(__self__, "name", name)
359
386
  pulumi.set(__self__, "notify_object_id", notify_object_id)
@@ -379,7 +406,7 @@ class DispatchRuleNotifyRuleNotifyObject(dict):
379
406
  @pulumi.getter(name="notifyType")
380
407
  def notify_type(self) -> str:
381
408
  """
382
- The type of the alert contact. Valid values: ARMS_CONTACT: contact. ARMS_CONTACT_GROUP: contact group.
409
+ The type of the alert contact. Valid values: ARMS_ROBOT: robot. ARMS_CONTACT: contact. ARMS_CONTACT_GROUP: contact group.
383
410
  """
384
411
  return pulumi.get(self, "notify_type")
385
412
 
@@ -2319,6 +2346,101 @@ class GetAlertContactsContactResult(dict):
2319
2346
  return pulumi.get(self, "webhook")
2320
2347
 
2321
2348
 
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
+
2322
2444
  @pulumi.output_type
2323
2445
  class GetDispatchRulesRuleResult(dict):
2324
2446
  def __init__(__self__, *,
@@ -2333,6 +2455,7 @@ class GetDispatchRulesRuleResult(dict):
2333
2455
  """
2334
2456
  :param str dispatch_rule_id: Dispatch rule ID.
2335
2457
  :param str dispatch_rule_name: The name of the dispatch rule.
2458
+ :param str dispatch_type: The type of the dispatch rule.
2336
2459
  :param Sequence['GetDispatchRulesRuleGroupRuleArgs'] group_rules: Sets the event group.
2337
2460
  :param str id: The ID of the Dispatch Rule.
2338
2461
  :param Sequence['GetDispatchRulesRuleLabelMatchExpressionGridArgs'] label_match_expression_grids: Sets the dispatch rule.
@@ -2367,6 +2490,9 @@ class GetDispatchRulesRuleResult(dict):
2367
2490
  @property
2368
2491
  @pulumi.getter(name="dispatchType")
2369
2492
  def dispatch_type(self) -> str:
2493
+ """
2494
+ The type of the dispatch rule.
2495
+ """
2370
2496
  return pulumi.get(self, "dispatch_type")
2371
2497
 
2372
2498
  @property
@@ -2413,7 +2539,6 @@ class GetDispatchRulesRuleResult(dict):
2413
2539
  @pulumi.output_type
2414
2540
  class GetDispatchRulesRuleGroupRuleResult(dict):
2415
2541
  def __init__(__self__, *,
2416
- group_id: int,
2417
2542
  group_interval: int,
2418
2543
  group_wait_time: int,
2419
2544
  grouping_fields: Sequence[str],
@@ -2424,17 +2549,11 @@ class GetDispatchRulesRuleGroupRuleResult(dict):
2424
2549
  :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.
2425
2550
  :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.
2426
2551
  """
2427
- pulumi.set(__self__, "group_id", group_id)
2428
2552
  pulumi.set(__self__, "group_interval", group_interval)
2429
2553
  pulumi.set(__self__, "group_wait_time", group_wait_time)
2430
2554
  pulumi.set(__self__, "grouping_fields", grouping_fields)
2431
2555
  pulumi.set(__self__, "repeat_interval", repeat_interval)
2432
2556
 
2433
- @property
2434
- @pulumi.getter(name="groupId")
2435
- def group_id(self) -> int:
2436
- return pulumi.get(self, "group_id")
2437
-
2438
2557
  @property
2439
2558
  @pulumi.getter(name="groupInterval")
2440
2559
  def group_interval(self) -> int:
@@ -2548,22 +2667,36 @@ class GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabel
2548
2667
  class GetDispatchRulesRuleNotifyRuleResult(dict):
2549
2668
  def __init__(__self__, *,
2550
2669
  notify_channels: Sequence[str],
2551
- notify_objects: Sequence['outputs.GetDispatchRulesRuleNotifyRuleNotifyObjectResult']):
2670
+ notify_end_time: str,
2671
+ notify_objects: Sequence['outputs.GetDispatchRulesRuleNotifyRuleNotifyObjectResult'],
2672
+ notify_start_time: str):
2552
2673
  """
2553
- :param Sequence[str] notify_channels: The notification method.
2674
+ :param Sequence[str] notify_channels: A list of notification methods.
2675
+ :param str notify_end_time: (Available since v1.237.0) End time of notification.
2554
2676
  :param Sequence['GetDispatchRulesRuleNotifyRuleNotifyObjectArgs'] notify_objects: Sets the notification object.
2677
+ :param str notify_start_time: (Available since v1.237.0) Start time of notification.
2555
2678
  """
2556
2679
  pulumi.set(__self__, "notify_channels", notify_channels)
2680
+ pulumi.set(__self__, "notify_end_time", notify_end_time)
2557
2681
  pulumi.set(__self__, "notify_objects", notify_objects)
2682
+ pulumi.set(__self__, "notify_start_time", notify_start_time)
2558
2683
 
2559
2684
  @property
2560
2685
  @pulumi.getter(name="notifyChannels")
2561
2686
  def notify_channels(self) -> Sequence[str]:
2562
2687
  """
2563
- The notification method.
2688
+ A list of notification methods.
2564
2689
  """
2565
2690
  return pulumi.get(self, "notify_channels")
2566
2691
 
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
+
2567
2700
  @property
2568
2701
  @pulumi.getter(name="notifyObjects")
2569
2702
  def notify_objects(self) -> Sequence['outputs.GetDispatchRulesRuleNotifyRuleNotifyObjectResult']:
@@ -2572,6 +2705,14 @@ class GetDispatchRulesRuleNotifyRuleResult(dict):
2572
2705
  """
2573
2706
  return pulumi.get(self, "notify_objects")
2574
2707
 
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
+
2575
2716
 
2576
2717
  @pulumi.output_type
2577
2718
  class GetDispatchRulesRuleNotifyRuleNotifyObjectResult(dict):
@@ -820,8 +820,8 @@ class Rule(pulumi.CustomResource):
820
820
  resource_types_scopes=["ACS::RDS::DBInstance"],
821
821
  rule_name="contains-tag",
822
822
  input_parameters={
823
- "key": "example",
824
- "value": "example",
823
+ "key1": "value1",
824
+ "key2": "key2",
825
825
  })
826
826
  ```
827
827
 
@@ -892,8 +892,8 @@ class Rule(pulumi.CustomResource):
892
892
  resource_types_scopes=["ACS::RDS::DBInstance"],
893
893
  rule_name="contains-tag",
894
894
  input_parameters={
895
- "key": "example",
896
- "value": "example",
895
+ "key1": "value1",
896
+ "key2": "key2",
897
897
  })
898
898
  ```
899
899
 
@@ -29,6 +29,7 @@ class AutoscalingConfigArgs:
29
29
  recycle_node_deletion_enabled: Optional[pulumi.Input[bool]] = None,
30
30
  scale_down_enabled: Optional[pulumi.Input[bool]] = None,
31
31
  scale_up_from_zero: Optional[pulumi.Input[bool]] = None,
32
+ scaler_type: Optional[pulumi.Input[str]] = None,
32
33
  scan_interval: Optional[pulumi.Input[str]] = None,
33
34
  skip_nodes_with_local_storage: Optional[pulumi.Input[bool]] = None,
34
35
  skip_nodes_with_system_pods: Optional[pulumi.Input[bool]] = None,
@@ -46,6 +47,7 @@ class AutoscalingConfigArgs:
46
47
  :param pulumi.Input[bool] recycle_node_deletion_enabled: Should CA delete the K8s node object when recycle node has scaled down successfully. Default is `false`.
47
48
  :param pulumi.Input[bool] scale_down_enabled: Specify whether to allow the scale-in of nodes. Default is `true`.
48
49
  :param pulumi.Input[bool] scale_up_from_zero: Should CA scale up when there 0 ready nodes. Default is `true`.
50
+ :param pulumi.Input[str] scaler_type: The type of autoscaler. Valid values: `cluster-autoscaler`, `goatscaler`. For cluster version 1.22 and below, we only support `cluster-autoscaler`.
49
51
  :param pulumi.Input[str] scan_interval: The interval at which the cluster is reevaluated for scaling. Default is `30s`.
50
52
  :param pulumi.Input[bool] skip_nodes_with_local_storage: If true cluster autoscaler will never delete nodes with pods with local storage, e.g. EmptyDir or HostPath. Default is `false`.
51
53
  :param pulumi.Input[bool] skip_nodes_with_system_pods: If true cluster autoscaler will never delete nodes with pods from kube-system (except for DaemonSet or mirror pods). Default is `true`.
@@ -72,6 +74,8 @@ class AutoscalingConfigArgs:
72
74
  pulumi.set(__self__, "scale_down_enabled", scale_down_enabled)
73
75
  if scale_up_from_zero is not None:
74
76
  pulumi.set(__self__, "scale_up_from_zero", scale_up_from_zero)
77
+ if scaler_type is not None:
78
+ pulumi.set(__self__, "scaler_type", scaler_type)
75
79
  if scan_interval is not None:
76
80
  pulumi.set(__self__, "scan_interval", scan_interval)
77
81
  if skip_nodes_with_local_storage is not None:
@@ -203,6 +207,18 @@ class AutoscalingConfigArgs:
203
207
  def scale_up_from_zero(self, value: Optional[pulumi.Input[bool]]):
204
208
  pulumi.set(self, "scale_up_from_zero", value)
205
209
 
210
+ @property
211
+ @pulumi.getter(name="scalerType")
212
+ def scaler_type(self) -> Optional[pulumi.Input[str]]:
213
+ """
214
+ The type of autoscaler. Valid values: `cluster-autoscaler`, `goatscaler`. For cluster version 1.22 and below, we only support `cluster-autoscaler`.
215
+ """
216
+ return pulumi.get(self, "scaler_type")
217
+
218
+ @scaler_type.setter
219
+ def scaler_type(self, value: Optional[pulumi.Input[str]]):
220
+ pulumi.set(self, "scaler_type", value)
221
+
206
222
  @property
207
223
  @pulumi.getter(name="scanInterval")
208
224
  def scan_interval(self) -> Optional[pulumi.Input[str]]:
@@ -277,6 +293,7 @@ class _AutoscalingConfigState:
277
293
  recycle_node_deletion_enabled: Optional[pulumi.Input[bool]] = None,
278
294
  scale_down_enabled: Optional[pulumi.Input[bool]] = None,
279
295
  scale_up_from_zero: Optional[pulumi.Input[bool]] = None,
296
+ scaler_type: Optional[pulumi.Input[str]] = None,
280
297
  scan_interval: Optional[pulumi.Input[str]] = None,
281
298
  skip_nodes_with_local_storage: Optional[pulumi.Input[bool]] = None,
282
299
  skip_nodes_with_system_pods: Optional[pulumi.Input[bool]] = None,
@@ -294,6 +311,7 @@ class _AutoscalingConfigState:
294
311
  :param pulumi.Input[bool] recycle_node_deletion_enabled: Should CA delete the K8s node object when recycle node has scaled down successfully. Default is `false`.
295
312
  :param pulumi.Input[bool] scale_down_enabled: Specify whether to allow the scale-in of nodes. Default is `true`.
296
313
  :param pulumi.Input[bool] scale_up_from_zero: Should CA scale up when there 0 ready nodes. Default is `true`.
314
+ :param pulumi.Input[str] scaler_type: The type of autoscaler. Valid values: `cluster-autoscaler`, `goatscaler`. For cluster version 1.22 and below, we only support `cluster-autoscaler`.
297
315
  :param pulumi.Input[str] scan_interval: The interval at which the cluster is reevaluated for scaling. Default is `30s`.
298
316
  :param pulumi.Input[bool] skip_nodes_with_local_storage: If true cluster autoscaler will never delete nodes with pods with local storage, e.g. EmptyDir or HostPath. Default is `false`.
299
317
  :param pulumi.Input[bool] skip_nodes_with_system_pods: If true cluster autoscaler will never delete nodes with pods from kube-system (except for DaemonSet or mirror pods). Default is `true`.
@@ -320,6 +338,8 @@ class _AutoscalingConfigState:
320
338
  pulumi.set(__self__, "scale_down_enabled", scale_down_enabled)
321
339
  if scale_up_from_zero is not None:
322
340
  pulumi.set(__self__, "scale_up_from_zero", scale_up_from_zero)
341
+ if scaler_type is not None:
342
+ pulumi.set(__self__, "scaler_type", scaler_type)
323
343
  if scan_interval is not None:
324
344
  pulumi.set(__self__, "scan_interval", scan_interval)
325
345
  if skip_nodes_with_local_storage is not None:
@@ -451,6 +471,18 @@ class _AutoscalingConfigState:
451
471
  def scale_up_from_zero(self, value: Optional[pulumi.Input[bool]]):
452
472
  pulumi.set(self, "scale_up_from_zero", value)
453
473
 
474
+ @property
475
+ @pulumi.getter(name="scalerType")
476
+ def scaler_type(self) -> Optional[pulumi.Input[str]]:
477
+ """
478
+ The type of autoscaler. Valid values: `cluster-autoscaler`, `goatscaler`. For cluster version 1.22 and below, we only support `cluster-autoscaler`.
479
+ """
480
+ return pulumi.get(self, "scaler_type")
481
+
482
+ @scaler_type.setter
483
+ def scaler_type(self, value: Optional[pulumi.Input[str]]):
484
+ pulumi.set(self, "scaler_type", value)
485
+
454
486
  @property
455
487
  @pulumi.getter(name="scanInterval")
456
488
  def scan_interval(self) -> Optional[pulumi.Input[str]]:
@@ -527,6 +559,7 @@ class AutoscalingConfig(pulumi.CustomResource):
527
559
  recycle_node_deletion_enabled: Optional[pulumi.Input[bool]] = None,
528
560
  scale_down_enabled: Optional[pulumi.Input[bool]] = None,
529
561
  scale_up_from_zero: Optional[pulumi.Input[bool]] = None,
562
+ scaler_type: Optional[pulumi.Input[str]] = None,
530
563
  scan_interval: Optional[pulumi.Input[str]] = None,
531
564
  skip_nodes_with_local_storage: Optional[pulumi.Input[bool]] = None,
532
565
  skip_nodes_with_system_pods: Optional[pulumi.Input[bool]] = None,
@@ -542,6 +575,8 @@ class AutoscalingConfig(pulumi.CustomResource):
542
575
 
543
576
  > **NOTE:** From version 1.164.0, support for selecting the policy for selecting which node pool to scale by parameter `expander`.
544
577
 
578
+ > **NOTE:** From version 1.237.0, support for selecting the type of autoscaler by parameter `scaler_type`.
579
+
545
580
  :param str resource_name: The name of the resource.
546
581
  :param pulumi.ResourceOptions opts: Options for the resource.
547
582
  :param pulumi.Input[str] cluster_id: The id of kubernetes cluster.
@@ -554,6 +589,7 @@ class AutoscalingConfig(pulumi.CustomResource):
554
589
  :param pulumi.Input[bool] recycle_node_deletion_enabled: Should CA delete the K8s node object when recycle node has scaled down successfully. Default is `false`.
555
590
  :param pulumi.Input[bool] scale_down_enabled: Specify whether to allow the scale-in of nodes. Default is `true`.
556
591
  :param pulumi.Input[bool] scale_up_from_zero: Should CA scale up when there 0 ready nodes. Default is `true`.
592
+ :param pulumi.Input[str] scaler_type: The type of autoscaler. Valid values: `cluster-autoscaler`, `goatscaler`. For cluster version 1.22 and below, we only support `cluster-autoscaler`.
557
593
  :param pulumi.Input[str] scan_interval: The interval at which the cluster is reevaluated for scaling. Default is `30s`.
558
594
  :param pulumi.Input[bool] skip_nodes_with_local_storage: If true cluster autoscaler will never delete nodes with pods with local storage, e.g. EmptyDir or HostPath. Default is `false`.
559
595
  :param pulumi.Input[bool] skip_nodes_with_system_pods: If true cluster autoscaler will never delete nodes with pods from kube-system (except for DaemonSet or mirror pods). Default is `true`.
@@ -575,6 +611,8 @@ class AutoscalingConfig(pulumi.CustomResource):
575
611
 
576
612
  > **NOTE:** From version 1.164.0, support for selecting the policy for selecting which node pool to scale by parameter `expander`.
577
613
 
614
+ > **NOTE:** From version 1.237.0, support for selecting the type of autoscaler by parameter `scaler_type`.
615
+
578
616
  :param str resource_name: The name of the resource.
579
617
  :param AutoscalingConfigArgs args: The arguments to use to populate this resource's properties.
580
618
  :param pulumi.ResourceOptions opts: Options for the resource.
@@ -600,6 +638,7 @@ class AutoscalingConfig(pulumi.CustomResource):
600
638
  recycle_node_deletion_enabled: Optional[pulumi.Input[bool]] = None,
601
639
  scale_down_enabled: Optional[pulumi.Input[bool]] = None,
602
640
  scale_up_from_zero: Optional[pulumi.Input[bool]] = None,
641
+ scaler_type: Optional[pulumi.Input[str]] = None,
603
642
  scan_interval: Optional[pulumi.Input[str]] = None,
604
643
  skip_nodes_with_local_storage: Optional[pulumi.Input[bool]] = None,
605
644
  skip_nodes_with_system_pods: Optional[pulumi.Input[bool]] = None,
@@ -624,6 +663,7 @@ class AutoscalingConfig(pulumi.CustomResource):
624
663
  __props__.__dict__["recycle_node_deletion_enabled"] = recycle_node_deletion_enabled
625
664
  __props__.__dict__["scale_down_enabled"] = scale_down_enabled
626
665
  __props__.__dict__["scale_up_from_zero"] = scale_up_from_zero
666
+ __props__.__dict__["scaler_type"] = scaler_type
627
667
  __props__.__dict__["scan_interval"] = scan_interval
628
668
  __props__.__dict__["skip_nodes_with_local_storage"] = skip_nodes_with_local_storage
629
669
  __props__.__dict__["skip_nodes_with_system_pods"] = skip_nodes_with_system_pods
@@ -649,6 +689,7 @@ class AutoscalingConfig(pulumi.CustomResource):
649
689
  recycle_node_deletion_enabled: Optional[pulumi.Input[bool]] = None,
650
690
  scale_down_enabled: Optional[pulumi.Input[bool]] = None,
651
691
  scale_up_from_zero: Optional[pulumi.Input[bool]] = None,
692
+ scaler_type: Optional[pulumi.Input[str]] = None,
652
693
  scan_interval: Optional[pulumi.Input[str]] = None,
653
694
  skip_nodes_with_local_storage: Optional[pulumi.Input[bool]] = None,
654
695
  skip_nodes_with_system_pods: Optional[pulumi.Input[bool]] = None,
@@ -671,6 +712,7 @@ class AutoscalingConfig(pulumi.CustomResource):
671
712
  :param pulumi.Input[bool] recycle_node_deletion_enabled: Should CA delete the K8s node object when recycle node has scaled down successfully. Default is `false`.
672
713
  :param pulumi.Input[bool] scale_down_enabled: Specify whether to allow the scale-in of nodes. Default is `true`.
673
714
  :param pulumi.Input[bool] scale_up_from_zero: Should CA scale up when there 0 ready nodes. Default is `true`.
715
+ :param pulumi.Input[str] scaler_type: The type of autoscaler. Valid values: `cluster-autoscaler`, `goatscaler`. For cluster version 1.22 and below, we only support `cluster-autoscaler`.
674
716
  :param pulumi.Input[str] scan_interval: The interval at which the cluster is reevaluated for scaling. Default is `30s`.
675
717
  :param pulumi.Input[bool] skip_nodes_with_local_storage: If true cluster autoscaler will never delete nodes with pods with local storage, e.g. EmptyDir or HostPath. Default is `false`.
676
718
  :param pulumi.Input[bool] skip_nodes_with_system_pods: If true cluster autoscaler will never delete nodes with pods from kube-system (except for DaemonSet or mirror pods). Default is `true`.
@@ -691,6 +733,7 @@ class AutoscalingConfig(pulumi.CustomResource):
691
733
  __props__.__dict__["recycle_node_deletion_enabled"] = recycle_node_deletion_enabled
692
734
  __props__.__dict__["scale_down_enabled"] = scale_down_enabled
693
735
  __props__.__dict__["scale_up_from_zero"] = scale_up_from_zero
736
+ __props__.__dict__["scaler_type"] = scaler_type
694
737
  __props__.__dict__["scan_interval"] = scan_interval
695
738
  __props__.__dict__["skip_nodes_with_local_storage"] = skip_nodes_with_local_storage
696
739
  __props__.__dict__["skip_nodes_with_system_pods"] = skip_nodes_with_system_pods
@@ -778,6 +821,14 @@ class AutoscalingConfig(pulumi.CustomResource):
778
821
  """
779
822
  return pulumi.get(self, "scale_up_from_zero")
780
823
 
824
+ @property
825
+ @pulumi.getter(name="scalerType")
826
+ def scaler_type(self) -> pulumi.Output[Optional[str]]:
827
+ """
828
+ The type of autoscaler. Valid values: `cluster-autoscaler`, `goatscaler`. For cluster version 1.22 and below, we only support `cluster-autoscaler`.
829
+ """
830
+ return pulumi.get(self, "scaler_type")
831
+
781
832
  @property
782
833
  @pulumi.getter(name="scanInterval")
783
834
  def scan_interval(self) -> pulumi.Output[Optional[str]]:
@@ -5,8 +5,12 @@
5
5
  from .. import _utilities
6
6
  import typing
7
7
  # Export this package's modules as members:
8
+ from .data_source import *
9
+ from .data_source_shared_rule import *
8
10
  from .folder import *
9
11
  from .get_folders import *
10
12
  from .get_service import *
11
13
  from .project import *
14
+ from .project_member import *
15
+ from ._inputs import *
12
16
  from . import outputs