Skip to main content

experiments

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

Overview

Nameexperiments
TypeResource
Idazure.front_door.experiments

Fields

NameDatatypeDescription
idtextResource ID.
nametextResource name.
descriptiontextfield from the properties object
enabled_statetextfield from the properties object
endpointatextfield from the properties object
endpointbtextfield from the properties object
experimentNametextfield from the properties object
locationtextResource location.
profileNametextfield from the properties object
resourceGroupNametextfield from the properties object
resource_statetextfield from the properties object
script_file_uritextfield from the properties object
statustextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextResource tags.
typetextResource type.

Methods

NameAccessible byRequired ParamsDescription
getSELECTexperimentName, profileName, resourceGroupName, subscriptionId
list_by_profileSELECTprofileName, resourceGroupName, subscriptionId
create_or_updateINSERTexperimentName, profileName, resourceGroupName, subscriptionId
deleteDELETEexperimentName, profileName, resourceGroupName, subscriptionId
updateUPDATEexperimentName, profileName, resourceGroupName, subscriptionIdUpdates an Experiment

SELECT examples

SELECT
id,
name,
description,
enabled_state,
endpointa,
endpointb,
experimentName,
location,
profileName,
resourceGroupName,
resource_state,
script_file_uri,
status,
subscriptionId,
tags,
type
FROM azure.front_door.vw_experiments
WHERE profileName = '{{ profileName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.front_door.experiments (
experimentName,
profileName,
resourceGroupName,
subscriptionId,
properties,
location,
tags
)
SELECT
'{{ experimentName }}',
'{{ profileName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ location }}',
'{{ tags }}'
;

UPDATE example

Updates a experiments resource.

/*+ update */
UPDATE azure.front_door.experiments
SET
tags = '{{ tags }}',
properties = '{{ properties }}'
WHERE
experimentName = '{{ experimentName }}'
AND profileName = '{{ profileName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified experiments resource.

/*+ delete */
DELETE FROM azure.front_door.experiments
WHERE experimentName = '{{ experimentName }}'
AND profileName = '{{ profileName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';