diff --git a/apiversion.png b/apiversion.png index 09ba713..0880d99 100644 Binary files a/apiversion.png and b/apiversion.png differ diff --git a/src/Specs/models/AccessKeyCreate.ts b/src/Specs/models/AccessKeyCreate.ts index 5ebb6d8..297af7b 100644 --- a/src/Specs/models/AccessKeyCreate.ts +++ b/src/Specs/models/AccessKeyCreate.ts @@ -8,7 +8,7 @@ export type AccessKeyCreate = { */ comment?: string; /** - * Which User UUID the access key will be created + * If a user_uuid is sent along with the request, a user-specific key will get created. If no user_uuid is sent along a user with write-access to the contract will still only create a user-specific key for themselves while a user with admin-access to the contract will create a contract-level admin key. */ user_uuid?: string; } diff --git a/src/Specs/models/ServerCreate.ts b/src/Specs/models/ServerCreate.ts index 185100e..b6b5155 100644 --- a/src/Specs/models/ServerCreate.ts +++ b/src/Specs/models/ServerCreate.ts @@ -33,6 +33,25 @@ export type ServerCreate = { auto_recovery?: string; /** * Specifies the hardware settings for the virtual machine. + * + * Note: hardware_profile and hardware_profile_config parameters can't be used at the same time. + * */ hardware_profile?: 'default' | 'nested' | 'legacy' | 'cisco_csr' | 'sophos_utm' | 'f5_bigip' | 'q35'; + /** + * Specifies the custom hardware settings for the virtual machine. + * + * Note: hardware_profile and hardware_profile_config parameters can't be used at the same time. + * + */ + hardware_profile_config?: { + machinetype?: 'i440fx' | 'q35_bios' | 'q35_uefi', + storage_device?: 'ide' | 'sata' | 'virtio_scsi' | 'virtio_block', + usb_controller?: 'nec_xhci' | 'piix3_uhci', + nested_virtualization?: boolean, + hyperv_extensions?: boolean, + network_model?: 'e1000' | 'e1000e' | 'virtio' | 'vmxnet3', + serial_interface?: boolean, + server_renice?: boolean, + }; } diff --git a/src/Specs/models/ServerUpdate.ts b/src/Specs/models/ServerUpdate.ts index 4a7acc3..d6855d6 100644 --- a/src/Specs/models/ServerUpdate.ts +++ b/src/Specs/models/ServerUpdate.ts @@ -29,6 +29,25 @@ export type ServerUpdate = { auto_recovery?: boolean; /** * Specifies the hardware settings for the virtual machine. + * + * Note: hardware_profile and hardware_profile_config parameters can't be used at the same time. + * */ hardware_profile?: 'default' | 'nested' | 'legacy' | 'cisco_csr' | 'sophos_utm' | 'f5_bigip' | 'q35'; + /** + * Specifies the custom hardware settings for the virtual machine. + * + * Note: hardware_profile and hardware_profile_config parameters can't be used at the same time. + * + */ + hardware_profile_config?: { + machinetype?: 'i440fx' | 'q35_bios' | 'q35_uefi', + storage_device?: 'ide' | 'sata' | 'virtio_scsi' | 'virtio_block', + usb_controller?: 'nec_xhci' | 'piix3_uhci', + nested_virtualization?: boolean, + hyperv_extensions?: boolean, + network_model?: 'e1000' | 'e1000e' | 'virtio' | 'vmxnet3', + serial_interface?: boolean, + server_renice?: boolean, + }; } diff --git a/src/Specs/models/Template.ts b/src/Specs/models/Template.ts index 7956c24..e932560 100644 --- a/src/Specs/models/Template.ts +++ b/src/Specs/models/Template.ts @@ -10,6 +10,10 @@ export type Template = { * Status indicates the status of the object. */ status?: string; + /** + * Indicates if the template can be used by other users + */ + published?: boolean; /** * The operating system installed in the template. */ diff --git a/src/Specs/models/TemplateUpdate.ts b/src/Specs/models/TemplateUpdate.ts index 0826b9e..fe367f3 100644 --- a/src/Specs/models/TemplateUpdate.ts +++ b/src/Specs/models/TemplateUpdate.ts @@ -7,6 +7,10 @@ export type TemplateUpdate = { * The human-readable name of the object. It supports the full UTF-8 character set, with a maximum of 64 characters. */ name?: string; + /** + * Allow/forbid other user to use this template. Correct access rights are required to make the request with this key + */ + published?: boolean; /** * List of labels. */ diff --git a/src/Specs/schemas/$ServerCreate.ts b/src/Specs/schemas/$ServerCreate.ts index 91dbb20..ba4bd86 100644 --- a/src/Specs/schemas/$ServerCreate.ts +++ b/src/Specs/schemas/$ServerCreate.ts @@ -33,5 +33,33 @@ export const $ServerCreate = { hardware_profile: { type: 'Enum', }, + hardware_profile_config: { + properties: { + machinetype: { + type: 'Enum', + }, + storage_device: { + type: 'Enum', + }, + usb_controller: { + type: 'Enum', + }, + nested_virtualization: { + type: 'boolean', + }, + hyperv_extensions: { + type: 'boolean', + }, + network_model: { + type: 'Enum', + }, + serial_interface: { + type: 'boolean', + }, + server_renice: { + type: 'boolean', + }, + }, + }, }, }; \ No newline at end of file diff --git a/src/Specs/schemas/$ServerUpdate.ts b/src/Specs/schemas/$ServerUpdate.ts index 0006c35..98cc92f 100644 --- a/src/Specs/schemas/$ServerUpdate.ts +++ b/src/Specs/schemas/$ServerUpdate.ts @@ -27,5 +27,33 @@ export const $ServerUpdate = { hardware_profile: { type: 'Enum', }, + hardware_profile_config: { + properties: { + machinetype: { + type: 'Enum', + }, + storage_device: { + type: 'Enum', + }, + usb_controller: { + type: 'Enum', + }, + nested_virtualization: { + type: 'boolean', + }, + hyperv_extensions: { + type: 'boolean', + }, + network_model: { + type: 'Enum', + }, + serial_interface: { + type: 'boolean', + }, + server_renice: { + type: 'boolean', + }, + }, + }, }, }; \ No newline at end of file diff --git a/src/Specs/schemas/$Template.ts b/src/Specs/schemas/$Template.ts index b772bb9..f7e9cdb 100644 --- a/src/Specs/schemas/$Template.ts +++ b/src/Specs/schemas/$Template.ts @@ -6,6 +6,9 @@ export const $Template = { status: { type: 'string', }, + published: { + type: 'boolean', + }, ostype: { type: 'string', }, diff --git a/src/Specs/schemas/$TemplateUpdate.ts b/src/Specs/schemas/$TemplateUpdate.ts index d1364dc..6721b91 100644 --- a/src/Specs/schemas/$TemplateUpdate.ts +++ b/src/Specs/schemas/$TemplateUpdate.ts @@ -6,6 +6,9 @@ export const $TemplateUpdate = { name: { type: 'string', }, + published: { + type: 'boolean', + }, labels: { type: 'array', contains: {