Skip to main content

customized_accelerators

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

Overview

Namecustomized_accelerators
TypeResource
Idazure_extras.app_platform.customized_accelerators

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource Id for the resource.
namestringThe name of the resource.
acceleratorTagsarray:vartype accelerator_tags: list[str]
acceleratorTypestringType of the customized accelerator. Known values are: "Accelerator" and "Fragment".
descriptionstring:vartype description: str
displayNamestring:vartype display_name: str
gitRepositoryobjectRequired.
iconUrlstring:vartype icon_url: str
importsarrayImports references all imports that this accelerator/fragment depends upon.
provisioningStatestringState of the customized accelerator. Known values are: "Creating", "Updating", "Succeeded", "Failed", "Deleting", and "Canceled".
skuobjectSku of the customized accelerator resource.
systemDataobjectMetadata pertaining to creation and last modification of the resource.
typestringThe type of the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, service_name, application_accelerator_name, customized_accelerator_name, subscription_idGet the customized accelerator.
listselectresource_group_name, service_name, application_accelerator_name, subscription_idHandle requests to list all customized accelerators.
create_or_updateinsertresource_group_name, service_name, application_accelerator_name, customized_accelerator_name, subscription_idCreate or update the customized accelerator.
create_or_updatereplaceresource_group_name, service_name, application_accelerator_name, customized_accelerator_name, subscription_idCreate or update the customized accelerator.
deletedeleteresource_group_name, service_name, application_accelerator_name, customized_accelerator_name, subscription_idDelete the customized accelerator.
validateexecresource_group_name, service_name, application_accelerator_name, customized_accelerator_name, subscription_id, gitRepositoryCheck the customized accelerator are valid.

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.

NameDatatypeDescription
application_accelerator_namestringThe name of the application accelerator. Required.
customized_accelerator_namestringThe name of the customized accelerator. Required.
resource_group_namestringThe name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. Required.
service_namestringThe name of the Service resource. Required.
subscription_idstring

SELECT examples

Get the customized accelerator.

SELECT
id,
name,
acceleratorTags,
acceleratorType,
description,
displayName,
gitRepository,
iconUrl,
imports,
provisioningState,
sku,
systemData,
type
FROM azure_extras.app_platform.customized_accelerators
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND service_name = '{{ service_name }}' -- required
AND application_accelerator_name = '{{ application_accelerator_name }}' -- required
AND customized_accelerator_name = '{{ customized_accelerator_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

INSERT examples

Create or update the customized accelerator.

INSERT INTO azure_extras.app_platform.customized_accelerators (
properties,
sku,
resource_group_name,
service_name,
application_accelerator_name,
customized_accelerator_name,
subscription_id
)
SELECT
'{{ properties }}',
'{{ sku }}',
'{{ resource_group_name }}',
'{{ service_name }}',
'{{ application_accelerator_name }}',
'{{ customized_accelerator_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
properties,
sku,
systemData,
type
;

REPLACE examples

Create or update the customized accelerator.

REPLACE azure_extras.app_platform.customized_accelerators
SET
properties = '{{ properties }}',
sku = '{{ sku }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND service_name = '{{ service_name }}' --required
AND application_accelerator_name = '{{ application_accelerator_name }}' --required
AND customized_accelerator_name = '{{ customized_accelerator_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
properties,
sku,
systemData,
type;

DELETE examples

Delete the customized accelerator.

DELETE FROM azure_extras.app_platform.customized_accelerators
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND service_name = '{{ service_name }}' --required
AND application_accelerator_name = '{{ application_accelerator_name }}' --required
AND customized_accelerator_name = '{{ customized_accelerator_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;

Lifecycle Methods

Check the customized accelerator are valid.

EXEC azure_extras.app_platform.customized_accelerators.validate 
@resource_group_name='{{ resource_group_name }}' --required,
@service_name='{{ service_name }}' --required,
@application_accelerator_name='{{ application_accelerator_name }}' --required,
@customized_accelerator_name='{{ customized_accelerator_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
@@json=
'{
"acceleratorType": "{{ acceleratorType }}",
"displayName": "{{ displayName }}",
"description": "{{ description }}",
"iconUrl": "{{ iconUrl }}",
"acceleratorTags": "{{ acceleratorTags }}",
"gitRepository": "{{ gitRepository }}"
}'
;