Skip to content

Commit cc11d60

Browse files
Merge pull request #298948 from DanCrank/main
[operator-nexus] Remove restype=container from container-url in examples
2 parents ec7ea85 + d1a2940 commit cc11d60

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

articles/operator-nexus/howto-cluster-managed-identity-user-provided-resources.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
22
title: "Azure Operator Nexus Cluster Support for managed identities and user provided resources"
33
description: Azure Operator Nexus Cluster support for managed identities and user provided resources.
4-
author: eak13
5-
ms.author: ekarandjeff
4+
author: DanCrank
5+
ms.author: danielcrank
66
ms.service: azure-operator-nexus
77
ms.topic: how-to
8-
ms.date: 2/5/2025
8+
ms.date: 4/28/2025
99
ms.custom: template-how-to
1010
---
1111

@@ -132,7 +132,7 @@ az networkcloud cluster create --name "clusterName" -g "resourceGroupName" \
132132
--mi-user-assigned "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myUAMI" \
133133
--command-output-settings identity-type="UserAssignedIdentity" \
134134
identity-resource-id="/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myUAMI" \
135-
container-url="https://myaccount.blob.core.windows.net/mycontainer?restype=container" \
135+
container-url="https://myaccount.blob.core.windows.net/mycontainer" \
136136
--analytics-output-settings analytics-workspace-id="/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/microsoft.operationalInsights/workspaces/logAnalyticsWorkspaceName" \
137137
identity-type="UserAssignedIdentity" \
138138
identity-resource-id="/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myUAMI" \
@@ -151,7 +151,7 @@ az networkcloud cluster create --name "clusterName" -g "resourceGroupName" \
151151
--mi-user-assigned "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myFirstUAMI" "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/mySecondUAMI" \
152152
--command-output-settings identity-type="UserAssignedIdentity" \
153153
identity-resource-id="/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myFirstUAMI" \
154-
container-url="https://myaccount.blob.core.windows.net/mycontainer?restype=container" \
154+
container-url="https://myaccount.blob.core.windows.net/mycontainer" \
155155
--analytics-output-settings analytics-workspace-id="/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/microsoft.operationalInsights/workspaces/logAnalyticsWorkspaceName" \
156156
identity-type="UserAssignedIdentity" \
157157
identity-resource-id="/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myFirstUAMI" \
@@ -201,7 +201,7 @@ Cluster update to assign `mySecondUAMI` to the command output settings.
201201
az networkcloud cluster update --name "clusterName" --resource-group "resourceGroupName" \
202202
--command-output-settings identity-type="UserAssignedIdentity" \
203203
identity-resource-id="/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/mySecondUAMI" \
204-
container-url="https://myaccount.blob.core.windows.net/mycontainer?restype=container"
204+
container-url="https://myaccount.blob.core.windows.net/mycontainer"
205205
```
206206

207207
_Example 3:_ Update a Cluster that already has a SAMI and add a UAMI. The SAMI is retained. Then assign the UAMI to the log analytics output settings (LAW).
@@ -391,7 +391,7 @@ _Example 1:_ Add or update the command output settings (Storage Account) for a C
391391
```azurecli-interactive
392392
az networkcloud cluster update --name "clusterName" --resource-group "resourceGroupName" \
393393
--command-output-settings identity-type="SystemAssignedIdentity" \
394-
container-url="https://myaccount.blob.core.windows.net/mycontainer?restype=container"
394+
container-url="https://myaccount.blob.core.windows.net/mycontainer"
395395
```
396396

397397
_Example 2:_ Add or update the log analytics output settings (LAW) for a Cluster.
@@ -418,7 +418,7 @@ _Example 4:_ This example combines all three resources using a SAMI into one upd
418418
```azurecli-interactive
419419
az networkcloud cluster update --name "clusterName" --resource-group "resourceGroupName" \
420420
--command-output-settings identity-type="SystemAssignedIdentity" \
421-
container-url="https://myaccount.blob.core.windows.net/mycontainer?restype=container"
421+
container-url="https://myaccount.blob.core.windows.net/mycontainer"
422422
--analytics-output-settings analytics-workspace-id="/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/microsoft.operationalInsights/workspaces/logAnalyticsWorkspaceName" \
423423
identity-type="SystemAssignedIdentity" \
424424
--secret-archive-settings identity-type="SystemAssignedIdentity" \

0 commit comments

Comments
 (0)