Experiments interface
表示试验的接口。
方法
方法详细信息
beginCreateOrUpdate(string, string, string, Experiment, ExperimentsCreateOrUpdateOptionalParams)
创建或更新试验
function beginCreateOrUpdate(resourceGroupName: string, profileName: string, experimentName: string, parameters: Experiment, options?: ExperimentsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<Experiment>, Experiment>>
参数
- resourceGroupName
-
string
Azure 订阅中的资源组的名称。
- profileName
-
string
与租户和合作伙伴关联的配置文件标识符
- experimentName
-
string
与试验关联的试验标识符
- parameters
- Experiment
试验资源
选项参数。
返回
Promise<@azure/core-lro.SimplePollerLike<OperationState<Experiment>, Experiment>>
beginCreateOrUpdateAndWait(string, string, string, Experiment, ExperimentsCreateOrUpdateOptionalParams)
创建或更新试验
function beginCreateOrUpdateAndWait(resourceGroupName: string, profileName: string, experimentName: string, parameters: Experiment, options?: ExperimentsCreateOrUpdateOptionalParams): Promise<Experiment>
参数
- resourceGroupName
-
string
Azure 订阅中的资源组的名称。
- profileName
-
string
与租户和合作伙伴关联的配置文件标识符
- experimentName
-
string
与试验关联的试验标识符
- parameters
- Experiment
试验资源
选项参数。
返回
Promise<Experiment>
beginDelete(string, string, string, ExperimentsDeleteOptionalParams)
删除试验
function beginDelete(resourceGroupName: string, profileName: string, experimentName: string, options?: ExperimentsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
参数
- resourceGroupName
-
string
Azure 订阅中的资源组的名称。
- profileName
-
string
与租户和合作伙伴关联的配置文件标识符
- experimentName
-
string
与试验关联的试验标识符
- options
- ExperimentsDeleteOptionalParams
选项参数。
返回
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, string, ExperimentsDeleteOptionalParams)
删除试验
function beginDeleteAndWait(resourceGroupName: string, profileName: string, experimentName: string, options?: ExperimentsDeleteOptionalParams): Promise<void>
参数
- resourceGroupName
-
string
Azure 订阅中的资源组的名称。
- profileName
-
string
与租户和合作伙伴关联的配置文件标识符
- experimentName
-
string
与试验关联的试验标识符
- options
- ExperimentsDeleteOptionalParams
选项参数。
返回
Promise<void>
beginUpdate(string, string, string, ExperimentUpdateModel, ExperimentsUpdateOptionalParams)
更新试验
function beginUpdate(resourceGroupName: string, profileName: string, experimentName: string, parameters: ExperimentUpdateModel, options?: ExperimentsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<Experiment>, Experiment>>
参数
- resourceGroupName
-
string
Azure 订阅中的资源组的名称。
- profileName
-
string
与租户和合作伙伴关联的配置文件标识符
- experimentName
-
string
与试验关联的试验标识符
- parameters
- ExperimentUpdateModel
试验更新模型
- options
- ExperimentsUpdateOptionalParams
选项参数。
返回
Promise<@azure/core-lro.SimplePollerLike<OperationState<Experiment>, Experiment>>
beginUpdateAndWait(string, string, string, ExperimentUpdateModel, ExperimentsUpdateOptionalParams)
更新试验
function beginUpdateAndWait(resourceGroupName: string, profileName: string, experimentName: string, parameters: ExperimentUpdateModel, options?: ExperimentsUpdateOptionalParams): Promise<Experiment>
参数
- resourceGroupName
-
string
Azure 订阅中的资源组的名称。
- profileName
-
string
与租户和合作伙伴关联的配置文件标识符
- experimentName
-
string
与试验关联的试验标识符
- parameters
- ExperimentUpdateModel
试验更新模型
- options
- ExperimentsUpdateOptionalParams
选项参数。
返回
Promise<Experiment>
get(string, string, string, ExperimentsGetOptionalParams)
按 ExperimentName 获取试验
function get(resourceGroupName: string, profileName: string, experimentName: string, options?: ExperimentsGetOptionalParams): Promise<Experiment>
参数
- resourceGroupName
-
string
Azure 订阅中的资源组的名称。
- profileName
-
string
与租户和合作伙伴关联的配置文件标识符
- experimentName
-
string
与试验关联的试验标识符
- options
- ExperimentsGetOptionalParams
选项参数。
返回
Promise<Experiment>
listByProfile(string, string, ExperimentsListByProfileOptionalParams)
获取试验列表
function listByProfile(resourceGroupName: string, profileName: string, options?: ExperimentsListByProfileOptionalParams): PagedAsyncIterableIterator<Experiment, Experiment[], PageSettings>
参数
- resourceGroupName
-
string
Azure 订阅中的资源组的名称。
- profileName
-
string
与租户和合作伙伴关联的配置文件标识符
选项参数。