@azure/arm-playwrighttesting package

Classes

AzurePlaywrightServiceClient

Interfaces

Account

A Playwright service account resource.

AccountFreeTrialProperties

The Playwright service account quota resource free-trial properties.

AccountProperties

Account resource properties.

AccountQuota

A quota resource for a Playwright service account.

AccountQuotaProperties

The Playwright service account quota resource properties.

AccountQuotasGetOptionalParams

Optional parameters.

AccountQuotasListByAccountOptionalParams

Optional parameters.

AccountQuotasOperations

Interface representing a AccountQuotas operations.

AccountUpdate

The type used for update operations of the Account.

AccountUpdateProperties

The updatable properties of the Account.

AccountsCheckNameAvailabilityOptionalParams

Optional parameters.

AccountsCreateOrUpdateOptionalParams

Optional parameters.

AccountsDeleteOptionalParams

Optional parameters.

AccountsGetOptionalParams

Optional parameters.

AccountsListByResourceGroupOptionalParams

Optional parameters.

AccountsListBySubscriptionOptionalParams

Optional parameters.

AccountsOperations

Interface representing a Accounts operations.

AccountsUpdateOptionalParams

Optional parameters.

AzurePlaywrightServiceClientOptionalParams

Optional parameters for the client.

CheckNameAvailabilityRequest

The check availability request body.

CheckNameAvailabilityResponse

The check availability result.

FreeTrialProperties

The subscription quota resource free-trial properties.

Operation

Details of a REST API operation, returned from the Resource Provider Operations API

OperationDisplay

Localized display information for and operation.

OperationsListOptionalParams

Optional parameters.

OperationsOperations

Interface representing a Operations operations.

PageSettings

Options for the byPage method

PagedAsyncIterableIterator

An interface that allows async iterable iteration both to completion and by page.

ProxyResource

The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location

Quota

A subscription quota resource.

QuotaProperties

The subscription quota resource properties.

QuotasGetOptionalParams

Optional parameters.

QuotasListBySubscriptionOptionalParams

Optional parameters.

QuotasOperations

Interface representing a Quotas operations.

Resource

Common fields that are returned in the response for all Azure Resource Manager resources

RestorePollerOptions
SystemData

Metadata pertaining to creation and last modification of the resource.

TrackedResource

The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'

Type Aliases

ActionType

Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
KnownActionType can be used interchangeably with ActionType, this enum contains the known values that the service supports.

Known values supported by the service

Internal: Actions are for internal-only APIs.

CheckNameAvailabilityReason

Possible reasons for a name not being available.
KnownCheckNameAvailabilityReason can be used interchangeably with CheckNameAvailabilityReason, this enum contains the known values that the service supports.

Known values supported by the service

Invalid: Name is invalid.
AlreadyExists: Name already exists.

ContinuablePage

An interface that describes a page of results.

CreatedByType

The kind of entity that created the resource.
<xref:KnowncreatedByType> can be used interchangeably with createdByType, this enum contains the known values that the service supports.

Known values supported by the service

User: The entity was created by a user.
Application: The entity was created by an application.
ManagedIdentity: The entity was created by a managed identity.
Key: The entity was created by a key.

EnablementStatus

The enablement status of a feature.
KnownEnablementStatus can be used interchangeably with EnablementStatus, this enum contains the known values that the service supports.

Known values supported by the service

Enabled: The feature is Enabled.
Disabled: The feature is Disabled.

FreeTrialState

The free-trial state.
KnownFreeTrialState can be used interchangeably with FreeTrialState, this enum contains the known values that the service supports.

Known values supported by the service

Active: The free-trial is Active.
Expired: The free-trial is Expired.
NotEligible: The free-trial is Not Eligible.
NotRegistered: The free-trial is Not Registered.

OfferingType

Offering type state.
KnownOfferingType can be used interchangeably with OfferingType, this enum contains the known values that the service supports.

Known values supported by the service

NotApplicable: The offeringType is NotApplicable.
PrivatePreview: The offeringType is PrivatePreview.
PublicPreview: The offeringType is PublicPreview.
GeneralAvailability: The offeringType is GeneralAvailability.

Origin

The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"
KnownOrigin can be used interchangeably with Origin, this enum contains the known values that the service supports.

Known values supported by the service

user: Indicates the operation is initiated by a user.
system: Indicates the operation is initiated by a system.
user,system: Indicates the operation is initiated by a user or system.

ProvisioningState

The status of the current operation.
KnownProvisioningState can be used interchangeably with ProvisioningState, this enum contains the known values that the service supports.

Known values supported by the service

Succeeded: Resource has been created.
Failed: Resource creation failed.
Canceled: Resource creation was canceled.
Creating: Creation in progress..
Deleting: Deletion in progress..
Accepted: Change accepted for processing..

QuotaNames

The enum for quota name.
KnownQuotaNames can be used interchangeably with QuotaNames, this enum contains the known values that the service supports.

Known values supported by the service

ScalableExecution: The quota details for scalable execution feature. When enabled, Playwright client workers can connect to cloud-hosted browsers. This can increase the number of parallel workers for a test run, significantly minimizing test completion durations.
Reporting: The quota details for reporting feature. When enabled, Playwright client will be able to upload and display test results, including artifacts like traces and screenshots, in the Playwright portal. This enables faster and more efficient troubleshooting.

Enums

KnownActionType

Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.

KnownCheckNameAvailabilityReason

Possible reasons for a name not being available.

KnownCreatedByType

The kind of entity that created the resource.

KnownEnablementStatus

The enablement status of a feature.

KnownFreeTrialState

The free-trial state.

KnownOfferingType

Offering type state.

KnownOrigin

The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"

KnownProvisioningState

The status of the current operation.

KnownQuotaNames

The enum for quota name.

KnownVersions

Microsoft.AzurePlaywrightService Management API Versions.

Functions

restorePoller<TResponse, TResult>(AzurePlaywrightServiceClient, string, (args: any[]) => PollerLike<OperationState<TResult>, TResult>, RestorePollerOptions<TResult, PathUncheckedResponse>)

Creates a poller from the serialized state of another poller. This can be useful when you want to create pollers on a different host or a poller needs to be constructed after the original one is not in scope.

Function Details

restorePoller<TResponse, TResult>(AzurePlaywrightServiceClient, string, (args: any[]) => PollerLike<OperationState<TResult>, TResult>, RestorePollerOptions<TResult, PathUncheckedResponse>)

Creates a poller from the serialized state of another poller. This can be useful when you want to create pollers on a different host or a poller needs to be constructed after the original one is not in scope.

function restorePoller<TResponse, TResult>(client: AzurePlaywrightServiceClient, serializedState: string, sourceOperation: (args: any[]) => PollerLike<OperationState<TResult>, TResult>, options?: RestorePollerOptions<TResult, PathUncheckedResponse>): PollerLike<OperationState<TResult>, TResult>

Parameters

serializedState

string

sourceOperation

(args: any[]) => PollerLike<OperationState<TResult>, TResult>

Returns

PollerLike<OperationState<TResult>, TResult>