Skip to main content

builds

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

Overview

Namebuilds
TypeResource
Idazure.container_apps.builds

Fields

NameDatatypeDescription
buildNametextfield from the properties object
build_statustextfield from the properties object
builderNametextfield from the properties object
configurationtextfield from the properties object
destination_container_registrytextfield from the properties object
log_stream_endpointtextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
token_endpointtextfield from the properties object
upload_endpointtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTbuildName, builderName, resourceGroupName, subscriptionIdGet a BuildResource
create_or_updateINSERTbuildName, builderName, resourceGroupName, subscriptionIdCreate a BuildResource
deleteDELETEbuildName, builderName, resourceGroupName, subscriptionIdDelete a BuildResource

SELECT examples

Get a BuildResource

SELECT
buildName,
build_status,
builderName,
configuration,
destination_container_registry,
log_stream_endpoint,
provisioning_state,
resourceGroupName,
subscriptionId,
token_endpoint,
upload_endpoint
FROM azure.container_apps.vw_builds
WHERE buildName = '{{ buildName }}'
AND builderName = '{{ builderName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

Use the following StackQL query and manifest file to create a new builds resource.

/*+ create */
INSERT INTO azure.container_apps.builds (
buildName,
builderName,
resourceGroupName,
subscriptionId,
properties
)
SELECT
'{{ buildName }}',
'{{ builderName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;

DELETE example

Deletes the specified builds resource.

/*+ delete */
DELETE FROM azure.container_apps.builds
WHERE buildName = '{{ buildName }}'
AND builderName = '{{ builderName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';