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