共用方式為


AppsOperationsExtensions.BeginCreateOrUpdateAsync Method

Definition

Create a new App or update an exiting App.

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

Parameters

operations
IAppsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serviceName
String

The name of the Service resource.

appName
String

The name of the App resource.

appResource
AppResource

Parameters for the create or update operation

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to