JobOperationsExtensions.SuspendAsync Method
Suspend the job identified by jobId. (see https://aka.ms/azureautomationsdk/joboperations for more information)
Namespace: Microsoft.WindowsAzure.Management.Automation
Assembly: Microsoft.WindowsAzure.Management.Automation (in Microsoft.WindowsAzure.Management.Automation.dll)
Usage
'Usage
Dim operations As IJobOperations
Dim automationAccount As String
Dim jobId As Guid
Dim returnValue As Task(Of AzureOperationResponse)
returnValue = JobOperationsExtensions.SuspendAsync(operations, automationAccount, jobId)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function SuspendAsync ( _
operations As IJobOperations, _
automationAccount As String, _
jobId As Guid _
) As Task(Of AzureOperationResponse)
[ExtensionAttribute]
public static Task<AzureOperationResponse> SuspendAsync (
IJobOperations operations,
string automationAccount,
Guid jobId
)
[ExtensionAttribute]
public:
static Task<AzureOperationResponse^>^ SuspendAsync (
IJobOperations^ operations,
String^ automationAccount,
Guid jobId
)
/** @attribute ExtensionAttribute() */
public static Task<AzureOperationResponse> SuspendAsync (
IJobOperations operations,
String automationAccount,
Guid jobId
)
ExtensionAttribute
public static function SuspendAsync (
operations : IJobOperations,
automationAccount : String,
jobId : Guid
) : Task<AzureOperationResponse>
Parameters
- operations
Reference to the Microsoft.WindowsAzure.Management.Automation.IJobOperations.
- automationAccount
Required. The automation account name.
- jobId
Required. The job id.
Return Value
A standard service response including an HTTP status code and request ID.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012
Target Platforms
See Also
Reference
JobOperationsExtensions Class
JobOperationsExtensions Members
Microsoft.WindowsAzure.Management.Automation Namespace