Udostępnij za pośrednictwem


JobOperationsExtensions.SuspendAsync(IJobOperations, String, Guid) Method

Definition

Suspend the job identified by jobId. (see http://aka.ms/azureautomationsdk/joboperations for more information)

public static System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> SuspendAsync (this Microsoft.WindowsAzure.Management.Automation.IJobOperations operations, string automationAccount, Guid jobId);
static member SuspendAsync : Microsoft.WindowsAzure.Management.Automation.IJobOperations * string * Guid -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
<Extension()>
Public Function SuspendAsync (operations As IJobOperations, automationAccount As String, jobId As Guid) As Task(Of AzureOperationResponse)

Parameters

operations
IJobOperations

Reference to the Microsoft.WindowsAzure.Management.Automation.IJobOperations.

automationAccount
String

Required. The automation account name.

jobId
Guid

Required. The job id.

Returns

Task<Microsoft.Azure.AzureOperationResponse>

A standard service response including an HTTP status code and request ID.

Applies to