You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-arc/data/reference/reference-az-arcdata-dc-config.md
+24-22Lines changed: 24 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,16 +23,16 @@ ms.subservice: azure-arc-data
23
23
[az arcdata dc config patch](#az-arcdata-dc-config-patch) | Patch a config file based on a json patch file.
24
24
## az arcdata dc config init
25
25
Initialize a data controller configuration profile that can be used with `az arcdata dc create`. The specific source of the configuration profile can be specified in the arguments.
26
-
```bash
26
+
```azurecli
27
27
az arcdata dc config init
28
28
```
29
29
### Examples
30
30
Guided data controller config init experience - you will receive prompts for needed values.
31
-
```bash
31
+
```azurecli
32
32
az arcdata dc config init
33
33
```
34
34
arcdata dc config init with arguments, creates a configuration profile of aks-dev-test in ./custom.
35
-
```bash
35
+
```azurecli
36
36
az arcdata dc config init --source azure-arc-kubeadm --path custom
37
37
```
38
38
### Global Arguments
@@ -48,16 +48,16 @@ JMESPath query string. See [http://jmespath.org/](http://jmespath.org) for more
48
48
Increase logging verbosity. Use `--debug` for full debug logs.
49
49
## az arcdata dc config list
50
50
List available configuration profile choices for use in `arcdata dc config init`
51
-
```bash
51
+
```azurecli
52
52
az arcdata dc config list
53
53
```
54
54
### Examples
55
55
Shows all available configuration profile names.
56
-
```bash
56
+
```azurecli
57
57
az arcdata dc config list
58
58
```
59
59
Shows json of a specific configuration profile.
60
-
```bash
60
+
```azurecli
61
61
az arcdata dc config list --config-profile aks-dev-test
62
62
```
63
63
### Global Arguments
@@ -73,12 +73,12 @@ JMESPath query string. See [http://jmespath.org/](http://jmespath.org) for more
73
73
Increase logging verbosity. Use `--debug` for full debug logs.
74
74
## az arcdata dc config add
75
75
Add the value at the json path in the config file. All examples below are given in Bash. If using another command line, you may need to escape quotations appropriately. Alternatively, you may use the patch file functionality.
76
-
```bash
76
+
```azurecli
77
77
az arcdata dc config add
78
78
```
79
79
### Examples
80
80
Add data controller storage.
81
-
```bash
81
+
```azurecli
82
82
az arcdata dc config add --path custom/control.json --json-values "spec.storage={"accessMode":"ReadWriteOnce","className":"managed-premium","size":"10Gi"}"
83
83
```
84
84
### Global Arguments
@@ -94,12 +94,12 @@ JMESPath query string. See [http://jmespath.org/](http://jmespath.org) for more
94
94
Increase logging verbosity. Use `--debug` for full debug logs.
95
95
## az arcdata dc config remove
96
96
Remove the value at the json path in the config file. All examples below are given in Bash. If using another command line, you may need to escape quotations appropriately. Alternatively, you may use the patch file functionality.
97
-
```bash
97
+
```azurecli
98
98
az arcdata dc config remove
99
99
```
100
100
### Examples
101
101
Ex 1 - Remove data controller storage.
102
-
```bash
102
+
```azurecli
103
103
az arcdata dc config remove --path custom/control.json --json-path ".spec.storage"
104
104
```
105
105
### Global Arguments
@@ -115,16 +115,16 @@ JMESPath query string. See [http://jmespath.org/](http://jmespath.org) for more
115
115
Increase logging verbosity. Use `--debug` for full debug logs.
116
116
## az arcdata dc config replace
117
117
Replace the value at the json path in the config file. All examples below are given in Bash. If using another command line, you may need to escape quotations appropriately. Alternatively, you may use the patch file functionality.
118
-
```bash
118
+
```azurecli
119
119
az arcdata dc config replace
120
120
```
121
121
### Examples
122
122
Ex 1 - Replace the port of a single endpoint (Data Controller Endpoint).
123
-
```bash
123
+
```azurecli
124
124
az arcdata dc config replace --path custom/control.json --json-values "$.spec.endpoints[?(@.name=="Controller")].port=30080"
125
125
```
126
126
Ex 2 - Replace data controller storage.
127
-
```bash
127
+
```azurecli
128
128
az arcdata dc config replace --path custom/control.json --json-values "spec.storage={"accessMode":"ReadWriteOnce","className":"managed-premium","size":"10Gi"}"
129
129
```
130
130
### Global Arguments
@@ -140,23 +140,25 @@ JMESPath query string. See [http://jmespath.org/](http://jmespath.org) for more
140
140
Increase logging verbosity. Use `--debug` for full debug logs.
141
141
## az arcdata dc config patch
142
142
Patch the config file according to the given patch file. Consult http://jsonpatch.com/ for a better understanding of how the paths should be composed. The replace operation can use conditionals in its path due to the jsonpath library https://jsonpath.com/. All patch json files must start with a key of "patch" that has an array of patches with their corresponding op (add, replace, remove), path, and value. The "remove" op does not require a value, just a path. See the examples below.
143
-
```bash
143
+
```azurecli
144
144
az arcdata dc config patch
145
145
```
146
146
### Examples
147
147
Ex 1 - Replace the port of a single endpoint (Data Controller Endpoint) with patch file.
148
-
```bash
148
+
```azurecli
149
149
az arcdata dc config patch --path custom/control.json --patch ./patch.json
Copy file name to clipboardExpand all lines: articles/azure-arc/data/reference/reference-az-arcdata-dc.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,16 +27,16 @@ ms.subservice: azure-arc-data
27
27
[az arcdata dc upload](#az-arcdata-dc-upload) | Upload exported data file.
28
28
## az arcdata dc create
29
29
Create data controller - kube config is required on your system along with credentials for the monitoring dashboards provided by the following environment variables - AZDATA_LOGSUI_USERNAME and AZDATA_LOGSUI_PASSWORD for Logs Dashboard, and AZDATA_METRICSUI_USERNAME and AZDATA_METRICSUI_PASSWORD for Metrics Dashboard. Alternatively AZDATA_USERNAME and AZDATA_PASSWORD will be used as a fallback if either sets of environment variables are missing.
30
-
```bash
30
+
```azurecli
31
31
az arcdata dc create
32
32
```
33
33
### Examples
34
34
Deploy an indirectly connected data controller.
35
-
```bash
35
+
```azurecli
36
36
az arcdata dc create --name name --k8s-namespace namespace --connectivity-mode indirect --resource-group group --location location --subscription subscription --use-k8s
37
37
```
38
38
Deploy a directly connected data controller.
39
-
```bash
39
+
```azurecli
40
40
az arcdata dc create --name name --connectivity-mode direct --resource-group group --location location --subscription subscription --custom-location custom-location
41
41
```
42
42
### Global Arguments
@@ -52,12 +52,12 @@ JMESPath query string. See [http://jmespath.org/](http://jmespath.org) for more
52
52
Increase logging verbosity. Use `--debug` for full debug logs.
53
53
## az arcdata dc upgrade
54
54
Upgrade data controller to the desired-version specified. If desired-version is not specified, an attempt to upgrade to the latest version will be made. If you are unsure of the desired version, you may use the list-upgrades command to view available versions, or use the --dry-run argument to show which version would be used
55
-
```bash
55
+
```azurecli
56
56
az arcdata dc upgrade
57
57
```
58
58
### Examples
59
59
Data controller upgrade.
60
-
```bash
60
+
```azurecli
61
61
az arcdata dc upgrade --k8s-namespace namespace --use-k8s
62
62
```
63
63
### Global Arguments
@@ -73,12 +73,12 @@ JMESPath query string. See [http://jmespath.org/](http://jmespath.org) for more
73
73
Increase logging verbosity. Use `--debug` for full debug logs.
74
74
## az arcdata dc list-upgrades
75
75
Attempts to list versions that are available in the docker image registry for upgrade. - kube config is required on your system along with the following environment variables ['AZDATA_USERNAME', 'AZDATA_PASSWORD'].
76
-
```bash
76
+
```azurecli
77
77
az arcdata dc list-upgrades
78
78
```
79
79
### Examples
80
80
Data controller upgrade.
81
-
```bash
81
+
```azurecli
82
82
az arcdata dc list-upgrades --k8s-namespace namespace --use-k8s
83
83
```
84
84
### Global Arguments
@@ -94,16 +94,16 @@ JMESPath query string. See [http://jmespath.org/](http://jmespath.org) for more
94
94
Increase logging verbosity. Use `--debug` for full debug logs.
95
95
## az arcdata dc delete
96
96
Delete data controller - kube config is required on your system.
97
-
```bash
97
+
```azurecli
98
98
az arcdata dc delete
99
99
```
100
100
### Examples
101
101
Delete an indirect connected data controller.
102
-
```bash
102
+
```azurecli
103
103
az arcdata dc delete --name name --k8s-namespace namespace --use-k8s
104
104
```
105
105
Delete a directly connected data controller.
106
-
```bash
106
+
```azurecli
107
107
az arcdata dc delete --name name --resource-group resource-group
108
108
```
109
109
### Global Arguments
@@ -119,7 +119,7 @@ JMESPath query string. See [http://jmespath.org/](http://jmespath.org) for more
119
119
Increase logging verbosity. Use `--debug` for full debug logs.
120
120
## az arcdata dc export
121
121
Export metrics, logs or usage to a file.
122
-
```bash
122
+
```azurecli
123
123
az arcdata dc export
124
124
```
125
125
### Global Arguments
@@ -135,7 +135,7 @@ JMESPath query string. See [http://jmespath.org/](http://jmespath.org) for more
135
135
Increase logging verbosity. Use `--debug` for full debug logs.
136
136
## az arcdata dc upload
137
137
Upload data file exported from a data controller to Azure.
Copy file name to clipboardExpand all lines: articles/azure-arc/data/reference/reference-az-arcdata-resource-kind.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,12 +19,12 @@ ms.subservice: azure-arc-data
19
19
[az arcdata resource-kind get](#az-arcdata-resource-kind-get) | Get the Arc resource-kind's template file.
20
20
## az arcdata resource-kind list
21
21
List the available custom resource kinds for Arc that can be defined and created. After listing, you can proceed to getting the template file needed to define or create that custom resource.
22
-
```bash
22
+
```azurecli
23
23
az arcdata resource-kind list
24
24
```
25
25
### Examples
26
26
Example command for listing the available custom resource kinds for Arc.
27
-
```bash
27
+
```azurecli
28
28
az arcdata resource-kind list
29
29
```
30
30
### Global Arguments
@@ -40,12 +40,12 @@ JMESPath query string. See [http://jmespath.org/](http://jmespath.org) for more
40
40
Increase logging verbosity. Use `--debug` for full debug logs.
41
41
## az arcdata resource-kind get
42
42
Get the Arc resource-kind's template file.
43
-
```bash
43
+
```azurecli
44
44
az arcdata resource-kind get
45
45
```
46
46
### Examples
47
47
Example command for getting an Arc resource-kind's CRD template file.
48
-
```bash
48
+
```azurecli
49
49
az arcdata resource-kind get --kind SqlManagedInstance
0 commit comments