Skip to content

Commit 56806d0

Browse files
Merge pull request #265395 from domainname/domainname-patch-23
[ASA] Fix az cli for Enterprise tier
2 parents ec7b824 + 1b7ed1b commit 56806d0

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

articles/spring-apps/enterprise/how-to-staging-environment.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ To build the application, follow these steps:
7575

7676
1. Create the app in your Azure Spring Apps instance:
7777

78+
### [Standard plan](#tab/standard)
79+
7880
```azurecli
7981
az spring app create \
8082
--resource-group <resource-group-name> \
@@ -84,6 +86,16 @@ To build the application, follow these steps:
8486
--assign-endpoint
8587
```
8688

89+
### [Enterprise plan](#tab/enterprise)
90+
91+
```azurecli
92+
az spring app create \
93+
--resource-group <resource-group-name> \
94+
--service <Azure-Spring-Apps-instance-name> \
95+
--name demo \
96+
--assign-endpoint
97+
```
98+
8799
1. Deploy the app to Azure Spring Apps:
88100

89101
```azurecli
@@ -122,6 +134,8 @@ To build the application, follow these steps:
122134

123135
1. Create the green deployment:
124136

137+
### [Standard plan](#tab/standard)
138+
125139
```azurecli
126140
az spring app deployment create \
127141
--resource-group <resource-group-name> \
@@ -132,6 +146,17 @@ To build the application, follow these steps:
132146
--artifact-path target\hellospring-0.0.1-SNAPSHOT.jar
133147
```
134148

149+
### [Enterprise plan](#tab/enterprise)
150+
151+
```azurecli
152+
az spring app deployment create \
153+
--resource-group <resource-group-name> \
154+
--service <Azure-Spring-Apps-instance-name> \
155+
--app demo \
156+
--name green \
157+
--artifact-path target\hellospring-0.0.1-SNAPSHOT.jar
158+
```
159+
135160
## View apps and deployments
136161

137162
Use the following steps to view deployed apps.

0 commit comments

Comments
 (0)