PreparedImageSpecificationResource.UpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The resource properties to be updated.
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.