EVS.SharedVolume
Element Description
The EVS.SharedVolume element can be used to deploy shared EVS disks at the IaaS layer. Shared EVS disks are block storage devices that can be attached to multiple ECSs and support concurrent read/write operations. These disks feature multiple attachments, high-concurrency, high-performance, and high-reliability.
Element Properties
Property |
Required |
Descripiton |
---|---|---|
availabilityZone |
Yes |
AZ Type: HuaweiCloud.ECS.AvailabilityZone.Name Value Constraint: The value must be selected as required. If the value of backupId is not empty, the AZ must be the same as the AZ where the backup is located. Suggestion: 1. Use the get_input function to import this field. The value can be automatically selected on the AOS page. 2. For details about the AZ of each region. |
description |
No |
EVS disk description Type: string Value Description: Supports customization. |
volumeType |
Yes |
EVS disk type Type: HuaweiCloud.EVS.Volume.Type.Name Value Description: Supports SSD, SAS, and SATA. During EVS disk creation from a snapshot, the value of the volumeType field must be the same as that of the source EVS disk. Suggestion: Set the value based on specifications and requirements.For more information on different disk types, see https://support.huaweicloud.com/eu/productdesc-evs/en-us_topic_0014580744.html. |
name |
No |
EVS disk name Type: string Value Description: Supports customization, for example, share. Value Constraint: The following requirement must be met: {"regex":"^[a-zA-Z][0-9a-zA-Z-_]*$","min_length":1,"max_length":250}. Suggestion: Customize the value. |
passthrough |
No |
equipment type about the created EVS disk Type: string Value Description: false: indicates that EVS disks are VBD. true: indicates that disks are SCSI Value Constraint: The value must be true or false Suggestion: For details, see the EVS documentation at https://support.huaweicloud.com/eu/api-evs/evs_04_2013.html. |
backupId |
No |
EVS disk backup ID Type: string Value Description: Indicates the existing backup ID of an EVS disk. The use of both "Snapshotid" and "backupid" fields is not supported. Value Constraint: The value must satisfy the UUID generation rule. |
size |
Yes |
EVS disk size Type: integer Value Description: Indicates the EVS disk size (unit: GB). Default: 40 Suggestion: Set the value based on requirements.When you try to create an EVS disk from a backup disk, image, or snapshot, the size of the EVS disk cannot be smaller than that of the backup disk, image, or snapshot. |
snapshotId |
No |
Snapshot ID of the EVS disk Type: string Value Description: Indicates the existing snapshot ID of an EVS disk. The use of both "Snapshotid" and "backupid" fields is not supported. Value Constraint: The value must satisfy the UUID generation rule. |
Relationships Between Elements
None.
Return Value
Property |
Type |
Description |
---|---|---|
volume |
Array |
EVS disk information list |
refName |
string |
EVS disk name |
volumeIDs |
string |
Set of EVS disk IDs, which are separated by commas (,) |
Blueprint Example
tosca_definitions_version: huaweicloud_tosca_version_1_0 inputs: availabilityZone: description: AZ size: description: EVS disk size default: 10 volumeType: description: EVS disk type default: SATA name: description: EVS disk name default: my-evs node_templates: my-evs: type: HuaweiCloud.EVS.SharedVolume properties: size: get_input: size availabilityZone: get_input: availabilityZone volumeType: get_input: volumeType name: get_input: name outputs: evs-id: description: ECS ID value: get_attribute: - my-evs - volumeIDs
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.