|
189 | 189 | az containerapp revision deactivate --revision-name MyContainerappRevision -g MyResourceGroup |
190 | 190 | """ |
191 | 191 |
|
| 192 | +helps['containerapp revision mode set'] = """ |
| 193 | + type: command |
| 194 | + short-summary: Set the revision mode of a Containerapp. |
| 195 | + examples: |
| 196 | + - name: Set the revision mode of a Containerapp. |
| 197 | + text: | |
| 198 | + az containerapp revision set --mode Single -n MyContainerapp -g MyResourceGroup |
| 199 | +""" |
| 200 | + |
| 201 | +helps['containerapp revision copy'] = """ |
| 202 | + type: command |
| 203 | + short-summary: Create a revision based on a previous revision. |
| 204 | + examples: |
| 205 | + - name: Create a revision based on a previous revision. |
| 206 | + text: | |
| 207 | + az containerapp revision copy -n MyContainerapp -g MyResourceGroup --cpu 0.75 --memory 1.5Gi |
| 208 | +""" |
| 209 | + |
192 | 210 | # Environment Commands |
193 | 211 | helps['containerapp env'] = """ |
194 | 212 | type: group |
|
244 | 262 | text: | |
245 | 263 | az containerapp env list -g MyResourceGroup |
246 | 264 | """ |
| 265 | + |
| 266 | +# Ingress Commands |
| 267 | +helps['containerapp ingress'] = """ |
| 268 | + type: group |
| 269 | + short-summary: Commands to manage Containerapp ingress. |
| 270 | +""" |
| 271 | + |
| 272 | +helps['containerapp ingress traffic'] = """ |
| 273 | + type: subgroup |
| 274 | + short-summary: Commands to manage Containerapp ingress traffic. |
| 275 | +""" |
| 276 | + |
| 277 | +helps['containerapp ingress show'] = """ |
| 278 | + type: command |
| 279 | + short-summary: Show details of a Containerapp ingress. |
| 280 | + examples: |
| 281 | + - name: Show the details of a Containerapp ingress. |
| 282 | + text: | |
| 283 | + az containerapp ingress show -n MyContainerapp -g MyResourceGroup |
| 284 | +""" |
| 285 | + |
| 286 | +helps['containerapp ingress enable'] = """ |
| 287 | + type: command |
| 288 | + short-summary: Enable Containerapp ingress. |
| 289 | + examples: |
| 290 | + - name: Enable Containerapp ingress. |
| 291 | + text: | |
| 292 | + az containerapp ingress enable -n MyContainerapp -g MyResourceGroup --type external --allow-insecure --target-port 80 --transport auto |
| 293 | +""" |
| 294 | + |
| 295 | +helps['containerapp ingress disable'] = """ |
| 296 | + type: command |
| 297 | + short-summary: Disable Containerapp ingress. |
| 298 | + examples: |
| 299 | + - name: Disable Containerapp ingress. |
| 300 | + text: | |
| 301 | + az containerapp ingress disable -n MyContainerapp -g MyResourceGroup |
| 302 | +""" |
| 303 | + |
| 304 | +helps['containerapp ingress traffic'] = """ |
| 305 | + type: group |
| 306 | + short-summary: Commands to manage Containerapp ingress traffic. |
| 307 | +""" |
| 308 | + |
| 309 | +helps['containerapp ingress traffic set'] = """ |
| 310 | + type: command |
| 311 | + short-summary: Set Containerapp ingress traffic. |
| 312 | + examples: |
| 313 | + - name: Set Containerapp ingress traffic. |
| 314 | + text: | |
| 315 | + az containerapp ingress traffic set -n MyContainerapp -g MyResourceGroup --traffic-weight latest=100 |
| 316 | +""" |
| 317 | + |
| 318 | +helps['containerapp ingress traffic show'] = """ |
| 319 | + type: command |
| 320 | + short-summary: Show Containerapp ingress traffic. |
| 321 | + examples: |
| 322 | + - name: Show Containerapp ingress traffic. |
| 323 | + text: | |
| 324 | + az containerapp ingress traffic show -n MyContainerapp -g MyResourceGroup |
| 325 | +""" |
| 326 | + |
| 327 | +# Registry Commands |
| 328 | +helps['containerapp registry'] = """ |
| 329 | + type: group |
| 330 | + short-summary: Commands to manage Containerapp registries. |
| 331 | +""" |
| 332 | + |
| 333 | +helps['containerapp registry show'] = """ |
| 334 | + type: command |
| 335 | + short-summary: Show details of a Containerapp registry. |
| 336 | + examples: |
| 337 | + - name: Show the details of a Containerapp registry. |
| 338 | + text: | |
| 339 | + az containerapp registry show -n MyContainerapp -g MyResourceGroup --server MyContainerappRegistry.azurecr.io |
| 340 | +""" |
| 341 | + |
| 342 | +helps['containerapp registry list'] = """ |
| 343 | + type: command |
| 344 | + short-summary: List registries assigned to a Containerapp. |
| 345 | + examples: |
| 346 | + - name: Show the details of a Containerapp registry. |
| 347 | + text: | |
| 348 | + az containerapp registry list -n MyContainerapp -g MyResourceGroup |
| 349 | +""" |
| 350 | + |
| 351 | +helps['containerapp registry set'] = """ |
| 352 | + type: command |
| 353 | + short-summary: Add or update a Containerapp registry. |
| 354 | + examples: |
| 355 | + - name: Add a registry to a Containerapp. |
| 356 | + text: | |
| 357 | + az containerapp registry set -n MyContainerapp -g MyResourceGroup --server MyContainerappRegistry.azurecr.io |
| 358 | + - name: Update a Containerapp registry. |
| 359 | + text: | |
| 360 | + az containerapp registry set -n MyContainerapp -g MyResourceGroup --server MyExistingContainerappRegistry.azurecr.io --username MyRegistryUsername --password MyRegistryPassword |
| 361 | + |
| 362 | +""" |
| 363 | + |
| 364 | +helps['containerapp registry delete'] = """ |
| 365 | + type: command |
| 366 | + short-summary: Delete a registry from a Containerapp. |
| 367 | + examples: |
| 368 | + - name: Delete a registry from a Containerapp. |
| 369 | + text: | |
| 370 | + az containerapp registry delete -n MyContainerapp -g MyResourceGroup --server MyContainerappRegistry.azurecr.io |
| 371 | +""" |
| 372 | + |
| 373 | +# Secret Commands |
| 374 | +helps['containerapp secret'] = """ |
| 375 | + type: group |
| 376 | + short-summary: Commands to manage Containerapp secrets. |
| 377 | +""" |
| 378 | + |
| 379 | +helps['containerapp secret show'] = """ |
| 380 | + type: command |
| 381 | + short-summary: Show details of a Containerapp secret. |
| 382 | + examples: |
| 383 | + - name: Show the details of a Containerapp secret. |
| 384 | + text: | |
| 385 | + az containerapp secret show -n MyContainerapp -g MyResourceGroup --secret-name MySecret |
| 386 | +""" |
| 387 | + |
| 388 | +helps['containerapp secret list'] = """ |
| 389 | + type: command |
| 390 | + short-summary: List the secrets of a Containerapp. |
| 391 | + examples: |
| 392 | + - name: List the secrets of a Containerapp. |
| 393 | + text: | |
| 394 | + az containerapp secret list -n MyContainerapp -g MyResourceGroup |
| 395 | +""" |
| 396 | + |
| 397 | +helps['containerapp secret delete'] = """ |
| 398 | + type: command |
| 399 | + short-summary: Delete secrets from a Containerapp. |
| 400 | + examples: |
| 401 | + - name: Delete secrets from a Containerapp. |
| 402 | + text: | |
| 403 | + az containerapp secret delete -n MyContainerapp -g MyResourceGroup --secret-names MySecret MySecret2 |
| 404 | +""" |
| 405 | + |
| 406 | +helps['containerapp secret set'] = """ |
| 407 | + type: command |
| 408 | + short-summary: Create/update Containerapp secrets. |
| 409 | + examples: |
| 410 | + - name: Add a secret to a Containerapp. |
| 411 | + text: | |
| 412 | + az containerapp secret set -n MyContainerapp -g MyResourceGroup --secrets MySecretName=MySecretValue |
| 413 | + - name: Update a Containerapp secret. |
| 414 | + text: | |
| 415 | + az containerapp secret set -n MyContainerapp -g MyResourceGroup --secrets MyExistingSecretName=MyNewSecretValue |
| 416 | +""" |
| 417 | + |
247 | 418 | helps['containerapp github-action add'] = """ |
248 | 419 | type: command |
249 | 420 | short-summary: Adds GitHub Actions to the Containerapp |
|
0 commit comments