Viewing docs for bytepluscc v0.0.16
published on Monday, Mar 9, 2026 by Byteplus
published on Monday, Mar 9, 2026 by Byteplus
Viewing docs for bytepluscc v0.0.16
published on Monday, Mar 9, 2026 by Byteplus
published on Monday, Mar 9, 2026 by Byteplus
Data Source schema for Byteplus::StorageEBS::Snapshot
Using getSnapshot
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 getSnapshot(args: GetSnapshotArgs, opts?: InvokeOptions): Promise<GetSnapshotResult>
function getSnapshotOutput(args: GetSnapshotOutputArgs, opts?: InvokeOptions): Output<GetSnapshotResult>def get_snapshot(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSnapshotResult
def get_snapshot_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSnapshotResult]func LookupSnapshot(ctx *Context, args *LookupSnapshotArgs, opts ...InvokeOption) (*LookupSnapshotResult, error)
func LookupSnapshotOutput(ctx *Context, args *LookupSnapshotOutputArgs, opts ...InvokeOption) LookupSnapshotResultOutput> Note: This function is named LookupSnapshot in the Go SDK.
public static class GetSnapshot
{
public static Task<GetSnapshotResult> InvokeAsync(GetSnapshotArgs args, InvokeOptions? opts = null)
public static Output<GetSnapshotResult> Invoke(GetSnapshotInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSnapshotResult> getSnapshot(GetSnapshotArgs args, InvokeOptions options)
public static Output<GetSnapshotResult> getSnapshot(GetSnapshotArgs args, InvokeOptions options)
fn::invoke:
function: bytepluscc:storageebs/getSnapshot:getSnapshot
arguments:
# arguments dictionaryThe 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 str
- Uniquely identifies the resource.
- id String
- Uniquely identifies the resource.
getSnapshot Result
The following output properties are available:
- Creation
Time string - 快照创建时间。
- Description string
- 快照描述信息,默认为空,长度限制为0~255个字符。
- Id string
- Uniquely identifies the resource.
- Image
Id string - 镜像ID
- Instant
Access bool - 快照是否开启极速可用能力,取值说明如下:true:已开启极速可用能力。false:未开启极速可用能力。
- Progress int
- 快照转储进度。
- Project
Name string - 快照所要加入的Project(项目)名称。注意快照不会继承云盘的项目,即快照与云盘可以所属不同的项目。如果您在创建快照时未设置ProjectName,快照会默认加入default项目。
- Retention
Days int - 快照保留时间,单位为天,取值说明如下:空:永久保留快照 。1~65536:指定保存天数。默认为空,即默认永久保留快照。说明快照保留时间从快照创建时刻开始计算。
- bool
- 快照是否共享。
- Snapshot
Group stringId - 快照一致性组ID。
- Snapshot
Id string - 快照ID。
- Snapshot
Name string - 创建的快照名称。命名规范如下:长度限制为1~128个字符。只能包含中文、字母、数字、下划线(_)、中划线(-)和英文句号(.)。为防止和自动快照的名称冲突,不能以“auto”开头。
- Snapshot
Type string - 快照类型,取值说明如下:user:查询手动快照。auto:查询自动快照。share:查询共享快照。默认查询所有快照。
- Status string
- 快照状态,取值说明如下:available:可用。creating:创建中。rollbacking:回滚中。deleted:已删除。failed:错误。
-
List<Byteplus.
Get Snapshot Tag> - 快照的标签信息。
- Volume
Id string - 快照相关的云盘ID。
- Volume
Kind string - 云盘种类,取值说明如下:system:系统盘。data:数据盘。
- Volume
Name string - 云盘名称。
- Volume
Size int - 云盘大小,单位为GiB。
- Volume
Status string - 云盘状态,取值说明如下:available:可用, attaching:挂载中, attached:已挂载, detaching:卸载中, creating:创建中, deleting:删除中, error:错误, extending:扩容中, "":云盘被删除。
- Volume
Type string - 云盘类型,取值说明如下:ESSDPL0:极速型SSD云盘,PL0规格。ESSDFlexPL:极速型SSD云盘,FlexPL规格。TSSD_TL0:吞吐型SSD云盘
- Zone
Id string - 快照所在的可用区ID。
- Creation
Time string - 快照创建时间。
- Description string
- 快照描述信息,默认为空,长度限制为0~255个字符。
- Id string
- Uniquely identifies the resource.
- Image
Id string - 镜像ID
- Instant
Access bool - 快照是否开启极速可用能力,取值说明如下:true:已开启极速可用能力。false:未开启极速可用能力。
- Progress int
- 快照转储进度。
- Project
Name string - 快照所要加入的Project(项目)名称。注意快照不会继承云盘的项目,即快照与云盘可以所属不同的项目。如果您在创建快照时未设置ProjectName,快照会默认加入default项目。
- Retention
Days int - 快照保留时间,单位为天,取值说明如下:空:永久保留快照 。1~65536:指定保存天数。默认为空,即默认永久保留快照。说明快照保留时间从快照创建时刻开始计算。
- bool
- 快照是否共享。
- Snapshot
Group stringId - 快照一致性组ID。
- Snapshot
Id string - 快照ID。
- Snapshot
Name string - 创建的快照名称。命名规范如下:长度限制为1~128个字符。只能包含中文、字母、数字、下划线(_)、中划线(-)和英文句号(.)。为防止和自动快照的名称冲突,不能以“auto”开头。
- Snapshot
Type string - 快照类型,取值说明如下:user:查询手动快照。auto:查询自动快照。share:查询共享快照。默认查询所有快照。
- Status string
- 快照状态,取值说明如下:available:可用。creating:创建中。rollbacking:回滚中。deleted:已删除。failed:错误。
-
[]Get
Snapshot Tag - 快照的标签信息。
- Volume
Id string - 快照相关的云盘ID。
- Volume
Kind string - 云盘种类,取值说明如下:system:系统盘。data:数据盘。
- Volume
Name string - 云盘名称。
- Volume
Size int - 云盘大小,单位为GiB。
- Volume
Status string - 云盘状态,取值说明如下:available:可用, attaching:挂载中, attached:已挂载, detaching:卸载中, creating:创建中, deleting:删除中, error:错误, extending:扩容中, "":云盘被删除。
- Volume
Type string - 云盘类型,取值说明如下:ESSDPL0:极速型SSD云盘,PL0规格。ESSDFlexPL:极速型SSD云盘,FlexPL规格。TSSD_TL0:吞吐型SSD云盘
- Zone
Id string - 快照所在的可用区ID。
- creation
Time String - 快照创建时间。
- description String
- 快照描述信息,默认为空,长度限制为0~255个字符。
- id String
- Uniquely identifies the resource.
- image
Id String - 镜像ID
- instant
Access Boolean - 快照是否开启极速可用能力,取值说明如下:true:已开启极速可用能力。false:未开启极速可用能力。
- progress Integer
- 快照转储进度。
- project
Name String - 快照所要加入的Project(项目)名称。注意快照不会继承云盘的项目,即快照与云盘可以所属不同的项目。如果您在创建快照时未设置ProjectName,快照会默认加入default项目。
- retention
Days Integer - 快照保留时间,单位为天,取值说明如下:空:永久保留快照 。1~65536:指定保存天数。默认为空,即默认永久保留快照。说明快照保留时间从快照创建时刻开始计算。
- Boolean
- 快照是否共享。
- snapshot
Group StringId - 快照一致性组ID。
- snapshot
Id String - 快照ID。
- snapshot
Name String - 创建的快照名称。命名规范如下:长度限制为1~128个字符。只能包含中文、字母、数字、下划线(_)、中划线(-)和英文句号(.)。为防止和自动快照的名称冲突,不能以“auto”开头。
- snapshot
Type String - 快照类型,取值说明如下:user:查询手动快照。auto:查询自动快照。share:查询共享快照。默认查询所有快照。
- status String
- 快照状态,取值说明如下:available:可用。creating:创建中。rollbacking:回滚中。deleted:已删除。failed:错误。
-
List<Get
Snapshot Tag> - 快照的标签信息。
- volume
Id String - 快照相关的云盘ID。
- volume
Kind String - 云盘种类,取值说明如下:system:系统盘。data:数据盘。
- volume
Name String - 云盘名称。
- volume
Size Integer - 云盘大小,单位为GiB。
- volume
Status String - 云盘状态,取值说明如下:available:可用, attaching:挂载中, attached:已挂载, detaching:卸载中, creating:创建中, deleting:删除中, error:错误, extending:扩容中, "":云盘被删除。
- volume
Type String - 云盘类型,取值说明如下:ESSDPL0:极速型SSD云盘,PL0规格。ESSDFlexPL:极速型SSD云盘,FlexPL规格。TSSD_TL0:吞吐型SSD云盘
- zone
Id String - 快照所在的可用区ID。
- creation
Time string - 快照创建时间。
- description string
- 快照描述信息,默认为空,长度限制为0~255个字符。
- id string
- Uniquely identifies the resource.
- image
Id string - 镜像ID
- instant
Access boolean - 快照是否开启极速可用能力,取值说明如下:true:已开启极速可用能力。false:未开启极速可用能力。
- progress number
- 快照转储进度。
- project
Name string - 快照所要加入的Project(项目)名称。注意快照不会继承云盘的项目,即快照与云盘可以所属不同的项目。如果您在创建快照时未设置ProjectName,快照会默认加入default项目。
- retention
Days number - 快照保留时间,单位为天,取值说明如下:空:永久保留快照 。1~65536:指定保存天数。默认为空,即默认永久保留快照。说明快照保留时间从快照创建时刻开始计算。
- boolean
- 快照是否共享。
- snapshot
Group stringId - 快照一致性组ID。
- snapshot
Id string - 快照ID。
- snapshot
Name string - 创建的快照名称。命名规范如下:长度限制为1~128个字符。只能包含中文、字母、数字、下划线(_)、中划线(-)和英文句号(.)。为防止和自动快照的名称冲突,不能以“auto”开头。
- snapshot
Type string - 快照类型,取值说明如下:user:查询手动快照。auto:查询自动快照。share:查询共享快照。默认查询所有快照。
- status string
- 快照状态,取值说明如下:available:可用。creating:创建中。rollbacking:回滚中。deleted:已删除。failed:错误。
-
Get
Snapshot Tag[] - 快照的标签信息。
- volume
Id string - 快照相关的云盘ID。
- volume
Kind string - 云盘种类,取值说明如下:system:系统盘。data:数据盘。
- volume
Name string - 云盘名称。
- volume
Size number - 云盘大小,单位为GiB。
- volume
Status string - 云盘状态,取值说明如下:available:可用, attaching:挂载中, attached:已挂载, detaching:卸载中, creating:创建中, deleting:删除中, error:错误, extending:扩容中, "":云盘被删除。
- volume
Type string - 云盘类型,取值说明如下:ESSDPL0:极速型SSD云盘,PL0规格。ESSDFlexPL:极速型SSD云盘,FlexPL规格。TSSD_TL0:吞吐型SSD云盘
- zone
Id string - 快照所在的可用区ID。
- creation_
time str - 快照创建时间。
- description str
- 快照描述信息,默认为空,长度限制为0~255个字符。
- id str
- Uniquely identifies the resource.
- image_
id str - 镜像ID
- instant_
access bool - 快照是否开启极速可用能力,取值说明如下:true:已开启极速可用能力。false:未开启极速可用能力。
- progress int
- 快照转储进度。
- project_
name str - 快照所要加入的Project(项目)名称。注意快照不会继承云盘的项目,即快照与云盘可以所属不同的项目。如果您在创建快照时未设置ProjectName,快照会默认加入default项目。
- retention_
days int - 快照保留时间,单位为天,取值说明如下:空:永久保留快照 。1~65536:指定保存天数。默认为空,即默认永久保留快照。说明快照保留时间从快照创建时刻开始计算。
- bool
- 快照是否共享。
- snapshot_
group_ strid - 快照一致性组ID。
- snapshot_
id str - 快照ID。
- snapshot_
name str - 创建的快照名称。命名规范如下:长度限制为1~128个字符。只能包含中文、字母、数字、下划线(_)、中划线(-)和英文句号(.)。为防止和自动快照的名称冲突,不能以“auto”开头。
- snapshot_
type str - 快照类型,取值说明如下:user:查询手动快照。auto:查询自动快照。share:查询共享快照。默认查询所有快照。
- status str
- 快照状态,取值说明如下:available:可用。creating:创建中。rollbacking:回滚中。deleted:已删除。failed:错误。
-
Sequence[Get
Snapshot Tag] - 快照的标签信息。
- volume_
id str - 快照相关的云盘ID。
- volume_
kind str - 云盘种类,取值说明如下:system:系统盘。data:数据盘。
- volume_
name str - 云盘名称。
- volume_
size int - 云盘大小,单位为GiB。
- volume_
status str - 云盘状态,取值说明如下:available:可用, attaching:挂载中, attached:已挂载, detaching:卸载中, creating:创建中, deleting:删除中, error:错误, extending:扩容中, "":云盘被删除。
- volume_
type str - 云盘类型,取值说明如下:ESSDPL0:极速型SSD云盘,PL0规格。ESSDFlexPL:极速型SSD云盘,FlexPL规格。TSSD_TL0:吞吐型SSD云盘
- zone_
id str - 快照所在的可用区ID。
- creation
Time String - 快照创建时间。
- description String
- 快照描述信息,默认为空,长度限制为0~255个字符。
- id String
- Uniquely identifies the resource.
- image
Id String - 镜像ID
- instant
Access Boolean - 快照是否开启极速可用能力,取值说明如下:true:已开启极速可用能力。false:未开启极速可用能力。
- progress Number
- 快照转储进度。
- project
Name String - 快照所要加入的Project(项目)名称。注意快照不会继承云盘的项目,即快照与云盘可以所属不同的项目。如果您在创建快照时未设置ProjectName,快照会默认加入default项目。
- retention
Days Number - 快照保留时间,单位为天,取值说明如下:空:永久保留快照 。1~65536:指定保存天数。默认为空,即默认永久保留快照。说明快照保留时间从快照创建时刻开始计算。
- Boolean
- 快照是否共享。
- snapshot
Group StringId - 快照一致性组ID。
- snapshot
Id String - 快照ID。
- snapshot
Name String - 创建的快照名称。命名规范如下:长度限制为1~128个字符。只能包含中文、字母、数字、下划线(_)、中划线(-)和英文句号(.)。为防止和自动快照的名称冲突,不能以“auto”开头。
- snapshot
Type String - 快照类型,取值说明如下:user:查询手动快照。auto:查询自动快照。share:查询共享快照。默认查询所有快照。
- status String
- 快照状态,取值说明如下:available:可用。creating:创建中。rollbacking:回滚中。deleted:已删除。failed:错误。
- List<Property Map>
- 快照的标签信息。
- volume
Id String - 快照相关的云盘ID。
- volume
Kind String - 云盘种类,取值说明如下:system:系统盘。data:数据盘。
- volume
Name String - 云盘名称。
- volume
Size Number - 云盘大小,单位为GiB。
- volume
Status String - 云盘状态,取值说明如下:available:可用, attaching:挂载中, attached:已挂载, detaching:卸载中, creating:创建中, deleting:删除中, error:错误, extending:扩容中, "":云盘被删除。
- volume
Type String - 云盘类型,取值说明如下:ESSDPL0:极速型SSD云盘,PL0规格。ESSDFlexPL:极速型SSD云盘,FlexPL规格。TSSD_TL0:吞吐型SSD云盘
- zone
Id String - 快照所在的可用区ID。
Supporting Types
GetSnapshotTag
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.16
published on Monday, Mar 9, 2026 by Byteplus
published on Monday, Mar 9, 2026 by Byteplus
