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.WebSites.Models.SlotConfigNamesResource> UpdateSlotConfigurationNamesAsync (this Microsoft.Azure.Management.WebSites.IWebAppsOperations operations, string resourceGroupName, string name, Microsoft.Azure.Management.WebSites.Models.SlotConfigNamesResource slotConfigNames, System.Threading.CancellationToken cancellationToken = default);
static member UpdateSlotConfigurationNamesAsync : Microsoft.Azure.Management.WebSites.IWebAppsOperations * string * string * Microsoft.Azure.Management.WebSites.Models.SlotConfigNamesResource * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.SlotConfigNamesResource>
<Extension()>
Public Function UpdateSlotConfigurationNamesAsync (operations As IWebAppsOperations, resourceGroupName As String, name As String, slotConfigNames As SlotConfigNamesResource, Optional cancellationToken As CancellationToken = Nothing) As Task(Of SlotConfigNamesResource)

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
SlotConfigNamesResource

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