Skip to content

Commit dce153c

Browse files
Merge pull request #303085 from sushantjrao/break-glass-setup
Update howto-configure-bring-your-own-storage-network-fabric.md
2 parents 208cbb9 + ce45fb3 commit dce153c

File tree

1 file changed

+29
-2
lines changed

1 file changed

+29
-2
lines changed

articles/operator-nexus/howto-configure-bring-your-own-storage-network-fabric.md

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ Use the `--storage-account-configuration` parameter to define the storage locati
105105

106106
## Step 5: Attaching your own storage account Fabric instance
107107

108-
### Attaching storage account during the creation of Fabric instance
108+
### 5.1 Attaching storage account during the creation of Fabric instance
109109

110110
Use the following command to create a new Fabric instance with BYO storage:
111111

@@ -117,7 +117,7 @@ az networkfabric fabric create --resource-name <fabricname> \
117117
--mi-user-assigned "/subscriptions/<uamisubscriptionid>/resourceGroups/<uamiresourcegroupname>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/<uaminame>"
118118
```
119119

120-
### Updating storage account to an existing Fabric instance
120+
### 5.2 Updating storage account to an existing Fabric instance
121121

122122
For existing deployments, update the Fabric with the required parameters:
123123

@@ -136,4 +136,31 @@ Once updated, commit the changes:
136136
az networkfabric fabric commit-configuration --resource-group <rgname> --resource-name <nfname>
137137
```
138138

139+
### 5.3 Updating UAMI assignments on an existing Fabric instance
139140

141+
To update the list of User-Assigned Managed Identities (UAMIs) on a Network Fabric resource, use the --mi-user-assigned flag with a dictionary syntax. This allows you to add or remove identities.
142+
143+
> [!NOTE]
144+
> To remove a UAMI, it must be explicitly set to null. Omitting it from the dictionary will not remove it.
145+
146+
Example: Add one UAMI and remove another
147+
148+
```azurecli
149+
az networkfabric fabric update \
150+
--resource-name "<nfname>" \
151+
--resource-group "<rg>" \
152+
--mi-user-assigned "{
153+
/subscriptions/<sub-id>/resourceGroups/<rg>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/<new-uami>: {},
154+
/subscriptions/<sub-id>/resourceGroups/<rg>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/<old-uami>: null
155+
}"
156+
```
157+
158+
### Commit configuration changes
159+
160+
After making changes, ensure you run the following to apply configuration:
161+
162+
```azurecli
163+
az networkfabric fabric commit-configuration \
164+
--resource-group <rgname> \
165+
--resource-name <nfname>
166+
```

0 commit comments

Comments
 (0)