Language

PreparedImageSpecificationResource.Update 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 Azure.Response<Azure.ResourceManager.ContainerServicePreparedImgSpec.PreparedImageSpecificationResource> Update(Azure.ResourceManager.ContainerServicePreparedImgSpec.Models.PreparedImageSpecificationPatch patch, Azure.ETag? ifMatch = default, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.ContainerServicePreparedImgSpec.Models.PreparedImageSpecificationPatch * Nullable<Azure.ETag> * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ContainerServicePreparedImgSpec.PreparedImageSpecificationResource>
override this.Update : Azure.ResourceManager.ContainerServicePreparedImgSpec.Models.PreparedImageSpecificationPatch * Nullable<Azure.ETag> * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ContainerServicePreparedImgSpec.PreparedImageSpecificationResource>
Public Overridable Function Update (patch As PreparedImageSpecificationPatch, Optional ifMatch As Nullable(Of ETag) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As 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