customized_accelerators
Creates, updates, deletes, gets or lists a customized_accelerators
resource.
Overview
Name | customized_accelerators |
Type | Resource |
Id | azure.spring_apps.customized_accelerators |
Fields
- vw_customized_accelerators
- customized_accelerators
Name | Datatype | Description |
---|---|---|
description | text | field from the properties object |
accelerator_tags | text | field from the properties object |
accelerator_type | text | field from the properties object |
applicationAcceleratorName | text | field from the properties object |
customizedAcceleratorName | text | field from the properties object |
display_name | text | field from the properties object |
git_repository | text | field from the properties object |
icon_url | text | field from the properties object |
imports | 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 | Customized accelerator properties payload |
sku | object | Sku of Azure Spring Apps |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | applicationAcceleratorName, customizedAcceleratorName, resourceGroupName, serviceName, subscriptionId | Get the customized accelerator. |
list | SELECT | applicationAcceleratorName, resourceGroupName, serviceName, subscriptionId | Handle requests to list all customized accelerators. |
create_or_update | INSERT | applicationAcceleratorName, customizedAcceleratorName, resourceGroupName, serviceName, subscriptionId | Create or update the customized accelerator. |
delete | DELETE | applicationAcceleratorName, customizedAcceleratorName, resourceGroupName, serviceName, subscriptionId | Delete the customized accelerator. |
validate | EXEC | applicationAcceleratorName, customizedAcceleratorName, resourceGroupName, serviceName, subscriptionId, data__gitRepository | Check the customized accelerator are valid. |
SELECT
examples
Handle requests to list all customized accelerators.
- vw_customized_accelerators
- customized_accelerators
SELECT
description,
accelerator_tags,
accelerator_type,
applicationAcceleratorName,
customizedAcceleratorName,
display_name,
git_repository,
icon_url,
imports,
provisioning_state,
resourceGroupName,
serviceName,
sku,
subscriptionId
FROM azure.spring_apps.vw_customized_accelerators
WHERE applicationAcceleratorName = '{{ applicationAcceleratorName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND serviceName = '{{ serviceName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
properties,
sku
FROM azure.spring_apps.customized_accelerators
WHERE applicationAcceleratorName = '{{ applicationAcceleratorName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND serviceName = '{{ serviceName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new customized_accelerators
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.spring_apps.customized_accelerators (
applicationAcceleratorName,
customizedAcceleratorName,
resourceGroupName,
serviceName,
subscriptionId,
properties,
sku
)
SELECT
'{{ applicationAcceleratorName }}',
'{{ customizedAcceleratorName }}',
'{{ resourceGroupName }}',
'{{ serviceName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ sku }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: provisioningState
value: string
- name: acceleratorType
value: string
- name: displayName
value: string
- name: description
value: string
- name: iconUrl
value: string
- name: acceleratorTags
value:
- string
- name: imports
value:
- string
- name: gitRepository
value:
- name: url
value: string
- name: intervalInSeconds
value: integer
- name: branch
value: string
- name: commit
value: string
- name: gitTag
value: string
- name: authSetting
value:
- name: authType
value: string
- name: subPath
value: string
- name: sku
value:
- name: name
value: string
- name: tier
value: string
- name: capacity
value: integer
DELETE
example
Deletes the specified customized_accelerators
resource.
/*+ delete */
DELETE FROM azure.spring_apps.customized_accelerators
WHERE applicationAcceleratorName = '{{ applicationAcceleratorName }}'
AND customizedAcceleratorName = '{{ customizedAcceleratorName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND serviceName = '{{ serviceName }}'
AND subscriptionId = '{{ subscriptionId }}';