共用方式為


ServiceFabricManagedApplicationResource.Update Method

Definition

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedclusters/{clusterName}/applications/{applicationName}
  • Operation Id: Applications_Update
  • Default Api Version: 2024-04-01
  • Resource: ServiceFabricManagedApplicationResource
public virtual Azure.Response<Azure.ResourceManager.ServiceFabricManagedClusters.ServiceFabricManagedApplicationResource> Update (Azure.ResourceManager.ServiceFabricManagedClusters.Models.ServiceFabricManagedApplicationPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.ServiceFabricManagedClusters.Models.ServiceFabricManagedApplicationPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ServiceFabricManagedClusters.ServiceFabricManagedApplicationResource>
override this.Update : Azure.ResourceManager.ServiceFabricManagedClusters.Models.ServiceFabricManagedApplicationPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ServiceFabricManagedClusters.ServiceFabricManagedApplicationResource>
Public Overridable Function Update (patch As ServiceFabricManagedApplicationPatch, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ServiceFabricManagedApplicationResource)

Parameters

patch
ServiceFabricManagedApplicationPatch

The application resource updated tags.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to