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

--cluster-name -c

Specify the name of the cluster, if not given it will be same as resource group name.

--resource-group -g

Specify the resource group name. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--parameter

Parameter name.

--section

Section name.

--settings-section --settings-section-description

JSON encoded parameters configuration. Use @{file} to load from a file. For example: [{"section": "NamingService","parameter": "MaxOperationTimeout"}].

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

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

--cluster-name -c

Specify the name of the cluster, if not given it will be same as resource group name.

--resource-group -g

Specify the resource group name. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--parameter

Parameter name.

--section

Section name.

--settings-section --settings-section-description

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].

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--value

Specify the value.