az sf cluster setting
Manage a cluster's settings.
Commands
az sf cluster setting remove |
Remove settings from a cluster. |
az sf cluster setting set |
Update the settings of a cluster. |
az sf cluster setting remove
Remove settings from a cluster.
az sf cluster setting remove --cluster-name
--resource-group
[--parameter]
[--section]
[--settings-section]
[--subscription]
Examples
Remove the `MaxFileOperationTimeout` setting from a cluster.
az sf cluster setting remove -g group-name -c cluster1 --section 'NamingService' --parameter 'MaxFileOperationTimeout'
Required Parameters
Specify the name of the cluster, if not given it will be same as resource group name.
Specify the resource group name. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Parameter name.
Section name.
JSON encoded parameters configuration. Use @{file} to load from a file. For example: [{"section": "NamingService","parameter": "MaxOperationTimeout"}].
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
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.
Increase logging verbosity. Use --debug for full debug logs.
az sf cluster setting set
Update the settings of a cluster.
az sf cluster setting set --cluster-name
--resource-group
[--parameter]
[--section]
[--settings-section]
[--subscription]
[--value]
Examples
Set the `MaxFileOperationTimeout` setting for a cluster to 5 seconds.
az sf cluster setting set -g group-name -c cluster1 --section 'NamingService' --parameter 'MaxFileOperationTimeout' --value 5000
Required Parameters
Specify the name of the cluster, if not given it will be same as resource group name.
Specify the resource group name. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Parameter name.
Section name.
JSON encoded parameters configuration. Use @{file} to load from a file. For example: [{"section": "NamingService","parameter": "MaxOperationTimeout","value": 1000},{"section": "MaxFileOperationTimeout","parameter": "Max2","value": 1000].
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Specify the value.
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.
Increase logging verbosity. Use --debug for full debug logs.