Skip to content

Commit 48ef0d3

Browse files
Merge pull request #247879 from Netyyyy/myao/consumption-helloapp
Update consumption plan for deploy hello world app
2 parents 169e49e + 78892e9 commit 48ef0d3

13 files changed

+244
-187
lines changed

articles/spring-apps/includes/quickstart/clean-up-resources.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ For clarity of structure, a separate markdown file is used to describe how to cl
1515

1616
## 6. Clean up resources
1717

18-
::: zone pivot="sc-consumption-plan,sc-enterprise"
18+
::: zone pivot="sc-enterprise"
1919

2020
Be sure to delete the resources you created in this article when you no longer need them. To delete the resources, just delete the resource group that contains them. You can delete the resource group using the Azure portal. Alternatively, to delete the resource group by using Azure CLI, use the following command:
2121

@@ -25,7 +25,7 @@ az group delete --name ${RESOURCE_GROUP}
2525

2626
::: zone-end
2727

28-
::: zone pivot="sc-standard"
28+
::: zone pivot="sc-consumption-plan,sc-standard"
2929

3030
You can delete the Azure resource group, which includes all the resources in the resource group.
3131

articles/spring-apps/includes/quickstart/deploy-app-with-basic-standard-plan.md

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ ms.author: v-shilichen
44
ms.service: spring-apps
55
ms.custom: event-tier1-build-2022
66
ms.topic: include
7-
ms.date: 08/09/2023
7+
ms.date: 08/31/2023
88
---
99

10-
<!--
10+
<!--
1111
For clarity of structure, a separate markdown file is used to describe how to deploy to Azure Spring Apps with Basic/Standard plan.
1212
1313
[!INCLUDE [deploy-app-with-basic-standard-plan](includes/quickstart/deploy-app-with-basic-standard-plan.md)]
@@ -18,29 +18,29 @@ For clarity of structure, a separate markdown file is used to describe how to de
1818

1919
### [Azure portal](#tab/Azure-portal)
2020

21-
[!INCLUDE [prepare-spring-project](../../includes/quickstart/prepare-spring-project.md)]
21+
[!INCLUDE [prepare-spring-project](prepare-spring-project.md)]
2222

2323
### [Azure Developer CLI](#tab/Azure-Developer-CLI)
2424

2525
Use the following steps to initialize the application from the Azure Developer CLI templates.
2626

27-
1. Open a terminal window, create a new, empty folder, and change directory into it.
27+
1. Open a terminal window, create a new folder, and change directory into it.
2828
1. Use the following command to initialize the project:
2929

30-
```bash
31-
azd init --template spring-guides/gs-spring-boot-for-azure
32-
```
30+
```bash
31+
azd init --template spring-guides/gs-spring-boot-for-azure
32+
```
3333

3434
The following list describes the command interactions:
3535

3636
- **OAuth2 login**: You need to authorize the login to Azure based on the OAuth2 protocol.
3737
- **Please enter a new environment name**: Provide an environment name, which is used as a suffix for the resource group created to hold all Azure resources. This name should be unique within your Azure subscription.
3838

39-
The console outputs messages similar the ones in the following example:
39+
The console outputs messages similar to the following example:
4040

4141
```output
4242
Initializing a new project (azd init)
43-
43+
4444
(✓) Done: Initialized git repository
4545
(✓) Done: Downloading template code to: <your-local-path>
4646
Enter a new environment name: <your-env-name>
@@ -63,11 +63,11 @@ Open your web browser and go to the [Azure portal](https://portal.azure.com/). E
6363

6464
### 3.2. Create an Azure Spring Apps instance
6565

66-
[!INCLUDE [provision-spring-apps](../../includes/quickstart/provision-basic-azure-spring-apps.md)]
66+
[!INCLUDE [provision-spring-apps](provision-basic-azure-spring-apps.md)]
6767

6868
### [Azure Developer CLI](#tab/Azure-Developer-CLI)
6969

70-
1. Use the following command to log in Azure with OAuth2. Ignore this step if you've already logged in.
70+
1. Use the following command to log in to Azure with OAuth2. Ignore this step if you've already logged in.
7171

7272
```bash
7373
azd auth login
@@ -117,10 +117,10 @@ This section provides the steps to deploy your application to Azure Spring Apps.
117117

118118
Use the following steps to deploy using the [Maven plugin for Azure Spring Apps](https://github.com/microsoft/azure-maven-plugins/wiki/Azure-Spring-Apps):
119119

120-
1. Navigate to the *complete* directory and then run the following command to configure the app in Azure Spring Apps:
120+
1. Navigate to the *complete* directory, and then run the following command to configure the app in Azure Spring Apps:
121121

122122
```bash
123-
./mvnw com.microsoft.azure:azure-spring-apps-maven-plugin:1.17.0:config
123+
./mvnw com.microsoft.azure:azure-spring-apps-maven-plugin:1.18.0:config
124124
```
125125

126126
The following list describes the command interactions:
@@ -135,7 +135,7 @@ Use the following steps to deploy using the [Maven plugin for Azure Spring Apps]
135135
1. Use the following command to deploy the app:
136136

137137
```bash
138-
./mvnw com.microsoft.azure:azure-spring-apps-maven-plugin:1.17.0:deploy
138+
./mvnw com.microsoft.azure:azure-spring-apps-maven-plugin:1.18.0:deploy
139139
```
140140

141141
The following list describes the command interactions:
@@ -172,16 +172,15 @@ Use the following steps to package the app, provision the Azure resources requir
172172

173173
```output
174174
Deploying services (azd deploy)
175-
175+
176176
WARNING: Feature 'springapp' is in alpha stage.
177177
To learn more about alpha features and their support, visit https://aka.ms/azd-feature-stages.
178-
178+
179179
...
180-
180+
181181
Deploying service demo (Fetching endpoints for spring app service)
182182
- Endpoint: https://<your-Azure-Spring-Apps-instance-name>-demo.azuremicroservices.io/
183-
184-
183+
185184
SUCCESS: Your application was deployed to Azure in xx minutes xx seconds.
186185
You can view the resources created under the resource group rg-<your-environment-name> in Azure Portal:
187186
https://portal.azure.com/#@/resource/subscriptions/<your-subscription-id>/resourceGroups/rg-<your-environment-name>/overview

articles/spring-apps/includes/quickstart/deploy-app-with-enterprise-plan.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.topic: include
77
ms.date: 08/09/2023
88
---
99

10-
<!--
10+
<!--
1111
For clarity of structure, a separate markdown file is used to describe how to deploy to Azure Spring Apps with Enterprise plan.
1212
1313
[!INCLUDE [deploy-event-driven-app-with-enterprise-plan](includes/quickstart/deploy-app-with-enterprise-plan.md)]
@@ -107,9 +107,9 @@ Use the following steps to create the service instance:
107107
108108
```azurecli
109109
az term accept \
110-
--publisher vmware-inc \
111-
--product azure-spring-cloud-vmware-tanzu-2 \
112-
--plan asa-ent-hr-mtr
110+
--publisher vmware-inc \
111+
--product azure-spring-cloud-vmware-tanzu-2 \
112+
--plan asa-ent-hr-mtr
113113
```
114114

115115
1. Use the following command to create an Azure Spring Apps service instance:

0 commit comments

Comments
 (0)