Skip to content

SnapshotProps

Properties for defining a Snapshot.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-ecs-snapshot

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkecs/datasource"
&datasource.SnapshotProps {
    SnapshotId: interface{},
    RefreshOptions: interface{},
}

Properties

Name Type Description
SnapshotId interface{} Property snapshotId: The snapshot id.
RefreshOptions interface{} Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

SnapshotIdRequired

SnapshotId interface{}
  • Type: interface{}

Property snapshotId: The snapshot id.


RefreshOptionsOptional

RefreshOptions interface{}
  • Type: interface{}

Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

Valid values:

  • Never: Never refresh the datasource resource when the stack is updated.
  • Always: Always refresh the datasource resource when the stack is updated. Default is Never.