Share via


JobOperationsExtensions.Suspend Method

Definition

Overloads

Suspend(IJobOperations, String, String, Guid)
Suspend(IJobOperations, String, String, String, String)

Suspend the job identified by job name. http://aka.ms/azureautomationsdk/joboperations

Suspend(IJobOperations, String, String, Guid)

public static Microsoft.Azure.AzureOperationResponse Suspend (this Microsoft.Azure.Management.Automation.IJobOperations operations, string resourceGroupName, string automationAccount, Guid jobId);
static member Suspend : Microsoft.Azure.Management.Automation.IJobOperations * string * string * Guid -> Microsoft.Azure.AzureOperationResponse
<Extension()>
Public Function Suspend (operations As IJobOperations, resourceGroupName As String, automationAccount As String, jobId As Guid) As AzureOperationResponse

Parameters

operations
IJobOperations
resourceGroupName
String
automationAccount
String
jobId
Guid

Returns

Microsoft.Azure.AzureOperationResponse

Applies to

Suspend(IJobOperations, String, String, String, String)

Suspend the job identified by job name. http://aka.ms/azureautomationsdk/joboperations

public static void Suspend (this Microsoft.Azure.Management.Automation.IJobOperations operations, string resourceGroupName, string automationAccountName, string jobName, string clientRequestId = default);
static member Suspend : Microsoft.Azure.Management.Automation.IJobOperations * string * string * string * string -> unit
<Extension()>
Public Sub Suspend (operations As IJobOperations, resourceGroupName As String, automationAccountName As String, jobName As String, Optional clientRequestId As String = Nothing)

Parameters

operations
IJobOperations

The operations group for this extension method.

resourceGroupName
String

Name of an Azure Resource group.

automationAccountName
String

The name of the automation account.

jobName
String

The job name.

clientRequestId
String

Identifies this specific client request.

Applies to