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
@@ -136,11 +136,13 @@ class GetDisksResult:
136
136
 
137
137
  @property
138
138
  @pulumi.getter(name="availabilityZone")
139
- @_utilities.deprecated("""Field 'availability_zone' has been deprecated from provider version 1.122.0. New field 'zone_id' instead""")
140
139
  def availability_zone(self) -> Optional[str]:
141
140
  """
142
141
  Availability zone of the disk.
143
142
  """
143
+ warnings.warn("""Field 'availability_zone' has been deprecated from provider version 1.122.0. New field 'zone_id' instead""", DeprecationWarning)
144
+ pulumi.log.warn("""availability_zone is deprecated: Field 'availability_zone' has been deprecated from provider version 1.122.0. New field 'zone_id' instead""")
145
+
144
146
  return pulumi.get(self, "availability_zone")
145
147
 
146
148
  @property
@@ -312,11 +314,13 @@ class GetDisksResult:
312
314
 
313
315
  @property
314
316
  @pulumi.getter
315
- @_utilities.deprecated("""Field 'type' has been deprecated from provider version 1.122.0. New field 'disk_type' instead.""")
316
317
  def type(self) -> Optional[str]:
317
318
  """
318
319
  Disk type. Possible values: `system` and `data`.
319
320
  """
321
+ warnings.warn("""Field 'type' has been deprecated from provider version 1.122.0. New field 'disk_type' instead.""", DeprecationWarning)
322
+ pulumi.log.warn("""type is deprecated: Field 'type' has been deprecated from provider version 1.122.0. New field 'disk_type' instead.""")
323
+
320
324
  return pulumi.get(self, "type")
321
325
 
322
326
  @property
@@ -136,8 +136,10 @@ class GetEcsDisksResult:
136
136
 
137
137
  @property
138
138
  @pulumi.getter(name="availabilityZone")
139
- @_utilities.deprecated("""Field 'availability_zone' has been deprecated from provider version 1.122.0. New field 'zone_id' instead""")
140
139
  def availability_zone(self) -> Optional[str]:
140
+ warnings.warn("""Field 'availability_zone' has been deprecated from provider version 1.122.0. New field 'zone_id' instead""", DeprecationWarning)
141
+ pulumi.log.warn("""availability_zone is deprecated: Field 'availability_zone' has been deprecated from provider version 1.122.0. New field 'zone_id' instead""")
142
+
141
143
  return pulumi.get(self, "availability_zone")
142
144
 
143
145
  @property
@@ -285,8 +287,10 @@ class GetEcsDisksResult:
285
287
 
286
288
  @property
287
289
  @pulumi.getter
288
- @_utilities.deprecated("""Field 'type' has been deprecated from provider version 1.122.0. New field 'disk_type' instead.""")
289
290
  def type(self) -> Optional[str]:
291
+ warnings.warn("""Field 'type' has been deprecated from provider version 1.122.0. New field 'disk_type' instead.""", DeprecationWarning)
292
+ pulumi.log.warn("""type is deprecated: Field 'type' has been deprecated from provider version 1.122.0. New field 'disk_type' instead.""")
293
+
290
294
  return pulumi.get(self, "type")
291
295
 
292
296
  @property
@@ -74,8 +74,10 @@ class GetEcsKeyPairsResult:
74
74
 
75
75
  @property
76
76
  @pulumi.getter(name="keyPairs")
77
- @_utilities.deprecated("""Field 'key_pairs' has been deprecated from provider version 1.121.0. New field 'pairs' instead.""")
78
77
  def key_pairs(self) -> Sequence['outputs.GetEcsKeyPairsKeyPairResult']:
78
+ warnings.warn("""Field 'key_pairs' has been deprecated from provider version 1.121.0. New field 'pairs' instead.""", DeprecationWarning)
79
+ pulumi.log.warn("""key_pairs is deprecated: Field 'key_pairs' has been deprecated from provider version 1.121.0. New field 'pairs' instead.""")
80
+
79
81
  return pulumi.get(self, "key_pairs")
80
82
 
81
83
  @property
@@ -106,8 +106,10 @@ class GetEcsNetworkInterfacesResult:
106
106
 
107
107
  @property
108
108
  @pulumi.getter
109
- @_utilities.deprecated("""Field 'name' has been deprecated from provider version 1.123.1. New field 'network_interface_name' instead""")
110
109
  def name(self) -> Optional[str]:
110
+ warnings.warn("""Field 'name' has been deprecated from provider version 1.123.1. New field 'network_interface_name' instead""", DeprecationWarning)
111
+ pulumi.log.warn("""name is deprecated: Field 'name' has been deprecated from provider version 1.123.1. New field 'network_interface_name' instead""")
112
+
111
113
  return pulumi.get(self, "name")
112
114
 
113
115
  @property
@@ -137,8 +139,10 @@ class GetEcsNetworkInterfacesResult:
137
139
 
138
140
  @property
139
141
  @pulumi.getter(name="privateIp")
140
- @_utilities.deprecated("""Field 'private_ip' has been deprecated from provider version 1.123.1. New field 'primary_ip_address' instead""")
141
142
  def private_ip(self) -> Optional[str]:
143
+ warnings.warn("""Field 'private_ip' has been deprecated from provider version 1.123.1. New field 'primary_ip_address' instead""", DeprecationWarning)
144
+ pulumi.log.warn("""private_ip is deprecated: Field 'private_ip' has been deprecated from provider version 1.123.1. New field 'primary_ip_address' instead""")
145
+
142
146
  return pulumi.get(self, "private_ip")
143
147
 
144
148
  @property
@@ -117,8 +117,10 @@ class GetEipAddressesResult:
117
117
 
118
118
  @property
119
119
  @pulumi.getter
120
- @_utilities.deprecated("""Field 'eips' has been deprecated from provider version 1.126.0 and it will be removed in the future version. Please use the new attribute 'addresses' instead.""")
121
120
  def eips(self) -> Sequence['outputs.GetEipAddressesEipResult']:
121
+ warnings.warn("""Field 'eips' has been deprecated from provider version 1.126.0 and it will be removed in the future version. Please use the new attribute 'addresses' instead.""", DeprecationWarning)
122
+ pulumi.log.warn("""eips is deprecated: Field 'eips' has been deprecated from provider version 1.126.0 and it will be removed in the future version. Please use the new attribute 'addresses' instead.""")
123
+
122
124
  return pulumi.get(self, "eips")
123
125
 
124
126
  @property
@@ -151,8 +153,10 @@ class GetEipAddressesResult:
151
153
 
152
154
  @property
153
155
  @pulumi.getter(name="ipAddresses")
154
- @_utilities.deprecated("""Field 'ip_addresses' has been deprecated from provider version 1.126.0 and it will be removed in the future version. Please use the new attribute 'ip_address' instead.""")
155
156
  def ip_addresses(self) -> Optional[Sequence[str]]:
157
+ warnings.warn("""Field 'ip_addresses' has been deprecated from provider version 1.126.0 and it will be removed in the future version. Please use the new attribute 'ip_address' instead.""", DeprecationWarning)
158
+ pulumi.log.warn("""ip_addresses is deprecated: Field 'ip_addresses' has been deprecated from provider version 1.126.0 and it will be removed in the future version. Please use the new attribute 'ip_address' instead.""")
159
+
156
160
  return pulumi.get(self, "ip_addresses")
157
161
 
158
162
  @property
@@ -119,11 +119,13 @@ class GetEipsResult:
119
119
 
120
120
  @property
121
121
  @pulumi.getter
122
- @_utilities.deprecated("""Field 'eips' has been deprecated from provider version 1.126.0 and it will be removed in the future version. Please use the new attribute 'addresses' instead.""")
123
122
  def eips(self) -> Sequence['outputs.GetEipsEipResult']:
124
123
  """
125
124
  A list of EIPs. Each element contains the following attributes:
126
125
  """
126
+ warnings.warn("""Field 'eips' has been deprecated from provider version 1.126.0 and it will be removed in the future version. Please use the new attribute 'addresses' instead.""", DeprecationWarning)
127
+ pulumi.log.warn("""eips is deprecated: Field 'eips' has been deprecated from provider version 1.126.0 and it will be removed in the future version. Please use the new attribute 'addresses' instead.""")
128
+
127
129
  return pulumi.get(self, "eips")
128
130
 
129
131
  @property
@@ -162,8 +164,10 @@ class GetEipsResult:
162
164
 
163
165
  @property
164
166
  @pulumi.getter(name="ipAddresses")
165
- @_utilities.deprecated("""Field 'ip_addresses' has been deprecated from provider version 1.126.0 and it will be removed in the future version. Please use the new attribute 'ip_address' instead.""")
166
167
  def ip_addresses(self) -> Optional[Sequence[str]]:
168
+ warnings.warn("""Field 'ip_addresses' has been deprecated from provider version 1.126.0 and it will be removed in the future version. Please use the new attribute 'ip_address' instead.""", DeprecationWarning)
169
+ pulumi.log.warn("""ip_addresses is deprecated: Field 'ip_addresses' has been deprecated from provider version 1.126.0 and it will be removed in the future version. Please use the new attribute 'ip_address' instead.""")
170
+
167
171
  return pulumi.get(self, "ip_addresses")
168
172
 
169
173
  @property
@@ -77,11 +77,13 @@ class GetKeyPairsResult:
77
77
 
78
78
  @property
79
79
  @pulumi.getter(name="keyPairs")
80
- @_utilities.deprecated("""Field 'key_pairs' has been deprecated from provider version 1.121.0. New field 'pairs' instead.""")
81
80
  def key_pairs(self) -> Sequence['outputs.GetKeyPairsKeyPairResult']:
82
81
  """
83
82
  A list of key pairs. Each element contains the following attributes:
84
83
  """
84
+ warnings.warn("""Field 'key_pairs' has been deprecated from provider version 1.121.0. New field 'pairs' instead.""", DeprecationWarning)
85
+ pulumi.log.warn("""key_pairs is deprecated: Field 'key_pairs' has been deprecated from provider version 1.121.0. New field 'pairs' instead.""")
86
+
85
87
  return pulumi.get(self, "key_pairs")
86
88
 
87
89
  @property
@@ -112,11 +112,13 @@ class GetNetworkInterfacesResult:
112
112
 
113
113
  @property
114
114
  @pulumi.getter
115
- @_utilities.deprecated("""Field 'name' has been deprecated from provider version 1.123.1. New field 'network_interface_name' instead""")
116
115
  def name(self) -> Optional[str]:
117
116
  """
118
117
  Name of the ENI.
119
118
  """
119
+ warnings.warn("""Field 'name' has been deprecated from provider version 1.123.1. New field 'network_interface_name' instead""", DeprecationWarning)
120
+ pulumi.log.warn("""name is deprecated: Field 'name' has been deprecated from provider version 1.123.1. New field 'network_interface_name' instead""")
121
+
120
122
  return pulumi.get(self, "name")
121
123
 
122
124
  @property
@@ -146,11 +148,13 @@ class GetNetworkInterfacesResult:
146
148
 
147
149
  @property
148
150
  @pulumi.getter(name="privateIp")
149
- @_utilities.deprecated("""Field 'private_ip' has been deprecated from provider version 1.123.1. New field 'primary_ip_address' instead""")
150
151
  def private_ip(self) -> Optional[str]:
151
152
  """
152
153
  Primary private IP of the ENI.
153
154
  """
155
+ warnings.warn("""Field 'private_ip' has been deprecated from provider version 1.123.1. New field 'primary_ip_address' instead""", DeprecationWarning)
156
+ pulumi.log.warn("""private_ip is deprecated: Field 'private_ip' has been deprecated from provider version 1.123.1. New field 'primary_ip_address' instead""")
157
+
154
158
  return pulumi.get(self, "private_ip")
155
159
 
156
160
  @property
@@ -160,8 +160,10 @@ class ImageArgs:
160
160
 
161
161
  @property
162
162
  @pulumi.getter
163
- @_utilities.deprecated("""Attribute 'name' has been deprecated from version 1.69.0. Use `image_name` instead.""")
164
163
  def name(self) -> Optional[pulumi.Input[str]]:
164
+ warnings.warn("""Attribute 'name' has been deprecated from version 1.69.0. Use `image_name` instead.""", DeprecationWarning)
165
+ pulumi.log.warn("""name is deprecated: Attribute 'name' has been deprecated from version 1.69.0. Use `image_name` instead.""")
166
+
165
167
  return pulumi.get(self, "name")
166
168
 
167
169
  @name.setter
@@ -368,8 +370,10 @@ class _ImageState:
368
370
 
369
371
  @property
370
372
  @pulumi.getter
371
- @_utilities.deprecated("""Attribute 'name' has been deprecated from version 1.69.0. Use `image_name` instead.""")
372
373
  def name(self) -> Optional[pulumi.Input[str]]:
374
+ warnings.warn("""Attribute 'name' has been deprecated from version 1.69.0. Use `image_name` instead.""", DeprecationWarning)
375
+ pulumi.log.warn("""name is deprecated: Attribute 'name' has been deprecated from version 1.69.0. Use `image_name` instead.""")
376
+
373
377
  return pulumi.get(self, "name")
374
378
 
375
379
  @name.setter
@@ -769,8 +773,10 @@ class Image(pulumi.CustomResource):
769
773
 
770
774
  @property
771
775
  @pulumi.getter
772
- @_utilities.deprecated("""Attribute 'name' has been deprecated from version 1.69.0. Use `image_name` instead.""")
773
776
  def name(self) -> pulumi.Output[str]:
777
+ warnings.warn("""Attribute 'name' has been deprecated from version 1.69.0. Use `image_name` instead.""", DeprecationWarning)
778
+ pulumi.log.warn("""name is deprecated: Attribute 'name' has been deprecated from version 1.69.0. Use `image_name` instead.""")
779
+
774
780
  return pulumi.get(self, "name")
775
781
 
776
782
  @property
@@ -156,8 +156,10 @@ class ImageCopyArgs:
156
156
 
157
157
  @property
158
158
  @pulumi.getter
159
- @_utilities.deprecated("""Attribute 'name' has been deprecated from version 1.69.0. Use `image_name` instead.""")
160
159
  def name(self) -> Optional[pulumi.Input[str]]:
160
+ warnings.warn("""Attribute 'name' has been deprecated from version 1.69.0. Use `image_name` instead.""", DeprecationWarning)
161
+ pulumi.log.warn("""name is deprecated: Attribute 'name' has been deprecated from version 1.69.0. Use `image_name` instead.""")
162
+
161
163
  return pulumi.get(self, "name")
162
164
 
163
165
  @name.setter
@@ -300,8 +302,10 @@ class _ImageCopyState:
300
302
 
301
303
  @property
302
304
  @pulumi.getter
303
- @_utilities.deprecated("""Attribute 'name' has been deprecated from version 1.69.0. Use `image_name` instead.""")
304
305
  def name(self) -> Optional[pulumi.Input[str]]:
306
+ warnings.warn("""Attribute 'name' has been deprecated from version 1.69.0. Use `image_name` instead.""", DeprecationWarning)
307
+ pulumi.log.warn("""name is deprecated: Attribute 'name' has been deprecated from version 1.69.0. Use `image_name` instead.""")
308
+
305
309
  return pulumi.get(self, "name")
306
310
 
307
311
  @name.setter
@@ -667,8 +671,10 @@ class ImageCopy(pulumi.CustomResource):
667
671
 
668
672
  @property
669
673
  @pulumi.getter
670
- @_utilities.deprecated("""Attribute 'name' has been deprecated from version 1.69.0. Use `image_name` instead.""")
671
674
  def name(self) -> pulumi.Output[str]:
675
+ warnings.warn("""Attribute 'name' has been deprecated from version 1.69.0. Use `image_name` instead.""", DeprecationWarning)
676
+ pulumi.log.warn("""name is deprecated: Attribute 'name' has been deprecated from version 1.69.0. Use `image_name` instead.""")
677
+
672
678
  return pulumi.get(self, "name")
673
679
 
674
680
  @property
@@ -362,11 +362,13 @@ class InstanceArgs:
362
362
 
363
363
  @property
364
364
  @pulumi.getter(name="allocatePublicIp")
365
- @_utilities.deprecated("""Field 'allocate_public_ip' has been deprecated from provider version 1.6.1. Setting 'internet_max_bandwidth_out' larger than 0 will allocate public ip for instance.""")
366
365
  def allocate_public_ip(self) -> Optional[pulumi.Input[bool]]:
367
366
  """
368
367
  It has been deprecated from version "1.7.0". Setting "internet_max_bandwidth_out" larger than 0 can allocate a public ip address for an instance.
369
368
  """
369
+ warnings.warn("""Field 'allocate_public_ip' has been deprecated from provider version 1.6.1. Setting 'internet_max_bandwidth_out' larger than 0 will allocate public ip for instance.""", DeprecationWarning)
370
+ pulumi.log.warn("""allocate_public_ip is deprecated: Field 'allocate_public_ip' has been deprecated from provider version 1.6.1. Setting 'internet_max_bandwidth_out' larger than 0 will allocate public ip for instance.""")
371
+
370
372
  return pulumi.get(self, "allocate_public_ip")
371
373
 
372
374
  @allocate_public_ip.setter
@@ -677,11 +679,13 @@ class InstanceArgs:
677
679
 
678
680
  @property
679
681
  @pulumi.getter(name="internetMaxBandwidthIn")
680
- @_utilities.deprecated("""The attribute is invalid and no any affect for the instance. So it has been deprecated since version v1.121.2.""")
681
682
  def internet_max_bandwidth_in(self) -> Optional[pulumi.Input[int]]:
682
683
  """
683
684
  Maximum incoming bandwidth from the public network, measured in Mbps (Mega bit per second). Value range: [1, 200]. If this value is not specified, then automatically sets it to 200 Mbps.
684
685
  """
686
+ warnings.warn("""The attribute is invalid and no any affect for the instance. So it has been deprecated since version v1.121.2.""", DeprecationWarning)
687
+ pulumi.log.warn("""internet_max_bandwidth_in is deprecated: The attribute is invalid and no any affect for the instance. So it has been deprecated since version v1.121.2.""")
688
+
685
689
  return pulumi.get(self, "internet_max_bandwidth_in")
686
690
 
687
691
  @internet_max_bandwidth_in.setter
@@ -1640,11 +1644,13 @@ class _InstanceState:
1640
1644
 
1641
1645
  @property
1642
1646
  @pulumi.getter(name="allocatePublicIp")
1643
- @_utilities.deprecated("""Field 'allocate_public_ip' has been deprecated from provider version 1.6.1. Setting 'internet_max_bandwidth_out' larger than 0 will allocate public ip for instance.""")
1644
1647
  def allocate_public_ip(self) -> Optional[pulumi.Input[bool]]:
1645
1648
  """
1646
1649
  It has been deprecated from version "1.7.0". Setting "internet_max_bandwidth_out" larger than 0 can allocate a public ip address for an instance.
1647
1650
  """
1651
+ warnings.warn("""Field 'allocate_public_ip' has been deprecated from provider version 1.6.1. Setting 'internet_max_bandwidth_out' larger than 0 will allocate public ip for instance.""", DeprecationWarning)
1652
+ pulumi.log.warn("""allocate_public_ip is deprecated: Field 'allocate_public_ip' has been deprecated from provider version 1.6.1. Setting 'internet_max_bandwidth_out' larger than 0 will allocate public ip for instance.""")
1653
+
1648
1654
  return pulumi.get(self, "allocate_public_ip")
1649
1655
 
1650
1656
  @allocate_public_ip.setter
@@ -1979,11 +1985,13 @@ class _InstanceState:
1979
1985
 
1980
1986
  @property
1981
1987
  @pulumi.getter(name="internetMaxBandwidthIn")
1982
- @_utilities.deprecated("""The attribute is invalid and no any affect for the instance. So it has been deprecated since version v1.121.2.""")
1983
1988
  def internet_max_bandwidth_in(self) -> Optional[pulumi.Input[int]]:
1984
1989
  """
1985
1990
  Maximum incoming bandwidth from the public network, measured in Mbps (Mega bit per second). Value range: [1, 200]. If this value is not specified, then automatically sets it to 200 Mbps.
1986
1991
  """
1992
+ warnings.warn("""The attribute is invalid and no any affect for the instance. So it has been deprecated since version v1.121.2.""", DeprecationWarning)
1993
+ pulumi.log.warn("""internet_max_bandwidth_in is deprecated: The attribute is invalid and no any affect for the instance. So it has been deprecated since version v1.121.2.""")
1994
+
1987
1995
  return pulumi.get(self, "internet_max_bandwidth_in")
1988
1996
 
1989
1997
  @internet_max_bandwidth_in.setter
@@ -2734,12 +2742,6 @@ class Instance(pulumi.CustomResource):
2734
2742
  name = config.get("name")
2735
2743
  if name is None:
2736
2744
  name = "terraform-example"
2737
- instance_type = config.get("instanceType")
2738
- if instance_type is None:
2739
- instance_type = "ecs.n4.large"
2740
- image_id = config.get("imageId")
2741
- if image_id is None:
2742
- image_id = "ubuntu_18_04_64_20G_alibase_20190624.vhd"
2743
2745
  # Create a new ECS instance for VPC
2744
2746
  vpc = alicloud.vpc.Network("vpc",
2745
2747
  vpc_name=name,
@@ -2754,8 +2756,7 @@ class Instance(pulumi.CustomResource):
2754
2756
  pending_window_in_days=7,
2755
2757
  status="Enabled")
2756
2758
  default = alicloud.get_zones(available_disk_category="cloud_efficiency",
2757
- available_resource_creation="VSwitch",
2758
- available_instance_type=instance_type)
2759
+ available_resource_creation="VSwitch")
2759
2760
  vswitch = alicloud.vpc.Switch("vswitch",
2760
2761
  vpc_id=vpc.id,
2761
2762
  cidr_block="172.16.0.0/24",
@@ -2764,11 +2765,11 @@ class Instance(pulumi.CustomResource):
2764
2765
  instance = alicloud.ecs.Instance("instance",
2765
2766
  availability_zone=default.zones[0].id,
2766
2767
  security_groups=[__item.id for __item in [group]],
2767
- instance_type=instance_type,
2768
+ instance_type="ecs.n4.large",
2768
2769
  system_disk_category="cloud_efficiency",
2769
2770
  system_disk_name=name,
2770
2771
  system_disk_description="test_foo_system_disk_description",
2771
- image_id=image_id,
2772
+ image_id="ubuntu_18_04_64_20G_alibase_20190624.vhd",
2772
2773
  instance_name=name,
2773
2774
  vswitch_id=vswitch.id,
2774
2775
  internet_max_bandwidth_out=10,
@@ -2945,12 +2946,6 @@ class Instance(pulumi.CustomResource):
2945
2946
  name = config.get("name")
2946
2947
  if name is None:
2947
2948
  name = "terraform-example"
2948
- instance_type = config.get("instanceType")
2949
- if instance_type is None:
2950
- instance_type = "ecs.n4.large"
2951
- image_id = config.get("imageId")
2952
- if image_id is None:
2953
- image_id = "ubuntu_18_04_64_20G_alibase_20190624.vhd"
2954
2949
  # Create a new ECS instance for VPC
2955
2950
  vpc = alicloud.vpc.Network("vpc",
2956
2951
  vpc_name=name,
@@ -2965,8 +2960,7 @@ class Instance(pulumi.CustomResource):
2965
2960
  pending_window_in_days=7,
2966
2961
  status="Enabled")
2967
2962
  default = alicloud.get_zones(available_disk_category="cloud_efficiency",
2968
- available_resource_creation="VSwitch",
2969
- available_instance_type=instance_type)
2963
+ available_resource_creation="VSwitch")
2970
2964
  vswitch = alicloud.vpc.Switch("vswitch",
2971
2965
  vpc_id=vpc.id,
2972
2966
  cidr_block="172.16.0.0/24",
@@ -2975,11 +2969,11 @@ class Instance(pulumi.CustomResource):
2975
2969
  instance = alicloud.ecs.Instance("instance",
2976
2970
  availability_zone=default.zones[0].id,
2977
2971
  security_groups=[__item.id for __item in [group]],
2978
- instance_type=instance_type,
2972
+ instance_type="ecs.n4.large",
2979
2973
  system_disk_category="cloud_efficiency",
2980
2974
  system_disk_name=name,
2981
2975
  system_disk_description="test_foo_system_disk_description",
2982
- image_id=image_id,
2976
+ image_id="ubuntu_18_04_64_20G_alibase_20190624.vhd",
2983
2977
  instance_name=name,
2984
2978
  vswitch_id=vswitch.id,
2985
2979
  internet_max_bandwidth_out=10,
@@ -3498,11 +3492,13 @@ class Instance(pulumi.CustomResource):
3498
3492
 
3499
3493
  @property
3500
3494
  @pulumi.getter(name="allocatePublicIp")
3501
- @_utilities.deprecated("""Field 'allocate_public_ip' has been deprecated from provider version 1.6.1. Setting 'internet_max_bandwidth_out' larger than 0 will allocate public ip for instance.""")
3502
3495
  def allocate_public_ip(self) -> pulumi.Output[Optional[bool]]:
3503
3496
  """
3504
3497
  It has been deprecated from version "1.7.0". Setting "internet_max_bandwidth_out" larger than 0 can allocate a public ip address for an instance.
3505
3498
  """
3499
+ warnings.warn("""Field 'allocate_public_ip' has been deprecated from provider version 1.6.1. Setting 'internet_max_bandwidth_out' larger than 0 will allocate public ip for instance.""", DeprecationWarning)
3500
+ pulumi.log.warn("""allocate_public_ip is deprecated: Field 'allocate_public_ip' has been deprecated from provider version 1.6.1. Setting 'internet_max_bandwidth_out' larger than 0 will allocate public ip for instance.""")
3501
+
3506
3502
  return pulumi.get(self, "allocate_public_ip")
3507
3503
 
3508
3504
  @property
@@ -3733,11 +3729,13 @@ class Instance(pulumi.CustomResource):
3733
3729
 
3734
3730
  @property
3735
3731
  @pulumi.getter(name="internetMaxBandwidthIn")
3736
- @_utilities.deprecated("""The attribute is invalid and no any affect for the instance. So it has been deprecated since version v1.121.2.""")
3737
3732
  def internet_max_bandwidth_in(self) -> pulumi.Output[int]:
3738
3733
  """
3739
3734
  Maximum incoming bandwidth from the public network, measured in Mbps (Mega bit per second). Value range: [1, 200]. If this value is not specified, then automatically sets it to 200 Mbps.
3740
3735
  """
3736
+ warnings.warn("""The attribute is invalid and no any affect for the instance. So it has been deprecated since version v1.121.2.""", DeprecationWarning)
3737
+ pulumi.log.warn("""internet_max_bandwidth_in is deprecated: The attribute is invalid and no any affect for the instance. So it has been deprecated since version v1.121.2.""")
3738
+
3741
3739
  return pulumi.get(self, "internet_max_bandwidth_in")
3742
3740
 
3743
3741
  @property
@@ -60,11 +60,13 @@ class KeyPairArgs:
60
60
 
61
61
  @property
62
62
  @pulumi.getter(name="keyName")
63
- @_utilities.deprecated("""Field 'key_name' has been deprecated from provider version 1.121.0. New field 'key_pair_name' instead.""")
64
63
  def key_name(self) -> Optional[pulumi.Input[str]]:
65
64
  """
66
65
  The key pair's name. It is the only in one Alicloud account.
67
66
  """
67
+ warnings.warn("""Field 'key_name' has been deprecated from provider version 1.121.0. New field 'key_pair_name' instead.""", DeprecationWarning)
68
+ pulumi.log.warn("""key_name is deprecated: Field 'key_name' has been deprecated from provider version 1.121.0. New field 'key_pair_name' instead.""")
69
+
68
70
  return pulumi.get(self, "key_name")
69
71
 
70
72
  @key_name.setter
@@ -184,11 +186,13 @@ class _KeyPairState:
184
186
 
185
187
  @property
186
188
  @pulumi.getter(name="keyName")
187
- @_utilities.deprecated("""Field 'key_name' has been deprecated from provider version 1.121.0. New field 'key_pair_name' instead.""")
188
189
  def key_name(self) -> Optional[pulumi.Input[str]]:
189
190
  """
190
191
  The key pair's name. It is the only in one Alicloud account.
191
192
  """
193
+ warnings.warn("""Field 'key_name' has been deprecated from provider version 1.121.0. New field 'key_pair_name' instead.""", DeprecationWarning)
194
+ pulumi.log.warn("""key_name is deprecated: Field 'key_name' has been deprecated from provider version 1.121.0. New field 'key_pair_name' instead.""")
195
+
192
196
  return pulumi.get(self, "key_name")
193
197
 
194
198
  @key_name.setter
@@ -431,11 +435,13 @@ class KeyPair(pulumi.CustomResource):
431
435
 
432
436
  @property
433
437
  @pulumi.getter(name="keyName")
434
- @_utilities.deprecated("""Field 'key_name' has been deprecated from provider version 1.121.0. New field 'key_pair_name' instead.""")
435
438
  def key_name(self) -> pulumi.Output[str]:
436
439
  """
437
440
  The key pair's name. It is the only in one Alicloud account.
438
441
  """
442
+ warnings.warn("""Field 'key_name' has been deprecated from provider version 1.121.0. New field 'key_pair_name' instead.""", DeprecationWarning)
443
+ pulumi.log.warn("""key_name is deprecated: Field 'key_name' has been deprecated from provider version 1.121.0. New field 'key_pair_name' instead.""")
444
+
439
445
  return pulumi.get(self, "key_name")
440
446
 
441
447
  @property
@@ -61,11 +61,13 @@ class KeyPairAttachmentArgs:
61
61
 
62
62
  @property
63
63
  @pulumi.getter(name="keyName")
64
- @_utilities.deprecated("""Field 'key_name' has been deprecated from provider version 1.121.0. New field 'key_pair_name' instead.""")
65
64
  def key_name(self) -> Optional[pulumi.Input[str]]:
66
65
  """
67
66
  The name of key pair used to bind.
68
67
  """
68
+ warnings.warn("""Field 'key_name' has been deprecated from provider version 1.121.0. New field 'key_pair_name' instead.""", DeprecationWarning)
69
+ pulumi.log.warn("""key_name is deprecated: Field 'key_name' has been deprecated from provider version 1.121.0. New field 'key_pair_name' instead.""")
70
+
69
71
  return pulumi.get(self, "key_name")
70
72
 
71
73
  @key_name.setter
@@ -133,11 +135,13 @@ class _KeyPairAttachmentState:
133
135
 
134
136
  @property
135
137
  @pulumi.getter(name="keyName")
136
- @_utilities.deprecated("""Field 'key_name' has been deprecated from provider version 1.121.0. New field 'key_pair_name' instead.""")
137
138
  def key_name(self) -> Optional[pulumi.Input[str]]:
138
139
  """
139
140
  The name of key pair used to bind.
140
141
  """
142
+ warnings.warn("""Field 'key_name' has been deprecated from provider version 1.121.0. New field 'key_pair_name' instead.""", DeprecationWarning)
143
+ pulumi.log.warn("""key_name is deprecated: Field 'key_name' has been deprecated from provider version 1.121.0. New field 'key_pair_name' instead.""")
144
+
141
145
  return pulumi.get(self, "key_name")
142
146
 
143
147
  @key_name.setter
@@ -277,11 +281,13 @@ class KeyPairAttachment(pulumi.CustomResource):
277
281
 
278
282
  @property
279
283
  @pulumi.getter(name="keyName")
280
- @_utilities.deprecated("""Field 'key_name' has been deprecated from provider version 1.121.0. New field 'key_pair_name' instead.""")
281
284
  def key_name(self) -> pulumi.Output[str]:
282
285
  """
283
286
  The name of key pair used to bind.
284
287
  """
288
+ warnings.warn("""Field 'key_name' has been deprecated from provider version 1.121.0. New field 'key_pair_name' instead.""", DeprecationWarning)
289
+ pulumi.log.warn("""key_name is deprecated: Field 'key_name' has been deprecated from provider version 1.121.0. New field 'key_pair_name' instead.""")
290
+
285
291
  return pulumi.get(self, "key_name")
286
292
 
287
293
  @property