Freigeben über


CloudServicesOperationsExtensions.CreateOrUpdateAsync Methode

Definition

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

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.CloudService> CreateOrUpdateAsync (this Microsoft.Azure.Management.Compute.ICloudServicesOperations operations, string resourceGroupName, string cloudServiceName, Microsoft.Azure.Management.Compute.Models.CloudService parameters = default, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Compute.ICloudServicesOperations * string * string * Microsoft.Azure.Management.Compute.Models.CloudService * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.CloudService>
<Extension()>
Public Function CreateOrUpdateAsync (operations As ICloudServicesOperations, resourceGroupName As String, cloudServiceName As String, Optional parameters As CloudService = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CloudService)

Parameter

operations
ICloudServicesOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Name der Ressourcengruppe

cloudServiceName
String

Der Name des Clouddiensts.

parameters
CloudService

Das Clouddienstobjekt.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: