Language

PreparedImageSpecificationResource.GetPreparedImageSpecificationVersion Method

Definition

Get a prepared image specification at a particular version.

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