@@ -123,32 +123,32 @@ az containerapp update \
123
123
124
124
` ` ` json
125
125
{
126
- " resources" : {
127
- " properties" : {
128
- " template" : {
129
- " scale" : {
130
- " minReplicas" : 1,
131
- " maxReplicas" : 10,
132
- " rules" : [
133
- {
134
- " name" : " scale-with-azure-monitor-metrics" ,
135
- " custom" : {
136
- " type" : " azure-monitor" ,
137
- " metadata" : {
138
- " metricAggregationInterval" : " 0:1:0" ,
139
- " metricAggregationType" : " Total" ,
140
- " metricName" : " JvmGcCount" ,
141
- " resourceGroupName" : " <your-resource-group>" ,
142
- " resourceURI" : " Microsoft.App/containerapps/<your-app>" ,
143
- " subscriptionId" : " <your-subscription-id>" ,
144
- " targetValue" : " 30" ,
145
- " tenantId" : " <your-tenant-id>"
146
- },
147
- " identity" : " <your-managed-identity-id>"
126
+ " resources" : {
127
+ " properties" : {
128
+ " template" : {
129
+ " scale" : {
130
+ " minReplicas" : 1,
131
+ " maxReplicas" : 10,
132
+ " rules" : [
133
+ {
134
+ " name" : " scale-with-azure-monitor-metrics" ,
135
+ " custom" : {
136
+ " type" : " azure-monitor" ,
137
+ " metadata" : {
138
+ " metricAggregationInterval" : " 0:1:0" ,
139
+ " metricAggregationType" : " Total" ,
140
+ " metricName" : " JvmGcCount" ,
141
+ " resourceGroupName" : " <your-resource-group>" ,
142
+ " resourceURI" : " Microsoft.App/containerapps/<your-app>" ,
143
+ " subscriptionId" : " <your-subscription-id>" ,
144
+ " targetValue" : " 30" ,
145
+ " tenantId" : " <your-tenant-id>"
146
+ },
147
+ " identity" : " <your-managed-identity-id>"
148
+ }
148
149
}
149
- }
150
- ]
151
- }
150
+ ]
151
+ }
152
152
}
153
153
}
154
154
}
0 commit comments