Share via


AppServiceEnvironmentsOperationsExtensions.ListWorkerPoolInstanceMetricDefinitionsAsync Method

Definition

Get metric definitions for a specific instance of a worker pool of an App Service Environment.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.WebSites.Models.ResourceMetricDefinition>> ListWorkerPoolInstanceMetricDefinitionsAsync (this Microsoft.Azure.Management.WebSites.IAppServiceEnvironmentsOperations operations, string resourceGroupName, string name, string workerPoolName, string instance, System.Threading.CancellationToken cancellationToken = default);
static member ListWorkerPoolInstanceMetricDefinitionsAsync : Microsoft.Azure.Management.WebSites.IAppServiceEnvironmentsOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.WebSites.Models.ResourceMetricDefinition>>
<Extension()>
Public Function ListWorkerPoolInstanceMetricDefinitionsAsync (operations As IAppServiceEnvironmentsOperations, resourceGroupName As String, name As String, workerPoolName As String, instance As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of ResourceMetricDefinition))

Parameters

operations
IAppServiceEnvironmentsOperations

The operations group for this extension method.

resourceGroupName
String

Name of the resource group to which the resource belongs.

name
String

Name of the App Service Environment.

workerPoolName
String

Name of the worker pool.

instance
String

Name of the instance in the worker pool.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Description for Get metric definitions for a specific instance of a worker pool of an App Service Environment.

Applies to