JobOperationsExtensions.SuspendAsync(IJobOperations, String, Guid) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET