Share via


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

 

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
Assembly:  Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)

Syntax

public static Task<WebHostingPlanGetHistoricalUsageMetricsResponse> GetHistoricalUsageMetricsAsync(
    this IWebHostingPlanOperations operations,
    string webSpaceName,
    string webHostingPlanName,
    WebHostingPlanGetHistoricalUsageMetricsParameters parameters
)
public:
[ExtensionAttribute]
static Task<WebHostingPlanGetHistoricalUsageMetricsResponse^>^ GetHistoricalUsageMetricsAsync(
    IWebHostingPlanOperations^ operations,
    String^ webSpaceName,
    String^ webHostingPlanName,
    WebHostingPlanGetHistoricalUsageMetricsParameters^ parameters
)
static member GetHistoricalUsageMetricsAsync : 
        operations:IWebHostingPlanOperations *
        webSpaceName:string *
        webHostingPlanName:string *
        parameters:WebHostingPlanGetHistoricalUsageMetricsParameters -> Task<WebHostingPlanGetHistoricalUsageMetricsResponse>
<ExtensionAttribute>
Public Shared Function GetHistoricalUsageMetricsAsync (
    operations As IWebHostingPlanOperations,
    webSpaceName As String,
    webHostingPlanName As String,
    parameters As WebHostingPlanGetHistoricalUsageMetricsParameters
) As Task(Of WebHostingPlanGetHistoricalUsageMetricsResponse)

Parameters

  • webSpaceName
    Type: System.String

    Required. The name of the web space.

  • webHostingPlanName
    Type: System.String

    Required. 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

WebHostingPlanOperationsExtensions Class
Microsoft.WindowsAzure Namespace

Return to top