JobOperationsExtensions::SuspendAsync Method (IJobOperations^, String^, Guid)

 

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

Namespace:   Microsoft.WindowsAzure.Management.Automation
Assembly:  Microsoft.WindowsAzure.Management.Automation (in Microsoft.WindowsAzure.Management.Automation.dll)

public:
[ExtensionAttribute]
static Task<AzureOperationResponse^>^ SuspendAsync(
	IJobOperations^ operations,
	String^ automationAccount,
	Guid jobId
)

Parameters

operations
Type: Microsoft.WindowsAzure.Management.Automation::IJobOperations^

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

automationAccount
Type: System::String^

Required. The automation account name.

jobId
Type: System::Guid

Required. The job id.

Return Value

Type: System.Threading.Tasks::Task<AzureOperationResponse^>^

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

Return to top
Show: