ExperimentsOperations Class

ExperimentsOperations async operations.

You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.

Inheritance
builtins.object
ExperimentsOperations

Constructor

ExperimentsOperations(client, config, serializer, deserializer)

Parameters

client
Required

Client for service requests.

config
Required

Configuration of service client.

serializer
Required

An object model serializer.

deserializer
Required

An object model deserializer.

Variables

models

Alias to model classes used in this operation group.

Methods

begin_create_or_update

Creates or updates an Experiment.

Creates or updates an Experiment.

begin_delete

Deletes an Experiment.

Deletes an Experiment.

begin_update

Updates an Experiment by Experiment id.

Updates an Experiment.

get

Gets an Experiment by ExperimentName.

Gets an Experiment by ExperimentName.

list_by_profile

Gets a list of Experiments.

Gets a list of Experiments.

begin_create_or_update

Creates or updates an Experiment.

Creates or updates an Experiment.

async begin_create_or_update(resource_group_name: str, profile_name: str, experiment_name: str, parameters: azure.mgmt.frontdoor.models._models_py3.Experiment, **kwargs: Any) -> azure.core.polling._async_poller.AsyncLROPoller[azure.mgmt.frontdoor.models._models_py3.Experiment]

Parameters

resource_group_name
str
Required

Name of the Resource group within the Azure subscription.

profile_name
str
Required

The Profile identifier associated with the Tenant and Partner.

experiment_name
str
Required

The Experiment identifier associated with the Experiment.

parameters
Experiment
Required

The Experiment resource.

cls
callable

A custom type or function that will be passed the direct response

continuation_token
str

A continuation token to restart a poller from a saved state.

polling
bool or AsyncPollingMethod

By default, your polling method will be AsyncARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.

polling_interval
int

Default waiting time between two polls for LRO operations if no Retry-After header is present.

Returns

An instance of AsyncLROPoller that returns either Experiment or the result of cls(response)

Return type

Exceptions

begin_delete

Deletes an Experiment.

Deletes an Experiment.

async begin_delete(resource_group_name: str, profile_name: str, experiment_name: str, **kwargs: Any) -> azure.core.polling._async_poller.AsyncLROPoller[None]

Parameters

resource_group_name
str
Required

Name of the Resource group within the Azure subscription.

profile_name
str
Required

The Profile identifier associated with the Tenant and Partner.

experiment_name
str
Required

The Experiment identifier associated with the Experiment.

cls
callable

A custom type or function that will be passed the direct response

continuation_token
str

A continuation token to restart a poller from a saved state.

polling
bool or AsyncPollingMethod

By default, your polling method will be AsyncARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.

polling_interval
int

Default waiting time between two polls for LRO operations if no Retry-After header is present.

Returns

An instance of AsyncLROPoller that returns either None or the result of cls(response)

Return type

Exceptions

begin_update

Updates an Experiment by Experiment id.

Updates an Experiment.

async begin_update(resource_group_name: str, profile_name: str, experiment_name: str, parameters: azure.mgmt.frontdoor.models._models_py3.ExperimentUpdateModel, **kwargs: Any) -> azure.core.polling._async_poller.AsyncLROPoller[azure.mgmt.frontdoor.models._models_py3.Experiment]

Parameters

resource_group_name
str
Required

Name of the Resource group within the Azure subscription.

profile_name
str
Required

The Profile identifier associated with the Tenant and Partner.

experiment_name
str
Required

The Experiment identifier associated with the Experiment.

parameters
ExperimentUpdateModel
Required

The Experiment Update Model.

cls
callable

A custom type or function that will be passed the direct response

continuation_token
str

A continuation token to restart a poller from a saved state.

polling
bool or AsyncPollingMethod

By default, your polling method will be AsyncARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.

polling_interval
int

Default waiting time between two polls for LRO operations if no Retry-After header is present.

Returns

An instance of AsyncLROPoller that returns either Experiment or the result of cls(response)

Return type

Exceptions

get

Gets an Experiment by ExperimentName.

Gets an Experiment by ExperimentName.

async get(resource_group_name: str, profile_name: str, experiment_name: str, **kwargs: Any) -> azure.mgmt.frontdoor.models._models_py3.Experiment

Parameters

resource_group_name
str
Required

Name of the Resource group within the Azure subscription.

profile_name
str
Required

The Profile identifier associated with the Tenant and Partner.

experiment_name
str
Required

The Experiment identifier associated with the Experiment.

cls
callable

A custom type or function that will be passed the direct response

Returns

Experiment, or the result of cls(response)

Return type

Exceptions

list_by_profile

Gets a list of Experiments.

Gets a list of Experiments.

list_by_profile(resource_group_name: str, profile_name: str, **kwargs: Any) -> AsyncIterable[azure.mgmt.frontdoor.models._models_py3.ExperimentList]

Parameters

resource_group_name
str
Required

Name of the Resource group within the Azure subscription.

profile_name
str
Required

The Profile identifier associated with the Tenant and Partner.

cls
callable

A custom type or function that will be passed the direct response

Returns

An iterator like instance of either ExperimentList or the result of cls(response)

Return type

Exceptions

Attributes

models

models = <module 'azure.mgmt.frontdoor.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\frontdoor\\models\\__init__.py'>