locked
Azure PHP SDK - Updates? RRS feed

  • Question

  • Hi,

    I'm interested in using the Azure SDK for PHP to programmatically create and manage VMs. However, the latest source doesn't seem to have been updated in a long time. Are there any plans to update the SDK so that it is inline with the Azure Powershell cmdlets?

    Thanks,

    Dean

    Wednesday, August 28, 2013 8:15 PM

Answers

  • Hi,

    Based on your description, looks like you want to use a VM, not a cloud service. From my experience, the Windows Azure SDK for PHP is built for cloud service. If you want to use a VM, you can create a Linux VM, and install PHP the same way as you do on the local Linux machine, the Azure specific SDK is not required. I would like to suggest you to check the topics on http://www.windowsazure.com/en-us/develop/php/virtual-machines/.

      >> I'm interested in using the Azure SDK for PHP to programmatically create and manage VMs

    If you mean you want to manage VMs in your PHP application, you can use the REST Management API: http://msdn.microsoft.com/en-us/library/windowsazure/ee460799.aspx

    Best Regards,

    Ming Xu


    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support

    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

    • Marked as answer by Dean Ward Thursday, August 29, 2013 7:28 PM
    Thursday, August 29, 2013 9:02 AM

All replies

  • Hi,

    Based on your description, looks like you want to use a VM, not a cloud service. From my experience, the Windows Azure SDK for PHP is built for cloud service. If you want to use a VM, you can create a Linux VM, and install PHP the same way as you do on the local Linux machine, the Azure specific SDK is not required. I would like to suggest you to check the topics on http://www.windowsazure.com/en-us/develop/php/virtual-machines/.

      >> I'm interested in using the Azure SDK for PHP to programmatically create and manage VMs

    If you mean you want to manage VMs in your PHP application, you can use the REST Management API: http://msdn.microsoft.com/en-us/library/windowsazure/ee460799.aspx

    Best Regards,

    Ming Xu


    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support

    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

    • Marked as answer by Dean Ward Thursday, August 29, 2013 7:28 PM
    Thursday, August 29, 2013 9:02 AM
  • Thanks Ming,

    I knew we could use the REST API. The PHP SDK provides some elements of the Service Management API but I was just wondering if it was going to be updated to coincide with the latest management features in the PowerShell tooling.

    I think MS is missing a key feature here - whilst having the REST API is great, it's much easier if there's a pre-written set of libraries that can be used to access it from the language of choice... This would make Azure a lot easier to integrate with the various open source cloud provisioning tools which are popping up (e.g. Scalr, Cloudify, etc.).

    Cheers,

    Dean

    Thursday, August 29, 2013 7:27 PM
  • Hi Dean,

    Thank you for your feedback.

    Currently there's no wrapper on management APIs, even in .NET SDK. But you're always welcome to submit the feature suggestions on http://www.mygreatwindowsazureidea.com/forums/34192-general-feedback-.

    Best Regards,

    Ming Xu


    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support

    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

    Sunday, September 1, 2013 1:47 PM