Comments (5)
Sure
vcenter
- add datastore
- rescan datastore for new VM's
- all assignments to datastore (to host, cluster, vm)
VM operaions
- create snapshot
- create clone
- VMotion
If I encounter more operations, I'll write them down.
Thanks.
from vsphere-automation-sdk-java.
What were you trying to to do when you got the exception ? Is there a code sample you can attach that we can look at ? Also, please note that as per apidoc, if conversion is not possible it will throw an exception.
T _convertTo(Class clazz)
Converts this structure into an instance of the provided class structure if possible. A conversion will be possible if the requested structure's fields are all present in this structure.
Parameters:
clazz - type of the result structure. cannot be null.
Returns:
an instance of the requested type if conversion is possible. CoreException is thrown otherwise.
In most cases you wouldn't need to use this method. So, if you can paste code your code snippet it will help.
from vsphere-automation-sdk-java.
Don't have the code since I found out that this sdk lakes most of the operations I need.
But it basically going from VMTypes.Info to VMTypes.CreateSpec. If thought that if I managed to do that manually - you guys provided it automatically. Unfortunately its not working.
I tried to do it because I wanted to create a similar VM without a template. If you think that its a common use case you should fix that.
from vsphere-automation-sdk-java.
@rdxnaor would you mind listing the operations that you need that you're missing? I'd like to be sure we have those things in our backlogged and prioritized correctly for our API team.
Thanks,
-Steve
vSphere SDK Dev Manager
from vsphere-automation-sdk-java.
Just continued to write my code and there are more operations. didn't check if there are already exists.
- discover iscsi target via ip
- connect to iscsi target
from vsphere-automation-sdk-java.
Related Issues (20)
- SDK License HOT 1
- Connection timeout
- Deploy libraries to maven central HOT 5
- Deploy OVF file with custom properties HOT 1
- Is there a way to create, delete and list Linked Clone using vSphere Automation SDK? HOT 1
- Include sources in libraries HOT 1
- vmware vsphere vapp HOT 2
- STSService.wsdl xml Schema bug HOT 4
- suspendToMemorySupported missing in VirtualMachineCapability class inside vim25.jar HOT 2
- API to import OVF via vCenter to ESXi host HOT 1
- "java.lang.ClassNotFoundException: com.sun.org.apache.xml.internal.resolver.CatalogManager" issue while running ListVMs sample HOT 1
- Java HOT 1
- Feature Request Example Docu for simple print network details with version 8.0.1 of JAVA SDK HOT 66
- How to extend existing disk? HOT 1
- vSphere 8.0 Update 1 & VMware Cloud on AWS 1.22 does not build at ubuntu 22.04 HOT 13
- No possibility to check if session is still valid HOT 13
- Authorization does not work for interfaces HOT 1
- SDK does not Support all IPS of an certain VM HOT 7
- Incompatibility with Java 11 HOT 2
- Problems with the findObject Method 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 vsphere-automation-sdk-java.