Skip to content

Commit 91cfc95

Browse files
committed
CLI updates
1 parent ca21322 commit 91cfc95

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

articles/iot-central/core/howto-manage-iot-central-from-cli.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ az extension add --name azure-iot
3737

3838
## Create an application
3939

40-
Use the [az iotcentral app create](/cli/azure/iotcentral/app#az-iotcentral-app-create) command to create an IoT Central application in your Azure subscription. For example:
40+
Use the [az iot central app create](/cli/azure/iot/central/app?view=azure-cli-latest#az-iot-central-app-create) command to create an IoT Central application in your Azure subscription. For example:
4141

4242
```azurecli-interactive
4343
# Create a resource group for the IoT Central application
@@ -47,14 +47,14 @@ az group create --location "East US" \
4747

4848
```azurecli-interactive
4949
# Create an IoT Central application
50-
az iotcentral app create \
50+
az iot central app create \
5151
--resource-group "MyIoTCentralResourceGroup" \
5252
--name "myiotcentralapp" --subdomain "mysubdomain" \
5353
--sku ST1 --template "[email protected]" \
5454
--display-name "My Custom Display Name"
5555
```
5656

57-
These commands first create a resource group in the east US region for the application. The following table describes the parameters used with the **az iotcentral app create** command:
57+
These commands first create a resource group in the east US region for the application. The following table describes the parameters used with the **az iot central app create** command:
5858

5959
| Parameter | Description |
6060
| ----------------- | ----------- |
@@ -70,24 +70,24 @@ These commands first create a resource group in the east US region for the appli
7070

7171
## View your applications
7272

73-
Use the [az iotcentral app list](/cli/azure/iotcentral/app#az-iotcentral-app-list) command to list your IoT Central applications and view metadata.
73+
Use the [az iot central app list](/cli/azure/iot/central/app?view=azure-cli-latest#az-iot-central-app-list) command to list your IoT Central applications and view metadata.
7474

7575
## Modify an application
7676

77-
Use the [az iotcentral app update](/cli/azure/iotcentral/app#az-iotcentral-app-update) command to update the metadata of an IoT Central application. For example, to change the display name of your application:
77+
Use the [az iot central app update](/cli/azure/iot/central/app?view=azure-cli-latest#az-iot-central-app-update) command to update the metadata of an IoT Central application. For example, to change the display name of your application:
7878

7979
```azurecli-interactive
80-
az iotcentral app update --name myiotcentralapp \
80+
az iot central app update --name myiotcentralapp \
8181
--resource-group MyIoTCentralResourceGroup \
8282
--set displayName="My new display name"
8383
```
8484

8585
## Remove an application
8686

87-
Use the [az iotcentral app delete](/cli/azure/iotcentral/app#az-iotcentral-app-delete) command to delete an IoT Central application. For example:
87+
Use the [az iot central app delete](/cli/azure/iot/central/app?view=azure-cli-latest#az-iot-central-app-delete) command to delete an IoT Central application. For example:
8888

8989
```azurecli-interactive
90-
az iotcentral app delete --name myiotcentralapp \
90+
az iot central app delete --name myiotcentralapp \
9191
--resource-group MyIoTCentralResourceGroup
9292
```
9393

0 commit comments

Comments
 (0)