volcengine.ebs.AutoSnapshotPolicy
Explore with Pulumi AI
Provides a resource to manage ebs auto snapshot policy
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@volcengine/pulumi";
const foo = new volcengine.ebs.AutoSnapshotPolicy("foo", {
    autoSnapshotPolicyName: "acc-test-auto-snapshot-policy",
    projectName: "default",
    repeatWeekdays: [
        "2",
        "6",
    ],
    retentionDays: -1,
    tags: [{
        key: "k1",
        value: "v1",
    }],
    timePoints: [
        "1",
        "5",
        "9",
    ],
});
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.ebs.AutoSnapshotPolicy("foo",
    auto_snapshot_policy_name="acc-test-auto-snapshot-policy",
    project_name="default",
    repeat_weekdays=[
        "2",
        "6",
    ],
    retention_days=-1,
    tags=[volcengine.ebs.AutoSnapshotPolicyTagArgs(
        key="k1",
        value="v1",
    )],
    time_points=[
        "1",
        "5",
        "9",
    ])
package main
import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ebs"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ebs.NewAutoSnapshotPolicy(ctx, "foo", &ebs.AutoSnapshotPolicyArgs{
			AutoSnapshotPolicyName: pulumi.String("acc-test-auto-snapshot-policy"),
			ProjectName:            pulumi.String("default"),
			RepeatWeekdays: pulumi.StringArray{
				pulumi.String("2"),
				pulumi.String("6"),
			},
			RetentionDays: -1,
			Tags: ebs.AutoSnapshotPolicyTagArray{
				&ebs.AutoSnapshotPolicyTagArgs{
					Key:   pulumi.String("k1"),
					Value: pulumi.String("v1"),
				},
			},
			TimePoints: pulumi.StringArray{
				pulumi.String("1"),
				pulumi.String("5"),
				pulumi.String("9"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() => 
{
    var foo = new Volcengine.Ebs.AutoSnapshotPolicy("foo", new()
    {
        AutoSnapshotPolicyName = "acc-test-auto-snapshot-policy",
        ProjectName = "default",
        RepeatWeekdays = new[]
        {
            "2",
            "6",
        },
        RetentionDays = -1,
        Tags = new[]
        {
            new Volcengine.Ebs.Inputs.AutoSnapshotPolicyTagArgs
            {
                Key = "k1",
                Value = "v1",
            },
        },
        TimePoints = new[]
        {
            "1",
            "5",
            "9",
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.ebs.AutoSnapshotPolicy;
import com.pulumi.volcengine.ebs.AutoSnapshotPolicyArgs;
import com.pulumi.volcengine.ebs.inputs.AutoSnapshotPolicyTagArgs;
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 foo = new AutoSnapshotPolicy("foo", AutoSnapshotPolicyArgs.builder()        
            .autoSnapshotPolicyName("acc-test-auto-snapshot-policy")
            .projectName("default")
            .repeatWeekdays(            
                2,
                6)
            .retentionDays("TODO: GenUnaryOpExpression")
            .tags(AutoSnapshotPolicyTagArgs.builder()
                .key("k1")
                .value("v1")
                .build())
            .timePoints(            
                1,
                5,
                9)
            .build());
    }
}
Coming soon!
Create AutoSnapshotPolicy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AutoSnapshotPolicy(name: string, args: AutoSnapshotPolicyArgs, opts?: CustomResourceOptions);@overload
def AutoSnapshotPolicy(resource_name: str,
                       args: AutoSnapshotPolicyArgs,
                       opts: Optional[ResourceOptions] = None)
@overload
def AutoSnapshotPolicy(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       auto_snapshot_policy_name: Optional[str] = None,
                       retention_days: Optional[int] = None,
                       time_points: Optional[Sequence[str]] = None,
                       project_name: Optional[str] = None,
                       repeat_days: Optional[int] = None,
                       repeat_weekdays: Optional[Sequence[str]] = None,
                       tags: Optional[Sequence[AutoSnapshotPolicyTagArgs]] = None)func NewAutoSnapshotPolicy(ctx *Context, name string, args AutoSnapshotPolicyArgs, opts ...ResourceOption) (*AutoSnapshotPolicy, error)public AutoSnapshotPolicy(string name, AutoSnapshotPolicyArgs args, CustomResourceOptions? opts = null)
public AutoSnapshotPolicy(String name, AutoSnapshotPolicyArgs args)
public AutoSnapshotPolicy(String name, AutoSnapshotPolicyArgs args, CustomResourceOptions options)
type: volcengine:ebs:AutoSnapshotPolicy
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AutoSnapshotPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AutoSnapshotPolicyArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AutoSnapshotPolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AutoSnapshotPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AutoSnapshotPolicyArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var autoSnapshotPolicyResource = new Volcengine.Ebs.AutoSnapshotPolicy("autoSnapshotPolicyResource", new()
{
    AutoSnapshotPolicyName = "string",
    RetentionDays = 0,
    TimePoints = new[]
    {
        "string",
    },
    ProjectName = "string",
    RepeatDays = 0,
    RepeatWeekdays = new[]
    {
        "string",
    },
    Tags = new[]
    {
        new Volcengine.Ebs.Inputs.AutoSnapshotPolicyTagArgs
        {
            Key = "string",
            Value = "string",
        },
    },
});
example, err := ebs.NewAutoSnapshotPolicy(ctx, "autoSnapshotPolicyResource", &ebs.AutoSnapshotPolicyArgs{
	AutoSnapshotPolicyName: pulumi.String("string"),
	RetentionDays:          pulumi.Int(0),
	TimePoints: pulumi.StringArray{
		pulumi.String("string"),
	},
	ProjectName: pulumi.String("string"),
	RepeatDays:  pulumi.Int(0),
	RepeatWeekdays: pulumi.StringArray{
		pulumi.String("string"),
	},
	Tags: ebs.AutoSnapshotPolicyTagArray{
		&ebs.AutoSnapshotPolicyTagArgs{
			Key:   pulumi.String("string"),
			Value: pulumi.String("string"),
		},
	},
})
var autoSnapshotPolicyResource = new AutoSnapshotPolicy("autoSnapshotPolicyResource", AutoSnapshotPolicyArgs.builder()
    .autoSnapshotPolicyName("string")
    .retentionDays(0)
    .timePoints("string")
    .projectName("string")
    .repeatDays(0)
    .repeatWeekdays("string")
    .tags(AutoSnapshotPolicyTagArgs.builder()
        .key("string")
        .value("string")
        .build())
    .build());
auto_snapshot_policy_resource = volcengine.ebs.AutoSnapshotPolicy("autoSnapshotPolicyResource",
    auto_snapshot_policy_name="string",
    retention_days=0,
    time_points=["string"],
    project_name="string",
    repeat_days=0,
    repeat_weekdays=["string"],
    tags=[{
        "key": "string",
        "value": "string",
    }])
const autoSnapshotPolicyResource = new volcengine.ebs.AutoSnapshotPolicy("autoSnapshotPolicyResource", {
    autoSnapshotPolicyName: "string",
    retentionDays: 0,
    timePoints: ["string"],
    projectName: "string",
    repeatDays: 0,
    repeatWeekdays: ["string"],
    tags: [{
        key: "string",
        value: "string",
    }],
});
type: volcengine:ebs:AutoSnapshotPolicy
properties:
    autoSnapshotPolicyName: string
    projectName: string
    repeatDays: 0
    repeatWeekdays:
        - string
    retentionDays: 0
    tags:
        - key: string
          value: string
    timePoints:
        - string
AutoSnapshotPolicy Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AutoSnapshotPolicy resource accepts the following input properties:
- AutoSnapshot stringPolicy Name 
- The name of the auto snapshot policy.
- RetentionDays int
- The retention days of the auto snapshot. Valid values: -1 and 1~65536. -1means permanently preserving the snapshot.
- TimePoints List<string>
- The creation time points of the auto snapshot policy. The value range is 0~23, representing a total of 24 time points from 00:00 to 23:00, for example, 1 represents 01:00.
- ProjectName string
- The project name of the auto snapshot policy.
- RepeatDays int
- Create snapshots repeatedly on a daily basis, with intervals of a certain number of days between each snapshot. The value range is 1-30. Only one ofrepeat_weekdays, repeat_dayscan be specified.
- RepeatWeekdays List<string>
- The date of creating snapshot repeatedly by week. The value range is 1-7, for example, 1 represents Monday. Only one ofrepeat_weekdays, repeat_dayscan be specified.
- 
List<AutoSnapshot Policy Tag> 
- Tags.
- AutoSnapshot stringPolicy Name 
- The name of the auto snapshot policy.
- RetentionDays int
- The retention days of the auto snapshot. Valid values: -1 and 1~65536. -1means permanently preserving the snapshot.
- TimePoints []string
- The creation time points of the auto snapshot policy. The value range is 0~23, representing a total of 24 time points from 00:00 to 23:00, for example, 1 represents 01:00.
- ProjectName string
- The project name of the auto snapshot policy.
- RepeatDays int
- Create snapshots repeatedly on a daily basis, with intervals of a certain number of days between each snapshot. The value range is 1-30. Only one ofrepeat_weekdays, repeat_dayscan be specified.
- RepeatWeekdays []string
- The date of creating snapshot repeatedly by week. The value range is 1-7, for example, 1 represents Monday. Only one ofrepeat_weekdays, repeat_dayscan be specified.
- 
[]AutoSnapshot Policy Tag Args 
- Tags.
- autoSnapshot StringPolicy Name 
- The name of the auto snapshot policy.
- retentionDays Integer
- The retention days of the auto snapshot. Valid values: -1 and 1~65536. -1means permanently preserving the snapshot.
- timePoints List<String>
- The creation time points of the auto snapshot policy. The value range is 0~23, representing a total of 24 time points from 00:00 to 23:00, for example, 1 represents 01:00.
- projectName String
- The project name of the auto snapshot policy.
- repeatDays Integer
- Create snapshots repeatedly on a daily basis, with intervals of a certain number of days between each snapshot. The value range is 1-30. Only one ofrepeat_weekdays, repeat_dayscan be specified.
- repeatWeekdays List<String>
- The date of creating snapshot repeatedly by week. The value range is 1-7, for example, 1 represents Monday. Only one ofrepeat_weekdays, repeat_dayscan be specified.
- 
List<AutoSnapshot Policy Tag> 
- Tags.
- autoSnapshot stringPolicy Name 
- The name of the auto snapshot policy.
- retentionDays number
- The retention days of the auto snapshot. Valid values: -1 and 1~65536. -1means permanently preserving the snapshot.
- timePoints string[]
- The creation time points of the auto snapshot policy. The value range is 0~23, representing a total of 24 time points from 00:00 to 23:00, for example, 1 represents 01:00.
- projectName string
- The project name of the auto snapshot policy.
- repeatDays number
- Create snapshots repeatedly on a daily basis, with intervals of a certain number of days between each snapshot. The value range is 1-30. Only one ofrepeat_weekdays, repeat_dayscan be specified.
- repeatWeekdays string[]
- The date of creating snapshot repeatedly by week. The value range is 1-7, for example, 1 represents Monday. Only one ofrepeat_weekdays, repeat_dayscan be specified.
- 
AutoSnapshot Policy Tag[] 
- Tags.
- auto_snapshot_ strpolicy_ name 
- The name of the auto snapshot policy.
- retention_days int
- The retention days of the auto snapshot. Valid values: -1 and 1~65536. -1means permanently preserving the snapshot.
- time_points Sequence[str]
- The creation time points of the auto snapshot policy. The value range is 0~23, representing a total of 24 time points from 00:00 to 23:00, for example, 1 represents 01:00.
- project_name str
- The project name of the auto snapshot policy.
- repeat_days int
- Create snapshots repeatedly on a daily basis, with intervals of a certain number of days between each snapshot. The value range is 1-30. Only one ofrepeat_weekdays, repeat_dayscan be specified.
- repeat_weekdays Sequence[str]
- The date of creating snapshot repeatedly by week. The value range is 1-7, for example, 1 represents Monday. Only one ofrepeat_weekdays, repeat_dayscan be specified.
- 
Sequence[AutoSnapshot Policy Tag Args] 
- Tags.
- autoSnapshot StringPolicy Name 
- The name of the auto snapshot policy.
- retentionDays Number
- The retention days of the auto snapshot. Valid values: -1 and 1~65536. -1means permanently preserving the snapshot.
- timePoints List<String>
- The creation time points of the auto snapshot policy. The value range is 0~23, representing a total of 24 time points from 00:00 to 23:00, for example, 1 represents 01:00.
- projectName String
- The project name of the auto snapshot policy.
- repeatDays Number
- Create snapshots repeatedly on a daily basis, with intervals of a certain number of days between each snapshot. The value range is 1-30. Only one ofrepeat_weekdays, repeat_dayscan be specified.
- repeatWeekdays List<String>
- The date of creating snapshot repeatedly by week. The value range is 1-7, for example, 1 represents Monday. Only one ofrepeat_weekdays, repeat_dayscan be specified.
- List<Property Map>
- Tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the AutoSnapshotPolicy resource produces the following output properties:
- CreatedAt string
- The creation time of the auto snapshot policy.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- The status of the auto snapshot policy.
- UpdatedAt string
- The updated time of the auto snapshot policy.
- int
- The number of volumes associated with the auto snapshot policy.
- CreatedAt string
- The creation time of the auto snapshot policy.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- The status of the auto snapshot policy.
- UpdatedAt string
- The updated time of the auto snapshot policy.
- int
- The number of volumes associated with the auto snapshot policy.
- createdAt String
- The creation time of the auto snapshot policy.
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- The status of the auto snapshot policy.
- updatedAt String
- The updated time of the auto snapshot policy.
- Integer
- The number of volumes associated with the auto snapshot policy.
- createdAt string
- The creation time of the auto snapshot policy.
- id string
- The provider-assigned unique ID for this managed resource.
- status string
- The status of the auto snapshot policy.
- updatedAt string
- The updated time of the auto snapshot policy.
- number
- The number of volumes associated with the auto snapshot policy.
- created_at str
- The creation time of the auto snapshot policy.
- id str
- The provider-assigned unique ID for this managed resource.
- status str
- The status of the auto snapshot policy.
- updated_at str
- The updated time of the auto snapshot policy.
- volume_nums int
- The number of volumes associated with the auto snapshot policy.
- createdAt String
- The creation time of the auto snapshot policy.
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- The status of the auto snapshot policy.
- updatedAt String
- The updated time of the auto snapshot policy.
- Number
- The number of volumes associated with the auto snapshot policy.
Look up Existing AutoSnapshotPolicy Resource
Get an existing AutoSnapshotPolicy resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: AutoSnapshotPolicyState, opts?: CustomResourceOptions): AutoSnapshotPolicy@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        auto_snapshot_policy_name: Optional[str] = None,
        created_at: Optional[str] = None,
        project_name: Optional[str] = None,
        repeat_days: Optional[int] = None,
        repeat_weekdays: Optional[Sequence[str]] = None,
        retention_days: Optional[int] = None,
        status: Optional[str] = None,
        tags: Optional[Sequence[AutoSnapshotPolicyTagArgs]] = None,
        time_points: Optional[Sequence[str]] = None,
        updated_at: Optional[str] = None,
        volume_nums: Optional[int] = None) -> AutoSnapshotPolicyfunc GetAutoSnapshotPolicy(ctx *Context, name string, id IDInput, state *AutoSnapshotPolicyState, opts ...ResourceOption) (*AutoSnapshotPolicy, error)public static AutoSnapshotPolicy Get(string name, Input<string> id, AutoSnapshotPolicyState? state, CustomResourceOptions? opts = null)public static AutoSnapshotPolicy get(String name, Output<String> id, AutoSnapshotPolicyState state, CustomResourceOptions options)resources:  _:    type: volcengine:ebs:AutoSnapshotPolicy    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- AutoSnapshot stringPolicy Name 
- The name of the auto snapshot policy.
- CreatedAt string
- The creation time of the auto snapshot policy.
- ProjectName string
- The project name of the auto snapshot policy.
- RepeatDays int
- Create snapshots repeatedly on a daily basis, with intervals of a certain number of days between each snapshot. The value range is 1-30. Only one ofrepeat_weekdays, repeat_dayscan be specified.
- RepeatWeekdays List<string>
- The date of creating snapshot repeatedly by week. The value range is 1-7, for example, 1 represents Monday. Only one ofrepeat_weekdays, repeat_dayscan be specified.
- RetentionDays int
- The retention days of the auto snapshot. Valid values: -1 and 1~65536. -1means permanently preserving the snapshot.
- Status string
- The status of the auto snapshot policy.
- 
List<AutoSnapshot Policy Tag> 
- Tags.
- TimePoints List<string>
- The creation time points of the auto snapshot policy. The value range is 0~23, representing a total of 24 time points from 00:00 to 23:00, for example, 1 represents 01:00.
- UpdatedAt string
- The updated time of the auto snapshot policy.
- int
- The number of volumes associated with the auto snapshot policy.
- AutoSnapshot stringPolicy Name 
- The name of the auto snapshot policy.
- CreatedAt string
- The creation time of the auto snapshot policy.
- ProjectName string
- The project name of the auto snapshot policy.
- RepeatDays int
- Create snapshots repeatedly on a daily basis, with intervals of a certain number of days between each snapshot. The value range is 1-30. Only one ofrepeat_weekdays, repeat_dayscan be specified.
- RepeatWeekdays []string
- The date of creating snapshot repeatedly by week. The value range is 1-7, for example, 1 represents Monday. Only one ofrepeat_weekdays, repeat_dayscan be specified.
- RetentionDays int
- The retention days of the auto snapshot. Valid values: -1 and 1~65536. -1means permanently preserving the snapshot.
- Status string
- The status of the auto snapshot policy.
- 
[]AutoSnapshot Policy Tag Args 
- Tags.
- TimePoints []string
- The creation time points of the auto snapshot policy. The value range is 0~23, representing a total of 24 time points from 00:00 to 23:00, for example, 1 represents 01:00.
- UpdatedAt string
- The updated time of the auto snapshot policy.
- int
- The number of volumes associated with the auto snapshot policy.
- autoSnapshot StringPolicy Name 
- The name of the auto snapshot policy.
- createdAt String
- The creation time of the auto snapshot policy.
- projectName String
- The project name of the auto snapshot policy.
- repeatDays Integer
- Create snapshots repeatedly on a daily basis, with intervals of a certain number of days between each snapshot. The value range is 1-30. Only one ofrepeat_weekdays, repeat_dayscan be specified.
- repeatWeekdays List<String>
- The date of creating snapshot repeatedly by week. The value range is 1-7, for example, 1 represents Monday. Only one ofrepeat_weekdays, repeat_dayscan be specified.
- retentionDays Integer
- The retention days of the auto snapshot. Valid values: -1 and 1~65536. -1means permanently preserving the snapshot.
- status String
- The status of the auto snapshot policy.
- 
List<AutoSnapshot Policy Tag> 
- Tags.
- timePoints List<String>
- The creation time points of the auto snapshot policy. The value range is 0~23, representing a total of 24 time points from 00:00 to 23:00, for example, 1 represents 01:00.
- updatedAt String
- The updated time of the auto snapshot policy.
- Integer
- The number of volumes associated with the auto snapshot policy.
- autoSnapshot stringPolicy Name 
- The name of the auto snapshot policy.
- createdAt string
- The creation time of the auto snapshot policy.
- projectName string
- The project name of the auto snapshot policy.
- repeatDays number
- Create snapshots repeatedly on a daily basis, with intervals of a certain number of days between each snapshot. The value range is 1-30. Only one ofrepeat_weekdays, repeat_dayscan be specified.
- repeatWeekdays string[]
- The date of creating snapshot repeatedly by week. The value range is 1-7, for example, 1 represents Monday. Only one ofrepeat_weekdays, repeat_dayscan be specified.
- retentionDays number
- The retention days of the auto snapshot. Valid values: -1 and 1~65536. -1means permanently preserving the snapshot.
- status string
- The status of the auto snapshot policy.
- 
AutoSnapshot Policy Tag[] 
- Tags.
- timePoints string[]
- The creation time points of the auto snapshot policy. The value range is 0~23, representing a total of 24 time points from 00:00 to 23:00, for example, 1 represents 01:00.
- updatedAt string
- The updated time of the auto snapshot policy.
- number
- The number of volumes associated with the auto snapshot policy.
- auto_snapshot_ strpolicy_ name 
- The name of the auto snapshot policy.
- created_at str
- The creation time of the auto snapshot policy.
- project_name str
- The project name of the auto snapshot policy.
- repeat_days int
- Create snapshots repeatedly on a daily basis, with intervals of a certain number of days between each snapshot. The value range is 1-30. Only one ofrepeat_weekdays, repeat_dayscan be specified.
- repeat_weekdays Sequence[str]
- The date of creating snapshot repeatedly by week. The value range is 1-7, for example, 1 represents Monday. Only one ofrepeat_weekdays, repeat_dayscan be specified.
- retention_days int
- The retention days of the auto snapshot. Valid values: -1 and 1~65536. -1means permanently preserving the snapshot.
- status str
- The status of the auto snapshot policy.
- 
Sequence[AutoSnapshot Policy Tag Args] 
- Tags.
- time_points Sequence[str]
- The creation time points of the auto snapshot policy. The value range is 0~23, representing a total of 24 time points from 00:00 to 23:00, for example, 1 represents 01:00.
- updated_at str
- The updated time of the auto snapshot policy.
- volume_nums int
- The number of volumes associated with the auto snapshot policy.
- autoSnapshot StringPolicy Name 
- The name of the auto snapshot policy.
- createdAt String
- The creation time of the auto snapshot policy.
- projectName String
- The project name of the auto snapshot policy.
- repeatDays Number
- Create snapshots repeatedly on a daily basis, with intervals of a certain number of days between each snapshot. The value range is 1-30. Only one ofrepeat_weekdays, repeat_dayscan be specified.
- repeatWeekdays List<String>
- The date of creating snapshot repeatedly by week. The value range is 1-7, for example, 1 represents Monday. Only one ofrepeat_weekdays, repeat_dayscan be specified.
- retentionDays Number
- The retention days of the auto snapshot. Valid values: -1 and 1~65536. -1means permanently preserving the snapshot.
- status String
- The status of the auto snapshot policy.
- List<Property Map>
- Tags.
- timePoints List<String>
- The creation time points of the auto snapshot policy. The value range is 0~23, representing a total of 24 time points from 00:00 to 23:00, for example, 1 represents 01:00.
- updatedAt String
- The updated time of the auto snapshot policy.
- Number
- The number of volumes associated with the auto snapshot policy.
Supporting Types
AutoSnapshotPolicyTag, AutoSnapshotPolicyTagArgs        
Import
EbsAutoSnapshotPolicy can be imported using the id, e.g.
$ pulumi import volcengine:ebs/autoSnapshotPolicy:AutoSnapshotPolicy default resource_id
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the volcengineTerraform Provider.