CmdID / az / az spring / az spring app
az spring app create
Create a new app with a default deployment in the Azure Spring Apps instance. Azure CLI extensions reference
42 options Its page in the Azure CLI extensions reference
Options
Show its 42 options
--assign-endpointIf true, assign endpoint URL for direct access.--assign-identity, --system-assignedEnable system-assigned managed identity.--assign-public-endpointIf true, assign endpoint URL which could be accessed out of virtual network for vnet injection instance app.--backend-protocolIngress backend protocol of app.--bind-application-configuration-service, --bind-acsBind the app to the default Application Configuration Service automatically.--bind-config-server, --bind-csBind the app to the default Config Server automatically.--bind-service-registry, --bind-srBind the app to the default Service Registry automatically.--client-auth-certsA space-separated string containing resource ids of certificates for client authentication.--cpuCPU resource quantity.--deployment-nameName of the default deployment.--disable-probeIf true, disable the liveness and readiness probe.--disable-test-endpoint-auth, --disable-teaIf true, disable authentication of the app's test endpoint.--enable-liveness-probeIf false, will disable the liveness probe of the app instance--enable-persistent-storage, --enable-psIf true, mount a 50G (Standard Pricing tier) or 1G (Basic Pricing tier) disk with default path.--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--envSpace-separated environment variables in 'key[=value]' format.--ingress-read-timeoutIngress read timeout value in seconds.--ingress-send-timeoutIngress send timeout value in seconds.--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'--liveness-probe-configA json file path indicates the liveness probe config--loaded-public-certificate-file, -fA json file path indicates the certificates which would be loaded to app--main-entry, -mThe path to the .NET executable relative to zip root.--max-replicasThe maximum number of replicas.--memoryMemory resource quantity.--min-replicasThe minimum number of replicas.--persistent-storageA json file path for the persistent storages to be mounted to the app--readiness-probe-configA json file path indicates the readiness probe config--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.--secretsA list of secret(s) for the app.--session-affinityIngress session affinity of app.--session-max-ageTime until the cookie expires.--startup-probe-configA json file path indicates the startup probe config--termination-grace-period-seconds, --grace-periodOptional duration in seconds the app instance needs to terminate gracefully--user-assignedSpace-separated user-assigned managed identity resource IDs to assgin to an app.--workload-profileThe workload profile used in the managed environment.