We are developing an application in which we need to integrate different cloud services. We need to connect to VmWare VCenter server and should do the provisioning. Is there any Rest API calls to execute the task?
Thanks.....
Since this question was asked and answered VMware has released a vCenter REST API for version 6.5:
The VMware vSphere Automation SDKs provide support for your client application infrastructure with services to perform management operations in your vSphere environment. The vSphere Automation SDK for REST also contains samples to demonstrate how to use the new APIs.
The version 6.5 SDK enables programmatic access to the following
services:
Session management
Tagging
Content Library
Virtual Machines
vCenter Server Appliance management
Read more:
vSphere Automation SDK for REST 6.5 Release Notes
http://creativeview.co.uk/VMware-vCenter-REST-API-Part-1/
Currently, the vSphere API is largely SOAP based.
The simplest way to consume our API is via one of the existing SDKs.
For example, you can use the Python SDK (https://github.com/vmware/pyvmomi) to perform most vSphere functions via the Python library.
Alternatively, you can use a configuration management platform like Chef via the vSphere specific plugin. For Chef, there is a vSphere Knife: https://github.com/chef-partners/knife-vsphere
If you tell us more about the problem you are trying to solve and the tools you are using, we can give you a more detailed answer.
Related
I have created a ML WebService on portal.azure.com. I wish to create multiple endpoints programmitically for this webservice using Powershell.
However all the cmdlets available (Add-AmlWebServiceEndpoint) involve using the Old or Classic WebServices.
Is there anyway to achieve this for New Azure ML WebServices
What version of PowerShell are you using, and have you imported the Azure-RM module? See here.
You can see updated documentation for all the cmdlets that can be used with ARM-based Azure Machine Learning web services here.
I have a CentOS VPS and a Microsoft Bot Framework program. Is there a way that I can deploy the bot onto the CentOS VPS? Thank you.
BotFramework has libraries written for NodeJs and .Net (including .Net core that works on Linux platforms) out of the box, and it has REST API that can be utilized from any language on your platforms that allows doing http/s requests.
So, the simplest way for you: write your bot on NodeJs and deploy it to CentOS. There're plenty of examples on BotFramework site how to create bots in NodeJs.
https://docs.botframework.com/en-us/node/builder/overview/
After looking around for some information about managing my azure app i found csmanage and powershell commandlets. What are the difference between these applications and which one to choose?
The basis of Windows Azure Services management is REST API and beauty of using REST API is that you can wrap REST in any programming language as longs as there is networking and security infrastructure available. Most of the tools you mentioned above are using REST API underneath and using Windows Azure Service Management API. CSMANAGE and PowerShell Cmdlets are using Windows Azure Service Management API to manager Windows Azure subscriptions. You can learn more about Service Management API here.
There is also another tool call WAPMMC (Windows Azure Platform Management Tool (MMC) which is also built upon Service Management API.
Besides it there are 3rd party tools which are built using Service management API i.e. Cerebrata Powershell cmdlets.
Comparing all of above, I would say Windows Azure Powershell Cmdlets is the most powerful tool among all of these and it has been updated with bug fixes and many more features added frequently. To use it in your machine you just need to download powershell cmdlets and Windows Azure SDK in your machine as these are required.
http://wappowershell.codeplex.com/
Recently I also found a Java based tool called Burp to use REST API directly from its shell to manage Windows Azure subscription. There is no need for .net framework or Azure SDK. You just need a machine with Java runtime and Burp. I have added a blog on this regard here.
I think it depends on what you're more comfortable with. I don't think the CSManage tool is being updated that much any longer (maybe at all - unsure). The PowerShell cmdlets get a lot of attention - both from Microsoft and partners like Cerebrata.
My vote - learn PowerShell and go with the PowerShell cmdlets for working with your Windows Azure apps. Small learning curve and well worth it.
I have a service that was developed in the .NET 2.0 framework. It is installed in several sites and works with my application. I would like the service to be able to "report" back to me with certain information about the application. I wanted to see if Windows Azure would be an option for me to be able to store reports in a cloud db and be able to pull them when I need to. One of my main concerns is it compatible with my .NET 2.0 service?
Thank you.
In a word: yes. Windows Azure can run code compiled against 2.0/3.5 and 4.0. You may not have access to all of the Azure SDK (some of the libraries require 3.5), but your service should run with no modifications.
Currently we're building a small datacenter. For the Infrastructure-as-a-Service part I'm planning to use VMWare vSphere. I know VMWare is pushing its vCloud API so my question is: how can I install and use this API within my own datacenter?
If you are going to use vSphere I strongly advise you to examine PowerCLI. PowerCLI is snapin to Powershell. With PowerCLI you have wonders of Powershell and tools which you can use to automate / manage almost any aspect of vSphere.
vCloud API is currently at beta and it's targeted to vCloud Service Director. It's currently private beta.
Right now VMware is expecting this to be implemented by the service providers themselves. For example BlueLock, Terramark and Hosting.com have implementations provided by the companies' implementations of vCloud Express.