Dela via


ApplicationsOperationsExtensions.BeginCreateOrUpdateAsync Method

Definition

Creates or updates a Service Fabric managed application resource.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ApplicationResource> BeginCreateOrUpdateAsync (this Microsoft.Azure.Management.ServiceFabricManagedClusters.IApplicationsOperations operations, string resourceGroupName, string clusterName, string applicationName, Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ApplicationResource parameters, System.Threading.CancellationToken cancellationToken = default);
static member BeginCreateOrUpdateAsync : Microsoft.Azure.Management.ServiceFabricManagedClusters.IApplicationsOperations * string * string * string * Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ApplicationResource * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ServiceFabricManagedClusters.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 managed application resource with the specified name.

Applies to