CmdID / az / az spring / az spring app / az spring app deployment
az spring app deployment create
Create a staging deployment for the app. Azure CLI extensions reference
43 options Its page in the Azure CLI extensions reference
Options
Show its 43 options
--apms(Enterprise Tier Only) Space-separated APM names.--artifact-pathDeploy the specified pre-built artifact (jar, war or netcore zip, war is in public preview).--build-certificates(Enterprise Tier Only) Space-separated certificate names, the certificates are used during build time.--build-cpu, --cpuCPU resource quantity.--build-env, --envSpace-separated environment variables in 'key[=value]' format.--build-memory, --memoryMemory resource quantity.--builder(Enterprise Tier Only) Build service builder used to build the executable.--config-file-patterns(Enterprise Tier Only) Config file patterns separated with ',' to decide which patterns of Application Configuration Service will be used.--container-argsThe arguments of the container image.--container-commandThe command of the container image.--container-imageThe container image tag.--container-registryThe registry of the container image.--custom-actuator-path(Enterprise Tier Only) Custom actuator path for the app.--custom-actuator-port(Enterprise Tier Only) Custom actuator port for the app.--disable-app-logDo not print application logs when deploy application--disable-probeIf true, disable the liveness and readiness probe.--disable-validationIf true, disable jar validation.--enable-liveness-probeIf false, will disable the liveness probe of the app instance--enable-readiness-probeIf false, will disable the readiness probe of the app instance--enable-startup-probeIf false, will disable the startup probe of the app instance--instance-countNumber of instance.--jvm-optionsA string containing jvm options, use '=' instead of ' ' for this argument to avoid bash parse error, eg: --jvm-options='-Xms1024m -Xmx2048m'--language-frameworkLanguage framework of the container image uploaded.--liveness-probe-configA json file path indicates the liveness probe config--main-entry, -mThe path to the .NET executable relative to zip root.--max-replicasThe maximum number of replicas.--min-replicasThe minimum number of replicas.--readiness-probe-configA json file path indicates the readiness probe config--registry-passwordThe password of the container registry.--registry-usernameThe username of the container registry.--runtime-versionRuntime version of used language--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.--server-version(Standard and Basic Tiers Only) Tomcat server version.--skip-clone-settingsCreate staging deployment will automatically copy settings from production deployment.--source-pathDeploy the specified source folder.--startup-probe-configA json file path indicates the startup probe config--target-moduleChild module to be deployed, required for multiple jar packages built from source code.--termination-grace-period-seconds, --grace-periodOptional duration in seconds the app instance needs to terminate gracefully--versionDeployment version, keep unchanged if not set.