Automatically delete the old tables in Azure Storage via java sdk or any API RRS feed

  • Question

  • Currently we are using Azure Diagnostics extensions to publish performance metrics from Virtual Machine to the configured Azure Storage tables. https://docs.microsoft.com/en-us/azure/virtual-machines/extensions/diagnostics-linux#public-settings

    These metrics are stored in tables, tablename as WADMetricsPT1MP10DV2S2017060

    The table name is the concatenation of these strings:

    • WADMetrics
    • The "scheduledTransferPeriod" for the aggregated values stored in the table
    • P10DV2S
    • A date, in the form "YYYYMMDD", which changes every 10 days

    Examples include WADMetricsPT1HP10DV2S20170410 and WADMetricsPT1MP10DV2S20170609.

    Is there a way in portal to automatically delete the old tables? 

    Monday, November 18, 2019 2:23 PM