WebAppsOperationsExtensions.DeleteInstanceProcessAsync(IWebAppsOperations, String, String, String, String, CancellationToken) Method

Definition

Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site.

public static System.Threading.Tasks.Task DeleteInstanceProcessAsync (this Microsoft.Azure.Management.WebSites.IWebAppsOperations operations, string resourceGroupName, string name, string processId, string instanceId, System.Threading.CancellationToken cancellationToken = null);
static member DeleteInstanceProcessAsync : Microsoft.Azure.Management.WebSites.IWebAppsOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task

Parameters

operations
IWebAppsOperations

The operations group for this extension method.

resourceGroupName
System.String

Name of the resource group to which the resource belongs.

name
System.String

Site name.

processId
System.String

PID.

instanceId
System.String

ID of a specific scaled-out instance. This is the value of the name property in the JSON response from "GET api/sites/{siteName}/instances".

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task

Remarks

Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site.

Applies to