CreateVolumeRequest: {
    fromEmpty?: CreateVolumeRequestFromEmpty;
    fromSnapshot?: CreateVolumeRequestFromSnapshot;
    name?: string;
    perfIops?: number;
    projectId?: string;
    tags?: string[];
    zone?: Zone;
}

Type declaration

  • OptionalfromEmpty?: CreateVolumeRequestFromEmpty

    Specify the size of the new volume if creating a new one from scratch.

    One-of ('from'): at most one of 'fromEmpty', 'fromSnapshot' could be set.

  • OptionalfromSnapshot?: CreateVolumeRequestFromSnapshot

    Specify the snapshot ID of the original snapshot.

    One-of ('from'): at most one of 'fromEmpty', 'fromSnapshot' could be set.

  • Optionalname?: string

    Name of the volume.

  • OptionalperfIops?: number

    The maximum IO/s expected, according to the different options available in stock (5000 | 15000).

    One-of ('requirements'): at most one of 'perfIops' could be set.

  • OptionalprojectId?: string

    UUID of the project the volume belongs to.

  • Optionaltags?: string[]

    List of tags assigned to the volume.

  • Optionalzone?: Zone

    Zone to target. If none is passed will use default zone from the config.