Viewing docs for bytepluscc v0.0.35
published on Monday, Jun 15, 2026 by Byteplus
published on Monday, Jun 15, 2026 by Byteplus
Viewing docs for bytepluscc v0.0.35
published on Monday, Jun 15, 2026 by Byteplus
published on Monday, Jun 15, 2026 by Byteplus
Data Source schema for Byteplus::StorageEBS::SnapshotPolicy
Using getSnapshotPolicy
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getSnapshotPolicy(args: GetSnapshotPolicyArgs, opts?: InvokeOptions): Promise<GetSnapshotPolicyResult>
function getSnapshotPolicyOutput(args: GetSnapshotPolicyOutputArgs, opts?: InvokeOptions): Output<GetSnapshotPolicyResult>def get_snapshot_policy(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSnapshotPolicyResult
def get_snapshot_policy_output(id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSnapshotPolicyResult]func LookupSnapshotPolicy(ctx *Context, args *LookupSnapshotPolicyArgs, opts ...InvokeOption) (*LookupSnapshotPolicyResult, error)
func LookupSnapshotPolicyOutput(ctx *Context, args *LookupSnapshotPolicyOutputArgs, opts ...InvokeOption) LookupSnapshotPolicyResultOutput> Note: This function is named LookupSnapshotPolicy in the Go SDK.
public static class GetSnapshotPolicy
{
public static Task<GetSnapshotPolicyResult> InvokeAsync(GetSnapshotPolicyArgs args, InvokeOptions? opts = null)
public static Output<GetSnapshotPolicyResult> Invoke(GetSnapshotPolicyInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSnapshotPolicyResult> getSnapshotPolicy(GetSnapshotPolicyArgs args, InvokeOptions options)
public static Output<GetSnapshotPolicyResult> getSnapshotPolicy(GetSnapshotPolicyArgs args, InvokeOptions options)
fn::invoke:
function: bytepluscc:storageebs/getSnapshotPolicy:getSnapshotPolicy
arguments:
# arguments dictionarydata "bytepluscc_storageebs_getsnapshotpolicy" "name" {
# arguments
}The following arguments are supported:
- Id string
- Uniquely identifies the resource.
- Id string
- Uniquely identifies the resource.
- id string
- Uniquely identifies the resource.
- id String
- Uniquely identifies the resource.
- id string
- Uniquely identifies the resource.
- id str
- Uniquely identifies the resource.
- id String
- Uniquely identifies the resource.
getSnapshotPolicy Result
The following output properties are available:
- Add
Volume List<string>Ids - List of cloud disk IDs to associate with the automatic snapshot policy.
- Auto
Snapshot stringPolicy Id - Automatic snapshot policy ID.
- Auto
Snapshot stringPolicy Name - 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.
- Created
At string - Creation time of the automatic snapshot policy.
- Id string
- Uniquely identifies the resource.
- Project
Name string - Project associated with the automatic snapshot policy.
- Remove
Volume List<string>Ids - List of cloud disk IDs to disassociate from the automatic snapshot policy.
- Repeat
Days int - 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.
- Repeat
Weekdays List<string> - 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.
- Retention
Days int - Retention period for automatic snapshots, in days. -1: Save permanently; 1–65536: Specify number of days to retain.
- Status string
- Reserved parameter.
-
List<Byteplus.
Get Snapshot Policy Tag> - Tag.
- Time
Points List<string> - Snapshot creation time points, using UTC +8 time. Unit: hour. Value range: 0–23.
- Updated
At string - Update time of the automatic snapshot policy.
- int
- Total number of cloud disks.
- Add
Volume []stringIds - List of cloud disk IDs to associate with the automatic snapshot policy.
- Auto
Snapshot stringPolicy Id - Automatic snapshot policy ID.
- Auto
Snapshot stringPolicy Name - 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.
- Created
At string - Creation time of the automatic snapshot policy.
- Id string
- Uniquely identifies the resource.
- Project
Name string - Project associated with the automatic snapshot policy.
- Remove
Volume []stringIds - List of cloud disk IDs to disassociate from the automatic snapshot policy.
- Repeat
Days int - 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.
- Repeat
Weekdays []string - 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.
- Retention
Days int - Retention period for automatic snapshots, in days. -1: Save permanently; 1–65536: Specify number of days to retain.
- Status string
- Reserved parameter.
-
[]Get
Snapshot Policy Tag - Tag.
- Time
Points []string - Snapshot creation time points, using UTC +8 time. Unit: hour. Value range: 0–23.
- Updated
At string - Update time of the automatic snapshot policy.
- int
- Total number of cloud disks.
- add_
volume_ list(string)ids - List of cloud disk IDs to associate with the automatic snapshot policy.
- auto_
snapshot_ stringpolicy_ id - Automatic snapshot policy ID.
- auto_
snapshot_ stringpolicy_ name - 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.
- created_
at string - Creation time of the automatic snapshot policy.
- id string
- Uniquely identifies the resource.
- project_
name string - Project associated with the automatic snapshot policy.
- remove_
volume_ list(string)ids - List of cloud disk IDs to disassociate from the automatic snapshot policy.
- repeat_
days number - 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.
- repeat_
weekdays list(string) - 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.
- retention_
days number - Retention period for automatic snapshots, in days. -1: Save permanently; 1–65536: Specify number of days to retain.
- status string
- Reserved parameter.
- list(object)
- Tag.
- time_
points list(string) - Snapshot creation time points, using UTC +8 time. Unit: hour. Value range: 0–23.
- updated_
at string - Update time of the automatic snapshot policy.
- volume_
nums number - Total number of cloud disks.
- add
Volume List<String>Ids - List of cloud disk IDs to associate with the automatic snapshot policy.
- auto
Snapshot StringPolicy Id - Automatic snapshot policy ID.
- auto
Snapshot StringPolicy Name - 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.
- created
At String - Creation time of the automatic snapshot policy.
- id String
- Uniquely identifies the resource.
- project
Name String - Project associated with the automatic snapshot policy.
- remove
Volume List<String>Ids - List of cloud disk IDs to disassociate from the automatic snapshot policy.
- repeat
Days Integer - 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.
- repeat
Weekdays List<String> - 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.
- retention
Days Integer - Retention period for automatic snapshots, in days. -1: Save permanently; 1–65536: Specify number of days to retain.
- status String
- Reserved parameter.
-
List<Get
Snapshot Policy Tag> - Tag.
- time
Points List<String> - Snapshot creation time points, using UTC +8 time. Unit: hour. Value range: 0–23.
- updated
At String - Update time of the automatic snapshot policy.
- Integer
- Total number of cloud disks.
- add
Volume string[]Ids - List of cloud disk IDs to associate with the automatic snapshot policy.
- auto
Snapshot stringPolicy Id - Automatic snapshot policy ID.
- auto
Snapshot stringPolicy Name - 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.
- created
At string - Creation time of the automatic snapshot policy.
- id string
- Uniquely identifies the resource.
- project
Name string - Project associated with the automatic snapshot policy.
- remove
Volume string[]Ids - List of cloud disk IDs to disassociate from the automatic snapshot policy.
- repeat
Days number - 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.
- repeat
Weekdays string[] - 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.
- retention
Days number - Retention period for automatic snapshots, in days. -1: Save permanently; 1–65536: Specify number of days to retain.
- status string
- Reserved parameter.
-
Get
Snapshot Policy Tag[] - Tag.
- time
Points string[] - Snapshot creation time points, using UTC +8 time. Unit: hour. Value range: 0–23.
- updated
At string - Update time of the automatic snapshot policy.
- number
- Total number of cloud disks.
- add_
volume_ Sequence[str]ids - List of cloud disk IDs to associate with the automatic snapshot policy.
- auto_
snapshot_ strpolicy_ id - Automatic snapshot policy ID.
- auto_
snapshot_ strpolicy_ name - 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.
- created_
at str - Creation time of the automatic snapshot policy.
- id str
- Uniquely identifies the resource.
- project_
name str - Project associated with the automatic snapshot policy.
- remove_
volume_ Sequence[str]ids - List of cloud disk IDs to disassociate from the automatic snapshot policy.
- repeat_
days int - 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.
- repeat_
weekdays Sequence[str] - 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.
- retention_
days int - Retention period for automatic snapshots, in days. -1: Save permanently; 1–65536: Specify number of days to retain.
- status str
- Reserved parameter.
-
Sequence[Get
Snapshot Policy Tag] - Tag.
- time_
points Sequence[str] - Snapshot creation time points, using UTC +8 time. Unit: hour. Value range: 0–23.
- updated_
at str - Update time of the automatic snapshot policy.
- volume_
nums int - Total number of cloud disks.
- add
Volume List<String>Ids - List of cloud disk IDs to associate with the automatic snapshot policy.
- auto
Snapshot StringPolicy Id - Automatic snapshot policy ID.
- auto
Snapshot StringPolicy Name - 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.
- created
At String - Creation time of the automatic snapshot policy.
- id String
- Uniquely identifies the resource.
- project
Name String - Project associated with the automatic snapshot policy.
- remove
Volume List<String>Ids - List of cloud disk IDs to disassociate from the automatic snapshot policy.
- repeat
Days Number - 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.
- repeat
Weekdays List<String> - 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.
- retention
Days Number - Retention period for automatic snapshots, in days. -1: Save permanently; 1–65536: Specify number of days to retain.
- status String
- Reserved parameter.
- List<Property Map>
- Tag.
- time
Points List<String> - Snapshot creation time points, using UTC +8 time. Unit: hour. Value range: 0–23.
- updated
At String - Update time of the automatic snapshot policy.
- Number
- Total number of cloud disks.
Supporting Types
GetSnapshotPolicyTag
Package Details
- Repository
- bytepluscc byteplus-sdk/pulumi-bytepluscc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
byteplusccTerraform Provider.
Viewing docs for bytepluscc v0.0.35
published on Monday, Jun 15, 2026 by Byteplus
published on Monday, Jun 15, 2026 by Byteplus