IWebHostingPlanOperations.GetHistoricalUsageMetricsAsync Method (String, String, WebHostingPlanGetHistoricalUsageMetricsParameters, CancellationToken)

 

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)

Namespace:   Microsoft.WindowsAzure.Management.WebSites
Assembly:  Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)

Function GetHistoricalUsageMetricsAsync (
	webSpaceName As String,
	webHostingPlanName As String,
	parameters As WebHostingPlanGetHistoricalUsageMetricsParameters,
	cancellationToken As CancellationToken
) As Task(Of WebHostingPlanGetHistoricalUsageMetricsResponse)

Parameters

webSpaceName
Type: System.String

The name of the web space.

webHostingPlanName
Type: System.String

The name of the web hosting plan.

parameters
Type: Microsoft.WindowsAzure.Management.WebSites.Models.WebHostingPlanGetHistoricalUsageMetricsParameters

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

cancellationToken
Type: System.Threading.CancellationToken

Cancellation token.

Return Value

Type: System.Threading.Tasks.Task(Of WebHostingPlanGetHistoricalUsageMetricsResponse)

The Get Historical Usage Metrics Web hosting plan operation response.

Return to top
Show: