builders
Creates, updates, deletes, gets or lists a builders
resource.
Overview
Name | builders |
Type | Resource |
Id | azure.container_apps.builders |
Fields
- vw_builders
- builders
Name | Datatype | Description |
---|---|---|
builderName | text | field from the properties object |
container_registries | text | field from the properties object |
environment_id | text | field from the properties object |
identity | text | Managed service identity (system assigned and/or user assigned identities) |
location | text | The geo-location where the resource lives |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
subscriptionId | text | field from the properties object |
tags | text | Resource tags. |
Name | Datatype | Description |
---|---|---|
identity | object | Managed service identity (system assigned and/or user assigned identities) |
location | string | The geo-location where the resource lives |
properties | object | The builder properties. |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | builderName, resourceGroupName, subscriptionId | Get a BuilderResource |
list_by_resource_group | SELECT | resourceGroupName, subscriptionId | List BuilderResource resources by resource group |
list_by_subscription | SELECT | subscriptionId | List BuilderResource resources by subscription ID |
create_or_update | INSERT | builderName, resourceGroupName, subscriptionId | Create or update a BuilderResource |
delete | DELETE | builderName, resourceGroupName, subscriptionId | Delete a BuilderResource |
update | UPDATE | builderName, resourceGroupName, subscriptionId | Update a BuilderResource |
SELECT
examples
List BuilderResource resources by subscription ID
- vw_builders
- builders
SELECT
builderName,
container_registries,
environment_id,
identity,
location,
provisioning_state,
resourceGroupName,
subscriptionId,
tags
FROM azure.container_apps.vw_builders
WHERE subscriptionId = '{{ subscriptionId }}';
SELECT
identity,
location,
properties,
tags
FROM azure.container_apps.builders
WHERE subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new builders
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.container_apps.builders (
builderName,
resourceGroupName,
subscriptionId,
properties,
identity,
tags,
location
)
SELECT
'{{ builderName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ identity }}',
'{{ tags }}',
'{{ location }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: provisioningState
value: []
- name: environmentId
value: string
- name: containerRegistries
value:
- - name: containerRegistryServer
value: string
- name: identityResourceId
value: string
- name: identity
value:
- name: principalId
value: string
- name: tenantId
value: string
- name: type
value: []
- name: userAssignedIdentities
value: []
- name: tags
value: object
- name: location
value: string
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 }}';