Freigeben über


ContainerAppsOperationsExtensions.CreateOrUpdateAsync Methode

Definition

Erstellen oder Aktualisieren einer Container-App

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.ContainerApp> CreateOrUpdateAsync (this Microsoft.Azure.Management.WebSites.IContainerAppsOperations operations, string resourceGroupName, string name, Microsoft.Azure.Management.WebSites.Models.ContainerApp containerAppEnvelope, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.WebSites.IContainerAppsOperations * string * string * Microsoft.Azure.Management.WebSites.Models.ContainerApp * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.ContainerApp>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IContainerAppsOperations, resourceGroupName As String, name As String, containerAppEnvelope As ContainerApp, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ContainerApp)

Parameter

operations
IContainerAppsOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

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

name
String

Name der Container-App.

containerAppEnvelope
ContainerApp
cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Hinweise

Beschreibung für Erstellen oder Aktualisieren einer Container-App.

Gilt für: