import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Data Source schema for Volcengine::StorageEBS::SnapshotPolicy */ export declare function getSnapshotPolicy(args: GetSnapshotPolicyArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getSnapshotPolicy. */ export interface GetSnapshotPolicyArgs { /** * Uniquely identifies the resource. */ id: string; } /** * A collection of values returned by getSnapshotPolicy. */ export interface GetSnapshotPolicyResult { /** * List of cloud disk IDs to associate with the automatic snapshot policy. */ readonly addVolumeIds: string[]; /** * Automatic snapshot policy ID. */ readonly autoSnapshotPolicyId: string; /** * Automatic snapshot policy name. Naming rules: The first character must be Chinese, a letter, or an underscore (*). It can include Chinese, letters, numbers, underscores (*), hyphens (-), or periods (.). Length must be between 1 and 128 characters. */ readonly autoSnapshotPolicyName: string; /** * Creation time of the automatic snapshot policy. */ readonly createdAt: string; /** * Uniquely identifies the resource. */ readonly id: string; /** * Project associated with the automatic snapshot policy. */ readonly projectName: string; /** * List of cloud disk IDs to disassociate from the automatic snapshot policy. */ readonly removeVolumeIds: string[]; /** * Create snapshots on a daily basis, with a specified interval in days. The value range is [1, 30]. When repeating snapshot creation daily, the day you create the automatic snapshot policy is considered Day 1. Snapshots will not be created for past time points. If all scheduled snapshot times for the day have passed, the day is still counted as Day 1. */ readonly repeatDays: number; /** * Create snapshots on a weekly basis by selecting one or more days from Monday to Sunday. The value range is 1–7. When creating an automatic snapshot policy, you must set either the RepeatWeekdays.N or RepeatDays parameter. Setting both parameters at the same time is not supported. */ readonly repeatWeekdays: string[]; /** * Retention period for automatic snapshots, in days. -1: Save permanently; 1–65536: Specify number of days to retain. */ readonly retentionDays: number; /** * Reserved parameter. */ readonly status: string; /** * Tag. */ readonly tags: outputs.storageebs.GetSnapshotPolicyTag[]; /** * Snapshot creation time points, using UTC +8 time. Unit: hour. Value range: 0–23. */ readonly timePoints: string[]; /** * Update time of the automatic snapshot policy. */ readonly updatedAt: string; /** * Total number of cloud disks. */ readonly volumeNums: number; } /** * Data Source schema for Volcengine::StorageEBS::SnapshotPolicy */ export declare function getSnapshotPolicyOutput(args: GetSnapshotPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getSnapshotPolicy. */ export interface GetSnapshotPolicyOutputArgs { /** * Uniquely identifies the resource. */ id: pulumi.Input; }