Skip to content

Commit dc2a328

Browse files
authored
Update howto-cluster-manager.md
1 parent a9d1899 commit dc2a328

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

articles/operator-nexus/howto-cluster-manager.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -58,22 +58,22 @@ Use the `az networkcloud clustermanager create` command to create a Cluster Mana
5858

5959
```azurecli
6060
az networkcloud clustermanager create \
61-
--name <Cluster Manager name> \
62-
--location <region> \
63-
--analytics-workspace-id <log analytics workspace ID>
64-
--fabric-controller-id <Fabric controller ID associated with this Cluster Manager>
65-
--managed-resource-group-configuration < name=<Managed Resource group Name> location=<Managed Resource group location> >
66-
--tags <key=value key=value>
67-
--resource-group <Resource Group Name>
68-
--subscription <subscription ID>
61+
--name "$CLUSTER_MANAGER_NAME" \
62+
--location "$LOCATION" \
63+
--analytics-workspace-id "$LAW_NAME" \
64+
--fabric-controller-id "$NFC_ID" \
65+
--managed-resource-group-configuration name="$MRG_NAME" location="$MRG_LOCATION" \
66+
--tags $TAG_KEY1="$TAG_VALUE1" $TAG_KEY2="$TAG_VALUE2"
67+
--resource-group "$CLUSTER_MANAGER_RG"
68+
--subscription "$SUB_ID"
6969
```
7070

7171
- **Arguments**
7272
- **--name -n [Required]** - The name of the Cluster Manager.
7373
- **--fabric-controller-id [Required]** - The resource ID of the Network Fabric Controller that is associated with the Cluster Manager.
7474
- **--resource-group -g [Required]** - Name of resource group. You can configure the default resource group using `az configure --defaults group=<name>`.
7575
- **--analytics-workspace-id** - The resource ID of the Log Analytics Workspace that is used for the logs collection
76-
- **--location -l** - Location. Azure region where the Cluster Manager is created. Values from: `az account list -locations`. You can configure the default location using `az configure --defaults location=<location>`.
76+
- **--location -l** - Location. Azure region where the Cluster Manager is created. Values from: `az account list -locations`. You can configure the default location using `az configure --defaults location="$LOCATION"`.
7777
- **--managed-resource-group-configuration** - The configuration of the managed resource group associated with the resource.
7878
- Usage: --managed-resource-group-configuration location=XX name=XX
7979
- location: The region of the managed resource group. If not specified, the region of the
@@ -121,15 +121,15 @@ List and show commands are used to get a list of existing Cluster Managers or th
121121
This command lists the Cluster Managers in the specified Resource group.
122122

123123
```azurecli
124-
az networkcloud clustermanager list --resource-group <Azure Resource group>
124+
az networkcloud clustermanager list --resource-group "$CLUSTER_MANAGER_RG"
125125
```
126126

127127
### List Cluster Managers in subscription
128128

129129
This command lists the Cluster Managers in the specified subscription.
130130

131131
```azurecli
132-
az networkcloud clustermanager list --subscription <subscription ID>
132+
az networkcloud clustermanager list --subscription "$SUB_ID"
133133
```
134134

135135
### Show Cluster Manager properties
@@ -138,9 +138,9 @@ This command lists the properties of the specified Cluster Manager.
138138

139139
```azurecli
140140
az networkcloud clustermanager show \
141-
--name <Cluster Manager name> \
142-
--resource-group <Resource group Name>
143-
--subscription <subscription ID>
141+
--name "$CLUSTER_MANAGER_NAME" \
142+
--resource-group "$CLUSTER_MANAGER_RG" \
143+
--subscription "$SUB_ID"
144144
```
145145

146146
### List/show command arguments
@@ -156,10 +156,10 @@ This command is used to patch properties of the provided Cluster Manager, or upd
156156

157157
```azurecli
158158
az networkcloud clustermanager update \
159-
--name <Cluster Manager name> \
160-
--tags < <key1=value1> <key2=value2>>
161-
--resource-group <Resource group Name>
162-
--subscription <subscription ID>
159+
--name "$CLUSTER_MANAGER_NAME" \
160+
--tags $TAG_KEY1="$TAG_VALUE1" $TAG_KEY2="$TAG_VALUE2" \
161+
--resource-group "$CLUSTER_MANAGER_RG" \
162+
--subscription "$SUB_ID"
163163
```
164164

165165
- **Arguments**
@@ -178,9 +178,9 @@ This command is used to Delete the provided Cluster Manager.
178178
179179
```azurecli
180180
az networkcloud clustermanager delete \
181-
--name <Cluster Manager name> \
182-
--resource-group <Resource Group Name>
183-
--subscription <subscription ID>
181+
--name "$CLUSTER_MANAGER_NAME" \
182+
--resource-group "$CLUSTER_MANAGER_RG" \
183+
--subscription "$SUB_ID"
184184
```
185185

186186
- **Arguments**

0 commit comments

Comments
 (0)