pulumi-alicloud 3.81.0a1750224117__py3-none-any.whl → 3.82.0a1751947305__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 (61) hide show
  1. pulumi_alicloud/__init__.py +40 -0
  2. pulumi_alicloud/alikafka/__init__.py +2 -0
  3. pulumi_alicloud/alikafka/_inputs.py +450 -0
  4. pulumi_alicloud/alikafka/instance.py +331 -95
  5. pulumi_alicloud/alikafka/outputs.py +346 -0
  6. pulumi_alicloud/cdn/get_service.py +4 -4
  7. pulumi_alicloud/cen/get_transit_router_route_table_propagations.py +116 -21
  8. pulumi_alicloud/cen/get_transit_router_route_tables.py +35 -29
  9. pulumi_alicloud/cen/get_transit_router_vpn_attachments.py +178 -59
  10. pulumi_alicloud/cen/outputs.py +56 -41
  11. pulumi_alicloud/cloudfirewall/__init__.py +1 -0
  12. pulumi_alicloud/cloudfirewall/policy_advanced_config.py +165 -0
  13. pulumi_alicloud/cs/_inputs.py +54 -0
  14. pulumi_alicloud/cs/node_pool.py +158 -45
  15. pulumi_alicloud/cs/outputs.py +51 -0
  16. pulumi_alicloud/dfs/vsc_mount_point.py +4 -4
  17. pulumi_alicloud/ecs/_inputs.py +66 -0
  18. pulumi_alicloud/ecs/ecs_network_interface.py +47 -0
  19. pulumi_alicloud/ecs/get_ecs_key_pairs.py +57 -13
  20. pulumi_alicloud/ecs/get_ecs_launch_templates.py +15 -14
  21. pulumi_alicloud/ecs/get_key_pairs.py +1 -1
  22. pulumi_alicloud/ecs/instance.py +115 -0
  23. pulumi_alicloud/ecs/outputs.py +176 -80
  24. pulumi_alicloud/eflo/node_group.py +103 -7
  25. pulumi_alicloud/emrv2/_inputs.py +74 -0
  26. pulumi_alicloud/emrv2/outputs.py +65 -0
  27. pulumi_alicloud/esa/__init__.py +2 -0
  28. pulumi_alicloud/esa/certificate.py +7 -28
  29. pulumi_alicloud/esa/custom_scene_policy.py +484 -0
  30. pulumi_alicloud/esa/version.py +406 -0
  31. pulumi_alicloud/eventbridge/service_linked_role.py +25 -31
  32. pulumi_alicloud/ga/forwarding_rule.py +2 -2
  33. pulumi_alicloud/gpdb/instance.py +28 -28
  34. pulumi_alicloud/hbr/__init__.py +1 -0
  35. pulumi_alicloud/hbr/get_udm_snapshots.py +282 -0
  36. pulumi_alicloud/hbr/ots_backup_plan.py +2 -2
  37. pulumi_alicloud/hbr/outputs.py +96 -0
  38. pulumi_alicloud/hbr/replication_vault.py +167 -41
  39. pulumi_alicloud/hbr/vault.py +21 -7
  40. pulumi_alicloud/kms/secret.py +42 -28
  41. pulumi_alicloud/maxcompute/_inputs.py +26 -6
  42. pulumi_alicloud/maxcompute/outputs.py +18 -4
  43. pulumi_alicloud/maxcompute/project.py +50 -3
  44. pulumi_alicloud/message/__init__.py +1 -0
  45. pulumi_alicloud/message/service_service.py +132 -0
  46. pulumi_alicloud/message/service_subscription.py +37 -23
  47. pulumi_alicloud/mns/get_service.py +8 -4
  48. pulumi_alicloud/mongodb/instance.py +63 -16
  49. pulumi_alicloud/mongodb/sharding_instance.py +249 -0
  50. pulumi_alicloud/pulumi-plugin.json +1 -1
  51. pulumi_alicloud/ram/role.py +306 -105
  52. pulumi_alicloud/rds/_inputs.py +0 -9
  53. pulumi_alicloud/rds/custom.py +360 -31
  54. pulumi_alicloud/rds/outputs.py +0 -6
  55. pulumi_alicloud/threatdetection/__init__.py +1 -0
  56. pulumi_alicloud/threatdetection/cycle_task.py +731 -0
  57. pulumi_alicloud/vpc/network_interface.py +34 -0
  58. {pulumi_alicloud-3.81.0a1750224117.dist-info → pulumi_alicloud-3.82.0a1751947305.dist-info}/METADATA +1 -1
  59. {pulumi_alicloud-3.81.0a1750224117.dist-info → pulumi_alicloud-3.82.0a1751947305.dist-info}/RECORD +61 -53
  60. {pulumi_alicloud-3.81.0a1750224117.dist-info → pulumi_alicloud-3.82.0a1751947305.dist-info}/WHEEL +0 -0
  61. {pulumi_alicloud-3.81.0a1750224117.dist-info → pulumi_alicloud-3.82.0a1751947305.dist-info}/top_level.txt +0 -0
@@ -83,10 +83,10 @@ class InstanceArgs:
83
83
  :param pulumi.Input[builtins.str] instance_charge_type: Field `instance_charge_type` has been deprecated from provider version 1.187.0. New field `payment_type` instead.
84
84
  :param pulumi.Input[builtins.int] instance_group_count: The number of nodes. Valid values: `2`, `4`, `8`, `12`, `16`, `24`, `32`, `64`, `96`, `128`.
85
85
  :param pulumi.Input[builtins.str] instance_network_type: The network type of the instance. Valid values: `VPC`.
86
- :param pulumi.Input[builtins.str] instance_spec: The specification of segment nodes.
87
- * When `db_instance_category` is `HighAvailability`, Valid values: `2C16G`, `4C32G`, `16C128G`.
88
- * When `db_instance_category` is `Basic`, Valid values: `2C8G`, `4C16G`, `8C32G`, `16C64G`.
89
- * When `db_instance_category` is `Serverless`, Valid values: `4C16G`, `8C32G`.
86
+ :param pulumi.Input[builtins.str] instance_spec: The specification of segment nodes. Valid values:
87
+ - If `db_instance_category` is set to `HighAvailability`, and `db_instance_mode` is set to `StorageElastic`. Valid values: `2C16G`, `4C32G`, `16C128G`.
88
+ - If `db_instance_category` is set to `Basic`, and `db_instance_mode` is set to `StorageElastic`. Valid values: `2C8G`, `4C16G`, `8C32G`, `16C64G`.
89
+ - If `db_instance_mode` is set to `Serverless`. Valid values: `4C16G`, `8C32G`.
90
90
  > **NOTE:** This parameter must be passed to create a storage elastic mode instance and a serverless version instance.
91
91
  :param pulumi.Input[Sequence[pulumi.Input['InstanceIpWhitelistArgs']]] ip_whitelists: The ip whitelist. See `ip_whitelist` below.
92
92
  Default to creating a whitelist group with the group name "default" and security_ip_list "127.0.0.1".
@@ -398,10 +398,10 @@ class InstanceArgs:
398
398
  @pulumi.getter(name="instanceSpec")
399
399
  def instance_spec(self) -> Optional[pulumi.Input[builtins.str]]:
400
400
  """
401
- The specification of segment nodes.
402
- * When `db_instance_category` is `HighAvailability`, Valid values: `2C16G`, `4C32G`, `16C128G`.
403
- * When `db_instance_category` is `Basic`, Valid values: `2C8G`, `4C16G`, `8C32G`, `16C64G`.
404
- * When `db_instance_category` is `Serverless`, Valid values: `4C16G`, `8C32G`.
401
+ The specification of segment nodes. Valid values:
402
+ - If `db_instance_category` is set to `HighAvailability`, and `db_instance_mode` is set to `StorageElastic`. Valid values: `2C16G`, `4C32G`, `16C128G`.
403
+ - If `db_instance_category` is set to `Basic`, and `db_instance_mode` is set to `StorageElastic`. Valid values: `2C8G`, `4C16G`, `8C32G`, `16C64G`.
404
+ - If `db_instance_mode` is set to `Serverless`. Valid values: `4C16G`, `8C32G`.
405
405
  > **NOTE:** This parameter must be passed to create a storage elastic mode instance and a serverless version instance.
406
406
  """
407
407
  return pulumi.get(self, "instance_spec")
@@ -772,10 +772,10 @@ class _InstanceState:
772
772
  :param pulumi.Input[builtins.str] instance_charge_type: Field `instance_charge_type` has been deprecated from provider version 1.187.0. New field `payment_type` instead.
773
773
  :param pulumi.Input[builtins.int] instance_group_count: The number of nodes. Valid values: `2`, `4`, `8`, `12`, `16`, `24`, `32`, `64`, `96`, `128`.
774
774
  :param pulumi.Input[builtins.str] instance_network_type: The network type of the instance. Valid values: `VPC`.
775
- :param pulumi.Input[builtins.str] instance_spec: The specification of segment nodes.
776
- * When `db_instance_category` is `HighAvailability`, Valid values: `2C16G`, `4C32G`, `16C128G`.
777
- * When `db_instance_category` is `Basic`, Valid values: `2C8G`, `4C16G`, `8C32G`, `16C64G`.
778
- * When `db_instance_category` is `Serverless`, Valid values: `4C16G`, `8C32G`.
775
+ :param pulumi.Input[builtins.str] instance_spec: The specification of segment nodes. Valid values:
776
+ - If `db_instance_category` is set to `HighAvailability`, and `db_instance_mode` is set to `StorageElastic`. Valid values: `2C16G`, `4C32G`, `16C128G`.
777
+ - If `db_instance_category` is set to `Basic`, and `db_instance_mode` is set to `StorageElastic`. Valid values: `2C8G`, `4C16G`, `8C32G`, `16C64G`.
778
+ - If `db_instance_mode` is set to `Serverless`. Valid values: `4C16G`, `8C32G`.
779
779
  > **NOTE:** This parameter must be passed to create a storage elastic mode instance and a serverless version instance.
780
780
  :param pulumi.Input[Sequence[pulumi.Input['InstanceIpWhitelistArgs']]] ip_whitelists: The ip whitelist. See `ip_whitelist` below.
781
781
  Default to creating a whitelist group with the group name "default" and security_ip_list "127.0.0.1".
@@ -1100,10 +1100,10 @@ class _InstanceState:
1100
1100
  @pulumi.getter(name="instanceSpec")
1101
1101
  def instance_spec(self) -> Optional[pulumi.Input[builtins.str]]:
1102
1102
  """
1103
- The specification of segment nodes.
1104
- * When `db_instance_category` is `HighAvailability`, Valid values: `2C16G`, `4C32G`, `16C128G`.
1105
- * When `db_instance_category` is `Basic`, Valid values: `2C8G`, `4C16G`, `8C32G`, `16C64G`.
1106
- * When `db_instance_category` is `Serverless`, Valid values: `4C16G`, `8C32G`.
1103
+ The specification of segment nodes. Valid values:
1104
+ - If `db_instance_category` is set to `HighAvailability`, and `db_instance_mode` is set to `StorageElastic`. Valid values: `2C16G`, `4C32G`, `16C128G`.
1105
+ - If `db_instance_category` is set to `Basic`, and `db_instance_mode` is set to `StorageElastic`. Valid values: `2C8G`, `4C16G`, `8C32G`, `16C64G`.
1106
+ - If `db_instance_mode` is set to `Serverless`. Valid values: `4C16G`, `8C32G`.
1107
1107
  > **NOTE:** This parameter must be passed to create a storage elastic mode instance and a serverless version instance.
1108
1108
  """
1109
1109
  return pulumi.get(self, "instance_spec")
@@ -1562,10 +1562,10 @@ class Instance(pulumi.CustomResource):
1562
1562
  :param pulumi.Input[builtins.str] instance_charge_type: Field `instance_charge_type` has been deprecated from provider version 1.187.0. New field `payment_type` instead.
1563
1563
  :param pulumi.Input[builtins.int] instance_group_count: The number of nodes. Valid values: `2`, `4`, `8`, `12`, `16`, `24`, `32`, `64`, `96`, `128`.
1564
1564
  :param pulumi.Input[builtins.str] instance_network_type: The network type of the instance. Valid values: `VPC`.
1565
- :param pulumi.Input[builtins.str] instance_spec: The specification of segment nodes.
1566
- * When `db_instance_category` is `HighAvailability`, Valid values: `2C16G`, `4C32G`, `16C128G`.
1567
- * When `db_instance_category` is `Basic`, Valid values: `2C8G`, `4C16G`, `8C32G`, `16C64G`.
1568
- * When `db_instance_category` is `Serverless`, Valid values: `4C16G`, `8C32G`.
1565
+ :param pulumi.Input[builtins.str] instance_spec: The specification of segment nodes. Valid values:
1566
+ - If `db_instance_category` is set to `HighAvailability`, and `db_instance_mode` is set to `StorageElastic`. Valid values: `2C16G`, `4C32G`, `16C128G`.
1567
+ - If `db_instance_category` is set to `Basic`, and `db_instance_mode` is set to `StorageElastic`. Valid values: `2C8G`, `4C16G`, `8C32G`, `16C64G`.
1568
+ - If `db_instance_mode` is set to `Serverless`. Valid values: `4C16G`, `8C32G`.
1569
1569
  > **NOTE:** This parameter must be passed to create a storage elastic mode instance and a serverless version instance.
1570
1570
  :param pulumi.Input[Sequence[pulumi.Input[Union['InstanceIpWhitelistArgs', 'InstanceIpWhitelistArgsDict']]]] ip_whitelists: The ip whitelist. See `ip_whitelist` below.
1571
1571
  Default to creating a whitelist group with the group name "default" and security_ip_list "127.0.0.1".
@@ -1848,10 +1848,10 @@ class Instance(pulumi.CustomResource):
1848
1848
  :param pulumi.Input[builtins.str] instance_charge_type: Field `instance_charge_type` has been deprecated from provider version 1.187.0. New field `payment_type` instead.
1849
1849
  :param pulumi.Input[builtins.int] instance_group_count: The number of nodes. Valid values: `2`, `4`, `8`, `12`, `16`, `24`, `32`, `64`, `96`, `128`.
1850
1850
  :param pulumi.Input[builtins.str] instance_network_type: The network type of the instance. Valid values: `VPC`.
1851
- :param pulumi.Input[builtins.str] instance_spec: The specification of segment nodes.
1852
- * When `db_instance_category` is `HighAvailability`, Valid values: `2C16G`, `4C32G`, `16C128G`.
1853
- * When `db_instance_category` is `Basic`, Valid values: `2C8G`, `4C16G`, `8C32G`, `16C64G`.
1854
- * When `db_instance_category` is `Serverless`, Valid values: `4C16G`, `8C32G`.
1851
+ :param pulumi.Input[builtins.str] instance_spec: The specification of segment nodes. Valid values:
1852
+ - If `db_instance_category` is set to `HighAvailability`, and `db_instance_mode` is set to `StorageElastic`. Valid values: `2C16G`, `4C32G`, `16C128G`.
1853
+ - If `db_instance_category` is set to `Basic`, and `db_instance_mode` is set to `StorageElastic`. Valid values: `2C8G`, `4C16G`, `8C32G`, `16C64G`.
1854
+ - If `db_instance_mode` is set to `Serverless`. Valid values: `4C16G`, `8C32G`.
1855
1855
  > **NOTE:** This parameter must be passed to create a storage elastic mode instance and a serverless version instance.
1856
1856
  :param pulumi.Input[Sequence[pulumi.Input[Union['InstanceIpWhitelistArgs', 'InstanceIpWhitelistArgsDict']]]] ip_whitelists: The ip whitelist. See `ip_whitelist` below.
1857
1857
  Default to creating a whitelist group with the group name "default" and security_ip_list "127.0.0.1".
@@ -2063,10 +2063,10 @@ class Instance(pulumi.CustomResource):
2063
2063
  @pulumi.getter(name="instanceSpec")
2064
2064
  def instance_spec(self) -> pulumi.Output[Optional[builtins.str]]:
2065
2065
  """
2066
- The specification of segment nodes.
2067
- * When `db_instance_category` is `HighAvailability`, Valid values: `2C16G`, `4C32G`, `16C128G`.
2068
- * When `db_instance_category` is `Basic`, Valid values: `2C8G`, `4C16G`, `8C32G`, `16C64G`.
2069
- * When `db_instance_category` is `Serverless`, Valid values: `4C16G`, `8C32G`.
2066
+ The specification of segment nodes. Valid values:
2067
+ - If `db_instance_category` is set to `HighAvailability`, and `db_instance_mode` is set to `StorageElastic`. Valid values: `2C16G`, `4C32G`, `16C128G`.
2068
+ - If `db_instance_category` is set to `Basic`, and `db_instance_mode` is set to `StorageElastic`. Valid values: `2C8G`, `4C16G`, `8C32G`, `16C64G`.
2069
+ - If `db_instance_mode` is set to `Serverless`. Valid values: `4C16G`, `8C32G`.
2070
2070
  > **NOTE:** This parameter must be passed to create a storage elastic mode instance and a serverless version instance.
2071
2071
  """
2072
2072
  return pulumi.get(self, "instance_spec")
@@ -24,6 +24,7 @@ from .get_restore_jobs import *
24
24
  from .get_server_backup_plans import *
25
25
  from .get_service import *
26
26
  from .get_snapshots import *
27
+ from .get_udm_snapshots import *
27
28
  from .get_vaults import *
28
29
  from .hana_backup_client import *
29
30
  from .hana_backup_plan import *
@@ -0,0 +1,282 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import builtins
6
+ import copy
7
+ import warnings
8
+ import sys
9
+ import pulumi
10
+ import pulumi.runtime
11
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
12
+ if sys.version_info >= (3, 11):
13
+ from typing import NotRequired, TypedDict, TypeAlias
14
+ else:
15
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
16
+ from .. import _utilities
17
+ from . import outputs
18
+
19
+ __all__ = [
20
+ 'GetUdmSnapshotsResult',
21
+ 'AwaitableGetUdmSnapshotsResult',
22
+ 'get_udm_snapshots',
23
+ 'get_udm_snapshots_output',
24
+ ]
25
+
26
+ @pulumi.output_type
27
+ class GetUdmSnapshotsResult:
28
+ """
29
+ A collection of values returned by getUdmSnapshots.
30
+ """
31
+ def __init__(__self__, disk_id=None, end_time=None, id=None, ids=None, instance_id=None, job_id=None, output_file=None, snapshots=None, source_type=None, start_time=None):
32
+ if disk_id and not isinstance(disk_id, str):
33
+ raise TypeError("Expected argument 'disk_id' to be a str")
34
+ pulumi.set(__self__, "disk_id", disk_id)
35
+ if end_time and not isinstance(end_time, int):
36
+ raise TypeError("Expected argument 'end_time' to be a int")
37
+ pulumi.set(__self__, "end_time", end_time)
38
+ if id and not isinstance(id, str):
39
+ raise TypeError("Expected argument 'id' to be a str")
40
+ pulumi.set(__self__, "id", id)
41
+ if ids and not isinstance(ids, list):
42
+ raise TypeError("Expected argument 'ids' to be a list")
43
+ pulumi.set(__self__, "ids", ids)
44
+ if instance_id and not isinstance(instance_id, str):
45
+ raise TypeError("Expected argument 'instance_id' to be a str")
46
+ pulumi.set(__self__, "instance_id", instance_id)
47
+ if job_id and not isinstance(job_id, str):
48
+ raise TypeError("Expected argument 'job_id' to be a str")
49
+ pulumi.set(__self__, "job_id", job_id)
50
+ if output_file and not isinstance(output_file, str):
51
+ raise TypeError("Expected argument 'output_file' to be a str")
52
+ pulumi.set(__self__, "output_file", output_file)
53
+ if snapshots and not isinstance(snapshots, list):
54
+ raise TypeError("Expected argument 'snapshots' to be a list")
55
+ pulumi.set(__self__, "snapshots", snapshots)
56
+ if source_type and not isinstance(source_type, str):
57
+ raise TypeError("Expected argument 'source_type' to be a str")
58
+ pulumi.set(__self__, "source_type", source_type)
59
+ if start_time and not isinstance(start_time, int):
60
+ raise TypeError("Expected argument 'start_time' to be a int")
61
+ pulumi.set(__self__, "start_time", start_time)
62
+
63
+ @property
64
+ @pulumi.getter(name="diskId")
65
+ def disk_id(self) -> Optional[builtins.str]:
66
+ """
67
+ Cloud disk ID. This field is valid only when SourceType = UDM_ECS_DISK.
68
+ """
69
+ return pulumi.get(self, "disk_id")
70
+
71
+ @property
72
+ @pulumi.getter(name="endTime")
73
+ def end_time(self) -> builtins.int:
74
+ return pulumi.get(self, "end_time")
75
+
76
+ @property
77
+ @pulumi.getter
78
+ def id(self) -> builtins.str:
79
+ """
80
+ The provider-assigned unique ID for this managed resource.
81
+ """
82
+ return pulumi.get(self, "id")
83
+
84
+ @property
85
+ @pulumi.getter
86
+ def ids(self) -> Sequence[builtins.str]:
87
+ """
88
+ A list of Udm Snapshot IDs.
89
+ """
90
+ return pulumi.get(self, "ids")
91
+
92
+ @property
93
+ @pulumi.getter(name="instanceId")
94
+ def instance_id(self) -> builtins.str:
95
+ """
96
+ ECS instance ID
97
+ """
98
+ return pulumi.get(self, "instance_id")
99
+
100
+ @property
101
+ @pulumi.getter(name="jobId")
102
+ def job_id(self) -> Optional[builtins.str]:
103
+ """
104
+ The ID of the backup job that creates the snapshot.
105
+ """
106
+ return pulumi.get(self, "job_id")
107
+
108
+ @property
109
+ @pulumi.getter(name="outputFile")
110
+ def output_file(self) -> Optional[builtins.str]:
111
+ return pulumi.get(self, "output_file")
112
+
113
+ @property
114
+ @pulumi.getter
115
+ def snapshots(self) -> Sequence['outputs.GetUdmSnapshotsSnapshotResult']:
116
+ """
117
+ A list of Udm Snapshot Entries. Each element contains the following attributes:
118
+ """
119
+ return pulumi.get(self, "snapshots")
120
+
121
+ @property
122
+ @pulumi.getter(name="sourceType")
123
+ def source_type(self) -> builtins.str:
124
+ """
125
+ Data source type. Only UDM_ECS and UDM_ECS_DISK are supported.
126
+ """
127
+ return pulumi.get(self, "source_type")
128
+
129
+ @property
130
+ @pulumi.getter(name="startTime")
131
+ def start_time(self) -> builtins.int:
132
+ """
133
+ Start Time
134
+ """
135
+ return pulumi.get(self, "start_time")
136
+
137
+
138
+ class AwaitableGetUdmSnapshotsResult(GetUdmSnapshotsResult):
139
+ # pylint: disable=using-constant-test
140
+ def __await__(self):
141
+ if False:
142
+ yield self
143
+ return GetUdmSnapshotsResult(
144
+ disk_id=self.disk_id,
145
+ end_time=self.end_time,
146
+ id=self.id,
147
+ ids=self.ids,
148
+ instance_id=self.instance_id,
149
+ job_id=self.job_id,
150
+ output_file=self.output_file,
151
+ snapshots=self.snapshots,
152
+ source_type=self.source_type,
153
+ start_time=self.start_time)
154
+
155
+
156
+ def get_udm_snapshots(disk_id: Optional[builtins.str] = None,
157
+ end_time: Optional[builtins.int] = None,
158
+ ids: Optional[Sequence[builtins.str]] = None,
159
+ instance_id: Optional[builtins.str] = None,
160
+ job_id: Optional[builtins.str] = None,
161
+ output_file: Optional[builtins.str] = None,
162
+ source_type: Optional[builtins.str] = None,
163
+ start_time: Optional[builtins.int] = None,
164
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetUdmSnapshotsResult:
165
+ """
166
+ This data source provides Hbr Udm Snapshot available to the user.[What is Udm Snapshot](https://next.api.alibabacloud.com/document/hbr/2017-09-08/DescribeUdmSnapshots)
167
+
168
+ > **NOTE:** Available since v1.253.0.
169
+
170
+ ## Example Usage
171
+
172
+ ```python
173
+ import pulumi
174
+ import pulumi_alicloud as alicloud
175
+
176
+ config = pulumi.Config()
177
+ name = config.get("name")
178
+ if name is None:
179
+ name = "terraform-example"
180
+ default = alicloud.hbr.get_udm_snapshots(source_type="UDM_ECS",
181
+ start_time=1642057551,
182
+ end_time=1750927687,
183
+ instance_id="i-08qv5q4c4j****")
184
+ pulumi.export("alicloudHbrUdmSnapshotExampleId", default.snapshots[0].id)
185
+ ```
186
+
187
+
188
+ :param builtins.str disk_id: Cloud disk ID. This field is valid only when SourceType = UDM_ECS_DISK.
189
+ :param builtins.int end_time: End Time
190
+ :param Sequence[builtins.str] ids: A list of Udm Snapshot IDs.
191
+ :param builtins.str instance_id: ECS instance ID
192
+ :param builtins.str job_id: The ID of the backup job that creates the snapshot.
193
+ :param builtins.str output_file: File name where to save data source results (after running `pulumi preview`).
194
+ :param builtins.str source_type: Data source type. Only UDM_ECS and UDM_ECS_DISK are supported.
195
+ :param builtins.int start_time: Start Time
196
+ """
197
+ __args__ = dict()
198
+ __args__['diskId'] = disk_id
199
+ __args__['endTime'] = end_time
200
+ __args__['ids'] = ids
201
+ __args__['instanceId'] = instance_id
202
+ __args__['jobId'] = job_id
203
+ __args__['outputFile'] = output_file
204
+ __args__['sourceType'] = source_type
205
+ __args__['startTime'] = start_time
206
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
207
+ __ret__ = pulumi.runtime.invoke('alicloud:hbr/getUdmSnapshots:getUdmSnapshots', __args__, opts=opts, typ=GetUdmSnapshotsResult).value
208
+
209
+ return AwaitableGetUdmSnapshotsResult(
210
+ disk_id=pulumi.get(__ret__, 'disk_id'),
211
+ end_time=pulumi.get(__ret__, 'end_time'),
212
+ id=pulumi.get(__ret__, 'id'),
213
+ ids=pulumi.get(__ret__, 'ids'),
214
+ instance_id=pulumi.get(__ret__, 'instance_id'),
215
+ job_id=pulumi.get(__ret__, 'job_id'),
216
+ output_file=pulumi.get(__ret__, 'output_file'),
217
+ snapshots=pulumi.get(__ret__, 'snapshots'),
218
+ source_type=pulumi.get(__ret__, 'source_type'),
219
+ start_time=pulumi.get(__ret__, 'start_time'))
220
+ def get_udm_snapshots_output(disk_id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
221
+ end_time: Optional[pulumi.Input[builtins.int]] = None,
222
+ ids: Optional[pulumi.Input[Optional[Sequence[builtins.str]]]] = None,
223
+ instance_id: Optional[pulumi.Input[builtins.str]] = None,
224
+ job_id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
225
+ output_file: Optional[pulumi.Input[Optional[builtins.str]]] = None,
226
+ source_type: Optional[pulumi.Input[builtins.str]] = None,
227
+ start_time: Optional[pulumi.Input[builtins.int]] = None,
228
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetUdmSnapshotsResult]:
229
+ """
230
+ This data source provides Hbr Udm Snapshot available to the user.[What is Udm Snapshot](https://next.api.alibabacloud.com/document/hbr/2017-09-08/DescribeUdmSnapshots)
231
+
232
+ > **NOTE:** Available since v1.253.0.
233
+
234
+ ## Example Usage
235
+
236
+ ```python
237
+ import pulumi
238
+ import pulumi_alicloud as alicloud
239
+
240
+ config = pulumi.Config()
241
+ name = config.get("name")
242
+ if name is None:
243
+ name = "terraform-example"
244
+ default = alicloud.hbr.get_udm_snapshots(source_type="UDM_ECS",
245
+ start_time=1642057551,
246
+ end_time=1750927687,
247
+ instance_id="i-08qv5q4c4j****")
248
+ pulumi.export("alicloudHbrUdmSnapshotExampleId", default.snapshots[0].id)
249
+ ```
250
+
251
+
252
+ :param builtins.str disk_id: Cloud disk ID. This field is valid only when SourceType = UDM_ECS_DISK.
253
+ :param builtins.int end_time: End Time
254
+ :param Sequence[builtins.str] ids: A list of Udm Snapshot IDs.
255
+ :param builtins.str instance_id: ECS instance ID
256
+ :param builtins.str job_id: The ID of the backup job that creates the snapshot.
257
+ :param builtins.str output_file: File name where to save data source results (after running `pulumi preview`).
258
+ :param builtins.str source_type: Data source type. Only UDM_ECS and UDM_ECS_DISK are supported.
259
+ :param builtins.int start_time: Start Time
260
+ """
261
+ __args__ = dict()
262
+ __args__['diskId'] = disk_id
263
+ __args__['endTime'] = end_time
264
+ __args__['ids'] = ids
265
+ __args__['instanceId'] = instance_id
266
+ __args__['jobId'] = job_id
267
+ __args__['outputFile'] = output_file
268
+ __args__['sourceType'] = source_type
269
+ __args__['startTime'] = start_time
270
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
271
+ __ret__ = pulumi.runtime.invoke_output('alicloud:hbr/getUdmSnapshots:getUdmSnapshots', __args__, opts=opts, typ=GetUdmSnapshotsResult)
272
+ return __ret__.apply(lambda __response__: GetUdmSnapshotsResult(
273
+ disk_id=pulumi.get(__response__, 'disk_id'),
274
+ end_time=pulumi.get(__response__, 'end_time'),
275
+ id=pulumi.get(__response__, 'id'),
276
+ ids=pulumi.get(__response__, 'ids'),
277
+ instance_id=pulumi.get(__response__, 'instance_id'),
278
+ job_id=pulumi.get(__response__, 'job_id'),
279
+ output_file=pulumi.get(__response__, 'output_file'),
280
+ snapshots=pulumi.get(__response__, 'snapshots'),
281
+ source_type=pulumi.get(__response__, 'source_type'),
282
+ start_time=pulumi.get(__response__, 'start_time')))
@@ -472,7 +472,7 @@ class OtsBackupPlan(pulumi.CustomResource):
472
472
  min=10000)
473
473
  default_vault = alicloud.hbr.Vault("default",
474
474
  vault_name=f"terraform-example-{default_integer['result']}",
475
- vault_type="OTS_BACKUP")
475
+ vault_type="STANDARD")
476
476
  default_instance = alicloud.ots.Instance("default",
477
477
  name=f"Example-{default_integer['result']}",
478
478
  description="terraform-example",
@@ -586,7 +586,7 @@ class OtsBackupPlan(pulumi.CustomResource):
586
586
  min=10000)
587
587
  default_vault = alicloud.hbr.Vault("default",
588
588
  vault_name=f"terraform-example-{default_integer['result']}",
589
- vault_type="OTS_BACKUP")
589
+ vault_type="STANDARD")
590
590
  default_instance = alicloud.ots.Instance("default",
591
591
  name=f"Example-{default_integer['result']}",
592
592
  description="terraform-example",
@@ -44,6 +44,7 @@ __all__ = [
44
44
  'GetServerBackupPlansPlanResult',
45
45
  'GetServerBackupPlansPlanDetailResult',
46
46
  'GetSnapshotsSnapshotResult',
47
+ 'GetUdmSnapshotsSnapshotResult',
47
48
  'GetVaultsVaultResult',
48
49
  ]
49
50
 
@@ -3647,6 +3648,101 @@ class GetSnapshotsSnapshotResult(dict):
3647
3648
  return pulumi.get(self, "updated_time")
3648
3649
 
3649
3650
 
3651
+ @pulumi.output_type
3652
+ class GetUdmSnapshotsSnapshotResult(dict):
3653
+ def __init__(__self__, *,
3654
+ create_time: builtins.str,
3655
+ disk_id: builtins.str,
3656
+ id: builtins.str,
3657
+ instance_id: builtins.str,
3658
+ job_id: builtins.str,
3659
+ source_type: builtins.str,
3660
+ start_time: builtins.int,
3661
+ udm_snapshot_id: builtins.str):
3662
+ """
3663
+ :param builtins.str create_time: The creation time of the resource
3664
+ :param builtins.str disk_id: Cloud disk ID. This field is valid only when SourceType = UDM_ECS_DISK.
3665
+ :param builtins.str id: The ID of the resource supplied above.
3666
+ :param builtins.str instance_id: ECS instance ID
3667
+ :param builtins.str job_id: The ID of the backup job that creates the snapshot.
3668
+ :param builtins.str source_type: Data source type. Only UDM_ECS and UDM_ECS_DISK are supported.
3669
+ :param builtins.int start_time: Start Time
3670
+ :param builtins.str udm_snapshot_id: The first ID of the resource
3671
+ """
3672
+ pulumi.set(__self__, "create_time", create_time)
3673
+ pulumi.set(__self__, "disk_id", disk_id)
3674
+ pulumi.set(__self__, "id", id)
3675
+ pulumi.set(__self__, "instance_id", instance_id)
3676
+ pulumi.set(__self__, "job_id", job_id)
3677
+ pulumi.set(__self__, "source_type", source_type)
3678
+ pulumi.set(__self__, "start_time", start_time)
3679
+ pulumi.set(__self__, "udm_snapshot_id", udm_snapshot_id)
3680
+
3681
+ @property
3682
+ @pulumi.getter(name="createTime")
3683
+ def create_time(self) -> builtins.str:
3684
+ """
3685
+ The creation time of the resource
3686
+ """
3687
+ return pulumi.get(self, "create_time")
3688
+
3689
+ @property
3690
+ @pulumi.getter(name="diskId")
3691
+ def disk_id(self) -> builtins.str:
3692
+ """
3693
+ Cloud disk ID. This field is valid only when SourceType = UDM_ECS_DISK.
3694
+ """
3695
+ return pulumi.get(self, "disk_id")
3696
+
3697
+ @property
3698
+ @pulumi.getter
3699
+ def id(self) -> builtins.str:
3700
+ """
3701
+ The ID of the resource supplied above.
3702
+ """
3703
+ return pulumi.get(self, "id")
3704
+
3705
+ @property
3706
+ @pulumi.getter(name="instanceId")
3707
+ def instance_id(self) -> builtins.str:
3708
+ """
3709
+ ECS instance ID
3710
+ """
3711
+ return pulumi.get(self, "instance_id")
3712
+
3713
+ @property
3714
+ @pulumi.getter(name="jobId")
3715
+ def job_id(self) -> builtins.str:
3716
+ """
3717
+ The ID of the backup job that creates the snapshot.
3718
+ """
3719
+ return pulumi.get(self, "job_id")
3720
+
3721
+ @property
3722
+ @pulumi.getter(name="sourceType")
3723
+ def source_type(self) -> builtins.str:
3724
+ """
3725
+ Data source type. Only UDM_ECS and UDM_ECS_DISK are supported.
3726
+ """
3727
+ return pulumi.get(self, "source_type")
3728
+
3729
+ @property
3730
+ @pulumi.getter(name="startTime")
3731
+ def start_time(self) -> builtins.int:
3732
+ """
3733
+ Start Time
3734
+ """
3735
+ return pulumi.get(self, "start_time")
3736
+
3737
+ @property
3738
+ @pulumi.getter(name="udmSnapshotId")
3739
+ def udm_snapshot_id(self) -> builtins.str:
3740
+ """
3741
+ The first ID of the resource
3742
+ """
3743
+ return pulumi.get(self, "udm_snapshot_id")
3744
+
3745
+
3650
3746
  @pulumi.output_type
3651
3747
  class GetVaultsVaultResult(dict):
3652
3748
  def __init__(__self__, *,