AutomationRunbookResource.GetTestJobAsync(CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieve the test job for the specified runbook.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runbooks/{runbookName}/draft/testJob
- Operation Id: TestJob_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.Models.RunbookTestJob>> GetTestJobAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetTestJobAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.Models.RunbookTestJob>>
override this.GetTestJobAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.Models.RunbookTestJob>>
Public Overridable Function GetTestJobAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of RunbookTestJob))
Parameters
- cancellationToken
- CancellationToken
The cancellation token to use.