Dela via


ApplicationsOperationsExtensions.BeginCreateOrUpdateAsync Method

Definition

Creates or updates a Service Fabric application resource.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ServiceFabric.Models.ApplicationResource> BeginCreateOrUpdateAsync (this Microsoft.Azure.Management.ServiceFabric.IApplicationsOperations operations, string resourceGroupName, string clusterName, string applicationName, Microsoft.Azure.Management.ServiceFabric.Models.ApplicationResource parameters, System.Threading.CancellationToken cancellationToken = default);
static member BeginCreateOrUpdateAsync : Microsoft.Azure.Management.ServiceFabric.IApplicationsOperations * string * string * string * Microsoft.Azure.Management.ServiceFabric.Models.ApplicationResource * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ServiceFabric.Models.ApplicationResource>
<Extension()>
Public Function BeginCreateOrUpdateAsync (operations As IApplicationsOperations, resourceGroupName As String, clusterName As String, applicationName As String, parameters As ApplicationResource, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ApplicationResource)

Parameters

operations
IApplicationsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

clusterName
String

The name of the cluster resource.

applicationName
String

The name of the application resource.

parameters
ApplicationResource

The application resource.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Create or update a Service Fabric application resource with the specified name.

Applies to