WebAppsOperationsExtensions.UpdateSlotConfigurationNamesAsync(IWebAppsOperations, String, String, SlotConfigNamesResourceInner, CancellationToken) 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 = null);
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>

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

Task<SlotConfigNamesResourceInner>

Remarks

Updates the names of application settings and connection string that remain

with the slot during swap operation.

Applies to