Share via


WebSiteOperationsExtensions.GetHistoricalUsageMetricsAsync Method (IWebSiteOperations, String, String, WebSiteGetHistoricalUsageMetricsParameters)

 

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<WebSiteGetHistoricalUsageMetricsResponse> GetHistoricalUsageMetricsAsync(
    this IWebSiteOperations operations,
    string webSpaceName,
    string webSiteName,
    WebSiteGetHistoricalUsageMetricsParameters parameters
)
public:
[ExtensionAttribute]
static Task<WebSiteGetHistoricalUsageMetricsResponse^>^ GetHistoricalUsageMetricsAsync(
    IWebSiteOperations^ operations,
    String^ webSpaceName,
    String^ webSiteName,
    WebSiteGetHistoricalUsageMetricsParameters^ parameters
)
static member GetHistoricalUsageMetricsAsync : 
        operations:IWebSiteOperations *
        webSpaceName:string *
        webSiteName:string *
        parameters:WebSiteGetHistoricalUsageMetricsParameters -> Task<WebSiteGetHistoricalUsageMetricsResponse>
<ExtensionAttribute>
Public Shared Function GetHistoricalUsageMetricsAsync (
    operations As IWebSiteOperations,
    webSpaceName As String,
    webSiteName As String,
    parameters As WebSiteGetHistoricalUsageMetricsParameters
) As Task(Of WebSiteGetHistoricalUsageMetricsResponse)

Parameters

  • webSpaceName
    Type: System.String

    Required. The name of the web space.

  • webSiteName
    Type: System.String

    Required. The name of the web site.

Return Value

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

The Get Historical Usage Metrics Web Site operation response.

See Also

WebSiteOperationsExtensions Class
Microsoft.WindowsAzure Namespace

Return to top