WebHostingPlanOperationsExtensions.GetHistoricalUsageMetricsAsync Method

Definition

You can retrieve historical usage metrics for a site by issuing an HTTP GET request. (see http://msdn.microsoft.com/en-us/library/windowsazure/dn166964.aspx for more information)

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.WebSites.Models.WebHostingPlanGetHistoricalUsageMetricsResponse> GetHistoricalUsageMetricsAsync (this Microsoft.WindowsAzure.Management.WebSites.IWebHostingPlanOperations operations, string webSpaceName, string webHostingPlanName, Microsoft.WindowsAzure.Management.WebSites.Models.WebHostingPlanGetHistoricalUsageMetricsParameters parameters);
static member GetHistoricalUsageMetricsAsync : Microsoft.WindowsAzure.Management.WebSites.IWebHostingPlanOperations * string * string * Microsoft.WindowsAzure.Management.WebSites.Models.WebHostingPlanGetHistoricalUsageMetricsParameters -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.WebSites.Models.WebHostingPlanGetHistoricalUsageMetricsResponse>
<Extension()>
Public Function GetHistoricalUsageMetricsAsync (operations As IWebHostingPlanOperations, webSpaceName As String, webHostingPlanName As String, parameters As WebHostingPlanGetHistoricalUsageMetricsParameters) As Task(Of WebHostingPlanGetHistoricalUsageMetricsResponse)

Parameters

operations
IWebHostingPlanOperations

Reference to the Microsoft.WindowsAzure.Management.WebSites.IWebHostingPlanOperations.

webSpaceName
String

Required. The name of the web space.

webHostingPlanName
String

Required. The name of the web hosting plan.

parameters
WebHostingPlanGetHistoricalUsageMetricsParameters

Required. Parameters supplied to the Get Historical Usage Metrics Web hosting plan operation.

Returns

The Get Historical Usage Metrics Web hosting plan operation response.

Applies to