application_live_views
Creates, updates, deletes, gets or lists an application_live_views
resource.
Overview
Name | application_live_views |
Type | Resource |
Id | azure.spring_apps.application_live_views |
Fields
The following fields are returned by SELECT
queries:
- get
- list
Success. The response describes the corresponding Application Live View.
Name | Datatype | Description |
---|---|---|
properties | object | Application Live View properties payload |
Success. The response describes the list of Application Live View resources in the Service.
Name | Datatype | Description |
---|---|---|
properties | object | Application Live View properties payload |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | subscriptionId , resourceGroupName , serviceName , applicationLiveViewName | Get the Application Live and its properties. | |
list | select | subscriptionId , resourceGroupName , serviceName | Handles requests to list all resources in a Service. | |
create_or_update | insert | subscriptionId , resourceGroupName , serviceName , applicationLiveViewName | Create the default Application Live View or update the existing Application Live View. | |
delete | delete | subscriptionId , resourceGroupName , serviceName , applicationLiveViewName | Disable 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.
Name | Datatype | Description |
---|---|---|
applicationLiveViewName | string | The name of Application Live View. |
resourceGroupName | string | The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. |
serviceName | string | The name of the Service resource. |
subscriptionId | string | Gets subscription ID which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. |
SELECT
examples
- get
- list
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
;
Handles requests to list all resources in a Service.
SELECT
properties
FROM azure.spring_apps.application_live_views
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND serviceName = '{{ serviceName }}' -- required
;
INSERT
examples
- create_or_update
- Manifest
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
;
# Description fields are for documentation purposes
- name: application_live_views
props:
- name: subscriptionId
value: string
description: Required parameter for the application_live_views resource.
- name: resourceGroupName
value: string
description: Required parameter for the application_live_views resource.
- name: serviceName
value: string
description: Required parameter for the application_live_views resource.
- name: applicationLiveViewName
value: string
description: Required parameter for the application_live_views resource.
- name: properties
value: object
description: |
Application Live View properties payload
DELETE
examples
- delete
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
;