pulumi-alicloud 3.58.0__py3-none-any.whl → 3.58.0a1718943944__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 (185) hide show
  1. pulumi_alicloud/__init__.py +0 -24
  2. pulumi_alicloud/_inputs.py +9 -9
  3. pulumi_alicloud/_utilities.py +0 -35
  4. pulumi_alicloud/actiontrail/get_trails.py +3 -1
  5. pulumi_alicloud/actiontrail/get_trails_deprecated.py +3 -1
  6. pulumi_alicloud/actiontrail/trail.py +27 -9
  7. pulumi_alicloud/actiontrail/trail_deprecated.py +27 -9
  8. pulumi_alicloud/adb/cluster.py +18 -6
  9. pulumi_alicloud/adb/db_cluster.py +18 -6
  10. pulumi_alicloud/alb/__init__.py +0 -1
  11. pulumi_alicloud/alb/acl.py +9 -3
  12. pulumi_alicloud/alb/get_load_balancers.py +3 -1
  13. pulumi_alicloud/alb/listener.py +9 -3
  14. pulumi_alicloud/alb/outputs.py +3 -1
  15. pulumi_alicloud/alikafka/instance.py +9 -3
  16. pulumi_alicloud/cas/certificate.py +9 -3
  17. pulumi_alicloud/cas/outputs.py +6 -2
  18. pulumi_alicloud/cas/service_certificate.py +9 -3
  19. pulumi_alicloud/cddc/dedicated_host_account.py +0 -4
  20. pulumi_alicloud/cddc/dedicated_host_group.py +0 -4
  21. pulumi_alicloud/cdn/domain.py +135 -45
  22. pulumi_alicloud/cen/__init__.py +0 -1
  23. pulumi_alicloud/cen/bandwidth_package.py +27 -9
  24. pulumi_alicloud/cen/instance.py +9 -3
  25. pulumi_alicloud/cen/transit_router_vpc_attachment.py +18 -6
  26. pulumi_alicloud/cfg/aggregate_compliance_pack.py +9 -3
  27. pulumi_alicloud/cfg/compliance_pack.py +9 -3
  28. pulumi_alicloud/cfg/get_rules.py +3 -1
  29. pulumi_alicloud/cfg/rule.py +27 -9
  30. pulumi_alicloud/clickhouse/account.py +18 -6
  31. pulumi_alicloud/cloudfirewall/instance.py +9 -3
  32. pulumi_alicloud/cloudstoragegateway/gateway.py +69 -69
  33. pulumi_alicloud/cms/alarm.py +27 -9
  34. pulumi_alicloud/config/outputs.py +6 -6
  35. pulumi_alicloud/cs/_inputs.py +6 -2
  36. pulumi_alicloud/cs/cluster.py +9 -3
  37. pulumi_alicloud/cs/edge_kubernetes.py +18 -6
  38. pulumi_alicloud/cs/kubernetes.py +9 -3
  39. pulumi_alicloud/cs/kubernetes_addon.py +2 -2
  40. pulumi_alicloud/cs/node_pool.py +52 -22
  41. pulumi_alicloud/cs/outputs.py +6 -2
  42. pulumi_alicloud/cs/serverless_kubernetes.py +27 -9
  43. pulumi_alicloud/cs/swarm.py +9 -3
  44. pulumi_alicloud/databasefilesystem/instance.py +18 -6
  45. pulumi_alicloud/ddos/__init__.py +0 -1
  46. pulumi_alicloud/ddos/_inputs.py +0 -712
  47. pulumi_alicloud/ddos/bgp_ip.py +2 -53
  48. pulumi_alicloud/ddos/outputs.py +0 -666
  49. pulumi_alicloud/dms/enterprise_instance.py +15 -5
  50. pulumi_alicloud/dms/enterprise_user.py +9 -3
  51. pulumi_alicloud/dns/domain_group.py +9 -3
  52. pulumi_alicloud/drds/get_instances.py +3 -1
  53. pulumi_alicloud/eci/_inputs.py +0 -12
  54. pulumi_alicloud/eci/outputs.py +0 -8
  55. pulumi_alicloud/ecs/copy_image.py +9 -3
  56. pulumi_alicloud/ecs/disk.py +18 -6
  57. pulumi_alicloud/ecs/ecs_disk.py +25 -13
  58. pulumi_alicloud/ecs/ecs_key_pair.py +9 -3
  59. pulumi_alicloud/ecs/ecs_key_pair_attachment.py +9 -3
  60. pulumi_alicloud/ecs/ecs_launch_template.py +55 -160
  61. pulumi_alicloud/ecs/ecs_network_interface.py +45 -15
  62. pulumi_alicloud/ecs/ecs_snapshot.py +9 -3
  63. pulumi_alicloud/ecs/eip.py +19 -7
  64. pulumi_alicloud/ecs/eip_address.py +317 -501
  65. pulumi_alicloud/ecs/eip_association.py +58 -205
  66. pulumi_alicloud/ecs/eip_segment_address.py +133 -311
  67. pulumi_alicloud/ecs/get_disks.py +6 -2
  68. pulumi_alicloud/ecs/get_ecs_disks.py +6 -2
  69. pulumi_alicloud/ecs/get_ecs_key_pairs.py +3 -1
  70. pulumi_alicloud/ecs/get_ecs_network_interfaces.py +6 -2
  71. pulumi_alicloud/ecs/get_eip_addresses.py +6 -2
  72. pulumi_alicloud/ecs/get_eips.py +6 -2
  73. pulumi_alicloud/ecs/get_key_pairs.py +3 -1
  74. pulumi_alicloud/ecs/get_network_interfaces.py +6 -2
  75. pulumi_alicloud/ecs/image.py +9 -3
  76. pulumi_alicloud/ecs/image_copy.py +9 -3
  77. pulumi_alicloud/ecs/instance.py +24 -26
  78. pulumi_alicloud/ecs/key_pair.py +9 -3
  79. pulumi_alicloud/ecs/key_pair_attachment.py +9 -3
  80. pulumi_alicloud/ecs/launch_template.py +55 -121
  81. pulumi_alicloud/ecs/reserved_instance.py +9 -3
  82. pulumi_alicloud/ecs/security_group.py +9 -3
  83. pulumi_alicloud/ecs/snapshot.py +9 -3
  84. pulumi_alicloud/edas/k8s_application.py +36 -12
  85. pulumi_alicloud/eds/outputs.py +6 -2
  86. pulumi_alicloud/eds/simple_office_site.py +18 -6
  87. pulumi_alicloud/ess/_inputs.py +3 -89
  88. pulumi_alicloud/ess/alarm.py +38 -132
  89. pulumi_alicloud/ess/outputs.py +3 -88
  90. pulumi_alicloud/ess/scaling_configuration.py +18 -6
  91. pulumi_alicloud/ess/scaling_group.py +16 -151
  92. pulumi_alicloud/ga/accelerator.py +0 -47
  93. pulumi_alicloud/ga/acl.py +9 -50
  94. pulumi_alicloud/ga/bandwidth_package.py +12 -57
  95. pulumi_alicloud/ga/basic_accelerator.py +8 -55
  96. pulumi_alicloud/gpdb/instance.py +45 -15
  97. pulumi_alicloud/hbr/ecs_backup_plan.py +9 -3
  98. pulumi_alicloud/hbr/nas_backup_plan.py +9 -3
  99. pulumi_alicloud/hbr/ots_backup_plan.py +9 -3
  100. pulumi_alicloud/kms/key.py +27 -9
  101. pulumi_alicloud/kvstore/_inputs.py +6 -2
  102. pulumi_alicloud/kvstore/get_instance_classes.py +9 -3
  103. pulumi_alicloud/kvstore/instance.py +69 -124
  104. pulumi_alicloud/kvstore/outputs.py +6 -2
  105. pulumi_alicloud/lindorm/instance.py +9 -3
  106. pulumi_alicloud/log/_inputs.py +3 -1
  107. pulumi_alicloud/log/alert.py +63 -21
  108. pulumi_alicloud/log/oss_shipper.py +0 -4
  109. pulumi_alicloud/log/outputs.py +3 -1
  110. pulumi_alicloud/log/project.py +9 -3
  111. pulumi_alicloud/log/store.py +18 -6
  112. pulumi_alicloud/mongodb/sharding_instance.py +7 -54
  113. pulumi_alicloud/nas/access_group.py +18 -6
  114. pulumi_alicloud/nas/get_access_groups.py +3 -1
  115. pulumi_alicloud/nas/get_mount_targets.py +6 -2
  116. pulumi_alicloud/nlb/server_group.py +9 -3
  117. pulumi_alicloud/oss/bucket.py +18 -6
  118. pulumi_alicloud/oss/bucket_policy.py +2 -2
  119. pulumi_alicloud/oss/bucket_referer.py +2 -2
  120. pulumi_alicloud/provider.py +24 -8
  121. pulumi_alicloud/pulumi-plugin.json +1 -1
  122. pulumi_alicloud/pvtz/zone.py +9 -3
  123. pulumi_alicloud/pvtz/zone_record.py +9 -3
  124. pulumi_alicloud/ram/policy.py +36 -12
  125. pulumi_alicloud/ram/role.py +27 -9
  126. pulumi_alicloud/rds/account.py +45 -15
  127. pulumi_alicloud/rds/backup_policy.py +45 -15
  128. pulumi_alicloud/rds/get_zones.py +3 -1
  129. pulumi_alicloud/rds/instance.py +18 -27
  130. pulumi_alicloud/rds/rds_account.py +45 -15
  131. pulumi_alicloud/resourcemanager/policy.py +9 -3
  132. pulumi_alicloud/resourcemanager/policy_version.py +9 -3
  133. pulumi_alicloud/resourcemanager/resource_group.py +9 -3
  134. pulumi_alicloud/rocketmq/group.py +9 -3
  135. pulumi_alicloud/rocketmq/instance.py +9 -3
  136. pulumi_alicloud/rocketmq/topic.py +18 -6
  137. pulumi_alicloud/sae/application.py +90 -30
  138. pulumi_alicloud/scdn/domain.py +9 -3
  139. pulumi_alicloud/servicecatalog/get_launch_options.py +3 -1
  140. pulumi_alicloud/servicecatalog/get_product_versions.py +3 -1
  141. pulumi_alicloud/servicecatalog/get_provisioned_products.py +3 -1
  142. pulumi_alicloud/slb/acl.py +9 -3
  143. pulumi_alicloud/slb/application_load_balancer.py +18 -6
  144. pulumi_alicloud/slb/ca_certificate.py +9 -3
  145. pulumi_alicloud/slb/get_application_load_balancers.py +3 -1
  146. pulumi_alicloud/slb/get_load_balancers.py +3 -1
  147. pulumi_alicloud/slb/get_zones.py +3 -1
  148. pulumi_alicloud/slb/listener.py +27 -9
  149. pulumi_alicloud/slb/load_balancer.py +18 -6
  150. pulumi_alicloud/slb/outputs.py +3 -1
  151. pulumi_alicloud/slb/server_certificate.py +18 -6
  152. pulumi_alicloud/slb/server_group.py +9 -3
  153. pulumi_alicloud/threatdetection/instance.py +9 -3
  154. pulumi_alicloud/vpc/common_bandwith_package.py +129 -200
  155. pulumi_alicloud/vpc/common_bandwith_package_attachment.py +30 -58
  156. pulumi_alicloud/vpc/dhcp_options_set.py +9 -3
  157. pulumi_alicloud/vpc/forward_entry.py +9 -3
  158. pulumi_alicloud/vpc/ha_vip.py +9 -3
  159. pulumi_alicloud/vpc/ha_vip_attachment.py +9 -3
  160. pulumi_alicloud/vpc/ha_vipv2.py +9 -3
  161. pulumi_alicloud/vpc/ipv6_gateway.py +9 -3
  162. pulumi_alicloud/vpc/network.py +24 -8
  163. pulumi_alicloud/vpc/network_acl.py +9 -3
  164. pulumi_alicloud/vpc/network_interface.py +45 -15
  165. pulumi_alicloud/vpc/route_entry.py +9 -3
  166. pulumi_alicloud/vpc/route_table.py +9 -3
  167. pulumi_alicloud/vpc/router_interface.py +39 -13
  168. pulumi_alicloud/vpc/router_interface_connection.py +2 -2
  169. pulumi_alicloud/vpc/subnet.py +18 -6
  170. pulumi_alicloud/vpc/switch.py +18 -6
  171. pulumi_alicloud/vpc/traffic_mirror_filter_egress_rule.py +9 -3
  172. pulumi_alicloud/vpc/traffic_mirror_filter_ingress_rule.py +9 -3
  173. pulumi_alicloud/vpn/connection.py +9 -3
  174. pulumi_alicloud/vpn/customer_gateway.py +9 -3
  175. pulumi_alicloud/vpn/gateway.py +18 -6
  176. pulumi_alicloud/vpn/get_gateway_vpn_attachments.py +3 -1
  177. pulumi_alicloud/vpn/get_gateways.py +3 -1
  178. pulumi_alicloud/waf/domain.py +9 -3
  179. {pulumi_alicloud-3.58.0.dist-info → pulumi_alicloud-3.58.0a1718943944.dist-info}/METADATA +1 -1
  180. {pulumi_alicloud-3.58.0.dist-info → pulumi_alicloud-3.58.0a1718943944.dist-info}/RECORD +182 -185
  181. {pulumi_alicloud-3.58.0.dist-info → pulumi_alicloud-3.58.0a1718943944.dist-info}/WHEEL +1 -1
  182. pulumi_alicloud/alb/load_balancer_security_group_attachment.py +0 -327
  183. pulumi_alicloud/cen/transit_router_ecr_attachment.py +0 -584
  184. pulumi_alicloud/ddos/bgp_policy.py +0 -343
  185. {pulumi_alicloud-3.58.0.dist-info → pulumi_alicloud-3.58.0a1718943944.dist-info}/top_level.txt +0 -0
@@ -121,12 +121,14 @@ class SnapshotArgs:
121
121
 
122
122
  @property
123
123
  @pulumi.getter
124
- @_utilities.deprecated("""Field 'name' has been deprecated from provider version 1.120.0. New field 'snapshot_name' instead.""")
125
124
  def name(self) -> Optional[pulumi.Input[str]]:
126
125
  """
127
126
  The name of the snapshot to be created. The name must be 2 to 128 characters in length. It must start with a letter and cannot start with http:// or https://. It can contain letters, digits, colons (:), underscores (_), and hyphens (-).
128
127
  It cannot start with auto, because snapshot names starting with auto are recognized as automatic snapshots.
129
128
  """
129
+ warnings.warn("""Field 'name' has been deprecated from provider version 1.120.0. New field 'snapshot_name' instead.""", DeprecationWarning)
130
+ pulumi.log.warn("""name is deprecated: Field 'name' has been deprecated from provider version 1.120.0. New field 'snapshot_name' instead.""")
131
+
130
132
  return pulumi.get(self, "name")
131
133
 
132
134
  @name.setter
@@ -290,12 +292,14 @@ class _SnapshotState:
290
292
 
291
293
  @property
292
294
  @pulumi.getter
293
- @_utilities.deprecated("""Field 'name' has been deprecated from provider version 1.120.0. New field 'snapshot_name' instead.""")
294
295
  def name(self) -> Optional[pulumi.Input[str]]:
295
296
  """
296
297
  The name of the snapshot to be created. The name must be 2 to 128 characters in length. It must start with a letter and cannot start with http:// or https://. It can contain letters, digits, colons (:), underscores (_), and hyphens (-).
297
298
  It cannot start with auto, because snapshot names starting with auto are recognized as automatic snapshots.
298
299
  """
300
+ warnings.warn("""Field 'name' has been deprecated from provider version 1.120.0. New field 'snapshot_name' instead.""", DeprecationWarning)
301
+ pulumi.log.warn("""name is deprecated: Field 'name' has been deprecated from provider version 1.120.0. New field 'snapshot_name' instead.""")
302
+
299
303
  return pulumi.get(self, "name")
300
304
 
301
305
  @name.setter
@@ -587,12 +591,14 @@ class Snapshot(pulumi.CustomResource):
587
591
 
588
592
  @property
589
593
  @pulumi.getter
590
- @_utilities.deprecated("""Field 'name' has been deprecated from provider version 1.120.0. New field 'snapshot_name' instead.""")
591
594
  def name(self) -> pulumi.Output[str]:
592
595
  """
593
596
  The name of the snapshot to be created. The name must be 2 to 128 characters in length. It must start with a letter and cannot start with http:// or https://. It can contain letters, digits, colons (:), underscores (_), and hyphens (-).
594
597
  It cannot start with auto, because snapshot names starting with auto are recognized as automatic snapshots.
595
598
  """
599
+ warnings.warn("""Field 'name' has been deprecated from provider version 1.120.0. New field 'snapshot_name' instead.""", DeprecationWarning)
600
+ pulumi.log.warn("""name is deprecated: Field 'name' has been deprecated from provider version 1.120.0. New field 'snapshot_name' instead.""")
601
+
596
602
  return pulumi.get(self, "name")
597
603
 
598
604
  @property
@@ -252,12 +252,14 @@ class K8sApplicationArgs:
252
252
 
253
253
  @property
254
254
  @pulumi.getter(name="internetSlbId")
255
- @_utilities.deprecated("""Field 'internet_slb_id' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it""")
256
255
  def internet_slb_id(self) -> Optional[pulumi.Input[str]]:
257
256
  """
258
257
  Public network SLB ID. If not configured, EDAS will automatically purchase a new SLB for the user.
259
258
  It has been deprecated, and new resource 'alicloud_edas_k8s_slb_attachment' replaces it.
260
259
  """
260
+ warnings.warn("""Field 'internet_slb_id' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it""", DeprecationWarning)
261
+ pulumi.log.warn("""internet_slb_id is deprecated: Field 'internet_slb_id' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it""")
262
+
261
263
  return pulumi.get(self, "internet_slb_id")
262
264
 
263
265
  @internet_slb_id.setter
@@ -266,11 +268,13 @@ class K8sApplicationArgs:
266
268
 
267
269
  @property
268
270
  @pulumi.getter(name="internetSlbPort")
269
- @_utilities.deprecated("""Field 'internet_slb_port' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it""")
270
271
  def internet_slb_port(self) -> Optional[pulumi.Input[int]]:
271
272
  """
272
273
  The public network SLB front-end port, range 1~65535. It has been deprecated and new resource 'alicloud_edas_k8s_slb_attachment' replaces it.
273
274
  """
275
+ warnings.warn("""Field 'internet_slb_port' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it""", DeprecationWarning)
276
+ pulumi.log.warn("""internet_slb_port is deprecated: Field 'internet_slb_port' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it""")
277
+
274
278
  return pulumi.get(self, "internet_slb_port")
275
279
 
276
280
  @internet_slb_port.setter
@@ -279,11 +283,13 @@ class K8sApplicationArgs:
279
283
 
280
284
  @property
281
285
  @pulumi.getter(name="internetSlbProtocol")
282
- @_utilities.deprecated("""Field 'internet_slb_protocol' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it""")
283
286
  def internet_slb_protocol(self) -> Optional[pulumi.Input[str]]:
284
287
  """
285
288
  The public network SLB protocol supports TCP, HTTP and HTTPS protocols. It has been deprecated, and new resource 'alicloud_edas_k8s_slb_attachment' replaces it.
286
289
  """
290
+ warnings.warn("""Field 'internet_slb_protocol' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it""", DeprecationWarning)
291
+ pulumi.log.warn("""internet_slb_protocol is deprecated: Field 'internet_slb_protocol' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it""")
292
+
287
293
  return pulumi.get(self, "internet_slb_protocol")
288
294
 
289
295
  @internet_slb_protocol.setter
@@ -292,12 +298,14 @@ class K8sApplicationArgs:
292
298
 
293
299
  @property
294
300
  @pulumi.getter(name="internetTargetPort")
295
- @_utilities.deprecated("""Field 'internet_target_port' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it""")
296
301
  def internet_target_port(self) -> Optional[pulumi.Input[int]]:
297
302
  """
298
303
  The private SLB back-end port, is also the service port of the application, ranging from 1 to 65535.
299
304
  It has been deprecated, and new resource 'alicloud_edas_k8s_slb_attachment' replaces it.
300
305
  """
306
+ warnings.warn("""Field 'internet_target_port' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it""", DeprecationWarning)
307
+ pulumi.log.warn("""internet_target_port is deprecated: Field 'internet_target_port' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it""")
308
+
301
309
  return pulumi.get(self, "internet_target_port")
302
310
 
303
311
  @internet_target_port.setter
@@ -776,12 +784,14 @@ class _K8sApplicationState:
776
784
 
777
785
  @property
778
786
  @pulumi.getter(name="internetSlbId")
779
- @_utilities.deprecated("""Field 'internet_slb_id' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it""")
780
787
  def internet_slb_id(self) -> Optional[pulumi.Input[str]]:
781
788
  """
782
789
  Public network SLB ID. If not configured, EDAS will automatically purchase a new SLB for the user.
783
790
  It has been deprecated, and new resource 'alicloud_edas_k8s_slb_attachment' replaces it.
784
791
  """
792
+ warnings.warn("""Field 'internet_slb_id' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it""", DeprecationWarning)
793
+ pulumi.log.warn("""internet_slb_id is deprecated: Field 'internet_slb_id' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it""")
794
+
785
795
  return pulumi.get(self, "internet_slb_id")
786
796
 
787
797
  @internet_slb_id.setter
@@ -790,11 +800,13 @@ class _K8sApplicationState:
790
800
 
791
801
  @property
792
802
  @pulumi.getter(name="internetSlbPort")
793
- @_utilities.deprecated("""Field 'internet_slb_port' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it""")
794
803
  def internet_slb_port(self) -> Optional[pulumi.Input[int]]:
795
804
  """
796
805
  The public network SLB front-end port, range 1~65535. It has been deprecated and new resource 'alicloud_edas_k8s_slb_attachment' replaces it.
797
806
  """
807
+ warnings.warn("""Field 'internet_slb_port' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it""", DeprecationWarning)
808
+ pulumi.log.warn("""internet_slb_port is deprecated: Field 'internet_slb_port' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it""")
809
+
798
810
  return pulumi.get(self, "internet_slb_port")
799
811
 
800
812
  @internet_slb_port.setter
@@ -803,11 +815,13 @@ class _K8sApplicationState:
803
815
 
804
816
  @property
805
817
  @pulumi.getter(name="internetSlbProtocol")
806
- @_utilities.deprecated("""Field 'internet_slb_protocol' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it""")
807
818
  def internet_slb_protocol(self) -> Optional[pulumi.Input[str]]:
808
819
  """
809
820
  The public network SLB protocol supports TCP, HTTP and HTTPS protocols. It has been deprecated, and new resource 'alicloud_edas_k8s_slb_attachment' replaces it.
810
821
  """
822
+ warnings.warn("""Field 'internet_slb_protocol' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it""", DeprecationWarning)
823
+ pulumi.log.warn("""internet_slb_protocol is deprecated: Field 'internet_slb_protocol' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it""")
824
+
811
825
  return pulumi.get(self, "internet_slb_protocol")
812
826
 
813
827
  @internet_slb_protocol.setter
@@ -816,12 +830,14 @@ class _K8sApplicationState:
816
830
 
817
831
  @property
818
832
  @pulumi.getter(name="internetTargetPort")
819
- @_utilities.deprecated("""Field 'internet_target_port' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it""")
820
833
  def internet_target_port(self) -> Optional[pulumi.Input[int]]:
821
834
  """
822
835
  The private SLB back-end port, is also the service port of the application, ranging from 1 to 65535.
823
836
  It has been deprecated, and new resource 'alicloud_edas_k8s_slb_attachment' replaces it.
824
837
  """
838
+ warnings.warn("""Field 'internet_target_port' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it""", DeprecationWarning)
839
+ pulumi.log.warn("""internet_target_port is deprecated: Field 'internet_target_port' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it""")
840
+
825
841
  return pulumi.get(self, "internet_target_port")
826
842
 
827
843
  @internet_target_port.setter
@@ -1437,40 +1453,48 @@ class K8sApplication(pulumi.CustomResource):
1437
1453
 
1438
1454
  @property
1439
1455
  @pulumi.getter(name="internetSlbId")
1440
- @_utilities.deprecated("""Field 'internet_slb_id' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it""")
1441
1456
  def internet_slb_id(self) -> pulumi.Output[Optional[str]]:
1442
1457
  """
1443
1458
  Public network SLB ID. If not configured, EDAS will automatically purchase a new SLB for the user.
1444
1459
  It has been deprecated, and new resource 'alicloud_edas_k8s_slb_attachment' replaces it.
1445
1460
  """
1461
+ warnings.warn("""Field 'internet_slb_id' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it""", DeprecationWarning)
1462
+ pulumi.log.warn("""internet_slb_id is deprecated: Field 'internet_slb_id' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it""")
1463
+
1446
1464
  return pulumi.get(self, "internet_slb_id")
1447
1465
 
1448
1466
  @property
1449
1467
  @pulumi.getter(name="internetSlbPort")
1450
- @_utilities.deprecated("""Field 'internet_slb_port' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it""")
1451
1468
  def internet_slb_port(self) -> pulumi.Output[Optional[int]]:
1452
1469
  """
1453
1470
  The public network SLB front-end port, range 1~65535. It has been deprecated and new resource 'alicloud_edas_k8s_slb_attachment' replaces it.
1454
1471
  """
1472
+ warnings.warn("""Field 'internet_slb_port' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it""", DeprecationWarning)
1473
+ pulumi.log.warn("""internet_slb_port is deprecated: Field 'internet_slb_port' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it""")
1474
+
1455
1475
  return pulumi.get(self, "internet_slb_port")
1456
1476
 
1457
1477
  @property
1458
1478
  @pulumi.getter(name="internetSlbProtocol")
1459
- @_utilities.deprecated("""Field 'internet_slb_protocol' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it""")
1460
1479
  def internet_slb_protocol(self) -> pulumi.Output[Optional[str]]:
1461
1480
  """
1462
1481
  The public network SLB protocol supports TCP, HTTP and HTTPS protocols. It has been deprecated, and new resource 'alicloud_edas_k8s_slb_attachment' replaces it.
1463
1482
  """
1483
+ warnings.warn("""Field 'internet_slb_protocol' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it""", DeprecationWarning)
1484
+ pulumi.log.warn("""internet_slb_protocol is deprecated: Field 'internet_slb_protocol' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it""")
1485
+
1464
1486
  return pulumi.get(self, "internet_slb_protocol")
1465
1487
 
1466
1488
  @property
1467
1489
  @pulumi.getter(name="internetTargetPort")
1468
- @_utilities.deprecated("""Field 'internet_target_port' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it""")
1469
1490
  def internet_target_port(self) -> pulumi.Output[Optional[int]]:
1470
1491
  """
1471
1492
  The private SLB back-end port, is also the service port of the application, ranging from 1 to 65535.
1472
1493
  It has been deprecated, and new resource 'alicloud_edas_k8s_slb_attachment' replaces it.
1473
1494
  """
1495
+ warnings.warn("""Field 'internet_target_port' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it""", DeprecationWarning)
1496
+ pulumi.log.warn("""internet_target_port is deprecated: Field 'internet_target_port' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it""")
1497
+
1474
1498
  return pulumi.get(self, "internet_target_port")
1475
1499
 
1476
1500
  @property
@@ -3086,11 +3086,13 @@ class GetSimpleOfficeSitesSiteResult(dict):
3086
3086
 
3087
3087
  @property
3088
3088
  @pulumi.getter
3089
- @_utilities.deprecated("""Field 'bandwidth' has been deprecated from provider version 1.142.0.""")
3090
3089
  def bandwidth(self) -> int:
3091
3090
  """
3092
3091
  The Internet Bandwidth Peak. It has been deprecated from version 1.142.0 and can be found in the new datasource alicloud_ecd_network_packages.
3093
3092
  """
3093
+ warnings.warn("""Field 'bandwidth' has been deprecated from provider version 1.142.0.""", DeprecationWarning)
3094
+ pulumi.log.warn("""bandwidth is deprecated: Field 'bandwidth' has been deprecated from provider version 1.142.0.""")
3095
+
3094
3096
  return pulumi.get(self, "bandwidth")
3095
3097
 
3096
3098
  @property
@@ -3199,11 +3201,13 @@ class GetSimpleOfficeSitesSiteResult(dict):
3199
3201
 
3200
3202
  @property
3201
3203
  @pulumi.getter(name="enableInternetAccess")
3202
- @_utilities.deprecated("""Field 'enable_internet_access' has been deprecated from provider version 1.142.0.""")
3203
3204
  def enable_internet_access(self) -> bool:
3204
3205
  """
3205
3206
  Whether the Open Internet Access Function.
3206
3207
  """
3208
+ warnings.warn("""Field 'enable_internet_access' has been deprecated from provider version 1.142.0.""", DeprecationWarning)
3209
+ pulumi.log.warn("""enable_internet_access is deprecated: Field 'enable_internet_access' has been deprecated from provider version 1.142.0.""")
3210
+
3207
3211
  return pulumi.get(self, "enable_internet_access")
3208
3212
 
3209
3213
  @property
@@ -81,11 +81,13 @@ class SimpleOfficeSiteArgs:
81
81
 
82
82
  @property
83
83
  @pulumi.getter
84
- @_utilities.deprecated("""Field 'bandwidth' has been deprecated from provider version 1.142.0.""")
85
84
  def bandwidth(self) -> Optional[pulumi.Input[int]]:
86
85
  """
87
86
  The Internet Bandwidth Peak. It has been deprecated from version 1.142.0 and can be found in the new resource alicloud_ecd_network_package.
88
87
  """
88
+ warnings.warn("""Field 'bandwidth' has been deprecated from provider version 1.142.0.""", DeprecationWarning)
89
+ pulumi.log.warn("""bandwidth is deprecated: Field 'bandwidth' has been deprecated from provider version 1.142.0.""")
90
+
89
91
  return pulumi.get(self, "bandwidth")
90
92
 
91
93
  @bandwidth.setter
@@ -154,11 +156,13 @@ class SimpleOfficeSiteArgs:
154
156
 
155
157
  @property
156
158
  @pulumi.getter(name="enableInternetAccess")
157
- @_utilities.deprecated("""Field 'enable_internet_access' has been deprecated from provider version 1.142.0.""")
158
159
  def enable_internet_access(self) -> Optional[pulumi.Input[bool]]:
159
160
  """
160
161
  Whether the Open Internet Access Function.
161
162
  """
163
+ warnings.warn("""Field 'enable_internet_access' has been deprecated from provider version 1.142.0.""", DeprecationWarning)
164
+ pulumi.log.warn("""enable_internet_access is deprecated: Field 'enable_internet_access' has been deprecated from provider version 1.142.0.""")
165
+
162
166
  return pulumi.get(self, "enable_internet_access")
163
167
 
164
168
  @enable_internet_access.setter
@@ -265,11 +269,13 @@ class _SimpleOfficeSiteState:
265
269
 
266
270
  @property
267
271
  @pulumi.getter
268
- @_utilities.deprecated("""Field 'bandwidth' has been deprecated from provider version 1.142.0.""")
269
272
  def bandwidth(self) -> Optional[pulumi.Input[int]]:
270
273
  """
271
274
  The Internet Bandwidth Peak. It has been deprecated from version 1.142.0 and can be found in the new resource alicloud_ecd_network_package.
272
275
  """
276
+ warnings.warn("""Field 'bandwidth' has been deprecated from provider version 1.142.0.""", DeprecationWarning)
277
+ pulumi.log.warn("""bandwidth is deprecated: Field 'bandwidth' has been deprecated from provider version 1.142.0.""")
278
+
273
279
  return pulumi.get(self, "bandwidth")
274
280
 
275
281
  @bandwidth.setter
@@ -350,11 +356,13 @@ class _SimpleOfficeSiteState:
350
356
 
351
357
  @property
352
358
  @pulumi.getter(name="enableInternetAccess")
353
- @_utilities.deprecated("""Field 'enable_internet_access' has been deprecated from provider version 1.142.0.""")
354
359
  def enable_internet_access(self) -> Optional[pulumi.Input[bool]]:
355
360
  """
356
361
  Whether the Open Internet Access Function.
357
362
  """
363
+ warnings.warn("""Field 'enable_internet_access' has been deprecated from provider version 1.142.0.""", DeprecationWarning)
364
+ pulumi.log.warn("""enable_internet_access is deprecated: Field 'enable_internet_access' has been deprecated from provider version 1.142.0.""")
365
+
358
366
  return pulumi.get(self, "enable_internet_access")
359
367
 
360
368
  @enable_internet_access.setter
@@ -626,11 +634,13 @@ class SimpleOfficeSite(pulumi.CustomResource):
626
634
 
627
635
  @property
628
636
  @pulumi.getter
629
- @_utilities.deprecated("""Field 'bandwidth' has been deprecated from provider version 1.142.0.""")
630
637
  def bandwidth(self) -> pulumi.Output[int]:
631
638
  """
632
639
  The Internet Bandwidth Peak. It has been deprecated from version 1.142.0 and can be found in the new resource alicloud_ecd_network_package.
633
640
  """
641
+ warnings.warn("""Field 'bandwidth' has been deprecated from provider version 1.142.0.""", DeprecationWarning)
642
+ pulumi.log.warn("""bandwidth is deprecated: Field 'bandwidth' has been deprecated from provider version 1.142.0.""")
643
+
634
644
  return pulumi.get(self, "bandwidth")
635
645
 
636
646
  @property
@@ -683,11 +693,13 @@ class SimpleOfficeSite(pulumi.CustomResource):
683
693
 
684
694
  @property
685
695
  @pulumi.getter(name="enableInternetAccess")
686
- @_utilities.deprecated("""Field 'enable_internet_access' has been deprecated from provider version 1.142.0.""")
687
696
  def enable_internet_access(self) -> pulumi.Output[bool]:
688
697
  """
689
698
  Whether the Open Internet Access Function.
690
699
  """
700
+ warnings.warn("""Field 'enable_internet_access' has been deprecated from provider version 1.142.0.""", DeprecationWarning)
701
+ pulumi.log.warn("""enable_internet_access is deprecated: Field 'enable_internet_access' has been deprecated from provider version 1.142.0.""")
702
+
691
703
  return pulumi.get(self, "enable_internet_access")
692
704
 
693
705
  @property
@@ -10,7 +10,6 @@ from typing import Any, Mapping, Optional, Sequence, Union, overload
10
10
  from .. import _utilities
11
11
 
12
12
  __all__ = [
13
- 'AlarmExpressionArgs',
14
13
  'EciScalingConfigurationAcrRegistryInfoArgs',
15
14
  'EciScalingConfigurationContainerArgs',
16
15
  'EciScalingConfigurationContainerEnvironmentVarArgs',
@@ -36,93 +35,6 @@ __all__ = [
36
35
  'ScalingRuleStepAdjustmentArgs',
37
36
  ]
38
37
 
39
- @pulumi.input_type
40
- class AlarmExpressionArgs:
41
- def __init__(__self__, *,
42
- comparison_operator: Optional[pulumi.Input[str]] = None,
43
- metric_name: Optional[pulumi.Input[str]] = None,
44
- period: Optional[pulumi.Input[int]] = None,
45
- statistics: Optional[pulumi.Input[str]] = None,
46
- threshold: Optional[pulumi.Input[float]] = None):
47
- """
48
- :param pulumi.Input[str] comparison_operator: The arithmetic operation to use when comparing the specified Statistic and Threshold. The specified Statistic value is used as the first operand. Supported value: >=, <=, >, <. Defaults to >=.
49
- :param pulumi.Input[str] metric_name: The name for the alarm's associated metric. See `dimensions` below for details.
50
- :param pulumi.Input[int] period: The period in seconds over which the specified statistic is applied. Supported value: 60, 120, 300, 900. Defaults to 300.
51
- :param pulumi.Input[str] statistics: The statistic to apply to the alarm's associated metric. Supported value: Average, Minimum, Maximum. Defaults to Average.
52
- :param pulumi.Input[float] threshold: The value against which the specified statistics is compared.
53
- """
54
- if comparison_operator is not None:
55
- pulumi.set(__self__, "comparison_operator", comparison_operator)
56
- if metric_name is not None:
57
- pulumi.set(__self__, "metric_name", metric_name)
58
- if period is not None:
59
- pulumi.set(__self__, "period", period)
60
- if statistics is not None:
61
- pulumi.set(__self__, "statistics", statistics)
62
- if threshold is not None:
63
- pulumi.set(__self__, "threshold", threshold)
64
-
65
- @property
66
- @pulumi.getter(name="comparisonOperator")
67
- def comparison_operator(self) -> Optional[pulumi.Input[str]]:
68
- """
69
- The arithmetic operation to use when comparing the specified Statistic and Threshold. The specified Statistic value is used as the first operand. Supported value: >=, <=, >, <. Defaults to >=.
70
- """
71
- return pulumi.get(self, "comparison_operator")
72
-
73
- @comparison_operator.setter
74
- def comparison_operator(self, value: Optional[pulumi.Input[str]]):
75
- pulumi.set(self, "comparison_operator", value)
76
-
77
- @property
78
- @pulumi.getter(name="metricName")
79
- def metric_name(self) -> Optional[pulumi.Input[str]]:
80
- """
81
- The name for the alarm's associated metric. See `dimensions` below for details.
82
- """
83
- return pulumi.get(self, "metric_name")
84
-
85
- @metric_name.setter
86
- def metric_name(self, value: Optional[pulumi.Input[str]]):
87
- pulumi.set(self, "metric_name", value)
88
-
89
- @property
90
- @pulumi.getter
91
- def period(self) -> Optional[pulumi.Input[int]]:
92
- """
93
- The period in seconds over which the specified statistic is applied. Supported value: 60, 120, 300, 900. Defaults to 300.
94
- """
95
- return pulumi.get(self, "period")
96
-
97
- @period.setter
98
- def period(self, value: Optional[pulumi.Input[int]]):
99
- pulumi.set(self, "period", value)
100
-
101
- @property
102
- @pulumi.getter
103
- def statistics(self) -> Optional[pulumi.Input[str]]:
104
- """
105
- The statistic to apply to the alarm's associated metric. Supported value: Average, Minimum, Maximum. Defaults to Average.
106
- """
107
- return pulumi.get(self, "statistics")
108
-
109
- @statistics.setter
110
- def statistics(self, value: Optional[pulumi.Input[str]]):
111
- pulumi.set(self, "statistics", value)
112
-
113
- @property
114
- @pulumi.getter
115
- def threshold(self) -> Optional[pulumi.Input[float]]:
116
- """
117
- The value against which the specified statistics is compared.
118
- """
119
- return pulumi.get(self, "threshold")
120
-
121
- @threshold.setter
122
- def threshold(self, value: Optional[pulumi.Input[float]]):
123
- pulumi.set(self, "threshold", value)
124
-
125
-
126
38
  @pulumi.input_type
127
39
  class EciScalingConfigurationAcrRegistryInfoArgs:
128
40
  def __init__(__self__, *,
@@ -1709,11 +1621,13 @@ class ScalingConfigurationDataDiskArgs:
1709
1621
 
1710
1622
  @property
1711
1623
  @pulumi.getter
1712
- @_utilities.deprecated("""Attribute device has been deprecated on disk attachment resource. Suggest to remove it from your template.""")
1713
1624
  def device(self) -> Optional[pulumi.Input[str]]:
1714
1625
  """
1715
1626
  The mount point of data disk N. Valid values of N: 1 to 16. If this parameter is not specified, the system automatically allocates a mount point to created ECS instances. The name of the mount point ranges from /dev/xvdb to /dev/xvdz in alphabetical order.
1716
1627
  """
1628
+ warnings.warn("""Attribute device has been deprecated on disk attachment resource. Suggest to remove it from your template.""", DeprecationWarning)
1629
+ pulumi.log.warn("""device is deprecated: Attribute device has been deprecated on disk attachment resource. Suggest to remove it from your template.""")
1630
+
1717
1631
  return pulumi.get(self, "device")
1718
1632
 
1719
1633
  @device.setter