Skip to main content

application_live_views

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

Overview

Nameapplication_live_views
TypeResource
Idazure_extras.app_platform.application_live_views

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource Id for the resource.
namestringThe name of the resource.
componentsarrayComponent details of Application Live View.
provisioningStatestringState of the Application Live View. Known values are: "Creating", "Updating", "Succeeded", "Failed", "Deleting", and "Canceled".
systemDataobjectMetadata pertaining to creation and last modification of the resource.
typestringThe type of the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, service_name, application_live_view_name, subscription_idGet the Application Live and its properties.
listselectresource_group_name, service_name, subscription_idHandles requests to list all resources in a Service.
create_or_updateinsertresource_group_name, service_name, application_live_view_name, subscription_idCreate the default Application Live View or update the existing Application Live View.
create_or_updatereplaceresource_group_name, service_name, application_live_view_name, subscription_idCreate the default Application Live View or update the existing Application Live View.
deletedeleteresource_group_name, service_name, application_live_view_name, subscription_idDisable 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
application_live_view_namestringThe name of Application Live View. Required.
resource_group_namestringThe name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. Required.
service_namestringThe name of the Service resource. Required.
subscription_idstring

SELECT examples

Get the Application Live and its properties.

SELECT
id,
name,
components,
provisioningState,
systemData,
type
FROM azure_extras.app_platform.application_live_views
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND service_name = '{{ service_name }}' -- required
AND application_live_view_name = '{{ application_live_view_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

INSERT examples

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

INSERT INTO azure_extras.app_platform.application_live_views (
properties,
resource_group_name,
service_name,
application_live_view_name,
subscription_id
)
SELECT
'{{ properties }}',
'{{ resource_group_name }}',
'{{ service_name }}',
'{{ application_live_view_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
properties,
systemData,
type
;

REPLACE examples

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

REPLACE azure_extras.app_platform.application_live_views
SET
properties = '{{ properties }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND service_name = '{{ service_name }}' --required
AND application_live_view_name = '{{ application_live_view_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
properties,
systemData,
type;

DELETE examples

Disable the default Application Live View.

DELETE FROM azure_extras.app_platform.application_live_views
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND service_name = '{{ service_name }}' --required
AND application_live_view_name = '{{ application_live_view_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;