File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change @@ -180,6 +180,41 @@ az containerapp update
180
180
--yaml <your-yaml-file>
181
181
```
182
182
183
+ The following is an example YAML file you can reference in the above CLI command.
184
+
185
+ ``` yml
186
+ location : northcentralus
187
+ name : multiport-example
188
+ properties :
189
+ configuration :
190
+ activeRevisionsMode : Single
191
+ ingress :
192
+ additionalPortMappings :
193
+ - exposedPort : 21025
194
+ external : true
195
+ targetPort : 1025
196
+ allowInsecure : false
197
+ external : true
198
+ targetPort : 1080
199
+ traffic :
200
+ - latestRevision : true
201
+ weight : 100
202
+ transport : http
203
+ managedEnvironmentId : <env id>
204
+ template :
205
+ containers :
206
+ - image : maildev/maildev
207
+ name : maildev
208
+ resources :
209
+ cpu : 0.25
210
+ memory : 0.5Gi
211
+ scale :
212
+ maxReplicas : 1
213
+ minReplicas : 1
214
+ workloadProfileName : Consumption
215
+ type : Microsoft.App/containerApps
216
+ ` ` `
217
+
183
218
::: zone-end
184
219
185
220
::: zone pivot="azure-portal"
You can’t perform that action at this time.
0 commit comments