共用方式為


AutomationRunbookResource.GetTestJobStreamsAsync Method

Definition

Retrieve a list of test job streams identified by runbook name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runbooks/{runbookName}/draft/testJob/streams
  • Operation Id: TestJobStreams_ListByTestJob
public virtual Azure.AsyncPageable<Azure.ResourceManager.Automation.Models.AutomationJobStream> GetTestJobStreamsAsync (string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetTestJobStreamsAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Automation.Models.AutomationJobStream>
override this.GetTestJobStreamsAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Automation.Models.AutomationJobStream>
Public Overridable Function GetTestJobStreamsAsync (Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of AutomationJobStream)

Parameters

filter
String

The filter to apply on the operation.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of AutomationJobStream that may take multiple service requests to iterate over.

Applies to