Dela via


ApplicationsOperationsExtensions.UpdateAsync Method

Definition

Updates a Service Fabric application resource.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ServiceFabric.Models.ApplicationResource> UpdateAsync (this Microsoft.Azure.Management.ServiceFabric.IApplicationsOperations operations, string resourceGroupName, string clusterName, string applicationName, Microsoft.Azure.Management.ServiceFabric.Models.ApplicationResourceUpdate parameters, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.ServiceFabric.IApplicationsOperations * string * string * string * Microsoft.Azure.Management.ServiceFabric.Models.ApplicationResourceUpdate * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ServiceFabric.Models.ApplicationResource>
<Extension()>
Public Function UpdateAsync (operations As IApplicationsOperations, resourceGroupName As String, clusterName As String, applicationName As String, parameters As ApplicationResourceUpdate, 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
ApplicationResourceUpdate

The application resource for patch operations.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Update a Service Fabric application resource with the specified name.

Applies to