Share via


az spring build-service builder buildpack-binding

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 builder buildpack-binding command. Learn more about extensions.

(Enterprise Tier Only) Commands to manage buildpack-binding of builder.

Commands

Name Description Type Status
az spring build-service builder buildpack-binding create

(Enterprise Tier Only) Create a buildpack binding.

Extension GA
az spring build-service builder buildpack-binding delete

(Enterprise Tier Only) Delete a buildpack binding.

Extension GA
az spring build-service builder buildpack-binding list

(Enterprise Tier Only) List all buildpack binding in a builder. The secrets will be masked.

Extension GA
az spring build-service builder buildpack-binding set

(Enterprise Tier Only) Set a buildpack binding.

Extension GA
az spring build-service builder buildpack-binding show

(Enterprise Tier Only) Show a buildpack binding. The secrets will be masked.

Extension GA

az spring build-service builder buildpack-binding create

(Enterprise Tier Only) Create a buildpack binding.

az spring build-service builder buildpack-binding create --name
                                                         --resource-group
                                                         --service
                                                         --type {ApacheSkyWalking, AppDynamics, ApplicationInsights, CACertificates, Dynatrace, ElasticAPM, NewRelic}
                                                         [--builder-name]
                                                         [--properties]
                                                         [--secrets]

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 MyResourceGroup

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 MyResourceGroup

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 MyResourceGroup

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 MyResourceGroup

Required Parameters

--name -n

Name for buildpack binding.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--service -s

The name of Azure Spring Apps instance, you can configure the default service using az configure --defaults spring=<name>.

--type

Required type for buildpack binding.

Property Value
Accepted values: ApacheSkyWalking, AppDynamics, ApplicationInsights, CACertificates, Dynatrace, ElasticAPM, NewRelic

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--builder-name

The name for builder.

Property Value
Default value: default
--properties

Non-sensitive properties for launchProperties. Format "key[=value]".

--secrets

Sensitive properties for launchProperties. Once put, it will be encrypted and never return to user. Format "key[=value]".

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

Property Value
Default value: False

az spring build-service builder buildpack-binding delete

(Enterprise Tier Only) Delete a buildpack binding.

az spring build-service builder buildpack-binding delete --name
                                                         --resource-group
                                                         --service
                                                         [--builder-name]
                                                         [--yes]

Examples

Delete a buildpack binding.

az spring build-service builder buildpack-binding delete --name first-binding --builder-name first-builder --service MyCluster --resource-group MyResourceGroup

Required Parameters

--name -n

Name for buildpack binding.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--service -s

The name of Azure Spring Apps instance, you can configure the default service using az configure --defaults spring=<name>.

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--builder-name

The name for builder.

Property Value
Default value: default
--yes -y

Do not prompt for confirmation.

Property Value
Default value: False
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

Property Value
Default value: False

az spring build-service builder buildpack-binding list

(Enterprise Tier Only) List all buildpack binding in a builder. The secrets will be masked.

az spring build-service builder buildpack-binding list --resource-group
                                                       --service
                                                       [--builder-name]

Examples

List all buildpack binding of a builder.

az spring build-service builder buildpack-binding list --builder-name first-builder --service MyCluster --resource-group MyResourceGroup

Required Parameters

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--service -s

The name of Azure Spring Apps instance, you can configure the default service using az configure --defaults spring=<name>.

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--builder-name

The name for builder.

Property Value
Default value: default
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

Property Value
Default value: False

az spring build-service builder buildpack-binding set

(Enterprise Tier Only) Set a buildpack binding.

az spring build-service builder buildpack-binding set --name
                                                      --resource-group
                                                      --service
                                                      --type {ApacheSkyWalking, AppDynamics, ApplicationInsights, CACertificates, Dynatrace, ElasticAPM, NewRelic}
                                                      [--builder-name]
                                                      [--properties]
                                                      [--secrets]

Examples

Set a buildpack binding with properties and secrets.

az spring build-service builder buildpack-binding set --name first-binding --builder-name first-builder --type ApplicationInsights --properties a=b c=d --secrets k1=v1 k2=v2 --service MyCluster --resource-group MyResourceGroup

Required Parameters

--name -n

Name for buildpack binding.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--service -s

The name of Azure Spring Apps instance, you can configure the default service using az configure --defaults spring=<name>.

--type

Required type for buildpack binding.

Property Value
Accepted values: ApacheSkyWalking, AppDynamics, ApplicationInsights, CACertificates, Dynatrace, ElasticAPM, NewRelic

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--builder-name

The name for builder.

Property Value
Default value: default
--properties

Non-sensitive properties for launchProperties. Format "key[=value]".

--secrets

Sensitive properties for launchProperties. Once put, it will be encrypted and never return to user. Format "key[=value]".

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

Property Value
Default value: False

az spring build-service builder buildpack-binding show

(Enterprise Tier Only) Show a buildpack binding. The secrets will be masked.

az spring build-service builder buildpack-binding show --name
                                                       --resource-group
                                                       --service
                                                       [--builder-name]

Examples

Show a buildpack binding.

az spring build-service builder buildpack-binding show --name first-binding --builder-name first-builder --service MyCluster --resource-group MyResourceGroup

Required Parameters

--name -n

Name for buildpack binding.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--service -s

The name of Azure Spring Apps instance, you can configure the default service using az configure --defaults spring=<name>.

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--builder-name

The name for builder.

Property Value
Default value: default
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

Property Value
Default value: False