Dela via


IWebAppsOperations.BeginSwapSlotWithProductionWithHttpMessagesAsync Metod

Definition

Växlar två distributionsplatser för en app.

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

Parametrar

resourceGroupName
String

Namnet på resursgruppen som resursen tillhör.

name
String

Namnet på appen.

slotSwapEntity
CsmSlotEntity

JSON-objekt som innehåller målplatsens namn. Se exempel.

customHeaders
Dictionary<String,List<String>>

Rubrikerna som ska läggas till i begäran.

cancellationToken
CancellationToken

Annulleringstoken.

Returer

Undantag

Genereras när åtgärden returnerade en ogiltig statuskod

Genereras när åtgärden returnerade en ogiltig statuskod

Genereras när en obligatorisk parameter är null

Kommentarer

Beskrivning för Växlar två distributionsplatser för en app.

Gäller för