共用方式為


SapVirtualInstanceResource.Stop 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 Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Models.OperationStatusResult> Stop (Azure.WaitUntil waitUntil, Azure.ResourceManager.Workloads.Models.SapStopContent content = default, System.Threading.CancellationToken cancellationToken = default);
abstract member Stop : Azure.WaitUntil * Azure.ResourceManager.Workloads.Models.SapStopContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Models.OperationStatusResult>
override this.Stop : Azure.WaitUntil * Azure.ResourceManager.Workloads.Models.SapStopContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Models.OperationStatusResult>
Public Overridable Function Stop (waitUntil As WaitUntil, Optional content As SapStopContent = Nothing, Optional cancellationToken As CancellationToken = Nothing) As 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