« VMOMI/VirtualMachineConfigOptionDescriptor.pm
↑ Summary
VMOMI/VirtualMachineConfigSpecEncryptedVMotionModes.pm »
| 1 | package VMOMI::VirtualMachineConfigSpec; | ||
| 2 | use parent 'VMOMI::DynamicData'; | ||
| 3 | |||
| 4 | use strict; | ||
| 5 | use warnings; | ||
| 6 | |||
| 7 | our @class_ancestors = ( | ||
| 8 | 'DynamicData', | ||
| 9 | ); | ||
| 10 | |||
| 11 | our @class_members = ( | ||
| 12 | ['changeVersion', undef, 0, 1], | ||
| 13 | ['name', undef, 0, 1], | ||
| 14 | ['version', undef, 0, 1], | ||
| 15 | ['uuid', undef, 0, 1], | ||
| 16 | ['instanceUuid', undef, 0, 1], | ||
| 17 | ['npivNodeWorldWideName', undef, 1, 1], | ||
| 18 | ['npivPortWorldWideName', undef, 1, 1], | ||
| 19 | ['npivWorldWideNameType', undef, 0, 1], | ||
| 20 | ['npivDesiredNodeWwns', undef, 0, 1], | ||
| 21 | ['npivDesiredPortWwns', undef, 0, 1], | ||
| 22 | ['npivTemporaryDisabled', 'boolean', 0, 1], | ||
| 23 | ['npivOnNonRdmDisks', 'boolean', 0, 1], | ||
| 24 | ['npivWorldWideNameOp', undef, 0, 1], | ||
| 25 | ['locationId', undef, 0, 1], | ||
| 26 | ['guestId', undef, 0, 1], | ||
| 27 | ['alternateGuestName', undef, 0, 1], | ||
| 28 | ['annotation', undef, 0, 1], | ||
| 29 | ['files', 'VirtualMachineFileInfo', 0, 1], | ||
| 30 | ['tools', 'ToolsConfigInfo', 0, 1], | ||
| 31 | ['flags', 'VirtualMachineFlagInfo', 0, 1], | ||
| 32 | ['consolePreferences', 'VirtualMachineConsolePreferences', 0, 1], | ||
| 33 | ['powerOpInfo', 'VirtualMachineDefaultPowerOpInfo', 0, 1], | ||
| 34 | ['numCPUs', undef, 0, 1], | ||
| 35 | ['numCoresPerSocket', undef, 0, 1], | ||
| 36 | ['memoryMB', undef, 0, 1], | ||
| 37 | ['memoryHotAddEnabled', 'boolean', 0, 1], | ||
| 38 | ['cpuHotAddEnabled', 'boolean', 0, 1], | ||
| 39 | ['cpuHotRemoveEnabled', 'boolean', 0, 1], | ||
| 40 | ['virtualICH7MPresent', 'boolean', 0, 1], | ||
| 41 | ['virtualSMCPresent', 'boolean', 0, 1], | ||
| 42 | ['deviceChange', 'VirtualDeviceConfigSpec', 1, 1], | ||
| 43 | ['cpuAllocation', 'ResourceAllocationInfo', 0, 1], | ||
| 44 | ['memoryAllocation', 'ResourceAllocationInfo', 0, 1], | ||
| 45 | ['latencySensitivity', 'LatencySensitivity', 0, 1], | ||
| 46 | ['cpuAffinity', 'VirtualMachineAffinityInfo', 0, 1], | ||
| 47 | ['memoryAffinity', 'VirtualMachineAffinityInfo', 0, 1], | ||
| 48 | ['networkShaper', 'VirtualMachineNetworkShaperInfo', 0, 1], | ||
| 49 | ['cpuFeatureMask', 'VirtualMachineCpuIdInfoSpec', 1, 1], | ||
| 50 | ['extraConfig', 'OptionValue', 1, 1], | ||
| 51 | ['swapPlacement', undef, 0, 1], | ||
| 52 | ['bootOptions', 'VirtualMachineBootOptions', 0, 1], | ||
| 53 | ['vAppConfig', 'VmConfigSpec', 0, 1], | ||
| 54 | ['ftInfo', 'FaultToleranceConfigInfo', 0, 1], | ||
| 55 | ['repConfig', 'ReplicationConfigSpec', 0, 1], | ||
| 56 | ['vAppConfigRemoved', 'boolean', 0, 1], | ||
| 57 | ['vAssertsEnabled', 'boolean', 0, 1], | ||
| 58 | ['changeTrackingEnabled', 'boolean', 0, 1], | ||
| 59 | ['firmware', undef, 0, 1], | ||
| 60 | ['maxMksConnections', undef, 0, 1], | ||
| 61 | ['guestAutoLockEnabled', 'boolean', 0, 1], | ||
| 62 | ['managedBy', 'ManagedByInfo', 0, 1], | ||
| 63 | ['memoryReservationLockedToMax', 'boolean', 0, 1], | ||
| 64 | ['nestedHVEnabled', 'boolean', 0, 1], | ||
| 65 | ['vPMCEnabled', 'boolean', 0, 1], | ||
| 66 | ['scheduledHardwareUpgradeInfo', 'ScheduledHardwareUpgradeInfo', 0, 1], | ||
| 67 | ['vmProfile', 'VirtualMachineProfileSpec', 1, 1], | ||
| 68 | ['messageBusTunnelEnabled', 'boolean', 0, 1], | ||
| 69 | ['crypto', 'CryptoSpec', 0, 1], | ||
| 70 | ['migrateEncryption', undef, 0, 1], | ||
| 71 | ); | ||
| 72 | |||
| 73 | sub get_class_ancestors { | ||
| 74 | return @class_ancestors; | ||
| 75 | } | ||
| 76 | |||
| 77 | sub get_class_members { | ||
| 78 | my $class = shift; | ||
| 79 | my @super_members = $class->SUPER::get_class_members(); | ||
| 80 | return (@super_members, @class_members); | ||
| 81 | } | ||
| 82 | |||
| 83 | 1; |