Freigeben über


IAppServicePlansOperations.BeginCreateOrUpdateWithHttpMessagesAsync Methode

Definition

Erstellt oder aktualisiert einen App Service-Plan.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.WebSites.Models.AppServicePlan>> BeginCreateOrUpdateWithHttpMessagesAsync (string resourceGroupName, string name, Microsoft.Azure.Management.WebSites.Models.AppServicePlan appServicePlan, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member BeginCreateOrUpdateWithHttpMessagesAsync : string * string * Microsoft.Azure.Management.WebSites.Models.AppServicePlan * 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.AppServicePlan>>
Public Function BeginCreateOrUpdateWithHttpMessagesAsync (resourceGroupName As String, name As String, appServicePlan As AppServicePlan, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of AppServicePlan))

Parameter

resourceGroupName
String

Name der Ressourcengruppe, zu der die Ressource gehört.

name
String

Name des App Service-Plans.

appServicePlan
AppServicePlan

Details zum App Service-Plan.

customHeaders
Dictionary<String,List<String>>

Die Header, die der Anforderung hinzugefügt werden.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Ausnahmen

Wird ausgelöst, wenn der Vorgang einen ungültigen status Code zurückgegeben hat.

Wird ausgelöst, wenn die Antwort nicht deserialisiert werden kann

Wird ausgelöst, wenn ein erforderlicher Parameter NULL ist

Hinweise

Beschreibung für Erstellt oder aktualisiert einen App Service-Plan.

Gilt für: