SCP::VirtualServer::Image

SCP::VirtualServer::Image

SCP::VirtualServer::Image

Description

An Image 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::Image",
  "Properties" : {
    "Name" : "String",
    "OsDistro" : "String",
    "Url" : "String",
    "ContainerFormat" : "String",
    "DiskFormat" : "String",
    "MinDisk" : "Integer",
    "MinRam" : "Integer",
    "Protected" : "Boolean",
    "Visibility" : "String"
  }
}

YAML

Type: SCP::VirtualServer::Image
Properties:
  Name: String
  OsDistro: String
  Url: String
  ContainerFormat: String
  DiskFormat: String
  MinDisk: Integer
  MinRam: Integer
  Protected: Boolean
  Visibility: String

Properties

Name

The name of the image.

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

OsDistro

The OS distribution of the image.

AttributeValue
RequiredYes
TypeString
Allowed valuesalma | centos | rhel | rocky | ubuntu | windows | oracle
Update requiresReplacement

Url

The URL of the image file in Object Storage. Only the qcow2 format is allowed.

AttributeValue
RequiredYes
TypeString
Pattern.*\.qcow2$
Length constraintsMax: 255
Update requiresReplacement

ContainerFormat

The container format of the image.

AttributeValue
RequiredNo
TypeString
Patternbare
Update requiresReplacement

DiskFormat

The disk format of the image.

AttributeValue
RequiredNo
TypeString
Patternqcow2
Update requiresReplacement

MinDisk

The minimum disk size in GB required to use the image.

AttributeValue
RequiredNo
TypeInteger
RangeMin: 0
Update requiresNo interruption

MinRam

The minimum RAM size in MB required to use the image.

AttributeValue
RequiredNo
TypeInteger
Range0–2097151
Update requiresNo interruption

Protected

Deletion protection of the image. When set to true, an attempt to delete the image fails and the image remains unchanged.

AttributeValue
RequiredNo
TypeBoolean
Update requiresNo interruption

Visibility

The visibility level of the image, for example private or shared.

AttributeValue
RequiredNo
TypeString
Allowed valuesprivate | shared
Update requiresNo interruption

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 image.
OsDistroThe OS distribution of the image.
UrlThe URL of the image file in Object Storage. Only the qcow2 format is allowed.
ContainerFormatThe container format of the image.
DiskFormatThe disk format of the image.
MinDiskThe minimum disk size in GB required to use the image.
MinRamThe minimum RAM size in MB required to use the image.
ProtectedDeletion protection of the image. When set to true, an attempt to delete the image fails and the image remains unchanged.
VisibilityThe visibility level of the image, for example private or shared.
ChecksumThe MD5 checksum of the image data, used to verify the integrity of the image.
FileThe URL of the image file.
OsHashAlgoThe hash algorithm used to verify the integrity of the image.
OsHashValueThe hash value of the image binary.
OsHiddenWhether the image is hidden.
OwnerThe identifier of the account that owns the image.
OwnerAccountNameThe name of the account that owns the image.
OwnerUserNameThe name of the user that owns the image.
RootDeviceNameThe name of the root device of the image.
ScpGpuDriverThe GPU driver version included in the Image. It is set only for a GPU Kubernetes Image.
ScpImageTypeThe SCP image type of the image.
ScpK8sVersionThe Kubernetes version of the image. It has a value only for Kubernetes images.
ScpOriginalImageTypeThe original image type of the image.
ScpOsBuildVersionThe OS build version of the image.
ScpOsVersionThe OS version of the image.
ScpSupportedClassTypesComma-separated list of the server class types that can be used with this Image, for example GPU-A100-1,GPU-H100-2.
SizeThe size of the image in bytes.
StatusThe current status of the image.
UpdatedAtThe timestamp when the image was last updated, in ISO 8601 format.
VirtualSizeThe virtual disk size of the image in bytes.
VolumesThe volume information of the image.
ZoneThe zone where the image is located.