Skip to content

Commit 1189f27

Browse files
authored
docs(instance): specify volume sizes must be multiple of 512 (IOC-88) (#37)
1 parent fafcff7 commit 1189f27

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/clients/src/api/instance/v1/types.gen.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -811,7 +811,7 @@ export interface VolumeServerTemplate {
811811
boot: boolean
812812
/** Name of the volume */
813813
name: string
814-
/** Disk size of the volume */
814+
/** Disk size of the volume, must be a multiple of 512 */
815815
size: number
816816
/** Type of the volume */
817817
volumeType: VolumeVolumeType
@@ -836,7 +836,7 @@ export interface VolumeTemplate {
836836
id: string
837837
/** Name of the volume */
838838
name: string
839-
/** Disk size of the volume */
839+
/** Disk size of the volume, must be a multiple of 512 */
840840
size: number
841841
/** Type of the volume */
842842
volumeType: VolumeVolumeType
@@ -1134,7 +1134,7 @@ export type CreateVolumeRequest = {
11341134
/** The volume type */
11351135
volumeType: VolumeVolumeType
11361136
/**
1137-
* The volume disk size.
1137+
* The volume disk size, must be a multiple of 512.
11381138
*
11391139
* One-of ('from'): at most one of 'size', 'baseVolume', 'baseSnapshot' could be set.
11401140
*/
@@ -1169,7 +1169,7 @@ export type UpdateVolumeRequest = {
11691169
name?: string
11701170
/** The tags of the volume */
11711171
tags?: Array<string>
1172-
/** The volume disk size */
1172+
/** The volume disk size, must be a multiple of 512 */
11731173
size?: number
11741174
}
11751175

0 commit comments

Comments
 (0)