次の方法で共有


Workspaces Interface

public interface Workspaces

Resource collection API of Workspaces.

Method Summary

Modifier and Type Method and Description
abstract Blank define(String name)

Begins definition for a new QuantumWorkspace resource.

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

Deletes a Workspace resource.

abstract void deleteById(String id)

Deletes a Workspace resource.

abstract void deleteByIdWithResponse(String id, Context context)

Deletes a Workspace resource.

abstract void deleteByResourceGroup(String resourceGroupName, String workspaceName)

Deletes a Workspace resource.

abstract QuantumWorkspace getById(String id)

Returns the Workspace resource associated with the given name.

abstract Response<QuantumWorkspace> getByIdWithResponse(String id, Context context)

Returns the Workspace resource associated with the given name.

abstract QuantumWorkspace getByResourceGroup(String resourceGroupName, String workspaceName)

Returns the Workspace resource associated with the given name.

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

Returns the Workspace resource associated with the given name.

abstract PagedIterable<QuantumWorkspace> list()

Gets the list of Workspaces within a Subscription.

abstract PagedIterable<QuantumWorkspace> list(Context context)

Gets the list of Workspaces within a Subscription.

abstract PagedIterable<QuantumWorkspace> listByResourceGroup(String resourceGroupName)

Gets the list of Workspaces within a resource group.

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

Gets the list of Workspaces within a resource group.

Method Details

define

public abstract QuantumWorkspace.DefinitionStages.Blank define(String name)

Begins definition for a new QuantumWorkspace resource.

Parameters:

name - resource name.

Returns:

the first stage of the new QuantumWorkspace definition.

delete

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

Deletes a Workspace resource.

Parameters:

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

deleteById

public abstract void deleteById(String id)

Deletes a Workspace resource.

Parameters:

id - the resource ID.

deleteByIdWithResponse

public abstract void deleteByIdWithResponse(String id, Context context)

Deletes a Workspace resource.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

deleteByResourceGroup

public abstract void deleteByResourceGroup(String resourceGroupName, String workspaceName)

Deletes a Workspace resource.

Parameters:

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

getById

public abstract QuantumWorkspace getById(String id)

Returns the Workspace resource associated with the given name.

Parameters:

id - the resource ID.

Returns:

the resource proxy definition object for quantum workspace along with Response<T>.

getByIdWithResponse

public abstract Response<QuantumWorkspace> getByIdWithResponse(String id, Context context)

Returns the Workspace resource associated with the given name.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

the resource proxy definition object for quantum workspace along with Response<T>.

getByResourceGroup

public abstract QuantumWorkspace getByResourceGroup(String resourceGroupName, String workspaceName)

Returns the Workspace resource associated with the given name.

Parameters:

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

Returns:

the resource proxy definition object for quantum workspace.

getByResourceGroupWithResponse

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

Returns the Workspace resource associated with the given name.

Parameters:

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

Returns:

the resource proxy definition object for quantum workspace along with Response<T>.

list

public abstract PagedIterable<QuantumWorkspace> list()

Gets the list of Workspaces within a Subscription.

Returns:

the list of Workspaces within a Subscription as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<QuantumWorkspace> list(Context context)

Gets the list of Workspaces within a Subscription.

Parameters:

context - The context to associate with this operation.

Returns:

the list of Workspaces within a Subscription as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<QuantumWorkspace> listByResourceGroup(String resourceGroupName)

Gets the list of Workspaces within a resource group.

Parameters:

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

Returns:

the list of Workspaces within a resource group as paginated response with PagedIterable<T>.

listByResourceGroup

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

Gets the list of 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:

the list of Workspaces within a resource group as paginated response with PagedIterable<T>.

Applies to