pulumi-alicloud 3.84.0a1757017465__py3-none-any.whl → 3.85.0a1757389637__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 (54) hide show
  1. pulumi_alicloud/__init__.py +64 -0
  2. pulumi_alicloud/amqp/get_instances.py +49 -20
  3. pulumi_alicloud/amqp/outputs.py +20 -20
  4. pulumi_alicloud/amqp/virtual_host.py +46 -20
  5. pulumi_alicloud/cloudsso/__init__.py +1 -0
  6. pulumi_alicloud/cloudsso/delegate_account.py +218 -0
  7. pulumi_alicloud/cs/node_pool.py +7 -0
  8. pulumi_alicloud/ddos/bgp_ip.py +57 -48
  9. pulumi_alicloud/ddos/ddos_bgp_instance.py +246 -106
  10. pulumi_alicloud/dms/__init__.py +1 -0
  11. pulumi_alicloud/dms/enterprise_workspace.py +354 -0
  12. pulumi_alicloud/dns/ddos_bgp_instance.py +246 -106
  13. pulumi_alicloud/eflo/node.py +54 -7
  14. pulumi_alicloud/esa/__init__.py +3 -0
  15. pulumi_alicloud/esa/kv_account.py +145 -0
  16. pulumi_alicloud/esa/routine_related_record.py +226 -0
  17. pulumi_alicloud/esa/url_observation.py +352 -0
  18. pulumi_alicloud/fc/get_service.py +2 -2
  19. pulumi_alicloud/hologram/instance.py +35 -0
  20. pulumi_alicloud/kms/instance.py +47 -0
  21. pulumi_alicloud/log/oss_export.py +6 -0
  22. pulumi_alicloud/message/service_subscription.py +48 -1
  23. pulumi_alicloud/mongodb/sharding_instance.py +338 -0
  24. pulumi_alicloud/nlb/server_group.py +28 -21
  25. pulumi_alicloud/oss/bucket.py +56 -0
  26. pulumi_alicloud/privatelink/vpc_endpoint.py +21 -7
  27. pulumi_alicloud/pulumi-plugin.json +1 -1
  28. pulumi_alicloud/resourcemanager/__init__.py +1 -0
  29. pulumi_alicloud/resourcemanager/delegated_administrator.py +22 -50
  30. pulumi_alicloud/resourcemanager/folder.py +106 -29
  31. pulumi_alicloud/resourcemanager/get_accounts.py +35 -18
  32. pulumi_alicloud/resourcemanager/message_contact.py +572 -0
  33. pulumi_alicloud/resourcemanager/outputs.py +31 -20
  34. pulumi_alicloud/resourcemanager/resource_directory.py +137 -46
  35. pulumi_alicloud/resourcemanager/shared_resource.py +81 -45
  36. pulumi_alicloud/resourcemanager/shared_target.py +60 -24
  37. pulumi_alicloud/sls/__init__.py +4 -0
  38. pulumi_alicloud/sls/_inputs.py +128 -0
  39. pulumi_alicloud/sls/get_logtail_configs.py +395 -0
  40. pulumi_alicloud/sls/get_machine_groups.py +229 -0
  41. pulumi_alicloud/sls/logtail_config.py +692 -0
  42. pulumi_alicloud/sls/machine_group.py +502 -0
  43. pulumi_alicloud/sls/outputs.py +172 -0
  44. pulumi_alicloud/vpc/_inputs.py +87 -54
  45. pulumi_alicloud/vpc/dhcp_options_set.py +97 -58
  46. pulumi_alicloud/vpc/flow_log.py +25 -25
  47. pulumi_alicloud/vpc/ha_vip_attachment.py +41 -60
  48. pulumi_alicloud/vpc/ha_vipv2.py +100 -88
  49. pulumi_alicloud/vpc/network_acl.py +34 -23
  50. pulumi_alicloud/vpc/outputs.py +58 -36
  51. {pulumi_alicloud-3.84.0a1757017465.dist-info → pulumi_alicloud-3.85.0a1757389637.dist-info}/METADATA +1 -1
  52. {pulumi_alicloud-3.84.0a1757017465.dist-info → pulumi_alicloud-3.85.0a1757389637.dist-info}/RECORD +54 -44
  53. {pulumi_alicloud-3.84.0a1757017465.dist-info → pulumi_alicloud-3.85.0a1757389637.dist-info}/WHEEL +0 -0
  54. {pulumi_alicloud-3.84.0a1757017465.dist-info → pulumi_alicloud-3.85.0a1757389637.dist-info}/top_level.txt +0 -0
@@ -24,19 +24,27 @@ class DdosBgpInstanceArgs:
24
24
  ip_type: pulumi.Input[_builtins.str],
25
25
  normal_bandwidth: pulumi.Input[_builtins.int],
26
26
  base_bandwidth: Optional[pulumi.Input[_builtins.int]] = None,
27
+ instance_name: Optional[pulumi.Input[_builtins.str]] = None,
27
28
  name: Optional[pulumi.Input[_builtins.str]] = None,
28
29
  period: Optional[pulumi.Input[_builtins.int]] = None,
30
+ resource_group_id: Optional[pulumi.Input[_builtins.str]] = None,
31
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
29
32
  type: Optional[pulumi.Input[_builtins.str]] = None):
30
33
  """
31
34
  The set of arguments for constructing a DdosBgpInstance resource.
32
- :param pulumi.Input[_builtins.int] bandwidth: Elastic defend bandwidth of the instance. This value must be larger than the base defend bandwidth. Valid values: 51,91,101,201,301. The unit is Gbps.
33
- :param pulumi.Input[_builtins.int] ip_count: IP count of the instance. Valid values: 100.
34
- :param pulumi.Input[_builtins.str] ip_type: IP version of the instance. Valid values: IPv4,IPv6.
35
- :param pulumi.Input[_builtins.int] normal_bandwidth: Normal defend bandwidth of the instance. The unit is Gbps.
36
- :param pulumi.Input[_builtins.int] base_bandwidth: Base defend bandwidth of the instance. Valid values: 20. The unit is Gbps. Default to `20`.
37
- :param pulumi.Input[_builtins.str] name: Name of the instance. This name can have a string of 1 to 63 characters.
35
+ :param pulumi.Input[_builtins.int] bandwidth: The bandwidth of the package configuration.
36
+ :param pulumi.Input[_builtins.int] ip_count: The number of IP addresses that can be protected by the Anti-DDoS Origin Enterprise instance.
37
+ :param pulumi.Input[_builtins.str] ip_type: The protection IP address type of the protection package. Valid values:
38
+ - `IPv4`
39
+ - `IPv6`
40
+ :param pulumi.Input[_builtins.int] normal_bandwidth: The normal clean bandwidth. Unit: Mbit/s.
41
+ :param pulumi.Input[_builtins.int] base_bandwidth: The basic protection bandwidth of the Anti-DDoS Origin Enterprise instance. Default value: `20`. Valid values: `20`.
42
+ :param pulumi.Input[_builtins.str] instance_name: The name of the instance.
43
+ :param pulumi.Input[_builtins.str] name: Field `name` has been deprecated from provider version 1.259.0. New field `instance_name` instead.
38
44
  :param pulumi.Input[_builtins.int] period: The duration that you will buy Ddosbgp instance (in month). Valid values: [1~9], 12, 24, 36. Default to 12. At present, the provider does not support modify "period".
39
- :param pulumi.Input[_builtins.str] type: Type of the instance. Valid values: `Enterprise`, `Professional`. Default to `Enterprise`
45
+ :param pulumi.Input[_builtins.str] resource_group_id: Resource Group ID
46
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: The key of the tag that is added to the Anti-DDoS Origin instance.
47
+ :param pulumi.Input[_builtins.str] type: The protection package type of the DDoS native protection instance. Default value: `Enterprise`. Valid values: `Enterprise`, `Professional`.
40
48
  """
41
49
  pulumi.set(__self__, "bandwidth", bandwidth)
42
50
  pulumi.set(__self__, "ip_count", ip_count)
@@ -44,10 +52,19 @@ class DdosBgpInstanceArgs:
44
52
  pulumi.set(__self__, "normal_bandwidth", normal_bandwidth)
45
53
  if base_bandwidth is not None:
46
54
  pulumi.set(__self__, "base_bandwidth", base_bandwidth)
55
+ if instance_name is not None:
56
+ pulumi.set(__self__, "instance_name", instance_name)
57
+ if name is not None:
58
+ warnings.warn("""Field `name` has been deprecated from provider version 1.259.0. New field `instance_name` instead.""", DeprecationWarning)
59
+ pulumi.log.warn("""name is deprecated: Field `name` has been deprecated from provider version 1.259.0. New field `instance_name` instead.""")
47
60
  if name is not None:
48
61
  pulumi.set(__self__, "name", name)
49
62
  if period is not None:
50
63
  pulumi.set(__self__, "period", period)
64
+ if resource_group_id is not None:
65
+ pulumi.set(__self__, "resource_group_id", resource_group_id)
66
+ if tags is not None:
67
+ pulumi.set(__self__, "tags", tags)
51
68
  if type is not None:
52
69
  pulumi.set(__self__, "type", type)
53
70
 
@@ -55,7 +72,7 @@ class DdosBgpInstanceArgs:
55
72
  @pulumi.getter
56
73
  def bandwidth(self) -> pulumi.Input[_builtins.int]:
57
74
  """
58
- Elastic defend bandwidth of the instance. This value must be larger than the base defend bandwidth. Valid values: 51,91,101,201,301. The unit is Gbps.
75
+ The bandwidth of the package configuration.
59
76
  """
60
77
  return pulumi.get(self, "bandwidth")
61
78
 
@@ -67,7 +84,7 @@ class DdosBgpInstanceArgs:
67
84
  @pulumi.getter(name="ipCount")
68
85
  def ip_count(self) -> pulumi.Input[_builtins.int]:
69
86
  """
70
- IP count of the instance. Valid values: 100.
87
+ The number of IP addresses that can be protected by the Anti-DDoS Origin Enterprise instance.
71
88
  """
72
89
  return pulumi.get(self, "ip_count")
73
90
 
@@ -79,7 +96,9 @@ class DdosBgpInstanceArgs:
79
96
  @pulumi.getter(name="ipType")
80
97
  def ip_type(self) -> pulumi.Input[_builtins.str]:
81
98
  """
82
- IP version of the instance. Valid values: IPv4,IPv6.
99
+ The protection IP address type of the protection package. Valid values:
100
+ - `IPv4`
101
+ - `IPv6`
83
102
  """
84
103
  return pulumi.get(self, "ip_type")
85
104
 
@@ -91,7 +110,7 @@ class DdosBgpInstanceArgs:
91
110
  @pulumi.getter(name="normalBandwidth")
92
111
  def normal_bandwidth(self) -> pulumi.Input[_builtins.int]:
93
112
  """
94
- Normal defend bandwidth of the instance. The unit is Gbps.
113
+ The normal clean bandwidth. Unit: Mbit/s.
95
114
  """
96
115
  return pulumi.get(self, "normal_bandwidth")
97
116
 
@@ -103,7 +122,7 @@ class DdosBgpInstanceArgs:
103
122
  @pulumi.getter(name="baseBandwidth")
104
123
  def base_bandwidth(self) -> Optional[pulumi.Input[_builtins.int]]:
105
124
  """
106
- Base defend bandwidth of the instance. Valid values: 20. The unit is Gbps. Default to `20`.
125
+ The basic protection bandwidth of the Anti-DDoS Origin Enterprise instance. Default value: `20`. Valid values: `20`.
107
126
  """
108
127
  return pulumi.get(self, "base_bandwidth")
109
128
 
@@ -111,11 +130,24 @@ class DdosBgpInstanceArgs:
111
130
  def base_bandwidth(self, value: Optional[pulumi.Input[_builtins.int]]):
112
131
  pulumi.set(self, "base_bandwidth", value)
113
132
 
133
+ @_builtins.property
134
+ @pulumi.getter(name="instanceName")
135
+ def instance_name(self) -> Optional[pulumi.Input[_builtins.str]]:
136
+ """
137
+ The name of the instance.
138
+ """
139
+ return pulumi.get(self, "instance_name")
140
+
141
+ @instance_name.setter
142
+ def instance_name(self, value: Optional[pulumi.Input[_builtins.str]]):
143
+ pulumi.set(self, "instance_name", value)
144
+
114
145
  @_builtins.property
115
146
  @pulumi.getter
147
+ @_utilities.deprecated("""Field `name` has been deprecated from provider version 1.259.0. New field `instance_name` instead.""")
116
148
  def name(self) -> Optional[pulumi.Input[_builtins.str]]:
117
149
  """
118
- Name of the instance. This name can have a string of 1 to 63 characters.
150
+ Field `name` has been deprecated from provider version 1.259.0. New field `instance_name` instead.
119
151
  """
120
152
  return pulumi.get(self, "name")
121
153
 
@@ -135,11 +167,35 @@ class DdosBgpInstanceArgs:
135
167
  def period(self, value: Optional[pulumi.Input[_builtins.int]]):
136
168
  pulumi.set(self, "period", value)
137
169
 
170
+ @_builtins.property
171
+ @pulumi.getter(name="resourceGroupId")
172
+ def resource_group_id(self) -> Optional[pulumi.Input[_builtins.str]]:
173
+ """
174
+ Resource Group ID
175
+ """
176
+ return pulumi.get(self, "resource_group_id")
177
+
178
+ @resource_group_id.setter
179
+ def resource_group_id(self, value: Optional[pulumi.Input[_builtins.str]]):
180
+ pulumi.set(self, "resource_group_id", value)
181
+
182
+ @_builtins.property
183
+ @pulumi.getter
184
+ def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
185
+ """
186
+ The key of the tag that is added to the Anti-DDoS Origin instance.
187
+ """
188
+ return pulumi.get(self, "tags")
189
+
190
+ @tags.setter
191
+ def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
192
+ pulumi.set(self, "tags", value)
193
+
138
194
  @_builtins.property
139
195
  @pulumi.getter
140
196
  def type(self) -> Optional[pulumi.Input[_builtins.str]]:
141
197
  """
142
- Type of the instance. Valid values: `Enterprise`, `Professional`. Default to `Enterprise`
198
+ The protection package type of the DDoS native protection instance. Default value: `Enterprise`. Valid values: `Enterprise`, `Professional`.
143
199
  """
144
200
  return pulumi.get(self, "type")
145
201
 
@@ -153,37 +209,58 @@ class _DdosBgpInstanceState:
153
209
  def __init__(__self__, *,
154
210
  bandwidth: Optional[pulumi.Input[_builtins.int]] = None,
155
211
  base_bandwidth: Optional[pulumi.Input[_builtins.int]] = None,
212
+ instance_name: Optional[pulumi.Input[_builtins.str]] = None,
156
213
  ip_count: Optional[pulumi.Input[_builtins.int]] = None,
157
214
  ip_type: Optional[pulumi.Input[_builtins.str]] = None,
158
215
  name: Optional[pulumi.Input[_builtins.str]] = None,
159
216
  normal_bandwidth: Optional[pulumi.Input[_builtins.int]] = None,
160
217
  period: Optional[pulumi.Input[_builtins.int]] = None,
218
+ resource_group_id: Optional[pulumi.Input[_builtins.str]] = None,
219
+ status: Optional[pulumi.Input[_builtins.str]] = None,
220
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
161
221
  type: Optional[pulumi.Input[_builtins.str]] = None):
162
222
  """
163
223
  Input properties used for looking up and filtering DdosBgpInstance resources.
164
- :param pulumi.Input[_builtins.int] bandwidth: Elastic defend bandwidth of the instance. This value must be larger than the base defend bandwidth. Valid values: 51,91,101,201,301. The unit is Gbps.
165
- :param pulumi.Input[_builtins.int] base_bandwidth: Base defend bandwidth of the instance. Valid values: 20. The unit is Gbps. Default to `20`.
166
- :param pulumi.Input[_builtins.int] ip_count: IP count of the instance. Valid values: 100.
167
- :param pulumi.Input[_builtins.str] ip_type: IP version of the instance. Valid values: IPv4,IPv6.
168
- :param pulumi.Input[_builtins.str] name: Name of the instance. This name can have a string of 1 to 63 characters.
169
- :param pulumi.Input[_builtins.int] normal_bandwidth: Normal defend bandwidth of the instance. The unit is Gbps.
224
+ :param pulumi.Input[_builtins.int] bandwidth: The bandwidth of the package configuration.
225
+ :param pulumi.Input[_builtins.int] base_bandwidth: The basic protection bandwidth of the Anti-DDoS Origin Enterprise instance. Default value: `20`. Valid values: `20`.
226
+ :param pulumi.Input[_builtins.str] instance_name: The name of the instance.
227
+ :param pulumi.Input[_builtins.int] ip_count: The number of IP addresses that can be protected by the Anti-DDoS Origin Enterprise instance.
228
+ :param pulumi.Input[_builtins.str] ip_type: The protection IP address type of the protection package. Valid values:
229
+ - `IPv4`
230
+ - `IPv6`
231
+ :param pulumi.Input[_builtins.str] name: Field `name` has been deprecated from provider version 1.259.0. New field `instance_name` instead.
232
+ :param pulumi.Input[_builtins.int] normal_bandwidth: The normal clean bandwidth. Unit: Mbit/s.
170
233
  :param pulumi.Input[_builtins.int] period: The duration that you will buy Ddosbgp instance (in month). Valid values: [1~9], 12, 24, 36. Default to 12. At present, the provider does not support modify "period".
171
- :param pulumi.Input[_builtins.str] type: Type of the instance. Valid values: `Enterprise`, `Professional`. Default to `Enterprise`
234
+ :param pulumi.Input[_builtins.str] resource_group_id: Resource Group ID
235
+ :param pulumi.Input[_builtins.str] status: (Available since v1.259.0) The status of the Instance.
236
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: The key of the tag that is added to the Anti-DDoS Origin instance.
237
+ :param pulumi.Input[_builtins.str] type: The protection package type of the DDoS native protection instance. Default value: `Enterprise`. Valid values: `Enterprise`, `Professional`.
172
238
  """
173
239
  if bandwidth is not None:
174
240
  pulumi.set(__self__, "bandwidth", bandwidth)
175
241
  if base_bandwidth is not None:
176
242
  pulumi.set(__self__, "base_bandwidth", base_bandwidth)
243
+ if instance_name is not None:
244
+ pulumi.set(__self__, "instance_name", instance_name)
177
245
  if ip_count is not None:
178
246
  pulumi.set(__self__, "ip_count", ip_count)
179
247
  if ip_type is not None:
180
248
  pulumi.set(__self__, "ip_type", ip_type)
249
+ if name is not None:
250
+ warnings.warn("""Field `name` has been deprecated from provider version 1.259.0. New field `instance_name` instead.""", DeprecationWarning)
251
+ pulumi.log.warn("""name is deprecated: Field `name` has been deprecated from provider version 1.259.0. New field `instance_name` instead.""")
181
252
  if name is not None:
182
253
  pulumi.set(__self__, "name", name)
183
254
  if normal_bandwidth is not None:
184
255
  pulumi.set(__self__, "normal_bandwidth", normal_bandwidth)
185
256
  if period is not None:
186
257
  pulumi.set(__self__, "period", period)
258
+ if resource_group_id is not None:
259
+ pulumi.set(__self__, "resource_group_id", resource_group_id)
260
+ if status is not None:
261
+ pulumi.set(__self__, "status", status)
262
+ if tags is not None:
263
+ pulumi.set(__self__, "tags", tags)
187
264
  if type is not None:
188
265
  pulumi.set(__self__, "type", type)
189
266
 
@@ -191,7 +268,7 @@ class _DdosBgpInstanceState:
191
268
  @pulumi.getter
192
269
  def bandwidth(self) -> Optional[pulumi.Input[_builtins.int]]:
193
270
  """
194
- Elastic defend bandwidth of the instance. This value must be larger than the base defend bandwidth. Valid values: 51,91,101,201,301. The unit is Gbps.
271
+ The bandwidth of the package configuration.
195
272
  """
196
273
  return pulumi.get(self, "bandwidth")
197
274
 
@@ -203,7 +280,7 @@ class _DdosBgpInstanceState:
203
280
  @pulumi.getter(name="baseBandwidth")
204
281
  def base_bandwidth(self) -> Optional[pulumi.Input[_builtins.int]]:
205
282
  """
206
- Base defend bandwidth of the instance. Valid values: 20. The unit is Gbps. Default to `20`.
283
+ The basic protection bandwidth of the Anti-DDoS Origin Enterprise instance. Default value: `20`. Valid values: `20`.
207
284
  """
208
285
  return pulumi.get(self, "base_bandwidth")
209
286
 
@@ -211,11 +288,23 @@ class _DdosBgpInstanceState:
211
288
  def base_bandwidth(self, value: Optional[pulumi.Input[_builtins.int]]):
212
289
  pulumi.set(self, "base_bandwidth", value)
213
290
 
291
+ @_builtins.property
292
+ @pulumi.getter(name="instanceName")
293
+ def instance_name(self) -> Optional[pulumi.Input[_builtins.str]]:
294
+ """
295
+ The name of the instance.
296
+ """
297
+ return pulumi.get(self, "instance_name")
298
+
299
+ @instance_name.setter
300
+ def instance_name(self, value: Optional[pulumi.Input[_builtins.str]]):
301
+ pulumi.set(self, "instance_name", value)
302
+
214
303
  @_builtins.property
215
304
  @pulumi.getter(name="ipCount")
216
305
  def ip_count(self) -> Optional[pulumi.Input[_builtins.int]]:
217
306
  """
218
- IP count of the instance. Valid values: 100.
307
+ The number of IP addresses that can be protected by the Anti-DDoS Origin Enterprise instance.
219
308
  """
220
309
  return pulumi.get(self, "ip_count")
221
310
 
@@ -227,7 +316,9 @@ class _DdosBgpInstanceState:
227
316
  @pulumi.getter(name="ipType")
228
317
  def ip_type(self) -> Optional[pulumi.Input[_builtins.str]]:
229
318
  """
230
- IP version of the instance. Valid values: IPv4,IPv6.
319
+ The protection IP address type of the protection package. Valid values:
320
+ - `IPv4`
321
+ - `IPv6`
231
322
  """
232
323
  return pulumi.get(self, "ip_type")
233
324
 
@@ -237,9 +328,10 @@ class _DdosBgpInstanceState:
237
328
 
238
329
  @_builtins.property
239
330
  @pulumi.getter
331
+ @_utilities.deprecated("""Field `name` has been deprecated from provider version 1.259.0. New field `instance_name` instead.""")
240
332
  def name(self) -> Optional[pulumi.Input[_builtins.str]]:
241
333
  """
242
- Name of the instance. This name can have a string of 1 to 63 characters.
334
+ Field `name` has been deprecated from provider version 1.259.0. New field `instance_name` instead.
243
335
  """
244
336
  return pulumi.get(self, "name")
245
337
 
@@ -251,7 +343,7 @@ class _DdosBgpInstanceState:
251
343
  @pulumi.getter(name="normalBandwidth")
252
344
  def normal_bandwidth(self) -> Optional[pulumi.Input[_builtins.int]]:
253
345
  """
254
- Normal defend bandwidth of the instance. The unit is Gbps.
346
+ The normal clean bandwidth. Unit: Mbit/s.
255
347
  """
256
348
  return pulumi.get(self, "normal_bandwidth")
257
349
 
@@ -271,11 +363,47 @@ class _DdosBgpInstanceState:
271
363
  def period(self, value: Optional[pulumi.Input[_builtins.int]]):
272
364
  pulumi.set(self, "period", value)
273
365
 
366
+ @_builtins.property
367
+ @pulumi.getter(name="resourceGroupId")
368
+ def resource_group_id(self) -> Optional[pulumi.Input[_builtins.str]]:
369
+ """
370
+ Resource Group ID
371
+ """
372
+ return pulumi.get(self, "resource_group_id")
373
+
374
+ @resource_group_id.setter
375
+ def resource_group_id(self, value: Optional[pulumi.Input[_builtins.str]]):
376
+ pulumi.set(self, "resource_group_id", value)
377
+
378
+ @_builtins.property
379
+ @pulumi.getter
380
+ def status(self) -> Optional[pulumi.Input[_builtins.str]]:
381
+ """
382
+ (Available since v1.259.0) The status of the Instance.
383
+ """
384
+ return pulumi.get(self, "status")
385
+
386
+ @status.setter
387
+ def status(self, value: Optional[pulumi.Input[_builtins.str]]):
388
+ pulumi.set(self, "status", value)
389
+
390
+ @_builtins.property
391
+ @pulumi.getter
392
+ def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
393
+ """
394
+ The key of the tag that is added to the Anti-DDoS Origin instance.
395
+ """
396
+ return pulumi.get(self, "tags")
397
+
398
+ @tags.setter
399
+ def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
400
+ pulumi.set(self, "tags", value)
401
+
274
402
  @_builtins.property
275
403
  @pulumi.getter
276
404
  def type(self) -> Optional[pulumi.Input[_builtins.str]]:
277
405
  """
278
- Type of the instance. Valid values: `Enterprise`, `Professional`. Default to `Enterprise`
406
+ The protection package type of the DDoS native protection instance. Default value: `Enterprise`. Valid values: `Enterprise`, `Professional`.
279
407
  """
280
408
  return pulumi.get(self, "type")
281
409
 
@@ -297,58 +425,40 @@ class DdosBgpInstance(pulumi.CustomResource):
297
425
  opts: Optional[pulumi.ResourceOptions] = None,
298
426
  bandwidth: Optional[pulumi.Input[_builtins.int]] = None,
299
427
  base_bandwidth: Optional[pulumi.Input[_builtins.int]] = None,
428
+ instance_name: Optional[pulumi.Input[_builtins.str]] = None,
300
429
  ip_count: Optional[pulumi.Input[_builtins.int]] = None,
301
430
  ip_type: Optional[pulumi.Input[_builtins.str]] = None,
302
431
  name: Optional[pulumi.Input[_builtins.str]] = None,
303
432
  normal_bandwidth: Optional[pulumi.Input[_builtins.int]] = None,
304
433
  period: Optional[pulumi.Input[_builtins.int]] = None,
434
+ resource_group_id: Optional[pulumi.Input[_builtins.str]] = None,
435
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
305
436
  type: Optional[pulumi.Input[_builtins.str]] = None,
306
437
  __props__=None):
307
438
  """
308
- Anti-DDoS Advanced instance resource. "Ddosbgp" is the short term of this product.
309
-
310
- > **NOTE:** Available since v1.183.0.
311
-
312
- ## Example Usage
313
-
314
- Basic Usage
315
-
316
- ```python
317
- import pulumi
318
- import pulumi_alicloud as alicloud
319
-
320
- config = pulumi.Config()
321
- name = config.get("name")
322
- if name is None:
323
- name = "tf-example"
324
- instance = alicloud.ddos.DdosBgpInstance("instance",
325
- name=name,
326
- base_bandwidth=20,
327
- bandwidth=-1,
328
- ip_count=100,
329
- ip_type="IPv4",
330
- normal_bandwidth=100,
331
- type="Enterprise")
332
- ```
333
-
334
439
  ## Import
335
440
 
336
- Ddosbgp instance can be imported using the id, e.g.
441
+ Anti-DDoS Pro (DdosBgp) Instance can be imported using the id, e.g.
337
442
 
338
443
  ```sh
339
- $ pulumi import alicloud:dns/ddosBgpInstance:DdosBgpInstance example ddosbgp-abc123456
444
+ $ pulumi import alicloud:dns/ddosBgpInstance:DdosBgpInstance example <id>
340
445
  ```
341
446
 
342
447
  :param str resource_name: The name of the resource.
343
448
  :param pulumi.ResourceOptions opts: Options for the resource.
344
- :param pulumi.Input[_builtins.int] bandwidth: Elastic defend bandwidth of the instance. This value must be larger than the base defend bandwidth. Valid values: 51,91,101,201,301. The unit is Gbps.
345
- :param pulumi.Input[_builtins.int] base_bandwidth: Base defend bandwidth of the instance. Valid values: 20. The unit is Gbps. Default to `20`.
346
- :param pulumi.Input[_builtins.int] ip_count: IP count of the instance. Valid values: 100.
347
- :param pulumi.Input[_builtins.str] ip_type: IP version of the instance. Valid values: IPv4,IPv6.
348
- :param pulumi.Input[_builtins.str] name: Name of the instance. This name can have a string of 1 to 63 characters.
349
- :param pulumi.Input[_builtins.int] normal_bandwidth: Normal defend bandwidth of the instance. The unit is Gbps.
449
+ :param pulumi.Input[_builtins.int] bandwidth: The bandwidth of the package configuration.
450
+ :param pulumi.Input[_builtins.int] base_bandwidth: The basic protection bandwidth of the Anti-DDoS Origin Enterprise instance. Default value: `20`. Valid values: `20`.
451
+ :param pulumi.Input[_builtins.str] instance_name: The name of the instance.
452
+ :param pulumi.Input[_builtins.int] ip_count: The number of IP addresses that can be protected by the Anti-DDoS Origin Enterprise instance.
453
+ :param pulumi.Input[_builtins.str] ip_type: The protection IP address type of the protection package. Valid values:
454
+ - `IPv4`
455
+ - `IPv6`
456
+ :param pulumi.Input[_builtins.str] name: Field `name` has been deprecated from provider version 1.259.0. New field `instance_name` instead.
457
+ :param pulumi.Input[_builtins.int] normal_bandwidth: The normal clean bandwidth. Unit: Mbit/s.
350
458
  :param pulumi.Input[_builtins.int] period: The duration that you will buy Ddosbgp instance (in month). Valid values: [1~9], 12, 24, 36. Default to 12. At present, the provider does not support modify "period".
351
- :param pulumi.Input[_builtins.str] type: Type of the instance. Valid values: `Enterprise`, `Professional`. Default to `Enterprise`
459
+ :param pulumi.Input[_builtins.str] resource_group_id: Resource Group ID
460
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: The key of the tag that is added to the Anti-DDoS Origin instance.
461
+ :param pulumi.Input[_builtins.str] type: The protection package type of the DDoS native protection instance. Default value: `Enterprise`. Valid values: `Enterprise`, `Professional`.
352
462
  """
353
463
  ...
354
464
  @overload
@@ -357,38 +467,12 @@ class DdosBgpInstance(pulumi.CustomResource):
357
467
  args: DdosBgpInstanceArgs,
358
468
  opts: Optional[pulumi.ResourceOptions] = None):
359
469
  """
360
- Anti-DDoS Advanced instance resource. "Ddosbgp" is the short term of this product.
361
-
362
- > **NOTE:** Available since v1.183.0.
363
-
364
- ## Example Usage
365
-
366
- Basic Usage
367
-
368
- ```python
369
- import pulumi
370
- import pulumi_alicloud as alicloud
371
-
372
- config = pulumi.Config()
373
- name = config.get("name")
374
- if name is None:
375
- name = "tf-example"
376
- instance = alicloud.ddos.DdosBgpInstance("instance",
377
- name=name,
378
- base_bandwidth=20,
379
- bandwidth=-1,
380
- ip_count=100,
381
- ip_type="IPv4",
382
- normal_bandwidth=100,
383
- type="Enterprise")
384
- ```
385
-
386
470
  ## Import
387
471
 
388
- Ddosbgp instance can be imported using the id, e.g.
472
+ Anti-DDoS Pro (DdosBgp) Instance can be imported using the id, e.g.
389
473
 
390
474
  ```sh
391
- $ pulumi import alicloud:dns/ddosBgpInstance:DdosBgpInstance example ddosbgp-abc123456
475
+ $ pulumi import alicloud:dns/ddosBgpInstance:DdosBgpInstance example <id>
392
476
  ```
393
477
 
394
478
  :param str resource_name: The name of the resource.
@@ -408,11 +492,14 @@ class DdosBgpInstance(pulumi.CustomResource):
408
492
  opts: Optional[pulumi.ResourceOptions] = None,
409
493
  bandwidth: Optional[pulumi.Input[_builtins.int]] = None,
410
494
  base_bandwidth: Optional[pulumi.Input[_builtins.int]] = None,
495
+ instance_name: Optional[pulumi.Input[_builtins.str]] = None,
411
496
  ip_count: Optional[pulumi.Input[_builtins.int]] = None,
412
497
  ip_type: Optional[pulumi.Input[_builtins.str]] = None,
413
498
  name: Optional[pulumi.Input[_builtins.str]] = None,
414
499
  normal_bandwidth: Optional[pulumi.Input[_builtins.int]] = None,
415
500
  period: Optional[pulumi.Input[_builtins.int]] = None,
501
+ resource_group_id: Optional[pulumi.Input[_builtins.str]] = None,
502
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
416
503
  type: Optional[pulumi.Input[_builtins.str]] = None,
417
504
  __props__=None):
418
505
  pulumi.log.warn("""DdosBgpInstance is deprecated: alicloud.dns.DdosBgpInstance has been deprecated in favor of alicloud.ddos.DdosBgpInstance""")
@@ -428,6 +515,7 @@ class DdosBgpInstance(pulumi.CustomResource):
428
515
  raise TypeError("Missing required property 'bandwidth'")
429
516
  __props__.__dict__["bandwidth"] = bandwidth
430
517
  __props__.__dict__["base_bandwidth"] = base_bandwidth
518
+ __props__.__dict__["instance_name"] = instance_name
431
519
  if ip_count is None and not opts.urn:
432
520
  raise TypeError("Missing required property 'ip_count'")
433
521
  __props__.__dict__["ip_count"] = ip_count
@@ -439,7 +527,10 @@ class DdosBgpInstance(pulumi.CustomResource):
439
527
  raise TypeError("Missing required property 'normal_bandwidth'")
440
528
  __props__.__dict__["normal_bandwidth"] = normal_bandwidth
441
529
  __props__.__dict__["period"] = period
530
+ __props__.__dict__["resource_group_id"] = resource_group_id
531
+ __props__.__dict__["tags"] = tags
442
532
  __props__.__dict__["type"] = type
533
+ __props__.__dict__["status"] = None
443
534
  super(DdosBgpInstance, __self__).__init__(
444
535
  'alicloud:dns/ddosBgpInstance:DdosBgpInstance',
445
536
  resource_name,
@@ -452,11 +543,15 @@ class DdosBgpInstance(pulumi.CustomResource):
452
543
  opts: Optional[pulumi.ResourceOptions] = None,
453
544
  bandwidth: Optional[pulumi.Input[_builtins.int]] = None,
454
545
  base_bandwidth: Optional[pulumi.Input[_builtins.int]] = None,
546
+ instance_name: Optional[pulumi.Input[_builtins.str]] = None,
455
547
  ip_count: Optional[pulumi.Input[_builtins.int]] = None,
456
548
  ip_type: Optional[pulumi.Input[_builtins.str]] = None,
457
549
  name: Optional[pulumi.Input[_builtins.str]] = None,
458
550
  normal_bandwidth: Optional[pulumi.Input[_builtins.int]] = None,
459
551
  period: Optional[pulumi.Input[_builtins.int]] = None,
552
+ resource_group_id: Optional[pulumi.Input[_builtins.str]] = None,
553
+ status: Optional[pulumi.Input[_builtins.str]] = None,
554
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
460
555
  type: Optional[pulumi.Input[_builtins.str]] = None) -> 'DdosBgpInstance':
461
556
  """
462
557
  Get an existing DdosBgpInstance resource's state with the given name, id, and optional extra
@@ -465,14 +560,20 @@ class DdosBgpInstance(pulumi.CustomResource):
465
560
  :param str resource_name: The unique name of the resulting resource.
466
561
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
467
562
  :param pulumi.ResourceOptions opts: Options for the resource.
468
- :param pulumi.Input[_builtins.int] bandwidth: Elastic defend bandwidth of the instance. This value must be larger than the base defend bandwidth. Valid values: 51,91,101,201,301. The unit is Gbps.
469
- :param pulumi.Input[_builtins.int] base_bandwidth: Base defend bandwidth of the instance. Valid values: 20. The unit is Gbps. Default to `20`.
470
- :param pulumi.Input[_builtins.int] ip_count: IP count of the instance. Valid values: 100.
471
- :param pulumi.Input[_builtins.str] ip_type: IP version of the instance. Valid values: IPv4,IPv6.
472
- :param pulumi.Input[_builtins.str] name: Name of the instance. This name can have a string of 1 to 63 characters.
473
- :param pulumi.Input[_builtins.int] normal_bandwidth: Normal defend bandwidth of the instance. The unit is Gbps.
563
+ :param pulumi.Input[_builtins.int] bandwidth: The bandwidth of the package configuration.
564
+ :param pulumi.Input[_builtins.int] base_bandwidth: The basic protection bandwidth of the Anti-DDoS Origin Enterprise instance. Default value: `20`. Valid values: `20`.
565
+ :param pulumi.Input[_builtins.str] instance_name: The name of the instance.
566
+ :param pulumi.Input[_builtins.int] ip_count: The number of IP addresses that can be protected by the Anti-DDoS Origin Enterprise instance.
567
+ :param pulumi.Input[_builtins.str] ip_type: The protection IP address type of the protection package. Valid values:
568
+ - `IPv4`
569
+ - `IPv6`
570
+ :param pulumi.Input[_builtins.str] name: Field `name` has been deprecated from provider version 1.259.0. New field `instance_name` instead.
571
+ :param pulumi.Input[_builtins.int] normal_bandwidth: The normal clean bandwidth. Unit: Mbit/s.
474
572
  :param pulumi.Input[_builtins.int] period: The duration that you will buy Ddosbgp instance (in month). Valid values: [1~9], 12, 24, 36. Default to 12. At present, the provider does not support modify "period".
475
- :param pulumi.Input[_builtins.str] type: Type of the instance. Valid values: `Enterprise`, `Professional`. Default to `Enterprise`
573
+ :param pulumi.Input[_builtins.str] resource_group_id: Resource Group ID
574
+ :param pulumi.Input[_builtins.str] status: (Available since v1.259.0) The status of the Instance.
575
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: The key of the tag that is added to the Anti-DDoS Origin instance.
576
+ :param pulumi.Input[_builtins.str] type: The protection package type of the DDoS native protection instance. Default value: `Enterprise`. Valid values: `Enterprise`, `Professional`.
476
577
  """
477
578
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
478
579
 
@@ -480,11 +581,15 @@ class DdosBgpInstance(pulumi.CustomResource):
480
581
 
481
582
  __props__.__dict__["bandwidth"] = bandwidth
482
583
  __props__.__dict__["base_bandwidth"] = base_bandwidth
584
+ __props__.__dict__["instance_name"] = instance_name
483
585
  __props__.__dict__["ip_count"] = ip_count
484
586
  __props__.__dict__["ip_type"] = ip_type
485
587
  __props__.__dict__["name"] = name
486
588
  __props__.__dict__["normal_bandwidth"] = normal_bandwidth
487
589
  __props__.__dict__["period"] = period
590
+ __props__.__dict__["resource_group_id"] = resource_group_id
591
+ __props__.__dict__["status"] = status
592
+ __props__.__dict__["tags"] = tags
488
593
  __props__.__dict__["type"] = type
489
594
  return DdosBgpInstance(resource_name, opts=opts, __props__=__props__)
490
595
 
@@ -492,7 +597,7 @@ class DdosBgpInstance(pulumi.CustomResource):
492
597
  @pulumi.getter
493
598
  def bandwidth(self) -> pulumi.Output[_builtins.int]:
494
599
  """
495
- Elastic defend bandwidth of the instance. This value must be larger than the base defend bandwidth. Valid values: 51,91,101,201,301. The unit is Gbps.
600
+ The bandwidth of the package configuration.
496
601
  """
497
602
  return pulumi.get(self, "bandwidth")
498
603
 
@@ -500,15 +605,23 @@ class DdosBgpInstance(pulumi.CustomResource):
500
605
  @pulumi.getter(name="baseBandwidth")
501
606
  def base_bandwidth(self) -> pulumi.Output[Optional[_builtins.int]]:
502
607
  """
503
- Base defend bandwidth of the instance. Valid values: 20. The unit is Gbps. Default to `20`.
608
+ The basic protection bandwidth of the Anti-DDoS Origin Enterprise instance. Default value: `20`. Valid values: `20`.
504
609
  """
505
610
  return pulumi.get(self, "base_bandwidth")
506
611
 
612
+ @_builtins.property
613
+ @pulumi.getter(name="instanceName")
614
+ def instance_name(self) -> pulumi.Output[_builtins.str]:
615
+ """
616
+ The name of the instance.
617
+ """
618
+ return pulumi.get(self, "instance_name")
619
+
507
620
  @_builtins.property
508
621
  @pulumi.getter(name="ipCount")
509
622
  def ip_count(self) -> pulumi.Output[_builtins.int]:
510
623
  """
511
- IP count of the instance. Valid values: 100.
624
+ The number of IP addresses that can be protected by the Anti-DDoS Origin Enterprise instance.
512
625
  """
513
626
  return pulumi.get(self, "ip_count")
514
627
 
@@ -516,15 +629,18 @@ class DdosBgpInstance(pulumi.CustomResource):
516
629
  @pulumi.getter(name="ipType")
517
630
  def ip_type(self) -> pulumi.Output[_builtins.str]:
518
631
  """
519
- IP version of the instance. Valid values: IPv4,IPv6.
632
+ The protection IP address type of the protection package. Valid values:
633
+ - `IPv4`
634
+ - `IPv6`
520
635
  """
521
636
  return pulumi.get(self, "ip_type")
522
637
 
523
638
  @_builtins.property
524
639
  @pulumi.getter
640
+ @_utilities.deprecated("""Field `name` has been deprecated from provider version 1.259.0. New field `instance_name` instead.""")
525
641
  def name(self) -> pulumi.Output[_builtins.str]:
526
642
  """
527
- Name of the instance. This name can have a string of 1 to 63 characters.
643
+ Field `name` has been deprecated from provider version 1.259.0. New field `instance_name` instead.
528
644
  """
529
645
  return pulumi.get(self, "name")
530
646
 
@@ -532,7 +648,7 @@ class DdosBgpInstance(pulumi.CustomResource):
532
648
  @pulumi.getter(name="normalBandwidth")
533
649
  def normal_bandwidth(self) -> pulumi.Output[_builtins.int]:
534
650
  """
535
- Normal defend bandwidth of the instance. The unit is Gbps.
651
+ The normal clean bandwidth. Unit: Mbit/s.
536
652
  """
537
653
  return pulumi.get(self, "normal_bandwidth")
538
654
 
@@ -544,11 +660,35 @@ class DdosBgpInstance(pulumi.CustomResource):
544
660
  """
545
661
  return pulumi.get(self, "period")
546
662
 
663
+ @_builtins.property
664
+ @pulumi.getter(name="resourceGroupId")
665
+ def resource_group_id(self) -> pulumi.Output[_builtins.str]:
666
+ """
667
+ Resource Group ID
668
+ """
669
+ return pulumi.get(self, "resource_group_id")
670
+
671
+ @_builtins.property
672
+ @pulumi.getter
673
+ def status(self) -> pulumi.Output[_builtins.str]:
674
+ """
675
+ (Available since v1.259.0) The status of the Instance.
676
+ """
677
+ return pulumi.get(self, "status")
678
+
679
+ @_builtins.property
680
+ @pulumi.getter
681
+ def tags(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]:
682
+ """
683
+ The key of the tag that is added to the Anti-DDoS Origin instance.
684
+ """
685
+ return pulumi.get(self, "tags")
686
+
547
687
  @_builtins.property
548
688
  @pulumi.getter
549
- def type(self) -> pulumi.Output[Optional[_builtins.str]]:
689
+ def type(self) -> pulumi.Output[_builtins.str]:
550
690
  """
551
- Type of the instance. Valid values: `Enterprise`, `Professional`. Default to `Enterprise`
691
+ The protection package type of the DDoS native protection instance. Default value: `Enterprise`. Valid values: `Enterprise`, `Professional`.
552
692
  """
553
693
  return pulumi.get(self, "type")
554
694