VirtualMachine constructor

VirtualMachine({
  1. String? instanceName,
  2. String? instanceId,
  3. VirtualMachineConfig? virtualMachineConfig,
})

Implementation

factory VirtualMachine({
  $core.String? instanceName,
  $core.String? instanceId,
  VirtualMachineConfig? virtualMachineConfig,
}) {
  final $result = create();
  if (instanceName != null) {
    $result.instanceName = instanceName;
  }
  if (instanceId != null) {
    $result.instanceId = instanceId;
  }
  if (virtualMachineConfig != null) {
    $result.virtualMachineConfig = virtualMachineConfig;
  }
  return $result;
}