title: unable to getting memory usage of Virtual machine using management API
body: <p>i am not getting the timeseries object in the below api call for Virtual machine memory use.</p>
  <p><strong>I tried this:</strong></p>
  <pre><code>Method :Get
  Url:https://management.azure.com/subscriptions/XXXXXXXXXXXXXXXXXXXX/resourceGroups/XXXXXXXXXXXX/providers/Microsoft.Compute/virtualMachines/XXXXXXX/providers/microsoft.insights/metrics?timespan=2019-03-31T11:30:00.000Z/2020-09-14T11:00:00.000Z&amp;interval=P1D&amp;metricnames=\Memory\% Committed Bytes In Use&amp;aggregation=Average&amp;api-version=2018-01-01&amp;metricnamespace=azure.vm.windows.guestmetrics
  
  Authentication:  Barer token 
  
  **Response :**
   {
    &quot;cost&quot;: 0,
    &quot;timespan&quot;: &quot;2020-08-14T11:00:00Z/2020-09-14T11:00:00Z&quot;,
    &quot;interval&quot;: &quot;P1D&quot;,
    &quot;value&quot;: [
      {
        &quot;id&quot;: &quot;/subscriptions/xxxxxxxxxxxxxxxxxx/resourceGroups/xxxxxxxxxxxxx/providers/Microsoft.Compute/virtualMachines/xxxxxxx/providers/Microsoft.Insights/metrics/\Memory\% Committed Bytes In Use&quot;,
        &quot;type&quot;: &quot;Microsoft.Insights/metrics&quot;,
        &quot;name&quot;: {
          &quot;value&quot;: &quot;\Memory\% Committed Bytes In Use&quot;,
          &quot;localizedValue&quot;: &quot;\Memory\% Committed Bytes In Use&quot;
        },
        &quot;unit&quot;: &quot;Unspecified&quot;,
        &quot;timeseries&quot;:   [],
        &quot;errorCode&quot;: &quot;Success&quot;
      }
    ],
    &quot;namespace&quot;: &quot;azure.vm.windows.guestmetrics&quot;,
    &quot;resourceregion&quot;: &quot;westus2&quot;
  }
  </code></pre>