IWebAppsOperations.UpdateSlotConfigurationNamesWithHttpMessagesAsync Method

Definition

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

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

Parameters

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.

customHeaders
Dictionary<String,List<String>>

The headers that will be added to request.

cancellationToken
CancellationToken

The cancellation token.

Returns

Exceptions

Thrown when the operation returned an invalid status code

Thrown when unable to deserialize the response

Thrown when a required parameter is null

Remarks

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

Applies to