1. Packages
  2. Bytepluscc Provider
  3. API Docs
  4. filenas
  5. getSnapshot
bytepluscc v0.0.11 published on Wednesday, Jan 21, 2026 by Byteplus
bytepluscc logo
bytepluscc v0.0.11 published on Wednesday, Jan 21, 2026 by Byteplus

    Data Source schema for Byteplus::FileNAS::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:filenas/getSnapshot:getSnapshot
      arguments:
        # arguments dictionary

    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 str
    Uniquely identifies the resource.
    id String
    Uniquely identifies the resource.

    getSnapshot Result

    The following output properties are available:

    CreatedTime string
    快照创建时间。
    Description string
    快照描述信息。
    FileSystemId string
    文件系统 ID。
    FileSystemName string
    文件系统名称。
    Id string
    Uniquely identifies the resource.
    IsEncrypt bool
    是否加密,当前仅支持false,即不加密。
    Progress string
    快照创建进度。
    RetentionDays int
    快照保留时间,默认为2147483647,即永久保留。
    SnapshotId string
    快照 ID。
    SnapshotName string
    快照名称。
    SnapshotType string
    快照类型,默认为Manual,即手动快照。
    SourceSize int
    文件系统容量,单位为 GiB。
    SourceVersion string
    文件系统版本。
    Status string
    快照状态。说明如下:Progressing:正在创建。Accomplished:创建成功。Failed:创建失败。
    ZoneId string
    可用区 ID。
    CreatedTime string
    快照创建时间。
    Description string
    快照描述信息。
    FileSystemId string
    文件系统 ID。
    FileSystemName string
    文件系统名称。
    Id string
    Uniquely identifies the resource.
    IsEncrypt bool
    是否加密,当前仅支持false,即不加密。
    Progress string
    快照创建进度。
    RetentionDays int
    快照保留时间,默认为2147483647,即永久保留。
    SnapshotId string
    快照 ID。
    SnapshotName string
    快照名称。
    SnapshotType string
    快照类型,默认为Manual,即手动快照。
    SourceSize int
    文件系统容量,单位为 GiB。
    SourceVersion string
    文件系统版本。
    Status string
    快照状态。说明如下:Progressing:正在创建。Accomplished:创建成功。Failed:创建失败。
    ZoneId string
    可用区 ID。
    createdTime String
    快照创建时间。
    description String
    快照描述信息。
    fileSystemId String
    文件系统 ID。
    fileSystemName String
    文件系统名称。
    id String
    Uniquely identifies the resource.
    isEncrypt Boolean
    是否加密,当前仅支持false,即不加密。
    progress String
    快照创建进度。
    retentionDays Integer
    快照保留时间,默认为2147483647,即永久保留。
    snapshotId String
    快照 ID。
    snapshotName String
    快照名称。
    snapshotType String
    快照类型,默认为Manual,即手动快照。
    sourceSize Integer
    文件系统容量,单位为 GiB。
    sourceVersion String
    文件系统版本。
    status String
    快照状态。说明如下:Progressing:正在创建。Accomplished:创建成功。Failed:创建失败。
    zoneId String
    可用区 ID。
    createdTime string
    快照创建时间。
    description string
    快照描述信息。
    fileSystemId string
    文件系统 ID。
    fileSystemName string
    文件系统名称。
    id string
    Uniquely identifies the resource.
    isEncrypt boolean
    是否加密,当前仅支持false,即不加密。
    progress string
    快照创建进度。
    retentionDays number
    快照保留时间,默认为2147483647,即永久保留。
    snapshotId string
    快照 ID。
    snapshotName string
    快照名称。
    snapshotType string
    快照类型,默认为Manual,即手动快照。
    sourceSize number
    文件系统容量,单位为 GiB。
    sourceVersion string
    文件系统版本。
    status string
    快照状态。说明如下:Progressing:正在创建。Accomplished:创建成功。Failed:创建失败。
    zoneId string
    可用区 ID。
    created_time str
    快照创建时间。
    description str
    快照描述信息。
    file_system_id str
    文件系统 ID。
    file_system_name str
    文件系统名称。
    id str
    Uniquely identifies the resource.
    is_encrypt bool
    是否加密,当前仅支持false,即不加密。
    progress str
    快照创建进度。
    retention_days int
    快照保留时间,默认为2147483647,即永久保留。
    snapshot_id str
    快照 ID。
    snapshot_name str
    快照名称。
    snapshot_type str
    快照类型,默认为Manual,即手动快照。
    source_size int
    文件系统容量,单位为 GiB。
    source_version str
    文件系统版本。
    status str
    快照状态。说明如下:Progressing:正在创建。Accomplished:创建成功。Failed:创建失败。
    zone_id str
    可用区 ID。
    createdTime String
    快照创建时间。
    description String
    快照描述信息。
    fileSystemId String
    文件系统 ID。
    fileSystemName String
    文件系统名称。
    id String
    Uniquely identifies the resource.
    isEncrypt Boolean
    是否加密,当前仅支持false,即不加密。
    progress String
    快照创建进度。
    retentionDays Number
    快照保留时间,默认为2147483647,即永久保留。
    snapshotId String
    快照 ID。
    snapshotName String
    快照名称。
    snapshotType String
    快照类型,默认为Manual,即手动快照。
    sourceSize Number
    文件系统容量,单位为 GiB。
    sourceVersion String
    文件系统版本。
    status String
    快照状态。说明如下:Progressing:正在创建。Accomplished:创建成功。Failed:创建失败。
    zoneId String
    可用区 ID。

    Package Details

    Repository
    bytepluscc byteplus-sdk/pulumi-bytepluscc
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the bytepluscc Terraform Provider.
    bytepluscc logo
    bytepluscc v0.0.11 published on Wednesday, Jan 21, 2026 by Byteplus
      Meet Neo: Your AI Platform Teammate