共用方式為


ResourceHealthMetadataOperationsExtensions.ListBySiteSlotAsync 方法

定義

取得 ResourceHealthMetadata 的類別,以作為集合使用給指定的網站

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

參數

operations
IResourceHealthMetadataOperations

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

resourceGroupName
String

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

name
String

Web 應用程式的名稱。

slot
String

Web 應用程式位置的名稱。 如果未指定,則預設為生產位置。

cancellationToken
CancellationToken

取消語彙基元。

傳回

備註

描述 取得要用於指定網站做為集合的 ResourceHealthMetadata 類別

適用於