Skip to content

IDisk

  • Extends: com.aliyun.ros.cdk.core.IResource

  • Implemented By: com.aliyun.ros.cdk.ecs.datasource.Disk, com.aliyun.ros.cdk.ecs.datasource.IDisk

Represents a Disk.

Properties

Name Type Description
node com.aliyun.ros.cdk.core.ConstructNode The construct tree node for this construct.
env com.aliyun.ros.cdk.core.IResourceEnvironment The environment this resource belongs to.
stack com.aliyun.ros.cdk.core.Stack The stack in which this resource is defined.
attrAttachedTime java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute AttachedTime: The attached time.
attrAutoSnapshotPolicyId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute AutoSnapshotPolicyId: Automatic snapshot policy ID.
attrBurstingEnabled java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute BurstingEnabled: Does the data disk turn on Burst (performance Burst).
attrCategory java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Category: Disk type.
attrCreateTime java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute CreateTime: The creation time.
attrDeleteAutoSnapshot java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute DeleteAutoSnapshot: Whether to delete automatic snapshots at the same time.
attrDeleteWithInstance java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute DeleteWithInstance: Whether to release with the instance.
attrDescription java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Description: The description.
attrDetachedTime java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute DetachedTime: Unloading time.
attrDevice java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Device: Cloud disk or the device name of the mounted instance on the site.
attrDiskId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute DiskId: The disk id.
attrDiskName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute DiskName: The disk name.
attrEnableAutomatedSnapshotPolicy java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute EnableAutomatedSnapshotPolicy: Whether the disk implements an automatic snapshot policy.
attrEnableAutoSnapshot java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute EnableAutoSnapshot: Whether the disk implements an automatic snapshot policy.
attrEncrypted java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Encrypted: Whether the disk is encrypted.
attrExpiredTime java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute ExpiredTime: The expiration time of a monthly disk.
attrImageId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute ImageId: The image id.
attrInstanceId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute InstanceId: The instance id.
attrIops java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Iops: Number of read/write (I/O) operations per second.
attrIopsRead java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute IopsRead: Number of reads per second.
attrIopsWrite java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute IopsWrite: Number of writes per second.
attrKmsKeyId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute KmsKeyId: The KMS keyId.
attrMountInstanceNum java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute MountInstanceNum: Number of instances mounted on shared storage.
attrMountInstances java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute MountInstances: Disk mount instances.
attrMultiAttach java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute MultiAttach: Whether to enable the multi-Mount feature.
attrOperationLocks java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute OperationLocks: Resource locking information.
attrPaymentType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute PaymentType: Payment method for disk.
attrPerformanceLevel java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute PerformanceLevel: Performance levels of ESSD cloud disk.
attrPortable java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Portable: Whether the disk is unmountable.
attrProductCode java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute ProductCode: The product logo of the cloud market.
attrProvisionedIops java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute ProvisionedIops: The preconfigured read and write IOPS of the ESSD AutoPL cloud disk.
attrResourceGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute ResourceGroupId: The resource group id.
attrSize java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Size: Disk size.
attrSnapshotId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute SnapshotId: The source snapshot id.
attrStorageClusterId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute StorageClusterId: The ID of the dedicated block storage cluster.
attrStorageSetId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute StorageSetId: The ID of the Save set.
attrStorageSetPartitionNumber java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute StorageSetPartitionNumber: Number of Save set partitions.
attrTags java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Tags: The tags.
attrZoneId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute ZoneId: ID of the free zone to which the disk belongs.
props DiskProps No description.

nodeRequired

public ConstructNode getNode();
  • Type: com.aliyun.ros.cdk.core.ConstructNode

The construct tree node for this construct.


envRequired

public IResourceEnvironment getEnv();
  • Type: com.aliyun.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

public Stack getStack();
  • Type: com.aliyun.ros.cdk.core.Stack

The stack in which this resource is defined.


attrAttachedTimeRequired

public java.lang.Object getAttrAttachedTime();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute AttachedTime: The attached time.


attrAutoSnapshotPolicyIdRequired

public java.lang.Object getAttrAutoSnapshotPolicyId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute AutoSnapshotPolicyId: Automatic snapshot policy ID.


attrBurstingEnabledRequired

public java.lang.Object getAttrBurstingEnabled();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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


attrCategoryRequired

public java.lang.Object getAttrCategory();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute Category: Disk type.


attrCreateTimeRequired

public java.lang.Object getAttrCreateTime();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute CreateTime: The creation time.


attrDeleteAutoSnapshotRequired

public java.lang.Object getAttrDeleteAutoSnapshot();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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


attrDeleteWithInstanceRequired

public java.lang.Object getAttrDeleteWithInstance();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute DeleteWithInstance: Whether to release with the instance.


attrDescriptionRequired

public java.lang.Object getAttrDescription();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute Description: The description.


attrDetachedTimeRequired

public java.lang.Object getAttrDetachedTime();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute DetachedTime: Unloading time.


attrDeviceRequired

public java.lang.Object getAttrDevice();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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


attrDiskIdRequired

public java.lang.Object getAttrDiskId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute DiskId: The disk id.


attrDiskNameRequired

public java.lang.Object getAttrDiskName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute DiskName: The disk name.


attrEnableAutomatedSnapshotPolicyRequired

public java.lang.Object getAttrEnableAutomatedSnapshotPolicy();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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


attrEnableAutoSnapshotRequired

public java.lang.Object getAttrEnableAutoSnapshot();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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


attrEncryptedRequired

public java.lang.Object getAttrEncrypted();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute Encrypted: Whether the disk is encrypted.


attrExpiredTimeRequired

public java.lang.Object getAttrExpiredTime();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute ExpiredTime: The expiration time of a monthly disk.


attrImageIdRequired

public java.lang.Object getAttrImageId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute ImageId: The image id.


attrInstanceIdRequired

public java.lang.Object getAttrInstanceId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute InstanceId: The instance id.


attrIopsRequired

public java.lang.Object getAttrIops();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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


attrIopsReadRequired

public java.lang.Object getAttrIopsRead();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute IopsRead: Number of reads per second.


attrIopsWriteRequired

public java.lang.Object getAttrIopsWrite();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute IopsWrite: Number of writes per second.


attrKmsKeyIdRequired

public java.lang.Object getAttrKmsKeyId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute KmsKeyId: The KMS keyId.


attrMountInstanceNumRequired

public java.lang.Object getAttrMountInstanceNum();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute MountInstanceNum: Number of instances mounted on shared storage.


attrMountInstancesRequired

public java.lang.Object getAttrMountInstances();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute MountInstances: Disk mount instances.


attrMultiAttachRequired

public java.lang.Object getAttrMultiAttach();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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


attrOperationLocksRequired

public java.lang.Object getAttrOperationLocks();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute OperationLocks: Resource locking information.


attrPaymentTypeRequired

public java.lang.Object getAttrPaymentType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute PaymentType: Payment method for disk.


attrPerformanceLevelRequired

public java.lang.Object getAttrPerformanceLevel();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute PerformanceLevel: Performance levels of ESSD cloud disk.


attrPortableRequired

public java.lang.Object getAttrPortable();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute Portable: Whether the disk is unmountable.


attrProductCodeRequired

public java.lang.Object getAttrProductCode();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute ProductCode: The product logo of the cloud market.


attrProvisionedIopsRequired

public java.lang.Object getAttrProvisionedIops();
  • Type: java.lang.String OR com.aliyun.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}.


attrResourceGroupIdRequired

public java.lang.Object getAttrResourceGroupId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute ResourceGroupId: The resource group id.


attrSizeRequired

public java.lang.Object getAttrSize();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute Size: Disk size.


attrSnapshotIdRequired

public java.lang.Object getAttrSnapshotId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute SnapshotId: The source snapshot id.


attrStorageClusterIdRequired

public java.lang.Object getAttrStorageClusterId();
  • Type: java.lang.String OR com.aliyun.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.


attrStorageSetIdRequired

public java.lang.Object getAttrStorageSetId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute StorageSetId: The ID of the Save set.


attrStorageSetPartitionNumberRequired

public java.lang.Object getAttrStorageSetPartitionNumber();
  • Type: java.lang.String OR com.aliyun.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.


attrTagsRequired

public java.lang.Object getAttrTags();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute Tags: The tags.


attrZoneIdRequired

public java.lang.Object getAttrZoneId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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


propsRequired

public DiskProps getProps();