Перейти к основному содержимому

CreateVmRequest

tariffIdstring<uuid>

Unique identifier of the tariff to apply.

pluginsstring<uuid>[]nullable

Список plugin identifiers to install or enable.

imageIdstring<uuid>

Unique identifier of the image used for provisioning.

vmNamestringnullable

Человекочитаемое название виртуальной машины.

sshPublicKeysstring[]nullable

Список raw ssh public keys that should be authorized.

sshKeyIdsstring<uuid>[]nullable

Список 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

Список private network identifiers to connect.

newNetworks object[]nullable

Список network definitions that should be created.

  • Array [
  • namestringnullable

    Человекочитаемое название resource.

    cidr IPNetwork (string)

    CIDR-блок, описывающий подсеть или сетевой диапазон.

    baseAddress IPAddress (string)

    Допустимое значение для поля base address.

    addressFamilyAddressFamily (string)

    Допустимое значение для поля 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

    Логический флаг, управляющий параметром is ipv6 multicast.

    isIPv6LinkLocalboolean

    Логический флаг, управляющий параметром is ipv6 link local.

    isIPv6SiteLocalboolean

    Логический флаг, управляющий параметром is ipv6 site local.

    isIPv6Teredoboolean

    Логический флаг, управляющий параметром is ipv6 teredo.

    isIPv6UniqueLocalboolean

    Логический флаг, управляющий параметром is ipv6 unique local.

    isIPv4MappedToIPv6boolean

    Логический флаг, управляющий параметром is ipv4 mapped to ipv6.

    addressinteger<int64>deprecated

    Значение IP-адреса.

    prefixLengthinteger<int32>

    Значение поля 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"
    }
    ]
    }