Share via


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

 

You can retrieve historical usage metrics for a site by issuing an HTTP GET request. (see https://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)

Syntax

Task<WebHostingPlanGetHistoricalUsageMetricsResponse> GetHistoricalUsageMetricsAsync(
    string webSpaceName,
    string webHostingPlanName,
    WebHostingPlanGetHistoricalUsageMetricsParameters parameters,
    CancellationToken cancellationToken
)
Task<WebHostingPlanGetHistoricalUsageMetricsResponse^>^ GetHistoricalUsageMetricsAsync(
    String^ webSpaceName,
    String^ webHostingPlanName,
    WebHostingPlanGetHistoricalUsageMetricsParameters^ parameters,
    CancellationToken cancellationToken
)
abstract GetHistoricalUsageMetricsAsync : 
        webSpaceName:string *
        webHostingPlanName:string *
        parameters:WebHostingPlanGetHistoricalUsageMetricsParameters *
        cancellationToken:CancellationToken -> Task<WebHostingPlanGetHistoricalUsageMetricsResponse>
Function GetHistoricalUsageMetricsAsync (
    webSpaceName As String,
    webHostingPlanName As String,
    parameters As WebHostingPlanGetHistoricalUsageMetricsParameters,
    cancellationToken As CancellationToken
) As Task(Of WebHostingPlanGetHistoricalUsageMetricsResponse)

Parameters

  • webHostingPlanName
    Type: System.String

    The name of the web hosting plan.

Return Value

Type: System.Threading.Tasks.Task<WebHostingPlanGetHistoricalUsageMetricsResponse>

The Get Historical Usage Metrics Web hosting plan operation response.

See Also

IWebHostingPlanOperations Interface
Microsoft.WindowsAzure.Management.WebSites Namespace

Return to top