@Generated(value="org.jsonschema2pojo") public class VmConfigs extends Object
Configs for task VMs. In current version, only Windows VM may be allocated.
Constructor and Description |
---|
VmConfigs() |
Modifier and Type | Method and Description |
---|---|
CloudServiceConfig |
getCloudServiceConfig()
CloudServiceConfig schema.
|
int |
getMaxTasksPerNode()
MaxTasksPerNode schema.
|
int |
getNumVMs()
NumVMs schema.
|
VirtualMachineConfig |
getVirtualMachineConfig()
VirtualMachineConfig schema.
|
String |
getVmSetupCommandLine()
VmSetupCommandLine schema.
|
String |
getVmSize()
VmSize schema.
|
boolean |
isPoolKeepAlive()
PoolKeepAlive schema.
|
void |
setCloudServiceConfig(CloudServiceConfig cloudServiceConfig)
CloudServiceConfig schema.
|
void |
setMaxTasksPerNode(int maxTasksPerNode)
MaxTasksPerNode schema.
|
void |
setNumVMs(int numVMs)
NumVMs schema.
|
void |
setPoolKeepAlive(boolean poolKeepAlive)
PoolKeepAlive schema.
|
void |
setVirtualMachineConfig(VirtualMachineConfig virtualMachineConfig)
VirtualMachineConfig schema.
|
void |
setVmSetupCommandLine(String vmSetupCommandLine)
VmSetupCommandLine schema.
|
void |
setVmSize(String vmSize)
VmSize schema.
|
public int getNumVMs()
Number of VMs to be created. (Required)
public void setNumVMs(int numVMs)
Number of VMs to be created. (Required)
numVMs
- The numVMspublic int getMaxTasksPerNode()
Max tasks allowed running on a VM at same time.
public void setMaxTasksPerNode(int maxTasksPerNode)
Max tasks allowed running on a VM at same time.
maxTasksPerNode
- The maxTasksPerNodepublic String getVmSize()
The size of the virtual machines in the pool. You may find more information at https://msdn.microsoft.com/library/azure/dn820174.aspx, element vmSize.
public void setVmSize(String vmSize)
The size of the virtual machines in the pool. You may find more information at https://msdn.microsoft.com/library/azure/dn820174.aspx, element vmSize.
vmSize
- The vmSizepublic CloudServiceConfig getCloudServiceConfig()
The cloud service configuration for the pool, for Azure PaaS VMs. You may find more information at https://msdn.microsoft.com/library/azure/dn820174.aspx, cloudServiceConfiguration section.
public void setCloudServiceConfig(CloudServiceConfig cloudServiceConfig)
The cloud service configuration for the pool, for Azure PaaS VMs. You may find more information at https://msdn.microsoft.com/library/azure/dn820174.aspx, cloudServiceConfiguration section.
cloudServiceConfig
- The cloudServiceConfigpublic VirtualMachineConfig getVirtualMachineConfig()
The virtual machine configuration for the pool, for Azure IaaS VMs. You may find more information at https://msdn.microsoft.com/library/azure/dn820174.aspx, virtualMachineConfiguration section.
public void setVirtualMachineConfig(VirtualMachineConfig virtualMachineConfig)
The virtual machine configuration for the pool, for Azure IaaS VMs. You may find more information at https://msdn.microsoft.com/library/azure/dn820174.aspx, virtualMachineConfiguration section.
virtualMachineConfig
- The virtualMachineConfigpublic boolean isPoolKeepAlive()
Keep the VMs alive after all tests are done. Default is false. You may set to true if you want VMs alive for debugging purpose.
public void setPoolKeepAlive(boolean poolKeepAlive)
Keep the VMs alive after all tests are done. Default is false. You may set to true if you want VMs alive for debugging purpose.
poolKeepAlive
- The poolKeepAlivepublic String getVmSetupCommandLine()
CommandLine to setup VM. This command will be run before any tests.
public void setVmSetupCommandLine(String vmSetupCommandLine)
CommandLine to setup VM. This command will be run before any tests.
vmSetupCommandLine
- The vmSetupCommandLineCopyright © 2016. All rights reserved.