IWebSiteOperations.GetUsageMetricsAsync Method (String, String, CancellationToken)

 

Asynchronously retrieves the usage metrics of a website.

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

Task<WebSiteGetUsageMetricsResponse> GetUsageMetricsAsync(
	string webSpaceName,
	string webSiteName,
	CancellationToken cancellationToken
)

Parameters

webSpaceName
Type: System.String

The name of the web space.

webSiteName
Type: System.String

The name of the website.

cancellationToken
Type: System.Threading.CancellationToken

The cancellation token.

Return Value

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

An WebSiteGetUsageMetricsResponse object that contains the usage metrics.

For more information about retrieving usage metrics, see Get Current Usage Metrics for a Site.

Return to top
Show: