blob: b3f3b4f345027ddc557fb36f55f88fcbd4f8c962 [file] [log] [blame]
// Copyright 2022 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
syntax = "proto3";
package recipes.infra.windows_image_builder.windows_vm;
message WindowsVMConfig {
// The set amount of time in seconds to wait for the VM to finish booting up.
// Will sleep for this time and then attempt to connect to vm.
int32 boot_time = 1;
// The set amount of time in seconds to wait for VM to completely shutdown.
// Will sleep for this time and then proceed to validate that the vm is
// shutdown
int32 shutdown_time = 2;
// Powershell context for running any actions. This will create a powershell
// variable for the key containing expression in value. If the context
// contains `context{ 'foo': 'bar' }`. This will create a powershell var foo
// `$foo = "bar"` and can be used as part of any actions that follow.
map<string, string> context = 3;
}