Skip to main content

rules_engines

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

Overview

Namerules_engines
TypeResource
Idazure.front_door.rules_engines

Fields

NameDatatypeDescription
idtextResource ID.
nametextResource name.
frontDoorNametextfield from the properties object
resourceGroupNametextfield from the properties object
resource_statetextfield from the properties object
rulestextfield from the properties object
rulesEngineNametextfield from the properties object
subscriptionIdtextfield from the properties object
typetextResource type.

Methods

NameAccessible byRequired ParamsDescription
getSELECTfrontDoorName, resourceGroupName, rulesEngineName, subscriptionIdGets a Rules Engine Configuration with the specified name within the specified Front Door.
list_by_front_doorSELECTfrontDoorName, resourceGroupName, subscriptionIdLists all of the Rules Engine Configurations within a Front Door.
create_or_updateINSERTfrontDoorName, resourceGroupName, rulesEngineName, subscriptionIdCreates a new Rules Engine Configuration with the specified name within the specified Front Door.
deleteDELETEfrontDoorName, resourceGroupName, rulesEngineName, subscriptionIdDeletes an existing Rules Engine Configuration with the specified parameters.

SELECT examples

Lists all of the Rules Engine Configurations within a Front Door.

SELECT
id,
name,
frontDoorName,
resourceGroupName,
resource_state,
rules,
rulesEngineName,
subscriptionId,
type
FROM azure.front_door.vw_rules_engines
WHERE frontDoorName = '{{ frontDoorName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.front_door.rules_engines (
frontDoorName,
resourceGroupName,
rulesEngineName,
subscriptionId,
properties
)
SELECT
'{{ frontDoorName }}',
'{{ resourceGroupName }}',
'{{ rulesEngineName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;

DELETE example

Deletes the specified rules_engines resource.

/*+ delete */
DELETE FROM azure.front_door.rules_engines
WHERE frontDoorName = '{{ frontDoorName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND rulesEngineName = '{{ rulesEngineName }}'
AND subscriptionId = '{{ subscriptionId }}';