az sql server-arc extension
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 extension command. Learn more about extensions.
This command group is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Manage extension level properties.
Commands
Name | Description | Type | Status |
---|---|---|---|
az sql server-arc extension feature-flag |
Manage extension level feature flags. |
Extension | Preview |
az sql server-arc extension feature-flag delete |
Delete feature flag. |
Extension | Preview |
az sql server-arc extension feature-flag set |
Set feature flag. |
Extension | Preview |
az sql server-arc extension feature-flag show |
Show feature flag. |
Extension | Preview |
az sql server-arc extension set |
Update common host properties. |
Extension | Preview |
az sql server-arc extension show |
Show host properties. |
Extension | Preview |
az sql server-arc extension set
Command group 'sql server-arc extension' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Update common host properties.
az sql server-arc extension set --resource-group
[--esu-enabled]
[--license-type]
[--machine-name]
[--skip-instances]
[--sql-server-arc-name]
Examples
Ex 1 - Updating LicenseType value
az sql server-arc extension set --resource-group MyResourceGroup --machine-name MyArcServerName --license-type LicenseTypeValue
Ex 2 - Updating status of extended security updates
az sql server-arc extension set --resource-group MyResourceGroup --machine-name MyArcServerName --esu-enabled True
Ex 2 - Updating list of excluded sql instances
az sql server-arc extension set --resource-group MyResourceGroup --machine-name MyArcServerName --skip-instances "InstanceName1, InstanceName2"
Required Parameters
Name of the resource group where the connected machine is located.
Optional Parameters
Status of extended security updates.
License type of the arc server.
Name of the connected machine.
Comma separated string of instances that are excluded from arc onboarding operations.
Name of the sql server instance.
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.
az sql server-arc extension show
Command group 'sql server-arc extension' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Show host properties.
az sql server-arc extension show --resource-group
[--machine-name]
[--sql-server-arc-name]
Examples
Ex 1 - Displaying host level properties
az sql server-arc extension show --resource-group MyResourceGroup --machine-name MyArcServerName
Ex 2 - Displaying host level properties using Arc Sql instance resource name
az sql server-arc extension show --resource-group MyResourceGroup --sql-server-arc-name MyArcSqlInstanceName
Required Parameters
Name of the resource group where the connected machine is located.
Optional Parameters
Name of the connected machine.
Name of the sql server instance.
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.