Skip to main content

application_live_views

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

Overview

Nameapplication_live_views
TypeResource
Idazure.spring_apps.application_live_views

Fields

The following fields are returned by SELECT queries:

Success. The response describes the corresponding Application Live View.

NameDatatypeDescription
propertiesobjectApplication Live View properties payload

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, serviceName, applicationLiveViewNameGet the Application Live and its properties.
listselectsubscriptionId, resourceGroupName, serviceNameHandles requests to list all resources in a Service.
create_or_updateinsertsubscriptionId, resourceGroupName, serviceName, applicationLiveViewNameCreate the default Application Live View or update the existing Application Live View.
deletedeletesubscriptionId, resourceGroupName, serviceName, applicationLiveViewNameDisable the default Application Live View.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
applicationLiveViewNamestringThe name of Application Live View.
resourceGroupNamestringThe name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serviceNamestringThe name of the Service resource.
subscriptionIdstringGets subscription ID which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

SELECT examples

Get the Application Live and its properties.

SELECT
properties
FROM azure.spring_apps.application_live_views
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND serviceName = '{{ serviceName }}' -- required
AND applicationLiveViewName = '{{ applicationLiveViewName }}' -- required
;

INSERT examples

Create the default Application Live View or update the existing Application Live View.

INSERT INTO azure.spring_apps.application_live_views (
data__properties,
subscriptionId,
resourceGroupName,
serviceName,
applicationLiveViewName
)
SELECT
'{{ properties }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ serviceName }}',
'{{ applicationLiveViewName }}'
RETURNING
properties
;

DELETE examples

Disable the default Application Live View.

DELETE FROM azure.spring_apps.application_live_views
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND serviceName = '{{ serviceName }}' --required
AND applicationLiveViewName = '{{ applicationLiveViewName }}' --required
;