共用方式為


Workspaces interface

代表工作區的介面。

方法

beginCreateAndUpdate(string, string, WorkspacesCreateAndUpdateOptionalParams)

建立或更新工作區。

beginCreateAndUpdateAndWait(string, string, WorkspacesCreateAndUpdateOptionalParams)

建立或更新工作區。

beginDelete(string, string, WorkspacesDeleteOptionalParams)

刪除工作區。

beginDeleteAndWait(string, string, WorkspacesDeleteOptionalParams)

刪除工作區。

get(string, string, WorkspacesGetOptionalParams)

傳回具有指定名稱的工作區。

listByResourceGroup(string, WorkspacesListByResourceGroupOptionalParams)

傳回指定資源群組中的工作區清單。

listBySubscription(WorkspacesListBySubscriptionOptionalParams)

傳回指定訂用帳戶下工作區的清單。

update(string, string, WorkspacesUpdateOptionalParams)

更新工作區。

方法詳細資料

beginCreateAndUpdate(string, string, WorkspacesCreateAndUpdateOptionalParams)

建立或更新工作區。

function beginCreateAndUpdate(resourceGroupName: string, workspaceName: string, options?: WorkspacesCreateAndUpdateOptionalParams): Promise<SimplePollerLike<OperationState<WorkspaceResource>, WorkspaceResource>>

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

workspaceName

string

工作區的名稱。

options
WorkspacesCreateAndUpdateOptionalParams

選項參數。

傳回

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

beginCreateAndUpdateAndWait(string, string, WorkspacesCreateAndUpdateOptionalParams)

建立或更新工作區。

function beginCreateAndUpdateAndWait(resourceGroupName: string, workspaceName: string, options?: WorkspacesCreateAndUpdateOptionalParams): Promise<WorkspaceResource>

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

workspaceName

string

工作區的名稱。

options
WorkspacesCreateAndUpdateOptionalParams

選項參數。

傳回

beginDelete(string, string, WorkspacesDeleteOptionalParams)

刪除工作區。

function beginDelete(resourceGroupName: string, workspaceName: string, options?: WorkspacesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

workspaceName

string

工作區的名稱。

options
WorkspacesDeleteOptionalParams

選項參數。

傳回

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

beginDeleteAndWait(string, string, WorkspacesDeleteOptionalParams)

刪除工作區。

function beginDeleteAndWait(resourceGroupName: string, workspaceName: string, options?: WorkspacesDeleteOptionalParams): Promise<void>

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

workspaceName

string

工作區的名稱。

options
WorkspacesDeleteOptionalParams

選項參數。

傳回

Promise<void>

get(string, string, WorkspacesGetOptionalParams)

傳回具有指定名稱的工作區。

function get(resourceGroupName: string, workspaceName: string, options?: WorkspacesGetOptionalParams): Promise<WorkspaceResource>

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

workspaceName

string

工作區的名稱。

options
WorkspacesGetOptionalParams

選項參數。

傳回

listByResourceGroup(string, WorkspacesListByResourceGroupOptionalParams)

傳回指定資源群組中的工作區清單。

function listByResourceGroup(resourceGroupName: string, options?: WorkspacesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<WorkspaceResource, WorkspaceResource[], PageSettings>

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

傳回

listBySubscription(WorkspacesListBySubscriptionOptionalParams)

傳回指定訂用帳戶下工作區的清單。

function listBySubscription(options?: WorkspacesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<WorkspaceResource, WorkspaceResource[], PageSettings>

參數

傳回

update(string, string, WorkspacesUpdateOptionalParams)

更新工作區。

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

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

workspaceName

string

工作區的名稱。

options
WorkspacesUpdateOptionalParams

選項參數。

傳回