WorkspacesOperations interface

Interface representing a Workspaces operations.

Properties

createOrUpdate

Create or update a Workspace resource.

delete

Delete a Workspace resource.

get

Get a Workspace resource.

list

Get a list of Workspace resources in a resource group.

listAll

Get a list of all Workspace resources in a subscription.

refreshRecommendations

Refreshes recommendation status for all scenarios in a given workspace.

update

The operation to update a Workspace.

Property Details

createOrUpdate

Create or update a Workspace resource.

createOrUpdate: (resourceGroupName: string, workspaceName: string, resource: Workspace, options?: WorkspacesCreateOrUpdateOptionalParams) => PollerLike<OperationState<Workspace>, Workspace>

Property Value

(resourceGroupName: string, workspaceName: string, resource: Workspace, options?: WorkspacesCreateOrUpdateOptionalParams) => PollerLike<OperationState<Workspace>, Workspace>

delete

Delete a Workspace resource.

delete: (resourceGroupName: string, workspaceName: string, options?: WorkspacesDeleteOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(resourceGroupName: string, workspaceName: string, options?: WorkspacesDeleteOptionalParams) => PollerLike<OperationState<void>, void>

get

Get a Workspace resource.

get: (resourceGroupName: string, workspaceName: string, options?: WorkspacesGetOptionalParams) => Promise<Workspace>

Property Value

(resourceGroupName: string, workspaceName: string, options?: WorkspacesGetOptionalParams) => Promise<Workspace>

list

Get a list of Workspace resources in a resource group.

list: (resourceGroupName: string, options?: WorkspacesListOptionalParams) => PagedAsyncIterableIterator<Workspace, Workspace[], PageSettings>

Property Value

(resourceGroupName: string, options?: WorkspacesListOptionalParams) => PagedAsyncIterableIterator<Workspace, Workspace[], PageSettings>

listAll

Get a list of all Workspace resources in a subscription.

listAll: (options?: WorkspacesListAllOptionalParams) => PagedAsyncIterableIterator<Workspace, Workspace[], PageSettings>

Property Value

(options?: WorkspacesListAllOptionalParams) => PagedAsyncIterableIterator<Workspace, Workspace[], PageSettings>

refreshRecommendations

Refreshes recommendation status for all scenarios in a given workspace.

refreshRecommendations: (resourceGroupName: string, workspaceName: string, options?: WorkspacesRefreshRecommendationsOptionalParams) => PollerLike<OperationState<WorkspaceEvaluation>, WorkspaceEvaluation>

Property Value

(resourceGroupName: string, workspaceName: string, options?: WorkspacesRefreshRecommendationsOptionalParams) => PollerLike<OperationState<WorkspaceEvaluation>, WorkspaceEvaluation>

update

The operation to update a Workspace.

update: (resourceGroupName: string, workspaceName: string, properties: WorkspaceUpdate, options?: WorkspacesUpdateOptionalParams) => PollerLike<OperationState<Workspace>, Workspace>

Property Value

(resourceGroupName: string, workspaceName: string, properties: WorkspaceUpdate, options?: WorkspacesUpdateOptionalParams) => PollerLike<OperationState<Workspace>, Workspace>