az sql server-arc availability-group
Note
This reference is part of the arcdata extension for the Azure CLI (version 2.3.1 or higher). The extension will automatically install the first time you run an az sql server-arc availability-group command. Learn more about extensions.
This command group is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Manage Availability Groups.
Commands
Name | Description | Type | Status |
---|---|---|---|
az sql server-arc availability-group failover |
Request manual failover of an Availability Group. |
Extension | Preview |
az sql server-arc availability-group failover
Command group 'sql server-arc availability-group' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Request manual failover of an Availability Group.
az sql server-arc availability-group failover --name
--resource-group
--server-name
Examples
Ex 1 - Request manual failover of an Availability Group
az sql server-arc availability-group failover --name myAvailabilityGroupName --resource-group myResourceGroup --server-name myServerName
Required Parameters
Name of the Availability Group.
Name of the resource group where the Arc-enabled SQL Server instance is located.
Name of the failover target Arc-enabled SQL Server.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for