WebSiteOperationsExtensions.GetUsageMetrics 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 current usage metrics for a site by issuing an HTTP GET request. The metrics returned include CPU Time, Data In, Data Out, Local Bytes Read, Local Bytes Written, Network Bytes Read, Network Bytes Written, WP Stop Requests, Memory Usage, CPU Time - Minute Limit, and File System Storage. (see http://msdn.microsoft.com/en-us/library/windowsazure/dn166991.aspx for more information)
public static Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteGetUsageMetricsResponse GetUsageMetrics (this Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations operations, string webSpaceName, string webSiteName);
static member GetUsageMetrics : Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations * string * string -> Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteGetUsageMetricsResponse
<Extension()>
Public Function GetUsageMetrics (operations As IWebSiteOperations, webSpaceName As String, webSiteName As String) As WebSiteGetUsageMetricsResponse
Parameters
- operations
- IWebSiteOperations
Reference to the Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations.
- webSpaceName
- String
Required. The name of the web space.
- webSiteName
- String
Required. The name of the web site.
Returns
The Get Usage Metrics Web Site operation response.
Applies to
Azure SDK for .NET