AutoSnapShotPolicy

class AutoSnapShotPolicy : KotlinCustomResource

Provides a Dbfs Auto Snap Shot Policy resource. For information about Dbfs Auto Snap Shot Policy and how to use it.

NOTE: Available since v1.202.0.

Example Usage

Basic Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.databasefilesystem.AutoSnapShotPolicy;
import com.pulumi.alicloud.databasefilesystem.AutoSnapShotPolicyArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var default_ = new AutoSnapShotPolicy("default", AutoSnapShotPolicyArgs.builder()
.policyName("tf-example")
.repeatWeekdays("2")
.retentionDays(1)
.timePoints("01")
.build());
}
}

Import

Dbfs Auto Snap Shot Policy can be imported using the id, e.g.

$ pulumi import alicloud:databasefilesystem/autoSnapShotPolicy:AutoSnapShotPolicy example <id>

Properties

Link copied to clipboard
val appliedDbfsNumber: Output<Int>

The number of database file systems set by the automatic snapshot policy.

Link copied to clipboard
val createTime: Output<String>

The creation time of the resource

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val lastModified: Output<String>

Last modification time of automatic snapshot policy

Link copied to clipboard
val policyId: Output<String>

Automatic snapshot policy ID

Link copied to clipboard
val policyName: Output<String>

Automatic snapshot policy name

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val repeatWeekdays: Output<List<String>>

A collection of automatic snapshots performed on several days of the week. Value range: 1~7, for example, 1 means Monday.

Link copied to clipboard
val retentionDays: Output<Int>

Automatic snapshot retention days.

Link copied to clipboard
val status: Output<String>

Automatic snapshot policy status

Link copied to clipboard
val statusDetail: Output<String>

Automatic snapshot policy status details

Link copied to clipboard
val timePoints: Output<List<String>>

The set of times at which the snapshot is taken on the day the automatic snapshot is executed. Value range: 00 to 23, representing 24 time points from 00:00 to 23:00, for example, 01 indicates 01:00.

Link copied to clipboard
val urn: Output<String>