Método ITestJobOperations.GetAsync
Retrieve the test job for the specified runbook. (see https://aka.ms/azureautomationsdk/testjoboperations for more information)
Namespace: Microsoft.WindowsAzure.Management.Automation
Assembly: Microsoft.WindowsAzure.Management.Automation (em Microsoft.WindowsAzure.Management.Automation.dll)
Uso
'Uso
Dim instance As ITestJobOperations
Dim automationAccount As String
Dim runbookName As String
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of TestJobGetResponse)
returnValue = instance.GetAsync(automationAccount, runbookName, cancellationToken)
Sintaxe
'Declaração
Function GetAsync ( _
automationAccount As String, _
runbookName As String, _
cancellationToken As CancellationToken _
) As Task(Of TestJobGetResponse)
Task<TestJobGetResponse> GetAsync (
string automationAccount,
string runbookName,
CancellationToken cancellationToken
)
Task<TestJobGetResponse^>^ GetAsync (
String^ automationAccount,
String^ runbookName,
CancellationToken cancellationToken
)
Task<TestJobGetResponse> GetAsync (
String automationAccount,
String runbookName,
CancellationToken cancellationToken
)
function GetAsync (
automationAccount : String,
runbookName : String,
cancellationToken : CancellationToken
) : Task<TestJobGetResponse>
Parâmetros
- automationAccount
The automation account name.
- runbookName
The runbook name.
- cancellationToken
Cancellation token.
Valor de retorno
The response model for the get test job operation.
Segurança de thread
Qualquer membro estático público (compartilhado no Visual Basic) desse tipo é thread-safe. Não há garantia de que qualquer membro de instância seja seguro para threads.
Plataformas
Plataformas de desenvolvimento
Windows Vista, Windows 7 e Windows Server 2008
Plataformas de destino
Consulte também
Referência
Interface ITestJobOperations
Membros ITestJobOperations
Namespace Microsoft.WindowsAzure.Management.Automation