Skip to main content

customized_accelerators

Creates, updates, deletes, gets or lists a customized_accelerators resource.

Overview

Namecustomized_accelerators
TypeResource
Idazure.spring_apps.customized_accelerators

Fields

NameDatatypeDescription
descriptiontextfield from the properties object
accelerator_tagstextfield from the properties object
accelerator_typetextfield from the properties object
applicationAcceleratorNametextfield from the properties object
customizedAcceleratorNametextfield from the properties object
display_nametextfield from the properties object
git_repositorytextfield from the properties object
icon_urltextfield from the properties object
importstextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
serviceNametextfield from the properties object
skutextSku of Azure Spring Apps
subscriptionIdtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTapplicationAcceleratorName, customizedAcceleratorName, resourceGroupName, serviceName, subscriptionIdGet the customized accelerator.
listSELECTapplicationAcceleratorName, resourceGroupName, serviceName, subscriptionIdHandle requests to list all customized accelerators.
create_or_updateINSERTapplicationAcceleratorName, customizedAcceleratorName, resourceGroupName, serviceName, subscriptionIdCreate or update the customized accelerator.
deleteDELETEapplicationAcceleratorName, customizedAcceleratorName, resourceGroupName, serviceName, subscriptionIdDelete the customized accelerator.
validateEXECapplicationAcceleratorName, customizedAcceleratorName, resourceGroupName, serviceName, subscriptionId, data__gitRepositoryCheck the customized accelerator are valid.

SELECT examples

Handle requests to list all 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 }}';

INSERT example

Use the following StackQL query and manifest file to create a new customized_accelerators resource.

/*+ create */
INSERT INTO azure.spring_apps.customized_accelerators (
applicationAcceleratorName,
customizedAcceleratorName,
resourceGroupName,
serviceName,
subscriptionId,
properties,
sku
)
SELECT
'{{ applicationAcceleratorName }}',
'{{ customizedAcceleratorName }}',
'{{ resourceGroupName }}',
'{{ serviceName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ sku }}'
;

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 }}';