共用方式為


ResourceHealthMetadataOperationsExtensions.GetBySiteSlotAsync 方法

定義

取得要用於指定網站的 ResourceHealthMetadata 類別

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

參數

operations
IResourceHealthMetadataOperations

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

resourceGroupName
String

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

name
String

Web 應用程式的名稱

slot
String

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

cancellationToken
CancellationToken

取消語彙基元。

傳回

備註

描述 取得要用於指定網站的 ResourceHealthMetadata 類別

適用於