1.0.5 • Published 7 years ago

azure-arm-cdn-purge v1.0.5

Weekly downloads
-
License
ISC
Repository
-
Last release
7 years ago

#azure-arm-cdn-purge# A node command line utility to purge Azure CDN Endpoints. Based off of azure-arm-cdn (which uses the Azure SDK for Node). This requires that you are using a Service Principal and not interactive login.

Note: Akamai does not support Wildcard purging. Both Verizon and Akamai support up to 50 purge requests at a time. Visit Microsoft for more info on purging limitations between CDN providers.

Installation

npm install azure-arm-cdn-purge -g

Usage

$ azure-arm-cdn-purge <options> <content paths...>

Required Options

  • --endpoint-name
  • --profile-name
  • --resource-group-name
  • --subscription-id
  • --tenant-id
  • --client-id
  • --client-secret

Usage Example

Note: Replace \ with ^ on Windows for multiline command execution.

$ azure-arm-cdn-purge \
    --endpoint-name "<Endpoint Name>" \
    --profile-name "<Profile Name>" \
    --resource-group-name "<Resource Group Name>" \
    --subscription-id "<Subscription GUID>" \
    --tenant-id "<Tenant GUID>" \
    --client-id "<Client GUID>" \
    --client-secret "<Client Secret> \
    "/dir/file1.txt", "/dir/file2.txt"