Condividi tramite


ServiceFabricManagedApplicationTypeResource.UpdateAsync Method

Definition

Updates the tags of an application type resource of a given managed cluster.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedclusters/{clusterName}/applicationTypes/{applicationTypeName}
  • Operation Id: ApplicationTypes_Update
  • Default Api Version: 2024-09-01-preview
  • Resource: ServiceFabricManagedApplicationTypeResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceFabricManagedClusters.ServiceFabricManagedApplicationTypeResource>> UpdateAsync (Azure.ResourceManager.ServiceFabricManagedClusters.Models.ServiceFabricManagedApplicationTypePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.ServiceFabricManagedClusters.Models.ServiceFabricManagedApplicationTypePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceFabricManagedClusters.ServiceFabricManagedApplicationTypeResource>>
override this.UpdateAsync : Azure.ResourceManager.ServiceFabricManagedClusters.Models.ServiceFabricManagedApplicationTypePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceFabricManagedClusters.ServiceFabricManagedApplicationTypeResource>>
Public Overridable Function UpdateAsync (patch As ServiceFabricManagedApplicationTypePatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ServiceFabricManagedApplicationTypeResource))

Parameters

patch
ServiceFabricManagedApplicationTypePatch

The application type resource updated tags.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to