Share via


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

  • automationAccount
    Type: System.String

    Required. The automation account name.

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