Freigeben über


ServicesOperationsExtensions.UpdateAsync Methode

Definition

Vorgang zum Aktualisieren eines beendenden Diensts.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.AppPlatform.Models.ServiceResource> UpdateAsync(this Microsoft.Azure.Management.AppPlatform.IServicesOperations operations, string resourceGroupName, string serviceName, Microsoft.Azure.Management.AppPlatform.Models.ServiceResource resource, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.AppPlatform.IServicesOperations * string * string * Microsoft.Azure.Management.AppPlatform.Models.ServiceResource * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.AppPlatform.Models.ServiceResource>
<Extension()>
Public Function UpdateAsync (operations As IServicesOperations, resourceGroupName As String, serviceName As String, resource As ServiceResource, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ServiceResource)

Parameter

operations
IServicesOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe, die die Ressource enthält. Dieser Wert kann über die Azure-Ressourcen-Manager-API oder das Portal abgerufen werden.

serviceName
String

Der Name der Dienstressource.

resource
ServiceResource

Parameter für den Updatevorgang

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: