Skip to main content

application_live_views

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

Overview

Nameapplication_live_views
TypeResource
Idazure.spring_apps.application_live_views

Fields

NameDatatypeDescription
applicationLiveViewNametextfield from the properties object
componentstextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
serviceNametextfield from the properties object
subscriptionIdtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTapplicationLiveViewName, resourceGroupName, serviceName, subscriptionIdGet the Application Live and its properties.
listSELECTresourceGroupName, serviceName, subscriptionIdHandles requests to list all resources in a Service.
create_or_updateINSERTapplicationLiveViewName, resourceGroupName, serviceName, subscriptionIdCreate the default Application Live View or update the existing Application Live View.
deleteDELETEapplicationLiveViewName, resourceGroupName, serviceName, subscriptionIdDisable the default Application Live View.

SELECT examples

Handles requests to list all resources in a Service.

SELECT
applicationLiveViewName,
components,
provisioning_state,
resourceGroupName,
serviceName,
subscriptionId
FROM azure.spring_apps.vw_application_live_views
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND serviceName = '{{ serviceName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.spring_apps.application_live_views (
applicationLiveViewName,
resourceGroupName,
serviceName,
subscriptionId,
properties
)
SELECT
'{{ applicationLiveViewName }}',
'{{ resourceGroupName }}',
'{{ serviceName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;

DELETE example

Deletes the specified application_live_views resource.

/*+ delete */
DELETE FROM azure.spring_apps.application_live_views
WHERE applicationLiveViewName = '{{ applicationLiveViewName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND serviceName = '{{ serviceName }}'
AND subscriptionId = '{{ subscriptionId }}';