Freigeben über


ICloudServicesOperations.BeginCreateOrUpdateWithHttpMessagesAsync Methode

Definition

Erstellen oder Aktualisieren eines Clouddiensts Beachten Sie, dass einige Eigenschaften nur während der Erstellung von Clouddiensten festgelegt werden können.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Compute.Models.CloudService>> BeginCreateOrUpdateWithHttpMessagesAsync (string resourceGroupName, string cloudServiceName, Microsoft.Azure.Management.Compute.Models.CloudService parameters = default, 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.Compute.Models.CloudService * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Compute.Models.CloudService>>
Public Function BeginCreateOrUpdateWithHttpMessagesAsync (resourceGroupName As String, cloudServiceName As String, Optional parameters As CloudService = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of CloudService))

Parameter

resourceGroupName
String

Name der Ressourcengruppe

cloudServiceName
String

Der Name des Clouddiensts.

parameters
CloudService

Das Clouddienstobjekt.

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

Gilt für: