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

The following fields are returned by SELECT queries:

Success. The response describes the Build.

NameDatatypeDescription
propertiesobjectProperties of the build resource

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, serviceName, buildServiceName, buildNameGet a KPack build.
listselectsubscriptionId, resourceGroupName, serviceName, buildServiceNameList KPack builds.
create_or_updateinsertsubscriptionId, resourceGroupName, serviceName, buildServiceName, buildNameCreate or update a KPack build.
deletedeletesubscriptionId, resourceGroupName, serviceName, buildServiceName, buildNamedelete a KPack build.

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
buildNamestringThe name of the build resource.
buildServiceNamestringThe name of the build service resource.
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 KPack build.

SELECT
properties
FROM azure.spring_apps.build_service_builds
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND serviceName = '{{ serviceName }}' -- required
AND buildServiceName = '{{ buildServiceName }}' -- required
AND buildName = '{{ buildName }}' -- required
;

INSERT examples

Create or update a KPack build.

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

DELETE examples

delete a KPack build.

DELETE FROM azure.spring_apps.build_service_builds
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND serviceName = '{{ serviceName }}' --required
AND buildServiceName = '{{ buildServiceName }}' --required
AND buildName = '{{ buildName }}' --required
;