JobOperationsExtensions.StopAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Trigger cancellation of a job.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.BackupServices.OperationResponse> StopAsync (this Microsoft.Azure.Management.BackupServices.IJobOperations operations, string resourceGroupName, string resourceName, string name, Microsoft.Azure.Management.BackupServices.Models.CustomRequestHeaders customRequestHeaders);
static member StopAsync : Microsoft.Azure.Management.BackupServices.IJobOperations * string * string * string * Microsoft.Azure.Management.BackupServices.Models.CustomRequestHeaders -> System.Threading.Tasks.Task<Microsoft.Azure.Management.BackupServices.OperationResponse>
<Extension()>
Public Function StopAsync (operations As IJobOperations, resourceGroupName As String, resourceName As String, name As String, customRequestHeaders As CustomRequestHeaders) As Task(Of OperationResponse)
Parameters
- operations
- IJobOperations
Reference to the Microsoft.Azure.Management.BackupServices.IJobOperations.
- resourceGroupName
- String
Required.
- resourceName
- String
Required.
- name
- String
Optional. Name of the job which should be stopped.
- customRequestHeaders
- CustomRequestHeaders
Optional. Custom request headers to make the call.
Returns
The definition of a Operation Response.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET