ReplicaVolumeGet
Properties
image
String
The image installed on the disk. Currently, only the UUID of the image is supported. >Note that either 'image' or 'imageAlias' must be specified, but not both.
[optional]
image_alias
String
The image installed on the volume. Must be an 'imageAlias' as specified via the images API. Note that one of 'image' or 'imageAlias' must be set, but not both.
[optional]
name
String
The replica volume name.
size
Integer
The size of this replica volume in GB.
ssh_keys
Array<String>
The SSH keys of this volume.
[optional]
user_data
String
The user data (Cloud Init) for this replica volume.
[optional]
backupunit_id
String
The ID of the backup unit that the user has access to. The property is immutable and is only allowed to be set on creation of a new a volume. It is mandatory to provide either 'public image' or 'imageAlias' in conjunction with this property.
[optional]
boot_order
String
Determines whether the volume will be used as a boot volume. Set to NONE, the volume will not be used as boot volume. Set to PRIMARY, the volume will be used as boot volume and set to AUTO will delegate the decision to the provisioning engine to decide whether to use the voluem as boot volume. Notice that exactly one volume can be set to PRIMARY or all of them set to AUTO.
Example
require 'ionoscloud-vm-autoscaling'
instance = IonoscloudVmAutoscaling::ReplicaVolumeGet.new(
image: 6e928bd0-3a8e-4821-a20a-54984b0c2d21,
image_alias: ubuntu:latest,
name: Volume 1,
size: 30,
ssh_keys: null,
type: null,
user_data: ZWNobyAiSGVsbG8sIFdvcmxkIgo=,
bus: null,
backupunit_id: 25f67991-0f51-4efc-a8ad-ef1fb31a481c,
boot_order: AUTO
)Last updated
Was this helpful?