Поделиться через


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 parameters)

Creates a new workspace.

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

Creates a new workspace.

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

Deletes the workspace.

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

Deletes the workspace.

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

Updates a workspace.

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

Updates a workspace.

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

Creates a new workspace.

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

Creates a new workspace.

abstract void delete(String resourceGroupName, String workspaceName)

Deletes the workspace.

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

Deletes the workspace.

abstract WorkspaceInner getByResourceGroup(String resourceGroupName, String workspaceName)

Gets the workspace.

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

Gets the workspace.

abstract PagedIterable<WorkspaceInner> list()

Gets all the workspaces within a subscription.

abstract PagedIterable<WorkspaceInner> list(Context context)

Gets all the workspaces within a subscription.

abstract PagedIterable<WorkspaceInner> listByResourceGroup(String resourceGroupName)

Gets all the workspaces within a resource group.

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

Gets all the workspaces within a resource group.

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

Updates a workspace.

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

Updates a workspace.

Method Details

beginCreateOrUpdate

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

Creates a new workspace.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
parameters - Parameters supplied to the create or update a workspace.

Returns:

the SyncPoller<T,U> for polling of information about workspace.

beginCreateOrUpdate

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

Creates a new workspace.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
parameters - Parameters supplied to the create or update a workspace.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of information about workspace.

beginDelete

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

Deletes the workspace.

Parameters:

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

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)

Deletes the workspace.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
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 parameters)

Updates a workspace.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
parameters - The update to the workspace.

Returns:

the SyncPoller<T,U> for polling of information about workspace.

beginUpdate

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

Updates a workspace.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
parameters - The update to the workspace.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of information about workspace.

createOrUpdate

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

Creates a new workspace.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
parameters - Parameters supplied to the create or update a workspace.

Returns:

information about workspace.

createOrUpdate

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

Creates a new workspace.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
parameters - Parameters supplied to the create or update a workspace.
context - The context to associate with this operation.

Returns:

information about workspace.

delete

public abstract void delete(String resourceGroupName, String workspaceName)

Deletes the workspace.

Parameters:

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

delete

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

Deletes the workspace.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
context - The context to associate with this operation.

getByResourceGroup

public abstract WorkspaceInner getByResourceGroup(String resourceGroupName, String workspaceName)

Gets the workspace.

Parameters:

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

Returns:

the workspace.

getByResourceGroupWithResponse

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

Gets the workspace.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
context - The context to associate with this operation.

Returns:

the workspace along with Response<T>.

list

public abstract PagedIterable<WorkspaceInner> list()

Gets all the workspaces within a subscription.

Returns:

all the workspaces within a subscription as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<WorkspaceInner> list(Context context)

Gets all the workspaces within a subscription.

Parameters:

context - The context to associate with this operation.

Returns:

all the workspaces within a subscription as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<WorkspaceInner> listByResourceGroup(String resourceGroupName)

Gets all the workspaces within a resource group.

Parameters:

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

Returns:

all the workspaces within a resource group as paginated response with PagedIterable<T>.

listByResourceGroup

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

Gets all the workspaces within a resource group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
context - The context to associate with this operation.

Returns:

all the workspaces within a resource group as paginated response with PagedIterable<T>.

update

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

Updates a workspace.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
parameters - The update to the workspace.

Returns:

information about workspace.

update

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

Updates a workspace.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
parameters - The update to the workspace.
context - The context to associate with this operation.

Returns:

information about workspace.

Applies to