共用方式為


WebSiteSlotResource.StopSlot(CancellationToken) Method

Definition

Description for Stops an app (or deployment slot, if specified).

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/stop
  • Operation Id: WebApps_StopSlot
  • Default Api Version: 2023-12-01
  • Resource: WebSiteSlotResource
public virtual Azure.Response StopSlot (System.Threading.CancellationToken cancellationToken = default);
abstract member StopSlot : System.Threading.CancellationToken -> Azure.Response
override this.StopSlot : System.Threading.CancellationToken -> Azure.Response
Public Overridable Function StopSlot (Optional cancellationToken As CancellationToken = Nothing) As Response

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to