@@ -54,6 +54,8 @@ You can set up autoscale settings for your application using the Azure portal or
54
54
55
55
### [ Azure portal] ( #tab/azure-portal )
56
56
57
+ Use the following steps to define autoscale settings and rules.
58
+
57
59
1 . Sign in to the Azure portal.
58
60
1 . Select ** Azure Spring Apps** under ** Azure services** .
59
61
1 . In the ** Name** column, select the Azure Spring Apps instance that you want to autoscale.
@@ -68,23 +70,23 @@ You can set up autoscale settings for your application using the Azure portal or
68
70
69
71
### [ Azure CLI] ( #tab/azure-cli )
70
72
71
- The following commands show an example to create an Azure Spring Apps application deployment with an autoscaling rule using the Azure CLI .
73
+ The following commands show how to create an Azure Spring Apps application deployment with an autoscaling rule.
72
74
73
75
``` azurecli-interactive
74
76
az spring app deployment create
75
- --resource-group <resource-group>
76
- --service <azure-spring-apps-service-instance-name>
77
- --app <app-name>
78
- --name <deployment-name>
79
- --secrets "connection-string-secret=<service-bus-connection-string>"
80
- --scale-rule-name azure-servicebus-queue-rule
81
- --scale-rule-type azure-servicebus
82
- --scale-rule-metadata "queueName=my-queue"
83
- "namespace=service-bus-namespace"
84
- "messageCount=5"
85
- --scale-rule-auth "connection=connection-string-secret"
86
- --min-instance-count 0
87
- --min-instance-count 5
77
+ --resource-group <resource-group>
78
+ --service <azure-spring-apps-service-instance-name>
79
+ --app <app-name>
80
+ --name <deployment-name>
81
+ --secrets "connection-string-secret=<service-bus-connection-string>"
82
+ --scale-rule-name azure-servicebus-queue-rule
83
+ --scale-rule-type azure-servicebus
84
+ --scale-rule-metadata "queueName=my-queue"
85
+ "namespace=service-bus-namespace"
86
+ "messageCount=5"
87
+ --scale-rule-auth "connection=connection-string-secret"
88
+ --min-instance-count 0
89
+ --min-instance-count 5
88
90
```
89
91
90
92
---
0 commit comments