Skip to content

SnapshotProps

Properties for defining a Snapshot.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ens-snapshot

Initializer

import { SnapshotProps } from '@alicloud/ros-cdk-ens'
const snapshotProps: SnapshotProps = { ... }

Properties

Name Type Description
diskId string | @alicloud/ros-cdk-core.IResolvable Property diskId: The ID of the cloud disk.
ensRegionId string | @alicloud/ros-cdk-core.IResolvable Property ensRegionId: The ID of the edge node.
description string | @alicloud/ros-cdk-core.IResolvable Property description: The description of the snapshot.
snapshotName string | @alicloud/ros-cdk-core.IResolvable Property snapshotName: The name of the snapshot.

diskIdRequired

public readonly diskId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property diskId: The ID of the cloud disk.


ensRegionIdRequired

public readonly ensRegionId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property ensRegionId: The ID of the edge node.


descriptionOptional

public readonly description: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property description: The description of the snapshot.

The description must be 2 to 256 characters in length and cannot start with http:\/\/ or https:\/\/. By default, this parameter is left empty.


snapshotNameOptional

public readonly snapshotName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property snapshotName: The name of the snapshot.

The name must be 2 to 128 characters in length. It must start with a letter and cannot start with http:\/\/ or https:\/\/. It can contain letters, digits, colons (:), underscores (_), and hyphens (-).