Share via


JobScheduleOperationsExtensions.DeleteAsync Method

Definition

Overloads

DeleteAsync(IJobScheduleOperations, String, String, Guid)
DeleteAsync(IJobScheduleOperations, String, String, Guid, CancellationToken)

Delete the job schedule identified by job schedule name. http://aka.ms/azureautomationsdk/jobscheduleoperations

DeleteAsync(IJobScheduleOperations, String, String, Guid)

public static System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> DeleteAsync (this Microsoft.Azure.Management.Automation.IJobScheduleOperations operations, string resourceGroupName, string automationAccount, Guid jobScheduleName);
static member DeleteAsync : Microsoft.Azure.Management.Automation.IJobScheduleOperations * string * string * Guid -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
<Extension()>
Public Function DeleteAsync (operations As IJobScheduleOperations, resourceGroupName As String, automationAccount As String, jobScheduleName As Guid) As Task(Of AzureOperationResponse)

Parameters

resourceGroupName
String
automationAccount
String
jobScheduleName
Guid

Returns

Task<Microsoft.Azure.AzureOperationResponse>

Applies to

DeleteAsync(IJobScheduleOperations, String, String, Guid, CancellationToken)

Delete the job schedule identified by job schedule name. http://aka.ms/azureautomationsdk/jobscheduleoperations

public static System.Threading.Tasks.Task DeleteAsync (this Microsoft.Azure.Management.Automation.IJobScheduleOperations operations, string resourceGroupName, string automationAccountName, Guid jobScheduleId, System.Threading.CancellationToken cancellationToken = default);
static member DeleteAsync : Microsoft.Azure.Management.Automation.IJobScheduleOperations * string * string * Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function DeleteAsync (operations As IJobScheduleOperations, resourceGroupName As String, automationAccountName As String, jobScheduleId As Guid, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IJobScheduleOperations

The operations group for this extension method.

resourceGroupName
String

Name of an Azure Resource group.

automationAccountName
String

The name of the automation account.

jobScheduleId
Guid

The job schedule name.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to