az sql server-arc extension feature-flag
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 feature-flag command. Learn more about extensions.
Command group 'sql server-arc extension' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Manage extension level feature flags.
Commands
Name | Description | Type | Status |
---|---|---|---|
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 feature-flag delete
Command group 'sql server-arc extension feature-flag' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Delete feature flag.
az sql server-arc extension feature-flag delete --name
--resource-group
[--machine-name]
[--sql-server-arc-name]
Examples
Ex 1 - Deleting a feature flag
az sql server-arc extension feature-flag delete --name FeatureName --resource-group MyResourceGroup --machine-name MyArcServerName
Ex 2 - Deleting a feature flag using arc sql instance resource name
az sql server-arc extension feature-flag delete --name FeatureName --resource-group MyResourceGroup --sql-server-arc-name MyArcSqlInstanceName
Required Parameters
Name of the feature.
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.
az sql server-arc extension feature-flag set
Command group 'sql server-arc extension feature-flag' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Set feature flag.
az sql server-arc extension feature-flag set --enable
--name
--resource-group
[--machine-name]
[--sql-server-arc-name]
Examples
Ex 1 - Enabling a feature flag
az sql server-arc extension feature-flag set --name FeatureName --enable true --resource-group MyResourceGroup --machine-name MyArcServerName
Ex 2 - Enabling a feature flag using arc sql instance resource name
az sql server-arc extension feature-flag set --name FeatureName --enable true --resource-group MyResourceGroup --sql-server-arc-name MyArcSqlInstanceName
Ex 3 - Disabling a feature flag
az sql server-arc extension feature-flag set --name FeatureName --enable false --resource-group MyResourceGroup --machine-name MyArcServerName
Ex 4 - Disabling a feature flag using arc sql instance resource name
az sql server-arc extension feature-flag set --name FeatureName --enable false --resource-group MyResourceGroup --sql-server-arc-name MyArcSqlInstanceName
Required Parameters
Set true to enable and false to disable.
Name of the feature.
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.
az sql server-arc extension feature-flag show
Command group 'sql server-arc extension feature-flag' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Show feature flag.
az sql server-arc extension feature-flag show --resource-group
[--machine-name]
[--name]
[--sql-server-arc-name]
Examples
Ex 1 - Displaying feature flag for a feature
az sql server-arc extension feature-flag show --name FeatureName --resource-group MyResourceGroup --machine-name MyArcServerName
Ex 2 - Displaying feature flag for a feature using arc sql instance resource name
az sql server-arc extension feature-flag show --name FeatureName --resource-group MyResourceGroup --sql-server-arc-name MyArcSqlInstanceName
Ex 3 - Displaying all feature flags
az sql server-arc extension feature-flag show --resource-group MyResourceGroup --machine-name MyArcServerName
Ex 4 - Displaying all feature flags using arc sql instance resource name
az sql server-arc extension feature-flag 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 feature.
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.
Azure CLI