Método TestJobOperationsExtensions.CreateAsync
Create a test job of the 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 operations As ITestJobOperations
Dim automationAccount As String
Dim parameters As TestJobCreateParameters
Dim returnValue As Task(Of TestJobCreateResponse)
returnValue = TestJobOperationsExtensions.CreateAsync(operations, automationAccount, parameters)
Sintaxe
'Declaração
<ExtensionAttribute> _
Public Shared Function CreateAsync ( _
operations As ITestJobOperations, _
automationAccount As String, _
parameters As TestJobCreateParameters _
) As Task(Of TestJobCreateResponse)
[ExtensionAttribute]
public static Task<TestJobCreateResponse> CreateAsync (
ITestJobOperations operations,
string automationAccount,
TestJobCreateParameters parameters
)
[ExtensionAttribute]
public:
static Task<TestJobCreateResponse^>^ CreateAsync (
ITestJobOperations^ operations,
String^ automationAccount,
TestJobCreateParameters^ parameters
)
/** @attribute ExtensionAttribute() */
public static Task<TestJobCreateResponse> CreateAsync (
ITestJobOperations operations,
String automationAccount,
TestJobCreateParameters parameters
)
ExtensionAttribute
public static function CreateAsync (
operations : ITestJobOperations,
automationAccount : String,
parameters : TestJobCreateParameters
) : Task<TestJobCreateResponse>
Parâmetros
- operations
Reference to the Microsoft.WindowsAzure.Management.Automation.ITestJobOperations.
- automationAccount
Required. The automation account name.
- parameters
Required. The parameters supplied to the create test job operation.
Valor de retorno
The response model for the create 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
Classe TestJobOperationsExtensions
Membros TestJobOperationsExtensions
Namespace Microsoft.WindowsAzure.Management.Automation