| title | azdata arc dc reference |
|---|---|
| titleSuffix | SQL Server big data clusters |
| description | Reference article for azdata arc dc commands. |
| author | MikeRayMSFT |
| ms.author | mikeray |
| ms.reviewer | seanw |
| ms.date | 09/22/2020 |
| ms.topic | reference |
| ms.prod | sql |
| ms.technology | big-data-cluster |
Applies to [!INCLUDE azure-data-cli-azdata]
The following article provides reference for the sql commands in the azdata tool. For more information about other azdata commands, see azdata reference
| Command | Description |
|---|---|
| azdata arc dc create | Create data controller. |
| azdata arc dc delete | Delete data controller. |
| azdata arc dc endpoint | Endpoint commands. |
| azdata arc dc status | Status commands. |
| azdata arc dc config | Configuration commands. |
| azdata arc dc debug | Debug commands. |
| azdata arc dc export | Export metrics, logs or usage. |
| azdata arc dc upload | Upload exported data file. |
Create data controller - kube config is required on your system along with the following environment variables ['AZDATA_USERNAME', 'AZDATA_PASSWORD'].
azdata arc dc create --namespace -ns
--name -n
--connectivity-mode
--resource-group -g
--location -l
--subscription -s
[--profile-name]
[--path -p]
[--storage-class -sc]Data controller deployment.
azdata arc dc createThe Kubernetes namespace to deploy the data controller into. If it exists already it will be used. If it does not exist, an attempt will be made to create it first.
The name for the data controller.
The connectivity to Azure - indirect or direct - which the data controller should operate in.
The Azure resource group in which the data controller resource should be added.
The Azure location in which the data controller metadata will be stored (e.g. eastus).
The Azure subscription ID in which the data controller resource should be added.
The name of an existing configuration profile. Run azdata arc dc config list to see available options. One of the following: ['azure-arc-aks-premium-storage', 'azure-arc-ake', 'azure-arc-openshift', 'azure-arc-gke', 'azure-arc-aks-default-storage', 'azure-arc-kubeadm', 'azure-arc-eks', 'azure-arc-azure-openshift', 'azure-arc-aks-hci'].
The path to a directory containing a custom configuration profile to use. Run azdata arc dc config init to create a custom configuration profile.
The storage class to be use for all data and logs persistent volumes for all data controller pods that require them.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Output format. Allowed values: json, jsonc, table, tsv. Default: json.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
Delete data controller - kube config is required on your system.
azdata arc dc delete --name -n
--namespace -ns
[--force -f]Data controller deployment.
azdata arc dc deleteData controller name.
The Kubernetes namespace in which the data controller exists.
Force delete data controller.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Output format. Allowed values: json, jsonc, table, tsv. Default: json.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
Export metrics, logs or usage to a file.
azdata arc dc export --type -t
--path -p
[--force -f]The type of data to be exported. Options: logs, metrics, and usage.
The full or relative path including the file name of the file to be exported.
Force create output file. Overwrites any existing file at the same path.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Output format. Allowed values: json, jsonc, table, tsv. Default: json.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
Upload data file exported from a data controller to Azure.
azdata arc dc upload --path -p
The full or relative path including the file name of the file to be uploaded.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Output format. Allowed values: json, jsonc, table, tsv. Default: json.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
For more information about other azdata commands, see azdata reference.
For more information about how to install the azdata tool, see Install azdata.