Partager via


Experiments interface

Interface representing a Experiments.

Methods

beginCreateOrUpdate(string, string, string, Experiment, ExperimentsCreateOrUpdateOptionalParams)

Creates or updates an Experiment

beginCreateOrUpdateAndWait(string, string, string, Experiment, ExperimentsCreateOrUpdateOptionalParams)

Creates or updates an Experiment

beginDelete(string, string, string, ExperimentsDeleteOptionalParams)

Deletes an Experiment

beginDeleteAndWait(string, string, string, ExperimentsDeleteOptionalParams)

Deletes an Experiment

beginUpdate(string, string, string, ExperimentUpdateModel, ExperimentsUpdateOptionalParams)

Updates an Experiment

beginUpdateAndWait(string, string, string, ExperimentUpdateModel, ExperimentsUpdateOptionalParams)

Updates an Experiment

get(string, string, string, ExperimentsGetOptionalParams)

Gets an Experiment by ExperimentName

listByProfile(string, string, ExperimentsListByProfileOptionalParams)

Gets a list of Experiments

Method Details

beginCreateOrUpdate(string, string, string, Experiment, ExperimentsCreateOrUpdateOptionalParams)

Creates or updates an Experiment

function beginCreateOrUpdate(resourceGroupName: string, profileName: string, experimentName: string, parameters: Experiment, options?: ExperimentsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<Experiment>, Experiment>>

Parameters

resourceGroupName

string

Name of the Resource group within the Azure subscription.

profileName

string

The Profile identifier associated with the Tenant and Partner

experimentName

string

The Experiment identifier associated with the Experiment

parameters
Experiment

The Experiment resource

options
ExperimentsCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<Experiment>, Experiment>>

beginCreateOrUpdateAndWait(string, string, string, Experiment, ExperimentsCreateOrUpdateOptionalParams)

Creates or updates an Experiment

function beginCreateOrUpdateAndWait(resourceGroupName: string, profileName: string, experimentName: string, parameters: Experiment, options?: ExperimentsCreateOrUpdateOptionalParams): Promise<Experiment>

Parameters

resourceGroupName

string

Name of the Resource group within the Azure subscription.

profileName

string

The Profile identifier associated with the Tenant and Partner

experimentName

string

The Experiment identifier associated with the Experiment

parameters
Experiment

The Experiment resource

options
ExperimentsCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<Experiment>

beginDelete(string, string, string, ExperimentsDeleteOptionalParams)

Deletes an Experiment

function beginDelete(resourceGroupName: string, profileName: string, experimentName: string, options?: ExperimentsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

resourceGroupName

string

Name of the Resource group within the Azure subscription.

profileName

string

The Profile identifier associated with the Tenant and Partner

experimentName

string

The Experiment identifier associated with the Experiment

options
ExperimentsDeleteOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait(string, string, string, ExperimentsDeleteOptionalParams)

Deletes an Experiment

function beginDeleteAndWait(resourceGroupName: string, profileName: string, experimentName: string, options?: ExperimentsDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the Resource group within the Azure subscription.

profileName

string

The Profile identifier associated with the Tenant and Partner

experimentName

string

The Experiment identifier associated with the Experiment

options
ExperimentsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

beginUpdate(string, string, string, ExperimentUpdateModel, ExperimentsUpdateOptionalParams)

Updates an Experiment

function beginUpdate(resourceGroupName: string, profileName: string, experimentName: string, parameters: ExperimentUpdateModel, options?: ExperimentsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<Experiment>, Experiment>>

Parameters

resourceGroupName

string

Name of the Resource group within the Azure subscription.

profileName

string

The Profile identifier associated with the Tenant and Partner

experimentName

string

The Experiment identifier associated with the Experiment

parameters
ExperimentUpdateModel

The Experiment Update Model

options
ExperimentsUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<Experiment>, Experiment>>

beginUpdateAndWait(string, string, string, ExperimentUpdateModel, ExperimentsUpdateOptionalParams)

Updates an Experiment

function beginUpdateAndWait(resourceGroupName: string, profileName: string, experimentName: string, parameters: ExperimentUpdateModel, options?: ExperimentsUpdateOptionalParams): Promise<Experiment>

Parameters

resourceGroupName

string

Name of the Resource group within the Azure subscription.

profileName

string

The Profile identifier associated with the Tenant and Partner

experimentName

string

The Experiment identifier associated with the Experiment

parameters
ExperimentUpdateModel

The Experiment Update Model

options
ExperimentsUpdateOptionalParams

The options parameters.

Returns

Promise<Experiment>

get(string, string, string, ExperimentsGetOptionalParams)

Gets an Experiment by ExperimentName

function get(resourceGroupName: string, profileName: string, experimentName: string, options?: ExperimentsGetOptionalParams): Promise<Experiment>

Parameters

resourceGroupName

string

Name of the Resource group within the Azure subscription.

profileName

string

The Profile identifier associated with the Tenant and Partner

experimentName

string

The Experiment identifier associated with the Experiment

options
ExperimentsGetOptionalParams

The options parameters.

Returns

Promise<Experiment>

listByProfile(string, string, ExperimentsListByProfileOptionalParams)

Gets a list of Experiments

function listByProfile(resourceGroupName: string, profileName: string, options?: ExperimentsListByProfileOptionalParams): PagedAsyncIterableIterator<Experiment, Experiment[], PageSettings>

Parameters

resourceGroupName

string

Name of the Resource group within the Azure subscription.

profileName

string

The Profile identifier associated with the Tenant and Partner

options
ExperimentsListByProfileOptionalParams

The options parameters.

Returns