SCP::VirtualServer::Volume
SCP::VirtualServer::Volume
SCP::VirtualServer::Volume
Description
A Volume resource of the SCP Virtual Server service.
Version
1.5.0
Syntax
To declare this entity in your Infrastructure Builder template, use the following syntax:
JSON
{
"Type" : "SCP::VirtualServer::Volume",
"Properties" : {
"Name" : "String",
"Size" : "Integer",
"Zone" : "String",
"VolumeType" : "String",
"SnapshotId" : "String",
"MaxIops" : "Integer",
"MaxThroughput" : "Integer",
"Servers" : [Servers, ...]
}
}
YAML
Type: SCP::VirtualServer::Volume
Properties:
Name: String
Size: Integer
Zone: String
VolumeType: String
SnapshotId: String
MaxIops: Integer
MaxThroughput: Integer
Servers:
- Servers
Properties
Name
The name of the volume. It must be 1 to 255 characters long and match the pattern ^[a-zA-Z0-9-_ ]*$.
| Attribute | Value |
|---|---|
| Required | Yes |
| Type | String |
| Pattern | ^[a-zA-Z0-9-_ ]*$ |
| Length constraints | 1–255 |
| Update requires | No interruption |
Size
The size of the volume in GiB. Must be a multiple of 8.
| Attribute | Value |
|---|---|
| Required | Yes |
| Type | Integer |
| Update requires | Replacement |
Zone
The availability zone in which the volume is located.
| Attribute | Value |
|---|---|
| Required | Yes |
| Type | String |
| Update requires | Replacement |
VolumeType
The type of the volume. Available values: SSD, SSD_Provisioned, SSD_MultiAttach, SSD_KMS.
| Attribute | Value |
|---|---|
| Required | No |
| Type | String |
| Allowed values | SSD | SSD_Provisioned | SSD_MultiAttach | SSD_KMS |
| Update requires | Replacement |
SnapshotId
The identifier of the snapshot used to create the volume.
| Attribute | Value |
|---|---|
| Required | No |
| Type | String |
| Update requires | Replacement |
MaxIops
The maximum IOPS of the volume, which is the number of read/write operations the volume can process per second.
| Attribute | Value |
|---|---|
| Required | No |
| Type | Integer |
| Update requires | No interruption |
MaxThroughput
The maximum throughput of the volume in MB/s, which is the amount of data transferred to or from the volume per second.
| Attribute | Value |
|---|---|
| Required | No |
| Type | Integer |
| Update requires | No interruption |
Servers
The list of servers to which the volume is attached.
| Attribute | Value |
|---|---|
| Required | No |
| Type | Array of Servers |
| Update requires | No interruption |
For more information, see Servers.
Return Values
Ref
When you pass the logical ID of this resource to the Ref function, Ref returns the value of the Id.
Fn::GetAtt
| Attribute | Description |
|---|---|
| Name | The name of the volume. It must be 1 to 255 characters long and match the pattern ^[a-zA-Z0-9-_ ]*$. |
| Size | The size of the volume in GiB. Must be a multiple of 8. |
| Zone | The availability zone in which the volume is located. |
| VolumeType | The type of the volume. Available values: SSD, SSD_Provisioned, SSD_MultiAttach, SSD_KMS. |
| SnapshotId | The identifier of the snapshot used to create the volume. |
| MaxIops | The maximum IOPS of the volume, which is the number of read/write operations the volume can process per second. |
| MaxThroughput | The maximum throughput of the volume in MB/s, which is the amount of data transferred to or from the volume per second. |
| Servers | The list of servers to which the volume is attached. |
| UserId | The identifier of the user that owns the volume. |
| Encrypted | Encryption flag that indicates whether the data on the volume is stored encrypted. |
| Bootable | Bootable flag that indicates whether the volume can be used as a boot volume. |
| Multiattach | Whether the volume can be attached to multiple servers at the same time. |
| State | The current state of the volume. |
| VolumeTypeId | The unique identifier of the volume type. |