Language

PreparedImageSpecificationVersionCollection.Get Method

Definition

Get a prepared image specification at a particular version.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/preparedImageSpecifications/{preparedImageSpecificationName}/versions/{version}.
  • Operation Id. : PreparedImageSpecifications_GetVersion.
  • Default Api Version. : 2026-05-02-preview.
public virtual Azure.Response<Azure.ResourceManager.ContainerServicePreparedImgSpec.PreparedImageSpecificationVersionResource> Get(string version, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ContainerServicePreparedImgSpec.PreparedImageSpecificationVersionResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ContainerServicePreparedImgSpec.PreparedImageSpecificationVersionResource>
Public Overridable Function Get (version As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of PreparedImageSpecificationVersionResource)

Parameters

version
String

The version of the Prepared Image Specification.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

version is null.

version is an empty string, and was expected to be non-empty.

Applies to