az spring build-service build
Note
This reference is part of the spring extension for the Azure CLI (version 2.56.0 or higher). The extension will automatically install the first time you run an az spring build-service build command. Learn more about extensions.
(Enterprise Tier Only) Commands to manage Build Resource.
Commands
Name | Description | Type | Status |
---|---|---|---|
az spring build-service build create |
Create a build. |
Extension | GA |
az spring build-service build delete |
Delete a build. |
Extension | GA |
az spring build-service build list |
List builds. |
Extension | GA |
az spring build-service build result |
(Enterprise Tier Only) Commands to view Build Result Resource. |
Extension | GA |
az spring build-service build result list |
List build results. |
Extension | GA |
az spring build-service build result show |
Show a build result. |
Extension | GA |
az spring build-service build show |
Show a build. |
Extension | GA |
az spring build-service build update |
Update a build. |
Extension | GA |
az spring build-service build create
Create a build.
az spring build-service build create --resource-group
--service
[--apms]
[--artifact-path]
[--build-cpu]
[--build-env]
[--build-memory]
[--builder]
[--certificates]
[--disable-validation {false, true}]
[--name]
[--no-wait]
[--source-path]
Examples
Create a build using a jar.
az spring build-service build create --name my-build --artifact-path hello.jar --service clitest --resource-group cli
Required Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of Azure Spring Apps instance, you can configure the default service using az configure --defaults spring=.
Optional Parameters
Space-separated APM names.
Deploy the specified pre-built artifact (jar or netcore zip).
CPU resource quantity. Should be 500m or number of CPU cores.
Space-separated environment variables in 'key[=value]' format.
Memory resource quantity. Should be 512Mi or #Gi, e.g., 1Gi, 3Gi.
The builder name used to build the executable.
Space-separated certificate names.
If true, disable jar validation.
The build name.
Do not wait for the long-running operation to finish.
Deploy the specified source folder. The folder will be packed into tar, uploaded, and built using kpack. Default to the current folder if no value provided.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az spring build-service build delete
Delete a build.
az spring build-service build delete --name
--resource-group
--service
[--no-wait]
[--yes]
Examples
Delete a build.
az spring build-service build delete --name my-build --service clitest --resource-group cli
Required Parameters
The build name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of Azure Spring Apps instance, you can configure the default service using az configure --defaults spring=.
Optional Parameters
Do not wait for the long-running operation to finish.
Do not prompt for confirmation.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az spring build-service build list
List builds.
az spring build-service build list --resource-group
--service
Examples
List builds.
az spring build-service build list --service clitest --resource-group cli
Required Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of Azure Spring Apps instance, you can configure the default service using az configure --defaults spring=.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az spring build-service build show
Show a build.
az spring build-service build show --resource-group
--service
[--name]
Examples
Show a build.
az spring build-service build show --name my-build --service clitest --resource-group cli
Required Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of Azure Spring Apps instance, you can configure the default service using az configure --defaults spring=.
Optional Parameters
The build name.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az spring build-service build update
Update a build.
az spring build-service build update --resource-group
--service
[--apms]
[--artifact-path]
[--build-cpu]
[--build-env]
[--build-memory]
[--builder]
[--certificates]
[--disable-validation {false, true}]
[--name]
[--no-wait]
[--source-path]
Examples
Update a build using the source code.
az spring build-service build update --name my-build --source-path ./hello --service clitest --resource-group cli
Required Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of Azure Spring Apps instance, you can configure the default service using az configure --defaults spring=.
Optional Parameters
Space-separated APM names.
Deploy the specified pre-built artifact (jar or netcore zip).
CPU resource quantity. Should be 500m or number of CPU cores.
Space-separated environment variables in 'key[=value]' format.
Memory resource quantity. Should be 512Mi or #Gi, e.g., 1Gi, 3Gi.
The builder name used to build the executable.
Space-separated certificate names.
If true, disable jar validation.
The build name.
Do not wait for the long-running operation to finish.
Deploy the specified source folder. The folder will be packed into tar, uploaded, and built using kpack. Default to the current folder if no value provided.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.