application_live_views
Creates, updates, deletes, gets or lists a application_live_views
resource.
Overview
Name | application_live_views |
Type | Resource |
Id | azure.spring_apps.application_live_views |
Fields
- vw_application_live_views
- application_live_views
Name | Datatype | Description |
---|---|---|
applicationLiveViewName | text | field from the properties object |
components | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
serviceName | text | field from the properties object |
subscriptionId | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
properties | object | Application Live View properties payload |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | applicationLiveViewName, resourceGroupName, serviceName, subscriptionId | Get the Application Live and its properties. |
list | SELECT | resourceGroupName, serviceName, subscriptionId | Handles requests to list all resources in a Service. |
create_or_update | INSERT | applicationLiveViewName, resourceGroupName, serviceName, subscriptionId | Create the default Application Live View or update the existing Application Live View. |
delete | DELETE | applicationLiveViewName, resourceGroupName, serviceName, subscriptionId | Disable the default Application Live View. |
SELECT
examples
Handles requests to list all resources in a Service.
- vw_application_live_views
- application_live_views
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 }}';
SELECT
properties
FROM azure.spring_apps.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.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.spring_apps.application_live_views (
applicationLiveViewName,
resourceGroupName,
serviceName,
subscriptionId,
properties
)
SELECT
'{{ applicationLiveViewName }}',
'{{ resourceGroupName }}',
'{{ serviceName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: provisioningState
value: string
- name: components
value:
- - name: name
value: string
- name: resourceRequests
value:
- name: cpu
value: string
- name: memory
value: string
- name: instanceCount
value: integer
- name: instances
value:
- - name: name
value: string
- name: status
value: string
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 }}';