Language

ImageTemplateResource.GetImageTemplateRunOutputAsync Method

Definition

Get the specified run output for the specified image template resource.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ImageBuilder.ImageTemplateRunOutputResource>> GetImageTemplateRunOutputAsync(string runOutputName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetImageTemplateRunOutputAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ImageBuilder.ImageTemplateRunOutputResource>>
override this.GetImageTemplateRunOutputAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ImageBuilder.ImageTemplateRunOutputResource>>
Public Overridable Function GetImageTemplateRunOutputAsync (runOutputName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ImageTemplateRunOutputResource))

Parameters

runOutputName
String

The name of the run output.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

runOutputName is null.

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

Applies to