Experiments interface
代表實驗的介面。
方法
方法詳細資料
cancel(string, string, ExperimentsCancelOptionalParams)
取消執行中的實驗資源。
function cancel(resourceGroupName: string, experimentName: string, options?: ExperimentsCancelOptionalParams): Promise<ExperimentCancelOperationResult>
參數
- resourceGroupName
-
string
代表 Azure 資源群組的字串。
- experimentName
-
string
代表實驗資源名稱的字串。
- options
- ExperimentsCancelOptionalParams
選項參數。
傳回
Promise<ExperimentCancelOperationResult>
createOrUpdate(string, string, Experiment, ExperimentsCreateOrUpdateOptionalParams)
建立或更新實驗資源。
function createOrUpdate(resourceGroupName: string, experimentName: string, experiment: Experiment, options?: ExperimentsCreateOrUpdateOptionalParams): Promise<Experiment>
參數
- resourceGroupName
-
string
代表 Azure 資源群組的字串。
- experimentName
-
string
代表實驗資源名稱的字串。
- experiment
- Experiment
要建立或更新的實驗資源。
選項參數。
傳回
Promise<Experiment>
delete(string, string, ExperimentsDeleteOptionalParams)
刪除實驗資源。
function delete(resourceGroupName: string, experimentName: string, options?: ExperimentsDeleteOptionalParams): Promise<void>
參數
- resourceGroupName
-
string
代表 Azure 資源群組的字串。
- experimentName
-
string
代表實驗資源名稱的字串。
- options
- ExperimentsDeleteOptionalParams
選項參數。
傳回
Promise<void>
get(string, string, ExperimentsGetOptionalParams)
取得實驗資源。
function get(resourceGroupName: string, experimentName: string, options?: ExperimentsGetOptionalParams): Promise<Experiment>
參數
- resourceGroupName
-
string
代表 Azure 資源群組的字串。
- experimentName
-
string
代表實驗資源名稱的字串。
- options
- ExperimentsGetOptionalParams
選項參數。
傳回
Promise<Experiment>
getExecutionDetails(string, string, string, ExperimentsGetExecutionDetailsOptionalParams)
取得實驗資源的執行詳細數據。
function getExecutionDetails(resourceGroupName: string, experimentName: string, executionDetailsId: string, options?: ExperimentsGetExecutionDetailsOptionalParams): Promise<ExperimentExecutionDetails>
參數
- resourceGroupName
-
string
代表 Azure 資源群組的字串。
- experimentName
-
string
代表實驗資源名稱的字串。
- executionDetailsId
-
string
代表實驗執行詳細數據的 GUID。
選項參數。
傳回
Promise<ExperimentExecutionDetails>
getStatus(string, string, string, ExperimentsGetStatusOptionalParams)
取得實驗資源的狀態。
function getStatus(resourceGroupName: string, experimentName: string, statusId: string, options?: ExperimentsGetStatusOptionalParams): Promise<ExperimentStatus>
參數
- resourceGroupName
-
string
代表 Azure 資源群組的字串。
- experimentName
-
string
代表實驗資源名稱的字串。
- statusId
-
string
代表實驗狀態的 GUID。
選項參數。
傳回
Promise<ExperimentStatus>
list(string, ExperimentsListOptionalParams)
取得資源群組中的實驗資源清單。
function list(resourceGroupName: string, options?: ExperimentsListOptionalParams): PagedAsyncIterableIterator<Experiment, Experiment[], PageSettings>
參數
- resourceGroupName
-
string
代表 Azure 資源群組的字串。
- options
- ExperimentsListOptionalParams
選項參數。
傳回
listAll(ExperimentsListAllOptionalParams)
取得訂用帳戶中的實驗資源清單。
function listAll(options?: ExperimentsListAllOptionalParams): PagedAsyncIterableIterator<Experiment, Experiment[], PageSettings>
參數
- options
- ExperimentsListAllOptionalParams
選項參數。
傳回
listAllStatuses(string, string, ExperimentsListAllStatusesOptionalParams)
取得實驗資源的狀態清單。
function listAllStatuses(resourceGroupName: string, experimentName: string, options?: ExperimentsListAllStatusesOptionalParams): PagedAsyncIterableIterator<ExperimentStatus, ExperimentStatus[], PageSettings>
參數
- resourceGroupName
-
string
代表 Azure 資源群組的字串。
- experimentName
-
string
代表實驗資源名稱的字串。
選項參數。
傳回
listExecutionDetails(string, string, ExperimentsListExecutionDetailsOptionalParams)
取得實驗資源的執行詳細數據清單。
function listExecutionDetails(resourceGroupName: string, experimentName: string, options?: ExperimentsListExecutionDetailsOptionalParams): PagedAsyncIterableIterator<ExperimentExecutionDetails, ExperimentExecutionDetails[], PageSettings>
參數
- resourceGroupName
-
string
代表 Azure 資源群組的字串。
- experimentName
-
string
代表實驗資源名稱的字串。
選項參數。
傳回
start(string, string, ExperimentsStartOptionalParams)
啟動實驗資源。
function start(resourceGroupName: string, experimentName: string, options?: ExperimentsStartOptionalParams): Promise<ExperimentStartOperationResult>
參數
- resourceGroupName
-
string
代表 Azure 資源群組的字串。
- experimentName
-
string
代表實驗資源名稱的字串。
- options
- ExperimentsStartOptionalParams
選項參數。
傳回
Promise<ExperimentStartOperationResult>
update(string, string, ExperimentUpdate, ExperimentsUpdateOptionalParams)
更新實驗的作業。
function update(resourceGroupName: string, experimentName: string, experiment: ExperimentUpdate, options?: ExperimentsUpdateOptionalParams): Promise<Experiment>
參數
- resourceGroupName
-
string
代表 Azure 資源群組的字串。
- experimentName
-
string
代表實驗資源名稱的字串。
- experiment
- ExperimentUpdate
提供給更新實驗作業的參數。
- options
- ExperimentsUpdateOptionalParams
選項參數。
傳回
Promise<Experiment>