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
- vw_buildpack_bindings
- buildpack_bindings
Name | Datatype | Description |
---|---|---|
binding_type | text | field from the properties object |
buildServiceName | text | field from the properties object |
builderName | text | field from the properties object |
buildpackBindingName | text | field from the properties object |
launch_properties | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
serviceName | text | field from the properties object |
subscriptionId | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
properties | object | Properties of a buildpack binding |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | buildServiceName, builderName, buildpackBindingName, resourceGroupName, serviceName, subscriptionId | Get a buildpack binding by name. |
list | SELECT | buildServiceName, builderName, resourceGroupName, serviceName, subscriptionId | Handles requests to list all buildpack bindings in a builder. |
list_for_cluster | SELECT | resourceGroupName, serviceName, subscriptionId | Get collection of buildpack bindings under all builders. |
create_or_update | INSERT | buildServiceName, builderName, buildpackBindingName, resourceGroupName, serviceName, subscriptionId | Create or update a buildpack binding. |
delete | DELETE | buildServiceName, builderName, buildpackBindingName, resourceGroupName, serviceName, subscriptionId | Operation to delete a Buildpack Binding |
SELECT
examples
Get collection of buildpack bindings under all builders.
- vw_buildpack_bindings
- buildpack_bindings
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 }}';
SELECT
properties
FROM azure.spring_apps.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.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.spring_apps.buildpack_bindings (
buildServiceName,
builderName,
buildpackBindingName,
resourceGroupName,
serviceName,
subscriptionId,
properties
)
SELECT
'{{ buildServiceName }}',
'{{ builderName }}',
'{{ buildpackBindingName }}',
'{{ resourceGroupName }}',
'{{ serviceName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: bindingType
value: string
- name: provisioningState
value: string
- name: launchProperties
value:
- name: properties
value: object
- name: secrets
value: object
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 }}';