共用方式為


Workspaces class

代表工作區的類別。

建構函式

Workspaces(BatchAIManagementClientContext)

建立工作區。

方法

beginCreate(string, string, WorkspaceCreateParameters, RequestOptionsBase)

建立工作區。

beginDeleteMethod(string, string, RequestOptionsBase)

刪除工作區。

create(string, string, WorkspaceCreateParameters, RequestOptionsBase)

建立工作區。

deleteMethod(string, string, RequestOptionsBase)

刪除工作區。

get(string, string, RequestOptionsBase)

取得工作區的相關信息。

get(string, string, RequestOptionsBase, ServiceCallback<Workspace>)
get(string, string, ServiceCallback<Workspace>)
list(ServiceCallback<WorkspaceListResult>)
list(WorkspacesListOptionalParams)

取得與指定訂用帳戶相關聯的工作區清單。

list(WorkspacesListOptionalParams, ServiceCallback<WorkspaceListResult>)
listByResourceGroup(string, ServiceCallback<WorkspaceListResult>)
listByResourceGroup(string, WorkspacesListByResourceGroupOptionalParams)

取得指定資源群組內的工作區清單。

listByResourceGroup(string, WorkspacesListByResourceGroupOptionalParams, ServiceCallback<WorkspaceListResult>)
listByResourceGroupNext(string, RequestOptionsBase)

取得指定資源群組內的工作區清單。

listByResourceGroupNext(string, RequestOptionsBase, ServiceCallback<WorkspaceListResult>)
listByResourceGroupNext(string, ServiceCallback<WorkspaceListResult>)
listNext(string, RequestOptionsBase)

取得與指定訂用帳戶相關聯的工作區清單。

listNext(string, RequestOptionsBase, ServiceCallback<WorkspaceListResult>)
listNext(string, ServiceCallback<WorkspaceListResult>)
update(string, string, ServiceCallback<Workspace>)
update(string, string, WorkspacesUpdateOptionalParams)

更新工作區的屬性。

update(string, string, WorkspacesUpdateOptionalParams, ServiceCallback<Workspace>)

建構函式詳細資料

Workspaces(BatchAIManagementClientContext)

建立工作區。

new Workspaces(client: BatchAIManagementClientContext)

參數

client
BatchAIManagementClientContext

服務客戶端的參考。

方法詳細資料

beginCreate(string, string, WorkspaceCreateParameters, RequestOptionsBase)

建立工作區。

function beginCreate(resourceGroupName: string, workspaceName: string, parameters: WorkspaceCreateParameters, options?: RequestOptionsBase): Promise<LROPoller>

參數

resourceGroupName

string

資源所屬的資源群組名稱。

workspaceName

string

工作區的名稱。 工作區名稱只能包含英數位元與破折號 (-) 和底線 (_) 的組合。 名稱長度必須介於 1 到 64 個字元之間。

parameters
WorkspaceCreateParameters

工作區建立參數。

options
RequestOptionsBase

選擇性參數

傳回

Promise<@azure/ms-rest-azure-js.LROPoller>

承諾<msRestAzure.LROPoller>

beginDeleteMethod(string, string, RequestOptionsBase)

刪除工作區。

function beginDeleteMethod(resourceGroupName: string, workspaceName: string, options?: RequestOptionsBase): Promise<LROPoller>

參數

resourceGroupName

string

資源所屬的資源群組名稱。

workspaceName

string

工作區的名稱。 工作區名稱只能包含英數位元與破折號 (-) 和底線 (_) 的組合。 名稱長度必須介於 1 到 64 個字元之間。

options
RequestOptionsBase

選擇性參數

傳回

Promise<@azure/ms-rest-azure-js.LROPoller>

承諾<msRestAzure.LROPoller>

create(string, string, WorkspaceCreateParameters, RequestOptionsBase)

建立工作區。

function create(resourceGroupName: string, workspaceName: string, parameters: WorkspaceCreateParameters, options?: RequestOptionsBase): Promise<WorkspacesCreateResponse>

參數

resourceGroupName

string

資源所屬的資源群組名稱。

workspaceName

string

工作區的名稱。 工作區名稱只能包含英數位元與破折號 (-) 和底線 (_) 的組合。 名稱長度必須介於 1 到 64 個字元之間。

parameters
WorkspaceCreateParameters

工作區建立參數。

options
RequestOptionsBase

選擇性參數

傳回

承諾<Models.WorkspacesCreateResponse>

deleteMethod(string, string, RequestOptionsBase)

刪除工作區。

function deleteMethod(resourceGroupName: string, workspaceName: string, options?: RequestOptionsBase): Promise<RestResponse>

參數

resourceGroupName

string

資源所屬的資源群組名稱。

workspaceName

string

工作區的名稱。 工作區名稱只能包含英數位元與破折號 (-) 和底線 (_) 的組合。 名稱長度必須介於 1 到 64 個字元之間。

options
RequestOptionsBase

選擇性參數

傳回

Promise<RestResponse>

承諾<msRest.RestResponse>

get(string, string, RequestOptionsBase)

取得工作區的相關信息。

function get(resourceGroupName: string, workspaceName: string, options?: RequestOptionsBase): Promise<WorkspacesGetResponse>

參數

resourceGroupName

string

資源所屬的資源群組名稱。

workspaceName

string

工作區的名稱。 工作區名稱只能包含英數位元與破折號 (-) 和底線 (_) 的組合。 名稱長度必須介於 1 到 64 個字元之間。

options
RequestOptionsBase

選擇性參數

傳回

承諾<Models.WorkspacesGetResponse>

get(string, string, RequestOptionsBase, ServiceCallback<Workspace>)

function get(resourceGroupName: string, workspaceName: string, options: RequestOptionsBase, callback: ServiceCallback<Workspace>)

參數

resourceGroupName

string

資源所屬的資源群組名稱。

workspaceName

string

工作區的名稱。 工作區名稱只能包含英數位元與破折號 (-) 和底線 (_) 的組合。 名稱長度必須介於 1 到 64 個字元之間。

options
RequestOptionsBase

選擇性參數

callback

ServiceCallback<Workspace>

回呼

get(string, string, ServiceCallback<Workspace>)

function get(resourceGroupName: string, workspaceName: string, callback: ServiceCallback<Workspace>)

參數

resourceGroupName

string

資源所屬的資源群組名稱。

workspaceName

string

工作區的名稱。 工作區名稱只能包含英數位元與破折號 (-) 和底線 (_) 的組合。 名稱長度必須介於 1 到 64 個字元之間。

callback

ServiceCallback<Workspace>

回呼

list(ServiceCallback<WorkspaceListResult>)

function list(callback: ServiceCallback<WorkspaceListResult>)

參數

list(WorkspacesListOptionalParams)

取得與指定訂用帳戶相關聯的工作區清單。

function list(options?: WorkspacesListOptionalParams): Promise<WorkspacesListResponse>

參數

options
WorkspacesListOptionalParams

選擇性參數

傳回

承諾<Models.WorkspacesListResponse>

list(WorkspacesListOptionalParams, ServiceCallback<WorkspaceListResult>)

function list(options: WorkspacesListOptionalParams, callback: ServiceCallback<WorkspaceListResult>)

參數

options
WorkspacesListOptionalParams

選擇性參數

listByResourceGroup(string, ServiceCallback<WorkspaceListResult>)

function listByResourceGroup(resourceGroupName: string, callback: ServiceCallback<WorkspaceListResult>)

參數

resourceGroupName

string

資源所屬的資源群組名稱。

listByResourceGroup(string, WorkspacesListByResourceGroupOptionalParams)

取得指定資源群組內的工作區清單。

function listByResourceGroup(resourceGroupName: string, options?: WorkspacesListByResourceGroupOptionalParams): Promise<WorkspacesListByResourceGroupResponse>

參數

resourceGroupName

string

資源所屬的資源群組名稱。

傳回

承諾<Models.WorkspacesListByResourceGroupResponse>

listByResourceGroup(string, WorkspacesListByResourceGroupOptionalParams, ServiceCallback<WorkspaceListResult>)

function listByResourceGroup(resourceGroupName: string, options: WorkspacesListByResourceGroupOptionalParams, callback: ServiceCallback<WorkspaceListResult>)

參數

resourceGroupName

string

資源所屬的資源群組名稱。

listByResourceGroupNext(string, RequestOptionsBase)

取得指定資源群組內的工作區清單。

function listByResourceGroupNext(nextPageLink: string, options?: RequestOptionsBase): Promise<WorkspacesListByResourceGroupNextResponse>

參數

nextPageLink

string

上一次成功呼叫 List 作業的 NextLink。

options
RequestOptionsBase

選擇性參數

傳回

Promise<Models.WorkspacesListByResourceGroupNext回應>

listByResourceGroupNext(string, RequestOptionsBase, ServiceCallback<WorkspaceListResult>)

function listByResourceGroupNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<WorkspaceListResult>)

參數

nextPageLink

string

上一次成功呼叫 List 作業的 NextLink。

options
RequestOptionsBase

選擇性參數

listByResourceGroupNext(string, ServiceCallback<WorkspaceListResult>)

function listByResourceGroupNext(nextPageLink: string, callback: ServiceCallback<WorkspaceListResult>)

參數

nextPageLink

string

上一次成功呼叫 List 作業的 NextLink。

listNext(string, RequestOptionsBase)

取得與指定訂用帳戶相關聯的工作區清單。

function listNext(nextPageLink: string, options?: RequestOptionsBase): Promise<WorkspacesListNextResponse>

參數

nextPageLink

string

上一次成功呼叫 List 作業的 NextLink。

options
RequestOptionsBase

選擇性參數

傳回

Promise<Models.WorkspacesListNext回應>

listNext(string, RequestOptionsBase, ServiceCallback<WorkspaceListResult>)

function listNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<WorkspaceListResult>)

參數

nextPageLink

string

上一次成功呼叫 List 作業的 NextLink。

options
RequestOptionsBase

選擇性參數

listNext(string, ServiceCallback<WorkspaceListResult>)

function listNext(nextPageLink: string, callback: ServiceCallback<WorkspaceListResult>)

參數

nextPageLink

string

上一次成功呼叫 List 作業的 NextLink。

update(string, string, ServiceCallback<Workspace>)

function update(resourceGroupName: string, workspaceName: string, callback: ServiceCallback<Workspace>)

參數

resourceGroupName

string

資源所屬的資源群組名稱。

workspaceName

string

工作區的名稱。 工作區名稱只能包含英數位元與破折號 (-) 和底線 (_) 的組合。 名稱長度必須介於 1 到 64 個字元之間。

callback

ServiceCallback<Workspace>

回呼

update(string, string, WorkspacesUpdateOptionalParams)

更新工作區的屬性。

function update(resourceGroupName: string, workspaceName: string, options?: WorkspacesUpdateOptionalParams): Promise<WorkspacesUpdateResponse>

參數

resourceGroupName

string

資源所屬的資源群組名稱。

workspaceName

string

工作區的名稱。 工作區名稱只能包含英數位元與破折號 (-) 和底線 (_) 的組合。 名稱長度必須介於 1 到 64 個字元之間。

options
WorkspacesUpdateOptionalParams

選擇性參數

傳回

承諾<Models.WorkspacesUpdateResponse>

update(string, string, WorkspacesUpdateOptionalParams, ServiceCallback<Workspace>)

function update(resourceGroupName: string, workspaceName: string, options: WorkspacesUpdateOptionalParams, callback: ServiceCallback<Workspace>)

參數

resourceGroupName

string

資源所屬的資源群組名稱。

workspaceName

string

工作區的名稱。 工作區名稱只能包含英數位元與破折號 (-) 和底線 (_) 的組合。 名稱長度必須介於 1 到 64 個字元之間。

options
WorkspacesUpdateOptionalParams

選擇性參數

callback

ServiceCallback<Workspace>

回呼