azure-cli icon indicating copy to clipboard operation
azure-cli copied to clipboard

Feature: `az cdn endpoint list-cached` or `az cdn endpoint purge-all`

Open iyerusad opened this issue 7 years ago • 4 comments

Is your feature request related to a problem? Please describe. Purging CDNs doesn't appear to be possible without az cdn endpoint list-cached (output of what paths are currently cached in a CDN endpoint). Standard Akamai CDN does not appear to support wildcards in CDN purge - Premium Verizon CDN does. This does not appear to be a market segmentation distinction, but a tooling issue.

Describe the solution you'd like A) az cdn endpoint list-cached: Outputs list of cached files B) More ideally, az cdn endpoint purge-all: Iterate through cached files list and purge them. This is similar to az storage blob delete-batch command.

Describe alternatives you've considered

  • Premium Verizon CDN
  • 3rd Party CDN providers
  • Using SPA that links off everything in index.html, and then purging path /index.html (this is edge case grace due to SPA and not without its flaws)

Would like to stay within ecosystem, seems like tooling update here can make an "unsupported" feature, supported across the board.

Additional context CDN is fronting a static website hosted on Azure Storage. Purging CDN is neccesary during deployment as content is changed.

iyerusad avatar Mar 27 '19 20:03 iyerusad

@iyerusad the tooling is owned by the service team, so it would be up to them whether they would support it purely at the tools level or at the service level.

tjprescott avatar Mar 27 '19 21:03 tjprescott

These features are currently not supported by the service provider Akamai. Please reach out to CDN PM([email protected]) team to discuss about this feature request.

hytao avatar Jan 28 '20 19:01 hytao

is this supported in verizon premium ?

MohamedOthman avatar Jan 29 '20 17:01 MohamedOthman

No, non of the providers support this feature at the moment. Please reach out to CDN PM([email protected]) team to discuss about this feature request.

hytao avatar Mar 06 '20 21:03 hytao