File tree Expand file tree Collapse file tree 1 file changed +18
-6
lines changed Expand file tree Collapse file tree 1 file changed +18
-6
lines changed Original file line number Diff line number Diff line change @@ -49,8 +49,12 @@ Use the following steps to create a large CPU and memory application using the A
49
49
The following command creates an application with the CPU set to eight core processors and memory set to 32 gigabytes.
50
50
51
51
``` azurecli
52
- az spring app create -g <resource-group-name> -s <service-name> -n <app-name> \
53
- --cpu 8 --memory 32Gi
52
+ az spring app create \
53
+ --resource-group <resource-group-name> \
54
+ --service <Azure-Spring-Apps-service-instance-name> \
55
+ --name <Spring-app-name> \
56
+ --cpu 8 \
57
+ --memory 32Gi
54
58
```
55
59
56
60
---
@@ -74,15 +78,23 @@ Use the following steps to scale up or down a large CPU and memory application.
74
78
The following command scales up an app to have a high CPU and memory values.
75
79
76
80
``` azurecli
77
- az spring app scale -g <resource-group-name> -s <service-name> -n <app-name> \
78
- --cpu 8 --memory 32Gi
81
+ az spring app scale \
82
+ --resource-group <resource-group-name> \
83
+ --service <Azure-Spring-Apps-service-instance-name> \
84
+ --name <Spring-app-name> \
85
+ --cpu 8 \
86
+ --memory 32Gi
79
87
```
80
88
81
89
The following command scales down an app to have a low CPU and memory values.
82
90
83
91
``` azurecli
84
- az spring app scale -g <resource-group-name> -s <service-name> -n <app-name> \
85
- --cpu 1 --memory 2Gi
92
+ az spring app scale \
93
+ --resource-group <resource-group-name> \
94
+ --service <Azure-Spring-Apps-service-instance-name> \
95
+ --name <Spring-app-name> \
96
+ --cpu 1 \
97
+ --memory 2Gi
86
98
```
87
99
88
100
---
You can’t perform that action at this time.
0 commit comments