Condividi tramite


AgentPoolSnapshotResource.Update Method

Definition

Updates tags on a snapshot.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/snapshots/{resourceName}
  • Operation Id: Snapshots_UpdateTags
  • Default Api Version: 2023-10-01
  • Resource: AgentPoolSnapshotResource
public virtual Azure.Response<Azure.ResourceManager.ContainerService.AgentPoolSnapshotResource> Update (Azure.ResourceManager.ContainerService.Models.ContainerServiceTagsObject containerServiceTagsObject, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.ContainerService.Models.ContainerServiceTagsObject * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ContainerService.AgentPoolSnapshotResource>
override this.Update : Azure.ResourceManager.ContainerService.Models.ContainerServiceTagsObject * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ContainerService.AgentPoolSnapshotResource>
Public Overridable Function Update (containerServiceTagsObject As ContainerServiceTagsObject, Optional cancellationToken As CancellationToken = Nothing) As Response(Of AgentPoolSnapshotResource)

Parameters

containerServiceTagsObject
ContainerServiceTagsObject

Parameters supplied to the Update snapshot Tags operation.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

containerServiceTagsObject is null.

Applies to