Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 4.11 KB

CreateVmsRequest.md

File metadata and controls

43 lines (31 loc) · 4.11 KB

CreateVmsRequest

Properties

Name Type Description Notes
blockDeviceMappings List<BlockDeviceMappingVmCreation> One or more block device mappings. [optional]
bootOnCreation Boolean By default or if true, the VM is started on creation. If false, the VM is stopped on creation. [optional]
bsuOptimized Boolean This parameter is not available. It is present in our API for the sake of historical compatibility with AWS. [optional]
clientToken String A unique identifier which enables you to manage the idempotency. [optional]
deletionProtection Boolean If true, you cannot delete the VM unless you change this parameter back to false. [optional]
dryRun Boolean If true, checks whether you have the required permissions to perform the action. [optional]
imageId String The ID of the OMI used to create the VM. You can find the list of OMIs by calling the ReadImages method.
keypairName String The name of the keypair. [optional]
maxVmsCount Integer The maximum number of VMs you want to create. If all the VMs cannot be created, the largest possible number of VMs above MinVmsCount is created. [optional]
minVmsCount Integer The minimum number of VMs you want to create. If this number of VMs cannot be created, no VMs are created. [optional]
nestedVirtualization Boolean (dedicated tenancy only) If true, nested virtualization is enabled. If false, it is disabled. [optional]
nics List<NicForVmCreation> One or more NICs. If you specify this parameter, you must not specify the `SubnetId` and `SubregionName` parameters. You also must define one NIC as the primary network interface of the VM with `0` as its device number. [optional]
performance PerformanceEnum The performance of the VM (`medium` | `high` | `highest`). By default, `high`. This parameter is ignored if you specify a performance flag directly in the `VmType` parameter. [optional]
placement Placement [optional]
privateIps List<String> One or more private IPs of the VM. [optional]
securityGroupIds List<String> One or more IDs of security group for the VMs. [optional]
securityGroups List<String> One or more names of security groups for the VMs. [optional]
subnetId String The ID of the Subnet in which you want to create the VM. If you specify this parameter, you must not specify the `Nics` parameter. [optional]
userData String Data or script used to add a specific configuration to the VM. It must be Base64-encoded and is limited to 500 kibibytes (KiB). [optional]
vmInitiatedShutdownBehavior String The VM behavior when you stop it. By default or if set to `stop`, the VM stops. If set to `restart`, the VM stops then automatically restarts. If set to `terminate`, the VM stops and is terminated. [optional]
vmType String The type of VM. You can specify a TINA type (in the `tinavW.cXrYpZ` or `tinavW.cXrY` format), or an AWS type (for example, `t2.small`, which is the default value).<br /> If you specify an AWS type, it is converted in the background to its corresponding TINA type, but the AWS type is still returned. If the specified or converted TINA type includes a performance flag, this performance flag is applied regardless of the value you may have provided in the `Performance` parameter. For more information, see VM Types. [optional]

Enum: PerformanceEnum

Name Value
MEDIUM "medium"
HIGH "high"
HIGHEST "highest"