Created
January 29, 2019 13:08
-
-
Save kclinden/59b16f17f3b3eabe7f7b31db106551d1 to your computer and use it in GitHub Desktop.
vRO Action to execute a vm reconfig task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Description: vRO Action to execute a vm reconfig task | |
//Inputs: [Array/Any] deviceConfigSpecs, [VC:VirtualMachine] vm | |
//Return Type: VC:Task | |
var configSpec = new VcVirtualMachineConfigSpec(); | |
configSpec.deviceChange = deviceConfigSpecs; | |
return vm.reconfigVM_Task(configSpec); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment