Dela via


SapVirtualInstanceResource.StopAsync Method

Definition

Stops the SAP Application, that is the Application server instances and Central Services instance.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/stop
  • Operation Id: SAPVirtualInstances_Stop
  • Default Api Version: 2023-04-01
  • Resource: SapVirtualInstanceResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Models.OperationStatusResult>> StopAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.Workloads.Models.SapStopContent content = default, System.Threading.CancellationToken cancellationToken = default);
abstract member StopAsync : Azure.WaitUntil * Azure.ResourceManager.Workloads.Models.SapStopContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Models.OperationStatusResult>>
override this.StopAsync : Azure.WaitUntil * Azure.ResourceManager.Workloads.Models.SapStopContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Models.OperationStatusResult>>
Public Overridable Function StopAsync (waitUntil As WaitUntil, Optional content As SapStopContent = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of OperationStatusResult))

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

content
SapStopContent

The Virtual Instance for SAP solutions resource stop request body.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to