共用方式為


AppServiceEnvironmentsOperationsExtensions.ListWebWorkerMetricDefinitionsAsync 方法

定義

取得App Service 環境背景工作集區的計量定義。

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

參數

operations
IAppServiceEnvironmentsOperations

這個擴充方法的作業群組。

resourceGroupName
String

資源所屬資源群組的名稱。

name
String

App Service 環境的名稱。

workerPoolName
String

背景工作集區的名稱。

cancellationToken
CancellationToken

取消語彙基元。

傳回

備註

取得App Service 環境背景工作集區之計量定義的描述。

適用於