pulumi-alicloud 3.66.0a1731388773__py3-none-any.whl → 3.66.0a1731648019__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 (35) hide show
  1. pulumi_alicloud/alb/load_balancer.py +1 -1
  2. pulumi_alicloud/arms/environment.py +7 -7
  3. pulumi_alicloud/arms/get_remote_writes.py +4 -4
  4. pulumi_alicloud/arms/prometheus_alert_rule.py +58 -0
  5. pulumi_alicloud/arms/remote_write.py +2 -2
  6. pulumi_alicloud/cen/transit_router_vbr_attachment.py +96 -74
  7. pulumi_alicloud/cms/hybrid_monitor_fc_task.py +28 -26
  8. pulumi_alicloud/cr/chain.py +22 -14
  9. pulumi_alicloud/cr/chart_repository.py +14 -6
  10. pulumi_alicloud/cr/repo.py +8 -8
  11. pulumi_alicloud/cr/vpc_endpoint_linked_vpc.py +14 -6
  12. pulumi_alicloud/databasefilesystem/instance_attachment.py +59 -63
  13. pulumi_alicloud/databasefilesystem/snapshot.py +53 -109
  14. pulumi_alicloud/ecs/instance.py +7 -7
  15. pulumi_alicloud/ess/scaling_configuration.py +7 -7
  16. pulumi_alicloud/fc/trigger.py +202 -138
  17. pulumi_alicloud/ga/custom_routing_endpoint_traffic_policy.py +48 -44
  18. pulumi_alicloud/governance/_inputs.py +54 -0
  19. pulumi_alicloud/governance/account.py +49 -14
  20. pulumi_alicloud/governance/outputs.py +51 -0
  21. pulumi_alicloud/gpdb/instance.py +196 -15
  22. pulumi_alicloud/kms/instance.py +28 -0
  23. pulumi_alicloud/nas/data_flow.py +6 -6
  24. pulumi_alicloud/nas/fileset.py +6 -6
  25. pulumi_alicloud/nas/lifecycle_policy.py +6 -6
  26. pulumi_alicloud/nas/recycle_bin.py +6 -6
  27. pulumi_alicloud/nas/snapshot.py +6 -6
  28. pulumi_alicloud/pulumi-plugin.json +1 -1
  29. pulumi_alicloud/redis/tair_instance.py +1102 -71
  30. pulumi_alicloud/threatdetection/honeypot_preset.py +2 -0
  31. pulumi_alicloud/vpn/gateway_vco_route.py +28 -8
  32. {pulumi_alicloud-3.66.0a1731388773.dist-info → pulumi_alicloud-3.66.0a1731648019.dist-info}/METADATA +1 -1
  33. {pulumi_alicloud-3.66.0a1731388773.dist-info → pulumi_alicloud-3.66.0a1731648019.dist-info}/RECORD +35 -35
  34. {pulumi_alicloud-3.66.0a1731388773.dist-info → pulumi_alicloud-3.66.0a1731648019.dist-info}/WHEEL +1 -1
  35. {pulumi_alicloud-3.66.0a1731388773.dist-info → pulumi_alicloud-3.66.0a1731648019.dist-info}/top_level.txt +0 -0
@@ -850,7 +850,7 @@ class LoadBalancer(pulumi.CustomResource):
850
850
 
851
851
  @property
852
852
  @pulumi.getter(name="bandwidthPackageId")
853
- def bandwidth_package_id(self) -> pulumi.Output[Optional[str]]:
853
+ def bandwidth_package_id(self) -> pulumi.Output[str]:
854
854
  """
855
855
  The ID of the Internet Shared Bandwidth instance that is associated with the Internet-facing ALB instance.
856
856
  """
@@ -31,7 +31,7 @@ class EnvironmentArgs:
31
31
  """
32
32
  The set of arguments for constructing a Environment resource.
33
33
  :param pulumi.Input[str] environment_sub_type: Subtype of environment:
34
- - Type of CS: ACK is currently supported.
34
+ - Type of CS: ACK is currently supported. ManagedKubernetes, Kubernetes, ExternalKubernetes, and One are also supported.
35
35
  - Type of ECS: currently supports ECS.
36
36
  - Type of Cloud: currently supports Cloud.
37
37
  :param pulumi.Input[str] environment_type: Type of environment.
@@ -68,7 +68,7 @@ class EnvironmentArgs:
68
68
  def environment_sub_type(self) -> pulumi.Input[str]:
69
69
  """
70
70
  Subtype of environment:
71
- - Type of CS: ACK is currently supported.
71
+ - Type of CS: ACK is currently supported. ManagedKubernetes, Kubernetes, ExternalKubernetes, and One are also supported.
72
72
  - Type of ECS: currently supports ECS.
73
73
  - Type of Cloud: currently supports Cloud.
74
74
  """
@@ -199,7 +199,7 @@ class _EnvironmentState:
199
199
  :param pulumi.Input[str] environment_id: The first ID of the resource.
200
200
  :param pulumi.Input[str] environment_name: The name of the resource.
201
201
  :param pulumi.Input[str] environment_sub_type: Subtype of environment:
202
- - Type of CS: ACK is currently supported.
202
+ - Type of CS: ACK is currently supported. ManagedKubernetes, Kubernetes, ExternalKubernetes, and One are also supported.
203
203
  - Type of ECS: currently supports ECS.
204
204
  - Type of Cloud: currently supports Cloud.
205
205
  :param pulumi.Input[str] environment_type: Type of environment.
@@ -296,7 +296,7 @@ class _EnvironmentState:
296
296
  def environment_sub_type(self) -> Optional[pulumi.Input[str]]:
297
297
  """
298
298
  Subtype of environment:
299
- - Type of CS: ACK is currently supported.
299
+ - Type of CS: ACK is currently supported. ManagedKubernetes, Kubernetes, ExternalKubernetes, and One are also supported.
300
300
  - Type of ECS: currently supports ECS.
301
301
  - Type of Cloud: currently supports Cloud.
302
302
  """
@@ -395,7 +395,7 @@ class Environment(pulumi.CustomResource):
395
395
  :param pulumi.Input[str] drop_metrics: List of abandoned indicators.
396
396
  :param pulumi.Input[str] environment_name: The name of the resource.
397
397
  :param pulumi.Input[str] environment_sub_type: Subtype of environment:
398
- - Type of CS: ACK is currently supported.
398
+ - Type of CS: ACK is currently supported. ManagedKubernetes, Kubernetes, ExternalKubernetes, and One are also supported.
399
399
  - Type of ECS: currently supports ECS.
400
400
  - Type of Cloud: currently supports Cloud.
401
401
  :param pulumi.Input[str] environment_type: Type of environment.
@@ -507,7 +507,7 @@ class Environment(pulumi.CustomResource):
507
507
  :param pulumi.Input[str] environment_id: The first ID of the resource.
508
508
  :param pulumi.Input[str] environment_name: The name of the resource.
509
509
  :param pulumi.Input[str] environment_sub_type: Subtype of environment:
510
- - Type of CS: ACK is currently supported.
510
+ - Type of CS: ACK is currently supported. ManagedKubernetes, Kubernetes, ExternalKubernetes, and One are also supported.
511
511
  - Type of ECS: currently supports ECS.
512
512
  - Type of Cloud: currently supports Cloud.
513
513
  :param pulumi.Input[str] environment_type: Type of environment.
@@ -579,7 +579,7 @@ class Environment(pulumi.CustomResource):
579
579
  def environment_sub_type(self) -> pulumi.Output[str]:
580
580
  """
581
581
  Subtype of environment:
582
- - Type of CS: ACK is currently supported.
582
+ - Type of CS: ACK is currently supported. ManagedKubernetes, Kubernetes, ExternalKubernetes, and One are also supported.
583
583
  - Type of ECS: currently supports ECS.
584
584
  - Type of Cloud: currently supports Cloud.
585
585
  """
@@ -121,9 +121,9 @@ def get_remote_writes(cluster_id: Optional[str] = None,
121
121
  """
122
122
  This data source provides the Arms Remote Writes of the current Alibaba Cloud user.
123
123
 
124
- > **NOTE:** Available in v1.204.0+.
124
+ > **NOTE:** Available since v1.204.0.
125
125
 
126
- > **NOTE:** deprecated since v1.228.0.
126
+ > **DEPRECATED:** This resource has been deprecated since v1.228.0.
127
127
 
128
128
  ## Example Usage
129
129
 
@@ -171,9 +171,9 @@ def get_remote_writes_output(cluster_id: Optional[pulumi.Input[str]] = None,
171
171
  """
172
172
  This data source provides the Arms Remote Writes of the current Alibaba Cloud user.
173
173
 
174
- > **NOTE:** Available in v1.204.0+.
174
+ > **NOTE:** Available since v1.204.0.
175
175
 
176
- > **NOTE:** deprecated since v1.228.0.
176
+ > **DEPRECATED:** This resource has been deprecated since v1.228.0.
177
177
 
178
178
  ## Example Usage
179
179
 
@@ -404,6 +404,35 @@ class PrometheusAlertRule(pulumi.CustomResource):
404
404
 
405
405
  > **NOTE:** Available since v1.136.0.
406
406
 
407
+ ## Example Usage
408
+
409
+ Basic Usage
410
+
411
+ ```python
412
+ import pulumi
413
+ import pulumi_alicloud as alicloud
414
+ import pulumi_random as random
415
+
416
+ config = pulumi.Config()
417
+ name = config.get("name")
418
+ if name is None:
419
+ name = "tf-example"
420
+ default = random.index.Integer("default",
421
+ min=10000,
422
+ max=99999)
423
+ default_prometheus = alicloud.arms.Prometheus("default",
424
+ cluster_type="remote-write",
425
+ cluster_name=f"{name}-{default['result']}",
426
+ grafana_instance_id="free")
427
+ example = alicloud.arms.PrometheusAlertRule("example",
428
+ cluster_id=default_prometheus.cluster_id,
429
+ duration="1",
430
+ expression="node_memory_MemAvailable_bytes / node_memory_MemTotal_bytes * 100 < 10",
431
+ message="node available memory is less than 10%",
432
+ prometheus_alert_rule_name=name,
433
+ notify_type="ALERT_MANAGER")
434
+ ```
435
+
407
436
  ## Import
408
437
 
409
438
  Application Real-Time Monitoring Service (ARMS) Prometheus Alert Rule can be imported using the id, e.g.
@@ -438,6 +467,35 @@ class PrometheusAlertRule(pulumi.CustomResource):
438
467
 
439
468
  > **NOTE:** Available since v1.136.0.
440
469
 
470
+ ## Example Usage
471
+
472
+ Basic Usage
473
+
474
+ ```python
475
+ import pulumi
476
+ import pulumi_alicloud as alicloud
477
+ import pulumi_random as random
478
+
479
+ config = pulumi.Config()
480
+ name = config.get("name")
481
+ if name is None:
482
+ name = "tf-example"
483
+ default = random.index.Integer("default",
484
+ min=10000,
485
+ max=99999)
486
+ default_prometheus = alicloud.arms.Prometheus("default",
487
+ cluster_type="remote-write",
488
+ cluster_name=f"{name}-{default['result']}",
489
+ grafana_instance_id="free")
490
+ example = alicloud.arms.PrometheusAlertRule("example",
491
+ cluster_id=default_prometheus.cluster_id,
492
+ duration="1",
493
+ expression="node_memory_MemAvailable_bytes / node_memory_MemTotal_bytes * 100 < 10",
494
+ message="node available memory is less than 10%",
495
+ prometheus_alert_rule_name=name,
496
+ notify_type="ALERT_MANAGER")
497
+ ```
498
+
441
499
  ## Import
442
500
 
443
501
  Application Real-Time Monitoring Service (ARMS) Prometheus Alert Rule can be imported using the id, e.g.
@@ -125,7 +125,7 @@ class RemoteWrite(pulumi.CustomResource):
125
125
 
126
126
  > **NOTE:** Available since v1.204.0.
127
127
 
128
- > **NOTE:** deprecated since v1.228.0.
128
+ > **DEPRECATED:** This resource has been deprecated since v1.228.0.
129
129
 
130
130
  ## Example Usage
131
131
 
@@ -205,7 +205,7 @@ class RemoteWrite(pulumi.CustomResource):
205
205
 
206
206
  > **NOTE:** Available since v1.204.0.
207
207
 
208
- > **NOTE:** deprecated since v1.228.0.
208
+ > **DEPRECATED:** This resource has been deprecated since v1.228.0.
209
209
 
210
210
  ## Example Usage
211
211