Bucket Versioning Args
data class BucketVersioningArgs(val bucket: Output<String>? = null, val status: Output<String>? = null) : ConvertibleToJava<BucketVersioningArgs>
Import
OSS Bucket Versioning can be imported using the id, e.g.
$ pulumi import alicloud:oss/bucketVersioning:BucketVersioning example <id>
Content copied to clipboard
Properties
Link copied to clipboard
A bucket can be in one of the following versioning states: disabled, enabled, or suspended. By default, versioning is disabled for a bucket. Updating the value from Enabled or Suspended to Disabled will result in errors, because OSS does not support returning buckets to an unversioned state. .