az containerapp
Manage Azure Container Apps. Azure CLI reference
36 commands 42 options Its page in the Azure CLI reference
Commands
add-onCommands to manage add-ons available within the environment.arcInstall prerequisites for Kubernetes cluster on ArcauthManage containerapp authentication and authorization.browseOpen a containerapp in the browser, if possiblecomposeCommands to create Azure Container Apps from Compose specifications.connected-envCommands to manage Container Apps Connected environments for use with Arc enabled Container Apps.createCreate a container app.daprCommands to manage Dapr.debugOpen an SSH-like interactive shell within a container app debug console or execute a command inside the container and exit.deleteDelete a container app.envCommands to manage Container Apps environments.execOpen an SSH-like interactive shell within a container app replicafunctionCommands related to Azure Functions on Container Apps.github-actionCommands to manage GitHub Actions.hostnameCommands to manage hostnames of a container app.identityCommands to manage managed identities.ingressCommands to manage ingress and traffic-splitting.javaCommands to manage Java workloads.jobCommands to manage Container Apps jobs.label-historyShow the history for one or more labels on the Container App.listList container apps.list-usagesList usages of subscription level quotas in specific region.logsShow container app logspatchPatch Azure Container Apps.registryCommands to manage container registry information.replicaManage container app replicasresiliencyCommands to manage resiliency policies for a container app.revisionCommands to manage revisions.secretCommands to manage secrets.sessionCommands to manage sessions.To learn more about individual commands under each subgroup run containerapp session [subgroup name] --help.sessionpoolCommands to manage session pools.showShow details of a container app.show-custom-domain-verification-idShow the verification id for binding app or environment custom domainssslUpload certificate to a managed environment, add hostname to an app in that environment, and bind the certificate to the hostnameupCreate or update a container app as well as any associated resources (ACR, resource group, container apps environment, GitHub Actions, etc.)updateUpdate a container app.Options
Show its 42 options
--argsA list of container startup command argument(s).--commandA list of supported commands on the container that will executed during startup.--container-nameName of the container.--cpuRequired CPU in cores from 0.25 - 2.0, e.g. 0.5--dapr-app-idThe Dapr application identifier.--dapr-app-portThe port Dapr uses to talk to the application.--dapr-app-protocolThe protocol Dapr uses to talk to the application.--dapr-enable-api-logging, --dalEnable API logging for the Dapr sidecar.--dapr-http-max-request-size, --dhmrsIncrease max size of request body http and grpc servers parameter in MB to handle uploading of big files.--dapr-http-read-buffer-size, --dhrbsDapr max size of http header read buffer in KB to handle when sending multi-KB headers..--dapr-log-levelSet the log level for the Dapr sidecar.--enable-daprBoolean indicating if the Dapr side car is enabled.--env-varsA list of environment variable(s) for the container.--environmentName or resource ID of the container app's environment.--exposed-portAdditional exposed port.--ingressThe ingress type.--location, -lLocation.--max-replicasThe maximum number of replicas.--memoryRequired memory from 0.5 - 4.0 ending with "Gi", e.g. 1.0Gi--min-replicasThe minimum number of replicas.--name, -nThe name of the Containerapp.--registry-identityA Managed Identity to authenticate with the registry server instead of username/password.--registry-passwordThe password to log in to container registry.--registry-serverThe container registry server hostname, e.g. myregistry.azurecr.io.--registry-usernameThe username to log in to container registry.--remove-all-env-varsRemove all environment variable(s) from container..--remove-env-varsRemove environment variable(s) from container.--replace-env-varsReplace environment variable(s) in container.--resource-group, -gName of resource group.--revision-suffixUser friendly suffix that is appended to the revision name--revisions-modeThe active revisions mode for the container app.--scale-rule-auth, --sraScale rule auth parameters.--scale-rule-http-concurrency, --scale-rule-tcp-concurrency, --srhc, --srtcThe maximum number of concurrent requests before scale out.--scale-rule-metadata, --srmScale rule metadata.--scale-rule-name, --srnThe name of the scale rule.--scale-rule-type, --srtThe type of the scale rule.--secrets, -sA list of secret(s) for the container app.--set-env-varsAdd or update environment variable(s) in container.--tagsspace-separated tags: key[=value] [key[=value] ...].--target-portThe application port used for ingress traffic.--transportThe transport protocol used for ingress traffic.--yamlPath to a .yaml file with the configuration of a container app.