Skip to content

Commit ec6c604

Browse files
Merge branch 'xuyang/sba-doc' of https://github.com/Caoxuyang/azure-docs-pr into aca/spring-boot-admin
2 parents b4268f2 + c14873e commit ec6c604

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

articles/container-apps/java-admin.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ Now that you have an existing environment, you can create your container app and
151151

152152
```azurecli
153153
az role definition create --role-definition '{
154-
"Name": "Java Component Dashboard Access",
154+
"Name": "<ROLE_NAME>",
155155
"IsCustom": true,
156156
"Description": "Can access managed Java Component dashboards in managed environments",
157157
"Actions": [
@@ -180,10 +180,14 @@ Now that you have an existing environment, you can create your container app and
180180
```azurecli
181181
az role assignment create \
182182
--assignee <USER_OR_SERVICE_PRINCIPAL_ID> \
183-
--role "Java Component Dashboard Access" \
183+
--role "<ROLE_NAME>" \
184184
--scope $ENVIRONMENT_ID
185185
```
186186

187+
> [!NOTE]
188+
> <USER_OR_SERVICE_PRINCIPAL_ID> usually should be the identity that you use to access Azure Portal.
189+
> <ROLE_NAME> is the name you assigned in step 1.
190+
187191
1. Get the URL of the Admin for Spring dashboard.
188192

189193
```azurecli

articles/container-apps/java-eureka-server.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ Now that you have an existing environment, you can create your container app and
159159

160160
```azurecli
161161
az role definition create --role-definition '{
162-
"Name": "Java Component Dashboard Access",
162+
"Name": "<YOUR_ROLE_NAME>",
163163
"IsCustom": true,
164164
"Description": "Can access managed Java Component dashboards in managed environments",
165165
"Actions": [
@@ -188,10 +188,14 @@ Now that you have an existing environment, you can create your container app and
188188
```azurecli
189189
az role assignment create \
190190
--assignee <USER_OR_SERVICE_PRINCIPAL_ID> \
191-
--role "Java Component Dashboard Access" \
191+
--role "<ROLE_NAME>" \
192192
--scope $ENVIRONMENT_ID
193193
```
194194

195+
> [!NOTE]
196+
> <USER_OR_SERVICE_PRINCIPAL_ID> usually should be the identity that you use to access Azure Portal.
197+
> <ROLE_NAME> is the name you assigned in step 1.
198+
195199
1. Get the URL of the Eureka Server for Spring dashboard.
196200

197201
```azurecli

0 commit comments

Comments
 (0)