Método JobOperationsExtensions.GetRunbookContentAsync
Retrieve the runbook content of the job identified by job id. (see https://aka.ms/azureautomationsdk/joboperations for more information)
Namespace: Microsoft.WindowsAzure.Management.Automation
Assembly: Microsoft.WindowsAzure.Management.Automation (em Microsoft.WindowsAzure.Management.Automation.dll)
Uso
'Uso
Dim operations As IJobOperations
Dim automationAccount As String
Dim jobId As Guid
Dim returnValue As Task(Of JobGetRunbookContentResponse)
returnValue = JobOperationsExtensions.GetRunbookContentAsync(operations, automationAccount, jobId)
Sintaxe
'Declaração
<ExtensionAttribute> _
Public Shared Function GetRunbookContentAsync ( _
operations As IJobOperations, _
automationAccount As String, _
jobId As Guid _
) As Task(Of JobGetRunbookContentResponse)
[ExtensionAttribute]
public static Task<JobGetRunbookContentResponse> GetRunbookContentAsync (
IJobOperations operations,
string automationAccount,
Guid jobId
)
[ExtensionAttribute]
public:
static Task<JobGetRunbookContentResponse^>^ GetRunbookContentAsync (
IJobOperations^ operations,
String^ automationAccount,
Guid jobId
)
/** @attribute ExtensionAttribute() */
public static Task<JobGetRunbookContentResponse> GetRunbookContentAsync (
IJobOperations operations,
String automationAccount,
Guid jobId
)
ExtensionAttribute
public static function GetRunbookContentAsync (
operations : IJobOperations,
automationAccount : String,
jobId : Guid
) : Task<JobGetRunbookContentResponse>
Parâmetros
- operations
Reference to the Microsoft.WindowsAzure.Management.Automation.IJobOperations.
- automationAccount
Required. The automation account name.
- jobId
Required. The job id.
Valor de retorno
The response model for the get runbook content of the 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 JobOperationsExtensions
Membros JobOperationsExtensions
Namespace Microsoft.WindowsAzure.Management.Automation