Skip to main content

buildpack_bindings

Creates, updates, deletes, gets or lists a buildpack_bindings resource.

Overview

Namebuildpack_bindings
TypeResource
Idazure.spring_apps.buildpack_bindings

Fields

NameDatatypeDescription
binding_typetextfield from the properties object
buildServiceNametextfield from the properties object
builderNametextfield from the properties object
buildpackBindingNametextfield from the properties object
launch_propertiestextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
serviceNametextfield from the properties object
subscriptionIdtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTbuildServiceName, builderName, buildpackBindingName, resourceGroupName, serviceName, subscriptionIdGet a buildpack binding by name.
listSELECTbuildServiceName, builderName, resourceGroupName, serviceName, subscriptionIdHandles requests to list all buildpack bindings in a builder.
list_for_clusterSELECTresourceGroupName, serviceName, subscriptionIdGet collection of buildpack bindings under all builders.
create_or_updateINSERTbuildServiceName, builderName, buildpackBindingName, resourceGroupName, serviceName, subscriptionIdCreate or update a buildpack binding.
deleteDELETEbuildServiceName, builderName, buildpackBindingName, resourceGroupName, serviceName, subscriptionIdOperation to delete a Buildpack Binding

SELECT examples

Get collection of buildpack bindings under all builders.

SELECT
binding_type,
buildServiceName,
builderName,
buildpackBindingName,
launch_properties,
provisioning_state,
resourceGroupName,
serviceName,
subscriptionId
FROM azure.spring_apps.vw_buildpack_bindings
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND serviceName = '{{ serviceName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

Use the following StackQL query and manifest file to create a new buildpack_bindings resource.

/*+ create */
INSERT INTO azure.spring_apps.buildpack_bindings (
buildServiceName,
builderName,
buildpackBindingName,
resourceGroupName,
serviceName,
subscriptionId,
properties
)
SELECT
'{{ buildServiceName }}',
'{{ builderName }}',
'{{ buildpackBindingName }}',
'{{ resourceGroupName }}',
'{{ serviceName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;

DELETE example

Deletes the specified buildpack_bindings resource.

/*+ delete */
DELETE FROM azure.spring_apps.buildpack_bindings
WHERE buildServiceName = '{{ buildServiceName }}'
AND builderName = '{{ builderName }}'
AND buildpackBindingName = '{{ buildpackBindingName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND serviceName = '{{ serviceName }}'
AND subscriptionId = '{{ subscriptionId }}';