共用方式為


ContainerAppsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Create or update a 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)

Parameters

operations
IContainerAppsOperations

The operations group for this extension method.

resourceGroupName
String

Name of the resource group to which the resource belongs.

name
String

Name of the Container App.

containerAppEnvelope
ContainerApp
cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Description for Create or update a Container App.

Applies to