Skip to main content

container_apps

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

Overview

Namecontainer_apps
TypeResource
Idazure.app_service.container_apps

Fields

NameDatatypeDescription
idstringResource Id.
namestringResource Name.
kindstringKind of resource.
locationstringResource Location.
propertiesobjectContainerApp resource specific properties
tagsobjectResource tags.
typestringResource type.

Methods

NameAccessible byRequired ParamsDescription
getSELECTname, resourceGroupName, subscriptionId
list_by_resource_groupSELECTresourceGroupName, subscriptionId
list_by_subscriptionSELECTsubscriptionId
create_or_updateINSERTname, resourceGroupName, subscriptionIdDescription for Create or update a Container App.
deleteDELETEname, resourceGroupName, subscriptionIdDescription for Delete a Container App.

SELECT examples

SELECT
id,
name,
kind,
location,
properties,
tags,
type
FROM azure.app_service.container_apps
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.app_service.container_apps (
name,
resourceGroupName,
subscriptionId,
kind,
location,
tags,
properties
)
SELECT
'{{ name }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ kind }}',
'{{ location }}',
'{{ tags }}',
'{{ properties }}'
;

DELETE example

Deletes the specified container_apps resource.

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