Skip to main content

build_service_builds

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

Overview

Namebuild_service_builds
TypeResource
Idazure.spring_apps.build_service_builds

Fields

NameDatatypeDescription
agent_pooltextfield from the properties object
apmstextfield from the properties object
buildNametextfield from the properties object
buildServiceNametextfield from the properties object
buildertextfield from the properties object
certificatestextfield from the properties object
envtextfield from the properties object
provisioning_statetextfield from the properties object
relative_pathtextfield from the properties object
resourceGroupNametextfield from the properties object
resource_requeststextfield from the properties object
serviceNametextfield from the properties object
subscriptionIdtextfield from the properties object
triggered_build_resulttextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTbuildName, buildServiceName, resourceGroupName, serviceName, subscriptionIdGet a KPack build.
listSELECTbuildServiceName, resourceGroupName, serviceName, subscriptionIdList KPack builds.
create_or_updateINSERTbuildName, buildServiceName, resourceGroupName, serviceName, subscriptionIdCreate or update a KPack build.
deleteDELETEbuildName, buildServiceName, resourceGroupName, serviceName, subscriptionIddelete a KPack build.

SELECT examples

List KPack builds.

SELECT
agent_pool,
apms,
buildName,
buildServiceName,
builder,
certificates,
env,
provisioning_state,
relative_path,
resourceGroupName,
resource_requests,
serviceName,
subscriptionId,
triggered_build_result
FROM azure.spring_apps.vw_build_service_builds
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_builds resource.

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

DELETE example

Deletes the specified build_service_builds resource.

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