Skip to content

IDisk

  • Extends: ros_cdk_core.IResource

  • Implemented By: ros_cdk_ecs.datasource.Disk, ros_cdk_ecs.datasource.IDisk

Represents a Disk.

Properties

Name Type Description
node ros_cdk_core.ConstructNode The construct tree node for this construct.
env ros_cdk_core.IResourceEnvironment The environment this resource belongs to.
stack ros_cdk_core.Stack The stack in which this resource is defined.
attr_attached_time typing.Union[str, ros_cdk_core.IResolvable] Attribute AttachedTime: The attached time.
attr_auto_snapshot_policy_id typing.Union[str, ros_cdk_core.IResolvable] Attribute AutoSnapshotPolicyId: Automatic snapshot policy ID.
attr_bursting_enabled typing.Union[str, ros_cdk_core.IResolvable] Attribute BurstingEnabled: Does the data disk turn on Burst (performance Burst).
attr_category typing.Union[str, ros_cdk_core.IResolvable] Attribute Category: Disk type.
attr_create_time typing.Union[str, ros_cdk_core.IResolvable] Attribute CreateTime: The creation time.
attr_delete_auto_snapshot typing.Union[str, ros_cdk_core.IResolvable] Attribute DeleteAutoSnapshot: Whether to delete automatic snapshots at the same time.
attr_delete_with_instance typing.Union[str, ros_cdk_core.IResolvable] Attribute DeleteWithInstance: Whether to release with the instance.
attr_description typing.Union[str, ros_cdk_core.IResolvable] Attribute Description: The description.
attr_detached_time typing.Union[str, ros_cdk_core.IResolvable] Attribute DetachedTime: Unloading time.
attr_device typing.Union[str, ros_cdk_core.IResolvable] Attribute Device: Cloud disk or the device name of the mounted instance on the site.
attr_disk_id typing.Union[str, ros_cdk_core.IResolvable] Attribute DiskId: The disk id.
attr_disk_name typing.Union[str, ros_cdk_core.IResolvable] Attribute DiskName: The disk name.
attr_enable_automated_snapshot_policy typing.Union[str, ros_cdk_core.IResolvable] Attribute EnableAutomatedSnapshotPolicy: Whether the disk implements an automatic snapshot policy.
attr_enable_auto_snapshot typing.Union[str, ros_cdk_core.IResolvable] Attribute EnableAutoSnapshot: Whether the disk implements an automatic snapshot policy.
attr_encrypted typing.Union[str, ros_cdk_core.IResolvable] Attribute Encrypted: Whether the disk is encrypted.
attr_expired_time typing.Union[str, ros_cdk_core.IResolvable] Attribute ExpiredTime: The expiration time of a monthly disk.
attr_image_id typing.Union[str, ros_cdk_core.IResolvable] Attribute ImageId: The image id.
attr_instance_id typing.Union[str, ros_cdk_core.IResolvable] Attribute InstanceId: The instance id.
attr_iops typing.Union[str, ros_cdk_core.IResolvable] Attribute Iops: Number of read/write (I/O) operations per second.
attr_iops_read typing.Union[str, ros_cdk_core.IResolvable] Attribute IopsRead: Number of reads per second.
attr_iops_write typing.Union[str, ros_cdk_core.IResolvable] Attribute IopsWrite: Number of writes per second.
attr_kms_key_id typing.Union[str, ros_cdk_core.IResolvable] Attribute KmsKeyId: The KMS keyId.
attr_mount_instance_num typing.Union[str, ros_cdk_core.IResolvable] Attribute MountInstanceNum: Number of instances mounted on shared storage.
attr_mount_instances typing.Union[str, ros_cdk_core.IResolvable] Attribute MountInstances: Disk mount instances.
attr_multi_attach typing.Union[str, ros_cdk_core.IResolvable] Attribute MultiAttach: Whether to enable the multi-Mount feature.
attr_operation_locks typing.Union[str, ros_cdk_core.IResolvable] Attribute OperationLocks: Resource locking information.
attr_payment_type typing.Union[str, ros_cdk_core.IResolvable] Attribute PaymentType: Payment method for disk.
attr_performance_level typing.Union[str, ros_cdk_core.IResolvable] Attribute PerformanceLevel: Performance levels of ESSD cloud disk.
attr_portable typing.Union[str, ros_cdk_core.IResolvable] Attribute Portable: Whether the disk is unmountable.
attr_product_code typing.Union[str, ros_cdk_core.IResolvable] Attribute ProductCode: The product logo of the cloud market.
attr_provisioned_iops typing.Union[str, ros_cdk_core.IResolvable] Attribute ProvisionedIops: The preconfigured read and write IOPS of the ESSD AutoPL cloud disk.
attr_resource_group_id typing.Union[str, ros_cdk_core.IResolvable] Attribute ResourceGroupId: The resource group id.
attr_size typing.Union[str, ros_cdk_core.IResolvable] Attribute Size: Disk size.
attr_snapshot_id typing.Union[str, ros_cdk_core.IResolvable] Attribute SnapshotId: The source snapshot id.
attr_storage_cluster_id typing.Union[str, ros_cdk_core.IResolvable] Attribute StorageClusterId: The ID of the dedicated block storage cluster.
attr_storage_set_id typing.Union[str, ros_cdk_core.IResolvable] Attribute StorageSetId: The ID of the Save set.
attr_storage_set_partition_number typing.Union[str, ros_cdk_core.IResolvable] Attribute StorageSetPartitionNumber: Number of Save set partitions.
attr_tags typing.Union[str, ros_cdk_core.IResolvable] Attribute Tags: The tags.
attr_zone_id typing.Union[str, ros_cdk_core.IResolvable] Attribute ZoneId: ID of the free zone to which the disk belongs.
props DiskProps No description.

nodeRequired

node: ConstructNode
  • Type: ros_cdk_core.ConstructNode

The construct tree node for this construct.


envRequired

env: IResourceEnvironment
  • Type: ros_cdk_core.IResourceEnvironment

The environment this resource belongs to.

For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.


stackRequired

stack: Stack
  • Type: ros_cdk_core.Stack

The stack in which this resource is defined.


attr_attached_timeRequired

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

Attribute AttachedTime: The attached time.


attr_auto_snapshot_policy_idRequired

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

Attribute AutoSnapshotPolicyId: Automatic snapshot policy ID.


attr_bursting_enabledRequired

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

Attribute BurstingEnabled: Does the data disk turn on Burst (performance Burst).


attr_categoryRequired

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

Attribute Category: Disk type.


attr_create_timeRequired

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

Attribute CreateTime: The creation time.


attr_delete_auto_snapshotRequired

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

Attribute DeleteAutoSnapshot: Whether to delete automatic snapshots at the same time.


attr_delete_with_instanceRequired

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

Attribute DeleteWithInstance: Whether to release with the instance.


attr_descriptionRequired

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

Attribute Description: The description.


attr_detached_timeRequired

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

Attribute DetachedTime: Unloading time.


attr_deviceRequired

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

Attribute Device: Cloud disk or the device name of the mounted instance on the site.


attr_disk_idRequired

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

Attribute DiskId: The disk id.


attr_disk_nameRequired

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

Attribute DiskName: The disk name.


attr_enable_automated_snapshot_policyRequired

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

Attribute EnableAutomatedSnapshotPolicy: Whether the disk implements an automatic snapshot policy.


attr_enable_auto_snapshotRequired

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

Attribute EnableAutoSnapshot: Whether the disk implements an automatic snapshot policy.


attr_encryptedRequired

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

Attribute Encrypted: Whether the disk is encrypted.


attr_expired_timeRequired

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

Attribute ExpiredTime: The expiration time of a monthly disk.


attr_image_idRequired

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

Attribute ImageId: The image id.


attr_instance_idRequired

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

Attribute InstanceId: The instance id.


attr_iopsRequired

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

Attribute Iops: Number of read/write (I/O) operations per second.


attr_iops_readRequired

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

Attribute IopsRead: Number of reads per second.


attr_iops_writeRequired

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

Attribute IopsWrite: Number of writes per second.


attr_kms_key_idRequired

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

Attribute KmsKeyId: The KMS keyId.


attr_mount_instance_numRequired

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

Attribute MountInstanceNum: Number of instances mounted on shared storage.


attr_mount_instancesRequired

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

Attribute MountInstances: Disk mount instances.


attr_multi_attachRequired

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

Attribute MultiAttach: Whether to enable the multi-Mount feature.


attr_operation_locksRequired

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

Attribute OperationLocks: Resource locking information.


attr_payment_typeRequired

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

Attribute PaymentType: Payment method for disk.


attr_performance_levelRequired

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

Attribute PerformanceLevel: Performance levels of ESSD cloud disk.


attr_portableRequired

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

Attribute Portable: Whether the disk is unmountable.


attr_product_codeRequired

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

Attribute ProductCode: The product logo of the cloud market.


attr_provisioned_iopsRequired

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

Attribute ProvisionedIops: The preconfigured read and write IOPS of the ESSD AutoPL cloud disk.

Possible values: 0 ~ min{50,000, 1000 * capacity-baseline performance}.


attr_resource_group_idRequired

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

Attribute ResourceGroupId: The resource group id.


attr_sizeRequired

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

Attribute Size: Disk size.


attr_snapshot_idRequired

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

Attribute SnapshotId: The source snapshot id.


attr_storage_cluster_idRequired

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

Attribute StorageClusterId: The ID of the dedicated block storage cluster.

If you need to create a cloud disk in the specified dedicated block storage cluster, specify this parameter.


attr_storage_set_idRequired

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

Attribute StorageSetId: The ID of the Save set.


attr_storage_set_partition_numberRequired

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

Attribute StorageSetPartitionNumber: Number of Save set partitions.

Value range: greater than or equal to 2. The maximum value cannot exceed the equity quota limit displayed after calling.


attr_tagsRequired

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

Attribute Tags: The tags.


attr_zone_idRequired

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

Attribute ZoneId: ID of the free zone to which the disk belongs.


propsRequired

props: DiskProps