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-_ ]*$.

AttributeValue
RequiredYes
TypeString
Pattern^[a-zA-Z0-9-_ ]*$
Length constraints1–255
Update requiresNo interruption

Size

The size of the volume in GiB. Must be a multiple of 8.

AttributeValue
RequiredYes
TypeInteger
Update requiresReplacement

Zone

The availability zone in which the volume is located.

AttributeValue
RequiredYes
TypeString
Update requiresReplacement

VolumeType

The type of the volume. Available values: SSD, SSD_Provisioned, SSD_MultiAttach, SSD_KMS.

AttributeValue
RequiredNo
TypeString
Allowed valuesSSD | SSD_Provisioned | SSD_MultiAttach | SSD_KMS
Update requiresReplacement

SnapshotId

The identifier of the snapshot used to create the volume.

AttributeValue
RequiredNo
TypeString
Update requiresReplacement

MaxIops

The maximum IOPS of the volume, which is the number of read/write operations the volume can process per second.

AttributeValue
RequiredNo
TypeInteger
Update requiresNo 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.

AttributeValue
RequiredNo
TypeInteger
Update requiresNo interruption

Servers

The list of servers to which the volume is attached.

AttributeValue
RequiredNo
TypeArray of Servers
Update requiresNo 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

AttributeDescription
NameThe name of the volume. It must be 1 to 255 characters long and match the pattern ^[a-zA-Z0-9-_ ]*$.
SizeThe size of the volume in GiB. Must be a multiple of 8.
ZoneThe availability zone in which the volume is located.
VolumeTypeThe type of the volume. Available values: SSD, SSD_Provisioned, SSD_MultiAttach, SSD_KMS.
SnapshotIdThe identifier of the snapshot used to create the volume.
MaxIopsThe maximum IOPS of the volume, which is the number of read/write operations the volume can process per second.
MaxThroughputThe maximum throughput of the volume in MB/s, which is the amount of data transferred to or from the volume per second.
ServersThe list of servers to which the volume is attached.
UserIdThe identifier of the user that owns the volume.
EncryptedEncryption flag that indicates whether the data on the volume is stored encrypted.
BootableBootable flag that indicates whether the volume can be used as a boot volume.
MultiattachWhether the volume can be attached to multiple servers at the same time.
StateThe current state of the volume.
VolumeTypeIdThe unique identifier of the volume type.