Skip to main content

builders

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

Overview

Namebuilders
TypeResource
Idazure.container_apps.builders

Fields

NameDatatypeDescription
builderNametextfield from the properties object
container_registriestextfield from the properties object
environment_idtextfield from the properties object
identitytextManaged service identity (system assigned and/or user assigned identities)
locationtextThe geo-location where the resource lives
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextResource tags.

Methods

NameAccessible byRequired ParamsDescription
getSELECTbuilderName, resourceGroupName, subscriptionIdGet a BuilderResource
list_by_resource_groupSELECTresourceGroupName, subscriptionIdList BuilderResource resources by resource group
list_by_subscriptionSELECTsubscriptionIdList BuilderResource resources by subscription ID
create_or_updateINSERTbuilderName, resourceGroupName, subscriptionIdCreate or update a BuilderResource
deleteDELETEbuilderName, resourceGroupName, subscriptionIdDelete a BuilderResource
updateUPDATEbuilderName, resourceGroupName, subscriptionIdUpdate a BuilderResource

SELECT examples

List BuilderResource resources by subscription ID

SELECT
builderName,
container_registries,
environment_id,
identity,
location,
provisioning_state,
resourceGroupName,
subscriptionId,
tags
FROM azure.container_apps.vw_builders
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.container_apps.builders (
builderName,
resourceGroupName,
subscriptionId,
properties,
identity,
tags,
location
)
SELECT
'{{ builderName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ identity }}',
'{{ tags }}',
'{{ location }}'
;

UPDATE example

Updates a builders resource.

/*+ update */
UPDATE azure.container_apps.builders
SET
identity = '{{ identity }}',
tags = '{{ tags }}',
properties = '{{ properties }}'
WHERE
builderName = '{{ builderName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified builders resource.

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