Condividi tramite


ManagedClusterSnapshotResource.UpdateAsync Method

Definition

Updates tags on a managed cluster snapshot.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedclustersnapshots/{resourceName}.
  • Operation Id. : ManagedClusterSnapshots_UpdateTags.
  • Default Api Version. : 2026-01-02-preview.
  • Resource. : ManagedClusterSnapshotResource.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerService.ManagedClusterSnapshotResource>> UpdateAsync(Azure.ResourceManager.ContainerService.Models.ContainerServiceTagsObject containerServiceTagsObject, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.ContainerService.Models.ContainerServiceTagsObject * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerService.ManagedClusterSnapshotResource>>
override this.UpdateAsync : Azure.ResourceManager.ContainerService.Models.ContainerServiceTagsObject * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerService.ManagedClusterSnapshotResource>>
Public Overridable Function UpdateAsync (containerServiceTagsObject As ContainerServiceTagsObject, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ManagedClusterSnapshotResource))

Parameters

containerServiceTagsObject
ContainerServiceTagsObject

Parameters supplied to the Update managed cluster snapshot Tags operation.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

containerServiceTagsObject is null.

Applies to