Stop-AzWorkloadsSapDatabaseInstance cmdlet stops the Database instance of the SAP system represented by the VIS.
Currently stop action is supported for SAP HANA Database only.
In this example, you can see that database can be stopped by passing the DB instance resource name, ResourceGroupName and VIS name as inputs.
Example 2: Stop Database instance of the SAP system
Stop-AzWorkloadsSapDatabaseInstance cmdlet stops the Database instance of the SAP system represented by the VIS.
Currently stop action is supported for SAP HANA Database only.
In this example, you can see that database can be stopped by providing the DB instance Azure resource ID as InputObject to the cmdlet.
Example 3: Stop Database instance of the SAP system and its underlying Virtual Machine
Stop-AzWorkloadsSapDatabaseInstance cmdlet stops the Database instance of the SAP system and its underlying Virtual Machine represented by the VIS.
Currently stop action is supported for SAP HANA Database only.
In this example, you can see that database and its VMs can be stopped by passing the DB instance resource name, ResourceGroupName, VIS name and DeallocateVM parameter as inputs.
Example 1: Soft Stop Database instance of the SAP system
Stop-AzWorkloadsSapDatabaseInstance cmdlet Soft stops the Database instance of the SAP system represented by the VIS.
Currently stop action is supported for SAP HANA Database only.
In this example, you can see that database can be soft stopped by passing the DB instance resource name, ResourceGroupName, VIS name and soft stop timeout seconds as inputs.
The DefaultProfile parameter is not functional.
Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
This parameter defines how long (in seconds) the soft shutdown waits until the RFC/HTTP clients no longer consider the server for calls with load balancing.
Value 0 means that the kernel does not wait, but goes directly into the next shutdown state, i.e.
hard stop.
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
-InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable,
-ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see
about_CommonParameters.
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.