Proposed Answer Get the list of CDN endpoints by using REST API

  • 10 august 2012 10:09
     
     

    Hi,

    I am having a windows azure subscription. I have some hosted services and storage account in that. I have created two CDN endpoints for the storage account. I want to get the list of the CDN endpoints by using the REST API. if it is not possible, can we check whether CDN is enabled for a hosted service/storage account by using REST API.

    Regards,
    Navin.


Toate mesajele

  • 11 august 2012 17:36
     
     Răspuns propus

    Hi,

    Checking the Windows Azure Service Management API Reference, there isn´t any reference on Operations on Content Distribution Network (CDN)

    You could save your CDN endpoint names (ie: az123456) on your Web.config/App.config on your Worker/Web role(s), once you create those endpoints the names won´t change. 

    Hope this helps!


    Cheers, Carlos Sardo


  • 16 august 2012 10:29
     
     

    Hi Carlos,

    Thanks for your reply. The following URI used for listing the collection of CDN Endpoints associated with a subscription:

    https://management.core.windows.net/<subscriptionId>/services/cdn/endpoints

    Reference: http://msdn.microsoft.com/en-us/library/windowsazure/ee460786


    Navin

  • 7 septembrie 2012 08:43
     
     

    Is this REST API "https://management.core.windows.net/<subscriptionId>/services/cdn/endpoints" is available?

    But When I do the HTTP request by using that REST API, It gives me error (404) Not Found.

  • 7 septembrie 2012 12:35
     
     Răspuns propus

    I believe these operations on CDN are currenlty not enabled.



    Please mark the replies as Answered if they help and Vote if you found them helpful.