pulumi-alicloud 3.59.0a1720785756__py3-none-any.whl → 3.59.1__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/_utilities.py +3 -4
- pulumi_alicloud/adb/_inputs.py +14 -0
- pulumi_alicloud/adb/outputs.py +14 -0
- pulumi_alicloud/alb/_inputs.py +224 -0
- pulumi_alicloud/alb/outputs.py +260 -0
- pulumi_alicloud/arms/_inputs.py +438 -0
- pulumi_alicloud/arms/outputs.py +442 -0
- pulumi_alicloud/bp/_inputs.py +14 -0
- pulumi_alicloud/bp/outputs.py +14 -0
- pulumi_alicloud/cas/outputs.py +4 -0
- pulumi_alicloud/cddc/outputs.py +6 -0
- pulumi_alicloud/cen/get_transit_router_service.py +2 -2
- pulumi_alicloud/cfg/_inputs.py +20 -0
- pulumi_alicloud/cfg/outputs.py +20 -0
- pulumi_alicloud/clickhouse/outputs.py +4 -0
- pulumi_alicloud/cloudfirewall/_inputs.py +40 -0
- pulumi_alicloud/cloudfirewall/control_policy_order.py +60 -44
- pulumi_alicloud/cloudfirewall/outputs.py +40 -0
- pulumi_alicloud/cloudmonitor/_inputs.py +18 -0
- pulumi_alicloud/cloudmonitor/outputs.py +18 -0
- pulumi_alicloud/cms/_inputs.py +188 -0
- pulumi_alicloud/cms/outputs.py +228 -0
- pulumi_alicloud/compute/_inputs.py +4 -0
- pulumi_alicloud/compute/outputs.py +4 -0
- pulumi_alicloud/cs/_inputs.py +22 -0
- pulumi_alicloud/cs/node_pool.py +7 -7
- pulumi_alicloud/cs/outputs.py +22 -0
- pulumi_alicloud/databasegateway/outputs.py +42 -0
- pulumi_alicloud/dcdn/_inputs.py +555 -27
- pulumi_alicloud/dcdn/domain.py +366 -217
- pulumi_alicloud/dcdn/outputs.py +550 -22
- pulumi_alicloud/ddos/_inputs.py +162 -0
- pulumi_alicloud/ddos/outputs.py +162 -0
- pulumi_alicloud/directmail/get_domains.py +31 -24
- pulumi_alicloud/directmail/outputs.py +131 -32
- pulumi_alicloud/ebs/_inputs.py +22 -0
- pulumi_alicloud/ebs/outputs.py +22 -0
- pulumi_alicloud/eci/_inputs.py +100 -0
- pulumi_alicloud/eci/outputs.py +100 -0
- pulumi_alicloud/ecs/_inputs.py +110 -8
- pulumi_alicloud/ecs/ecs_disk.py +7 -0
- pulumi_alicloud/ecs/instance.py +304 -102
- pulumi_alicloud/ecs/outputs.py +217 -9
- pulumi_alicloud/edas/_inputs.py +28 -0
- pulumi_alicloud/edas/outputs.py +28 -0
- pulumi_alicloud/ehpc/_inputs.py +6 -0
- pulumi_alicloud/ehpc/outputs.py +6 -0
- pulumi_alicloud/emr/_inputs.py +134 -0
- pulumi_alicloud/emr/outputs.py +148 -0
- pulumi_alicloud/emrv2/_inputs.py +224 -0
- pulumi_alicloud/emrv2/outputs.py +224 -0
- pulumi_alicloud/ess/_inputs.py +24 -0
- pulumi_alicloud/ess/outputs.py +24 -0
- pulumi_alicloud/eventbridge/_inputs.py +156 -0
- pulumi_alicloud/eventbridge/outputs.py +156 -0
- pulumi_alicloud/expressconnect/_inputs.py +12 -0
- pulumi_alicloud/expressconnect/outputs.py +12 -0
- pulumi_alicloud/fc/_inputs.py +32 -0
- pulumi_alicloud/fc/outputs.py +32 -0
- pulumi_alicloud/ga/_inputs.py +24 -0
- pulumi_alicloud/ga/outputs.py +24 -0
- pulumi_alicloud/gpdb/_inputs.py +48 -0
- pulumi_alicloud/gpdb/outputs.py +60 -0
- pulumi_alicloud/hbr/_inputs.py +68 -0
- pulumi_alicloud/hbr/outputs.py +68 -0
- pulumi_alicloud/imp/_inputs.py +14 -0
- pulumi_alicloud/imp/outputs.py +14 -0
- pulumi_alicloud/log/_inputs.py +14 -0
- pulumi_alicloud/log/outputs.py +14 -0
- pulumi_alicloud/maxcompute/_inputs.py +54 -34
- pulumi_alicloud/maxcompute/outputs.py +54 -34
- pulumi_alicloud/maxcompute/project.py +230 -66
- pulumi_alicloud/mongodb/_inputs.py +14 -0
- pulumi_alicloud/mongodb/outputs.py +14 -0
- pulumi_alicloud/oss/_inputs.py +100 -0
- pulumi_alicloud/oss/outputs.py +100 -0
- pulumi_alicloud/ots/_inputs.py +60 -0
- pulumi_alicloud/ots/outputs.py +60 -0
- pulumi_alicloud/polardb/_inputs.py +10 -0
- pulumi_alicloud/polardb/cluster.py +28 -28
- pulumi_alicloud/polardb/outputs.py +10 -0
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/pvtz/outputs.py +18 -0
- pulumi_alicloud/quotas/_inputs.py +10 -0
- pulumi_alicloud/quotas/outputs.py +10 -0
- pulumi_alicloud/ram/_inputs.py +24 -0
- pulumi_alicloud/ram/outputs.py +24 -0
- pulumi_alicloud/rdc/organization.py +2 -2
- pulumi_alicloud/realtimecompute/_inputs.py +6 -0
- pulumi_alicloud/realtimecompute/outputs.py +6 -0
- pulumi_alicloud/rocketmq/_inputs.py +36 -0
- pulumi_alicloud/rocketmq/outputs.py +36 -0
- pulumi_alicloud/ros/_inputs.py +72 -0
- pulumi_alicloud/ros/outputs.py +72 -0
- pulumi_alicloud/sae/_inputs.py +118 -0
- pulumi_alicloud/sae/outputs.py +118 -0
- pulumi_alicloud/scdn/_inputs.py +56 -0
- pulumi_alicloud/scdn/outputs.py +56 -0
- pulumi_alicloud/servicecatalog/_inputs.py +10 -0
- pulumi_alicloud/servicecatalog/outputs.py +10 -0
- pulumi_alicloud/servicemesh/_inputs.py +150 -0
- pulumi_alicloud/servicemesh/outputs.py +154 -0
- pulumi_alicloud/slb/_inputs.py +8 -8
- pulumi_alicloud/slb/outputs.py +8 -8
- pulumi_alicloud/slb/server_group.py +140 -84
- pulumi_alicloud/sls/_inputs.py +186 -0
- pulumi_alicloud/sls/outputs.py +186 -0
- pulumi_alicloud/threatdetection/_inputs.py +32 -0
- pulumi_alicloud/threatdetection/outputs.py +32 -0
- pulumi_alicloud/vod/_inputs.py +18 -0
- pulumi_alicloud/vod/outputs.py +18 -0
- pulumi_alicloud/vpc/_inputs.py +50 -12
- pulumi_alicloud/vpc/network.py +332 -134
- pulumi_alicloud/vpc/outputs.py +50 -12
- pulumi_alicloud/vpc/public_ip_address_pool.py +118 -10
- pulumi_alicloud/vpn/_inputs.py +10 -0
- pulumi_alicloud/vpn/outputs.py +14 -0
- pulumi_alicloud/wafv3/_inputs.py +10 -0
- pulumi_alicloud/wafv3/outputs.py +10 -0
- {pulumi_alicloud-3.59.0a1720785756.dist-info → pulumi_alicloud-3.59.1.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.59.0a1720785756.dist-info → pulumi_alicloud-3.59.1.dist-info}/RECORD +123 -123
- {pulumi_alicloud-3.59.0a1720785756.dist-info → pulumi_alicloud-3.59.1.dist-info}/WHEEL +1 -1
- {pulumi_alicloud-3.59.0a1720785756.dist-info → pulumi_alicloud-3.59.1.dist-info}/top_level.txt +0 -0
|
@@ -182,6 +182,11 @@ class ServerlessInstanceSecurityIpGroupArgs:
|
|
|
182
182
|
security_ip_group_attribute: Optional[pulumi.Input[str]] = None,
|
|
183
183
|
security_ip_group_name: Optional[pulumi.Input[str]] = None,
|
|
184
184
|
security_ip_list: Optional[pulumi.Input[str]] = None):
|
|
185
|
+
"""
|
|
186
|
+
:param pulumi.Input[str] security_ip_group_attribute: The attribute of the IP whitelist. This parameter is empty by default.
|
|
187
|
+
:param pulumi.Input[str] security_ip_group_name: The name of the IP whitelist.
|
|
188
|
+
:param pulumi.Input[str] security_ip_list: The IP addresses in the whitelist.
|
|
189
|
+
"""
|
|
185
190
|
if security_ip_group_attribute is not None:
|
|
186
191
|
pulumi.set(__self__, "security_ip_group_attribute", security_ip_group_attribute)
|
|
187
192
|
if security_ip_group_name is not None:
|
|
@@ -192,6 +197,9 @@ class ServerlessInstanceSecurityIpGroupArgs:
|
|
|
192
197
|
@property
|
|
193
198
|
@pulumi.getter(name="securityIpGroupAttribute")
|
|
194
199
|
def security_ip_group_attribute(self) -> Optional[pulumi.Input[str]]:
|
|
200
|
+
"""
|
|
201
|
+
The attribute of the IP whitelist. This parameter is empty by default.
|
|
202
|
+
"""
|
|
195
203
|
return pulumi.get(self, "security_ip_group_attribute")
|
|
196
204
|
|
|
197
205
|
@security_ip_group_attribute.setter
|
|
@@ -201,6 +209,9 @@ class ServerlessInstanceSecurityIpGroupArgs:
|
|
|
201
209
|
@property
|
|
202
210
|
@pulumi.getter(name="securityIpGroupName")
|
|
203
211
|
def security_ip_group_name(self) -> Optional[pulumi.Input[str]]:
|
|
212
|
+
"""
|
|
213
|
+
The name of the IP whitelist.
|
|
214
|
+
"""
|
|
204
215
|
return pulumi.get(self, "security_ip_group_name")
|
|
205
216
|
|
|
206
217
|
@security_ip_group_name.setter
|
|
@@ -210,6 +221,9 @@ class ServerlessInstanceSecurityIpGroupArgs:
|
|
|
210
221
|
@property
|
|
211
222
|
@pulumi.getter(name="securityIpList")
|
|
212
223
|
def security_ip_list(self) -> Optional[pulumi.Input[str]]:
|
|
224
|
+
"""
|
|
225
|
+
The IP addresses in the whitelist.
|
|
226
|
+
"""
|
|
213
227
|
return pulumi.get(self, "security_ip_list")
|
|
214
228
|
|
|
215
229
|
@security_ip_list.setter
|
|
@@ -207,6 +207,11 @@ class ServerlessInstanceSecurityIpGroup(dict):
|
|
|
207
207
|
security_ip_group_attribute: Optional[str] = None,
|
|
208
208
|
security_ip_group_name: Optional[str] = None,
|
|
209
209
|
security_ip_list: Optional[str] = None):
|
|
210
|
+
"""
|
|
211
|
+
:param str security_ip_group_attribute: The attribute of the IP whitelist. This parameter is empty by default.
|
|
212
|
+
:param str security_ip_group_name: The name of the IP whitelist.
|
|
213
|
+
:param str security_ip_list: The IP addresses in the whitelist.
|
|
214
|
+
"""
|
|
210
215
|
if security_ip_group_attribute is not None:
|
|
211
216
|
pulumi.set(__self__, "security_ip_group_attribute", security_ip_group_attribute)
|
|
212
217
|
if security_ip_group_name is not None:
|
|
@@ -217,16 +222,25 @@ class ServerlessInstanceSecurityIpGroup(dict):
|
|
|
217
222
|
@property
|
|
218
223
|
@pulumi.getter(name="securityIpGroupAttribute")
|
|
219
224
|
def security_ip_group_attribute(self) -> Optional[str]:
|
|
225
|
+
"""
|
|
226
|
+
The attribute of the IP whitelist. This parameter is empty by default.
|
|
227
|
+
"""
|
|
220
228
|
return pulumi.get(self, "security_ip_group_attribute")
|
|
221
229
|
|
|
222
230
|
@property
|
|
223
231
|
@pulumi.getter(name="securityIpGroupName")
|
|
224
232
|
def security_ip_group_name(self) -> Optional[str]:
|
|
233
|
+
"""
|
|
234
|
+
The name of the IP whitelist.
|
|
235
|
+
"""
|
|
225
236
|
return pulumi.get(self, "security_ip_group_name")
|
|
226
237
|
|
|
227
238
|
@property
|
|
228
239
|
@pulumi.getter(name="securityIpList")
|
|
229
240
|
def security_ip_list(self) -> Optional[str]:
|
|
241
|
+
"""
|
|
242
|
+
The IP addresses in the whitelist.
|
|
243
|
+
"""
|
|
230
244
|
return pulumi.get(self, "security_ip_list")
|
|
231
245
|
|
|
232
246
|
|
pulumi_alicloud/oss/_inputs.py
CHANGED
|
@@ -405,6 +405,10 @@ class BucketLifecycleRuleAbortMultipartUploadArgs:
|
|
|
405
405
|
def __init__(__self__, *,
|
|
406
406
|
created_before_date: Optional[pulumi.Input[str]] = None,
|
|
407
407
|
days: Optional[pulumi.Input[int]] = None):
|
|
408
|
+
"""
|
|
409
|
+
:param pulumi.Input[str] created_before_date: Specifies the time before which the rules take effect. The date must conform to the ISO8601 format and always be UTC 00:00. For example: 2002-10-11T00:00:00.000Z indicates that parts created before 2002-10-11T00:00:00.000Z are deleted, and parts created after this time (including this time) are not deleted.
|
|
410
|
+
:param pulumi.Input[int] days: Specifies the number of days noncurrent object versions transition.
|
|
411
|
+
"""
|
|
408
412
|
if created_before_date is not None:
|
|
409
413
|
pulumi.set(__self__, "created_before_date", created_before_date)
|
|
410
414
|
if days is not None:
|
|
@@ -413,6 +417,9 @@ class BucketLifecycleRuleAbortMultipartUploadArgs:
|
|
|
413
417
|
@property
|
|
414
418
|
@pulumi.getter(name="createdBeforeDate")
|
|
415
419
|
def created_before_date(self) -> Optional[pulumi.Input[str]]:
|
|
420
|
+
"""
|
|
421
|
+
Specifies the time before which the rules take effect. The date must conform to the ISO8601 format and always be UTC 00:00. For example: 2002-10-11T00:00:00.000Z indicates that parts created before 2002-10-11T00:00:00.000Z are deleted, and parts created after this time (including this time) are not deleted.
|
|
422
|
+
"""
|
|
416
423
|
return pulumi.get(self, "created_before_date")
|
|
417
424
|
|
|
418
425
|
@created_before_date.setter
|
|
@@ -422,6 +429,9 @@ class BucketLifecycleRuleAbortMultipartUploadArgs:
|
|
|
422
429
|
@property
|
|
423
430
|
@pulumi.getter
|
|
424
431
|
def days(self) -> Optional[pulumi.Input[int]]:
|
|
432
|
+
"""
|
|
433
|
+
Specifies the number of days noncurrent object versions transition.
|
|
434
|
+
"""
|
|
425
435
|
return pulumi.get(self, "days")
|
|
426
436
|
|
|
427
437
|
@days.setter
|
|
@@ -436,6 +446,14 @@ class BucketLifecycleRuleExpirationArgs:
|
|
|
436
446
|
date: Optional[pulumi.Input[str]] = None,
|
|
437
447
|
days: Optional[pulumi.Input[int]] = None,
|
|
438
448
|
expired_object_delete_marker: Optional[pulumi.Input[bool]] = None):
|
|
449
|
+
"""
|
|
450
|
+
:param pulumi.Input[str] created_before_date: Specifies the time before which the rules take effect. The date must conform to the ISO8601 format and always be UTC 00:00. For example: 2002-10-11T00:00:00.000Z indicates that parts created before 2002-10-11T00:00:00.000Z are deleted, and parts created after this time (including this time) are not deleted.
|
|
451
|
+
:param pulumi.Input[str] date: Specifies the date after which you want the corresponding action to take effect. The value obeys ISO8601 format like `2017-03-09`.
|
|
452
|
+
:param pulumi.Input[int] days: Specifies the number of days noncurrent object versions transition.
|
|
453
|
+
:param pulumi.Input[bool] expired_object_delete_marker: On a versioned bucket (versioning-enabled or versioning-suspended bucket), you can add this element in the lifecycle configuration to direct OSS to delete expired object delete markers. This cannot be specified with Days, Date or CreatedBeforeDate in a Lifecycle Expiration Policy.
|
|
454
|
+
|
|
455
|
+
`NOTE`: One and only one of "date", "days", "created_before_date" and "expired_object_delete_marker" can be specified in one expiration configuration.
|
|
456
|
+
"""
|
|
439
457
|
if created_before_date is not None:
|
|
440
458
|
pulumi.set(__self__, "created_before_date", created_before_date)
|
|
441
459
|
if date is not None:
|
|
@@ -448,6 +466,9 @@ class BucketLifecycleRuleExpirationArgs:
|
|
|
448
466
|
@property
|
|
449
467
|
@pulumi.getter(name="createdBeforeDate")
|
|
450
468
|
def created_before_date(self) -> Optional[pulumi.Input[str]]:
|
|
469
|
+
"""
|
|
470
|
+
Specifies the time before which the rules take effect. The date must conform to the ISO8601 format and always be UTC 00:00. For example: 2002-10-11T00:00:00.000Z indicates that parts created before 2002-10-11T00:00:00.000Z are deleted, and parts created after this time (including this time) are not deleted.
|
|
471
|
+
"""
|
|
451
472
|
return pulumi.get(self, "created_before_date")
|
|
452
473
|
|
|
453
474
|
@created_before_date.setter
|
|
@@ -457,6 +478,9 @@ class BucketLifecycleRuleExpirationArgs:
|
|
|
457
478
|
@property
|
|
458
479
|
@pulumi.getter
|
|
459
480
|
def date(self) -> Optional[pulumi.Input[str]]:
|
|
481
|
+
"""
|
|
482
|
+
Specifies the date after which you want the corresponding action to take effect. The value obeys ISO8601 format like `2017-03-09`.
|
|
483
|
+
"""
|
|
460
484
|
return pulumi.get(self, "date")
|
|
461
485
|
|
|
462
486
|
@date.setter
|
|
@@ -466,6 +490,9 @@ class BucketLifecycleRuleExpirationArgs:
|
|
|
466
490
|
@property
|
|
467
491
|
@pulumi.getter
|
|
468
492
|
def days(self) -> Optional[pulumi.Input[int]]:
|
|
493
|
+
"""
|
|
494
|
+
Specifies the number of days noncurrent object versions transition.
|
|
495
|
+
"""
|
|
469
496
|
return pulumi.get(self, "days")
|
|
470
497
|
|
|
471
498
|
@days.setter
|
|
@@ -475,6 +502,11 @@ class BucketLifecycleRuleExpirationArgs:
|
|
|
475
502
|
@property
|
|
476
503
|
@pulumi.getter(name="expiredObjectDeleteMarker")
|
|
477
504
|
def expired_object_delete_marker(self) -> Optional[pulumi.Input[bool]]:
|
|
505
|
+
"""
|
|
506
|
+
On a versioned bucket (versioning-enabled or versioning-suspended bucket), you can add this element in the lifecycle configuration to direct OSS to delete expired object delete markers. This cannot be specified with Days, Date or CreatedBeforeDate in a Lifecycle Expiration Policy.
|
|
507
|
+
|
|
508
|
+
`NOTE`: One and only one of "date", "days", "created_before_date" and "expired_object_delete_marker" can be specified in one expiration configuration.
|
|
509
|
+
"""
|
|
478
510
|
return pulumi.get(self, "expired_object_delete_marker")
|
|
479
511
|
|
|
480
512
|
@expired_object_delete_marker.setter
|
|
@@ -488,6 +520,11 @@ class BucketLifecycleRuleFilterArgs:
|
|
|
488
520
|
not_: Optional[pulumi.Input['BucketLifecycleRuleFilterNotArgs']] = None,
|
|
489
521
|
object_size_greater_than: Optional[pulumi.Input[int]] = None,
|
|
490
522
|
object_size_less_than: Optional[pulumi.Input[int]] = None):
|
|
523
|
+
"""
|
|
524
|
+
:param pulumi.Input['BucketLifecycleRuleFilterNotArgs'] not_: The condition that is matched by objects to which the lifecycle rule does not apply. See `not` below.
|
|
525
|
+
:param pulumi.Input[int] object_size_greater_than: Minimum object size (in bytes) to which the rule applies.
|
|
526
|
+
:param pulumi.Input[int] object_size_less_than: Maximum object size (in bytes) to which the rule applies.
|
|
527
|
+
"""
|
|
491
528
|
if not_ is not None:
|
|
492
529
|
pulumi.set(__self__, "not_", not_)
|
|
493
530
|
if object_size_greater_than is not None:
|
|
@@ -498,6 +535,9 @@ class BucketLifecycleRuleFilterArgs:
|
|
|
498
535
|
@property
|
|
499
536
|
@pulumi.getter(name="not")
|
|
500
537
|
def not_(self) -> Optional[pulumi.Input['BucketLifecycleRuleFilterNotArgs']]:
|
|
538
|
+
"""
|
|
539
|
+
The condition that is matched by objects to which the lifecycle rule does not apply. See `not` below.
|
|
540
|
+
"""
|
|
501
541
|
return pulumi.get(self, "not_")
|
|
502
542
|
|
|
503
543
|
@not_.setter
|
|
@@ -507,6 +547,9 @@ class BucketLifecycleRuleFilterArgs:
|
|
|
507
547
|
@property
|
|
508
548
|
@pulumi.getter(name="objectSizeGreaterThan")
|
|
509
549
|
def object_size_greater_than(self) -> Optional[pulumi.Input[int]]:
|
|
550
|
+
"""
|
|
551
|
+
Minimum object size (in bytes) to which the rule applies.
|
|
552
|
+
"""
|
|
510
553
|
return pulumi.get(self, "object_size_greater_than")
|
|
511
554
|
|
|
512
555
|
@object_size_greater_than.setter
|
|
@@ -516,6 +559,9 @@ class BucketLifecycleRuleFilterArgs:
|
|
|
516
559
|
@property
|
|
517
560
|
@pulumi.getter(name="objectSizeLessThan")
|
|
518
561
|
def object_size_less_than(self) -> Optional[pulumi.Input[int]]:
|
|
562
|
+
"""
|
|
563
|
+
Maximum object size (in bytes) to which the rule applies.
|
|
564
|
+
"""
|
|
519
565
|
return pulumi.get(self, "object_size_less_than")
|
|
520
566
|
|
|
521
567
|
@object_size_less_than.setter
|
|
@@ -528,6 +574,10 @@ class BucketLifecycleRuleFilterNotArgs:
|
|
|
528
574
|
def __init__(__self__, *,
|
|
529
575
|
prefix: Optional[pulumi.Input[str]] = None,
|
|
530
576
|
tag: Optional[pulumi.Input['BucketLifecycleRuleFilterNotTagArgs']] = None):
|
|
577
|
+
"""
|
|
578
|
+
:param pulumi.Input[str] prefix: The prefix in the names of the objects to which the lifecycle rule does not apply.
|
|
579
|
+
:param pulumi.Input['BucketLifecycleRuleFilterNotTagArgs'] tag: The tag of the objects to which the lifecycle rule does not apply. See `tag` below.
|
|
580
|
+
"""
|
|
531
581
|
if prefix is not None:
|
|
532
582
|
pulumi.set(__self__, "prefix", prefix)
|
|
533
583
|
if tag is not None:
|
|
@@ -536,6 +586,9 @@ class BucketLifecycleRuleFilterNotArgs:
|
|
|
536
586
|
@property
|
|
537
587
|
@pulumi.getter
|
|
538
588
|
def prefix(self) -> Optional[pulumi.Input[str]]:
|
|
589
|
+
"""
|
|
590
|
+
The prefix in the names of the objects to which the lifecycle rule does not apply.
|
|
591
|
+
"""
|
|
539
592
|
return pulumi.get(self, "prefix")
|
|
540
593
|
|
|
541
594
|
@prefix.setter
|
|
@@ -545,6 +598,9 @@ class BucketLifecycleRuleFilterNotArgs:
|
|
|
545
598
|
@property
|
|
546
599
|
@pulumi.getter
|
|
547
600
|
def tag(self) -> Optional[pulumi.Input['BucketLifecycleRuleFilterNotTagArgs']]:
|
|
601
|
+
"""
|
|
602
|
+
The tag of the objects to which the lifecycle rule does not apply. See `tag` below.
|
|
603
|
+
"""
|
|
548
604
|
return pulumi.get(self, "tag")
|
|
549
605
|
|
|
550
606
|
@tag.setter
|
|
@@ -557,12 +613,19 @@ class BucketLifecycleRuleFilterNotTagArgs:
|
|
|
557
613
|
def __init__(__self__, *,
|
|
558
614
|
key: pulumi.Input[str],
|
|
559
615
|
value: pulumi.Input[str]):
|
|
616
|
+
"""
|
|
617
|
+
:param pulumi.Input[str] key: The key of the tag that is specified for the objects.
|
|
618
|
+
:param pulumi.Input[str] value: The value of the tag that is specified for the objects.
|
|
619
|
+
"""
|
|
560
620
|
pulumi.set(__self__, "key", key)
|
|
561
621
|
pulumi.set(__self__, "value", value)
|
|
562
622
|
|
|
563
623
|
@property
|
|
564
624
|
@pulumi.getter
|
|
565
625
|
def key(self) -> pulumi.Input[str]:
|
|
626
|
+
"""
|
|
627
|
+
The key of the tag that is specified for the objects.
|
|
628
|
+
"""
|
|
566
629
|
return pulumi.get(self, "key")
|
|
567
630
|
|
|
568
631
|
@key.setter
|
|
@@ -572,6 +635,9 @@ class BucketLifecycleRuleFilterNotTagArgs:
|
|
|
572
635
|
@property
|
|
573
636
|
@pulumi.getter
|
|
574
637
|
def value(self) -> pulumi.Input[str]:
|
|
638
|
+
"""
|
|
639
|
+
The value of the tag that is specified for the objects.
|
|
640
|
+
"""
|
|
575
641
|
return pulumi.get(self, "value")
|
|
576
642
|
|
|
577
643
|
@value.setter
|
|
@@ -583,11 +649,17 @@ class BucketLifecycleRuleFilterNotTagArgs:
|
|
|
583
649
|
class BucketLifecycleRuleNoncurrentVersionExpirationArgs:
|
|
584
650
|
def __init__(__self__, *,
|
|
585
651
|
days: pulumi.Input[int]):
|
|
652
|
+
"""
|
|
653
|
+
:param pulumi.Input[int] days: Specifies the number of days noncurrent object versions transition.
|
|
654
|
+
"""
|
|
586
655
|
pulumi.set(__self__, "days", days)
|
|
587
656
|
|
|
588
657
|
@property
|
|
589
658
|
@pulumi.getter
|
|
590
659
|
def days(self) -> pulumi.Input[int]:
|
|
660
|
+
"""
|
|
661
|
+
Specifies the number of days noncurrent object versions transition.
|
|
662
|
+
"""
|
|
591
663
|
return pulumi.get(self, "days")
|
|
592
664
|
|
|
593
665
|
@days.setter
|
|
@@ -603,7 +675,10 @@ class BucketLifecycleRuleNoncurrentVersionTransitionArgs:
|
|
|
603
675
|
is_access_time: Optional[pulumi.Input[bool]] = None,
|
|
604
676
|
return_to_std_when_visit: Optional[pulumi.Input[bool]] = None):
|
|
605
677
|
"""
|
|
678
|
+
:param pulumi.Input[int] days: Specifies the number of days noncurrent object versions transition.
|
|
606
679
|
:param pulumi.Input[str] storage_class: The [storage class](https://www.alibabacloud.com/help/doc-detail/51374.htm) to apply. Can be "Standard", "IA", "Archive", "ColdArchive" and "DeepColdArchive". Defaults to "Standard". "ColdArchive" is available since 1.203.0. "DeepColdArchive" is available since 1.209.0.
|
|
680
|
+
:param pulumi.Input[bool] is_access_time: Specifies whether the lifecycle rule applies to objects based on their last access time. If set to `true`, the rule applies to objects based on their last access time; if set to `false`, the rule applies to objects based on their last modified time. If configure the rule based on the last access time, please enable `access_monitor` first.
|
|
681
|
+
:param pulumi.Input[bool] return_to_std_when_visit: Specifies whether to convert the storage class of non-Standard objects back to Standard after the objects are accessed. It takes effect only when the IsAccessTime parameter is set to true. If set to `true`, converts the storage class of the objects to Standard; if set to `false`, does not convert the storage class of the objects to Standard.
|
|
607
682
|
"""
|
|
608
683
|
pulumi.set(__self__, "days", days)
|
|
609
684
|
pulumi.set(__self__, "storage_class", storage_class)
|
|
@@ -615,6 +690,9 @@ class BucketLifecycleRuleNoncurrentVersionTransitionArgs:
|
|
|
615
690
|
@property
|
|
616
691
|
@pulumi.getter
|
|
617
692
|
def days(self) -> pulumi.Input[int]:
|
|
693
|
+
"""
|
|
694
|
+
Specifies the number of days noncurrent object versions transition.
|
|
695
|
+
"""
|
|
618
696
|
return pulumi.get(self, "days")
|
|
619
697
|
|
|
620
698
|
@days.setter
|
|
@@ -636,6 +714,9 @@ class BucketLifecycleRuleNoncurrentVersionTransitionArgs:
|
|
|
636
714
|
@property
|
|
637
715
|
@pulumi.getter(name="isAccessTime")
|
|
638
716
|
def is_access_time(self) -> Optional[pulumi.Input[bool]]:
|
|
717
|
+
"""
|
|
718
|
+
Specifies whether the lifecycle rule applies to objects based on their last access time. If set to `true`, the rule applies to objects based on their last access time; if set to `false`, the rule applies to objects based on their last modified time. If configure the rule based on the last access time, please enable `access_monitor` first.
|
|
719
|
+
"""
|
|
639
720
|
return pulumi.get(self, "is_access_time")
|
|
640
721
|
|
|
641
722
|
@is_access_time.setter
|
|
@@ -645,6 +726,9 @@ class BucketLifecycleRuleNoncurrentVersionTransitionArgs:
|
|
|
645
726
|
@property
|
|
646
727
|
@pulumi.getter(name="returnToStdWhenVisit")
|
|
647
728
|
def return_to_std_when_visit(self) -> Optional[pulumi.Input[bool]]:
|
|
729
|
+
"""
|
|
730
|
+
Specifies whether to convert the storage class of non-Standard objects back to Standard after the objects are accessed. It takes effect only when the IsAccessTime parameter is set to true. If set to `true`, converts the storage class of the objects to Standard; if set to `false`, does not convert the storage class of the objects to Standard.
|
|
731
|
+
"""
|
|
648
732
|
return pulumi.get(self, "return_to_std_when_visit")
|
|
649
733
|
|
|
650
734
|
@return_to_std_when_visit.setter
|
|
@@ -662,6 +746,10 @@ class BucketLifecycleRuleTransitionArgs:
|
|
|
662
746
|
return_to_std_when_visit: Optional[pulumi.Input[bool]] = None):
|
|
663
747
|
"""
|
|
664
748
|
:param pulumi.Input[str] storage_class: The [storage class](https://www.alibabacloud.com/help/doc-detail/51374.htm) to apply. Can be "Standard", "IA", "Archive", "ColdArchive" and "DeepColdArchive". Defaults to "Standard". "ColdArchive" is available since 1.203.0. "DeepColdArchive" is available since 1.209.0.
|
|
749
|
+
:param pulumi.Input[str] created_before_date: Specifies the time before which the rules take effect. The date must conform to the ISO8601 format and always be UTC 00:00. For example: 2002-10-11T00:00:00.000Z indicates that parts created before 2002-10-11T00:00:00.000Z are deleted, and parts created after this time (including this time) are not deleted.
|
|
750
|
+
:param pulumi.Input[int] days: Specifies the number of days noncurrent object versions transition.
|
|
751
|
+
:param pulumi.Input[bool] is_access_time: Specifies whether the lifecycle rule applies to objects based on their last access time. If set to `true`, the rule applies to objects based on their last access time; if set to `false`, the rule applies to objects based on their last modified time. If configure the rule based on the last access time, please enable `access_monitor` first.
|
|
752
|
+
:param pulumi.Input[bool] return_to_std_when_visit: Specifies whether to convert the storage class of non-Standard objects back to Standard after the objects are accessed. It takes effect only when the IsAccessTime parameter is set to true. If set to `true`, converts the storage class of the objects to Standard; if set to `false`, does not convert the storage class of the objects to Standard.
|
|
665
753
|
"""
|
|
666
754
|
pulumi.set(__self__, "storage_class", storage_class)
|
|
667
755
|
if created_before_date is not None:
|
|
@@ -688,6 +776,9 @@ class BucketLifecycleRuleTransitionArgs:
|
|
|
688
776
|
@property
|
|
689
777
|
@pulumi.getter(name="createdBeforeDate")
|
|
690
778
|
def created_before_date(self) -> Optional[pulumi.Input[str]]:
|
|
779
|
+
"""
|
|
780
|
+
Specifies the time before which the rules take effect. The date must conform to the ISO8601 format and always be UTC 00:00. For example: 2002-10-11T00:00:00.000Z indicates that parts created before 2002-10-11T00:00:00.000Z are deleted, and parts created after this time (including this time) are not deleted.
|
|
781
|
+
"""
|
|
691
782
|
return pulumi.get(self, "created_before_date")
|
|
692
783
|
|
|
693
784
|
@created_before_date.setter
|
|
@@ -697,6 +788,9 @@ class BucketLifecycleRuleTransitionArgs:
|
|
|
697
788
|
@property
|
|
698
789
|
@pulumi.getter
|
|
699
790
|
def days(self) -> Optional[pulumi.Input[int]]:
|
|
791
|
+
"""
|
|
792
|
+
Specifies the number of days noncurrent object versions transition.
|
|
793
|
+
"""
|
|
700
794
|
return pulumi.get(self, "days")
|
|
701
795
|
|
|
702
796
|
@days.setter
|
|
@@ -706,6 +800,9 @@ class BucketLifecycleRuleTransitionArgs:
|
|
|
706
800
|
@property
|
|
707
801
|
@pulumi.getter(name="isAccessTime")
|
|
708
802
|
def is_access_time(self) -> Optional[pulumi.Input[bool]]:
|
|
803
|
+
"""
|
|
804
|
+
Specifies whether the lifecycle rule applies to objects based on their last access time. If set to `true`, the rule applies to objects based on their last access time; if set to `false`, the rule applies to objects based on their last modified time. If configure the rule based on the last access time, please enable `access_monitor` first.
|
|
805
|
+
"""
|
|
709
806
|
return pulumi.get(self, "is_access_time")
|
|
710
807
|
|
|
711
808
|
@is_access_time.setter
|
|
@@ -715,6 +812,9 @@ class BucketLifecycleRuleTransitionArgs:
|
|
|
715
812
|
@property
|
|
716
813
|
@pulumi.getter(name="returnToStdWhenVisit")
|
|
717
814
|
def return_to_std_when_visit(self) -> Optional[pulumi.Input[bool]]:
|
|
815
|
+
"""
|
|
816
|
+
Specifies whether to convert the storage class of non-Standard objects back to Standard after the objects are accessed. It takes effect only when the IsAccessTime parameter is set to true. If set to `true`, converts the storage class of the objects to Standard; if set to `false`, does not convert the storage class of the objects to Standard.
|
|
817
|
+
"""
|
|
718
818
|
return pulumi.get(self, "return_to_std_when_visit")
|
|
719
819
|
|
|
720
820
|
@return_to_std_when_visit.setter
|
pulumi_alicloud/oss/outputs.py
CHANGED
|
@@ -425,6 +425,10 @@ class BucketLifecycleRuleAbortMultipartUpload(dict):
|
|
|
425
425
|
def __init__(__self__, *,
|
|
426
426
|
created_before_date: Optional[str] = None,
|
|
427
427
|
days: Optional[int] = None):
|
|
428
|
+
"""
|
|
429
|
+
:param str created_before_date: Specifies the time before which the rules take effect. The date must conform to the ISO8601 format and always be UTC 00:00. For example: 2002-10-11T00:00:00.000Z indicates that parts created before 2002-10-11T00:00:00.000Z are deleted, and parts created after this time (including this time) are not deleted.
|
|
430
|
+
:param int days: Specifies the number of days noncurrent object versions transition.
|
|
431
|
+
"""
|
|
428
432
|
if created_before_date is not None:
|
|
429
433
|
pulumi.set(__self__, "created_before_date", created_before_date)
|
|
430
434
|
if days is not None:
|
|
@@ -433,11 +437,17 @@ class BucketLifecycleRuleAbortMultipartUpload(dict):
|
|
|
433
437
|
@property
|
|
434
438
|
@pulumi.getter(name="createdBeforeDate")
|
|
435
439
|
def created_before_date(self) -> Optional[str]:
|
|
440
|
+
"""
|
|
441
|
+
Specifies the time before which the rules take effect. The date must conform to the ISO8601 format and always be UTC 00:00. For example: 2002-10-11T00:00:00.000Z indicates that parts created before 2002-10-11T00:00:00.000Z are deleted, and parts created after this time (including this time) are not deleted.
|
|
442
|
+
"""
|
|
436
443
|
return pulumi.get(self, "created_before_date")
|
|
437
444
|
|
|
438
445
|
@property
|
|
439
446
|
@pulumi.getter
|
|
440
447
|
def days(self) -> Optional[int]:
|
|
448
|
+
"""
|
|
449
|
+
Specifies the number of days noncurrent object versions transition.
|
|
450
|
+
"""
|
|
441
451
|
return pulumi.get(self, "days")
|
|
442
452
|
|
|
443
453
|
|
|
@@ -467,6 +477,14 @@ class BucketLifecycleRuleExpiration(dict):
|
|
|
467
477
|
date: Optional[str] = None,
|
|
468
478
|
days: Optional[int] = None,
|
|
469
479
|
expired_object_delete_marker: Optional[bool] = None):
|
|
480
|
+
"""
|
|
481
|
+
:param str created_before_date: Specifies the time before which the rules take effect. The date must conform to the ISO8601 format and always be UTC 00:00. For example: 2002-10-11T00:00:00.000Z indicates that parts created before 2002-10-11T00:00:00.000Z are deleted, and parts created after this time (including this time) are not deleted.
|
|
482
|
+
:param str date: Specifies the date after which you want the corresponding action to take effect. The value obeys ISO8601 format like `2017-03-09`.
|
|
483
|
+
:param int days: Specifies the number of days noncurrent object versions transition.
|
|
484
|
+
:param bool expired_object_delete_marker: On a versioned bucket (versioning-enabled or versioning-suspended bucket), you can add this element in the lifecycle configuration to direct OSS to delete expired object delete markers. This cannot be specified with Days, Date or CreatedBeforeDate in a Lifecycle Expiration Policy.
|
|
485
|
+
|
|
486
|
+
`NOTE`: One and only one of "date", "days", "created_before_date" and "expired_object_delete_marker" can be specified in one expiration configuration.
|
|
487
|
+
"""
|
|
470
488
|
if created_before_date is not None:
|
|
471
489
|
pulumi.set(__self__, "created_before_date", created_before_date)
|
|
472
490
|
if date is not None:
|
|
@@ -479,21 +497,35 @@ class BucketLifecycleRuleExpiration(dict):
|
|
|
479
497
|
@property
|
|
480
498
|
@pulumi.getter(name="createdBeforeDate")
|
|
481
499
|
def created_before_date(self) -> Optional[str]:
|
|
500
|
+
"""
|
|
501
|
+
Specifies the time before which the rules take effect. The date must conform to the ISO8601 format and always be UTC 00:00. For example: 2002-10-11T00:00:00.000Z indicates that parts created before 2002-10-11T00:00:00.000Z are deleted, and parts created after this time (including this time) are not deleted.
|
|
502
|
+
"""
|
|
482
503
|
return pulumi.get(self, "created_before_date")
|
|
483
504
|
|
|
484
505
|
@property
|
|
485
506
|
@pulumi.getter
|
|
486
507
|
def date(self) -> Optional[str]:
|
|
508
|
+
"""
|
|
509
|
+
Specifies the date after which you want the corresponding action to take effect. The value obeys ISO8601 format like `2017-03-09`.
|
|
510
|
+
"""
|
|
487
511
|
return pulumi.get(self, "date")
|
|
488
512
|
|
|
489
513
|
@property
|
|
490
514
|
@pulumi.getter
|
|
491
515
|
def days(self) -> Optional[int]:
|
|
516
|
+
"""
|
|
517
|
+
Specifies the number of days noncurrent object versions transition.
|
|
518
|
+
"""
|
|
492
519
|
return pulumi.get(self, "days")
|
|
493
520
|
|
|
494
521
|
@property
|
|
495
522
|
@pulumi.getter(name="expiredObjectDeleteMarker")
|
|
496
523
|
def expired_object_delete_marker(self) -> Optional[bool]:
|
|
524
|
+
"""
|
|
525
|
+
On a versioned bucket (versioning-enabled or versioning-suspended bucket), you can add this element in the lifecycle configuration to direct OSS to delete expired object delete markers. This cannot be specified with Days, Date or CreatedBeforeDate in a Lifecycle Expiration Policy.
|
|
526
|
+
|
|
527
|
+
`NOTE`: One and only one of "date", "days", "created_before_date" and "expired_object_delete_marker" can be specified in one expiration configuration.
|
|
528
|
+
"""
|
|
497
529
|
return pulumi.get(self, "expired_object_delete_marker")
|
|
498
530
|
|
|
499
531
|
|
|
@@ -524,6 +556,11 @@ class BucketLifecycleRuleFilter(dict):
|
|
|
524
556
|
not_: Optional['outputs.BucketLifecycleRuleFilterNot'] = None,
|
|
525
557
|
object_size_greater_than: Optional[int] = None,
|
|
526
558
|
object_size_less_than: Optional[int] = None):
|
|
559
|
+
"""
|
|
560
|
+
:param 'BucketLifecycleRuleFilterNotArgs' not_: The condition that is matched by objects to which the lifecycle rule does not apply. See `not` below.
|
|
561
|
+
:param int object_size_greater_than: Minimum object size (in bytes) to which the rule applies.
|
|
562
|
+
:param int object_size_less_than: Maximum object size (in bytes) to which the rule applies.
|
|
563
|
+
"""
|
|
527
564
|
if not_ is not None:
|
|
528
565
|
pulumi.set(__self__, "not_", not_)
|
|
529
566
|
if object_size_greater_than is not None:
|
|
@@ -534,16 +571,25 @@ class BucketLifecycleRuleFilter(dict):
|
|
|
534
571
|
@property
|
|
535
572
|
@pulumi.getter(name="not")
|
|
536
573
|
def not_(self) -> Optional['outputs.BucketLifecycleRuleFilterNot']:
|
|
574
|
+
"""
|
|
575
|
+
The condition that is matched by objects to which the lifecycle rule does not apply. See `not` below.
|
|
576
|
+
"""
|
|
537
577
|
return pulumi.get(self, "not_")
|
|
538
578
|
|
|
539
579
|
@property
|
|
540
580
|
@pulumi.getter(name="objectSizeGreaterThan")
|
|
541
581
|
def object_size_greater_than(self) -> Optional[int]:
|
|
582
|
+
"""
|
|
583
|
+
Minimum object size (in bytes) to which the rule applies.
|
|
584
|
+
"""
|
|
542
585
|
return pulumi.get(self, "object_size_greater_than")
|
|
543
586
|
|
|
544
587
|
@property
|
|
545
588
|
@pulumi.getter(name="objectSizeLessThan")
|
|
546
589
|
def object_size_less_than(self) -> Optional[int]:
|
|
590
|
+
"""
|
|
591
|
+
Maximum object size (in bytes) to which the rule applies.
|
|
592
|
+
"""
|
|
547
593
|
return pulumi.get(self, "object_size_less_than")
|
|
548
594
|
|
|
549
595
|
|
|
@@ -552,6 +598,10 @@ class BucketLifecycleRuleFilterNot(dict):
|
|
|
552
598
|
def __init__(__self__, *,
|
|
553
599
|
prefix: Optional[str] = None,
|
|
554
600
|
tag: Optional['outputs.BucketLifecycleRuleFilterNotTag'] = None):
|
|
601
|
+
"""
|
|
602
|
+
:param str prefix: The prefix in the names of the objects to which the lifecycle rule does not apply.
|
|
603
|
+
:param 'BucketLifecycleRuleFilterNotTagArgs' tag: The tag of the objects to which the lifecycle rule does not apply. See `tag` below.
|
|
604
|
+
"""
|
|
555
605
|
if prefix is not None:
|
|
556
606
|
pulumi.set(__self__, "prefix", prefix)
|
|
557
607
|
if tag is not None:
|
|
@@ -560,11 +610,17 @@ class BucketLifecycleRuleFilterNot(dict):
|
|
|
560
610
|
@property
|
|
561
611
|
@pulumi.getter
|
|
562
612
|
def prefix(self) -> Optional[str]:
|
|
613
|
+
"""
|
|
614
|
+
The prefix in the names of the objects to which the lifecycle rule does not apply.
|
|
615
|
+
"""
|
|
563
616
|
return pulumi.get(self, "prefix")
|
|
564
617
|
|
|
565
618
|
@property
|
|
566
619
|
@pulumi.getter
|
|
567
620
|
def tag(self) -> Optional['outputs.BucketLifecycleRuleFilterNotTag']:
|
|
621
|
+
"""
|
|
622
|
+
The tag of the objects to which the lifecycle rule does not apply. See `tag` below.
|
|
623
|
+
"""
|
|
568
624
|
return pulumi.get(self, "tag")
|
|
569
625
|
|
|
570
626
|
|
|
@@ -573,17 +629,27 @@ class BucketLifecycleRuleFilterNotTag(dict):
|
|
|
573
629
|
def __init__(__self__, *,
|
|
574
630
|
key: str,
|
|
575
631
|
value: str):
|
|
632
|
+
"""
|
|
633
|
+
:param str key: The key of the tag that is specified for the objects.
|
|
634
|
+
:param str value: The value of the tag that is specified for the objects.
|
|
635
|
+
"""
|
|
576
636
|
pulumi.set(__self__, "key", key)
|
|
577
637
|
pulumi.set(__self__, "value", value)
|
|
578
638
|
|
|
579
639
|
@property
|
|
580
640
|
@pulumi.getter
|
|
581
641
|
def key(self) -> str:
|
|
642
|
+
"""
|
|
643
|
+
The key of the tag that is specified for the objects.
|
|
644
|
+
"""
|
|
582
645
|
return pulumi.get(self, "key")
|
|
583
646
|
|
|
584
647
|
@property
|
|
585
648
|
@pulumi.getter
|
|
586
649
|
def value(self) -> str:
|
|
650
|
+
"""
|
|
651
|
+
The value of the tag that is specified for the objects.
|
|
652
|
+
"""
|
|
587
653
|
return pulumi.get(self, "value")
|
|
588
654
|
|
|
589
655
|
|
|
@@ -591,11 +657,17 @@ class BucketLifecycleRuleFilterNotTag(dict):
|
|
|
591
657
|
class BucketLifecycleRuleNoncurrentVersionExpiration(dict):
|
|
592
658
|
def __init__(__self__, *,
|
|
593
659
|
days: int):
|
|
660
|
+
"""
|
|
661
|
+
:param int days: Specifies the number of days noncurrent object versions transition.
|
|
662
|
+
"""
|
|
594
663
|
pulumi.set(__self__, "days", days)
|
|
595
664
|
|
|
596
665
|
@property
|
|
597
666
|
@pulumi.getter
|
|
598
667
|
def days(self) -> int:
|
|
668
|
+
"""
|
|
669
|
+
Specifies the number of days noncurrent object versions transition.
|
|
670
|
+
"""
|
|
599
671
|
return pulumi.get(self, "days")
|
|
600
672
|
|
|
601
673
|
|
|
@@ -628,7 +700,10 @@ class BucketLifecycleRuleNoncurrentVersionTransition(dict):
|
|
|
628
700
|
is_access_time: Optional[bool] = None,
|
|
629
701
|
return_to_std_when_visit: Optional[bool] = None):
|
|
630
702
|
"""
|
|
703
|
+
:param int days: Specifies the number of days noncurrent object versions transition.
|
|
631
704
|
:param str storage_class: The [storage class](https://www.alibabacloud.com/help/doc-detail/51374.htm) to apply. Can be "Standard", "IA", "Archive", "ColdArchive" and "DeepColdArchive". Defaults to "Standard". "ColdArchive" is available since 1.203.0. "DeepColdArchive" is available since 1.209.0.
|
|
705
|
+
:param bool is_access_time: Specifies whether the lifecycle rule applies to objects based on their last access time. If set to `true`, the rule applies to objects based on their last access time; if set to `false`, the rule applies to objects based on their last modified time. If configure the rule based on the last access time, please enable `access_monitor` first.
|
|
706
|
+
:param bool return_to_std_when_visit: Specifies whether to convert the storage class of non-Standard objects back to Standard after the objects are accessed. It takes effect only when the IsAccessTime parameter is set to true. If set to `true`, converts the storage class of the objects to Standard; if set to `false`, does not convert the storage class of the objects to Standard.
|
|
632
707
|
"""
|
|
633
708
|
pulumi.set(__self__, "days", days)
|
|
634
709
|
pulumi.set(__self__, "storage_class", storage_class)
|
|
@@ -640,6 +715,9 @@ class BucketLifecycleRuleNoncurrentVersionTransition(dict):
|
|
|
640
715
|
@property
|
|
641
716
|
@pulumi.getter
|
|
642
717
|
def days(self) -> int:
|
|
718
|
+
"""
|
|
719
|
+
Specifies the number of days noncurrent object versions transition.
|
|
720
|
+
"""
|
|
643
721
|
return pulumi.get(self, "days")
|
|
644
722
|
|
|
645
723
|
@property
|
|
@@ -653,11 +731,17 @@ class BucketLifecycleRuleNoncurrentVersionTransition(dict):
|
|
|
653
731
|
@property
|
|
654
732
|
@pulumi.getter(name="isAccessTime")
|
|
655
733
|
def is_access_time(self) -> Optional[bool]:
|
|
734
|
+
"""
|
|
735
|
+
Specifies whether the lifecycle rule applies to objects based on their last access time. If set to `true`, the rule applies to objects based on their last access time; if set to `false`, the rule applies to objects based on their last modified time. If configure the rule based on the last access time, please enable `access_monitor` first.
|
|
736
|
+
"""
|
|
656
737
|
return pulumi.get(self, "is_access_time")
|
|
657
738
|
|
|
658
739
|
@property
|
|
659
740
|
@pulumi.getter(name="returnToStdWhenVisit")
|
|
660
741
|
def return_to_std_when_visit(self) -> Optional[bool]:
|
|
742
|
+
"""
|
|
743
|
+
Specifies whether to convert the storage class of non-Standard objects back to Standard after the objects are accessed. It takes effect only when the IsAccessTime parameter is set to true. If set to `true`, converts the storage class of the objects to Standard; if set to `false`, does not convert the storage class of the objects to Standard.
|
|
744
|
+
"""
|
|
661
745
|
return pulumi.get(self, "return_to_std_when_visit")
|
|
662
746
|
|
|
663
747
|
|
|
@@ -694,6 +778,10 @@ class BucketLifecycleRuleTransition(dict):
|
|
|
694
778
|
return_to_std_when_visit: Optional[bool] = None):
|
|
695
779
|
"""
|
|
696
780
|
:param str storage_class: The [storage class](https://www.alibabacloud.com/help/doc-detail/51374.htm) to apply. Can be "Standard", "IA", "Archive", "ColdArchive" and "DeepColdArchive". Defaults to "Standard". "ColdArchive" is available since 1.203.0. "DeepColdArchive" is available since 1.209.0.
|
|
781
|
+
:param str created_before_date: Specifies the time before which the rules take effect. The date must conform to the ISO8601 format and always be UTC 00:00. For example: 2002-10-11T00:00:00.000Z indicates that parts created before 2002-10-11T00:00:00.000Z are deleted, and parts created after this time (including this time) are not deleted.
|
|
782
|
+
:param int days: Specifies the number of days noncurrent object versions transition.
|
|
783
|
+
:param bool is_access_time: Specifies whether the lifecycle rule applies to objects based on their last access time. If set to `true`, the rule applies to objects based on their last access time; if set to `false`, the rule applies to objects based on their last modified time. If configure the rule based on the last access time, please enable `access_monitor` first.
|
|
784
|
+
:param bool return_to_std_when_visit: Specifies whether to convert the storage class of non-Standard objects back to Standard after the objects are accessed. It takes effect only when the IsAccessTime parameter is set to true. If set to `true`, converts the storage class of the objects to Standard; if set to `false`, does not convert the storage class of the objects to Standard.
|
|
697
785
|
"""
|
|
698
786
|
pulumi.set(__self__, "storage_class", storage_class)
|
|
699
787
|
if created_before_date is not None:
|
|
@@ -716,21 +804,33 @@ class BucketLifecycleRuleTransition(dict):
|
|
|
716
804
|
@property
|
|
717
805
|
@pulumi.getter(name="createdBeforeDate")
|
|
718
806
|
def created_before_date(self) -> Optional[str]:
|
|
807
|
+
"""
|
|
808
|
+
Specifies the time before which the rules take effect. The date must conform to the ISO8601 format and always be UTC 00:00. For example: 2002-10-11T00:00:00.000Z indicates that parts created before 2002-10-11T00:00:00.000Z are deleted, and parts created after this time (including this time) are not deleted.
|
|
809
|
+
"""
|
|
719
810
|
return pulumi.get(self, "created_before_date")
|
|
720
811
|
|
|
721
812
|
@property
|
|
722
813
|
@pulumi.getter
|
|
723
814
|
def days(self) -> Optional[int]:
|
|
815
|
+
"""
|
|
816
|
+
Specifies the number of days noncurrent object versions transition.
|
|
817
|
+
"""
|
|
724
818
|
return pulumi.get(self, "days")
|
|
725
819
|
|
|
726
820
|
@property
|
|
727
821
|
@pulumi.getter(name="isAccessTime")
|
|
728
822
|
def is_access_time(self) -> Optional[bool]:
|
|
823
|
+
"""
|
|
824
|
+
Specifies whether the lifecycle rule applies to objects based on their last access time. If set to `true`, the rule applies to objects based on their last access time; if set to `false`, the rule applies to objects based on their last modified time. If configure the rule based on the last access time, please enable `access_monitor` first.
|
|
825
|
+
"""
|
|
729
826
|
return pulumi.get(self, "is_access_time")
|
|
730
827
|
|
|
731
828
|
@property
|
|
732
829
|
@pulumi.getter(name="returnToStdWhenVisit")
|
|
733
830
|
def return_to_std_when_visit(self) -> Optional[bool]:
|
|
831
|
+
"""
|
|
832
|
+
Specifies whether to convert the storage class of non-Standard objects back to Standard after the objects are accessed. It takes effect only when the IsAccessTime parameter is set to true. If set to `true`, converts the storage class of the objects to Standard; if set to `false`, does not convert the storage class of the objects to Standard.
|
|
833
|
+
"""
|
|
734
834
|
return pulumi.get(self, "return_to_std_when_visit")
|
|
735
835
|
|
|
736
836
|
|