AppServicePlanResource.RecycleManagedInstanceWorker 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.
Description for Recycles a managed instance worker machine.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Web/serverfarms/{name}/workers/{workerName}/recycleinstance
- Operation Id: AppServicePlans_RecycleManagedInstanceWorker
- Default Api Version: 2025-05-01
public virtual Azure.Response<Azure.ResourceManager.AppService.Models.AppServiceOperation> RecycleManagedInstanceWorker(string workerName, System.Threading.CancellationToken cancellationToken = default);
abstract member RecycleManagedInstanceWorker : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppService.Models.AppServiceOperation>
override this.RecycleManagedInstanceWorker : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppService.Models.AppServiceOperation>
Public Overridable Function RecycleManagedInstanceWorker (workerName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of AppServiceOperation)
Parameters
- workerName
- String
Name of worker machine, which typically starts with RD.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
workerName is an empty string, and was expected to be non-empty.
workerName is null.