Language

PreparedImageSpecificationResource.UpdateAsync Method

Definition

Update the tags of a prepared image specification.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/preparedImageSpecifications/{preparedImageSpecificationName}.
  • Operation Id. : PreparedImageSpecifications_Update.
  • Default Api Version. : 2026-05-02-preview.
  • Resource. : PreparedImageSpecificationResource.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerServicePreparedImgSpec.PreparedImageSpecificationResource>> UpdateAsync(Azure.ResourceManager.ContainerServicePreparedImgSpec.Models.PreparedImageSpecificationPatch patch, Azure.ETag? ifMatch = default, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.ContainerServicePreparedImgSpec.Models.PreparedImageSpecificationPatch * Nullable<Azure.ETag> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerServicePreparedImgSpec.PreparedImageSpecificationResource>>
override this.UpdateAsync : Azure.ResourceManager.ContainerServicePreparedImgSpec.Models.PreparedImageSpecificationPatch * Nullable<Azure.ETag> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerServicePreparedImgSpec.PreparedImageSpecificationResource>>
Public Overridable Function UpdateAsync (patch As PreparedImageSpecificationPatch, Optional ifMatch As Nullable(Of ETag) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of PreparedImageSpecificationResource))

Parameters

patch
PreparedImageSpecificationPatch

The resource properties to be updated.

ifMatch
Nullable<ETag>

The request should only proceed if the targeted resource's etag matches the value provided.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to