pulumi-alicloud 3.67.0a1731734345__py3-none-any.whl → 3.67.0a1732274867__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 (44) hide show
  1. pulumi_alicloud/__init__.py +16 -0
  2. pulumi_alicloud/cen/flow_log.py +373 -58
  3. pulumi_alicloud/cen/transit_router_ecr_attachment.py +4 -4
  4. pulumi_alicloud/cr/registry_enterprise_instance.py +474 -90
  5. pulumi_alicloud/ecs/ecs_image_component.py +221 -48
  6. pulumi_alicloud/ess/_inputs.py +94 -0
  7. pulumi_alicloud/ess/eci_scaling_configuration.py +42 -14
  8. pulumi_alicloud/ess/outputs.py +79 -0
  9. pulumi_alicloud/ess/scaling_configuration.py +47 -0
  10. pulumi_alicloud/expressconnect/router_vbr_child_instance.py +86 -25
  11. pulumi_alicloud/kms/key.py +1 -1
  12. pulumi_alicloud/kvstore/account.py +24 -24
  13. pulumi_alicloud/kvstore/audit_log_config.py +4 -4
  14. pulumi_alicloud/kvstore/backup_policy.py +2 -2
  15. pulumi_alicloud/kvstore/connection.py +8 -8
  16. pulumi_alicloud/kvstore/get_accounts.py +4 -4
  17. pulumi_alicloud/kvstore/get_connections.py +5 -5
  18. pulumi_alicloud/kvstore/get_instance_classes.py +12 -12
  19. pulumi_alicloud/kvstore/get_instance_engines.py +7 -7
  20. pulumi_alicloud/kvstore/get_permission.py +10 -10
  21. pulumi_alicloud/kvstore/get_zones.py +4 -4
  22. pulumi_alicloud/kvstore/outputs.py +2 -2
  23. pulumi_alicloud/mongodb/instance.py +47 -0
  24. pulumi_alicloud/mongodb/sharding_instance.py +47 -0
  25. pulumi_alicloud/polardb/cluster.py +7 -7
  26. pulumi_alicloud/privatelink/vpc_endpoint_service.py +42 -91
  27. pulumi_alicloud/privatelink/vpc_endpoint_service_connection.py +27 -23
  28. pulumi_alicloud/privatelink/vpc_endpoint_service_resource.py +34 -37
  29. pulumi_alicloud/privatelink/vpc_endpoint_zone.py +28 -0
  30. pulumi_alicloud/pulumi-plugin.json +1 -1
  31. pulumi_alicloud/rds/__init__.py +2 -0
  32. pulumi_alicloud/rds/_inputs.py +146 -0
  33. pulumi_alicloud/rds/custom.py +1630 -0
  34. pulumi_alicloud/rds/custom_deployment_set.py +525 -0
  35. pulumi_alicloud/rds/outputs.py +105 -0
  36. pulumi_alicloud/redis/tair_instance.py +76 -1
  37. pulumi_alicloud/vpc/_inputs.py +54 -0
  38. pulumi_alicloud/vpc/nat_gateway.py +175 -14
  39. pulumi_alicloud/vpc/outputs.py +51 -0
  40. pulumi_alicloud/vpn/gateway_vco_route.py +68 -21
  41. {pulumi_alicloud-3.67.0a1731734345.dist-info → pulumi_alicloud-3.67.0a1732274867.dist-info}/METADATA +5 -5
  42. {pulumi_alicloud-3.67.0a1731734345.dist-info → pulumi_alicloud-3.67.0a1732274867.dist-info}/RECORD +44 -42
  43. {pulumi_alicloud-3.67.0a1731734345.dist-info → pulumi_alicloud-3.67.0a1732274867.dist-info}/WHEEL +1 -1
  44. {pulumi_alicloud-3.67.0a1731734345.dist-info → pulumi_alicloud-3.67.0a1732274867.dist-info}/top_level.txt +0 -0
@@ -28,13 +28,8 @@ class VpcEndpointServiceResourceArgs:
28
28
  The set of arguments for constructing a VpcEndpointServiceResource resource.
29
29
  :param pulumi.Input[str] resource_id: The service resource ID.
30
30
  :param pulumi.Input[str] resource_type: Service resource type, value:
31
- - **slb**: indicates that the service resource type is Classic Load Balancer (CLB).
32
- - **alb**: indicates that the service resource type is Application Load Balancer (ALB).
33
- - **nlb**: indicates that the service resource type is Network Load Balancer (NLB).
34
31
  :param pulumi.Input[str] service_id: The endpoint service ID.
35
32
  :param pulumi.Input[bool] dry_run: Specifies whether to perform only a dry run, without performing the actual request. Valid values:
36
- - **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error code is returned. If the request passes the dry run, the DryRunOperation error code is returned.
37
- - **false (default)**: performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
38
33
  :param pulumi.Input[str] zone_id: The ID of the zone to which the service resource belongs. (valid when the resource type is nlb/alb).
39
34
  """
40
35
  pulumi.set(__self__, "resource_id", resource_id)
@@ -62,9 +57,6 @@ class VpcEndpointServiceResourceArgs:
62
57
  def resource_type(self) -> pulumi.Input[str]:
63
58
  """
64
59
  Service resource type, value:
65
- - **slb**: indicates that the service resource type is Classic Load Balancer (CLB).
66
- - **alb**: indicates that the service resource type is Application Load Balancer (ALB).
67
- - **nlb**: indicates that the service resource type is Network Load Balancer (NLB).
68
60
  """
69
61
  return pulumi.get(self, "resource_type")
70
62
 
@@ -89,8 +81,6 @@ class VpcEndpointServiceResourceArgs:
89
81
  def dry_run(self) -> Optional[pulumi.Input[bool]]:
90
82
  """
91
83
  Specifies whether to perform only a dry run, without performing the actual request. Valid values:
92
- - **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error code is returned. If the request passes the dry run, the DryRunOperation error code is returned.
93
- - **false (default)**: performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
94
84
  """
95
85
  return pulumi.get(self, "dry_run")
96
86
 
@@ -115,6 +105,7 @@ class VpcEndpointServiceResourceArgs:
115
105
  class _VpcEndpointServiceResourceState:
116
106
  def __init__(__self__, *,
117
107
  dry_run: Optional[pulumi.Input[bool]] = None,
108
+ region_id: Optional[pulumi.Input[str]] = None,
118
109
  resource_id: Optional[pulumi.Input[str]] = None,
119
110
  resource_type: Optional[pulumi.Input[str]] = None,
120
111
  service_id: Optional[pulumi.Input[str]] = None,
@@ -122,18 +113,16 @@ class _VpcEndpointServiceResourceState:
122
113
  """
123
114
  Input properties used for looking up and filtering VpcEndpointServiceResource resources.
124
115
  :param pulumi.Input[bool] dry_run: Specifies whether to perform only a dry run, without performing the actual request. Valid values:
125
- - **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error code is returned. If the request passes the dry run, the DryRunOperation error code is returned.
126
- - **false (default)**: performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
116
+ :param pulumi.Input[str] region_id: (Available since v1.235.0) The ID of the region where the service resource is deployed.
127
117
  :param pulumi.Input[str] resource_id: The service resource ID.
128
118
  :param pulumi.Input[str] resource_type: Service resource type, value:
129
- - **slb**: indicates that the service resource type is Classic Load Balancer (CLB).
130
- - **alb**: indicates that the service resource type is Application Load Balancer (ALB).
131
- - **nlb**: indicates that the service resource type is Network Load Balancer (NLB).
132
119
  :param pulumi.Input[str] service_id: The endpoint service ID.
133
120
  :param pulumi.Input[str] zone_id: The ID of the zone to which the service resource belongs. (valid when the resource type is nlb/alb).
134
121
  """
135
122
  if dry_run is not None:
136
123
  pulumi.set(__self__, "dry_run", dry_run)
124
+ if region_id is not None:
125
+ pulumi.set(__self__, "region_id", region_id)
137
126
  if resource_id is not None:
138
127
  pulumi.set(__self__, "resource_id", resource_id)
139
128
  if resource_type is not None:
@@ -148,8 +137,6 @@ class _VpcEndpointServiceResourceState:
148
137
  def dry_run(self) -> Optional[pulumi.Input[bool]]:
149
138
  """
150
139
  Specifies whether to perform only a dry run, without performing the actual request. Valid values:
151
- - **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error code is returned. If the request passes the dry run, the DryRunOperation error code is returned.
152
- - **false (default)**: performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
153
140
  """
154
141
  return pulumi.get(self, "dry_run")
155
142
 
@@ -157,6 +144,18 @@ class _VpcEndpointServiceResourceState:
157
144
  def dry_run(self, value: Optional[pulumi.Input[bool]]):
158
145
  pulumi.set(self, "dry_run", value)
159
146
 
147
+ @property
148
+ @pulumi.getter(name="regionId")
149
+ def region_id(self) -> Optional[pulumi.Input[str]]:
150
+ """
151
+ (Available since v1.235.0) The ID of the region where the service resource is deployed.
152
+ """
153
+ return pulumi.get(self, "region_id")
154
+
155
+ @region_id.setter
156
+ def region_id(self, value: Optional[pulumi.Input[str]]):
157
+ pulumi.set(self, "region_id", value)
158
+
160
159
  @property
161
160
  @pulumi.getter(name="resourceId")
162
161
  def resource_id(self) -> Optional[pulumi.Input[str]]:
@@ -174,9 +173,6 @@ class _VpcEndpointServiceResourceState:
174
173
  def resource_type(self) -> Optional[pulumi.Input[str]]:
175
174
  """
176
175
  Service resource type, value:
177
- - **slb**: indicates that the service resource type is Classic Load Balancer (CLB).
178
- - **alb**: indicates that the service resource type is Application Load Balancer (ALB).
179
- - **nlb**: indicates that the service resource type is Network Load Balancer (NLB).
180
176
  """
181
177
  return pulumi.get(self, "resource_type")
182
178
 
@@ -221,7 +217,9 @@ class VpcEndpointServiceResource(pulumi.CustomResource):
221
217
  zone_id: Optional[pulumi.Input[str]] = None,
222
218
  __props__=None):
223
219
  """
224
- Provides a Private Link Vpc Endpoint Service Resource resource. Endpoint service resource.
220
+ Provides a Private Link Vpc Endpoint Service Resource resource.
221
+
222
+ Endpoint service resource.
225
223
 
226
224
  For information about Private Link Vpc Endpoint Service Resource and how to use it, see [What is Vpc Endpoint Service Resource](https://www.alibabacloud.com/help/en/privatelink/latest/api-privatelink-2020-04-15-attachresourcetovpcendpointservice).
227
225
 
@@ -282,13 +280,8 @@ class VpcEndpointServiceResource(pulumi.CustomResource):
282
280
  :param str resource_name: The name of the resource.
283
281
  :param pulumi.ResourceOptions opts: Options for the resource.
284
282
  :param pulumi.Input[bool] dry_run: Specifies whether to perform only a dry run, without performing the actual request. Valid values:
285
- - **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error code is returned. If the request passes the dry run, the DryRunOperation error code is returned.
286
- - **false (default)**: performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
287
283
  :param pulumi.Input[str] resource_id: The service resource ID.
288
284
  :param pulumi.Input[str] resource_type: Service resource type, value:
289
- - **slb**: indicates that the service resource type is Classic Load Balancer (CLB).
290
- - **alb**: indicates that the service resource type is Application Load Balancer (ALB).
291
- - **nlb**: indicates that the service resource type is Network Load Balancer (NLB).
292
285
  :param pulumi.Input[str] service_id: The endpoint service ID.
293
286
  :param pulumi.Input[str] zone_id: The ID of the zone to which the service resource belongs. (valid when the resource type is nlb/alb).
294
287
  """
@@ -299,7 +292,9 @@ class VpcEndpointServiceResource(pulumi.CustomResource):
299
292
  args: VpcEndpointServiceResourceArgs,
300
293
  opts: Optional[pulumi.ResourceOptions] = None):
301
294
  """
302
- Provides a Private Link Vpc Endpoint Service Resource resource. Endpoint service resource.
295
+ Provides a Private Link Vpc Endpoint Service Resource resource.
296
+
297
+ Endpoint service resource.
303
298
 
304
299
  For information about Private Link Vpc Endpoint Service Resource and how to use it, see [What is Vpc Endpoint Service Resource](https://www.alibabacloud.com/help/en/privatelink/latest/api-privatelink-2020-04-15-attachresourcetovpcendpointservice).
305
300
 
@@ -397,6 +392,7 @@ class VpcEndpointServiceResource(pulumi.CustomResource):
397
392
  raise TypeError("Missing required property 'service_id'")
398
393
  __props__.__dict__["service_id"] = service_id
399
394
  __props__.__dict__["zone_id"] = zone_id
395
+ __props__.__dict__["region_id"] = None
400
396
  super(VpcEndpointServiceResource, __self__).__init__(
401
397
  'alicloud:privatelink/vpcEndpointServiceResource:VpcEndpointServiceResource',
402
398
  resource_name,
@@ -408,6 +404,7 @@ class VpcEndpointServiceResource(pulumi.CustomResource):
408
404
  id: pulumi.Input[str],
409
405
  opts: Optional[pulumi.ResourceOptions] = None,
410
406
  dry_run: Optional[pulumi.Input[bool]] = None,
407
+ region_id: Optional[pulumi.Input[str]] = None,
411
408
  resource_id: Optional[pulumi.Input[str]] = None,
412
409
  resource_type: Optional[pulumi.Input[str]] = None,
413
410
  service_id: Optional[pulumi.Input[str]] = None,
@@ -420,13 +417,9 @@ class VpcEndpointServiceResource(pulumi.CustomResource):
420
417
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
421
418
  :param pulumi.ResourceOptions opts: Options for the resource.
422
419
  :param pulumi.Input[bool] dry_run: Specifies whether to perform only a dry run, without performing the actual request. Valid values:
423
- - **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error code is returned. If the request passes the dry run, the DryRunOperation error code is returned.
424
- - **false (default)**: performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
420
+ :param pulumi.Input[str] region_id: (Available since v1.235.0) The ID of the region where the service resource is deployed.
425
421
  :param pulumi.Input[str] resource_id: The service resource ID.
426
422
  :param pulumi.Input[str] resource_type: Service resource type, value:
427
- - **slb**: indicates that the service resource type is Classic Load Balancer (CLB).
428
- - **alb**: indicates that the service resource type is Application Load Balancer (ALB).
429
- - **nlb**: indicates that the service resource type is Network Load Balancer (NLB).
430
423
  :param pulumi.Input[str] service_id: The endpoint service ID.
431
424
  :param pulumi.Input[str] zone_id: The ID of the zone to which the service resource belongs. (valid when the resource type is nlb/alb).
432
425
  """
@@ -435,6 +428,7 @@ class VpcEndpointServiceResource(pulumi.CustomResource):
435
428
  __props__ = _VpcEndpointServiceResourceState.__new__(_VpcEndpointServiceResourceState)
436
429
 
437
430
  __props__.__dict__["dry_run"] = dry_run
431
+ __props__.__dict__["region_id"] = region_id
438
432
  __props__.__dict__["resource_id"] = resource_id
439
433
  __props__.__dict__["resource_type"] = resource_type
440
434
  __props__.__dict__["service_id"] = service_id
@@ -446,11 +440,17 @@ class VpcEndpointServiceResource(pulumi.CustomResource):
446
440
  def dry_run(self) -> pulumi.Output[Optional[bool]]:
447
441
  """
448
442
  Specifies whether to perform only a dry run, without performing the actual request. Valid values:
449
- - **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error code is returned. If the request passes the dry run, the DryRunOperation error code is returned.
450
- - **false (default)**: performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
451
443
  """
452
444
  return pulumi.get(self, "dry_run")
453
445
 
446
+ @property
447
+ @pulumi.getter(name="regionId")
448
+ def region_id(self) -> pulumi.Output[str]:
449
+ """
450
+ (Available since v1.235.0) The ID of the region where the service resource is deployed.
451
+ """
452
+ return pulumi.get(self, "region_id")
453
+
454
454
  @property
455
455
  @pulumi.getter(name="resourceId")
456
456
  def resource_id(self) -> pulumi.Output[str]:
@@ -464,9 +464,6 @@ class VpcEndpointServiceResource(pulumi.CustomResource):
464
464
  def resource_type(self) -> pulumi.Output[str]:
465
465
  """
466
466
  Service resource type, value:
467
- - **slb**: indicates that the service resource type is Classic Load Balancer (CLB).
468
- - **alb**: indicates that the service resource type is Application Load Balancer (ALB).
469
- - **nlb**: indicates that the service resource type is Network Load Balancer (NLB).
470
467
  """
471
468
  return pulumi.get(self, "resource_type")
472
469
 
@@ -108,6 +108,7 @@ class _VpcEndpointZoneState:
108
108
  dry_run: Optional[pulumi.Input[bool]] = None,
109
109
  endpoint_id: Optional[pulumi.Input[str]] = None,
110
110
  eni_ip: Optional[pulumi.Input[str]] = None,
111
+ region_id: Optional[pulumi.Input[str]] = None,
111
112
  status: Optional[pulumi.Input[str]] = None,
112
113
  vswitch_id: Optional[pulumi.Input[str]] = None,
113
114
  zone_id: Optional[pulumi.Input[str]] = None):
@@ -116,6 +117,7 @@ class _VpcEndpointZoneState:
116
117
  :param pulumi.Input[bool] dry_run: Specifies whether to perform only a dry run, without performing the actual request. Valid values:
117
118
  :param pulumi.Input[str] endpoint_id: The endpoint ID.
118
119
  :param pulumi.Input[str] eni_ip: The IP address of the endpoint ENI.
120
+ :param pulumi.Input[str] region_id: (Available since v1.235.0) The ID of the region to which the endpoint service belongs.
119
121
  :param pulumi.Input[str] status: The state of the zone.
120
122
  :param pulumi.Input[str] vswitch_id: The ID of the vSwitch in the zone.
121
123
  :param pulumi.Input[str] zone_id: The zone ID.
@@ -126,6 +128,8 @@ class _VpcEndpointZoneState:
126
128
  pulumi.set(__self__, "endpoint_id", endpoint_id)
127
129
  if eni_ip is not None:
128
130
  pulumi.set(__self__, "eni_ip", eni_ip)
131
+ if region_id is not None:
132
+ pulumi.set(__self__, "region_id", region_id)
129
133
  if status is not None:
130
134
  pulumi.set(__self__, "status", status)
131
135
  if vswitch_id is not None:
@@ -169,6 +173,18 @@ class _VpcEndpointZoneState:
169
173
  def eni_ip(self, value: Optional[pulumi.Input[str]]):
170
174
  pulumi.set(self, "eni_ip", value)
171
175
 
176
+ @property
177
+ @pulumi.getter(name="regionId")
178
+ def region_id(self) -> Optional[pulumi.Input[str]]:
179
+ """
180
+ (Available since v1.235.0) The ID of the region to which the endpoint service belongs.
181
+ """
182
+ return pulumi.get(self, "region_id")
183
+
184
+ @region_id.setter
185
+ def region_id(self, value: Optional[pulumi.Input[str]]):
186
+ pulumi.set(self, "region_id", value)
187
+
172
188
  @property
173
189
  @pulumi.getter
174
190
  def status(self) -> Optional[pulumi.Input[str]]:
@@ -395,6 +411,7 @@ class VpcEndpointZone(pulumi.CustomResource):
395
411
  raise TypeError("Missing required property 'vswitch_id'")
396
412
  __props__.__dict__["vswitch_id"] = vswitch_id
397
413
  __props__.__dict__["zone_id"] = zone_id
414
+ __props__.__dict__["region_id"] = None
398
415
  __props__.__dict__["status"] = None
399
416
  super(VpcEndpointZone, __self__).__init__(
400
417
  'alicloud:privatelink/vpcEndpointZone:VpcEndpointZone',
@@ -409,6 +426,7 @@ class VpcEndpointZone(pulumi.CustomResource):
409
426
  dry_run: Optional[pulumi.Input[bool]] = None,
410
427
  endpoint_id: Optional[pulumi.Input[str]] = None,
411
428
  eni_ip: Optional[pulumi.Input[str]] = None,
429
+ region_id: Optional[pulumi.Input[str]] = None,
412
430
  status: Optional[pulumi.Input[str]] = None,
413
431
  vswitch_id: Optional[pulumi.Input[str]] = None,
414
432
  zone_id: Optional[pulumi.Input[str]] = None) -> 'VpcEndpointZone':
@@ -422,6 +440,7 @@ class VpcEndpointZone(pulumi.CustomResource):
422
440
  :param pulumi.Input[bool] dry_run: Specifies whether to perform only a dry run, without performing the actual request. Valid values:
423
441
  :param pulumi.Input[str] endpoint_id: The endpoint ID.
424
442
  :param pulumi.Input[str] eni_ip: The IP address of the endpoint ENI.
443
+ :param pulumi.Input[str] region_id: (Available since v1.235.0) The ID of the region to which the endpoint service belongs.
425
444
  :param pulumi.Input[str] status: The state of the zone.
426
445
  :param pulumi.Input[str] vswitch_id: The ID of the vSwitch in the zone.
427
446
  :param pulumi.Input[str] zone_id: The zone ID.
@@ -433,6 +452,7 @@ class VpcEndpointZone(pulumi.CustomResource):
433
452
  __props__.__dict__["dry_run"] = dry_run
434
453
  __props__.__dict__["endpoint_id"] = endpoint_id
435
454
  __props__.__dict__["eni_ip"] = eni_ip
455
+ __props__.__dict__["region_id"] = region_id
436
456
  __props__.__dict__["status"] = status
437
457
  __props__.__dict__["vswitch_id"] = vswitch_id
438
458
  __props__.__dict__["zone_id"] = zone_id
@@ -462,6 +482,14 @@ class VpcEndpointZone(pulumi.CustomResource):
462
482
  """
463
483
  return pulumi.get(self, "eni_ip")
464
484
 
485
+ @property
486
+ @pulumi.getter(name="regionId")
487
+ def region_id(self) -> pulumi.Output[str]:
488
+ """
489
+ (Available since v1.235.0) The ID of the region to which the endpoint service belongs.
490
+ """
491
+ return pulumi.get(self, "region_id")
492
+
465
493
  @property
466
494
  @pulumi.getter
467
495
  def status(self) -> pulumi.Output[str]:
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "resource": true,
3
3
  "name": "alicloud",
4
- "version": "3.67.0-alpha.1731734345"
4
+ "version": "3.67.0-alpha.1732274867"
5
5
  }
@@ -9,6 +9,8 @@ from .account import *
9
9
  from .account_privilege import *
10
10
  from .backup_policy import *
11
11
  from .connection import *
12
+ from .custom import *
13
+ from .custom_deployment_set import *
12
14
  from .database import *
13
15
  from .db_instance_endpoint import *
14
16
  from .db_instance_endpoint_address import *
@@ -15,6 +15,10 @@ else:
15
15
  from .. import _utilities
16
16
 
17
17
  __all__ = [
18
+ 'CustomDataDiskArgs',
19
+ 'CustomDataDiskArgsDict',
20
+ 'CustomSystemDiskArgs',
21
+ 'CustomSystemDiskArgsDict',
18
22
  'DbInstanceEndpointNodeItemArgs',
19
23
  'DbInstanceEndpointNodeItemArgsDict',
20
24
  'DdrInstanceParameterArgs',
@@ -53,6 +57,148 @@ __all__ = [
53
57
 
54
58
  MYPY = False
55
59
 
60
+ if not MYPY:
61
+ class CustomDataDiskArgsDict(TypedDict):
62
+ category: NotRequired[pulumi.Input[str]]
63
+ """
64
+ Instance storage type
65
+
66
+ local_ssd: local SSD disk
67
+
68
+ cloud_essd:ESSD PL1 cloud disk
69
+ """
70
+ performance_level: NotRequired[pulumi.Input[str]]
71
+ """
72
+ Cloud Disk Performance
73
+
74
+ Currently only supports PL1
75
+ """
76
+ size: NotRequired[pulumi.Input[int]]
77
+ """
78
+ Instance storage space. Unit: GB.
79
+ """
80
+ elif False:
81
+ CustomDataDiskArgsDict: TypeAlias = Mapping[str, Any]
82
+
83
+ @pulumi.input_type
84
+ class CustomDataDiskArgs:
85
+ def __init__(__self__, *,
86
+ category: Optional[pulumi.Input[str]] = None,
87
+ performance_level: Optional[pulumi.Input[str]] = None,
88
+ size: Optional[pulumi.Input[int]] = None):
89
+ """
90
+ :param pulumi.Input[str] category: Instance storage type
91
+
92
+ local_ssd: local SSD disk
93
+
94
+ cloud_essd:ESSD PL1 cloud disk
95
+ :param pulumi.Input[str] performance_level: Cloud Disk Performance
96
+
97
+ Currently only supports PL1
98
+ :param pulumi.Input[int] size: Instance storage space. Unit: GB.
99
+ """
100
+ if category is not None:
101
+ pulumi.set(__self__, "category", category)
102
+ if performance_level is not None:
103
+ pulumi.set(__self__, "performance_level", performance_level)
104
+ if size is not None:
105
+ pulumi.set(__self__, "size", size)
106
+
107
+ @property
108
+ @pulumi.getter
109
+ def category(self) -> Optional[pulumi.Input[str]]:
110
+ """
111
+ Instance storage type
112
+
113
+ local_ssd: local SSD disk
114
+
115
+ cloud_essd:ESSD PL1 cloud disk
116
+ """
117
+ return pulumi.get(self, "category")
118
+
119
+ @category.setter
120
+ def category(self, value: Optional[pulumi.Input[str]]):
121
+ pulumi.set(self, "category", value)
122
+
123
+ @property
124
+ @pulumi.getter(name="performanceLevel")
125
+ def performance_level(self) -> Optional[pulumi.Input[str]]:
126
+ """
127
+ Cloud Disk Performance
128
+
129
+ Currently only supports PL1
130
+ """
131
+ return pulumi.get(self, "performance_level")
132
+
133
+ @performance_level.setter
134
+ def performance_level(self, value: Optional[pulumi.Input[str]]):
135
+ pulumi.set(self, "performance_level", value)
136
+
137
+ @property
138
+ @pulumi.getter
139
+ def size(self) -> Optional[pulumi.Input[int]]:
140
+ """
141
+ Instance storage space. Unit: GB.
142
+ """
143
+ return pulumi.get(self, "size")
144
+
145
+ @size.setter
146
+ def size(self, value: Optional[pulumi.Input[int]]):
147
+ pulumi.set(self, "size", value)
148
+
149
+
150
+ if not MYPY:
151
+ class CustomSystemDiskArgsDict(TypedDict):
152
+ category: NotRequired[pulumi.Input[str]]
153
+ """
154
+ The cloud disk type of the system disk. Currently, only `cloud_essd`(ESSD cloud disk) is supported.
155
+ """
156
+ size: NotRequired[pulumi.Input[str]]
157
+ """
158
+ System disk size, unit: GiB. Only ESSD PL1 is supported. Valid values range from 20 to 2048.
159
+ """
160
+ elif False:
161
+ CustomSystemDiskArgsDict: TypeAlias = Mapping[str, Any]
162
+
163
+ @pulumi.input_type
164
+ class CustomSystemDiskArgs:
165
+ def __init__(__self__, *,
166
+ category: Optional[pulumi.Input[str]] = None,
167
+ size: Optional[pulumi.Input[str]] = None):
168
+ """
169
+ :param pulumi.Input[str] category: The cloud disk type of the system disk. Currently, only `cloud_essd`(ESSD cloud disk) is supported.
170
+ :param pulumi.Input[str] size: System disk size, unit: GiB. Only ESSD PL1 is supported. Valid values range from 20 to 2048.
171
+ """
172
+ if category is not None:
173
+ pulumi.set(__self__, "category", category)
174
+ if size is not None:
175
+ pulumi.set(__self__, "size", size)
176
+
177
+ @property
178
+ @pulumi.getter
179
+ def category(self) -> Optional[pulumi.Input[str]]:
180
+ """
181
+ The cloud disk type of the system disk. Currently, only `cloud_essd`(ESSD cloud disk) is supported.
182
+ """
183
+ return pulumi.get(self, "category")
184
+
185
+ @category.setter
186
+ def category(self, value: Optional[pulumi.Input[str]]):
187
+ pulumi.set(self, "category", value)
188
+
189
+ @property
190
+ @pulumi.getter
191
+ def size(self) -> Optional[pulumi.Input[str]]:
192
+ """
193
+ System disk size, unit: GiB. Only ESSD PL1 is supported. Valid values range from 20 to 2048.
194
+ """
195
+ return pulumi.get(self, "size")
196
+
197
+ @size.setter
198
+ def size(self, value: Optional[pulumi.Input[str]]):
199
+ pulumi.set(self, "size", value)
200
+
201
+
56
202
  if not MYPY:
57
203
  class DbInstanceEndpointNodeItemArgsDict(TypedDict):
58
204
  node_id: pulumi.Input[str]