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

The following fields are returned by SELECT queries:

Success. The response describes a Buildpack Binding.

NameDatatypeDescription
propertiesobjectProperties of a buildpack binding

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, serviceName, buildServiceName, builderName, buildpackBindingNameGet a buildpack binding by name.
listselectsubscriptionId, resourceGroupName, serviceName, buildServiceName, builderNameHandles requests to list all buildpack bindings in a builder.
list_for_clusterselectsubscriptionId, resourceGroupName, serviceNameGet collection of buildpack bindings under all builders.
create_or_updateinsertsubscriptionId, resourceGroupName, serviceName, buildServiceName, builderName, buildpackBindingNameCreate or update a buildpack binding.
deletedeletesubscriptionId, resourceGroupName, serviceName, buildServiceName, builderName, buildpackBindingNameOperation to delete a Buildpack Binding

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
buildServiceNamestringThe name of the build service resource.
builderNamestringThe name of the builder resource.
buildpackBindingNamestringThe name of the Buildpack Binding Name
resourceGroupNamestringThe name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serviceNamestringThe name of the Service resource.
subscriptionIdstringGets subscription ID which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

SELECT examples

Get a buildpack binding by name.

SELECT
properties
FROM azure.spring_apps.buildpack_bindings
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND serviceName = '{{ serviceName }}' -- required
AND buildServiceName = '{{ buildServiceName }}' -- required
AND builderName = '{{ builderName }}' -- required
AND buildpackBindingName = '{{ buildpackBindingName }}' -- required
;

INSERT examples

Create or update a buildpack binding.

INSERT INTO azure.spring_apps.buildpack_bindings (
data__properties,
subscriptionId,
resourceGroupName,
serviceName,
buildServiceName,
builderName,
buildpackBindingName
)
SELECT
'{{ properties }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ serviceName }}',
'{{ buildServiceName }}',
'{{ builderName }}',
'{{ buildpackBindingName }}'
RETURNING
properties
;

DELETE examples

Operation to delete a Buildpack Binding

DELETE FROM azure.spring_apps.buildpack_bindings
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND serviceName = '{{ serviceName }}' --required
AND buildServiceName = '{{ buildServiceName }}' --required
AND builderName = '{{ builderName }}' --required
AND buildpackBindingName = '{{ buildpackBindingName }}' --required
;