def list_with_http_info(resource_uri, metricnamespace:nil, custom_headers:nil)
      list_async(resource_uri, metricnamespace:metricnamespace, custom_headers:custom_headers).value!
    end
def list_with_http_info(resource_uri, metricnamespace:nil, custom_headers:nil)
      list_async(resource_uri, metricnamespace:metricnamespace, custom_headers:custom_headers).value!
    end
Lists the metric definitions for the resource.

 @param resource_uri [String] The identifier of the resource.
 @param metricnamespace [String] Metric namespace to query metric definitions
 for.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [MsRestAzure::AzureOperationResponse] HTTP response information.