IWebHostingPlanOperations.GetHistoricalUsageMetricsAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.WebSites.Models.WebHostingPlanGetHistoricalUsageMetricsResponse> GetHistoricalUsageMetricsAsync (string webSpaceName, string webHostingPlanName, Microsoft.WindowsAzure.Management.WebSites.Models.WebHostingPlanGetHistoricalUsageMetricsParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member GetHistoricalUsageMetricsAsync : string * string * Microsoft.WindowsAzure.Management.WebSites.Models.WebHostingPlanGetHistoricalUsageMetricsParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.WebSites.Models.WebHostingPlanGetHistoricalUsageMetricsResponse>
Public Function GetHistoricalUsageMetricsAsync (webSpaceName As String, webHostingPlanName As String, parameters As WebHostingPlanGetHistoricalUsageMetricsParameters, cancellationToken As CancellationToken) As Task(Of WebHostingPlanGetHistoricalUsageMetricsResponse)
Parameters
- webSpaceName
- String
The name of the web space.
- webHostingPlanName
- String
The name of the web hosting plan.
Parameters supplied to the Get Historical Usage Metrics Web hosting plan operation.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The Get Historical Usage Metrics Web hosting plan operation response.