Experiments class
代表實驗的類別。
建構函式
| Experiments(Batch |
建立實驗。 |
方法
建構函式詳細資料
Experiments(BatchAIManagementClientContext)
建立實驗。
new Experiments(client: BatchAIManagementClientContext)
參數
服務客戶端的參考。
方法詳細資料
beginCreate(string, string, string, RequestOptionsBase)
建立實驗。
function beginCreate(resourceGroupName: string, workspaceName: string, experimentName: string, options?: RequestOptionsBase): Promise<LROPoller>
參數
- resourceGroupName
-
string
資源所屬的資源群組名稱。
- workspaceName
-
string
工作區的名稱。 工作區名稱只能包含英數位元與破折號 (-) 和底線 (_) 的組合。 名稱長度必須介於 1 到 64 個字元之間。
- experimentName
-
string
實驗的名稱。 實驗名稱只能包含英數位元與破折號 (-) 和底線 (_) 的組合。 名稱長度必須介於 1 到 64 個字元之間。
- options
- RequestOptionsBase
選擇性參數
傳回
Promise<@azure/ms-rest-azure-js.LROPoller>
承諾<msRestAzure.LROPoller>
beginDeleteMethod(string, string, string, RequestOptionsBase)
刪除實驗。
function beginDeleteMethod(resourceGroupName: string, workspaceName: string, experimentName: string, options?: RequestOptionsBase): Promise<LROPoller>
參數
- resourceGroupName
-
string
資源所屬的資源群組名稱。
- workspaceName
-
string
工作區的名稱。 工作區名稱只能包含英數位元與破折號 (-) 和底線 (_) 的組合。 名稱長度必須介於 1 到 64 個字元之間。
- experimentName
-
string
實驗的名稱。 實驗名稱只能包含英數位元與破折號 (-) 和底線 (_) 的組合。 名稱長度必須介於 1 到 64 個字元之間。
- options
- RequestOptionsBase
選擇性參數
傳回
Promise<@azure/ms-rest-azure-js.LROPoller>
承諾<msRestAzure.LROPoller>
create(string, string, string, RequestOptionsBase)
建立實驗。
function create(resourceGroupName: string, workspaceName: string, experimentName: string, options?: RequestOptionsBase): Promise<ExperimentsCreateResponse>
參數
- resourceGroupName
-
string
資源所屬的資源群組名稱。
- workspaceName
-
string
工作區的名稱。 工作區名稱只能包含英數位元與破折號 (-) 和底線 (_) 的組合。 名稱長度必須介於 1 到 64 個字元之間。
- experimentName
-
string
實驗的名稱。 實驗名稱只能包含英數位元與破折號 (-) 和底線 (_) 的組合。 名稱長度必須介於 1 到 64 個字元之間。
- options
- RequestOptionsBase
選擇性參數
傳回
Promise<ExperimentsCreateResponse>
Promise<Models.ExperimentsCreateResponse>
deleteMethod(string, string, string, RequestOptionsBase)
刪除實驗。
function deleteMethod(resourceGroupName: string, workspaceName: string, experimentName: string, options?: RequestOptionsBase): Promise<RestResponse>
參數
- resourceGroupName
-
string
資源所屬的資源群組名稱。
- workspaceName
-
string
工作區的名稱。 工作區名稱只能包含英數位元與破折號 (-) 和底線 (_) 的組合。 名稱長度必須介於 1 到 64 個字元之間。
- experimentName
-
string
實驗的名稱。 實驗名稱只能包含英數位元與破折號 (-) 和底線 (_) 的組合。 名稱長度必須介於 1 到 64 個字元之間。
- options
- RequestOptionsBase
選擇性參數
傳回
Promise<RestResponse>
承諾<msRest.RestResponse>
get(string, string, string, RequestOptionsBase)
取得實驗的相關信息。
function get(resourceGroupName: string, workspaceName: string, experimentName: string, options?: RequestOptionsBase): Promise<ExperimentsGetResponse>
參數
- resourceGroupName
-
string
資源所屬的資源群組名稱。
- workspaceName
-
string
工作區的名稱。 工作區名稱只能包含英數位元與破折號 (-) 和底線 (_) 的組合。 名稱長度必須介於 1 到 64 個字元之間。
- experimentName
-
string
實驗的名稱。 實驗名稱只能包含英數位元與破折號 (-) 和底線 (_) 的組合。 名稱長度必須介於 1 到 64 個字元之間。
- options
- RequestOptionsBase
選擇性參數
傳回
Promise<ExperimentsGetResponse>
承諾<Models.ExperimentsGetResponse>
get(string, string, string, RequestOptionsBase, ServiceCallback<Experiment>)
function get(resourceGroupName: string, workspaceName: string, experimentName: string, options: RequestOptionsBase, callback: ServiceCallback<Experiment>)
參數
- resourceGroupName
-
string
資源所屬的資源群組名稱。
- workspaceName
-
string
工作區的名稱。 工作區名稱只能包含英數位元與破折號 (-) 和底線 (_) 的組合。 名稱長度必須介於 1 到 64 個字元之間。
- experimentName
-
string
實驗的名稱。 實驗名稱只能包含英數位元與破折號 (-) 和底線 (_) 的組合。 名稱長度必須介於 1 到 64 個字元之間。
- options
- RequestOptionsBase
選擇性參數
- callback
回呼
get(string, string, string, ServiceCallback<Experiment>)
function get(resourceGroupName: string, workspaceName: string, experimentName: string, callback: ServiceCallback<Experiment>)
參數
- resourceGroupName
-
string
資源所屬的資源群組名稱。
- workspaceName
-
string
工作區的名稱。 工作區名稱只能包含英數位元與破折號 (-) 和底線 (_) 的組合。 名稱長度必須介於 1 到 64 個字元之間。
- experimentName
-
string
實驗的名稱。 實驗名稱只能包含英數位元與破折號 (-) 和底線 (_) 的組合。 名稱長度必須介於 1 到 64 個字元之間。
- callback
回呼
listByWorkspace(string, string, ExperimentsListByWorkspaceOptionalParams)
取得指定工作區內的實驗清單。
function listByWorkspace(resourceGroupName: string, workspaceName: string, options?: ExperimentsListByWorkspaceOptionalParams): Promise<ExperimentsListByWorkspaceResponse>
參數
- resourceGroupName
-
string
資源所屬的資源群組名稱。
- workspaceName
-
string
工作區的名稱。 工作區名稱只能包含英數位元與破折號 (-) 和底線 (_) 的組合。 名稱長度必須介於 1 到 64 個字元之間。
選擇性參數
傳回
Promise<ExperimentsListByWorkspaceResponse>
Promise<Models.ExperimentsListByWorkspaceResponse>
listByWorkspace(string, string, ExperimentsListByWorkspaceOptionalParams, ServiceCallback<ExperimentListResult>)
function listByWorkspace(resourceGroupName: string, workspaceName: string, options: ExperimentsListByWorkspaceOptionalParams, callback: ServiceCallback<ExperimentListResult>)
參數
- resourceGroupName
-
string
資源所屬的資源群組名稱。
- workspaceName
-
string
工作區的名稱。 工作區名稱只能包含英數位元與破折號 (-) 和底線 (_) 的組合。 名稱長度必須介於 1 到 64 個字元之間。
選擇性參數
- callback
回呼
listByWorkspace(string, string, ServiceCallback<ExperimentListResult>)
function listByWorkspace(resourceGroupName: string, workspaceName: string, callback: ServiceCallback<ExperimentListResult>)
參數
- resourceGroupName
-
string
資源所屬的資源群組名稱。
- workspaceName
-
string
工作區的名稱。 工作區名稱只能包含英數位元與破折號 (-) 和底線 (_) 的組合。 名稱長度必須介於 1 到 64 個字元之間。
- callback
回呼
listByWorkspaceNext(string, RequestOptionsBase)
取得指定工作區內的實驗清單。
function listByWorkspaceNext(nextPageLink: string, options?: RequestOptionsBase): Promise<ExperimentsListByWorkspaceNextResponse>
參數
- nextPageLink
-
string
上一次成功呼叫 List 作業的 NextLink。
- options
- RequestOptionsBase
選擇性參數
傳回
Promise<Models.ExperimentsListByWorkspaceNextResponse>
listByWorkspaceNext(string, RequestOptionsBase, ServiceCallback<ExperimentListResult>)
function listByWorkspaceNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<ExperimentListResult>)
參數
- nextPageLink
-
string
上一次成功呼叫 List 作業的 NextLink。
- options
- RequestOptionsBase
選擇性參數
- callback
回呼
listByWorkspaceNext(string, ServiceCallback<ExperimentListResult>)
function listByWorkspaceNext(nextPageLink: string, callback: ServiceCallback<ExperimentListResult>)
參數
- nextPageLink
-
string
上一次成功呼叫 List 作業的 NextLink。
- callback
回呼