JobOperationsExtensions.Stop(IJobOperations, String, Guid) Method

Definition

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

public static Microsoft.Azure.AzureOperationResponse Stop (this Microsoft.WindowsAzure.Management.Automation.IJobOperations operations, string automationAccount, Guid jobId);
static member Stop : Microsoft.WindowsAzure.Management.Automation.IJobOperations * string * Guid -> Microsoft.Azure.AzureOperationResponse
<Extension()>
Public Function Stop (operations As IJobOperations, automationAccount As String, jobId As Guid) As 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

Microsoft.Azure.AzureOperationResponse

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

Applies to