## ## @section Common parameters ## ## @typedef {struct} SourceImage - Use image by name. ## @field {string} name - Name of the image to use (uploaded as "golden image" or from the list: `ubuntu`, `fedora`, `cirros`, `alpine`, `talos`). ## @typedef {struct} SourceUpload - Upload local image. ## @typedef {struct} SourceHTTP - Download image from an HTTP source. ## @field {string} url - URL to download the image. ## @typedef {struct} Source - The source image location used to create a disk. ## @field {*SourceImage} [image] - Use image by name. ## @field {*SourceUpload} [upload] - Upload local image. ## @field {*SourceHTTP} [http] - Download image from an HTTP source. ## @param {Source} source - The source image location used to create a disk. source: {} ## @param {bool} optical - Defines if disk should be considered optical. optical: false ## @param {quantity} storage - The size of the disk allocated for the virtual machine. storage: 5Gi ## @param {string} storageClass - StorageClass used to store the data. storageClass: replicated