rules_engines
Creates, updates, deletes, gets or lists a rules_engines
resource.
Overview
Name | rules_engines |
Type | Resource |
Id | azure.front_door.rules_engines |
Fields
- vw_rules_engines
- rules_engines
Name | Datatype | Description |
---|---|---|
id | text | Resource ID. |
name | text | Resource name. |
frontDoorName | text | field from the properties object |
resourceGroupName | text | field from the properties object |
resource_state | text | field from the properties object |
rules | text | field from the properties object |
rulesEngineName | text | field from the properties object |
subscriptionId | text | field from the properties object |
type | text | Resource type. |
Name | Datatype | Description |
---|---|---|
id | string | Resource ID. |
name | string | Resource name. |
properties | object | The JSON object that contains the properties required to create a Rules Engine Configuration. |
type | string | Resource type. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | frontDoorName, resourceGroupName, rulesEngineName, subscriptionId | Gets a Rules Engine Configuration with the specified name within the specified Front Door. |
list_by_front_door | SELECT | frontDoorName, resourceGroupName, subscriptionId | Lists all of the Rules Engine Configurations within a Front Door. |
create_or_update | INSERT | frontDoorName, resourceGroupName, rulesEngineName, subscriptionId | Creates a new Rules Engine Configuration with the specified name within the specified Front Door. |
delete | DELETE | frontDoorName, resourceGroupName, rulesEngineName, subscriptionId | Deletes an existing Rules Engine Configuration with the specified parameters. |
SELECT
examples
Lists all of the Rules Engine Configurations within a Front Door.
- vw_rules_engines
- rules_engines
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 }}';
SELECT
id,
name,
properties,
type
FROM azure.front_door.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.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.front_door.rules_engines (
frontDoorName,
resourceGroupName,
rulesEngineName,
subscriptionId,
properties
)
SELECT
'{{ frontDoorName }}',
'{{ resourceGroupName }}',
'{{ rulesEngineName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: rules
value:
- - name: name
value: string
- name: priority
value: integer
- name: action
value:
- name: requestHeaderActions
value:
- - name: headerActionType
value: string
- name: headerName
value: string
- name: value
value: string
- name: responseHeaderActions
value:
- - name: headerActionType
value: string
- name: headerName
value: string
- name: value
value: string
- name: routeConfigurationOverride
value:
- name: '@odata.type'
value: string
- name: matchConditions
value:
- - name: rulesEngineMatchVariable
value: string
- name: selector
value: string
- name: rulesEngineOperator
value: string
- name: negateCondition
value: boolean
- name: rulesEngineMatchValue
value:
- string
- name: transforms
value:
- []
- name: matchProcessingBehavior
value: string
- name: resourceState
value: []
- name: name
value: string
- name: type
value: string
- name: id
value: string
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 }}';