다음을 통해 공유


ServiceFabricManagedServiceResource.Update Method

Definition

Updates the tags of a service resource of a given managed cluster.

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

Parameters

patch
ServiceFabricManagedServicePatch

The service resource updated tags.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to