共用方式為


WebAppsOperationsExtensions.UpdateApplicationSettingsSlotAsync 方法

定義

取代應用程式的應用程式設定。

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

參數

operations
IWebAppsOperations

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

resourceGroupName
String

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

name
String

應用程式的名稱。

appSettings
StringDictionaryInner

應用程式的應用程式設定。

slot
String

部署位置的名稱。 如果未指定位置,API 將會更新生產位置的應用程式設定。

cancellationToken
CancellationToken

取消語彙基元。

傳回

備註

描述 取代應用程式的應用程式設定。

適用於