WorkspacesClient Interface

public interface WorkspacesClient

An instance of this class provides access to all the operations defined in WorkspacesClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<WorkspaceInner>,WorkspaceInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, WorkspaceInner resource)

Create or update a Workspace resource.

abstract SyncPoller<PollResult<WorkspaceInner>,WorkspaceInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, WorkspaceInner resource, Context context)

Create or update a Workspace resource.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String workspaceName)

Delete a Workspace resource.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String workspaceName, Context context)

Delete a Workspace resource.

abstract SyncPoller<PollResult<WorkspaceEvaluation>,WorkspaceEvaluation> beginRefreshRecommendations(String resourceGroupName, String workspaceName)

Refreshes recommendation status for all scenarios in a given workspace.

abstract SyncPoller<PollResult<WorkspaceEvaluation>,WorkspaceEvaluation> beginRefreshRecommendations(String resourceGroupName, String workspaceName, Context context)

Refreshes recommendation status for all scenarios in a given workspace.

abstract SyncPoller<PollResult<WorkspaceInner>,WorkspaceInner> beginUpdate(String resourceGroupName, String workspaceName, WorkspaceUpdate properties)

The operation to update a Workspace.

abstract SyncPoller<PollResult<WorkspaceInner>,WorkspaceInner> beginUpdate(String resourceGroupName, String workspaceName, WorkspaceUpdate properties, Context context)

The operation to update a Workspace.

abstract WorkspaceInner createOrUpdate(String resourceGroupName, String workspaceName, WorkspaceInner resource)

Create or update a Workspace resource.

abstract WorkspaceInner createOrUpdate(String resourceGroupName, String workspaceName, WorkspaceInner resource, Context context)

Create or update a Workspace resource.

abstract void delete(String resourceGroupName, String workspaceName)

Delete a Workspace resource.

abstract void delete(String resourceGroupName, String workspaceName, Context context)

Delete a Workspace resource.

abstract WorkspaceInner getByResourceGroup(String resourceGroupName, String workspaceName)

Get a Workspace resource.

abstract Response<WorkspaceInner> getByResourceGroupWithResponse(String resourceGroupName, String workspaceName, Context context)

Get a Workspace resource.

abstract PagedIterable<WorkspaceInner> list()

Get a list of all Workspace resources in a subscription.

abstract PagedIterable<WorkspaceInner> list(String continuationToken, Context context)

Get a list of all Workspace resources in a subscription.

abstract PagedIterable<WorkspaceInner> listByResourceGroup(String resourceGroupName)

Get a list of Workspace resources in a resource group.

abstract PagedIterable<WorkspaceInner> listByResourceGroup(String resourceGroupName, String continuationToken, Context context)

Get a list of Workspace resources in a resource group.

abstract WorkspaceEvaluation refreshRecommendations(String resourceGroupName, String workspaceName)

Refreshes recommendation status for all scenarios in a given workspace.

abstract WorkspaceEvaluation refreshRecommendations(String resourceGroupName, String workspaceName, Context context)

Refreshes recommendation status for all scenarios in a given workspace.

abstract WorkspaceInner update(String resourceGroupName, String workspaceName, WorkspaceUpdate properties)

The operation to update a Workspace.

abstract WorkspaceInner update(String resourceGroupName, String workspaceName, WorkspaceUpdate properties, Context context)

The operation to update a Workspace.

Method Details

beginCreateOrUpdate

public abstract SyncPoller<PollResult<WorkspaceInner>,WorkspaceInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, WorkspaceInner resource)

Create or update a Workspace resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - String that represents a Workspace resource name.
resource - Workspace resource to be created or updated.

Returns:

the SyncPoller<T,U> for polling of model that represents a Workspace resource.

beginCreateOrUpdate

public abstract SyncPoller<PollResult<WorkspaceInner>,WorkspaceInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, WorkspaceInner resource, Context context)

Create or update a Workspace resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - String that represents a Workspace resource name.
resource - Workspace resource to be created or updated.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of model that represents a Workspace resource.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String workspaceName)

Delete a Workspace resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - String that represents a Workspace resource name.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String workspaceName, Context context)

Delete a Workspace resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - String that represents a Workspace resource name.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginRefreshRecommendations

public abstract SyncPoller<PollResult<WorkspaceEvaluation>,WorkspaceEvaluation> beginRefreshRecommendations(String resourceGroupName, String workspaceName)

Refreshes recommendation status for all scenarios in a given workspace.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - String that represents a Workspace resource name.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginRefreshRecommendations

public abstract SyncPoller<PollResult<WorkspaceEvaluation>,WorkspaceEvaluation> beginRefreshRecommendations(String resourceGroupName, String workspaceName, Context context)

Refreshes recommendation status for all scenarios in a given workspace.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - String that represents a Workspace resource name.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginUpdate

public abstract SyncPoller<PollResult<WorkspaceInner>,WorkspaceInner> beginUpdate(String resourceGroupName, String workspaceName, WorkspaceUpdate properties)

The operation to update a Workspace.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - String that represents a Workspace resource name.
properties - Parameters supplied to the Update Workspace operation.

Returns:

the SyncPoller<T,U> for polling of model that represents a Workspace resource.

beginUpdate

public abstract SyncPoller<PollResult<WorkspaceInner>,WorkspaceInner> beginUpdate(String resourceGroupName, String workspaceName, WorkspaceUpdate properties, Context context)

The operation to update a Workspace.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - String that represents a Workspace resource name.
properties - Parameters supplied to the Update Workspace operation.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of model that represents a Workspace resource.

createOrUpdate

public abstract WorkspaceInner createOrUpdate(String resourceGroupName, String workspaceName, WorkspaceInner resource)

Create or update a Workspace resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - String that represents a Workspace resource name.
resource - Workspace resource to be created or updated.

Returns:

model that represents a Workspace resource.

createOrUpdate

public abstract WorkspaceInner createOrUpdate(String resourceGroupName, String workspaceName, WorkspaceInner resource, Context context)

Create or update a Workspace resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - String that represents a Workspace resource name.
resource - Workspace resource to be created or updated.
context - The context to associate with this operation.

Returns:

model that represents a Workspace resource.

delete

public abstract void delete(String resourceGroupName, String workspaceName)

Delete a Workspace resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - String that represents a Workspace resource name.

delete

public abstract void delete(String resourceGroupName, String workspaceName, Context context)

Delete a Workspace resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - String that represents a Workspace resource name.
context - The context to associate with this operation.

getByResourceGroup

public abstract WorkspaceInner getByResourceGroup(String resourceGroupName, String workspaceName)

Get a Workspace resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - String that represents a Workspace resource name.

Returns:

a Workspace resource.

getByResourceGroupWithResponse

public abstract Response<WorkspaceInner> getByResourceGroupWithResponse(String resourceGroupName, String workspaceName, Context context)

Get a Workspace resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - String that represents a Workspace resource name.
context - The context to associate with this operation.

Returns:

a Workspace resource along with Response<T>.

list

public abstract PagedIterable<WorkspaceInner> list()

Get a list of all Workspace resources in a subscription.

Returns:

a list of all Workspace resources in a subscription as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<WorkspaceInner> list(String continuationToken, Context context)

Get a list of all Workspace resources in a subscription.

Parameters:

continuationToken - String that sets the continuation token.
context - The context to associate with this operation.

Returns:

a list of all Workspace resources in a subscription as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<WorkspaceInner> listByResourceGroup(String resourceGroupName)

Get a list of Workspace resources in a resource group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.

Returns:

a list of Workspace resources in a resource group as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<WorkspaceInner> listByResourceGroup(String resourceGroupName, String continuationToken, Context context)

Get a list of Workspace resources in a resource group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
continuationToken - String that sets the continuation token.
context - The context to associate with this operation.

Returns:

a list of Workspace resources in a resource group as paginated response with PagedIterable<T>.

refreshRecommendations

public abstract WorkspaceEvaluation refreshRecommendations(String resourceGroupName, String workspaceName)

Refreshes recommendation status for all scenarios in a given workspace.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - String that represents a Workspace resource name.

Returns:

the response.

refreshRecommendations

public abstract WorkspaceEvaluation refreshRecommendations(String resourceGroupName, String workspaceName, Context context)

Refreshes recommendation status for all scenarios in a given workspace.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - String that represents a Workspace resource name.
context - The context to associate with this operation.

Returns:

the response.

update

public abstract WorkspaceInner update(String resourceGroupName, String workspaceName, WorkspaceUpdate properties)

The operation to update a Workspace.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - String that represents a Workspace resource name.
properties - Parameters supplied to the Update Workspace operation.

Returns:

model that represents a Workspace resource.

update

public abstract WorkspaceInner update(String resourceGroupName, String workspaceName, WorkspaceUpdate properties, Context context)

The operation to update a Workspace.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - String that represents a Workspace resource name.
properties - Parameters supplied to the Update Workspace operation.
context - The context to associate with this operation.

Returns:

model that represents a Workspace resource.

Applies to