WorkspacesOperations interface

Interface representing a Workspaces operations.

Properties

createOrUpdate

Create or update a Workspace resource.

delete

Delete a Workspace resource.

discover

Starts discovery for the workspace. The initial 202 has no body. Poll the operation-bound Location URL until completion: a successful or partially successful discovery returns the typed result; failed or canceled processing returns an Azure error whose target identifies the discovery resource. Ordinary discovery reads return the current resource, including failed or canceled results, while retained.

evaluate

Starts evaluation of published scenario-template versions, including when the workspace has no scenarios. Acceptance fixes the selected template membership and total count, qualified resource snapshot and canonical discovery result reference. Without a usable discovery snapshot or valid catalog input, the request is rejected synchronously with an Azure error and no evaluation result is created. A valid empty catalog completes successfully with zero counts and an empty results array. Outcome counts reflect processing after acceptance. The initial 202 has no body. Poll the operation-bound Location URL until completion: a completed successful or partially successful assessment returns the typed result; failed or canceled processing returns an Azure error whose target identifies the evaluation resource. Ordinary evaluation reads return the current resource, including failed or canceled results, while retained.

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.

update

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>

discover

Starts discovery for the workspace. The initial 202 has no body. Poll the operation-bound Location URL until completion: a successful or partially successful discovery returns the typed result; failed or canceled processing returns an Azure error whose target identifies the discovery resource. Ordinary discovery reads return the current resource, including failed or canceled results, while retained.

discover: (resourceGroupName: string, workspaceName: string, options?: WorkspacesDiscoverOptionalParams) => PollerLike<OperationState<WorkspaceDiscovery>, WorkspaceDiscovery>

Property Value

(resourceGroupName: string, workspaceName: string, options?: WorkspacesDiscoverOptionalParams) => PollerLike<OperationState<WorkspaceDiscovery>, WorkspaceDiscovery>

evaluate

Starts evaluation of published scenario-template versions, including when the workspace has no scenarios. Acceptance fixes the selected template membership and total count, qualified resource snapshot and canonical discovery result reference. Without a usable discovery snapshot or valid catalog input, the request is rejected synchronously with an Azure error and no evaluation result is created. A valid empty catalog completes successfully with zero counts and an empty results array. Outcome counts reflect processing after acceptance. The initial 202 has no body. Poll the operation-bound Location URL until completion: a completed successful or partially successful assessment returns the typed result; failed or canceled processing returns an Azure error whose target identifies the evaluation resource. Ordinary evaluation reads return the current resource, including failed or canceled results, while retained.

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

Property Value

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

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>

update

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>