Language

PreparedImageSpecificationResource.GetPreparedImageSpecificationVersionAsync Method

Definition

Get a prepared image specification at a particular version.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerServicePreparedImgSpec.PreparedImageSpecificationVersionResource>> GetPreparedImageSpecificationVersionAsync(string version, System.Threading.CancellationToken cancellationToken = default);
abstract member GetPreparedImageSpecificationVersionAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerServicePreparedImgSpec.PreparedImageSpecificationVersionResource>>
override this.GetPreparedImageSpecificationVersionAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerServicePreparedImgSpec.PreparedImageSpecificationVersionResource>>
Public Overridable Function GetPreparedImageSpecificationVersionAsync (version As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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