JobOperationsExtensions.Suspend Method (IJobOperations, String, Guid)
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)
Syntax
public static AzureOperationResponse Suspend(
this IJobOperations operations,
string automationAccount,
Guid jobId
)
public:
[ExtensionAttribute]
static AzureOperationResponse^ Suspend(
IJobOperations^ operations,
String^ automationAccount,
Guid jobId
)
static member Suspend :
operations:IJobOperations *
automationAccount:string *
jobId:Guid -> AzureOperationResponse
<ExtensionAttribute>
Public Shared Function Suspend (
operations As IJobOperations,
automationAccount As String,
jobId As Guid
) As AzureOperationResponse
Parameters
operations
Type: Microsoft.WindowsAzure.Management.Automation.IJobOperationsReference to the Microsoft.WindowsAzure.Management.Automation.IJobOperations.
automationAccount
Type: System.StringRequired. The automation account name.
jobId
Type: System.GuidRequired. The job id.
Return Value
Type: Microsoft.Azure.AzureOperationResponse
A standard service response including an HTTP status code and request ID.
See Also
JobOperationsExtensions Class
Microsoft.WindowsAzure.Management.Automation Namespace
Return to top