build_service_builders
Creates, updates, deletes, gets or lists a build_service_builders
resource.
Overview
Name | build_service_builders |
Type | Resource |
Id | azure.spring_apps.build_service_builders |
Fields
- vw_build_service_builders
- build_service_builders
Name | Datatype | Description |
---|---|---|
buildServiceName | text | field from the properties object |
builderName | text | field from the properties object |
buildpack_groups | 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 |
stack | text | field from the properties object |
subscriptionId | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
properties | object | KPack Builder properties payload |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | buildServiceName, builderName, resourceGroupName, serviceName, subscriptionId | Get a KPack builder. |
list | SELECT | buildServiceName, resourceGroupName, serviceName, subscriptionId | List KPack builders result. |
create_or_update | INSERT | buildServiceName, builderName, resourceGroupName, serviceName, subscriptionId | Create or update a KPack builder. |
delete | DELETE | buildServiceName, builderName, resourceGroupName, serviceName, subscriptionId | Delete a KPack builder. |
SELECT
examples
List KPack builders result.
- vw_build_service_builders
- build_service_builders
SELECT
buildServiceName,
builderName,
buildpack_groups,
provisioning_state,
resourceGroupName,
serviceName,
stack,
subscriptionId
FROM azure.spring_apps.vw_build_service_builders
WHERE buildServiceName = '{{ buildServiceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND serviceName = '{{ serviceName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
properties
FROM azure.spring_apps.build_service_builders
WHERE buildServiceName = '{{ buildServiceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND serviceName = '{{ serviceName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new build_service_builders
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.spring_apps.build_service_builders (
buildServiceName,
builderName,
resourceGroupName,
serviceName,
subscriptionId,
properties
)
SELECT
'{{ buildServiceName }}',
'{{ builderName }}',
'{{ resourceGroupName }}',
'{{ serviceName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: provisioningState
value: string
- name: stack
value:
- name: id
value: string
- name: version
value: string
- name: buildpackGroups
value:
- - name: name
value: string
- name: buildpacks
value:
- - name: id
value: string
- name: version
value: string
DELETE
example
Deletes the specified build_service_builders
resource.
/*+ delete */
DELETE FROM azure.spring_apps.build_service_builders
WHERE buildServiceName = '{{ buildServiceName }}'
AND builderName = '{{ builderName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND serviceName = '{{ serviceName }}'
AND subscriptionId = '{{ subscriptionId }}';