Skip to main content

CreateVmRequest

tariffIdstring<uuid>

Unique identifier of the tariff to apply.

pluginsstring<uuid>[]nullable

List of plugin identifiers to install or enable.

imageIdstring<uuid>

Unique identifier of the image used for provisioning.

vmNamestringnullable

Human-readable name of the virtual machine.

sshPublicKeysstring[]nullable

List of raw SSH public keys that should be authorized.

sshKeyIdsstring<uuid>[]nullable

List of existing SSH key identifiers to attach.

publicIpTariffIdstring<uuid>nullable

Unique identifier of the tariff used for the public IP.

publicIpModePublicIpMode (string)

Strategy that defines how the public IP should be assigned.

Possible values: [New, Existing, None]

existingPublicIpIdstring<uuid>nullable

Unique identifier of an existing public IP to reuse.

privateNetworkIdsstring<uuid>[]nullable

List of private network identifiers to connect.

newNetworks object[]nullable

List of inline network definitions that should be created.

  • Array [
  • namestringnullable

    Human-readable name of the resource.

    cidr IPNetwork (string)

    CIDR block describing the subnet or network range.

    baseAddress IPAddress (string)

    Allowed value for base address.

    addressFamilyAddressFamily (string)

    Allowed value for address family.

    Possible values: [Unknown, Unspecified, Unix, InterNetwork, ImpLink, Pup, Chaos, NS, Ipx, Iso, Osi, Ecma, DataKit, Ccitt, Sna, DecNet, DataLink, Lat, HyperChannel, AppleTalk, NetBios, VoiceView, FireFox, Banyan, Atm, InterNetworkV6, Cluster, Ieee12844, Irda, NetworkDesigners, Max, Packet, ControllerAreaNetwork]

    scopeIdinteger<int64>

    Unique identifier of the scope.

    isIPv6Multicastboolean

    Boolean flag that controls is ipv6 multicast.

    isIPv6LinkLocalboolean

    Boolean flag that controls is ipv6 link local.

    isIPv6SiteLocalboolean

    Boolean flag that controls is ipv6 site local.

    isIPv6Teredoboolean

    Boolean flag that controls is ipv6 teredo.

    isIPv6UniqueLocalboolean

    Boolean flag that controls is ipv6 unique local.

    isIPv4MappedToIPv6boolean

    Boolean flag that controls is ipv4 mapped to ipv6.

    addressinteger<int64>deprecated

    IP address value.

    prefixLengthinteger<int32>

    Value of prefix length.

  • ]
  • CreateVmRequest
    {
    "tariffId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "plugins": [
    "3fa85f64-5717-4562-b3fc-2c963f66afa6"
    ],
    "imageId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "vmName": "string",
    "sshPublicKeys": [
    "string"
    ],
    "sshKeyIds": [
    "3fa85f64-5717-4562-b3fc-2c963f66afa6"
    ],
    "publicIpTariffId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "publicIpMode": "New",
    "existingPublicIpId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "privateNetworkIds": [
    "3fa85f64-5717-4562-b3fc-2c963f66afa6"
    ],
    "newNetworks": [
    {
    "name": "string",
    "cidr": "10.0.0.0/24"
    }
    ]
    }