pulumi-alicloud 3.81.0a1750651450__py3-none-any.whl → 3.82.0__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 (35) hide show
  1. pulumi_alicloud/__init__.py +32 -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/cloudfirewall/__init__.py +1 -0
  7. pulumi_alicloud/cloudfirewall/policy_advanced_config.py +165 -0
  8. pulumi_alicloud/ecs/get_ecs_key_pairs.py +57 -13
  9. pulumi_alicloud/ecs/get_ecs_launch_templates.py +15 -14
  10. pulumi_alicloud/ecs/get_key_pairs.py +1 -1
  11. pulumi_alicloud/ecs/instance.py +115 -0
  12. pulumi_alicloud/ecs/outputs.py +128 -80
  13. pulumi_alicloud/emrv2/_inputs.py +74 -0
  14. pulumi_alicloud/emrv2/outputs.py +65 -0
  15. pulumi_alicloud/esa/__init__.py +2 -0
  16. pulumi_alicloud/esa/certificate.py +7 -28
  17. pulumi_alicloud/esa/custom_scene_policy.py +484 -0
  18. pulumi_alicloud/esa/version.py +406 -0
  19. pulumi_alicloud/gpdb/instance.py +28 -28
  20. pulumi_alicloud/hbr/__init__.py +1 -0
  21. pulumi_alicloud/hbr/get_udm_snapshots.py +282 -0
  22. pulumi_alicloud/hbr/outputs.py +96 -0
  23. pulumi_alicloud/kms/secret.py +42 -28
  24. pulumi_alicloud/maxcompute/_inputs.py +26 -6
  25. pulumi_alicloud/maxcompute/outputs.py +18 -4
  26. pulumi_alicloud/maxcompute/project.py +48 -1
  27. pulumi_alicloud/mongodb/instance.py +63 -16
  28. pulumi_alicloud/mongodb/sharding_instance.py +249 -0
  29. pulumi_alicloud/pulumi-plugin.json +1 -1
  30. pulumi_alicloud/threatdetection/__init__.py +1 -0
  31. pulumi_alicloud/threatdetection/cycle_task.py +731 -0
  32. {pulumi_alicloud-3.81.0a1750651450.dist-info → pulumi_alicloud-3.82.0.dist-info}/METADATA +1 -1
  33. {pulumi_alicloud-3.81.0a1750651450.dist-info → pulumi_alicloud-3.82.0.dist-info}/RECORD +35 -28
  34. {pulumi_alicloud-3.81.0a1750651450.dist-info → pulumi_alicloud-3.82.0.dist-info}/WHEEL +0 -0
  35. {pulumi_alicloud-3.81.0a1750651450.dist-info → pulumi_alicloud-3.82.0.dist-info}/top_level.txt +0 -0
@@ -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')))
@@ -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__, *,
@@ -38,8 +38,8 @@ class SecretArgs:
38
38
  version_stages: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None):
39
39
  """
40
40
  The set of arguments for constructing a Secret resource.
41
- :param pulumi.Input[builtins.str] secret_data: The data of the secret. **NOTE:** From version 1.204.1, attribute `secret_data` updating diff will be ignored when `secret_type` is not Generic.
42
- :param pulumi.Input[builtins.str] secret_name: The name of the secret.
41
+ :param pulumi.Input[builtins.str] secret_data: The data of the secret. **NOTE:** From version 1.204.1, `secret_data` updating diff will be ignored when `secret_type` is not `Generic`.
42
+ :param pulumi.Input[builtins.str] secret_name: The name of the secret. For more information, see [How to use it](https://www.alibabacloud.com/help/en/key-management-service/latest/kms-createsecret).
43
43
  :param pulumi.Input[builtins.str] version_id: The version number of the initial version.
44
44
  :param pulumi.Input[builtins.str] description: The description of the secret.
45
45
  :param pulumi.Input[builtins.str] dkms_instance_id: The ID of the KMS instance.
@@ -48,14 +48,16 @@ class SecretArgs:
48
48
  :param pulumi.Input[builtins.str] extended_config: The extended configuration of the secret. For more information, see [How to use it](https://www.alibabacloud.com/help/en/key-management-service/latest/kms-createsecret).
49
49
  :param pulumi.Input[builtins.bool] force_delete_without_recovery: Specifies whether to immediately delete a secret. Default value: `false`. Valid values: `true`, `false`.
50
50
  :param pulumi.Input[builtins.str] policy: The content of the secret policy. The value is in the JSON format. The value can be up to 32,768 bytes in length. For more information, see [How to use it](https://www.alibabacloud.com/help/en/kms/developer-reference/api-setsecretpolicy).
51
- :param pulumi.Input[builtins.int] recovery_window_in_days: Specifies the recovery period of the secret if you do not forcibly delete it. Default value: `30`. **NOTE:** If `force_delete_without_recovery` is set to `true`, `recovery_window_in_days` will be ignored.
52
- :param pulumi.Input[builtins.str] rotation_interval: The interval for automatic rotation.
51
+ :param pulumi.Input[builtins.int] recovery_window_in_days: Specifies the recovery period of the secret if you do not forcibly delete it. Unit: Days. Default value: `30`. Valid values: `7` to `30`. **NOTE:** If `force_delete_without_recovery` is set to `true`, `recovery_window_in_days` will be ignored.
52
+ :param pulumi.Input[builtins.str] rotation_interval: The interval for automatic rotation. For more information, see [How to use it](https://www.alibabacloud.com/help/en/key-management-service/latest/kms-createsecret).
53
53
  :param pulumi.Input[builtins.str] secret_data_type: The type of the secret value. Default value: `text`. Valid values: `text`, `binary`.
54
54
  :param pulumi.Input[builtins.str] secret_type: The type of the secret. Valid values:
55
55
  - `Generic`: Generic secret.
56
56
  - `Rds`: ApsaraDB RDS secret.
57
+ - `Redis`: (Available since v1.253.0) ApsaraDB for Redis secret.
57
58
  - `RAMCredentials`: RAM secret.
58
59
  - `ECS`: ECS secret.
60
+ - `PolarDB`: (Available since v1.253.0) PolarDB secret.
59
61
  :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: A mapping of tags to assign to the resource.
60
62
  :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] version_stages: The stage label that is used to mark the new version.
61
63
  """
@@ -93,7 +95,7 @@ class SecretArgs:
93
95
  @pulumi.getter(name="secretData")
94
96
  def secret_data(self) -> pulumi.Input[builtins.str]:
95
97
  """
96
- The data of the secret. **NOTE:** From version 1.204.1, attribute `secret_data` updating diff will be ignored when `secret_type` is not Generic.
98
+ The data of the secret. **NOTE:** From version 1.204.1, `secret_data` updating diff will be ignored when `secret_type` is not `Generic`.
97
99
  """
98
100
  return pulumi.get(self, "secret_data")
99
101
 
@@ -105,7 +107,7 @@ class SecretArgs:
105
107
  @pulumi.getter(name="secretName")
106
108
  def secret_name(self) -> pulumi.Input[builtins.str]:
107
109
  """
108
- The name of the secret.
110
+ The name of the secret. For more information, see [How to use it](https://www.alibabacloud.com/help/en/key-management-service/latest/kms-createsecret).
109
111
  """
110
112
  return pulumi.get(self, "secret_name")
111
113
 
@@ -213,7 +215,7 @@ class SecretArgs:
213
215
  @pulumi.getter(name="recoveryWindowInDays")
214
216
  def recovery_window_in_days(self) -> Optional[pulumi.Input[builtins.int]]:
215
217
  """
216
- Specifies the recovery period of the secret if you do not forcibly delete it. Default value: `30`. **NOTE:** If `force_delete_without_recovery` is set to `true`, `recovery_window_in_days` will be ignored.
218
+ Specifies the recovery period of the secret if you do not forcibly delete it. Unit: Days. Default value: `30`. Valid values: `7` to `30`. **NOTE:** If `force_delete_without_recovery` is set to `true`, `recovery_window_in_days` will be ignored.
217
219
  """
218
220
  return pulumi.get(self, "recovery_window_in_days")
219
221
 
@@ -225,7 +227,7 @@ class SecretArgs:
225
227
  @pulumi.getter(name="rotationInterval")
226
228
  def rotation_interval(self) -> Optional[pulumi.Input[builtins.str]]:
227
229
  """
228
- The interval for automatic rotation.
230
+ The interval for automatic rotation. For more information, see [How to use it](https://www.alibabacloud.com/help/en/key-management-service/latest/kms-createsecret).
229
231
  """
230
232
  return pulumi.get(self, "rotation_interval")
231
233
 
@@ -252,8 +254,10 @@ class SecretArgs:
252
254
  The type of the secret. Valid values:
253
255
  - `Generic`: Generic secret.
254
256
  - `Rds`: ApsaraDB RDS secret.
257
+ - `Redis`: (Available since v1.253.0) ApsaraDB for Redis secret.
255
258
  - `RAMCredentials`: RAM secret.
256
259
  - `ECS`: ECS secret.
260
+ - `PolarDB`: (Available since v1.253.0) PolarDB secret.
257
261
  """
258
262
  return pulumi.get(self, "secret_type")
259
263
 
@@ -320,16 +324,18 @@ class _SecretState:
320
324
  :param pulumi.Input[builtins.bool] force_delete_without_recovery: Specifies whether to immediately delete a secret. Default value: `false`. Valid values: `true`, `false`.
321
325
  :param pulumi.Input[builtins.str] planned_delete_time: The time when the secret is scheduled to be deleted.
322
326
  :param pulumi.Input[builtins.str] policy: The content of the secret policy. The value is in the JSON format. The value can be up to 32,768 bytes in length. For more information, see [How to use it](https://www.alibabacloud.com/help/en/kms/developer-reference/api-setsecretpolicy).
323
- :param pulumi.Input[builtins.int] recovery_window_in_days: Specifies the recovery period of the secret if you do not forcibly delete it. Default value: `30`. **NOTE:** If `force_delete_without_recovery` is set to `true`, `recovery_window_in_days` will be ignored.
324
- :param pulumi.Input[builtins.str] rotation_interval: The interval for automatic rotation.
325
- :param pulumi.Input[builtins.str] secret_data: The data of the secret. **NOTE:** From version 1.204.1, attribute `secret_data` updating diff will be ignored when `secret_type` is not Generic.
327
+ :param pulumi.Input[builtins.int] recovery_window_in_days: Specifies the recovery period of the secret if you do not forcibly delete it. Unit: Days. Default value: `30`. Valid values: `7` to `30`. **NOTE:** If `force_delete_without_recovery` is set to `true`, `recovery_window_in_days` will be ignored.
328
+ :param pulumi.Input[builtins.str] rotation_interval: The interval for automatic rotation. For more information, see [How to use it](https://www.alibabacloud.com/help/en/key-management-service/latest/kms-createsecret).
329
+ :param pulumi.Input[builtins.str] secret_data: The data of the secret. **NOTE:** From version 1.204.1, `secret_data` updating diff will be ignored when `secret_type` is not `Generic`.
326
330
  :param pulumi.Input[builtins.str] secret_data_type: The type of the secret value. Default value: `text`. Valid values: `text`, `binary`.
327
- :param pulumi.Input[builtins.str] secret_name: The name of the secret.
331
+ :param pulumi.Input[builtins.str] secret_name: The name of the secret. For more information, see [How to use it](https://www.alibabacloud.com/help/en/key-management-service/latest/kms-createsecret).
328
332
  :param pulumi.Input[builtins.str] secret_type: The type of the secret. Valid values:
329
333
  - `Generic`: Generic secret.
330
334
  - `Rds`: ApsaraDB RDS secret.
335
+ - `Redis`: (Available since v1.253.0) ApsaraDB for Redis secret.
331
336
  - `RAMCredentials`: RAM secret.
332
337
  - `ECS`: ECS secret.
338
+ - `PolarDB`: (Available since v1.253.0) PolarDB secret.
333
339
  :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: A mapping of tags to assign to the resource.
334
340
  :param pulumi.Input[builtins.str] version_id: The version number of the initial version.
335
341
  :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] version_stages: The stage label that is used to mark the new version.
@@ -497,7 +503,7 @@ class _SecretState:
497
503
  @pulumi.getter(name="recoveryWindowInDays")
498
504
  def recovery_window_in_days(self) -> Optional[pulumi.Input[builtins.int]]:
499
505
  """
500
- Specifies the recovery period of the secret if you do not forcibly delete it. Default value: `30`. **NOTE:** If `force_delete_without_recovery` is set to `true`, `recovery_window_in_days` will be ignored.
506
+ Specifies the recovery period of the secret if you do not forcibly delete it. Unit: Days. Default value: `30`. Valid values: `7` to `30`. **NOTE:** If `force_delete_without_recovery` is set to `true`, `recovery_window_in_days` will be ignored.
501
507
  """
502
508
  return pulumi.get(self, "recovery_window_in_days")
503
509
 
@@ -509,7 +515,7 @@ class _SecretState:
509
515
  @pulumi.getter(name="rotationInterval")
510
516
  def rotation_interval(self) -> Optional[pulumi.Input[builtins.str]]:
511
517
  """
512
- The interval for automatic rotation.
518
+ The interval for automatic rotation. For more information, see [How to use it](https://www.alibabacloud.com/help/en/key-management-service/latest/kms-createsecret).
513
519
  """
514
520
  return pulumi.get(self, "rotation_interval")
515
521
 
@@ -521,7 +527,7 @@ class _SecretState:
521
527
  @pulumi.getter(name="secretData")
522
528
  def secret_data(self) -> Optional[pulumi.Input[builtins.str]]:
523
529
  """
524
- The data of the secret. **NOTE:** From version 1.204.1, attribute `secret_data` updating diff will be ignored when `secret_type` is not Generic.
530
+ The data of the secret. **NOTE:** From version 1.204.1, `secret_data` updating diff will be ignored when `secret_type` is not `Generic`.
525
531
  """
526
532
  return pulumi.get(self, "secret_data")
527
533
 
@@ -545,7 +551,7 @@ class _SecretState:
545
551
  @pulumi.getter(name="secretName")
546
552
  def secret_name(self) -> Optional[pulumi.Input[builtins.str]]:
547
553
  """
548
- The name of the secret.
554
+ The name of the secret. For more information, see [How to use it](https://www.alibabacloud.com/help/en/key-management-service/latest/kms-createsecret).
549
555
  """
550
556
  return pulumi.get(self, "secret_name")
551
557
 
@@ -560,8 +566,10 @@ class _SecretState:
560
566
  The type of the secret. Valid values:
561
567
  - `Generic`: Generic secret.
562
568
  - `Rds`: ApsaraDB RDS secret.
569
+ - `Redis`: (Available since v1.253.0) ApsaraDB for Redis secret.
563
570
  - `RAMCredentials`: RAM secret.
564
571
  - `ECS`: ECS secret.
572
+ - `PolarDB`: (Available since v1.253.0) PolarDB secret.
565
573
  """
566
574
  return pulumi.get(self, "secret_type")
567
575
 
@@ -672,16 +680,18 @@ class Secret(pulumi.CustomResource):
672
680
  :param pulumi.Input[builtins.str] extended_config: The extended configuration of the secret. For more information, see [How to use it](https://www.alibabacloud.com/help/en/key-management-service/latest/kms-createsecret).
673
681
  :param pulumi.Input[builtins.bool] force_delete_without_recovery: Specifies whether to immediately delete a secret. Default value: `false`. Valid values: `true`, `false`.
674
682
  :param pulumi.Input[builtins.str] policy: The content of the secret policy. The value is in the JSON format. The value can be up to 32,768 bytes in length. For more information, see [How to use it](https://www.alibabacloud.com/help/en/kms/developer-reference/api-setsecretpolicy).
675
- :param pulumi.Input[builtins.int] recovery_window_in_days: Specifies the recovery period of the secret if you do not forcibly delete it. Default value: `30`. **NOTE:** If `force_delete_without_recovery` is set to `true`, `recovery_window_in_days` will be ignored.
676
- :param pulumi.Input[builtins.str] rotation_interval: The interval for automatic rotation.
677
- :param pulumi.Input[builtins.str] secret_data: The data of the secret. **NOTE:** From version 1.204.1, attribute `secret_data` updating diff will be ignored when `secret_type` is not Generic.
683
+ :param pulumi.Input[builtins.int] recovery_window_in_days: Specifies the recovery period of the secret if you do not forcibly delete it. Unit: Days. Default value: `30`. Valid values: `7` to `30`. **NOTE:** If `force_delete_without_recovery` is set to `true`, `recovery_window_in_days` will be ignored.
684
+ :param pulumi.Input[builtins.str] rotation_interval: The interval for automatic rotation. For more information, see [How to use it](https://www.alibabacloud.com/help/en/key-management-service/latest/kms-createsecret).
685
+ :param pulumi.Input[builtins.str] secret_data: The data of the secret. **NOTE:** From version 1.204.1, `secret_data` updating diff will be ignored when `secret_type` is not `Generic`.
678
686
  :param pulumi.Input[builtins.str] secret_data_type: The type of the secret value. Default value: `text`. Valid values: `text`, `binary`.
679
- :param pulumi.Input[builtins.str] secret_name: The name of the secret.
687
+ :param pulumi.Input[builtins.str] secret_name: The name of the secret. For more information, see [How to use it](https://www.alibabacloud.com/help/en/key-management-service/latest/kms-createsecret).
680
688
  :param pulumi.Input[builtins.str] secret_type: The type of the secret. Valid values:
681
689
  - `Generic`: Generic secret.
682
690
  - `Rds`: ApsaraDB RDS secret.
691
+ - `Redis`: (Available since v1.253.0) ApsaraDB for Redis secret.
683
692
  - `RAMCredentials`: RAM secret.
684
693
  - `ECS`: ECS secret.
694
+ - `PolarDB`: (Available since v1.253.0) PolarDB secret.
685
695
  :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: A mapping of tags to assign to the resource.
686
696
  :param pulumi.Input[builtins.str] version_id: The version number of the initial version.
687
697
  :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] version_stages: The stage label that is used to mark the new version.
@@ -839,16 +849,18 @@ class Secret(pulumi.CustomResource):
839
849
  :param pulumi.Input[builtins.bool] force_delete_without_recovery: Specifies whether to immediately delete a secret. Default value: `false`. Valid values: `true`, `false`.
840
850
  :param pulumi.Input[builtins.str] planned_delete_time: The time when the secret is scheduled to be deleted.
841
851
  :param pulumi.Input[builtins.str] policy: The content of the secret policy. The value is in the JSON format. The value can be up to 32,768 bytes in length. For more information, see [How to use it](https://www.alibabacloud.com/help/en/kms/developer-reference/api-setsecretpolicy).
842
- :param pulumi.Input[builtins.int] recovery_window_in_days: Specifies the recovery period of the secret if you do not forcibly delete it. Default value: `30`. **NOTE:** If `force_delete_without_recovery` is set to `true`, `recovery_window_in_days` will be ignored.
843
- :param pulumi.Input[builtins.str] rotation_interval: The interval for automatic rotation.
844
- :param pulumi.Input[builtins.str] secret_data: The data of the secret. **NOTE:** From version 1.204.1, attribute `secret_data` updating diff will be ignored when `secret_type` is not Generic.
852
+ :param pulumi.Input[builtins.int] recovery_window_in_days: Specifies the recovery period of the secret if you do not forcibly delete it. Unit: Days. Default value: `30`. Valid values: `7` to `30`. **NOTE:** If `force_delete_without_recovery` is set to `true`, `recovery_window_in_days` will be ignored.
853
+ :param pulumi.Input[builtins.str] rotation_interval: The interval for automatic rotation. For more information, see [How to use it](https://www.alibabacloud.com/help/en/key-management-service/latest/kms-createsecret).
854
+ :param pulumi.Input[builtins.str] secret_data: The data of the secret. **NOTE:** From version 1.204.1, `secret_data` updating diff will be ignored when `secret_type` is not `Generic`.
845
855
  :param pulumi.Input[builtins.str] secret_data_type: The type of the secret value. Default value: `text`. Valid values: `text`, `binary`.
846
- :param pulumi.Input[builtins.str] secret_name: The name of the secret.
856
+ :param pulumi.Input[builtins.str] secret_name: The name of the secret. For more information, see [How to use it](https://www.alibabacloud.com/help/en/key-management-service/latest/kms-createsecret).
847
857
  :param pulumi.Input[builtins.str] secret_type: The type of the secret. Valid values:
848
858
  - `Generic`: Generic secret.
849
859
  - `Rds`: ApsaraDB RDS secret.
860
+ - `Redis`: (Available since v1.253.0) ApsaraDB for Redis secret.
850
861
  - `RAMCredentials`: RAM secret.
851
862
  - `ECS`: ECS secret.
863
+ - `PolarDB`: (Available since v1.253.0) PolarDB secret.
852
864
  :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: A mapping of tags to assign to the resource.
853
865
  :param pulumi.Input[builtins.str] version_id: The version number of the initial version.
854
866
  :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] version_stages: The stage label that is used to mark the new version.
@@ -962,7 +974,7 @@ class Secret(pulumi.CustomResource):
962
974
  @pulumi.getter(name="recoveryWindowInDays")
963
975
  def recovery_window_in_days(self) -> pulumi.Output[Optional[builtins.int]]:
964
976
  """
965
- Specifies the recovery period of the secret if you do not forcibly delete it. Default value: `30`. **NOTE:** If `force_delete_without_recovery` is set to `true`, `recovery_window_in_days` will be ignored.
977
+ Specifies the recovery period of the secret if you do not forcibly delete it. Unit: Days. Default value: `30`. Valid values: `7` to `30`. **NOTE:** If `force_delete_without_recovery` is set to `true`, `recovery_window_in_days` will be ignored.
966
978
  """
967
979
  return pulumi.get(self, "recovery_window_in_days")
968
980
 
@@ -970,7 +982,7 @@ class Secret(pulumi.CustomResource):
970
982
  @pulumi.getter(name="rotationInterval")
971
983
  def rotation_interval(self) -> pulumi.Output[Optional[builtins.str]]:
972
984
  """
973
- The interval for automatic rotation.
985
+ The interval for automatic rotation. For more information, see [How to use it](https://www.alibabacloud.com/help/en/key-management-service/latest/kms-createsecret).
974
986
  """
975
987
  return pulumi.get(self, "rotation_interval")
976
988
 
@@ -978,7 +990,7 @@ class Secret(pulumi.CustomResource):
978
990
  @pulumi.getter(name="secretData")
979
991
  def secret_data(self) -> pulumi.Output[builtins.str]:
980
992
  """
981
- The data of the secret. **NOTE:** From version 1.204.1, attribute `secret_data` updating diff will be ignored when `secret_type` is not Generic.
993
+ The data of the secret. **NOTE:** From version 1.204.1, `secret_data` updating diff will be ignored when `secret_type` is not `Generic`.
982
994
  """
983
995
  return pulumi.get(self, "secret_data")
984
996
 
@@ -994,7 +1006,7 @@ class Secret(pulumi.CustomResource):
994
1006
  @pulumi.getter(name="secretName")
995
1007
  def secret_name(self) -> pulumi.Output[builtins.str]:
996
1008
  """
997
- The name of the secret.
1009
+ The name of the secret. For more information, see [How to use it](https://www.alibabacloud.com/help/en/key-management-service/latest/kms-createsecret).
998
1010
  """
999
1011
  return pulumi.get(self, "secret_name")
1000
1012
 
@@ -1005,8 +1017,10 @@ class Secret(pulumi.CustomResource):
1005
1017
  The type of the secret. Valid values:
1006
1018
  - `Generic`: Generic secret.
1007
1019
  - `Rds`: ApsaraDB RDS secret.
1020
+ - `Redis`: (Available since v1.253.0) ApsaraDB for Redis secret.
1008
1021
  - `RAMCredentials`: RAM secret.
1009
1022
  - `ECS`: ECS secret.
1023
+ - `PolarDB`: (Available since v1.253.0) PolarDB secret.
1010
1024
  """
1011
1025
  return pulumi.get(self, "secret_type")
1012
1026