Share via


PlaywrightWorkspacesClient Interface

public interface PlaywrightWorkspacesClient

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

Method Summary

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

Create a PlaywrightWorkspace.

abstract SyncPoller<PollResult<PlaywrightWorkspaceInner>,PlaywrightWorkspaceInner> beginCreateOrUpdate(String resourceGroupName, String playwrightWorkspaceName, PlaywrightWorkspaceInner resource, Context context)

Create a PlaywrightWorkspace.

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

Deletes a Playwright workspace resource asynchronously.

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

Deletes a Playwright workspace resource asynchronously.

abstract CheckNameAvailabilityResponseInner checkNameAvailability(CheckNameAvailabilityRequest body)

Checks if a Playwright workspace name is available globally.

abstract Response<CheckNameAvailabilityResponseInner> checkNameAvailabilityWithResponse(CheckNameAvailabilityRequest body, Context context)

Checks if a Playwright workspace name is available globally.

abstract PlaywrightWorkspaceInner createOrUpdate(String resourceGroupName, String playwrightWorkspaceName, PlaywrightWorkspaceInner resource)

Create a PlaywrightWorkspace.

abstract PlaywrightWorkspaceInner createOrUpdate(String resourceGroupName, String playwrightWorkspaceName, PlaywrightWorkspaceInner resource, Context context)

Create a PlaywrightWorkspace.

abstract void delete(String resourceGroupName, String playwrightWorkspaceName)

Deletes a Playwright workspace resource asynchronously.

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

Deletes a Playwright workspace resource asynchronously.

abstract PlaywrightWorkspaceInner getByResourceGroup(String resourceGroupName, String playwrightWorkspaceName)

Get a PlaywrightWorkspace.

abstract Response<PlaywrightWorkspaceInner> getByResourceGroupWithResponse(String resourceGroupName, String playwrightWorkspaceName, Context context)

Get a PlaywrightWorkspace.

abstract PagedIterable<PlaywrightWorkspaceInner> list()

List PlaywrightWorkspace resources by subscription ID.

abstract PagedIterable<PlaywrightWorkspaceInner> list(Context context)

List PlaywrightWorkspace resources by subscription ID.

abstract PagedIterable<PlaywrightWorkspaceInner> listByResourceGroup(String resourceGroupName)

List PlaywrightWorkspace resources by resource group.

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

List PlaywrightWorkspace resources by resource group.

abstract PlaywrightWorkspaceInner update(String resourceGroupName, String playwrightWorkspaceName, PlaywrightWorkspaceUpdate properties)

Updates a Playwright workspace resource synchronously.

abstract Response<PlaywrightWorkspaceInner> updateWithResponse(String resourceGroupName, String playwrightWorkspaceName, PlaywrightWorkspaceUpdate properties, Context context)

Updates a Playwright workspace resource synchronously.

Method Details

beginCreateOrUpdate

public abstract SyncPoller<PollResult<PlaywrightWorkspaceInner>,PlaywrightWorkspaceInner> beginCreateOrUpdate(String resourceGroupName, String playwrightWorkspaceName, PlaywrightWorkspaceInner resource)

Create a PlaywrightWorkspace.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
playwrightWorkspaceName - The name of the PlaywrightWorkspace.
resource - Resource create parameters.

Returns:

the SyncPoller<T,U> for polling of playwright workspace resource.

beginCreateOrUpdate

public abstract SyncPoller<PollResult<PlaywrightWorkspaceInner>,PlaywrightWorkspaceInner> beginCreateOrUpdate(String resourceGroupName, String playwrightWorkspaceName, PlaywrightWorkspaceInner resource, Context context)

Create a PlaywrightWorkspace.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
playwrightWorkspaceName - The name of the PlaywrightWorkspace.
resource - Resource create parameters.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of playwright workspace resource.

beginDelete

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

Deletes a Playwright workspace resource asynchronously.

Parameters:

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

Returns:

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

beginDelete

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

Deletes a Playwright workspace resource asynchronously.

Parameters:

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

Returns:

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

checkNameAvailability

public abstract CheckNameAvailabilityResponseInner checkNameAvailability(CheckNameAvailabilityRequest body)

Checks if a Playwright workspace name is available globally.

Parameters:

body - The CheckAvailability request.

Returns:

the check availability result.

checkNameAvailabilityWithResponse

public abstract Response<CheckNameAvailabilityResponseInner> checkNameAvailabilityWithResponse(CheckNameAvailabilityRequest body, Context context)

Checks if a Playwright workspace name is available globally.

Parameters:

body - The CheckAvailability request.
context - The context to associate with this operation.

Returns:

the check availability result along with Response<T>.

createOrUpdate

public abstract PlaywrightWorkspaceInner createOrUpdate(String resourceGroupName, String playwrightWorkspaceName, PlaywrightWorkspaceInner resource)

Create a PlaywrightWorkspace.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
playwrightWorkspaceName - The name of the PlaywrightWorkspace.
resource - Resource create parameters.

Returns:

playwright workspace resource.

createOrUpdate

public abstract PlaywrightWorkspaceInner createOrUpdate(String resourceGroupName, String playwrightWorkspaceName, PlaywrightWorkspaceInner resource, Context context)

Create a PlaywrightWorkspace.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
playwrightWorkspaceName - The name of the PlaywrightWorkspace.
resource - Resource create parameters.
context - The context to associate with this operation.

Returns:

playwright workspace resource.

delete

public abstract void delete(String resourceGroupName, String playwrightWorkspaceName)

Deletes a Playwright workspace resource asynchronously.

Parameters:

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

delete

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

Deletes a Playwright workspace resource asynchronously.

Parameters:

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

getByResourceGroup

public abstract PlaywrightWorkspaceInner getByResourceGroup(String resourceGroupName, String playwrightWorkspaceName)

Get a PlaywrightWorkspace.

Parameters:

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

Returns:

a PlaywrightWorkspace.

getByResourceGroupWithResponse

public abstract Response<PlaywrightWorkspaceInner> getByResourceGroupWithResponse(String resourceGroupName, String playwrightWorkspaceName, Context context)

Get a PlaywrightWorkspace.

Parameters:

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

Returns:

a PlaywrightWorkspace along with Response<T>.

list

public abstract PagedIterable<PlaywrightWorkspaceInner> list()

List PlaywrightWorkspace resources by subscription ID.

Returns:

the response of a PlaywrightWorkspace list operation as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<PlaywrightWorkspaceInner> list(Context context)

List PlaywrightWorkspace resources by subscription ID.

Parameters:

context - The context to associate with this operation.

Returns:

the response of a PlaywrightWorkspace list operation as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<PlaywrightWorkspaceInner> listByResourceGroup(String resourceGroupName)

List PlaywrightWorkspace resources by resource group.

Parameters:

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

Returns:

the response of a PlaywrightWorkspace list operation as paginated response with PagedIterable<T>.

listByResourceGroup

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

List PlaywrightWorkspace resources by 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 response of a PlaywrightWorkspace list operation as paginated response with PagedIterable<T>.

update

public abstract PlaywrightWorkspaceInner update(String resourceGroupName, String playwrightWorkspaceName, PlaywrightWorkspaceUpdate properties)

Updates a Playwright workspace resource synchronously.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
playwrightWorkspaceName - The name of the PlaywrightWorkspace.
properties - The resource properties to be updated.

Returns:

playwright workspace resource.

updateWithResponse

public abstract Response<PlaywrightWorkspaceInner> updateWithResponse(String resourceGroupName, String playwrightWorkspaceName, PlaywrightWorkspaceUpdate properties, Context context)

Updates a Playwright workspace resource synchronously.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
playwrightWorkspaceName - The name of the PlaywrightWorkspace.
properties - The resource properties to be updated.
context - The context to associate with this operation.

Returns:

playwright workspace resource along with Response<T>.

Applies to