Comments (5)
Merged
from build-tools-for-vmware-aria.
Hey @unbreakabl3,
Thank you for your issue.
We would need a bit more info.
![image](https://private-user-images.githubusercontent.com/17056014/242179562-f2345388-19be-4b93-8b33-a269af6bbd2e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTI5ODg1NDMsIm5iZiI6MTcxMjk4ODI0MywicGF0aCI6Ii8xNzA1NjAxNC8yNDIxNzk1NjItZjIzNDUzODgtMTliZS00YjkzLThiMzMtYTI2OWFmNmJiZDJlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA0MTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNDEzVDA2MDQwM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQ2YjQ5YzE3MzUwMWZiOGIyYWZlMjg1MGNjY2U1YTljNjI4NWY1OTQ2ZGIyZDE3MmQ4ODVmNTg3ZDMwMTM2YzEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.L00kex0WcJVtgGgwV2iIbHznGtcZOqTu0I5LC8GQ9yY)
![image](https://private-user-images.githubusercontent.com/17056014/242214434-cc662b4d-c33d-4112-a315-0b250b66878f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTI5ODg1NDMsIm5iZiI6MTcxMjk4ODI0MywicGF0aCI6Ii8xNzA1NjAxNC8yNDIyMTQ0MzQtY2M2NjJiNGQtYzMzZC00MTEyLWEzMTUtMGIyNTBiNjY4NzhmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA0MTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNDEzVDA2MDQwM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTY4Zjc0NDUxZjM3ZWM5Y2I1YTdhZTA0NjhiOGQ5NzExMzRmNWFmYWZmYmNjZjQxYWQ1YjgzYmM4NjVjMmQ5M2MmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Dec9l4BE7IKVBjXoUbtZGTgExcNC6lnp_ZXMQqTQyOA)
From what I can see our definition is correct...
Can I ask you to run:
JSON.stringify(Object.keys(spec.deviceChange[0].device.backing))
and send us the output?
from build-tools-for-vmware-aria.
Sure. Please.
Stopped in a debug mode after the line
spec.deviceChange[0].device.backing = new VcVirtualPCIPassthroughVmiopBackingInfo();
from build-tools-for-vmware-aria.
Backing seems to be null... weird. And you claim that it works if you pass VcVirtualPCIPassthroughVmiopBackingInfo ? I mean javascript won't complain but does it actually do anything? According to the API Explorer it shouldn't be accepted. Can you provide proof that it works and we can triage on this internally
from build-tools-for-vmware-aria.
Hi, @Michaelpalacce .
I am just not sure how I can prove it π. If that wouldn't work, I would open another issue... But here all started with IntelliSense issue and not because it didn't work
This code is working in JS:
var spec = new VcVirtualMachineConfigSpec();
var deviceSpec = [];
deviceSpec[0] = new VcVirtualDeviceConfigSpec();
spec.deviceChange = deviceSpec;
spec.deviceChange[0].operation = VcVirtualDeviceConfigSpecOperation.add;
spec.deviceChange[0].device = new VcVirtualPCIPassthrough();
spec.deviceChange[0].device.deviceInfo = new VcDescription();
spec.deviceChange[0].device.deviceInfo.summary = '';
spec.deviceChange[0].device.deviceInfo.label = 'New PCI device';
spec.deviceChange[0].device.backing = new VcVirtualPCIPassthroughVmiopBackingInfo();
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
//@ts-ignore
spec.deviceChange[0].device.backing.vgpu = vGPUProfile;
System.debug("Reconfigure VM '" + vm.name + "' to attach '" + vGPUProfile + "' vGPU profile");
return vm.reconfigVM_Task(spec);
from build-tools-for-vmware-aria.
Related Issues (20)
- Typescript SSH type issue HOT 1
- shim for Array.from() doesn't create copy without mapfn HOT 1
- Transpiler fails to convert Array functions into vRO compatible code
- vROPs default policy feature not working with version 2.36.0 HOT 2
- Catalog Item (vRO workflow) Description not getting updated on the existing catalog item HOT 7
- Discussion test
- Conditional Execution in Saga HOT 4
- Last Region image mapping overwrites the value for all other regions. HOT 6
- Package installer fails with error message "400 Bad Request {"status":400,"message":"Unable to extract package from raw data"}" HOT 9
- Cloud Template folder name is used when validating if the record exists on the server, but the name in the details.json is used when creating/updating HOT 5
- Duplicate Key VraNgBlueprint@<sha> when trying to push one or more cloud templates when there are 2 cloud templates with the same name on the sever
- Upgrade to new TS version HOT 5
- ABX content export is not working with Java 17 HOT 3
- ABX project templates must be updated HOT 8
- Error Pushing vRA Content after Updating to 2.37.0 HOT 8
- property-group is imported with scope of shared project but no way of a global scope HOT 6
- ActiveDirectory plugin types are incomplete HOT 6
- Unable to Create a Project with Users assigned to the "Supervisor" role. HOT 3
- When creating a vSphere Storage Profile I send a datastoreId, when reading a vSphere Storage Profile I do NOT get the datastoreId back. HOT 3
- ABX Project NodeJS build issue HOT 9
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 build-tools-for-vmware-aria.