共用方式為


IWebAppsOperations.GetConfigurationSnapshotSlotWithHttpMessagesAsync 方法

定義

取得先前時間點的應用程式組態快照集。

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.AppService.Fluent.Models.SiteConfigResourceInner>> GetConfigurationSnapshotSlotWithHttpMessagesAsync(string resourceGroupName, string name, string snapshotId, string slot, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetConfigurationSnapshotSlotWithHttpMessagesAsync : string * string * string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.AppService.Fluent.Models.SiteConfigResourceInner>>
Public Function GetConfigurationSnapshotSlotWithHttpMessagesAsync (resourceGroupName As String, name As String, snapshotId As String, slot As String, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of SiteConfigResourceInner))

參數

resourceGroupName
String

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

name
String

應用程式的名稱。

snapshotId
String

要讀取之快照集的識別碼。

slot
String

部署位置的名稱。 如果未指定位置,API 會傳回生產位置的組態。

customHeaders
Dictionary<String,List<String>>

將新增至要求的標頭。

cancellationToken
CancellationToken

取消語彙基元。

傳回

例外狀況

當作業傳回不正確狀態碼時擲回

無法還原序列化回應時擲回

當必要參數為 Null 時擲回

備註

的描述:取得先前時間點的應用程式組態快照集。

適用於