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

  • 10 สิงหาคม 2555 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.


ตอบทั้งหมด

  • 11 สิงหาคม 2555 17:36
     
     คำตอบที่เสนอ

    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


    • เสนอเป็นคำตอบโดย Carlos Sardo 11 สิงหาคม 2555 17:36
    • แก้ไขโดย Carlos Sardo 11 สิงหาคม 2555 17:37
    •  
  • 16 สิงหาคม 2555 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

    • ทำเครื่องหมายเป็นคำตอบโดย Dot_Net_Developer 16 สิงหาคม 2555 10:29
    • ยกเลิกการทำเครื่องหมายเป็นคำตอบโดย Dot_Net_Developer 7 กันยายน 2555 8:39
    •  
  • 7 กันยายน 2555 8: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 กันยายน 2555 12:35
     
     คำตอบที่เสนอ

    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.

    • เสนอเป็นคำตอบโดย Veerendra Kumar 7 กันยายน 2555 12:35
    •