Share via


WebAppsOperationsExtensions.UpdateSlotConfigurationNamesAsync Method

Definition

Updates the names of application settings and connection string that remain with the slot during swap operation.

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

Parameters

operations
IWebAppsOperations

The operations group for this extension method.

resourceGroupName
String

Name of the resource group to which the resource belongs.

name
String

Name of the app.

slotConfigNames
SlotConfigNamesResourceInner

Names of application settings and connection strings. See example.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Description for Updates the names of application settings and connection string that remain with the slot during swap operation.

Applies to