pulumi-alicloud 3.57.0a1718428539__py3-none-any.whl → 3.57.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.

Files changed (217) hide show
  1. pulumi_alicloud/__init__.py +72 -0
  2. pulumi_alicloud/_inputs.py +9 -9
  3. pulumi_alicloud/_utilities.py +35 -0
  4. pulumi_alicloud/actiontrail/get_trails.py +1 -3
  5. pulumi_alicloud/actiontrail/get_trails_deprecated.py +1 -3
  6. pulumi_alicloud/actiontrail/trail.py +9 -27
  7. pulumi_alicloud/actiontrail/trail_deprecated.py +9 -27
  8. pulumi_alicloud/adb/cluster.py +6 -18
  9. pulumi_alicloud/adb/db_cluster.py +6 -18
  10. pulumi_alicloud/alb/acl.py +3 -9
  11. pulumi_alicloud/alb/get_load_balancers.py +1 -3
  12. pulumi_alicloud/alb/listener.py +3 -9
  13. pulumi_alicloud/alb/outputs.py +1 -3
  14. pulumi_alicloud/alikafka/instance.py +3 -9
  15. pulumi_alicloud/cas/certificate.py +3 -9
  16. pulumi_alicloud/cas/outputs.py +2 -6
  17. pulumi_alicloud/cas/service_certificate.py +3 -9
  18. pulumi_alicloud/cddc/dedicated_host_account.py +4 -0
  19. pulumi_alicloud/cddc/dedicated_host_group.py +4 -0
  20. pulumi_alicloud/cdn/domain.py +45 -135
  21. pulumi_alicloud/cen/bandwidth_package.py +9 -27
  22. pulumi_alicloud/cen/get_transit_router_available_resources.py +32 -11
  23. pulumi_alicloud/cen/instance.py +3 -9
  24. pulumi_alicloud/cen/outputs.py +23 -1
  25. pulumi_alicloud/cen/transit_router_vpc_attachment.py +6 -18
  26. pulumi_alicloud/cfg/aggregate_compliance_pack.py +3 -9
  27. pulumi_alicloud/cfg/compliance_pack.py +3 -9
  28. pulumi_alicloud/cfg/get_rules.py +1 -3
  29. pulumi_alicloud/cfg/remediation.py +10 -2
  30. pulumi_alicloud/cfg/rule.py +9 -27
  31. pulumi_alicloud/clickhouse/account.py +6 -18
  32. pulumi_alicloud/clickhouse/db_cluster.py +47 -0
  33. pulumi_alicloud/cloudfirewall/instance.py +3 -9
  34. pulumi_alicloud/cms/__init__.py +1 -0
  35. pulumi_alicloud/cms/_inputs.py +18 -18
  36. pulumi_alicloud/cms/alarm.py +47 -53
  37. pulumi_alicloud/cms/get_site_monitors.py +243 -0
  38. pulumi_alicloud/cms/outputs.py +92 -18
  39. pulumi_alicloud/config/outputs.py +6 -6
  40. pulumi_alicloud/cs/_inputs.py +2 -6
  41. pulumi_alicloud/cs/cluster.py +3 -9
  42. pulumi_alicloud/cs/edge_kubernetes.py +6 -18
  43. pulumi_alicloud/cs/kubernetes.py +3 -9
  44. pulumi_alicloud/cs/kubernetes_addon.py +2 -2
  45. pulumi_alicloud/cs/node_pool.py +29 -59
  46. pulumi_alicloud/cs/outputs.py +2 -6
  47. pulumi_alicloud/cs/serverless_kubernetes.py +9 -27
  48. pulumi_alicloud/cs/swarm.py +3 -9
  49. pulumi_alicloud/databasefilesystem/instance.py +6 -18
  50. pulumi_alicloud/ddos/bgp_ip.py +53 -2
  51. pulumi_alicloud/dms/enterprise_instance.py +5 -15
  52. pulumi_alicloud/dms/enterprise_user.py +3 -9
  53. pulumi_alicloud/dns/domain_group.py +3 -9
  54. pulumi_alicloud/drds/get_instances.py +1 -3
  55. pulumi_alicloud/eci/_inputs.py +12 -0
  56. pulumi_alicloud/eci/outputs.py +8 -0
  57. pulumi_alicloud/ecs/_inputs.py +10 -14
  58. pulumi_alicloud/ecs/copy_image.py +3 -9
  59. pulumi_alicloud/ecs/disk.py +6 -18
  60. pulumi_alicloud/ecs/ecs_disk.py +13 -25
  61. pulumi_alicloud/ecs/ecs_key_pair.py +3 -9
  62. pulumi_alicloud/ecs/ecs_key_pair_attachment.py +3 -9
  63. pulumi_alicloud/ecs/ecs_launch_template.py +18 -54
  64. pulumi_alicloud/ecs/ecs_network_interface.py +15 -45
  65. pulumi_alicloud/ecs/ecs_snapshot.py +3 -9
  66. pulumi_alicloud/ecs/eip.py +7 -19
  67. pulumi_alicloud/ecs/eip_address.py +501 -317
  68. pulumi_alicloud/ecs/eip_association.py +205 -58
  69. pulumi_alicloud/ecs/eip_segment_address.py +311 -133
  70. pulumi_alicloud/ecs/get_disks.py +2 -6
  71. pulumi_alicloud/ecs/get_ecs_disks.py +2 -6
  72. pulumi_alicloud/ecs/get_ecs_key_pairs.py +1 -3
  73. pulumi_alicloud/ecs/get_ecs_network_interfaces.py +2 -6
  74. pulumi_alicloud/ecs/get_eip_addresses.py +2 -6
  75. pulumi_alicloud/ecs/get_eips.py +2 -6
  76. pulumi_alicloud/ecs/get_key_pairs.py +1 -3
  77. pulumi_alicloud/ecs/get_network_interfaces.py +2 -6
  78. pulumi_alicloud/ecs/image.py +3 -9
  79. pulumi_alicloud/ecs/image_copy.py +3 -9
  80. pulumi_alicloud/ecs/image_import.py +162 -100
  81. pulumi_alicloud/ecs/instance.py +26 -24
  82. pulumi_alicloud/ecs/key_pair.py +3 -9
  83. pulumi_alicloud/ecs/key_pair_attachment.py +3 -9
  84. pulumi_alicloud/ecs/launch_template.py +18 -54
  85. pulumi_alicloud/ecs/outputs.py +10 -14
  86. pulumi_alicloud/ecs/reserved_instance.py +3 -9
  87. pulumi_alicloud/ecs/security_group.py +3 -9
  88. pulumi_alicloud/ecs/security_group_rule.py +2 -2
  89. pulumi_alicloud/ecs/snapshot.py +3 -9
  90. pulumi_alicloud/edas/k8s_application.py +12 -36
  91. pulumi_alicloud/eds/network_package.py +22 -8
  92. pulumi_alicloud/eds/outputs.py +2 -6
  93. pulumi_alicloud/eds/simple_office_site.py +6 -18
  94. pulumi_alicloud/ess/_inputs.py +89 -3
  95. pulumi_alicloud/ess/alarm.py +132 -38
  96. pulumi_alicloud/ess/outputs.py +88 -3
  97. pulumi_alicloud/ess/scaling_configuration.py +6 -18
  98. pulumi_alicloud/ess/scaling_group.py +151 -16
  99. pulumi_alicloud/expressconnect/__init__.py +8 -0
  100. pulumi_alicloud/expressconnect/_inputs.py +40 -0
  101. pulumi_alicloud/expressconnect/outputs.py +51 -0
  102. pulumi_alicloud/expressconnect/router_express_connect_router.py +458 -0
  103. pulumi_alicloud/expressconnect/router_tr_association.py +578 -0
  104. pulumi_alicloud/expressconnect/router_vbr_child_instance.py +475 -0
  105. pulumi_alicloud/expressconnect/router_vpc_association.py +500 -0
  106. pulumi_alicloud/expressconnect/traffic_qos.py +284 -0
  107. pulumi_alicloud/expressconnect/traffic_qos_association.py +336 -0
  108. pulumi_alicloud/expressconnect/traffic_qos_queue.py +520 -0
  109. pulumi_alicloud/expressconnect/traffic_qos_rule.py +1174 -0
  110. pulumi_alicloud/ga/acl.py +3 -9
  111. pulumi_alicloud/gpdb/__init__.py +1 -0
  112. pulumi_alicloud/gpdb/db_resource_group.py +364 -0
  113. pulumi_alicloud/gpdb/instance.py +62 -45
  114. pulumi_alicloud/hbase/get_instance_types.py +2 -2
  115. pulumi_alicloud/hbr/ecs_backup_plan.py +3 -9
  116. pulumi_alicloud/hbr/nas_backup_plan.py +3 -9
  117. pulumi_alicloud/hbr/ots_backup_plan.py +3 -9
  118. pulumi_alicloud/kms/key.py +9 -27
  119. pulumi_alicloud/kvstore/_inputs.py +2 -6
  120. pulumi_alicloud/kvstore/get_instance_classes.py +3 -9
  121. pulumi_alicloud/kvstore/instance.py +23 -69
  122. pulumi_alicloud/kvstore/outputs.py +2 -6
  123. pulumi_alicloud/lindorm/instance.py +3 -9
  124. pulumi_alicloud/log/_inputs.py +1 -3
  125. pulumi_alicloud/log/alert.py +21 -63
  126. pulumi_alicloud/log/oss_shipper.py +4 -0
  127. pulumi_alicloud/log/outputs.py +1 -3
  128. pulumi_alicloud/log/project.py +3 -9
  129. pulumi_alicloud/log/store.py +6 -18
  130. pulumi_alicloud/mongodb/instance.py +7 -7
  131. pulumi_alicloud/mongodb/sharding_instance.py +54 -7
  132. pulumi_alicloud/nas/access_group.py +6 -18
  133. pulumi_alicloud/nas/get_access_groups.py +1 -3
  134. pulumi_alicloud/nas/get_mount_targets.py +2 -6
  135. pulumi_alicloud/nlb/server_group.py +3 -9
  136. pulumi_alicloud/oss/bucket.py +6 -18
  137. pulumi_alicloud/oss/bucket_cors.py +8 -4
  138. pulumi_alicloud/oss/bucket_data_redundancy_transition.py +12 -4
  139. pulumi_alicloud/oss/bucket_policy.py +2 -2
  140. pulumi_alicloud/oss/bucket_public_access_block.py +12 -4
  141. pulumi_alicloud/oss/bucket_referer.py +2 -2
  142. pulumi_alicloud/ots/instance.py +7 -7
  143. pulumi_alicloud/ots/table.py +149 -8
  144. pulumi_alicloud/provider.py +8 -24
  145. pulumi_alicloud/pulumi-plugin.json +1 -1
  146. pulumi_alicloud/pvtz/zone.py +3 -9
  147. pulumi_alicloud/pvtz/zone_record.py +3 -9
  148. pulumi_alicloud/ram/policy.py +12 -36
  149. pulumi_alicloud/ram/role.py +9 -27
  150. pulumi_alicloud/rds/account.py +15 -45
  151. pulumi_alicloud/rds/backup_policy.py +15 -45
  152. pulumi_alicloud/rds/get_zones.py +1 -3
  153. pulumi_alicloud/rds/instance.py +27 -18
  154. pulumi_alicloud/rds/rds_account.py +15 -45
  155. pulumi_alicloud/resourcemanager/policy.py +3 -9
  156. pulumi_alicloud/resourcemanager/policy_version.py +3 -9
  157. pulumi_alicloud/resourcemanager/resource_group.py +3 -9
  158. pulumi_alicloud/rocketmq/group.py +3 -9
  159. pulumi_alicloud/rocketmq/instance.py +3 -9
  160. pulumi_alicloud/rocketmq/topic.py +6 -18
  161. pulumi_alicloud/sae/application.py +30 -90
  162. pulumi_alicloud/sae/load_balancer_internet.py +4 -2
  163. pulumi_alicloud/sae/load_balancer_intranet.py +4 -2
  164. pulumi_alicloud/scdn/domain.py +3 -9
  165. pulumi_alicloud/servicecatalog/get_launch_options.py +1 -3
  166. pulumi_alicloud/servicecatalog/get_product_versions.py +1 -3
  167. pulumi_alicloud/servicecatalog/get_provisioned_products.py +1 -3
  168. pulumi_alicloud/servicemesh/_inputs.py +0 -6
  169. pulumi_alicloud/servicemesh/outputs.py +0 -6
  170. pulumi_alicloud/servicemesh/service_mesh.py +2 -2
  171. pulumi_alicloud/simpleapplicationserver/snapshot.py +10 -2
  172. pulumi_alicloud/slb/acl.py +3 -9
  173. pulumi_alicloud/slb/application_load_balancer.py +6 -18
  174. pulumi_alicloud/slb/ca_certificate.py +3 -9
  175. pulumi_alicloud/slb/get_application_load_balancers.py +1 -3
  176. pulumi_alicloud/slb/get_load_balancers.py +1 -3
  177. pulumi_alicloud/slb/get_zones.py +1 -3
  178. pulumi_alicloud/slb/listener.py +9 -27
  179. pulumi_alicloud/slb/load_balancer.py +6 -18
  180. pulumi_alicloud/slb/outputs.py +1 -3
  181. pulumi_alicloud/slb/server_certificate.py +6 -18
  182. pulumi_alicloud/slb/server_group.py +3 -9
  183. pulumi_alicloud/threatdetection/instance.py +3 -9
  184. pulumi_alicloud/vpc/bgp_peer.py +36 -8
  185. pulumi_alicloud/vpc/common_bandwith_package.py +200 -129
  186. pulumi_alicloud/vpc/common_bandwith_package_attachment.py +58 -30
  187. pulumi_alicloud/vpc/dhcp_options_set.py +3 -9
  188. pulumi_alicloud/vpc/forward_entry.py +3 -9
  189. pulumi_alicloud/vpc/ha_vip.py +3 -9
  190. pulumi_alicloud/vpc/ha_vip_attachment.py +3 -9
  191. pulumi_alicloud/vpc/ha_vipv2.py +3 -9
  192. pulumi_alicloud/vpc/ipv6_gateway.py +3 -9
  193. pulumi_alicloud/vpc/network.py +8 -28
  194. pulumi_alicloud/vpc/network_acl.py +3 -9
  195. pulumi_alicloud/vpc/network_interface.py +15 -45
  196. pulumi_alicloud/vpc/route_entry.py +3 -9
  197. pulumi_alicloud/vpc/route_table.py +3 -9
  198. pulumi_alicloud/vpc/router_interface.py +13 -39
  199. pulumi_alicloud/vpc/router_interface_connection.py +2 -2
  200. pulumi_alicloud/vpc/subnet.py +6 -18
  201. pulumi_alicloud/vpc/switch.py +6 -18
  202. pulumi_alicloud/vpc/traffic_mirror_filter_egress_rule.py +3 -9
  203. pulumi_alicloud/vpc/traffic_mirror_filter_ingress_rule.py +3 -9
  204. pulumi_alicloud/vpn/connection.py +223 -9
  205. pulumi_alicloud/vpn/customer_gateway.py +3 -9
  206. pulumi_alicloud/vpn/gateway.py +6 -18
  207. pulumi_alicloud/vpn/gateway_vpn_attachment.py +2 -2
  208. pulumi_alicloud/vpn/get_gateway_vpn_attachments.py +1 -3
  209. pulumi_alicloud/vpn/get_gateways.py +1 -3
  210. pulumi_alicloud/vpn/ipsec_server.py +20 -12
  211. pulumi_alicloud/vpn/pbr_route_entry.py +152 -16
  212. pulumi_alicloud/vpn/route_entry.py +158 -44
  213. pulumi_alicloud/waf/domain.py +3 -9
  214. {pulumi_alicloud-3.57.0a1718428539.dist-info → pulumi_alicloud-3.57.1.dist-info}/METADATA +1 -1
  215. {pulumi_alicloud-3.57.0a1718428539.dist-info → pulumi_alicloud-3.57.1.dist-info}/RECORD +217 -207
  216. {pulumi_alicloud-3.57.0a1718428539.dist-info → pulumi_alicloud-3.57.1.dist-info}/WHEEL +1 -1
  217. {pulumi_alicloud-3.57.0a1718428539.dist-info → pulumi_alicloud-3.57.1.dist-info}/top_level.txt +0 -0
@@ -3820,6 +3820,14 @@ _utilities.register(
3820
3820
  "alicloud:expressconnect/physicalConnection:PhysicalConnection": "PhysicalConnection"
3821
3821
  }
3822
3822
  },
3823
+ {
3824
+ "pkg": "alicloud",
3825
+ "mod": "expressconnect/routerExpressConnectRouter",
3826
+ "fqn": "pulumi_alicloud.expressconnect",
3827
+ "classes": {
3828
+ "alicloud:expressconnect/routerExpressConnectRouter:RouterExpressConnectRouter": "RouterExpressConnectRouter"
3829
+ }
3830
+ },
3823
3831
  {
3824
3832
  "pkg": "alicloud",
3825
3833
  "mod": "expressconnect/routerInterface",
@@ -3828,6 +3836,62 @@ _utilities.register(
3828
3836
  "alicloud:expressconnect/routerInterface:RouterInterface": "RouterInterface"
3829
3837
  }
3830
3838
  },
3839
+ {
3840
+ "pkg": "alicloud",
3841
+ "mod": "expressconnect/routerTrAssociation",
3842
+ "fqn": "pulumi_alicloud.expressconnect",
3843
+ "classes": {
3844
+ "alicloud:expressconnect/routerTrAssociation:RouterTrAssociation": "RouterTrAssociation"
3845
+ }
3846
+ },
3847
+ {
3848
+ "pkg": "alicloud",
3849
+ "mod": "expressconnect/routerVbrChildInstance",
3850
+ "fqn": "pulumi_alicloud.expressconnect",
3851
+ "classes": {
3852
+ "alicloud:expressconnect/routerVbrChildInstance:RouterVbrChildInstance": "RouterVbrChildInstance"
3853
+ }
3854
+ },
3855
+ {
3856
+ "pkg": "alicloud",
3857
+ "mod": "expressconnect/routerVpcAssociation",
3858
+ "fqn": "pulumi_alicloud.expressconnect",
3859
+ "classes": {
3860
+ "alicloud:expressconnect/routerVpcAssociation:RouterVpcAssociation": "RouterVpcAssociation"
3861
+ }
3862
+ },
3863
+ {
3864
+ "pkg": "alicloud",
3865
+ "mod": "expressconnect/trafficQos",
3866
+ "fqn": "pulumi_alicloud.expressconnect",
3867
+ "classes": {
3868
+ "alicloud:expressconnect/trafficQos:TrafficQos": "TrafficQos"
3869
+ }
3870
+ },
3871
+ {
3872
+ "pkg": "alicloud",
3873
+ "mod": "expressconnect/trafficQosAssociation",
3874
+ "fqn": "pulumi_alicloud.expressconnect",
3875
+ "classes": {
3876
+ "alicloud:expressconnect/trafficQosAssociation:TrafficQosAssociation": "TrafficQosAssociation"
3877
+ }
3878
+ },
3879
+ {
3880
+ "pkg": "alicloud",
3881
+ "mod": "expressconnect/trafficQosQueue",
3882
+ "fqn": "pulumi_alicloud.expressconnect",
3883
+ "classes": {
3884
+ "alicloud:expressconnect/trafficQosQueue:TrafficQosQueue": "TrafficQosQueue"
3885
+ }
3886
+ },
3887
+ {
3888
+ "pkg": "alicloud",
3889
+ "mod": "expressconnect/trafficQosRule",
3890
+ "fqn": "pulumi_alicloud.expressconnect",
3891
+ "classes": {
3892
+ "alicloud:expressconnect/trafficQosRule:TrafficQosRule": "TrafficQosRule"
3893
+ }
3894
+ },
3831
3895
  {
3832
3896
  "pkg": "alicloud",
3833
3897
  "mod": "expressconnect/vbrPconnAssociation",
@@ -4164,6 +4228,14 @@ _utilities.register(
4164
4228
  "alicloud:gpdb/dbInstancePlan:DbInstancePlan": "DbInstancePlan"
4165
4229
  }
4166
4230
  },
4231
+ {
4232
+ "pkg": "alicloud",
4233
+ "mod": "gpdb/dbResourceGroup",
4234
+ "fqn": "pulumi_alicloud.gpdb",
4235
+ "classes": {
4236
+ "alicloud:gpdb/dbResourceGroup:DbResourceGroup": "DbResourceGroup"
4237
+ }
4238
+ },
4167
4239
  {
4168
4240
  "pkg": "alicloud",
4169
4241
  "mod": "gpdb/elasticInstance",
@@ -319,7 +319,7 @@ class ProviderEndpointArgs:
319
319
  rds: Optional[pulumi.Input[str]] = None,
320
320
  redisa: Optional[pulumi.Input[str]] = None,
321
321
  resourcemanager: Optional[pulumi.Input[str]] = None,
322
- resourcesharing: Optional[pulumi.Input[str]] = None,
322
+ ressharing: Optional[pulumi.Input[str]] = None,
323
323
  ros: Optional[pulumi.Input[str]] = None,
324
324
  sas: Optional[pulumi.Input[str]] = None,
325
325
  scdn: Optional[pulumi.Input[str]] = None,
@@ -448,7 +448,7 @@ class ProviderEndpointArgs:
448
448
  :param pulumi.Input[str] rds: Use this to override the default endpoint URL constructed from the `region`. It's typically used to connect to custom RDS endpoints.
449
449
  :param pulumi.Input[str] redisa: Use this to override the default endpoint URL constructed from the `region`. It's typically used to connect to custom redisa endpoints.
450
450
  :param pulumi.Input[str] resourcemanager: Use this to override the default endpoint URL constructed from the `region`. It's typically used to connect to custom resourcemanager endpoints.
451
- :param pulumi.Input[str] resourcesharing: Use this to override the default endpoint URL constructed from the `region`. It's typically used to connect to custom resourcesharing endpoints.
451
+ :param pulumi.Input[str] ressharing: Use this to override the default endpoint URL constructed from the `region`. It's typically used to connect to custom resourcesharing endpoints.
452
452
  :param pulumi.Input[str] ros: Use this to override the default endpoint URL constructed from the `region`. It's typically used to connect to custom ros endpoints.
453
453
  :param pulumi.Input[str] sas: Use this to override the default endpoint URL constructed from the `region`. It's typically used to connect to custom sas endpoints.
454
454
  :param pulumi.Input[str] scdn: Use this to override the default endpoint URL constructed from the `region`. It's typically used to connect to custom scdn endpoints.
@@ -687,8 +687,8 @@ class ProviderEndpointArgs:
687
687
  pulumi.set(__self__, "redisa", redisa)
688
688
  if resourcemanager is not None:
689
689
  pulumi.set(__self__, "resourcemanager", resourcemanager)
690
- if resourcesharing is not None:
691
- pulumi.set(__self__, "resourcesharing", resourcesharing)
690
+ if ressharing is not None:
691
+ pulumi.set(__self__, "ressharing", ressharing)
692
692
  if ros is not None:
693
693
  pulumi.set(__self__, "ros", ros)
694
694
  if sas is not None:
@@ -2035,15 +2035,15 @@ class ProviderEndpointArgs:
2035
2035
 
2036
2036
  @property
2037
2037
  @pulumi.getter
2038
- def resourcesharing(self) -> Optional[pulumi.Input[str]]:
2038
+ def ressharing(self) -> Optional[pulumi.Input[str]]:
2039
2039
  """
2040
2040
  Use this to override the default endpoint URL constructed from the `region`. It's typically used to connect to custom resourcesharing endpoints.
2041
2041
  """
2042
- return pulumi.get(self, "resourcesharing")
2042
+ return pulumi.get(self, "ressharing")
2043
2043
 
2044
- @resourcesharing.setter
2045
- def resourcesharing(self, value: Optional[pulumi.Input[str]]):
2046
- pulumi.set(self, "resourcesharing", value)
2044
+ @ressharing.setter
2045
+ def ressharing(self, value: Optional[pulumi.Input[str]]):
2046
+ pulumi.set(self, "ressharing", value)
2047
2047
 
2048
2048
  @property
2049
2049
  @pulumi.getter
@@ -4,6 +4,7 @@
4
4
 
5
5
 
6
6
  import asyncio
7
+ import functools
7
8
  import importlib.metadata
8
9
  import importlib.util
9
10
  import inspect
@@ -11,6 +12,7 @@ import json
11
12
  import os
12
13
  import sys
13
14
  import typing
15
+ import warnings
14
16
 
15
17
  import pulumi
16
18
  import pulumi.runtime
@@ -19,6 +21,8 @@ from pulumi.runtime.sync_await import _sync_await
19
21
  from semver import VersionInfo as SemverVersion
20
22
  from parver import Version as PEP440Version
21
23
 
24
+ C = typing.TypeVar("C", bound=typing.Callable)
25
+
22
26
 
23
27
  def get_env(*args):
24
28
  for v in args:
@@ -287,5 +291,36 @@ async def _await_output(o: pulumi.Output[typing.Any]) -> typing.Tuple[object, bo
287
291
  await o._resources,
288
292
  )
289
293
 
294
+
295
+ # This is included to provide an upgrade path for users who are using a version
296
+ # of the Pulumi SDK (<3.121.0) that does not include the `deprecated` decorator.
297
+ def deprecated(message: str) -> typing.Callable[[C], C]:
298
+ """
299
+ Decorator to indicate a function is deprecated.
300
+
301
+ As well as inserting appropriate statements to indicate that the function is
302
+ deprecated, this decorator also tags the function with a special attribute
303
+ so that Pulumi code can detect that it is deprecated and react appropriately
304
+ in certain situations.
305
+
306
+ message is the deprecation message that should be printed if the function is called.
307
+ """
308
+
309
+ def decorator(fn: C) -> C:
310
+ if not callable(fn):
311
+ raise TypeError("Expected fn to be callable")
312
+
313
+ @functools.wraps(fn)
314
+ def deprecated_fn(*args, **kwargs):
315
+ warnings.warn(message)
316
+ pulumi.warn(f"{fn.__name__} is deprecated: {message}")
317
+
318
+ return fn(*args, **kwargs)
319
+
320
+ deprecated_fn.__dict__["_pulumi_deprecated_callable"] = fn
321
+ return typing.cast(C, deprecated_fn)
322
+
323
+ return decorator
324
+
290
325
  def get_plugin_download_url():
291
326
  return None
@@ -56,13 +56,11 @@ class GetTrailsResult:
56
56
 
57
57
  @property
58
58
  @pulumi.getter
59
+ @_utilities.deprecated("""Field 'actiontrails' has been deprecated from version 1.95.0. Use 'trails' instead.""")
59
60
  def actiontrails(self) -> Sequence['outputs.GetTrailsActiontrailResult']:
60
61
  """
61
62
  Field `actiontrails` has been deprecated from version 1.95.0. Use `trails` instead."
62
63
  """
63
- warnings.warn("""Field 'actiontrails' has been deprecated from version 1.95.0. Use 'trails' instead.""", DeprecationWarning)
64
- pulumi.log.warn("""actiontrails is deprecated: Field 'actiontrails' has been deprecated from version 1.95.0. Use 'trails' instead.""")
65
-
66
64
  return pulumi.get(self, "actiontrails")
67
65
 
68
66
  @property
@@ -58,13 +58,11 @@ class GetTrailsDeprecatedResult:
58
58
 
59
59
  @property
60
60
  @pulumi.getter
61
+ @_utilities.deprecated("""Field 'actiontrails' has been deprecated from version 1.95.0. Use 'trails' instead.""")
61
62
  def actiontrails(self) -> Sequence['outputs.GetTrailsDeprecatedActiontrailResult']:
62
63
  """
63
64
  A list of actiontrails. Each element contains the following attributes:
64
65
  """
65
- warnings.warn("""Field 'actiontrails' has been deprecated from version 1.95.0. Use 'trails' instead.""", DeprecationWarning)
66
- pulumi.log.warn("""actiontrails is deprecated: Field 'actiontrails' has been deprecated from version 1.95.0. Use 'trails' instead.""")
67
-
68
66
  return pulumi.get(self, "actiontrails")
69
67
 
70
68
  @property
@@ -105,13 +105,11 @@ class TrailArgs:
105
105
 
106
106
  @property
107
107
  @pulumi.getter(name="mnsTopicArn")
108
+ @_utilities.deprecated("""Field 'mns_topic_arn' has been deprecated from version 1.118.0""")
108
109
  def mns_topic_arn(self) -> Optional[pulumi.Input[str]]:
109
110
  """
110
111
  Field `mns_topic_arn` has been deprecated from version 1.118.0.
111
112
  """
112
- warnings.warn("""Field 'mns_topic_arn' has been deprecated from version 1.118.0""", DeprecationWarning)
113
- pulumi.log.warn("""mns_topic_arn is deprecated: Field 'mns_topic_arn' has been deprecated from version 1.118.0""")
114
-
115
113
  return pulumi.get(self, "mns_topic_arn")
116
114
 
117
115
  @mns_topic_arn.setter
@@ -120,13 +118,11 @@ class TrailArgs:
120
118
 
121
119
  @property
122
120
  @pulumi.getter
121
+ @_utilities.deprecated("""Field 'name' has been deprecated from version 1.95.0. Use 'trail_name' instead.""")
123
122
  def name(self) -> Optional[pulumi.Input[str]]:
124
123
  """
125
124
  Field `name` has been deprecated from version 1.95.0. Use `trail_name` instead.
126
125
  """
127
- warnings.warn("""Field 'name' has been deprecated from version 1.95.0. Use 'trail_name' instead.""", DeprecationWarning)
128
- pulumi.log.warn("""name is deprecated: Field 'name' has been deprecated from version 1.95.0. Use 'trail_name' instead.""")
129
-
130
126
  return pulumi.get(self, "name")
131
127
 
132
128
  @name.setter
@@ -171,13 +167,11 @@ class TrailArgs:
171
167
 
172
168
  @property
173
169
  @pulumi.getter(name="roleName")
170
+ @_utilities.deprecated("""Field 'role_name' has been deprecated from version 1.118.0""")
174
171
  def role_name(self) -> Optional[pulumi.Input[str]]:
175
172
  """
176
173
  Field `name` has been deprecated from version 1.118.0.
177
174
  """
178
- warnings.warn("""Field 'role_name' has been deprecated from version 1.118.0""", DeprecationWarning)
179
- pulumi.log.warn("""role_name is deprecated: Field 'role_name' has been deprecated from version 1.118.0""")
180
-
181
175
  return pulumi.get(self, "role_name")
182
176
 
183
177
  @role_name.setter
@@ -339,13 +333,11 @@ class _TrailState:
339
333
 
340
334
  @property
341
335
  @pulumi.getter(name="mnsTopicArn")
336
+ @_utilities.deprecated("""Field 'mns_topic_arn' has been deprecated from version 1.118.0""")
342
337
  def mns_topic_arn(self) -> Optional[pulumi.Input[str]]:
343
338
  """
344
339
  Field `mns_topic_arn` has been deprecated from version 1.118.0.
345
340
  """
346
- warnings.warn("""Field 'mns_topic_arn' has been deprecated from version 1.118.0""", DeprecationWarning)
347
- pulumi.log.warn("""mns_topic_arn is deprecated: Field 'mns_topic_arn' has been deprecated from version 1.118.0""")
348
-
349
341
  return pulumi.get(self, "mns_topic_arn")
350
342
 
351
343
  @mns_topic_arn.setter
@@ -354,13 +346,11 @@ class _TrailState:
354
346
 
355
347
  @property
356
348
  @pulumi.getter
349
+ @_utilities.deprecated("""Field 'name' has been deprecated from version 1.95.0. Use 'trail_name' instead.""")
357
350
  def name(self) -> Optional[pulumi.Input[str]]:
358
351
  """
359
352
  Field `name` has been deprecated from version 1.95.0. Use `trail_name` instead.
360
353
  """
361
- warnings.warn("""Field 'name' has been deprecated from version 1.95.0. Use 'trail_name' instead.""", DeprecationWarning)
362
- pulumi.log.warn("""name is deprecated: Field 'name' has been deprecated from version 1.95.0. Use 'trail_name' instead.""")
363
-
364
354
  return pulumi.get(self, "name")
365
355
 
366
356
  @name.setter
@@ -405,13 +395,11 @@ class _TrailState:
405
395
 
406
396
  @property
407
397
  @pulumi.getter(name="roleName")
398
+ @_utilities.deprecated("""Field 'role_name' has been deprecated from version 1.118.0""")
408
399
  def role_name(self) -> Optional[pulumi.Input[str]]:
409
400
  """
410
401
  Field `name` has been deprecated from version 1.118.0.
411
402
  """
412
- warnings.warn("""Field 'role_name' has been deprecated from version 1.118.0""", DeprecationWarning)
413
- pulumi.log.warn("""role_name is deprecated: Field 'role_name' has been deprecated from version 1.118.0""")
414
-
415
403
  return pulumi.get(self, "role_name")
416
404
 
417
405
  @role_name.setter
@@ -737,24 +725,20 @@ class Trail(pulumi.CustomResource):
737
725
 
738
726
  @property
739
727
  @pulumi.getter(name="mnsTopicArn")
728
+ @_utilities.deprecated("""Field 'mns_topic_arn' has been deprecated from version 1.118.0""")
740
729
  def mns_topic_arn(self) -> pulumi.Output[Optional[str]]:
741
730
  """
742
731
  Field `mns_topic_arn` has been deprecated from version 1.118.0.
743
732
  """
744
- warnings.warn("""Field 'mns_topic_arn' has been deprecated from version 1.118.0""", DeprecationWarning)
745
- pulumi.log.warn("""mns_topic_arn is deprecated: Field 'mns_topic_arn' has been deprecated from version 1.118.0""")
746
-
747
733
  return pulumi.get(self, "mns_topic_arn")
748
734
 
749
735
  @property
750
736
  @pulumi.getter
737
+ @_utilities.deprecated("""Field 'name' has been deprecated from version 1.95.0. Use 'trail_name' instead.""")
751
738
  def name(self) -> pulumi.Output[str]:
752
739
  """
753
740
  Field `name` has been deprecated from version 1.95.0. Use `trail_name` instead.
754
741
  """
755
- warnings.warn("""Field 'name' has been deprecated from version 1.95.0. Use 'trail_name' instead.""", DeprecationWarning)
756
- pulumi.log.warn("""name is deprecated: Field 'name' has been deprecated from version 1.95.0. Use 'trail_name' instead.""")
757
-
758
742
  return pulumi.get(self, "name")
759
743
 
760
744
  @property
@@ -783,13 +767,11 @@ class Trail(pulumi.CustomResource):
783
767
 
784
768
  @property
785
769
  @pulumi.getter(name="roleName")
770
+ @_utilities.deprecated("""Field 'role_name' has been deprecated from version 1.118.0""")
786
771
  def role_name(self) -> pulumi.Output[str]:
787
772
  """
788
773
  Field `name` has been deprecated from version 1.118.0.
789
774
  """
790
- warnings.warn("""Field 'role_name' has been deprecated from version 1.118.0""", DeprecationWarning)
791
- pulumi.log.warn("""role_name is deprecated: Field 'role_name' has been deprecated from version 1.118.0""")
792
-
793
775
  return pulumi.get(self, "role_name")
794
776
 
795
777
  @property
@@ -98,10 +98,8 @@ class TrailDeprecatedArgs:
98
98
 
99
99
  @property
100
100
  @pulumi.getter(name="mnsTopicArn")
101
+ @_utilities.deprecated("""Field 'mns_topic_arn' has been deprecated from version 1.118.0""")
101
102
  def mns_topic_arn(self) -> Optional[pulumi.Input[str]]:
102
- warnings.warn("""Field 'mns_topic_arn' has been deprecated from version 1.118.0""", DeprecationWarning)
103
- pulumi.log.warn("""mns_topic_arn is deprecated: Field 'mns_topic_arn' has been deprecated from version 1.118.0""")
104
-
105
103
  return pulumi.get(self, "mns_topic_arn")
106
104
 
107
105
  @mns_topic_arn.setter
@@ -110,13 +108,11 @@ class TrailDeprecatedArgs:
110
108
 
111
109
  @property
112
110
  @pulumi.getter
111
+ @_utilities.deprecated("""Field 'name' has been deprecated from version 1.95.0. Use 'trail_name' instead.""")
113
112
  def name(self) -> Optional[pulumi.Input[str]]:
114
113
  """
115
114
  The name of the trail to be created, which must be unique for an account.
116
115
  """
117
- warnings.warn("""Field 'name' has been deprecated from version 1.95.0. Use 'trail_name' instead.""", DeprecationWarning)
118
- pulumi.log.warn("""name is deprecated: Field 'name' has been deprecated from version 1.95.0. Use 'trail_name' instead.""")
119
-
120
116
  return pulumi.get(self, "name")
121
117
 
122
118
  @name.setter
@@ -158,13 +154,11 @@ class TrailDeprecatedArgs:
158
154
 
159
155
  @property
160
156
  @pulumi.getter(name="roleName")
157
+ @_utilities.deprecated("""Field 'role_name' has been deprecated from version 1.118.0""")
161
158
  def role_name(self) -> Optional[pulumi.Input[str]]:
162
159
  """
163
160
  The RAM role in ActionTrail permitted by the user.
164
161
  """
165
- warnings.warn("""Field 'role_name' has been deprecated from version 1.118.0""", DeprecationWarning)
166
- pulumi.log.warn("""role_name is deprecated: Field 'role_name' has been deprecated from version 1.118.0""")
167
-
168
162
  return pulumi.get(self, "role_name")
169
163
 
170
164
  @role_name.setter
@@ -312,10 +306,8 @@ class _TrailDeprecatedState:
312
306
 
313
307
  @property
314
308
  @pulumi.getter(name="mnsTopicArn")
309
+ @_utilities.deprecated("""Field 'mns_topic_arn' has been deprecated from version 1.118.0""")
315
310
  def mns_topic_arn(self) -> Optional[pulumi.Input[str]]:
316
- warnings.warn("""Field 'mns_topic_arn' has been deprecated from version 1.118.0""", DeprecationWarning)
317
- pulumi.log.warn("""mns_topic_arn is deprecated: Field 'mns_topic_arn' has been deprecated from version 1.118.0""")
318
-
319
311
  return pulumi.get(self, "mns_topic_arn")
320
312
 
321
313
  @mns_topic_arn.setter
@@ -324,13 +316,11 @@ class _TrailDeprecatedState:
324
316
 
325
317
  @property
326
318
  @pulumi.getter
319
+ @_utilities.deprecated("""Field 'name' has been deprecated from version 1.95.0. Use 'trail_name' instead.""")
327
320
  def name(self) -> Optional[pulumi.Input[str]]:
328
321
  """
329
322
  The name of the trail to be created, which must be unique for an account.
330
323
  """
331
- warnings.warn("""Field 'name' has been deprecated from version 1.95.0. Use 'trail_name' instead.""", DeprecationWarning)
332
- pulumi.log.warn("""name is deprecated: Field 'name' has been deprecated from version 1.95.0. Use 'trail_name' instead.""")
333
-
334
324
  return pulumi.get(self, "name")
335
325
 
336
326
  @name.setter
@@ -372,13 +362,11 @@ class _TrailDeprecatedState:
372
362
 
373
363
  @property
374
364
  @pulumi.getter(name="roleName")
365
+ @_utilities.deprecated("""Field 'role_name' has been deprecated from version 1.118.0""")
375
366
  def role_name(self) -> Optional[pulumi.Input[str]]:
376
367
  """
377
368
  The RAM role in ActionTrail permitted by the user.
378
369
  """
379
- warnings.warn("""Field 'role_name' has been deprecated from version 1.118.0""", DeprecationWarning)
380
- pulumi.log.warn("""role_name is deprecated: Field 'role_name' has been deprecated from version 1.118.0""")
381
-
382
370
  return pulumi.get(self, "role_name")
383
371
 
384
372
  @role_name.setter
@@ -666,21 +654,17 @@ class TrailDeprecated(pulumi.CustomResource):
666
654
 
667
655
  @property
668
656
  @pulumi.getter(name="mnsTopicArn")
657
+ @_utilities.deprecated("""Field 'mns_topic_arn' has been deprecated from version 1.118.0""")
669
658
  def mns_topic_arn(self) -> pulumi.Output[Optional[str]]:
670
- warnings.warn("""Field 'mns_topic_arn' has been deprecated from version 1.118.0""", DeprecationWarning)
671
- pulumi.log.warn("""mns_topic_arn is deprecated: Field 'mns_topic_arn' has been deprecated from version 1.118.0""")
672
-
673
659
  return pulumi.get(self, "mns_topic_arn")
674
660
 
675
661
  @property
676
662
  @pulumi.getter
663
+ @_utilities.deprecated("""Field 'name' has been deprecated from version 1.95.0. Use 'trail_name' instead.""")
677
664
  def name(self) -> pulumi.Output[str]:
678
665
  """
679
666
  The name of the trail to be created, which must be unique for an account.
680
667
  """
681
- warnings.warn("""Field 'name' has been deprecated from version 1.95.0. Use 'trail_name' instead.""", DeprecationWarning)
682
- pulumi.log.warn("""name is deprecated: Field 'name' has been deprecated from version 1.95.0. Use 'trail_name' instead.""")
683
-
684
668
  return pulumi.get(self, "name")
685
669
 
686
670
  @property
@@ -706,13 +690,11 @@ class TrailDeprecated(pulumi.CustomResource):
706
690
 
707
691
  @property
708
692
  @pulumi.getter(name="roleName")
693
+ @_utilities.deprecated("""Field 'role_name' has been deprecated from version 1.118.0""")
709
694
  def role_name(self) -> pulumi.Output[str]:
710
695
  """
711
696
  The RAM role in ActionTrail permitted by the user.
712
697
  """
713
- warnings.warn("""Field 'role_name' has been deprecated from version 1.118.0""", DeprecationWarning)
714
- pulumi.log.warn("""role_name is deprecated: Field 'role_name' has been deprecated from version 1.118.0""")
715
-
716
698
  return pulumi.get(self, "role_name")
717
699
 
718
700
  @property
@@ -167,10 +167,8 @@ class ClusterArgs:
167
167
 
168
168
  @property
169
169
  @pulumi.getter(name="dbClusterClass")
170
+ @_utilities.deprecated("""It duplicates with attribute db_node_class and is deprecated from 1.121.2.""")
170
171
  def db_cluster_class(self) -> Optional[pulumi.Input[str]]:
171
- warnings.warn("""It duplicates with attribute db_node_class and is deprecated from 1.121.2.""", DeprecationWarning)
172
- pulumi.log.warn("""db_cluster_class is deprecated: It duplicates with attribute db_node_class and is deprecated from 1.121.2.""")
173
-
174
172
  return pulumi.get(self, "db_cluster_class")
175
173
 
176
174
  @db_cluster_class.setter
@@ -305,13 +303,11 @@ class ClusterArgs:
305
303
 
306
304
  @property
307
305
  @pulumi.getter(name="payType")
306
+ @_utilities.deprecated("""Attribute 'pay_type' has been deprecated from the provider version 1.166.0 and it will be remove in the future version. Please use the new attribute 'payment_type' instead.""")
308
307
  def pay_type(self) -> Optional[pulumi.Input[str]]:
309
308
  """
310
309
  Field `pay_type` has been deprecated. New field `payment_type` instead.
311
310
  """
312
- warnings.warn("""Attribute 'pay_type' has been deprecated from the provider version 1.166.0 and it will be remove in the future version. Please use the new attribute 'payment_type' instead.""", DeprecationWarning)
313
- pulumi.log.warn("""pay_type is deprecated: Attribute 'pay_type' has been deprecated from the provider version 1.166.0 and it will be remove in the future version. Please use the new attribute 'payment_type' instead.""")
314
-
315
311
  return pulumi.get(self, "pay_type")
316
312
 
317
313
  @pay_type.setter
@@ -597,10 +593,8 @@ class _ClusterState:
597
593
 
598
594
  @property
599
595
  @pulumi.getter(name="dbClusterClass")
596
+ @_utilities.deprecated("""It duplicates with attribute db_node_class and is deprecated from 1.121.2.""")
600
597
  def db_cluster_class(self) -> Optional[pulumi.Input[str]]:
601
- warnings.warn("""It duplicates with attribute db_node_class and is deprecated from 1.121.2.""", DeprecationWarning)
602
- pulumi.log.warn("""db_cluster_class is deprecated: It duplicates with attribute db_node_class and is deprecated from 1.121.2.""")
603
-
604
598
  return pulumi.get(self, "db_cluster_class")
605
599
 
606
600
  @db_cluster_class.setter
@@ -744,13 +738,11 @@ class _ClusterState:
744
738
 
745
739
  @property
746
740
  @pulumi.getter(name="payType")
741
+ @_utilities.deprecated("""Attribute 'pay_type' has been deprecated from the provider version 1.166.0 and it will be remove in the future version. Please use the new attribute 'payment_type' instead.""")
747
742
  def pay_type(self) -> Optional[pulumi.Input[str]]:
748
743
  """
749
744
  Field `pay_type` has been deprecated. New field `payment_type` instead.
750
745
  """
751
- warnings.warn("""Attribute 'pay_type' has been deprecated from the provider version 1.166.0 and it will be remove in the future version. Please use the new attribute 'payment_type' instead.""", DeprecationWarning)
752
- pulumi.log.warn("""pay_type is deprecated: Attribute 'pay_type' has been deprecated from the provider version 1.166.0 and it will be remove in the future version. Please use the new attribute 'payment_type' instead.""")
753
-
754
746
  return pulumi.get(self, "pay_type")
755
747
 
756
748
  @pay_type.setter
@@ -1273,10 +1265,8 @@ class Cluster(pulumi.CustomResource):
1273
1265
 
1274
1266
  @property
1275
1267
  @pulumi.getter(name="dbClusterClass")
1268
+ @_utilities.deprecated("""It duplicates with attribute db_node_class and is deprecated from 1.121.2.""")
1276
1269
  def db_cluster_class(self) -> pulumi.Output[Optional[str]]:
1277
- warnings.warn("""It duplicates with attribute db_node_class and is deprecated from 1.121.2.""", DeprecationWarning)
1278
- pulumi.log.warn("""db_cluster_class is deprecated: It duplicates with attribute db_node_class and is deprecated from 1.121.2.""")
1279
-
1280
1270
  return pulumi.get(self, "db_cluster_class")
1281
1271
 
1282
1272
  @property
@@ -1364,13 +1354,11 @@ class Cluster(pulumi.CustomResource):
1364
1354
 
1365
1355
  @property
1366
1356
  @pulumi.getter(name="payType")
1357
+ @_utilities.deprecated("""Attribute 'pay_type' has been deprecated from the provider version 1.166.0 and it will be remove in the future version. Please use the new attribute 'payment_type' instead.""")
1367
1358
  def pay_type(self) -> pulumi.Output[str]:
1368
1359
  """
1369
1360
  Field `pay_type` has been deprecated. New field `payment_type` instead.
1370
1361
  """
1371
- warnings.warn("""Attribute 'pay_type' has been deprecated from the provider version 1.166.0 and it will be remove in the future version. Please use the new attribute 'payment_type' instead.""", DeprecationWarning)
1372
- pulumi.log.warn("""pay_type is deprecated: Attribute 'pay_type' has been deprecated from the provider version 1.166.0 and it will be remove in the future version. Please use the new attribute 'payment_type' instead.""")
1373
-
1374
1362
  return pulumi.get(self, "pay_type")
1375
1363
 
1376
1364
  @property
@@ -187,13 +187,11 @@ class DBClusterArgs:
187
187
 
188
188
  @property
189
189
  @pulumi.getter(name="dbClusterClass")
190
+ @_utilities.deprecated("""It duplicates with attribute db_node_class and is deprecated from 1.121.2.""")
190
191
  def db_cluster_class(self) -> Optional[pulumi.Input[str]]:
191
192
  """
192
193
  It duplicates with attribute db_node_class and is deprecated from 1.121.2.
193
194
  """
194
- warnings.warn("""It duplicates with attribute db_node_class and is deprecated from 1.121.2.""", DeprecationWarning)
195
- pulumi.log.warn("""db_cluster_class is deprecated: It duplicates with attribute db_node_class and is deprecated from 1.121.2.""")
196
-
197
195
  return pulumi.get(self, "db_cluster_class")
198
196
 
199
197
  @db_cluster_class.setter
@@ -348,13 +346,11 @@ class DBClusterArgs:
348
346
 
349
347
  @property
350
348
  @pulumi.getter(name="payType")
349
+ @_utilities.deprecated("""Attribute 'pay_type' has been deprecated from the provider version 1.166.0 and it will be remove in the future version. Please use the new attribute 'payment_type' instead.""")
351
350
  def pay_type(self) -> Optional[pulumi.Input[str]]:
352
351
  """
353
352
  Field `pay_type` has been deprecated. New field `payment_type` instead.
354
353
  """
355
- warnings.warn("""Attribute 'pay_type' has been deprecated from the provider version 1.166.0 and it will be remove in the future version. Please use the new attribute 'payment_type' instead.""", DeprecationWarning)
356
- pulumi.log.warn("""pay_type is deprecated: Attribute 'pay_type' has been deprecated from the provider version 1.166.0 and it will be remove in the future version. Please use the new attribute 'payment_type' instead.""")
357
-
358
354
  return pulumi.get(self, "pay_type")
359
355
 
360
356
  @pay_type.setter
@@ -665,13 +661,11 @@ class _DBClusterState:
665
661
 
666
662
  @property
667
663
  @pulumi.getter(name="dbClusterClass")
664
+ @_utilities.deprecated("""It duplicates with attribute db_node_class and is deprecated from 1.121.2.""")
668
665
  def db_cluster_class(self) -> Optional[pulumi.Input[str]]:
669
666
  """
670
667
  It duplicates with attribute db_node_class and is deprecated from 1.121.2.
671
668
  """
672
- warnings.warn("""It duplicates with attribute db_node_class and is deprecated from 1.121.2.""", DeprecationWarning)
673
- pulumi.log.warn("""db_cluster_class is deprecated: It duplicates with attribute db_node_class and is deprecated from 1.121.2.""")
674
-
675
669
  return pulumi.get(self, "db_cluster_class")
676
670
 
677
671
  @db_cluster_class.setter
@@ -838,13 +832,11 @@ class _DBClusterState:
838
832
 
839
833
  @property
840
834
  @pulumi.getter(name="payType")
835
+ @_utilities.deprecated("""Attribute 'pay_type' has been deprecated from the provider version 1.166.0 and it will be remove in the future version. Please use the new attribute 'payment_type' instead.""")
841
836
  def pay_type(self) -> Optional[pulumi.Input[str]]:
842
837
  """
843
838
  Field `pay_type` has been deprecated. New field `payment_type` instead.
844
839
  """
845
- warnings.warn("""Attribute 'pay_type' has been deprecated from the provider version 1.166.0 and it will be remove in the future version. Please use the new attribute 'payment_type' instead.""", DeprecationWarning)
846
- pulumi.log.warn("""pay_type is deprecated: Attribute 'pay_type' has been deprecated from the provider version 1.166.0 and it will be remove in the future version. Please use the new attribute 'payment_type' instead.""")
847
-
848
840
  return pulumi.get(self, "pay_type")
849
841
 
850
842
  @pay_type.setter
@@ -1323,13 +1315,11 @@ class DBCluster(pulumi.CustomResource):
1323
1315
 
1324
1316
  @property
1325
1317
  @pulumi.getter(name="dbClusterClass")
1318
+ @_utilities.deprecated("""It duplicates with attribute db_node_class and is deprecated from 1.121.2.""")
1326
1319
  def db_cluster_class(self) -> pulumi.Output[Optional[str]]:
1327
1320
  """
1328
1321
  It duplicates with attribute db_node_class and is deprecated from 1.121.2.
1329
1322
  """
1330
- warnings.warn("""It duplicates with attribute db_node_class and is deprecated from 1.121.2.""", DeprecationWarning)
1331
- pulumi.log.warn("""db_cluster_class is deprecated: It duplicates with attribute db_node_class and is deprecated from 1.121.2.""")
1332
-
1333
1323
  return pulumi.get(self, "db_cluster_class")
1334
1324
 
1335
1325
  @property
@@ -1440,13 +1430,11 @@ class DBCluster(pulumi.CustomResource):
1440
1430
 
1441
1431
  @property
1442
1432
  @pulumi.getter(name="payType")
1433
+ @_utilities.deprecated("""Attribute 'pay_type' has been deprecated from the provider version 1.166.0 and it will be remove in the future version. Please use the new attribute 'payment_type' instead.""")
1443
1434
  def pay_type(self) -> pulumi.Output[str]:
1444
1435
  """
1445
1436
  Field `pay_type` has been deprecated. New field `payment_type` instead.
1446
1437
  """
1447
- warnings.warn("""Attribute 'pay_type' has been deprecated from the provider version 1.166.0 and it will be remove in the future version. Please use the new attribute 'payment_type' instead.""", DeprecationWarning)
1448
- pulumi.log.warn("""pay_type is deprecated: Attribute 'pay_type' has been deprecated from the provider version 1.166.0 and it will be remove in the future version. Please use the new attribute 'payment_type' instead.""")
1449
-
1450
1438
  return pulumi.get(self, "pay_type")
1451
1439
 
1452
1440
  @property