buildpack_bindings
Creates, updates, deletes, gets or lists a buildpack_bindings
resource.
Overview
Name | buildpack_bindings |
Type | Resource |
Id | azure.spring_apps.buildpack_bindings |
Fields
The following fields are returned by SELECT
queries:
- get
- list
- list_for_cluster
Success. The response describes a Buildpack Binding.
Name | Datatype | Description |
---|---|---|
properties | object | Properties of a buildpack binding |
Success. The response describes the list of Buildpack Binding in the builder.
Name | Datatype | Description |
---|---|---|
properties | object | Properties of a buildpack binding |
Success. The response describes the list of buildpack bindings under all builders in the cluster.
Name | Datatype | Description |
---|---|---|
properties | object | Properties of a buildpack binding |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | subscriptionId , resourceGroupName , serviceName , buildServiceName , builderName , buildpackBindingName | Get a buildpack binding by name. | |
list | select | subscriptionId , resourceGroupName , serviceName , buildServiceName , builderName | Handles requests to list all buildpack bindings in a builder. | |
list_for_cluster | select | subscriptionId , resourceGroupName , serviceName | Get collection of buildpack bindings under all builders. | |
create_or_update | insert | subscriptionId , resourceGroupName , serviceName , buildServiceName , builderName , buildpackBindingName | Create or update a buildpack binding. | |
delete | delete | subscriptionId , resourceGroupName , serviceName , buildServiceName , builderName , buildpackBindingName | Operation 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.
Name | Datatype | Description |
---|---|---|
buildServiceName | string | The name of the build service resource. |
builderName | string | The name of the builder resource. |
buildpackBindingName | string | The name of the Buildpack Binding Name |
resourceGroupName | string | The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. |
serviceName | string | The name of the Service resource. |
subscriptionId | string | Gets subscription ID which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. |
SELECT
examples
- get
- list
- list_for_cluster
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
;
Handles requests to list all buildpack bindings in a builder.
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
;
Get collection of buildpack bindings under all builders.
SELECT
properties
FROM azure.spring_apps.buildpack_bindings
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND serviceName = '{{ serviceName }}' -- required
;
INSERT
examples
- create_or_update
- Manifest
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
;
# Description fields are for documentation purposes
- name: buildpack_bindings
props:
- name: subscriptionId
value: string
description: Required parameter for the buildpack_bindings resource.
- name: resourceGroupName
value: string
description: Required parameter for the buildpack_bindings resource.
- name: serviceName
value: string
description: Required parameter for the buildpack_bindings resource.
- name: buildServiceName
value: string
description: Required parameter for the buildpack_bindings resource.
- name: builderName
value: string
description: Required parameter for the buildpack_bindings resource.
- name: buildpackBindingName
value: string
description: Required parameter for the buildpack_bindings resource.
- name: properties
value: object
description: |
Properties of a buildpack binding
DELETE
examples
- delete
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
;