application_accelerators
Creates, updates, deletes, gets or lists a application_accelerators
resource.
Overview
Name | application_accelerators |
Type | Resource |
Id | azure.spring_apps.application_accelerators |
Fields
- vw_application_accelerators
- application_accelerators
Name | Datatype | Description |
---|---|---|
applicationAcceleratorName | 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 |
sku | text | Sku of Azure Spring Apps |
subscriptionId | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
properties | object | Application accelerator properties payload |
sku | object | Sku of Azure Spring Apps |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | applicationAcceleratorName, resourceGroupName, serviceName, subscriptionId | Get the application accelerator. |
list | SELECT | resourceGroupName, serviceName, subscriptionId | Handle requests to list all application accelerator. |
create_or_update | INSERT | applicationAcceleratorName, resourceGroupName, serviceName, subscriptionId | Create or update the application accelerator. |
delete | DELETE | applicationAcceleratorName, resourceGroupName, serviceName, subscriptionId | Delete the application accelerator. |
SELECT
examples
Handle requests to list all application accelerator.
- vw_application_accelerators
- application_accelerators
SELECT
applicationAcceleratorName,
components,
provisioning_state,
resourceGroupName,
serviceName,
sku,
subscriptionId
FROM azure.spring_apps.vw_application_accelerators
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND serviceName = '{{ serviceName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
properties,
sku
FROM azure.spring_apps.application_accelerators
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND serviceName = '{{ serviceName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new application_accelerators
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.spring_apps.application_accelerators (
applicationAcceleratorName,
resourceGroupName,
serviceName,
subscriptionId,
properties,
sku
)
SELECT
'{{ applicationAcceleratorName }}',
'{{ resourceGroupName }}',
'{{ serviceName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ sku }}'
;
- 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
- name: sku
value:
- name: name
value: string
- name: tier
value: string
- name: capacity
value: integer
DELETE
example
Deletes the specified application_accelerators
resource.
/*+ delete */
DELETE FROM azure.spring_apps.application_accelerators
WHERE applicationAcceleratorName = '{{ applicationAcceleratorName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND serviceName = '{{ serviceName }}'
AND subscriptionId = '{{ subscriptionId }}';