Skip to content

SnapshotProps

Properties for defining a Snapshot.

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

Initializer

import ros_cdk_ens
ros_cdk_ens.SnapshotProps(
  disk_id: typing.Union[str, IResolvable],
  ens_region_id: typing.Union[str, IResolvable],
  description: typing.Union[str, IResolvable] = None,
  snapshot_name: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
disk_id typing.Union[str, ros_cdk_core.IResolvable] Property diskId: The ID of the cloud disk.
ens_region_id typing.Union[str, ros_cdk_core.IResolvable] Property ensRegionId: The ID of the edge node.
description typing.Union[str, ros_cdk_core.IResolvable] Property description: The description of the snapshot.
snapshot_name typing.Union[str, ros_cdk_core.IResolvable] Property snapshotName: The name of the snapshot.

disk_idRequired

disk_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property diskId: The ID of the cloud disk.


ens_region_idRequired

ens_region_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property ensRegionId: The ID of the edge node.


descriptionOptional

description: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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.


snapshot_nameOptional

snapshot_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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 (-).