Workspaces interface
Interface representing a Workspaces.
Methods
begin |
Create or update a Workspace. |
begin |
Create or update a Workspace. |
begin |
Delete a Workspace. |
begin |
Delete a Workspace. |
get(string, string, Workspaces |
Returns a workspace with the given name. |
list |
Returns a list of workspaces in the given resource group. |
list |
Returns a list of workspaces under the given subscription. |
update(string, string, Workspaces |
Update a Workspace. |
Method Details
beginCreateAndUpdate(string, string, WorkspacesCreateAndUpdateOptionalParams)
Create or update a Workspace.
function beginCreateAndUpdate(resourceGroupName: string, workspaceName: string, options?: WorkspacesCreateAndUpdateOptionalParams): Promise<SimplePollerLike<OperationState<WorkspaceResource>, WorkspaceResource>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- workspaceName
-
string
The name of the Workspace.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<WorkspaceResource>, WorkspaceResource>>
beginCreateAndUpdateAndWait(string, string, WorkspacesCreateAndUpdateOptionalParams)
Create or update a Workspace.
function beginCreateAndUpdateAndWait(resourceGroupName: string, workspaceName: string, options?: WorkspacesCreateAndUpdateOptionalParams): Promise<WorkspaceResource>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- workspaceName
-
string
The name of the Workspace.
The options parameters.
Returns
Promise<WorkspaceResource>
beginDelete(string, string, WorkspacesDeleteOptionalParams)
Delete a Workspace.
function beginDelete(resourceGroupName: string, workspaceName: string, options?: WorkspacesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- workspaceName
-
string
The name of the Workspace.
- options
- WorkspacesDeleteOptionalParams
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, WorkspacesDeleteOptionalParams)
Delete a Workspace.
function beginDeleteAndWait(resourceGroupName: string, workspaceName: string, options?: WorkspacesDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- workspaceName
-
string
The name of the Workspace.
- options
- WorkspacesDeleteOptionalParams
The options parameters.
Returns
Promise<void>
get(string, string, WorkspacesGetOptionalParams)
Returns a workspace with the given name.
function get(resourceGroupName: string, workspaceName: string, options?: WorkspacesGetOptionalParams): Promise<WorkspaceResource>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- workspaceName
-
string
The name of the Workspace.
- options
- WorkspacesGetOptionalParams
The options parameters.
Returns
Promise<WorkspaceResource>
listByResourceGroup(string, WorkspacesListByResourceGroupOptionalParams)
Returns a list of workspaces in the given resource group.
function listByResourceGroup(resourceGroupName: string, options?: WorkspacesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<WorkspaceResource, WorkspaceResource[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
The options parameters.
Returns
listBySubscription(WorkspacesListBySubscriptionOptionalParams)
Returns a list of workspaces under the given subscription.
function listBySubscription(options?: WorkspacesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<WorkspaceResource, WorkspaceResource[], PageSettings>
Parameters
The options parameters.
Returns
update(string, string, WorkspacesUpdateOptionalParams)
Update a Workspace.
function update(resourceGroupName: string, workspaceName: string, options?: WorkspacesUpdateOptionalParams): Promise<WorkspaceResource>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- workspaceName
-
string
The name of the Workspace.
- options
- WorkspacesUpdateOptionalParams
The options parameters.
Returns
Promise<WorkspaceResource>
Azure SDK for JavaScript