def list_usage(resource_group_name, virtual_network_name, custom_headers:nil)
      first_page = list_usage_as_lazy(resource_group_name, virtual_network_name, custom_headers:custom_headers)
      first_page.get_all_items
    end
def list_usage(resource_group_name, virtual_network_name, custom_headers:nil)
      first_page = list_usage_as_lazy(resource_group_name, virtual_network_name, custom_headers:custom_headers)
      first_page.get_all_items
    end
Lists usage stats.

 @param resource_group_name [String] The name of the resource group.
 @param virtual_network_name [String] The name of the virtual network.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [Array<VirtualNetworkUsage>] operation results.