Comments (1)
As a workaround, added this to get the type dynamically...
my $typeValue; my $refType; my $options = $optionManager->supportedOption; foreach(sort {$a->key cmp $b->key} @$options) { if($_->key eq $key) { print Dumper($_); if ($_->optionType->isa("StringOption")) { $refType = "string"; } elsif ($_->optionType->isa("IntOption")) { $refType = "int"; } elsif ($_->optionType->isa("FloatOption")) { $refType = "float"; } elsif ($_->optionType->isa("LongOption")) { $refType = "long"; } elsif ($_->optionType->isa("ChoiceOption")) { $refType = "string"; } elsif ($_->optionType->isa("BoolOption")) { $refType = "boolean"; } } } $typeValue = new PrimType($value,$refType); my $option = OptionValue->new(key => $key, value => $typeValue );
from vmware-scripts.
Related Issues (20)
- make_vcsp_2018 run only for new or specific images
- make_vcsp_2018.py UnboundLocalError: local variable
- Does this script also work with VMware 6.0 or 6.5 ? HOT 1
- Comment conflicts with Action
- Get GlobalPermissions HOT 1
- Get-GlobalPermissions
- Get-GlobalPermission
- deploy_3nic_haproxy.ps1 - This cmdlet requires a vCenter Server connection. HOT 1
- create_custom_esxi_iso.ps1: Incompatible with bundle containing multiple versions HOT 4
- xNew-VM does not accommodate NSX-T Opaque Networks in the destination vCenter
- vmwarevSphereHealthCheck.pl not working with 7.0.3 HOT 1
- make_vcsp_2022.py: vCenter expect an integer/long for the etag HOT 2
- make_vcsp_2022.py - vCloud not wanting to sync ISO's
- vmdkManagement.pl fail to share the disk
- Make MacLearn.ps1 into a module HOT 2
- make_vcsp_2018 : Adding S3 onprem HOT 2
- Cannot connect to Vcenter Error: Cannot complete login due to an incorrect user name or password.
- TKG+NSXT automation script fails on the VM strokes with error: "Put USB HID scan codes"
- Server version unavailable HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vmware-scripts.