CmdID / az / az spring / az spring build-service / az spring build-service builder / az spring build-service builder buildpack-binding
az spring build-service builder buildpack-binding create
(Enterprise Tier Only) Create a buildpack binding. Azure CLI extensions reference
4 examples 6 options Its page in the Azure CLI extensions reference
Examples
Create a buildpack binding without properties or secrets.
az spring build-service builder buildpack-binding create --name first-binding --builder-name first-builder --type ApplicationInsights --service MyCluster --resource-group MyResourceGroupIdentify--nameName for buildpack binding.--builder-nameThe name for builder.--typeRequired type for buildpack binding.--serviceThe name of Azure Spring Apps instance, you can configure the default service using az configure --defaults spring=<name>.--resource-groupName of resource group.Create a buildpack binding with only secrets.
az spring build-service builder buildpack-binding create --name first-binding --builder-name first-builder --type ApplicationInsights --secrets k1=v1 k2=v2 --service MyCluster --resource-group MyResourceGroupIdentify--nameName for buildpack binding.--builder-nameThe name for builder.--typeRequired type for buildpack binding.--secretsSensitive properties for launchProperties.--serviceThe name of Azure Spring Apps instance, you can configure the default service using az configure --defaults spring=<name>.--resource-groupName of resource group.Create a buildpack binding with only properties.
az spring build-service builder buildpack-binding create --name first-binding --builder-name first-builder --type ApplicationInsights --properties a=b c=d --service MyCluster --resource-group MyResourceGroupIdentify--nameName for buildpack binding.--builder-nameThe name for builder.--typeRequired type for buildpack binding.--propertiesNon-sensitive properties for launchProperties.--serviceThe name of Azure Spring Apps instance, you can configure the default service using az configure --defaults spring=<name>.--resource-groupName of resource group.Create a buildpack binding with properties and secrets.
az spring build-service builder buildpack-binding create --name first-binding --builder-name first-builder --type ApplicationInsights --properties a=b c=d --secrets k1=v1 k2=v2 --service MyCluster --resource-group MyResourceGroupIdentify--nameName for buildpack binding.--builder-nameThe name for builder.--typeRequired type for buildpack binding.--propertiesNon-sensitive properties for launchProperties.--secretsSensitive properties for launchProperties.--serviceThe name of Azure Spring Apps instance, you can configure the default service using az configure --defaults spring=<name>.--resource-groupName of resource group.Options
--builder-nameThe name for builder.--name, -nName for buildpack binding.--propertiesNon-sensitive properties for launchProperties.--secretsSensitive properties for launchProperties.--service, -sThe name of Azure Spring Apps instance, you can configure the default service using az configure --defaults spring=<name>.--typeRequired type for buildpack binding.