pulumi-alicloud 3.68.0__py3-none-any.whl → 3.68.0a1732598392__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.
- pulumi_alicloud/__init__.py +0 -40
- pulumi_alicloud/cdn/_inputs.py +23 -3
- pulumi_alicloud/cdn/domain_new.py +51 -93
- pulumi_alicloud/cdn/outputs.py +16 -2
- pulumi_alicloud/cdn/real_time_log_delivery.py +46 -97
- pulumi_alicloud/cen/get_flowlogs.py +35 -250
- pulumi_alicloud/cen/outputs.py +17 -116
- pulumi_alicloud/cs/node_pool.py +0 -7
- pulumi_alicloud/ecs/_inputs.py +0 -92
- pulumi_alicloud/ecs/auto_snapshot_policy.py +129 -323
- pulumi_alicloud/ecs/outputs.py +0 -88
- pulumi_alicloud/ecs/snapshot_policy.py +1 -154
- pulumi_alicloud/emrv2/_inputs.py +21 -875
- pulumi_alicloud/emrv2/cluster.py +0 -47
- pulumi_alicloud/emrv2/outputs.py +14 -580
- pulumi_alicloud/gwlb/__init__.py +0 -1
- pulumi_alicloud/gwlb/_inputs.py +126 -147
- pulumi_alicloud/gwlb/listener.py +50 -50
- pulumi_alicloud/gwlb/load_balancer.py +71 -78
- pulumi_alicloud/gwlb/outputs.py +84 -139
- pulumi_alicloud/gwlb/server_group.py +113 -162
- pulumi_alicloud/kvstore/audit_log_config.py +7 -7
- pulumi_alicloud/kvstore/backup_policy.py +9 -9
- pulumi_alicloud/kvstore/get_instance_classes.py +8 -8
- pulumi_alicloud/kvstore/get_instances.py +7 -9
- pulumi_alicloud/kvstore/instance.py +21 -21
- pulumi_alicloud/kvstore/outputs.py +6 -6
- pulumi_alicloud/nas/_inputs.py +0 -148
- pulumi_alicloud/nas/file_system.py +222 -482
- pulumi_alicloud/nas/outputs.py +0 -109
- pulumi_alicloud/pai/__init__.py +0 -7
- pulumi_alicloud/pai/workspace_workspace.py +6 -6
- pulumi_alicloud/pulumi-plugin.json +1 -1
- {pulumi_alicloud-3.68.0.dist-info → pulumi_alicloud-3.68.0a1732598392.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.68.0.dist-info → pulumi_alicloud-3.68.0a1732598392.dist-info}/RECORD +37 -45
- pulumi_alicloud/gwlb/get_zones.py +0 -173
- pulumi_alicloud/pai/_inputs.py +0 -129
- pulumi_alicloud/pai/outputs.py +0 -83
- pulumi_alicloud/pai/workspace_code_source.py +0 -702
- pulumi_alicloud/pai/workspace_dataset.py +0 -1081
- pulumi_alicloud/pai/workspace_datasetversion.py +0 -818
- pulumi_alicloud/pai/workspace_experiment.py +0 -394
- pulumi_alicloud/pai/workspace_run.py +0 -344
- {pulumi_alicloud-3.68.0.dist-info → pulumi_alicloud-3.68.0a1732598392.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.68.0.dist-info → pulumi_alicloud-3.68.0a1732598392.dist-info}/top_level.txt +0 -0
|
@@ -24,7 +24,7 @@ class BackupPolicyArgs:
|
|
|
24
24
|
backup_time: Optional[pulumi.Input[str]] = None):
|
|
25
25
|
"""
|
|
26
26
|
The set of arguments for constructing a BackupPolicy resource.
|
|
27
|
-
:param pulumi.Input[str] instance_id: The id of
|
|
27
|
+
:param pulumi.Input[str] instance_id: The id of ApsaraDB for Redis or Memcache intance.
|
|
28
28
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] backup_periods: Backup Cycle. Allowed values: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday
|
|
29
29
|
:param pulumi.Input[str] backup_time: Backup time, in the format of HH:mmZ- HH:mm Z
|
|
30
30
|
"""
|
|
@@ -38,7 +38,7 @@ class BackupPolicyArgs:
|
|
|
38
38
|
@pulumi.getter(name="instanceId")
|
|
39
39
|
def instance_id(self) -> pulumi.Input[str]:
|
|
40
40
|
"""
|
|
41
|
-
The id of
|
|
41
|
+
The id of ApsaraDB for Redis or Memcache intance.
|
|
42
42
|
"""
|
|
43
43
|
return pulumi.get(self, "instance_id")
|
|
44
44
|
|
|
@@ -81,7 +81,7 @@ class _BackupPolicyState:
|
|
|
81
81
|
Input properties used for looking up and filtering BackupPolicy resources.
|
|
82
82
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] backup_periods: Backup Cycle. Allowed values: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday
|
|
83
83
|
:param pulumi.Input[str] backup_time: Backup time, in the format of HH:mmZ- HH:mm Z
|
|
84
|
-
:param pulumi.Input[str] instance_id: The id of
|
|
84
|
+
:param pulumi.Input[str] instance_id: The id of ApsaraDB for Redis or Memcache intance.
|
|
85
85
|
"""
|
|
86
86
|
if backup_periods is not None:
|
|
87
87
|
pulumi.set(__self__, "backup_periods", backup_periods)
|
|
@@ -118,7 +118,7 @@ class _BackupPolicyState:
|
|
|
118
118
|
@pulumi.getter(name="instanceId")
|
|
119
119
|
def instance_id(self) -> Optional[pulumi.Input[str]]:
|
|
120
120
|
"""
|
|
121
|
-
The id of
|
|
121
|
+
The id of ApsaraDB for Redis or Memcache intance.
|
|
122
122
|
"""
|
|
123
123
|
return pulumi.get(self, "instance_id")
|
|
124
124
|
|
|
@@ -189,7 +189,7 @@ class BackupPolicy(pulumi.CustomResource):
|
|
|
189
189
|
|
|
190
190
|
## Import
|
|
191
191
|
|
|
192
|
-
|
|
192
|
+
KVStore backup policy can be imported using the id, e.g.
|
|
193
193
|
|
|
194
194
|
```sh
|
|
195
195
|
$ pulumi import alicloud:kvstore/backupPolicy:BackupPolicy example r-abc12345678
|
|
@@ -199,7 +199,7 @@ class BackupPolicy(pulumi.CustomResource):
|
|
|
199
199
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
200
200
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] backup_periods: Backup Cycle. Allowed values: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday
|
|
201
201
|
:param pulumi.Input[str] backup_time: Backup time, in the format of HH:mmZ- HH:mm Z
|
|
202
|
-
:param pulumi.Input[str] instance_id: The id of
|
|
202
|
+
:param pulumi.Input[str] instance_id: The id of ApsaraDB for Redis or Memcache intance.
|
|
203
203
|
"""
|
|
204
204
|
...
|
|
205
205
|
@overload
|
|
@@ -260,7 +260,7 @@ class BackupPolicy(pulumi.CustomResource):
|
|
|
260
260
|
|
|
261
261
|
## Import
|
|
262
262
|
|
|
263
|
-
|
|
263
|
+
KVStore backup policy can be imported using the id, e.g.
|
|
264
264
|
|
|
265
265
|
```sh
|
|
266
266
|
$ pulumi import alicloud:kvstore/backupPolicy:BackupPolicy example r-abc12345678
|
|
@@ -320,7 +320,7 @@ class BackupPolicy(pulumi.CustomResource):
|
|
|
320
320
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
321
321
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] backup_periods: Backup Cycle. Allowed values: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday
|
|
322
322
|
:param pulumi.Input[str] backup_time: Backup time, in the format of HH:mmZ- HH:mm Z
|
|
323
|
-
:param pulumi.Input[str] instance_id: The id of
|
|
323
|
+
:param pulumi.Input[str] instance_id: The id of ApsaraDB for Redis or Memcache intance.
|
|
324
324
|
"""
|
|
325
325
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
326
326
|
|
|
@@ -351,7 +351,7 @@ class BackupPolicy(pulumi.CustomResource):
|
|
|
351
351
|
@pulumi.getter(name="instanceId")
|
|
352
352
|
def instance_id(self) -> pulumi.Output[str]:
|
|
353
353
|
"""
|
|
354
|
-
The id of
|
|
354
|
+
The id of ApsaraDB for Redis or Memcache intance.
|
|
355
355
|
"""
|
|
356
356
|
return pulumi.get(self, "instance_id")
|
|
357
357
|
|
|
@@ -231,7 +231,7 @@ def get_instance_classes(architecture: Optional[str] = None,
|
|
|
231
231
|
"""
|
|
232
232
|
This data source provides the Tair (Redis OSS-Compatible) And Memcache (KVStore) Instance classes resource available info of Alibaba Cloud.
|
|
233
233
|
|
|
234
|
-
> **NOTE:** Available since v1.49.0
|
|
234
|
+
> **NOTE:** Available since v1.49.0+
|
|
235
235
|
|
|
236
236
|
## Example Usage
|
|
237
237
|
|
|
@@ -258,11 +258,11 @@ def get_instance_classes(architecture: Optional[str] = None,
|
|
|
258
258
|
:param str output_file: File name where to save data source results (after running `pulumi up`).
|
|
259
259
|
:param str package_type: It has been deprecated from 1.68.0.
|
|
260
260
|
:param str performance_type: It has been deprecated from 1.68.0.
|
|
261
|
-
:param str product_type: The type of the service. Valid values:
|
|
262
|
-
* Local: a Tair (Redis OSS-Compatible) And Memcache (KVStore) Instance with a local disk.
|
|
263
|
-
* OnECS: a Tair (Redis OSS-Compatible) And Memcache (KVStore) Instance with a standard disk. This type is available only on the Alibaba Cloud China site.
|
|
264
261
|
:param str series_type: The Tair (Redis OSS-Compatible) And Memcache (KVStore) Instance series type required by the user. Valid values: `enhanced_performance_type` and `hybrid_storage`.
|
|
265
262
|
:param int shard_number: The number of shard.Valid values: `1`, `2`, `4`, `8`, `16`, `32`, `64`, `128`, `256`.
|
|
263
|
+
* product_type - (Optional, Available since 1.130.0) The type of the service. Valid values:
|
|
264
|
+
* Local: an ApsaraDB for Redis instance with a local disk.
|
|
265
|
+
* OnECS: an ApsaraDB for Redis instance with a standard disk. This type is available only on the Alibaba Cloud China site.
|
|
266
266
|
:param str storage_type: It has been deprecated from 1.68.0.
|
|
267
267
|
:param str zone_id: The Zone to launch the Tair (Redis OSS-Compatible) And Memcache (KVStore) Instance.
|
|
268
268
|
"""
|
|
@@ -323,7 +323,7 @@ def get_instance_classes_output(architecture: Optional[pulumi.Input[Optional[str
|
|
|
323
323
|
"""
|
|
324
324
|
This data source provides the Tair (Redis OSS-Compatible) And Memcache (KVStore) Instance classes resource available info of Alibaba Cloud.
|
|
325
325
|
|
|
326
|
-
> **NOTE:** Available since v1.49.0
|
|
326
|
+
> **NOTE:** Available since v1.49.0+
|
|
327
327
|
|
|
328
328
|
## Example Usage
|
|
329
329
|
|
|
@@ -350,11 +350,11 @@ def get_instance_classes_output(architecture: Optional[pulumi.Input[Optional[str
|
|
|
350
350
|
:param str output_file: File name where to save data source results (after running `pulumi up`).
|
|
351
351
|
:param str package_type: It has been deprecated from 1.68.0.
|
|
352
352
|
:param str performance_type: It has been deprecated from 1.68.0.
|
|
353
|
-
:param str product_type: The type of the service. Valid values:
|
|
354
|
-
* Local: a Tair (Redis OSS-Compatible) And Memcache (KVStore) Instance with a local disk.
|
|
355
|
-
* OnECS: a Tair (Redis OSS-Compatible) And Memcache (KVStore) Instance with a standard disk. This type is available only on the Alibaba Cloud China site.
|
|
356
353
|
:param str series_type: The Tair (Redis OSS-Compatible) And Memcache (KVStore) Instance series type required by the user. Valid values: `enhanced_performance_type` and `hybrid_storage`.
|
|
357
354
|
:param int shard_number: The number of shard.Valid values: `1`, `2`, `4`, `8`, `16`, `32`, `64`, `128`, `256`.
|
|
355
|
+
* product_type - (Optional, Available since 1.130.0) The type of the service. Valid values:
|
|
356
|
+
* Local: an ApsaraDB for Redis instance with a local disk.
|
|
357
|
+
* OnECS: an ApsaraDB for Redis instance with a standard disk. This type is available only on the Alibaba Cloud China site.
|
|
358
358
|
:param str storage_type: It has been deprecated from 1.68.0.
|
|
359
359
|
:param str zone_id: The Zone to launch the Tair (Redis OSS-Compatible) And Memcache (KVStore) Instance.
|
|
360
360
|
"""
|
|
@@ -151,7 +151,7 @@ class GetInstancesResult:
|
|
|
151
151
|
@pulumi.getter(name="instanceClass")
|
|
152
152
|
def instance_class(self) -> Optional[str]:
|
|
153
153
|
"""
|
|
154
|
-
(Optional) Type of the applied
|
|
154
|
+
(Optional) Type of the applied ApsaraDB for instance.
|
|
155
155
|
For more information, see [Instance type table](https://www.alibabacloud.com/help/en/redis/product-overview/overview-4).
|
|
156
156
|
"""
|
|
157
157
|
return pulumi.get(self, "instance_class")
|
|
@@ -307,9 +307,8 @@ def get_instances(architecture_type: Optional[str] = None,
|
|
|
307
307
|
zone_id: Optional[str] = None,
|
|
308
308
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetInstancesResult:
|
|
309
309
|
"""
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
> **NOTE:** Available since v1.15.0.
|
|
310
|
+
The `kvstore_get_instances` data source provides a collection of kvstore instances available in Alicloud account.
|
|
311
|
+
Filters support regular expression for the instance name, searches by tags, and other filters which are listed below.
|
|
313
312
|
|
|
314
313
|
## Example Usage
|
|
315
314
|
|
|
@@ -329,7 +328,7 @@ def get_instances(architecture_type: Optional[str] = None,
|
|
|
329
328
|
:param str expired: The expiration status of the instance.
|
|
330
329
|
:param bool global_instance: Whether to create a distributed cache.
|
|
331
330
|
:param Sequence[str] ids: A list of KVStore DBInstance IDs.
|
|
332
|
-
:param str instance_class: Type of the applied
|
|
331
|
+
:param str instance_class: Type of the applied ApsaraDB for Redis instance. For more information, see [Instance type table](https://help.aliyun.com/zh/redis/developer-reference/instance-types).
|
|
333
332
|
:param str instance_type: The engine type of the KVStore DBInstance. Options are `Memcache`, and `Redis`. If no value is specified, all types are returned.
|
|
334
333
|
:param str name_regex: A regex string to apply to the instance name.
|
|
335
334
|
:param str network_type: The type of the network. Valid values: `CLASSIC`, `VPC`.
|
|
@@ -413,9 +412,8 @@ def get_instances_output(architecture_type: Optional[pulumi.Input[Optional[str]]
|
|
|
413
412
|
zone_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
414
413
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetInstancesResult]:
|
|
415
414
|
"""
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
> **NOTE:** Available since v1.15.0.
|
|
415
|
+
The `kvstore_get_instances` data source provides a collection of kvstore instances available in Alicloud account.
|
|
416
|
+
Filters support regular expression for the instance name, searches by tags, and other filters which are listed below.
|
|
419
417
|
|
|
420
418
|
## Example Usage
|
|
421
419
|
|
|
@@ -435,7 +433,7 @@ def get_instances_output(architecture_type: Optional[pulumi.Input[Optional[str]]
|
|
|
435
433
|
:param str expired: The expiration status of the instance.
|
|
436
434
|
:param bool global_instance: Whether to create a distributed cache.
|
|
437
435
|
:param Sequence[str] ids: A list of KVStore DBInstance IDs.
|
|
438
|
-
:param str instance_class: Type of the applied
|
|
436
|
+
:param str instance_class: Type of the applied ApsaraDB for Redis instance. For more information, see [Instance type table](https://help.aliyun.com/zh/redis/developer-reference/instance-types).
|
|
439
437
|
:param str instance_type: The engine type of the KVStore DBInstance. Options are `Memcache`, and `Redis`. If no value is specified, all types are returned.
|
|
440
438
|
:param str name_regex: A regex string to apply to the instance name.
|
|
441
439
|
:param str network_type: The type of the network. Valid values: `CLASSIC`, `VPC`.
|
|
@@ -100,7 +100,7 @@ class InstanceArgs:
|
|
|
100
100
|
:param pulumi.Input[str] connection_string_prefix: It has been deprecated from provider version 1.101.0 and resource `kvstore.Connection` instead.
|
|
101
101
|
:param pulumi.Input[str] coupon_no: The coupon code. **NOTE:** The default value `youhuiquan_promotion_option_id_for_blank` removed since v1.216.0, this can cause your status file to change even if it has not been modified, so please review your change plan before apply change plan.
|
|
102
102
|
:param pulumi.Input[str] db_instance_name: The name of KVStore DBInstance. It is a string of 2 to 256 characters.
|
|
103
|
-
:param pulumi.Input[str] dedicated_host_group_id: The ID of the dedicated cluster. This parameter is required when you create
|
|
103
|
+
:param pulumi.Input[str] dedicated_host_group_id: The ID of the dedicated cluster. This parameter is required when you create an ApsaraDB for Redis instance in a dedicated cluster.
|
|
104
104
|
:param pulumi.Input[bool] dry_run: Specifies whether to precheck the request. Valid values:
|
|
105
105
|
:param pulumi.Input[str] effective_time: The time when the database is switched after the instance is migrated, or when the major version is upgraded, or when the instance class is upgraded. Valid values:
|
|
106
106
|
- `Immediately` (Default): The configurations are immediately changed.
|
|
@@ -115,7 +115,7 @@ class InstanceArgs:
|
|
|
115
115
|
:param pulumi.Input[bool] global_instance: Whether to create a distributed cache. Default value: `false`.
|
|
116
116
|
:param pulumi.Input[str] global_instance_id: The ID of distributed cache.
|
|
117
117
|
:param pulumi.Input[str] instance_charge_type: It has been deprecated from provider version 1.101.0 and `payment_type` instead.
|
|
118
|
-
:param pulumi.Input[str] instance_class: Type of the applied
|
|
118
|
+
:param pulumi.Input[str] instance_class: Type of the applied ApsaraDB for Redis instance. It can be retrieved by data source `kvstore_get_instance_classes`
|
|
119
119
|
or referring to help-docs [Instance type table](https://www.alibabacloud.com/help/doc-detail/26350.htm).
|
|
120
120
|
:param pulumi.Input[str] instance_name: It has been deprecated from provider version 1.101.0 and `db_instance_name` instead.
|
|
121
121
|
:param pulumi.Input[bool] instance_release_protection: Whether to open the release protection.
|
|
@@ -139,7 +139,7 @@ class InstanceArgs:
|
|
|
139
139
|
:param pulumi.Input[str] resource_group_id: The ID of resource group which the resource belongs.
|
|
140
140
|
:param pulumi.Input[str] restore_time: The point in time of a backup file.
|
|
141
141
|
:param pulumi.Input[str] role_arn: The Specify the global resource descriptor ARN (Alibaba Cloud Resource Name) information of the role to be authorized, and use the related key management services after the authorization is completed, in the format: `acs:ram::$accountID:role/$roleName`.
|
|
142
|
-
:param pulumi.Input[str] secondary_zone_id: The ID of the secondary zone to which you want to migrate the
|
|
142
|
+
:param pulumi.Input[str] secondary_zone_id: The ID of the secondary zone to which you want to migrate the ApsaraDB for Redis instance.
|
|
143
143
|
> **NOTE:** If you specify this parameter, the master node and replica node of the instance can be deployed in different zones and disaster recovery is implemented across zones. The instance can withstand failures in data centers.
|
|
144
144
|
:param pulumi.Input[str] security_group_id: The ID of security groups. Separate multiple security group IDs with commas (,), such as `sg-***,sg-***,sg-***`.
|
|
145
145
|
:param pulumi.Input[str] security_ip_group_attribute: The value of this parameter is empty by default. The attribute of the whitelist group. The console does not display the whitelist group whose value of this parameter is hidden.
|
|
@@ -481,7 +481,7 @@ class InstanceArgs:
|
|
|
481
481
|
@pulumi.getter(name="dedicatedHostGroupId")
|
|
482
482
|
def dedicated_host_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
483
483
|
"""
|
|
484
|
-
The ID of the dedicated cluster. This parameter is required when you create
|
|
484
|
+
The ID of the dedicated cluster. This parameter is required when you create an ApsaraDB for Redis instance in a dedicated cluster.
|
|
485
485
|
"""
|
|
486
486
|
return pulumi.get(self, "dedicated_host_group_id")
|
|
487
487
|
|
|
@@ -630,7 +630,7 @@ class InstanceArgs:
|
|
|
630
630
|
@pulumi.getter(name="instanceClass")
|
|
631
631
|
def instance_class(self) -> Optional[pulumi.Input[str]]:
|
|
632
632
|
"""
|
|
633
|
-
Type of the applied
|
|
633
|
+
Type of the applied ApsaraDB for Redis instance. It can be retrieved by data source `kvstore_get_instance_classes`
|
|
634
634
|
or referring to help-docs [Instance type table](https://www.alibabacloud.com/help/doc-detail/26350.htm).
|
|
635
635
|
"""
|
|
636
636
|
return pulumi.get(self, "instance_class")
|
|
@@ -910,7 +910,7 @@ class InstanceArgs:
|
|
|
910
910
|
@pulumi.getter(name="secondaryZoneId")
|
|
911
911
|
def secondary_zone_id(self) -> Optional[pulumi.Input[str]]:
|
|
912
912
|
"""
|
|
913
|
-
The ID of the secondary zone to which you want to migrate the
|
|
913
|
+
The ID of the secondary zone to which you want to migrate the ApsaraDB for Redis instance.
|
|
914
914
|
> **NOTE:** If you specify this parameter, the master node and replica node of the instance can be deployed in different zones and disaster recovery is implemented across zones. The instance can withstand failures in data centers.
|
|
915
915
|
"""
|
|
916
916
|
return pulumi.get(self, "secondary_zone_id")
|
|
@@ -1169,7 +1169,7 @@ class _InstanceState:
|
|
|
1169
1169
|
:param pulumi.Input[str] connection_string_prefix: It has been deprecated from provider version 1.101.0 and resource `kvstore.Connection` instead.
|
|
1170
1170
|
:param pulumi.Input[str] coupon_no: The coupon code. **NOTE:** The default value `youhuiquan_promotion_option_id_for_blank` removed since v1.216.0, this can cause your status file to change even if it has not been modified, so please review your change plan before apply change plan.
|
|
1171
1171
|
:param pulumi.Input[str] db_instance_name: The name of KVStore DBInstance. It is a string of 2 to 256 characters.
|
|
1172
|
-
:param pulumi.Input[str] dedicated_host_group_id: The ID of the dedicated cluster. This parameter is required when you create
|
|
1172
|
+
:param pulumi.Input[str] dedicated_host_group_id: The ID of the dedicated cluster. This parameter is required when you create an ApsaraDB for Redis instance in a dedicated cluster.
|
|
1173
1173
|
:param pulumi.Input[bool] dry_run: Specifies whether to precheck the request. Valid values:
|
|
1174
1174
|
:param pulumi.Input[str] effective_time: The time when the database is switched after the instance is migrated, or when the major version is upgraded, or when the instance class is upgraded. Valid values:
|
|
1175
1175
|
- `Immediately` (Default): The configurations are immediately changed.
|
|
@@ -1185,7 +1185,7 @@ class _InstanceState:
|
|
|
1185
1185
|
:param pulumi.Input[bool] global_instance: Whether to create a distributed cache. Default value: `false`.
|
|
1186
1186
|
:param pulumi.Input[str] global_instance_id: The ID of distributed cache.
|
|
1187
1187
|
:param pulumi.Input[str] instance_charge_type: It has been deprecated from provider version 1.101.0 and `payment_type` instead.
|
|
1188
|
-
:param pulumi.Input[str] instance_class: Type of the applied
|
|
1188
|
+
:param pulumi.Input[str] instance_class: Type of the applied ApsaraDB for Redis instance. It can be retrieved by data source `kvstore_get_instance_classes`
|
|
1189
1189
|
or referring to help-docs [Instance type table](https://www.alibabacloud.com/help/doc-detail/26350.htm).
|
|
1190
1190
|
:param pulumi.Input[str] instance_name: It has been deprecated from provider version 1.101.0 and `db_instance_name` instead.
|
|
1191
1191
|
:param pulumi.Input[bool] instance_release_protection: Whether to open the release protection.
|
|
@@ -1210,7 +1210,7 @@ class _InstanceState:
|
|
|
1210
1210
|
:param pulumi.Input[str] resource_group_id: The ID of resource group which the resource belongs.
|
|
1211
1211
|
:param pulumi.Input[str] restore_time: The point in time of a backup file.
|
|
1212
1212
|
:param pulumi.Input[str] role_arn: The Specify the global resource descriptor ARN (Alibaba Cloud Resource Name) information of the role to be authorized, and use the related key management services after the authorization is completed, in the format: `acs:ram::$accountID:role/$roleName`.
|
|
1213
|
-
:param pulumi.Input[str] secondary_zone_id: The ID of the secondary zone to which you want to migrate the
|
|
1213
|
+
:param pulumi.Input[str] secondary_zone_id: The ID of the secondary zone to which you want to migrate the ApsaraDB for Redis instance.
|
|
1214
1214
|
> **NOTE:** If you specify this parameter, the master node and replica node of the instance can be deployed in different zones and disaster recovery is implemented across zones. The instance can withstand failures in data centers.
|
|
1215
1215
|
:param pulumi.Input[str] security_group_id: The ID of security groups. Separate multiple security group IDs with commas (,), such as `sg-***,sg-***,sg-***`.
|
|
1216
1216
|
:param pulumi.Input[str] security_ip_group_attribute: The value of this parameter is empty by default. The attribute of the whitelist group. The console does not display the whitelist group whose value of this parameter is hidden.
|
|
@@ -1591,7 +1591,7 @@ class _InstanceState:
|
|
|
1591
1591
|
@pulumi.getter(name="dedicatedHostGroupId")
|
|
1592
1592
|
def dedicated_host_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
1593
1593
|
"""
|
|
1594
|
-
The ID of the dedicated cluster. This parameter is required when you create
|
|
1594
|
+
The ID of the dedicated cluster. This parameter is required when you create an ApsaraDB for Redis instance in a dedicated cluster.
|
|
1595
1595
|
"""
|
|
1596
1596
|
return pulumi.get(self, "dedicated_host_group_id")
|
|
1597
1597
|
|
|
@@ -1752,7 +1752,7 @@ class _InstanceState:
|
|
|
1752
1752
|
@pulumi.getter(name="instanceClass")
|
|
1753
1753
|
def instance_class(self) -> Optional[pulumi.Input[str]]:
|
|
1754
1754
|
"""
|
|
1755
|
-
Type of the applied
|
|
1755
|
+
Type of the applied ApsaraDB for Redis instance. It can be retrieved by data source `kvstore_get_instance_classes`
|
|
1756
1756
|
or referring to help-docs [Instance type table](https://www.alibabacloud.com/help/doc-detail/26350.htm).
|
|
1757
1757
|
"""
|
|
1758
1758
|
return pulumi.get(self, "instance_class")
|
|
@@ -2044,7 +2044,7 @@ class _InstanceState:
|
|
|
2044
2044
|
@pulumi.getter(name="secondaryZoneId")
|
|
2045
2045
|
def secondary_zone_id(self) -> Optional[pulumi.Input[str]]:
|
|
2046
2046
|
"""
|
|
2047
|
-
The ID of the secondary zone to which you want to migrate the
|
|
2047
|
+
The ID of the secondary zone to which you want to migrate the ApsaraDB for Redis instance.
|
|
2048
2048
|
> **NOTE:** If you specify this parameter, the master node and replica node of the instance can be deployed in different zones and disaster recovery is implemented across zones. The instance can withstand failures in data centers.
|
|
2049
2049
|
"""
|
|
2050
2050
|
return pulumi.get(self, "secondary_zone_id")
|
|
@@ -2320,7 +2320,7 @@ class Instance(pulumi.CustomResource):
|
|
|
2320
2320
|
:param pulumi.Input[str] connection_string_prefix: It has been deprecated from provider version 1.101.0 and resource `kvstore.Connection` instead.
|
|
2321
2321
|
:param pulumi.Input[str] coupon_no: The coupon code. **NOTE:** The default value `youhuiquan_promotion_option_id_for_blank` removed since v1.216.0, this can cause your status file to change even if it has not been modified, so please review your change plan before apply change plan.
|
|
2322
2322
|
:param pulumi.Input[str] db_instance_name: The name of KVStore DBInstance. It is a string of 2 to 256 characters.
|
|
2323
|
-
:param pulumi.Input[str] dedicated_host_group_id: The ID of the dedicated cluster. This parameter is required when you create
|
|
2323
|
+
:param pulumi.Input[str] dedicated_host_group_id: The ID of the dedicated cluster. This parameter is required when you create an ApsaraDB for Redis instance in a dedicated cluster.
|
|
2324
2324
|
:param pulumi.Input[bool] dry_run: Specifies whether to precheck the request. Valid values:
|
|
2325
2325
|
:param pulumi.Input[str] effective_time: The time when the database is switched after the instance is migrated, or when the major version is upgraded, or when the instance class is upgraded. Valid values:
|
|
2326
2326
|
- `Immediately` (Default): The configurations are immediately changed.
|
|
@@ -2335,7 +2335,7 @@ class Instance(pulumi.CustomResource):
|
|
|
2335
2335
|
:param pulumi.Input[bool] global_instance: Whether to create a distributed cache. Default value: `false`.
|
|
2336
2336
|
:param pulumi.Input[str] global_instance_id: The ID of distributed cache.
|
|
2337
2337
|
:param pulumi.Input[str] instance_charge_type: It has been deprecated from provider version 1.101.0 and `payment_type` instead.
|
|
2338
|
-
:param pulumi.Input[str] instance_class: Type of the applied
|
|
2338
|
+
:param pulumi.Input[str] instance_class: Type of the applied ApsaraDB for Redis instance. It can be retrieved by data source `kvstore_get_instance_classes`
|
|
2339
2339
|
or referring to help-docs [Instance type table](https://www.alibabacloud.com/help/doc-detail/26350.htm).
|
|
2340
2340
|
:param pulumi.Input[str] instance_name: It has been deprecated from provider version 1.101.0 and `db_instance_name` instead.
|
|
2341
2341
|
:param pulumi.Input[bool] instance_release_protection: Whether to open the release protection.
|
|
@@ -2359,7 +2359,7 @@ class Instance(pulumi.CustomResource):
|
|
|
2359
2359
|
:param pulumi.Input[str] resource_group_id: The ID of resource group which the resource belongs.
|
|
2360
2360
|
:param pulumi.Input[str] restore_time: The point in time of a backup file.
|
|
2361
2361
|
:param pulumi.Input[str] role_arn: The Specify the global resource descriptor ARN (Alibaba Cloud Resource Name) information of the role to be authorized, and use the related key management services after the authorization is completed, in the format: `acs:ram::$accountID:role/$roleName`.
|
|
2362
|
-
:param pulumi.Input[str] secondary_zone_id: The ID of the secondary zone to which you want to migrate the
|
|
2362
|
+
:param pulumi.Input[str] secondary_zone_id: The ID of the secondary zone to which you want to migrate the ApsaraDB for Redis instance.
|
|
2363
2363
|
> **NOTE:** If you specify this parameter, the master node and replica node of the instance can be deployed in different zones and disaster recovery is implemented across zones. The instance can withstand failures in data centers.
|
|
2364
2364
|
:param pulumi.Input[str] security_group_id: The ID of security groups. Separate multiple security group IDs with commas (,), such as `sg-***,sg-***,sg-***`.
|
|
2365
2365
|
:param pulumi.Input[str] security_ip_group_attribute: The value of this parameter is empty by default. The attribute of the whitelist group. The console does not display the whitelist group whose value of this parameter is hidden.
|
|
@@ -2652,7 +2652,7 @@ class Instance(pulumi.CustomResource):
|
|
|
2652
2652
|
:param pulumi.Input[str] connection_string_prefix: It has been deprecated from provider version 1.101.0 and resource `kvstore.Connection` instead.
|
|
2653
2653
|
:param pulumi.Input[str] coupon_no: The coupon code. **NOTE:** The default value `youhuiquan_promotion_option_id_for_blank` removed since v1.216.0, this can cause your status file to change even if it has not been modified, so please review your change plan before apply change plan.
|
|
2654
2654
|
:param pulumi.Input[str] db_instance_name: The name of KVStore DBInstance. It is a string of 2 to 256 characters.
|
|
2655
|
-
:param pulumi.Input[str] dedicated_host_group_id: The ID of the dedicated cluster. This parameter is required when you create
|
|
2655
|
+
:param pulumi.Input[str] dedicated_host_group_id: The ID of the dedicated cluster. This parameter is required when you create an ApsaraDB for Redis instance in a dedicated cluster.
|
|
2656
2656
|
:param pulumi.Input[bool] dry_run: Specifies whether to precheck the request. Valid values:
|
|
2657
2657
|
:param pulumi.Input[str] effective_time: The time when the database is switched after the instance is migrated, or when the major version is upgraded, or when the instance class is upgraded. Valid values:
|
|
2658
2658
|
- `Immediately` (Default): The configurations are immediately changed.
|
|
@@ -2668,7 +2668,7 @@ class Instance(pulumi.CustomResource):
|
|
|
2668
2668
|
:param pulumi.Input[bool] global_instance: Whether to create a distributed cache. Default value: `false`.
|
|
2669
2669
|
:param pulumi.Input[str] global_instance_id: The ID of distributed cache.
|
|
2670
2670
|
:param pulumi.Input[str] instance_charge_type: It has been deprecated from provider version 1.101.0 and `payment_type` instead.
|
|
2671
|
-
:param pulumi.Input[str] instance_class: Type of the applied
|
|
2671
|
+
:param pulumi.Input[str] instance_class: Type of the applied ApsaraDB for Redis instance. It can be retrieved by data source `kvstore_get_instance_classes`
|
|
2672
2672
|
or referring to help-docs [Instance type table](https://www.alibabacloud.com/help/doc-detail/26350.htm).
|
|
2673
2673
|
:param pulumi.Input[str] instance_name: It has been deprecated from provider version 1.101.0 and `db_instance_name` instead.
|
|
2674
2674
|
:param pulumi.Input[bool] instance_release_protection: Whether to open the release protection.
|
|
@@ -2693,7 +2693,7 @@ class Instance(pulumi.CustomResource):
|
|
|
2693
2693
|
:param pulumi.Input[str] resource_group_id: The ID of resource group which the resource belongs.
|
|
2694
2694
|
:param pulumi.Input[str] restore_time: The point in time of a backup file.
|
|
2695
2695
|
:param pulumi.Input[str] role_arn: The Specify the global resource descriptor ARN (Alibaba Cloud Resource Name) information of the role to be authorized, and use the related key management services after the authorization is completed, in the format: `acs:ram::$accountID:role/$roleName`.
|
|
2696
|
-
:param pulumi.Input[str] secondary_zone_id: The ID of the secondary zone to which you want to migrate the
|
|
2696
|
+
:param pulumi.Input[str] secondary_zone_id: The ID of the secondary zone to which you want to migrate the ApsaraDB for Redis instance.
|
|
2697
2697
|
> **NOTE:** If you specify this parameter, the master node and replica node of the instance can be deployed in different zones and disaster recovery is implemented across zones. The instance can withstand failures in data centers.
|
|
2698
2698
|
:param pulumi.Input[str] security_group_id: The ID of security groups. Separate multiple security group IDs with commas (,), such as `sg-***,sg-***,sg-***`.
|
|
2699
2699
|
:param pulumi.Input[str] security_ip_group_attribute: The value of this parameter is empty by default. The attribute of the whitelist group. The console does not display the whitelist group whose value of this parameter is hidden.
|
|
@@ -2923,7 +2923,7 @@ class Instance(pulumi.CustomResource):
|
|
|
2923
2923
|
@pulumi.getter(name="dedicatedHostGroupId")
|
|
2924
2924
|
def dedicated_host_group_id(self) -> pulumi.Output[Optional[str]]:
|
|
2925
2925
|
"""
|
|
2926
|
-
The ID of the dedicated cluster. This parameter is required when you create
|
|
2926
|
+
The ID of the dedicated cluster. This parameter is required when you create an ApsaraDB for Redis instance in a dedicated cluster.
|
|
2927
2927
|
"""
|
|
2928
2928
|
return pulumi.get(self, "dedicated_host_group_id")
|
|
2929
2929
|
|
|
@@ -3032,7 +3032,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3032
3032
|
@pulumi.getter(name="instanceClass")
|
|
3033
3033
|
def instance_class(self) -> pulumi.Output[Optional[str]]:
|
|
3034
3034
|
"""
|
|
3035
|
-
Type of the applied
|
|
3035
|
+
Type of the applied ApsaraDB for Redis instance. It can be retrieved by data source `kvstore_get_instance_classes`
|
|
3036
3036
|
or referring to help-docs [Instance type table](https://www.alibabacloud.com/help/doc-detail/26350.htm).
|
|
3037
3037
|
"""
|
|
3038
3038
|
return pulumi.get(self, "instance_class")
|
|
@@ -3228,7 +3228,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3228
3228
|
@pulumi.getter(name="secondaryZoneId")
|
|
3229
3229
|
def secondary_zone_id(self) -> pulumi.Output[Optional[str]]:
|
|
3230
3230
|
"""
|
|
3231
|
-
The ID of the secondary zone to which you want to migrate the
|
|
3231
|
+
The ID of the secondary zone to which you want to migrate the ApsaraDB for Redis instance.
|
|
3232
3232
|
> **NOTE:** If you specify this parameter, the master node and replica node of the instance can be deployed in different zones and disaster recovery is implemented across zones. The instance can withstand failures in data centers.
|
|
3233
3233
|
"""
|
|
3234
3234
|
return pulumi.get(self, "secondary_zone_id")
|
|
@@ -386,7 +386,7 @@ class GetInstancesInstanceResult(dict):
|
|
|
386
386
|
:param str architecture_type: The type of the architecture. Valid values: `cluster`, `standard` and `SplitRW`.
|
|
387
387
|
:param str availability_zone: It has been deprecated from provider version 1.101.0 and `zone_id` instead.
|
|
388
388
|
:param int bandwidth: Instance bandwidth limit. Unit: Mbit/s.
|
|
389
|
-
:param int capacity: Capacity of the applied
|
|
389
|
+
:param int capacity: Capacity of the applied ApsaraDB for the instance. Unit: MB.
|
|
390
390
|
:param str charge_type: It has been deprecated from provider version 1.101.0 and `payment_type` instead.
|
|
391
391
|
:param Mapping[str, str] config: The parameter configuration of the instance.
|
|
392
392
|
:param str connection_domain: Instance connection domain (only Intranet access supported).
|
|
@@ -401,7 +401,7 @@ class GetInstancesInstanceResult(dict):
|
|
|
401
401
|
:param str expire_time: It has been deprecated from provider version 1.101.0 and `end_time` instead.
|
|
402
402
|
:param bool has_renew_change_order: Indicates whether there was an order of renewal with configuration change that had not taken effect.
|
|
403
403
|
:param str id: The ID of the instance.
|
|
404
|
-
:param str instance_class: Type of the applied
|
|
404
|
+
:param str instance_class: Type of the applied ApsaraDB for Redis instance. For more information, see [Instance type table](https://help.aliyun.com/zh/redis/developer-reference/instance-types).
|
|
405
405
|
:param str instance_type: The engine type of the KVStore DBInstance. Options are `Memcache`, and `Redis`. If no value is specified, all types are returned.
|
|
406
406
|
:param bool is_rds: Indicates whether the instance is managed by Relational Database Service (RDS).
|
|
407
407
|
:param int max_connections: Instance connection quantity limit. Unit: count.
|
|
@@ -417,7 +417,7 @@ class GetInstancesInstanceResult(dict):
|
|
|
417
417
|
:param str replacate_id: The logical ID of the replica instance.
|
|
418
418
|
:param str resource_group_id: The ID of the resource group.
|
|
419
419
|
:param str search_key: The name of the instance.
|
|
420
|
-
:param str secondary_zone_id: (Optional, Available
|
|
420
|
+
:param str secondary_zone_id: (Optional, Available in 1.128.0+) The ID of the secondary zone to which you want to migrate the ApsaraDB for Redis instance.
|
|
421
421
|
:param str status: The status of the KVStore DBInstance. Valid values: `Changing`, `CleaningUpExpiredData`, `Creating`, `Flushing`, `HASwitching`, `Inactive`, `MajorVersionUpgrading`, `Migrating`, `NetworkModifying`, `Normal`, `Rebooting`, `SSLModifying`, `Transforming`, `ZoneMigrating`.
|
|
422
422
|
:param Mapping[str, str] tags: Query the instance bound to the tag. The format of the incoming value is `json` string, including `TagKey` and `TagValue`. `TagKey` cannot be null, and `TagValue` can be empty. Format example `{"key1":"value1"}`.
|
|
423
423
|
:param str user_name: The username of the instance.
|
|
@@ -518,7 +518,7 @@ class GetInstancesInstanceResult(dict):
|
|
|
518
518
|
@pulumi.getter
|
|
519
519
|
def capacity(self) -> int:
|
|
520
520
|
"""
|
|
521
|
-
Capacity of the applied
|
|
521
|
+
Capacity of the applied ApsaraDB for the instance. Unit: MB.
|
|
522
522
|
"""
|
|
523
523
|
return pulumi.get(self, "capacity")
|
|
524
524
|
|
|
@@ -638,7 +638,7 @@ class GetInstancesInstanceResult(dict):
|
|
|
638
638
|
@pulumi.getter(name="instanceClass")
|
|
639
639
|
def instance_class(self) -> str:
|
|
640
640
|
"""
|
|
641
|
-
Type of the applied
|
|
641
|
+
Type of the applied ApsaraDB for Redis instance. For more information, see [Instance type table](https://help.aliyun.com/zh/redis/developer-reference/instance-types).
|
|
642
642
|
"""
|
|
643
643
|
return pulumi.get(self, "instance_class")
|
|
644
644
|
|
|
@@ -781,7 +781,7 @@ class GetInstancesInstanceResult(dict):
|
|
|
781
781
|
@pulumi.getter(name="secondaryZoneId")
|
|
782
782
|
def secondary_zone_id(self) -> str:
|
|
783
783
|
"""
|
|
784
|
-
(Optional, Available
|
|
784
|
+
(Optional, Available in 1.128.0+) The ID of the secondary zone to which you want to migrate the ApsaraDB for Redis instance.
|
|
785
785
|
"""
|
|
786
786
|
return pulumi.get(self, "secondary_zone_id")
|
|
787
787
|
|
pulumi_alicloud/nas/_inputs.py
CHANGED
|
@@ -19,10 +19,6 @@ __all__ = [
|
|
|
19
19
|
'AccessPointPosixUserArgsDict',
|
|
20
20
|
'AccessPointRootPathPermissionArgs',
|
|
21
21
|
'AccessPointRootPathPermissionArgsDict',
|
|
22
|
-
'FileSystemNfsAclArgs',
|
|
23
|
-
'FileSystemNfsAclArgsDict',
|
|
24
|
-
'FileSystemRecycleBinArgs',
|
|
25
|
-
'FileSystemRecycleBinArgsDict',
|
|
26
22
|
]
|
|
27
23
|
|
|
28
24
|
MYPY = False
|
|
@@ -171,147 +167,3 @@ class AccessPointRootPathPermissionArgs:
|
|
|
171
167
|
pulumi.set(self, "permission", value)
|
|
172
168
|
|
|
173
169
|
|
|
174
|
-
if not MYPY:
|
|
175
|
-
class FileSystemNfsAclArgsDict(TypedDict):
|
|
176
|
-
enabled: NotRequired[pulumi.Input[bool]]
|
|
177
|
-
"""
|
|
178
|
-
Specifies whether to enable the NFS ACL feature. Default value: `false`. Valid values:
|
|
179
|
-
"""
|
|
180
|
-
elif False:
|
|
181
|
-
FileSystemNfsAclArgsDict: TypeAlias = Mapping[str, Any]
|
|
182
|
-
|
|
183
|
-
@pulumi.input_type
|
|
184
|
-
class FileSystemNfsAclArgs:
|
|
185
|
-
def __init__(__self__, *,
|
|
186
|
-
enabled: Optional[pulumi.Input[bool]] = None):
|
|
187
|
-
"""
|
|
188
|
-
:param pulumi.Input[bool] enabled: Specifies whether to enable the NFS ACL feature. Default value: `false`. Valid values:
|
|
189
|
-
"""
|
|
190
|
-
if enabled is not None:
|
|
191
|
-
pulumi.set(__self__, "enabled", enabled)
|
|
192
|
-
|
|
193
|
-
@property
|
|
194
|
-
@pulumi.getter
|
|
195
|
-
def enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
196
|
-
"""
|
|
197
|
-
Specifies whether to enable the NFS ACL feature. Default value: `false`. Valid values:
|
|
198
|
-
"""
|
|
199
|
-
return pulumi.get(self, "enabled")
|
|
200
|
-
|
|
201
|
-
@enabled.setter
|
|
202
|
-
def enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
203
|
-
pulumi.set(self, "enabled", value)
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
if not MYPY:
|
|
207
|
-
class FileSystemRecycleBinArgsDict(TypedDict):
|
|
208
|
-
enable_time: NotRequired[pulumi.Input[str]]
|
|
209
|
-
"""
|
|
210
|
-
The time at which the recycle bin was enabled.
|
|
211
|
-
"""
|
|
212
|
-
reserved_days: NotRequired[pulumi.Input[int]]
|
|
213
|
-
"""
|
|
214
|
-
The retention period of the files in the recycle bin. Unit: days. Default value: `3`. Valid values: `1` to `180`. **NOTE:** `reserved_days` takes effect only if `status` is set to `Enable`.
|
|
215
|
-
"""
|
|
216
|
-
secondary_size: NotRequired[pulumi.Input[int]]
|
|
217
|
-
"""
|
|
218
|
-
The size of the Infrequent Access (IA) data that is dumped to the recycle bin.
|
|
219
|
-
"""
|
|
220
|
-
size: NotRequired[pulumi.Input[int]]
|
|
221
|
-
"""
|
|
222
|
-
The size of the files that are dumped to the recycle bin.
|
|
223
|
-
"""
|
|
224
|
-
status: NotRequired[pulumi.Input[str]]
|
|
225
|
-
"""
|
|
226
|
-
Specifies whether to enable the recycle bin feature. Default value: `Disable`. Valid values: `Enable`, `Disable`.
|
|
227
|
-
"""
|
|
228
|
-
elif False:
|
|
229
|
-
FileSystemRecycleBinArgsDict: TypeAlias = Mapping[str, Any]
|
|
230
|
-
|
|
231
|
-
@pulumi.input_type
|
|
232
|
-
class FileSystemRecycleBinArgs:
|
|
233
|
-
def __init__(__self__, *,
|
|
234
|
-
enable_time: Optional[pulumi.Input[str]] = None,
|
|
235
|
-
reserved_days: Optional[pulumi.Input[int]] = None,
|
|
236
|
-
secondary_size: Optional[pulumi.Input[int]] = None,
|
|
237
|
-
size: Optional[pulumi.Input[int]] = None,
|
|
238
|
-
status: Optional[pulumi.Input[str]] = None):
|
|
239
|
-
"""
|
|
240
|
-
:param pulumi.Input[str] enable_time: The time at which the recycle bin was enabled.
|
|
241
|
-
:param pulumi.Input[int] reserved_days: The retention period of the files in the recycle bin. Unit: days. Default value: `3`. Valid values: `1` to `180`. **NOTE:** `reserved_days` takes effect only if `status` is set to `Enable`.
|
|
242
|
-
:param pulumi.Input[int] secondary_size: The size of the Infrequent Access (IA) data that is dumped to the recycle bin.
|
|
243
|
-
:param pulumi.Input[int] size: The size of the files that are dumped to the recycle bin.
|
|
244
|
-
:param pulumi.Input[str] status: Specifies whether to enable the recycle bin feature. Default value: `Disable`. Valid values: `Enable`, `Disable`.
|
|
245
|
-
"""
|
|
246
|
-
if enable_time is not None:
|
|
247
|
-
pulumi.set(__self__, "enable_time", enable_time)
|
|
248
|
-
if reserved_days is not None:
|
|
249
|
-
pulumi.set(__self__, "reserved_days", reserved_days)
|
|
250
|
-
if secondary_size is not None:
|
|
251
|
-
pulumi.set(__self__, "secondary_size", secondary_size)
|
|
252
|
-
if size is not None:
|
|
253
|
-
pulumi.set(__self__, "size", size)
|
|
254
|
-
if status is not None:
|
|
255
|
-
pulumi.set(__self__, "status", status)
|
|
256
|
-
|
|
257
|
-
@property
|
|
258
|
-
@pulumi.getter(name="enableTime")
|
|
259
|
-
def enable_time(self) -> Optional[pulumi.Input[str]]:
|
|
260
|
-
"""
|
|
261
|
-
The time at which the recycle bin was enabled.
|
|
262
|
-
"""
|
|
263
|
-
return pulumi.get(self, "enable_time")
|
|
264
|
-
|
|
265
|
-
@enable_time.setter
|
|
266
|
-
def enable_time(self, value: Optional[pulumi.Input[str]]):
|
|
267
|
-
pulumi.set(self, "enable_time", value)
|
|
268
|
-
|
|
269
|
-
@property
|
|
270
|
-
@pulumi.getter(name="reservedDays")
|
|
271
|
-
def reserved_days(self) -> Optional[pulumi.Input[int]]:
|
|
272
|
-
"""
|
|
273
|
-
The retention period of the files in the recycle bin. Unit: days. Default value: `3`. Valid values: `1` to `180`. **NOTE:** `reserved_days` takes effect only if `status` is set to `Enable`.
|
|
274
|
-
"""
|
|
275
|
-
return pulumi.get(self, "reserved_days")
|
|
276
|
-
|
|
277
|
-
@reserved_days.setter
|
|
278
|
-
def reserved_days(self, value: Optional[pulumi.Input[int]]):
|
|
279
|
-
pulumi.set(self, "reserved_days", value)
|
|
280
|
-
|
|
281
|
-
@property
|
|
282
|
-
@pulumi.getter(name="secondarySize")
|
|
283
|
-
def secondary_size(self) -> Optional[pulumi.Input[int]]:
|
|
284
|
-
"""
|
|
285
|
-
The size of the Infrequent Access (IA) data that is dumped to the recycle bin.
|
|
286
|
-
"""
|
|
287
|
-
return pulumi.get(self, "secondary_size")
|
|
288
|
-
|
|
289
|
-
@secondary_size.setter
|
|
290
|
-
def secondary_size(self, value: Optional[pulumi.Input[int]]):
|
|
291
|
-
pulumi.set(self, "secondary_size", value)
|
|
292
|
-
|
|
293
|
-
@property
|
|
294
|
-
@pulumi.getter
|
|
295
|
-
def size(self) -> Optional[pulumi.Input[int]]:
|
|
296
|
-
"""
|
|
297
|
-
The size of the files that are dumped to the recycle bin.
|
|
298
|
-
"""
|
|
299
|
-
return pulumi.get(self, "size")
|
|
300
|
-
|
|
301
|
-
@size.setter
|
|
302
|
-
def size(self, value: Optional[pulumi.Input[int]]):
|
|
303
|
-
pulumi.set(self, "size", value)
|
|
304
|
-
|
|
305
|
-
@property
|
|
306
|
-
@pulumi.getter
|
|
307
|
-
def status(self) -> Optional[pulumi.Input[str]]:
|
|
308
|
-
"""
|
|
309
|
-
Specifies whether to enable the recycle bin feature. Default value: `Disable`. Valid values: `Enable`, `Disable`.
|
|
310
|
-
"""
|
|
311
|
-
return pulumi.get(self, "status")
|
|
312
|
-
|
|
313
|
-
@status.setter
|
|
314
|
-
def status(self, value: Optional[pulumi.Input[str]]):
|
|
315
|
-
pulumi.set(self, "status", value)
|
|
316
|
-
|
|
317
|
-
|