Skip to main content

network_experiment_profiles

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

Overview

Namenetwork_experiment_profiles
TypeResource
Idazure.front_door.network_experiment_profiles

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringResource ID.
namestringResource name.
enabledStatestringThe state of the Experiment. Known values are: "Enabled" and "Disabled". (Enabled, Disabled)
etagstringGets a unique read-only string that changes whenever the resource is updated.
locationstringResource location.
resourceStatestringResource status. Known values are: "Creating", "Enabling", "Enabled", "Disabling", "Disabled", and "Deleting". (Creating, Enabling, Enabled, Disabling, Disabled, Deleting)
tagsobjectResource tags.
typestringResource type.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, profile_name, subscription_idGets an NetworkExperiment Profile by ProfileName. Gets an NetworkExperiment Profile by ProfileName.
list_by_resource_groupselectresource_group_name, subscription_idGets a list of Network Experiment Profiles within a resource group under a subscription. Gets a list of Network Experiment Profiles within a resource group under a subscription.
listselectsubscription_idGets a list of Network Experiment Profiles under a subscription. Gets a list of Network Experiment Profiles under a subscription.
create_or_updateinsertprofile_name, resource_group_name, subscription_idCreates an NetworkExperiment Profile. Creates an NetworkExperiment Profile.
updateupdateresource_group_name, profile_name, subscription_idUpdates an NetworkExperimentProfiles by NetworkExperimentProfile name. Updates an NetworkExperimentProfiles.
create_or_updatereplaceprofile_name, resource_group_name, subscription_idCreates an NetworkExperiment Profile. Creates an NetworkExperiment Profile.
deletedeleteresource_group_name, profile_name, subscription_idDeletes an NetworkExperiment Profile by ProfileName. Deletes an NetworkExperiment Profile by ProfileName.

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
profile_namestringThe Profile identifier associated with the Tenant and Partner. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring

SELECT examples

Gets an NetworkExperiment Profile by ProfileName. Gets an NetworkExperiment Profile by ProfileName.

SELECT
id,
name,
enabledState,
etag,
location,
resourceState,
tags,
type
FROM azure.front_door.network_experiment_profiles
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND profile_name = '{{ profile_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

INSERT examples

Creates an NetworkExperiment Profile. Creates an NetworkExperiment Profile.

INSERT INTO azure.front_door.network_experiment_profiles (
location,
tags,
properties,
etag,
profile_name,
resource_group_name,
subscription_id
)
SELECT
'{{ location }}',
'{{ tags }}',
'{{ properties }}',
'{{ etag }}',
'{{ profile_name }}',
'{{ resource_group_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
etag,
location,
properties,
tags,
type
;

UPDATE examples

Updates an NetworkExperimentProfiles by NetworkExperimentProfile name. Updates an NetworkExperimentProfiles.

UPDATE azure.front_door.network_experiment_profiles
SET
properties = '{{ properties }}',
tags = '{{ tags }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND profile_name = '{{ profile_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
etag,
location,
properties,
tags,
type;

REPLACE examples

Creates an NetworkExperiment Profile. Creates an NetworkExperiment Profile.

REPLACE azure.front_door.network_experiment_profiles
SET
location = '{{ location }}',
tags = '{{ tags }}',
properties = '{{ properties }}',
etag = '{{ etag }}'
WHERE
profile_name = '{{ profile_name }}' --required
AND resource_group_name = '{{ resource_group_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
etag,
location,
properties,
tags,
type;

DELETE examples

Deletes an NetworkExperiment Profile by ProfileName. Deletes an NetworkExperiment Profile by ProfileName.

DELETE FROM azure.front_door.network_experiment_profiles
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND profile_name = '{{ profile_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;