CmdID / az / az workloads / az workloads sap-database-instance
az workloads sap-database-instance stop
Stops the database instance of the SAP system. Azure CLI extensions reference
4 examples 4 options Its page in the Azure CLI extensions reference
Examples
Stop Database instance of the SAP system: Currently stop action is supported for SAP HANA Database only.
az workloads sap-database-instance stop --sap-virtual-instance-name <vis-name> -g <resource-group-name> -n <db-instance-name>Identify--sap-virtual-instance-nameThe name of the Virtual Instances for SAP solutions resource-gName of resource group.-nDatabase resource name string modeled as parameter for auto generation to work correctly.Stop Database instance of the SAP system using the Azure resource ID of the instance: Currently stop action is supported for SAP HANA Database only.
az workloads sap-database-instance stop --id <resource-id>IdentifyStop Database instance of the SAP system with Virtual Machine: Currently stop action is supported for SAP HANA Database only.
az workloads sap-database-instance stop --sap-virtual-instance-name <vis-name> -g <resource-group-name> -n <db-instance-name> --deallocate-vmIdentify--sap-virtual-instance-nameThe name of the Virtual Instances for SAP solutions resource-gName of resource group.-nDatabase resource name string modeled as parameter for auto generation to work correctly.--deallocate-vmThe boolean value indicates whether to Stop and deallocate the virtual machines along with the SAP instances.Soft Stop Database instance of the SAP system: Currently stop action is supported for SAP HANA Database only.
az workloads sap-database-instance stop --sap-virtual-instance-name <vis-name> -g <resource-group-name> -n <db-instance-name> --soft-stop-timeout-seconds <timeout-in-seconds>Identify--sap-virtual-instance-nameThe name of the Virtual Instances for SAP solutions resource-gName of resource group.-nDatabase resource name string modeled as parameter for auto generation to work correctly.--soft-stop-timeout-secondsThis 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.Options
--database-instance-name, --name, -nDatabase resource name string modeled as parameter for auto generation to work correctly.--deallocate-vmThe boolean value indicates whether to Stop and deallocate the virtual machines along with the SAP instances.--sap-virtual-instance-name, --vis-nameThe name of the Virtual Instances for SAP solutions resource--soft-stop-timeout-secondsThis 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.