@azure/arm-playwright 1.0.0-beta.1 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/browser/api/operations/operations.d.ts +1 -1
- package/dist/browser/api/operations/operations.js +9 -4
- package/dist/browser/api/operations/operations.js.map +1 -1
- package/dist/browser/api/playwrightManagementContext.d.ts +5 -2
- package/dist/browser/api/playwrightManagementContext.js +19 -12
- package/dist/browser/api/playwrightManagementContext.js.map +1 -1
- package/dist/browser/api/playwrightQuotas/operations.d.ts +3 -3
- package/dist/browser/api/playwrightQuotas/operations.js +19 -9
- package/dist/browser/api/playwrightQuotas/operations.js.map +1 -1
- package/dist/browser/api/playwrightWorkspaceQuotas/operations.d.ts +3 -3
- package/dist/browser/api/playwrightWorkspaceQuotas/operations.js +19 -9
- package/dist/browser/api/playwrightWorkspaceQuotas/operations.js.map +1 -1
- package/dist/browser/api/playwrightWorkspaces/operations.d.ts +4 -4
- package/dist/browser/api/playwrightWorkspaces/operations.js +66 -31
- package/dist/browser/api/playwrightWorkspaces/operations.js.map +1 -1
- package/dist/browser/classic/operations/index.d.ts +1 -1
- package/dist/browser/classic/operations/index.js +3 -1
- package/dist/browser/classic/operations/index.js.map +1 -1
- package/dist/browser/classic/playwrightQuotas/index.d.ts +3 -3
- package/dist/browser/classic/playwrightQuotas/index.js +3 -1
- package/dist/browser/classic/playwrightQuotas/index.js.map +1 -1
- package/dist/browser/classic/playwrightWorkspaceQuotas/index.d.ts +3 -3
- package/dist/browser/classic/playwrightWorkspaceQuotas/index.js +3 -1
- package/dist/browser/classic/playwrightWorkspaceQuotas/index.js.map +1 -1
- package/dist/browser/classic/playwrightWorkspaces/index.d.ts +4 -4
- package/dist/browser/classic/playwrightWorkspaces/index.js +3 -1
- package/dist/browser/classic/playwrightWorkspaces/index.js.map +1 -1
- package/dist/browser/index.d.ts +2 -0
- package/dist/browser/index.js +2 -0
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/models/models.d.ts +41 -39
- package/dist/browser/models/models.js +14 -13
- package/dist/browser/models/models.js.map +1 -1
- package/dist/browser/playwrightManagementClient.d.ts +4 -4
- package/dist/browser/playwrightManagementClient.js +19 -6
- package/dist/browser/playwrightManagementClient.js.map +1 -1
- package/dist/browser/restorePollerHelpers.js +12 -14
- package/dist/browser/restorePollerHelpers.js.map +1 -1
- package/dist/browser/static-helpers/cloudSettingHelpers.d.ts +13 -0
- package/dist/browser/static-helpers/cloudSettingHelpers.js +29 -0
- package/dist/browser/static-helpers/cloudSettingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/pagingHelpers.js +31 -50
- package/dist/browser/static-helpers/pagingHelpers.js.map +1 -1
- package/dist/browser/static-helpers/pollingHelpers.js +14 -11
- package/dist/browser/static-helpers/pollingHelpers.js.map +1 -1
- package/dist/browser/static-helpers/urlTemplate.js +4 -3
- package/dist/browser/static-helpers/urlTemplate.js.map +1 -1
- package/dist/commonjs/api/operations/operations.d.ts +1 -1
- package/dist/commonjs/api/operations/operations.js +9 -4
- package/dist/commonjs/api/operations/operations.js.map +1 -1
- package/dist/commonjs/api/playwrightManagementContext.d.ts +5 -2
- package/dist/commonjs/api/playwrightManagementContext.js +19 -12
- package/dist/commonjs/api/playwrightManagementContext.js.map +1 -1
- package/dist/commonjs/api/playwrightQuotas/operations.d.ts +3 -3
- package/dist/commonjs/api/playwrightQuotas/operations.js +19 -9
- package/dist/commonjs/api/playwrightQuotas/operations.js.map +1 -1
- package/dist/commonjs/api/playwrightWorkspaceQuotas/operations.d.ts +3 -3
- package/dist/commonjs/api/playwrightWorkspaceQuotas/operations.js +19 -9
- package/dist/commonjs/api/playwrightWorkspaceQuotas/operations.js.map +1 -1
- package/dist/commonjs/api/playwrightWorkspaces/operations.d.ts +4 -4
- package/dist/commonjs/api/playwrightWorkspaces/operations.js +66 -31
- package/dist/commonjs/api/playwrightWorkspaces/operations.js.map +1 -1
- package/dist/commonjs/classic/operations/index.d.ts +1 -1
- package/dist/commonjs/classic/operations/index.js +3 -1
- package/dist/commonjs/classic/operations/index.js.map +1 -1
- package/dist/commonjs/classic/playwrightQuotas/index.d.ts +3 -3
- package/dist/commonjs/classic/playwrightQuotas/index.js +3 -1
- package/dist/commonjs/classic/playwrightQuotas/index.js.map +1 -1
- package/dist/commonjs/classic/playwrightWorkspaceQuotas/index.d.ts +3 -3
- package/dist/commonjs/classic/playwrightWorkspaceQuotas/index.js +3 -1
- package/dist/commonjs/classic/playwrightWorkspaceQuotas/index.js.map +1 -1
- package/dist/commonjs/classic/playwrightWorkspaces/index.d.ts +4 -4
- package/dist/commonjs/classic/playwrightWorkspaces/index.js +3 -1
- package/dist/commonjs/classic/playwrightWorkspaces/index.js.map +1 -1
- package/dist/commonjs/index.d.ts +2 -0
- package/dist/commonjs/index.js +3 -1
- package/dist/commonjs/index.js.map +1 -1
- package/dist/commonjs/models/models.d.ts +41 -39
- package/dist/commonjs/models/models.js +14 -13
- package/dist/commonjs/models/models.js.map +1 -1
- package/dist/commonjs/playwrightManagementClient.d.ts +4 -4
- package/dist/commonjs/playwrightManagementClient.js +23 -10
- package/dist/commonjs/playwrightManagementClient.js.map +1 -1
- package/dist/commonjs/restorePollerHelpers.js +12 -14
- package/dist/commonjs/restorePollerHelpers.js.map +1 -1
- package/dist/commonjs/static-helpers/cloudSettingHelpers.d.ts +13 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js +33 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +1 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js +31 -50
- package/dist/commonjs/static-helpers/pagingHelpers.js.map +1 -1
- package/dist/commonjs/static-helpers/pollingHelpers.js +14 -11
- package/dist/commonjs/static-helpers/pollingHelpers.js.map +1 -1
- package/dist/commonjs/static-helpers/urlTemplate.js +4 -3
- package/dist/commonjs/static-helpers/urlTemplate.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +11 -11
- package/dist/esm/api/operations/operations.d.ts +1 -1
- package/dist/esm/api/operations/operations.js +9 -4
- package/dist/esm/api/operations/operations.js.map +1 -1
- package/dist/esm/api/playwrightManagementContext.d.ts +5 -2
- package/dist/esm/api/playwrightManagementContext.js +19 -12
- package/dist/esm/api/playwrightManagementContext.js.map +1 -1
- package/dist/esm/api/playwrightQuotas/operations.d.ts +3 -3
- package/dist/esm/api/playwrightQuotas/operations.js +19 -9
- package/dist/esm/api/playwrightQuotas/operations.js.map +1 -1
- package/dist/esm/api/playwrightWorkspaceQuotas/operations.d.ts +3 -3
- package/dist/esm/api/playwrightWorkspaceQuotas/operations.js +19 -9
- package/dist/esm/api/playwrightWorkspaceQuotas/operations.js.map +1 -1
- package/dist/esm/api/playwrightWorkspaces/operations.d.ts +4 -4
- package/dist/esm/api/playwrightWorkspaces/operations.js +66 -31
- package/dist/esm/api/playwrightWorkspaces/operations.js.map +1 -1
- package/dist/esm/classic/operations/index.d.ts +1 -1
- package/dist/esm/classic/operations/index.js +3 -1
- package/dist/esm/classic/operations/index.js.map +1 -1
- package/dist/esm/classic/playwrightQuotas/index.d.ts +3 -3
- package/dist/esm/classic/playwrightQuotas/index.js +3 -1
- package/dist/esm/classic/playwrightQuotas/index.js.map +1 -1
- package/dist/esm/classic/playwrightWorkspaceQuotas/index.d.ts +3 -3
- package/dist/esm/classic/playwrightWorkspaceQuotas/index.js +3 -1
- package/dist/esm/classic/playwrightWorkspaceQuotas/index.js.map +1 -1
- package/dist/esm/classic/playwrightWorkspaces/index.d.ts +4 -4
- package/dist/esm/classic/playwrightWorkspaces/index.js +3 -1
- package/dist/esm/classic/playwrightWorkspaces/index.js.map +1 -1
- package/dist/esm/index.d.ts +2 -0
- package/dist/esm/index.js +2 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/models/models.d.ts +41 -39
- package/dist/esm/models/models.js +14 -13
- package/dist/esm/models/models.js.map +1 -1
- package/dist/esm/playwrightManagementClient.d.ts +4 -4
- package/dist/esm/playwrightManagementClient.js +19 -6
- package/dist/esm/playwrightManagementClient.js.map +1 -1
- package/dist/esm/restorePollerHelpers.js +12 -14
- package/dist/esm/restorePollerHelpers.js.map +1 -1
- package/dist/esm/static-helpers/cloudSettingHelpers.d.ts +13 -0
- package/dist/esm/static-helpers/cloudSettingHelpers.js +29 -0
- package/dist/esm/static-helpers/cloudSettingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/pagingHelpers.js +31 -50
- package/dist/esm/static-helpers/pagingHelpers.js.map +1 -1
- package/dist/esm/static-helpers/pollingHelpers.js +14 -11
- package/dist/esm/static-helpers/pollingHelpers.js.map +1 -1
- package/dist/esm/static-helpers/urlTemplate.js +4 -3
- package/dist/esm/static-helpers/urlTemplate.js.map +1 -1
- package/dist/react-native/api/operations/operations.d.ts +1 -1
- package/dist/react-native/api/operations/operations.js +9 -4
- package/dist/react-native/api/operations/operations.js.map +1 -1
- package/dist/react-native/api/playwrightManagementContext.d.ts +5 -2
- package/dist/react-native/api/playwrightManagementContext.js +19 -12
- package/dist/react-native/api/playwrightManagementContext.js.map +1 -1
- package/dist/react-native/api/playwrightQuotas/operations.d.ts +3 -3
- package/dist/react-native/api/playwrightQuotas/operations.js +19 -9
- package/dist/react-native/api/playwrightQuotas/operations.js.map +1 -1
- package/dist/react-native/api/playwrightWorkspaceQuotas/operations.d.ts +3 -3
- package/dist/react-native/api/playwrightWorkspaceQuotas/operations.js +19 -9
- package/dist/react-native/api/playwrightWorkspaceQuotas/operations.js.map +1 -1
- package/dist/react-native/api/playwrightWorkspaces/operations.d.ts +4 -4
- package/dist/react-native/api/playwrightWorkspaces/operations.js +66 -31
- package/dist/react-native/api/playwrightWorkspaces/operations.js.map +1 -1
- package/dist/react-native/classic/operations/index.d.ts +1 -1
- package/dist/react-native/classic/operations/index.js +3 -1
- package/dist/react-native/classic/operations/index.js.map +1 -1
- package/dist/react-native/classic/playwrightQuotas/index.d.ts +3 -3
- package/dist/react-native/classic/playwrightQuotas/index.js +3 -1
- package/dist/react-native/classic/playwrightQuotas/index.js.map +1 -1
- package/dist/react-native/classic/playwrightWorkspaceQuotas/index.d.ts +3 -3
- package/dist/react-native/classic/playwrightWorkspaceQuotas/index.js +3 -1
- package/dist/react-native/classic/playwrightWorkspaceQuotas/index.js.map +1 -1
- package/dist/react-native/classic/playwrightWorkspaces/index.d.ts +4 -4
- package/dist/react-native/classic/playwrightWorkspaces/index.js +3 -1
- package/dist/react-native/classic/playwrightWorkspaces/index.js.map +1 -1
- package/dist/react-native/index.d.ts +2 -0
- package/dist/react-native/index.js +2 -0
- package/dist/react-native/index.js.map +1 -1
- package/dist/react-native/models/models.d.ts +41 -39
- package/dist/react-native/models/models.js +14 -13
- package/dist/react-native/models/models.js.map +1 -1
- package/dist/react-native/playwrightManagementClient.d.ts +4 -4
- package/dist/react-native/playwrightManagementClient.js +19 -6
- package/dist/react-native/playwrightManagementClient.js.map +1 -1
- package/dist/react-native/restorePollerHelpers.js +12 -14
- package/dist/react-native/restorePollerHelpers.js.map +1 -1
- package/dist/react-native/static-helpers/cloudSettingHelpers.d.ts +13 -0
- package/dist/react-native/static-helpers/cloudSettingHelpers.js +29 -0
- package/dist/react-native/static-helpers/cloudSettingHelpers.js.map +1 -0
- package/dist/react-native/static-helpers/pagingHelpers.js +31 -50
- package/dist/react-native/static-helpers/pagingHelpers.js.map +1 -1
- package/dist/react-native/static-helpers/pollingHelpers.js +14 -11
- package/dist/react-native/static-helpers/pollingHelpers.js.map +1 -1
- package/dist/react-native/static-helpers/urlTemplate.js +4 -3
- package/dist/react-native/static-helpers/urlTemplate.js.map +1 -1
- package/package.json +40 -42
- package/CHANGELOG.md +0 -7
- package/review/arm-playwright-api-operations.api.md +0 -19
- package/review/arm-playwright-api-playwrightQuotas.api.md +0 -26
- package/review/arm-playwright-api-playwrightWorkspaceQuotas.api.md +0 -26
- package/review/arm-playwright-api-playwrightWorkspaces.api.md +0 -65
- package/review/arm-playwright-api.api.md +0 -27
- package/review/arm-playwright-models.api.md +0 -232
- package/review/arm-playwright.api.md +0 -361
|
@@ -106,12 +106,14 @@ export declare function playwrightWorkspaceDeserializer(item: any): PlaywrightWo
|
|
|
106
106
|
export interface PlaywrightWorkspaceProperties {
|
|
107
107
|
/** The status of the last resource operation. */
|
|
108
108
|
readonly provisioningState?: ProvisioningState;
|
|
109
|
-
/** The workspace data plane URI. */
|
|
109
|
+
/** The workspace data plane service API URI. */
|
|
110
110
|
readonly dataplaneUri?: string;
|
|
111
|
-
/**
|
|
111
|
+
/** Controls the connection region for client workers to cloud-hosted browsers. When enabled, workers connect to browsers in the closest Azure region for lower latency. When disabled, workers connect to browsers in the Azure region where the workspace was created. */
|
|
112
112
|
regionalAffinity?: EnablementStatus;
|
|
113
|
-
/**
|
|
113
|
+
/** Enables the workspace to use local authentication through service access tokens for operations. */
|
|
114
114
|
localAuth?: EnablementStatus;
|
|
115
|
+
/** The workspace ID in GUID format. */
|
|
116
|
+
readonly workspaceId?: string;
|
|
115
117
|
}
|
|
116
118
|
export declare function playwrightWorkspacePropertiesSerializer(item: PlaywrightWorkspaceProperties): any;
|
|
117
119
|
export declare function playwrightWorkspacePropertiesDeserializer(item: any): PlaywrightWorkspaceProperties;
|
|
@@ -123,11 +125,11 @@ export declare enum KnownProvisioningState {
|
|
|
123
125
|
Failed = "Failed",
|
|
124
126
|
/** Resource creation was canceled. */
|
|
125
127
|
Canceled = "Canceled",
|
|
126
|
-
/**
|
|
128
|
+
/** Resource creation is in progress. */
|
|
127
129
|
Creating = "Creating",
|
|
128
|
-
/**
|
|
130
|
+
/** Resource deletion is in progress. */
|
|
129
131
|
Deleting = "Deleting",
|
|
130
|
-
/** Request accepted for processing
|
|
132
|
+
/** Request has been accepted for processing. */
|
|
131
133
|
Accepted = "Accepted"
|
|
132
134
|
}
|
|
133
135
|
/**
|
|
@@ -138,16 +140,16 @@ export declare enum KnownProvisioningState {
|
|
|
138
140
|
* **Succeeded**: Resource has been created. \
|
|
139
141
|
* **Failed**: Resource creation failed. \
|
|
140
142
|
* **Canceled**: Resource creation was canceled. \
|
|
141
|
-
* **Creating**:
|
|
142
|
-
* **Deleting**:
|
|
143
|
-
* **Accepted**: Request accepted for processing
|
|
143
|
+
* **Creating**: Resource creation is in progress. \
|
|
144
|
+
* **Deleting**: Resource deletion is in progress. \
|
|
145
|
+
* **Accepted**: Request has been accepted for processing.
|
|
144
146
|
*/
|
|
145
147
|
export type ProvisioningState = string;
|
|
146
148
|
/** The enablement status of a feature. */
|
|
147
149
|
export declare enum KnownEnablementStatus {
|
|
148
|
-
/** The feature is
|
|
150
|
+
/** The feature is enabled. */
|
|
149
151
|
Enabled = "Enabled",
|
|
150
|
-
/** The feature is
|
|
152
|
+
/** The feature is disabled. */
|
|
151
153
|
Disabled = "Disabled"
|
|
152
154
|
}
|
|
153
155
|
/**
|
|
@@ -155,8 +157,8 @@ export declare enum KnownEnablementStatus {
|
|
|
155
157
|
* {@link KnownEnablementStatus} can be used interchangeably with EnablementStatus,
|
|
156
158
|
* this enum contains the known values that the service supports.
|
|
157
159
|
* ### Known values supported by the service
|
|
158
|
-
* **Enabled**: The feature is
|
|
159
|
-
* **Disabled**: The feature is
|
|
160
|
+
* **Enabled**: The feature is enabled. \
|
|
161
|
+
* **Disabled**: The feature is disabled.
|
|
160
162
|
*/
|
|
161
163
|
export type EnablementStatus = string;
|
|
162
164
|
/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
|
|
@@ -229,9 +231,9 @@ export interface PlaywrightWorkspaceUpdate {
|
|
|
229
231
|
export declare function playwrightWorkspaceUpdateSerializer(item: PlaywrightWorkspaceUpdate): any;
|
|
230
232
|
/** The updatable properties of the PlaywrightWorkspace. */
|
|
231
233
|
export interface PlaywrightWorkspaceUpdateProperties {
|
|
232
|
-
/**
|
|
234
|
+
/** Controls the connection region for client workers to cloud-hosted browsers. When enabled, workers connect to browsers in the closest Azure region for lower latency. When disabled, workers connect to browsers in the Azure region where the workspace was created. */
|
|
233
235
|
regionalAffinity?: EnablementStatus;
|
|
234
|
-
/**
|
|
236
|
+
/** Enables the workspace to use local authentication through service access tokens for operations. */
|
|
235
237
|
localAuth?: EnablementStatus;
|
|
236
238
|
}
|
|
237
239
|
export declare function playwrightWorkspaceUpdatePropertiesSerializer(item: PlaywrightWorkspaceUpdateProperties): any;
|
|
@@ -287,46 +289,46 @@ export interface PlaywrightQuota extends ProxyResource {
|
|
|
287
289
|
export declare function playwrightQuotaDeserializer(item: any): PlaywrightQuota;
|
|
288
290
|
/** Subscription-level location-based Playwright quota resource properties. */
|
|
289
291
|
export interface PlaywrightQuotaProperties {
|
|
290
|
-
/** The subscription-level location-based Playwright quota
|
|
292
|
+
/** The subscription-level location-based Playwright quota free trial properties. */
|
|
291
293
|
readonly freeTrial?: FreeTrialProperties;
|
|
292
294
|
/** The status of the last resource operation. */
|
|
293
295
|
readonly provisioningState?: ProvisioningState;
|
|
294
296
|
}
|
|
295
297
|
export declare function playwrightQuotaPropertiesDeserializer(item: any): PlaywrightQuotaProperties;
|
|
296
|
-
/** Subscription-level location-based Playwright quota
|
|
298
|
+
/** Subscription-level location-based Playwright quota free trial properties. */
|
|
297
299
|
export interface FreeTrialProperties {
|
|
298
|
-
/**
|
|
300
|
+
/** The workspace ID in GUID format that has free trial enabled in the subscription. */
|
|
299
301
|
readonly workspaceId: string;
|
|
300
|
-
/** The free
|
|
302
|
+
/** The free trial state. */
|
|
301
303
|
readonly state: FreeTrialState;
|
|
302
304
|
}
|
|
303
305
|
export declare function freeTrialPropertiesDeserializer(item: any): FreeTrialProperties;
|
|
304
|
-
/** The free
|
|
306
|
+
/** The free trial state. */
|
|
305
307
|
export declare enum KnownFreeTrialState {
|
|
306
|
-
/** The free
|
|
308
|
+
/** The free trial is active and available for use. */
|
|
307
309
|
Active = "Active",
|
|
308
|
-
/** The free
|
|
310
|
+
/** The free trial has expired and is no longer available. */
|
|
309
311
|
Expired = "Expired",
|
|
310
|
-
/** The free
|
|
312
|
+
/** The free trial is not applicable for this resource. */
|
|
311
313
|
NotApplicable = "NotApplicable"
|
|
312
314
|
}
|
|
313
315
|
/**
|
|
314
|
-
* The free
|
|
316
|
+
* The free trial state. \
|
|
315
317
|
* {@link KnownFreeTrialState} can be used interchangeably with FreeTrialState,
|
|
316
318
|
* this enum contains the known values that the service supports.
|
|
317
319
|
* ### Known values supported by the service
|
|
318
|
-
* **Active**: The free
|
|
319
|
-
* **Expired**: The free
|
|
320
|
-
* **NotApplicable**: The free
|
|
320
|
+
* **Active**: The free trial is active and available for use. \
|
|
321
|
+
* **Expired**: The free trial has expired and is no longer available. \
|
|
322
|
+
* **NotApplicable**: The free trial is not applicable for this resource.
|
|
321
323
|
*/
|
|
322
324
|
export type FreeTrialState = string;
|
|
323
|
-
/** Playwright quota
|
|
325
|
+
/** Available Playwright quota types. */
|
|
324
326
|
export declare enum KnownQuotaName {
|
|
325
327
|
/** Quota for execution duration in minutes. */
|
|
326
328
|
ExecutionMinutes = "ExecutionMinutes"
|
|
327
329
|
}
|
|
328
330
|
/**
|
|
329
|
-
* Playwright quota
|
|
331
|
+
* Available Playwright quota types. \
|
|
330
332
|
* {@link KnownQuotaName} can be used interchangeably with QuotaName,
|
|
331
333
|
* this enum contains the known values that the service supports.
|
|
332
334
|
* ### Known values supported by the service
|
|
@@ -354,23 +356,23 @@ export interface PlaywrightWorkspaceQuota extends ProxyResource {
|
|
|
354
356
|
export declare function playwrightWorkspaceQuotaDeserializer(item: any): PlaywrightWorkspaceQuota;
|
|
355
357
|
/** Playwright workspace quota resource properties. */
|
|
356
358
|
export interface PlaywrightWorkspaceQuotaProperties {
|
|
357
|
-
/** The Playwright workspace quota
|
|
359
|
+
/** The Playwright workspace quota free trial properties. */
|
|
358
360
|
readonly freeTrial?: PlaywrightWorkspaceFreeTrialProperties;
|
|
359
361
|
/** The status of the last resource operation. */
|
|
360
362
|
readonly provisioningState?: ProvisioningState;
|
|
361
363
|
}
|
|
362
364
|
export declare function playwrightWorkspaceQuotaPropertiesDeserializer(item: any): PlaywrightWorkspaceQuotaProperties;
|
|
363
|
-
/** Playwright workspace quota
|
|
365
|
+
/** Playwright workspace quota free trial properties. */
|
|
364
366
|
export interface PlaywrightWorkspaceFreeTrialProperties {
|
|
365
|
-
/** The free
|
|
367
|
+
/** The free trial creation timestamp in UTC. */
|
|
366
368
|
readonly createdAt: Date;
|
|
367
|
-
/** The free
|
|
369
|
+
/** The free trial expiration timestamp in UTC. */
|
|
368
370
|
readonly expiryAt: Date;
|
|
369
|
-
/** The
|
|
371
|
+
/** The allocated limit value (e.g., allocated free execution minutes). */
|
|
370
372
|
readonly allocatedValue: number;
|
|
371
|
-
/** The
|
|
373
|
+
/** The used value (e.g., used free execution minutes). */
|
|
372
374
|
readonly usedValue: number;
|
|
373
|
-
/** The free
|
|
375
|
+
/** The percentage of the free trial quota used. */
|
|
374
376
|
readonly percentageUsed: number;
|
|
375
377
|
}
|
|
376
378
|
export declare function playwrightWorkspaceFreeTrialPropertiesDeserializer(item: any): PlaywrightWorkspaceFreeTrialProperties;
|
|
@@ -383,9 +385,9 @@ export interface _PlaywrightWorkspaceQuotaListResult {
|
|
|
383
385
|
}
|
|
384
386
|
export declare function _playwrightWorkspaceQuotaListResultDeserializer(item: any): _PlaywrightWorkspaceQuotaListResult;
|
|
385
387
|
export declare function playwrightWorkspaceQuotaArrayDeserializer(result: Array<PlaywrightWorkspaceQuota>): any[];
|
|
386
|
-
/** Playwright
|
|
388
|
+
/** Available versions of the Playwright Service Management API. */
|
|
387
389
|
export declare enum KnownVersions {
|
|
388
|
-
/** 2025-
|
|
389
|
-
|
|
390
|
+
/** Stable version 2025-09-01 with general availability features for Playwright workspace management. */
|
|
391
|
+
V20250901 = "2025-09-01"
|
|
390
392
|
}
|
|
391
393
|
//# sourceMappingURL=models.d.ts.map
|
|
@@ -112,6 +112,7 @@ export function playwrightWorkspacePropertiesDeserializer(item) {
|
|
|
112
112
|
dataplaneUri: item["dataplaneUri"],
|
|
113
113
|
regionalAffinity: item["regionalAffinity"],
|
|
114
114
|
localAuth: item["localAuth"],
|
|
115
|
+
workspaceId: item["workspaceId"],
|
|
115
116
|
};
|
|
116
117
|
}
|
|
117
118
|
/** The status of the last resource operation. */
|
|
@@ -123,19 +124,19 @@ export var KnownProvisioningState;
|
|
|
123
124
|
KnownProvisioningState["Failed"] = "Failed";
|
|
124
125
|
/** Resource creation was canceled. */
|
|
125
126
|
KnownProvisioningState["Canceled"] = "Canceled";
|
|
126
|
-
/**
|
|
127
|
+
/** Resource creation is in progress. */
|
|
127
128
|
KnownProvisioningState["Creating"] = "Creating";
|
|
128
|
-
/**
|
|
129
|
+
/** Resource deletion is in progress. */
|
|
129
130
|
KnownProvisioningState["Deleting"] = "Deleting";
|
|
130
|
-
/** Request accepted for processing
|
|
131
|
+
/** Request has been accepted for processing. */
|
|
131
132
|
KnownProvisioningState["Accepted"] = "Accepted";
|
|
132
133
|
})(KnownProvisioningState || (KnownProvisioningState = {}));
|
|
133
134
|
/** The enablement status of a feature. */
|
|
134
135
|
export var KnownEnablementStatus;
|
|
135
136
|
(function (KnownEnablementStatus) {
|
|
136
|
-
/** The feature is
|
|
137
|
+
/** The feature is enabled. */
|
|
137
138
|
KnownEnablementStatus["Enabled"] = "Enabled";
|
|
138
|
-
/** The feature is
|
|
139
|
+
/** The feature is disabled. */
|
|
139
140
|
KnownEnablementStatus["Disabled"] = "Disabled";
|
|
140
141
|
})(KnownEnablementStatus || (KnownEnablementStatus = {}));
|
|
141
142
|
export function trackedResourceSerializer(item) {
|
|
@@ -265,17 +266,17 @@ export function freeTrialPropertiesDeserializer(item) {
|
|
|
265
266
|
state: item["state"],
|
|
266
267
|
};
|
|
267
268
|
}
|
|
268
|
-
/** The free
|
|
269
|
+
/** The free trial state. */
|
|
269
270
|
export var KnownFreeTrialState;
|
|
270
271
|
(function (KnownFreeTrialState) {
|
|
271
|
-
/** The free
|
|
272
|
+
/** The free trial is active and available for use. */
|
|
272
273
|
KnownFreeTrialState["Active"] = "Active";
|
|
273
|
-
/** The free
|
|
274
|
+
/** The free trial has expired and is no longer available. */
|
|
274
275
|
KnownFreeTrialState["Expired"] = "Expired";
|
|
275
|
-
/** The free
|
|
276
|
+
/** The free trial is not applicable for this resource. */
|
|
276
277
|
KnownFreeTrialState["NotApplicable"] = "NotApplicable";
|
|
277
278
|
})(KnownFreeTrialState || (KnownFreeTrialState = {}));
|
|
278
|
-
/** Playwright quota
|
|
279
|
+
/** Available Playwright quota types. */
|
|
279
280
|
export var KnownQuotaName;
|
|
280
281
|
(function (KnownQuotaName) {
|
|
281
282
|
/** Quota for execution duration in minutes. */
|
|
@@ -343,10 +344,10 @@ export function playwrightWorkspaceQuotaArrayDeserializer(result) {
|
|
|
343
344
|
return playwrightWorkspaceQuotaDeserializer(item);
|
|
344
345
|
});
|
|
345
346
|
}
|
|
346
|
-
/** Playwright
|
|
347
|
+
/** Available versions of the Playwright Service Management API. */
|
|
347
348
|
export var KnownVersions;
|
|
348
349
|
(function (KnownVersions) {
|
|
349
|
-
/** 2025-
|
|
350
|
-
KnownVersions["
|
|
350
|
+
/** Stable version 2025-09-01 with general availability features for Playwright workspace management. */
|
|
351
|
+
KnownVersions["V20250901"] = "2025-09-01";
|
|
351
352
|
})(KnownVersions || (KnownVersions = {}));
|
|
352
353
|
//# sourceMappingURL=models.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"models.js","sourceRoot":"","sources":["../../../src/models/models.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAUlC,MAAM,UAAU,gCAAgC,CAAC,IAAS;IACxD,OAAO;QACL,KAAK,EAAE,0BAA0B,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAChD,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC;KAC3B,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,0BAA0B,CAAC,MAAwB;IACjE,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QACzB,OAAO,qBAAqB,CAAC,IAAI,CAAC,CAAC;IACrC,CAAC,CAAC,C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AAuC,CAAA;AACzC,CAAC,EAHW,aAAa,KAAb,aAAa,QAGxB","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */\nexport interface _OperationListResult {\n /** The Operation items on this page */\n value: Operation[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _operationListResultDeserializer(item: any): _OperationListResult {\n return {\n value: operationArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function operationArrayDeserializer(result: Array<Operation>): any[] {\n return result.map((item) => {\n return operationDeserializer(item);\n });\n}\n\n/** Details of a REST API operation, returned from the Resource Provider Operations API */\nexport interface Operation {\n /** The name of the operation, as per Resource-Based Access Control (RBAC). Examples: \"Microsoft.Compute/virtualMachines/write\", \"Microsoft.Compute/virtualMachines/capture/action\" */\n readonly name?: string;\n /** Whether the operation applies to data-plane. This is \"true\" for data-plane operations and \"false\" for Azure Resource Manager/control-plane operations. */\n readonly isDataAction?: boolean;\n /** Localized display information for this particular operation. */\n display?: OperationDisplay;\n /** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" */\n readonly origin?: Origin;\n /** Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. */\n readonly actionType?: ActionType;\n}\n\nexport function operationDeserializer(item: any): Operation {\n return {\n name: item[\"name\"],\n isDataAction: item[\"isDataAction\"],\n display: !item[\"display\"] ? item[\"display\"] : operationDisplayDeserializer(item[\"display\"]),\n origin: item[\"origin\"],\n actionType: item[\"actionType\"],\n };\n}\n\n/** Localized display information for and operation. */\nexport interface OperationDisplay {\n /** The localized friendly form of the resource provider name, e.g. \"Microsoft Monitoring Insights\" or \"Microsoft Compute\". */\n readonly provider?: string;\n /** The localized friendly name of the resource type related to this operation. E.g. \"Virtual Machines\" or \"Job Schedule Collections\". */\n readonly resource?: string;\n /** The concise, localized friendly name for the operation; suitable for dropdowns. E.g. \"Create or Update Virtual Machine\", \"Restart Virtual Machine\". */\n readonly operation?: string;\n /** The short, localized friendly description of the operation; suitable for tool tips and detailed views. */\n readonly description?: string;\n}\n\nexport function operationDisplayDeserializer(item: any): OperationDisplay {\n return {\n provider: item[\"provider\"],\n resource: item[\"resource\"],\n operation: item[\"operation\"],\n description: item[\"description\"],\n };\n}\n\n/** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" */\nexport enum KnownOrigin {\n /** Indicates the operation is initiated by a user. */\n User = \"user\",\n /** Indicates the operation is initiated by a system. */\n System = \"system\",\n /** Indicates the operation is initiated by a user or system. */\n UserSystem = \"user,system\",\n}\n\n/**\n * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" \\\n * {@link KnownOrigin} can be used interchangeably with Origin,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **user**: Indicates the operation is initiated by a user. \\\n * **system**: Indicates the operation is initiated by a system. \\\n * **user,system**: Indicates the operation is initiated by a user or system.\n */\nexport type Origin = string;\n\n/** Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. */\nexport enum KnownActionType {\n /** Actions are for internal-only APIs. */\n Internal = \"Internal\",\n}\n\n/**\n * Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. \\\n * {@link KnownActionType} can be used interchangeably with ActionType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Internal**: Actions are for internal-only APIs.\n */\nexport type ActionType = string;\n\n/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. */\nexport interface ErrorResponse {\n /** The error object. */\n error?: ErrorDetail;\n}\n\nexport function errorResponseDeserializer(item: any): ErrorResponse {\n return {\n error: !item[\"error\"] ? item[\"error\"] : errorDetailDeserializer(item[\"error\"]),\n };\n}\n\n/** The error detail. */\nexport interface ErrorDetail {\n /** The error code. */\n readonly code?: string;\n /** The error message. */\n readonly message?: string;\n /** The error target. */\n readonly target?: string;\n /** The error details. */\n readonly details?: ErrorDetail[];\n /** The error additional info. */\n readonly additionalInfo?: ErrorAdditionalInfo[];\n}\n\nexport function errorDetailDeserializer(item: any): ErrorDetail {\n return {\n code: item[\"code\"],\n message: item[\"message\"],\n target: item[\"target\"],\n details: !item[\"details\"] ? item[\"details\"] : errorDetailArrayDeserializer(item[\"details\"]),\n additionalInfo: !item[\"additionalInfo\"]\n ? item[\"additionalInfo\"]\n : errorAdditionalInfoArrayDeserializer(item[\"additionalInfo\"]),\n };\n}\n\nexport function errorDetailArrayDeserializer(result: Array<ErrorDetail>): any[] {\n return result.map((item) => {\n return errorDetailDeserializer(item);\n });\n}\n\nexport function errorAdditionalInfoArrayDeserializer(result: Array<ErrorAdditionalInfo>): any[] {\n return result.map((item) => {\n return errorAdditionalInfoDeserializer(item);\n });\n}\n\n/** The resource management error additional info. */\nexport interface ErrorAdditionalInfo {\n /** The additional info type. */\n readonly type?: string;\n /** The additional info. */\n readonly info?: any;\n}\n\nexport function errorAdditionalInfoDeserializer(item: any): ErrorAdditionalInfo {\n return {\n type: item[\"type\"],\n info: item[\"info\"],\n };\n}\n\n/** Playwright workspace resource. */\nexport interface PlaywrightWorkspace extends TrackedResource {\n /** The resource-specific properties for this resource. */\n properties?: PlaywrightWorkspaceProperties;\n}\n\nexport function playwrightWorkspaceSerializer(item: PlaywrightWorkspace): any {\n return {\n tags: item[\"tags\"],\n location: item[\"location\"],\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : playwrightWorkspacePropertiesSerializer(item[\"properties\"]),\n };\n}\n\nexport function playwrightWorkspaceDeserializer(item: any): PlaywrightWorkspace {\n return {\n tags: item[\"tags\"],\n location: item[\"location\"],\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : playwrightWorkspacePropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** Playwright workspace resource properties. */\nexport interface PlaywrightWorkspaceProperties {\n /** The status of the last resource operation. */\n readonly provisioningState?: ProvisioningState;\n /** The workspace data plane URI. */\n readonly dataplaneUri?: string;\n /** This property sets the connection region for client workers to cloud-hosted browsers. If enabled, workers connect to browsers in the closest Azure region, ensuring lower latency. If disabled, workers connect to browsers in the Azure region in which the workspace was initially created. */\n regionalAffinity?: EnablementStatus;\n /** When enabled, this feature allows the workspace to use local auth (through service access token) for executing operations. */\n localAuth?: EnablementStatus;\n}\n\nexport function playwrightWorkspacePropertiesSerializer(item: PlaywrightWorkspaceProperties): any {\n return {\n regionalAffinity: item[\"regionalAffinity\"],\n localAuth: item[\"localAuth\"],\n };\n}\n\nexport function playwrightWorkspacePropertiesDeserializer(\n item: any,\n): PlaywrightWorkspaceProperties {\n return {\n provisioningState: item[\"provisioningState\"],\n dataplaneUri: item[\"dataplaneUri\"],\n regionalAffinity: item[\"regionalAffinity\"],\n localAuth: item[\"localAuth\"],\n };\n}\n\n/** The status of the last resource operation. */\nexport enum KnownProvisioningState {\n /** Resource has been created. */\n Succeeded = \"Succeeded\",\n /** Resource creation failed. */\n Failed = \"Failed\",\n /** Resource creation was canceled. */\n Canceled = \"Canceled\",\n /** Creation in progress.. */\n Creating = \"Creating\",\n /** Deletion in progress.. */\n Deleting = \"Deleting\",\n /** Request accepted for processing.. */\n Accepted = \"Accepted\",\n}\n\n/**\n * The status of the last resource operation. \\\n * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Succeeded**: Resource has been created. \\\n * **Failed**: Resource creation failed. \\\n * **Canceled**: Resource creation was canceled. \\\n * **Creating**: Creation in progress.. \\\n * **Deleting**: Deletion in progress.. \\\n * **Accepted**: Request accepted for processing..\n */\nexport type ProvisioningState = string;\n\n/** The enablement status of a feature. */\nexport enum KnownEnablementStatus {\n /** The feature is Enabled. */\n Enabled = \"Enabled\",\n /** The feature is Disabled. */\n Disabled = \"Disabled\",\n}\n\n/**\n * The enablement status of a feature. \\\n * {@link KnownEnablementStatus} can be used interchangeably with EnablementStatus,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Enabled**: The feature is Enabled. \\\n * **Disabled**: The feature is Disabled.\n */\nexport type EnablementStatus = string;\n\n/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */\nexport interface TrackedResource extends Resource {\n /** Resource tags. */\n tags?: Record<string, string>;\n /** The geo-location where the resource lives */\n location: string;\n}\n\nexport function trackedResourceSerializer(item: TrackedResource): any {\n return { tags: item[\"tags\"], location: item[\"location\"] };\n}\n\nexport function trackedResourceDeserializer(item: any): TrackedResource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n tags: item[\"tags\"],\n location: item[\"location\"],\n };\n}\n\n/** Common fields that are returned in the response for all Azure Resource Manager resources */\nexport interface Resource {\n /** Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */\n readonly id?: string;\n /** The name of the resource */\n readonly name?: string;\n /** The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" */\n readonly type?: string;\n /** Azure Resource Manager metadata containing createdBy and modifiedBy information. */\n readonly systemData?: SystemData;\n}\n\nexport function resourceSerializer(item: Resource): any {\n return item;\n}\n\nexport function resourceDeserializer(item: any): Resource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n };\n}\n\n/** Metadata pertaining to creation and last modification of the resource. */\nexport interface SystemData {\n /** The identity that created the resource. */\n createdBy?: string;\n /** The type of identity that created the resource. */\n createdByType?: CreatedByType;\n /** The timestamp of resource creation (UTC). */\n createdAt?: Date;\n /** The identity that last modified the resource. */\n lastModifiedBy?: string;\n /** The type of identity that last modified the resource. */\n lastModifiedByType?: CreatedByType;\n /** The timestamp of resource last modification (UTC) */\n lastModifiedAt?: Date;\n}\n\nexport function systemDataDeserializer(item: any): SystemData {\n return {\n createdBy: item[\"createdBy\"],\n createdByType: item[\"createdByType\"],\n createdAt: !item[\"createdAt\"] ? item[\"createdAt\"] : new Date(item[\"createdAt\"]),\n lastModifiedBy: item[\"lastModifiedBy\"],\n lastModifiedByType: item[\"lastModifiedByType\"],\n lastModifiedAt: !item[\"lastModifiedAt\"]\n ? item[\"lastModifiedAt\"]\n : new Date(item[\"lastModifiedAt\"]),\n };\n}\n\n/** The kind of entity that created the resource. */\nexport enum KnownCreatedByType {\n /** The entity was created by a user. */\n User = \"User\",\n /** The entity was created by an application. */\n Application = \"Application\",\n /** The entity was created by a managed identity. */\n ManagedIdentity = \"ManagedIdentity\",\n /** The entity was created by a key. */\n Key = \"Key\",\n}\n\n/**\n * The kind of entity that created the resource. \\\n * {@link KnowncreatedByType} can be used interchangeably with createdByType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **User**: The entity was created by a user. \\\n * **Application**: The entity was created by an application. \\\n * **ManagedIdentity**: The entity was created by a managed identity. \\\n * **Key**: The entity was created by a key.\n */\nexport type CreatedByType = string;\n\n/** The type used for update operations of the PlaywrightWorkspace. */\nexport interface PlaywrightWorkspaceUpdate {\n /** Resource tags. */\n tags?: Record<string, string>;\n /** The resource-specific properties for this resource. */\n properties?: PlaywrightWorkspaceUpdateProperties;\n}\n\nexport function playwrightWorkspaceUpdateSerializer(item: PlaywrightWorkspaceUpdate): any {\n return {\n tags: item[\"tags\"],\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : playwrightWorkspaceUpdatePropertiesSerializer(item[\"properties\"]),\n };\n}\n\n/** The updatable properties of the PlaywrightWorkspace. */\nexport interface PlaywrightWorkspaceUpdateProperties {\n /** This property sets the connection region for client workers to cloud-hosted browsers. If enabled, workers connect to browsers in the closest Azure region, ensuring lower latency. If disabled, workers connect to browsers in the Azure region in which the workspace was initially created. */\n regionalAffinity?: EnablementStatus;\n /** When enabled, this feature allows the workspace to use local auth (through service access token) for executing operations. */\n localAuth?: EnablementStatus;\n}\n\nexport function playwrightWorkspaceUpdatePropertiesSerializer(\n item: PlaywrightWorkspaceUpdateProperties,\n): any {\n return {\n regionalAffinity: item[\"regionalAffinity\"],\n localAuth: item[\"localAuth\"],\n };\n}\n\n/** The response of a PlaywrightWorkspace list operation. */\nexport interface _PlaywrightWorkspaceListResult {\n /** The PlaywrightWorkspace items on this page */\n value: PlaywrightWorkspace[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _playwrightWorkspaceListResultDeserializer(\n item: any,\n): _PlaywrightWorkspaceListResult {\n return {\n value: playwrightWorkspaceArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function playwrightWorkspaceArraySerializer(result: Array<PlaywrightWorkspace>): any[] {\n return result.map((item) => {\n return playwrightWorkspaceSerializer(item);\n });\n}\n\nexport function playwrightWorkspaceArrayDeserializer(result: Array<PlaywrightWorkspace>): any[] {\n return result.map((item) => {\n return playwrightWorkspaceDeserializer(item);\n });\n}\n\n/** The check availability request body. */\nexport interface CheckNameAvailabilityRequest {\n /** The name of the resource for which availability needs to be checked. */\n name?: string;\n /** The resource type. */\n type?: string;\n}\n\nexport function checkNameAvailabilityRequestSerializer(item: CheckNameAvailabilityRequest): any {\n return { name: item[\"name\"], type: item[\"type\"] };\n}\n\n/** The check availability result. */\nexport interface CheckNameAvailabilityResponse {\n /** Indicates if the resource name is available. */\n nameAvailable?: boolean;\n /** The reason why the given name is not available. */\n reason?: CheckNameAvailabilityReason;\n /** Detailed reason why the given name is not available. */\n message?: string;\n}\n\nexport function checkNameAvailabilityResponseDeserializer(\n item: any,\n): CheckNameAvailabilityResponse {\n return {\n nameAvailable: item[\"nameAvailable\"],\n reason: item[\"reason\"],\n message: item[\"message\"],\n };\n}\n\n/** Possible reasons for a name not being available. */\nexport enum KnownCheckNameAvailabilityReason {\n /** Name is invalid. */\n Invalid = \"Invalid\",\n /** Name already exists. */\n AlreadyExists = \"AlreadyExists\",\n}\n\n/**\n * Possible reasons for a name not being available. \\\n * {@link KnownCheckNameAvailabilityReason} can be used interchangeably with CheckNameAvailabilityReason,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Invalid**: Name is invalid. \\\n * **AlreadyExists**: Name already exists.\n */\nexport type CheckNameAvailabilityReason = string;\n\n/** Subscription-level location-based Playwright quota resource. */\nexport interface PlaywrightQuota extends ProxyResource {\n /** The resource-specific properties for this resource. */\n properties?: PlaywrightQuotaProperties;\n}\n\nexport function playwrightQuotaDeserializer(item: any): PlaywrightQuota {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : playwrightQuotaPropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** Subscription-level location-based Playwright quota resource properties. */\nexport interface PlaywrightQuotaProperties {\n /** The subscription-level location-based Playwright quota resource free-trial properties. */\n readonly freeTrial?: FreeTrialProperties;\n /** The status of the last resource operation. */\n readonly provisioningState?: ProvisioningState;\n}\n\nexport function playwrightQuotaPropertiesDeserializer(item: any): PlaywrightQuotaProperties {\n return {\n freeTrial: !item[\"freeTrial\"]\n ? item[\"freeTrial\"]\n : freeTrialPropertiesDeserializer(item[\"freeTrial\"]),\n provisioningState: item[\"provisioningState\"],\n };\n}\n\n/** Subscription-level location-based Playwright quota resource free-trial properties. */\nexport interface FreeTrialProperties {\n /** Playwright workspace-id that has free-trial in the subscription. */\n readonly workspaceId: string;\n /** The free-trial state. */\n readonly state: FreeTrialState;\n}\n\nexport function freeTrialPropertiesDeserializer(item: any): FreeTrialProperties {\n return {\n workspaceId: item[\"workspaceId\"],\n state: item[\"state\"],\n };\n}\n\n/** The free-trial state. */\nexport enum KnownFreeTrialState {\n /** The free-trial is Active. */\n Active = \"Active\",\n /** The free-trial is Expired. */\n Expired = \"Expired\",\n /** The free-trial is Not Applicable. */\n NotApplicable = \"NotApplicable\",\n}\n\n/**\n * The free-trial state. \\\n * {@link KnownFreeTrialState} can be used interchangeably with FreeTrialState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Active**: The free-trial is Active. \\\n * **Expired**: The free-trial is Expired. \\\n * **NotApplicable**: The free-trial is Not Applicable.\n */\nexport type FreeTrialState = string;\n\n/** Playwright quota names. */\nexport enum KnownQuotaName {\n /** Quota for execution duration in minutes. */\n ExecutionMinutes = \"ExecutionMinutes\",\n}\n\n/**\n * Playwright quota names. \\\n * {@link KnownQuotaName} can be used interchangeably with QuotaName,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **ExecutionMinutes**: Quota for execution duration in minutes.\n */\nexport type QuotaName = string;\n\n/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */\nexport interface ProxyResource extends Resource {}\n\nexport function proxyResourceDeserializer(item: any): ProxyResource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n };\n}\n\n/** The response of a PlaywrightQuota list operation. */\nexport interface _PlaywrightQuotaListResult {\n /** The PlaywrightQuota items on this page */\n value: PlaywrightQuota[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _playwrightQuotaListResultDeserializer(item: any): _PlaywrightQuotaListResult {\n return {\n value: playwrightQuotaArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function playwrightQuotaArrayDeserializer(result: Array<PlaywrightQuota>): any[] {\n return result.map((item) => {\n return playwrightQuotaDeserializer(item);\n });\n}\n\n/** Playwright workspace quota resource. */\nexport interface PlaywrightWorkspaceQuota extends ProxyResource {\n /** The resource-specific properties for this resource. */\n properties?: PlaywrightWorkspaceQuotaProperties;\n}\n\nexport function playwrightWorkspaceQuotaDeserializer(item: any): PlaywrightWorkspaceQuota {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : playwrightWorkspaceQuotaPropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** Playwright workspace quota resource properties. */\nexport interface PlaywrightWorkspaceQuotaProperties {\n /** The Playwright workspace quota resource free-trial properties. */\n readonly freeTrial?: PlaywrightWorkspaceFreeTrialProperties;\n /** The status of the last resource operation. */\n readonly provisioningState?: ProvisioningState;\n}\n\nexport function playwrightWorkspaceQuotaPropertiesDeserializer(\n item: any,\n): PlaywrightWorkspaceQuotaProperties {\n return {\n freeTrial: !item[\"freeTrial\"]\n ? item[\"freeTrial\"]\n : playwrightWorkspaceFreeTrialPropertiesDeserializer(item[\"freeTrial\"]),\n provisioningState: item[\"provisioningState\"],\n };\n}\n\n/** Playwright workspace quota resource resource free-trial properties. */\nexport interface PlaywrightWorkspaceFreeTrialProperties {\n /** The free-trial createdAt utcDateTime. */\n readonly createdAt: Date;\n /** The free-trial expiryAt utcDateTime. */\n readonly expiryAt: Date;\n /** The free-trial allocated limit value eg. allocated free execution minutes. */\n readonly allocatedValue: number;\n /** The free-trial used value eg. used free execution minutes. */\n readonly usedValue: number;\n /** The free-trial percentage used. */\n readonly percentageUsed: number;\n}\n\nexport function playwrightWorkspaceFreeTrialPropertiesDeserializer(\n item: any,\n): PlaywrightWorkspaceFreeTrialProperties {\n return {\n createdAt: new Date(item[\"createdAt\"]),\n expiryAt: new Date(item[\"expiryAt\"]),\n allocatedValue: item[\"allocatedValue\"],\n usedValue: item[\"usedValue\"],\n percentageUsed: item[\"percentageUsed\"],\n };\n}\n\n/** The response of a PlaywrightWorkspaceQuota list operation. */\nexport interface _PlaywrightWorkspaceQuotaListResult {\n /** The PlaywrightWorkspaceQuota items on this page */\n value: PlaywrightWorkspaceQuota[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _playwrightWorkspaceQuotaListResultDeserializer(\n item: any,\n): _PlaywrightWorkspaceQuotaListResult {\n return {\n value: playwrightWorkspaceQuotaArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function playwrightWorkspaceQuotaArrayDeserializer(\n result: Array<PlaywrightWorkspaceQuota>,\n): any[] {\n return result.map((item) => {\n return playwrightWorkspaceQuotaDeserializer(item);\n });\n}\n\n/** Playwright service Management API Versions. */\nexport enum KnownVersions {\n /** 2025-07-01-preview version */\n V20250701Preview = \"2025-07-01-preview\",\n}\n"]}
|
|
1
|
+
{"version":3,"file":"models.js","sourceRoot":"","sources":["../../../src/models/models.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAUlC,MAAM,UAAU,gCAAgC,CAAC,IAAS;IACxD,OAAO;QACL,KAAK,EAAE,0BAA0B,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAChD,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC;KAC3B,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,0BAA0B,CAAC,MAAwB;IACjE,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QACzB,OAAO,qBAAqB,CAAC,IAAI,CAAC,CAAC;IACrC,CAAC,CAAC,CAAC;AACL,CAAC;AAgBD,MAAM,UAAU,qBAAqB,CAAC,IAAS;IAC7C,OAAO;QACL,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC;QAClB,YAAY,EAAE,IAAI,CAAC,cAAc,CAAC;QAClC,OAAO,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,4BAA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QACL,SAAS,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC;YAC3B,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC;YACnB,CAAC,CAAC,kDAAkD,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QACzE,iBAAiB,EAAE,IAAI,CAAC,mBAAmB,CAAC;KAC7C,CAAC;AACJ,CAAC;AAgBD,MAAM,UAAU,kDAAkD,CAChE,IAAS;IAET,OAAO;QACL,SAAS,EAAE,IAAI,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QACtC,QAAQ,EAAE,IAAI,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QACpC,cAAc,EAAE,IAAI,CAAC,gBAAgB,CAAC;QACtC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC;QAC5B,cAAc,EAAE,IAAI,CAAC,gBAAgB,CAAC;KACvC,CAAC;AACJ,CAAC;AAUD,MAAM,UAAU,+CAA+C,CAC7D,IAAS;IAET,OAAO;QACL,KAAK,EAAE,yCAAyC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC/D,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC;KAC3B,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,yCAAyC,CACvD,MAAuC;IAEvC,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QACzB,OAAO,oCAAoC,CAAC,IAAI,CAAC,CAAC;IACpD,CAAC,CAAC,CAAC;AACL,CAAC;AAED,mEAAmE;AACnE,MAAM,CAAN,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,wGAAwG;IACxG,yCAAwB,CAAA;AAC1B,CAAC,EAHW,aAAa,KAAb,aAAa,QAGxB","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */\nexport interface _OperationListResult {\n /** The Operation items on this page */\n value: Operation[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _operationListResultDeserializer(item: any): _OperationListResult {\n return {\n value: operationArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function operationArrayDeserializer(result: Array<Operation>): any[] {\n return result.map((item) => {\n return operationDeserializer(item);\n });\n}\n\n/** Details of a REST API operation, returned from the Resource Provider Operations API */\nexport interface Operation {\n /** The name of the operation, as per Resource-Based Access Control (RBAC). Examples: \"Microsoft.Compute/virtualMachines/write\", \"Microsoft.Compute/virtualMachines/capture/action\" */\n readonly name?: string;\n /** Whether the operation applies to data-plane. This is \"true\" for data-plane operations and \"false\" for Azure Resource Manager/control-plane operations. */\n readonly isDataAction?: boolean;\n /** Localized display information for this particular operation. */\n display?: OperationDisplay;\n /** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" */\n readonly origin?: Origin;\n /** Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. */\n readonly actionType?: ActionType;\n}\n\nexport function operationDeserializer(item: any): Operation {\n return {\n name: item[\"name\"],\n isDataAction: item[\"isDataAction\"],\n display: !item[\"display\"] ? item[\"display\"] : operationDisplayDeserializer(item[\"display\"]),\n origin: item[\"origin\"],\n actionType: item[\"actionType\"],\n };\n}\n\n/** Localized display information for and operation. */\nexport interface OperationDisplay {\n /** The localized friendly form of the resource provider name, e.g. \"Microsoft Monitoring Insights\" or \"Microsoft Compute\". */\n readonly provider?: string;\n /** The localized friendly name of the resource type related to this operation. E.g. \"Virtual Machines\" or \"Job Schedule Collections\". */\n readonly resource?: string;\n /** The concise, localized friendly name for the operation; suitable for dropdowns. E.g. \"Create or Update Virtual Machine\", \"Restart Virtual Machine\". */\n readonly operation?: string;\n /** The short, localized friendly description of the operation; suitable for tool tips and detailed views. */\n readonly description?: string;\n}\n\nexport function operationDisplayDeserializer(item: any): OperationDisplay {\n return {\n provider: item[\"provider\"],\n resource: item[\"resource\"],\n operation: item[\"operation\"],\n description: item[\"description\"],\n };\n}\n\n/** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" */\nexport enum KnownOrigin {\n /** Indicates the operation is initiated by a user. */\n User = \"user\",\n /** Indicates the operation is initiated by a system. */\n System = \"system\",\n /** Indicates the operation is initiated by a user or system. */\n UserSystem = \"user,system\",\n}\n\n/**\n * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" \\\n * {@link KnownOrigin} can be used interchangeably with Origin,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **user**: Indicates the operation is initiated by a user. \\\n * **system**: Indicates the operation is initiated by a system. \\\n * **user,system**: Indicates the operation is initiated by a user or system.\n */\nexport type Origin = string;\n\n/** Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. */\nexport enum KnownActionType {\n /** Actions are for internal-only APIs. */\n Internal = \"Internal\",\n}\n\n/**\n * Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. \\\n * {@link KnownActionType} can be used interchangeably with ActionType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Internal**: Actions are for internal-only APIs.\n */\nexport type ActionType = string;\n\n/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. */\nexport interface ErrorResponse {\n /** The error object. */\n error?: ErrorDetail;\n}\n\nexport function errorResponseDeserializer(item: any): ErrorResponse {\n return {\n error: !item[\"error\"] ? item[\"error\"] : errorDetailDeserializer(item[\"error\"]),\n };\n}\n\n/** The error detail. */\nexport interface ErrorDetail {\n /** The error code. */\n readonly code?: string;\n /** The error message. */\n readonly message?: string;\n /** The error target. */\n readonly target?: string;\n /** The error details. */\n readonly details?: ErrorDetail[];\n /** The error additional info. */\n readonly additionalInfo?: ErrorAdditionalInfo[];\n}\n\nexport function errorDetailDeserializer(item: any): ErrorDetail {\n return {\n code: item[\"code\"],\n message: item[\"message\"],\n target: item[\"target\"],\n details: !item[\"details\"] ? item[\"details\"] : errorDetailArrayDeserializer(item[\"details\"]),\n additionalInfo: !item[\"additionalInfo\"]\n ? item[\"additionalInfo\"]\n : errorAdditionalInfoArrayDeserializer(item[\"additionalInfo\"]),\n };\n}\n\nexport function errorDetailArrayDeserializer(result: Array<ErrorDetail>): any[] {\n return result.map((item) => {\n return errorDetailDeserializer(item);\n });\n}\n\nexport function errorAdditionalInfoArrayDeserializer(result: Array<ErrorAdditionalInfo>): any[] {\n return result.map((item) => {\n return errorAdditionalInfoDeserializer(item);\n });\n}\n\n/** The resource management error additional info. */\nexport interface ErrorAdditionalInfo {\n /** The additional info type. */\n readonly type?: string;\n /** The additional info. */\n readonly info?: any;\n}\n\nexport function errorAdditionalInfoDeserializer(item: any): ErrorAdditionalInfo {\n return {\n type: item[\"type\"],\n info: item[\"info\"],\n };\n}\n\n/** Playwright workspace resource. */\nexport interface PlaywrightWorkspace extends TrackedResource {\n /** The resource-specific properties for this resource. */\n properties?: PlaywrightWorkspaceProperties;\n}\n\nexport function playwrightWorkspaceSerializer(item: PlaywrightWorkspace): any {\n return {\n tags: item[\"tags\"],\n location: item[\"location\"],\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : playwrightWorkspacePropertiesSerializer(item[\"properties\"]),\n };\n}\n\nexport function playwrightWorkspaceDeserializer(item: any): PlaywrightWorkspace {\n return {\n tags: item[\"tags\"],\n location: item[\"location\"],\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : playwrightWorkspacePropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** Playwright workspace resource properties. */\nexport interface PlaywrightWorkspaceProperties {\n /** The status of the last resource operation. */\n readonly provisioningState?: ProvisioningState;\n /** The workspace data plane service API URI. */\n readonly dataplaneUri?: string;\n /** Controls the connection region for client workers to cloud-hosted browsers. When enabled, workers connect to browsers in the closest Azure region for lower latency. When disabled, workers connect to browsers in the Azure region where the workspace was created. */\n regionalAffinity?: EnablementStatus;\n /** Enables the workspace to use local authentication through service access tokens for operations. */\n localAuth?: EnablementStatus;\n /** The workspace ID in GUID format. */\n readonly workspaceId?: string;\n}\n\nexport function playwrightWorkspacePropertiesSerializer(item: PlaywrightWorkspaceProperties): any {\n return {\n regionalAffinity: item[\"regionalAffinity\"],\n localAuth: item[\"localAuth\"],\n };\n}\n\nexport function playwrightWorkspacePropertiesDeserializer(\n item: any,\n): PlaywrightWorkspaceProperties {\n return {\n provisioningState: item[\"provisioningState\"],\n dataplaneUri: item[\"dataplaneUri\"],\n regionalAffinity: item[\"regionalAffinity\"],\n localAuth: item[\"localAuth\"],\n workspaceId: item[\"workspaceId\"],\n };\n}\n\n/** The status of the last resource operation. */\nexport enum KnownProvisioningState {\n /** Resource has been created. */\n Succeeded = \"Succeeded\",\n /** Resource creation failed. */\n Failed = \"Failed\",\n /** Resource creation was canceled. */\n Canceled = \"Canceled\",\n /** Resource creation is in progress. */\n Creating = \"Creating\",\n /** Resource deletion is in progress. */\n Deleting = \"Deleting\",\n /** Request has been accepted for processing. */\n Accepted = \"Accepted\",\n}\n\n/**\n * The status of the last resource operation. \\\n * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Succeeded**: Resource has been created. \\\n * **Failed**: Resource creation failed. \\\n * **Canceled**: Resource creation was canceled. \\\n * **Creating**: Resource creation is in progress. \\\n * **Deleting**: Resource deletion is in progress. \\\n * **Accepted**: Request has been accepted for processing.\n */\nexport type ProvisioningState = string;\n\n/** The enablement status of a feature. */\nexport enum KnownEnablementStatus {\n /** The feature is enabled. */\n Enabled = \"Enabled\",\n /** The feature is disabled. */\n Disabled = \"Disabled\",\n}\n\n/**\n * The enablement status of a feature. \\\n * {@link KnownEnablementStatus} can be used interchangeably with EnablementStatus,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Enabled**: The feature is enabled. \\\n * **Disabled**: The feature is disabled.\n */\nexport type EnablementStatus = string;\n\n/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */\nexport interface TrackedResource extends Resource {\n /** Resource tags. */\n tags?: Record<string, string>;\n /** The geo-location where the resource lives */\n location: string;\n}\n\nexport function trackedResourceSerializer(item: TrackedResource): any {\n return { tags: item[\"tags\"], location: item[\"location\"] };\n}\n\nexport function trackedResourceDeserializer(item: any): TrackedResource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n tags: item[\"tags\"],\n location: item[\"location\"],\n };\n}\n\n/** Common fields that are returned in the response for all Azure Resource Manager resources */\nexport interface Resource {\n /** Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */\n readonly id?: string;\n /** The name of the resource */\n readonly name?: string;\n /** The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" */\n readonly type?: string;\n /** Azure Resource Manager metadata containing createdBy and modifiedBy information. */\n readonly systemData?: SystemData;\n}\n\nexport function resourceSerializer(item: Resource): any {\n return item;\n}\n\nexport function resourceDeserializer(item: any): Resource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n };\n}\n\n/** Metadata pertaining to creation and last modification of the resource. */\nexport interface SystemData {\n /** The identity that created the resource. */\n createdBy?: string;\n /** The type of identity that created the resource. */\n createdByType?: CreatedByType;\n /** The timestamp of resource creation (UTC). */\n createdAt?: Date;\n /** The identity that last modified the resource. */\n lastModifiedBy?: string;\n /** The type of identity that last modified the resource. */\n lastModifiedByType?: CreatedByType;\n /** The timestamp of resource last modification (UTC) */\n lastModifiedAt?: Date;\n}\n\nexport function systemDataDeserializer(item: any): SystemData {\n return {\n createdBy: item[\"createdBy\"],\n createdByType: item[\"createdByType\"],\n createdAt: !item[\"createdAt\"] ? item[\"createdAt\"] : new Date(item[\"createdAt\"]),\n lastModifiedBy: item[\"lastModifiedBy\"],\n lastModifiedByType: item[\"lastModifiedByType\"],\n lastModifiedAt: !item[\"lastModifiedAt\"]\n ? item[\"lastModifiedAt\"]\n : new Date(item[\"lastModifiedAt\"]),\n };\n}\n\n/** The kind of entity that created the resource. */\nexport enum KnownCreatedByType {\n /** The entity was created by a user. */\n User = \"User\",\n /** The entity was created by an application. */\n Application = \"Application\",\n /** The entity was created by a managed identity. */\n ManagedIdentity = \"ManagedIdentity\",\n /** The entity was created by a key. */\n Key = \"Key\",\n}\n\n/**\n * The kind of entity that created the resource. \\\n * {@link KnowncreatedByType} can be used interchangeably with createdByType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **User**: The entity was created by a user. \\\n * **Application**: The entity was created by an application. \\\n * **ManagedIdentity**: The entity was created by a managed identity. \\\n * **Key**: The entity was created by a key.\n */\nexport type CreatedByType = string;\n\n/** The type used for update operations of the PlaywrightWorkspace. */\nexport interface PlaywrightWorkspaceUpdate {\n /** Resource tags. */\n tags?: Record<string, string>;\n /** The resource-specific properties for this resource. */\n properties?: PlaywrightWorkspaceUpdateProperties;\n}\n\nexport function playwrightWorkspaceUpdateSerializer(item: PlaywrightWorkspaceUpdate): any {\n return {\n tags: item[\"tags\"],\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : playwrightWorkspaceUpdatePropertiesSerializer(item[\"properties\"]),\n };\n}\n\n/** The updatable properties of the PlaywrightWorkspace. */\nexport interface PlaywrightWorkspaceUpdateProperties {\n /** Controls the connection region for client workers to cloud-hosted browsers. When enabled, workers connect to browsers in the closest Azure region for lower latency. When disabled, workers connect to browsers in the Azure region where the workspace was created. */\n regionalAffinity?: EnablementStatus;\n /** Enables the workspace to use local authentication through service access tokens for operations. */\n localAuth?: EnablementStatus;\n}\n\nexport function playwrightWorkspaceUpdatePropertiesSerializer(\n item: PlaywrightWorkspaceUpdateProperties,\n): any {\n return {\n regionalAffinity: item[\"regionalAffinity\"],\n localAuth: item[\"localAuth\"],\n };\n}\n\n/** The response of a PlaywrightWorkspace list operation. */\nexport interface _PlaywrightWorkspaceListResult {\n /** The PlaywrightWorkspace items on this page */\n value: PlaywrightWorkspace[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _playwrightWorkspaceListResultDeserializer(\n item: any,\n): _PlaywrightWorkspaceListResult {\n return {\n value: playwrightWorkspaceArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function playwrightWorkspaceArraySerializer(result: Array<PlaywrightWorkspace>): any[] {\n return result.map((item) => {\n return playwrightWorkspaceSerializer(item);\n });\n}\n\nexport function playwrightWorkspaceArrayDeserializer(result: Array<PlaywrightWorkspace>): any[] {\n return result.map((item) => {\n return playwrightWorkspaceDeserializer(item);\n });\n}\n\n/** The check availability request body. */\nexport interface CheckNameAvailabilityRequest {\n /** The name of the resource for which availability needs to be checked. */\n name?: string;\n /** The resource type. */\n type?: string;\n}\n\nexport function checkNameAvailabilityRequestSerializer(item: CheckNameAvailabilityRequest): any {\n return { name: item[\"name\"], type: item[\"type\"] };\n}\n\n/** The check availability result. */\nexport interface CheckNameAvailabilityResponse {\n /** Indicates if the resource name is available. */\n nameAvailable?: boolean;\n /** The reason why the given name is not available. */\n reason?: CheckNameAvailabilityReason;\n /** Detailed reason why the given name is not available. */\n message?: string;\n}\n\nexport function checkNameAvailabilityResponseDeserializer(\n item: any,\n): CheckNameAvailabilityResponse {\n return {\n nameAvailable: item[\"nameAvailable\"],\n reason: item[\"reason\"],\n message: item[\"message\"],\n };\n}\n\n/** Possible reasons for a name not being available. */\nexport enum KnownCheckNameAvailabilityReason {\n /** Name is invalid. */\n Invalid = \"Invalid\",\n /** Name already exists. */\n AlreadyExists = \"AlreadyExists\",\n}\n\n/**\n * Possible reasons for a name not being available. \\\n * {@link KnownCheckNameAvailabilityReason} can be used interchangeably with CheckNameAvailabilityReason,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Invalid**: Name is invalid. \\\n * **AlreadyExists**: Name already exists.\n */\nexport type CheckNameAvailabilityReason = string;\n\n/** Subscription-level location-based Playwright quota resource. */\nexport interface PlaywrightQuota extends ProxyResource {\n /** The resource-specific properties for this resource. */\n properties?: PlaywrightQuotaProperties;\n}\n\nexport function playwrightQuotaDeserializer(item: any): PlaywrightQuota {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : playwrightQuotaPropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** Subscription-level location-based Playwright quota resource properties. */\nexport interface PlaywrightQuotaProperties {\n /** The subscription-level location-based Playwright quota free trial properties. */\n readonly freeTrial?: FreeTrialProperties;\n /** The status of the last resource operation. */\n readonly provisioningState?: ProvisioningState;\n}\n\nexport function playwrightQuotaPropertiesDeserializer(item: any): PlaywrightQuotaProperties {\n return {\n freeTrial: !item[\"freeTrial\"]\n ? item[\"freeTrial\"]\n : freeTrialPropertiesDeserializer(item[\"freeTrial\"]),\n provisioningState: item[\"provisioningState\"],\n };\n}\n\n/** Subscription-level location-based Playwright quota free trial properties. */\nexport interface FreeTrialProperties {\n /** The workspace ID in GUID format that has free trial enabled in the subscription. */\n readonly workspaceId: string;\n /** The free trial state. */\n readonly state: FreeTrialState;\n}\n\nexport function freeTrialPropertiesDeserializer(item: any): FreeTrialProperties {\n return {\n workspaceId: item[\"workspaceId\"],\n state: item[\"state\"],\n };\n}\n\n/** The free trial state. */\nexport enum KnownFreeTrialState {\n /** The free trial is active and available for use. */\n Active = \"Active\",\n /** The free trial has expired and is no longer available. */\n Expired = \"Expired\",\n /** The free trial is not applicable for this resource. */\n NotApplicable = \"NotApplicable\",\n}\n\n/**\n * The free trial state. \\\n * {@link KnownFreeTrialState} can be used interchangeably with FreeTrialState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Active**: The free trial is active and available for use. \\\n * **Expired**: The free trial has expired and is no longer available. \\\n * **NotApplicable**: The free trial is not applicable for this resource.\n */\nexport type FreeTrialState = string;\n\n/** Available Playwright quota types. */\nexport enum KnownQuotaName {\n /** Quota for execution duration in minutes. */\n ExecutionMinutes = \"ExecutionMinutes\",\n}\n\n/**\n * Available Playwright quota types. \\\n * {@link KnownQuotaName} can be used interchangeably with QuotaName,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **ExecutionMinutes**: Quota for execution duration in minutes.\n */\nexport type QuotaName = string;\n\n/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */\nexport interface ProxyResource extends Resource {}\n\nexport function proxyResourceDeserializer(item: any): ProxyResource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n };\n}\n\n/** The response of a PlaywrightQuota list operation. */\nexport interface _PlaywrightQuotaListResult {\n /** The PlaywrightQuota items on this page */\n value: PlaywrightQuota[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _playwrightQuotaListResultDeserializer(item: any): _PlaywrightQuotaListResult {\n return {\n value: playwrightQuotaArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function playwrightQuotaArrayDeserializer(result: Array<PlaywrightQuota>): any[] {\n return result.map((item) => {\n return playwrightQuotaDeserializer(item);\n });\n}\n\n/** Playwright workspace quota resource. */\nexport interface PlaywrightWorkspaceQuota extends ProxyResource {\n /** The resource-specific properties for this resource. */\n properties?: PlaywrightWorkspaceQuotaProperties;\n}\n\nexport function playwrightWorkspaceQuotaDeserializer(item: any): PlaywrightWorkspaceQuota {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : playwrightWorkspaceQuotaPropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** Playwright workspace quota resource properties. */\nexport interface PlaywrightWorkspaceQuotaProperties {\n /** The Playwright workspace quota free trial properties. */\n readonly freeTrial?: PlaywrightWorkspaceFreeTrialProperties;\n /** The status of the last resource operation. */\n readonly provisioningState?: ProvisioningState;\n}\n\nexport function playwrightWorkspaceQuotaPropertiesDeserializer(\n item: any,\n): PlaywrightWorkspaceQuotaProperties {\n return {\n freeTrial: !item[\"freeTrial\"]\n ? item[\"freeTrial\"]\n : playwrightWorkspaceFreeTrialPropertiesDeserializer(item[\"freeTrial\"]),\n provisioningState: item[\"provisioningState\"],\n };\n}\n\n/** Playwright workspace quota free trial properties. */\nexport interface PlaywrightWorkspaceFreeTrialProperties {\n /** The free trial creation timestamp in UTC. */\n readonly createdAt: Date;\n /** The free trial expiration timestamp in UTC. */\n readonly expiryAt: Date;\n /** The allocated limit value (e.g., allocated free execution minutes). */\n readonly allocatedValue: number;\n /** The used value (e.g., used free execution minutes). */\n readonly usedValue: number;\n /** The percentage of the free trial quota used. */\n readonly percentageUsed: number;\n}\n\nexport function playwrightWorkspaceFreeTrialPropertiesDeserializer(\n item: any,\n): PlaywrightWorkspaceFreeTrialProperties {\n return {\n createdAt: new Date(item[\"createdAt\"]),\n expiryAt: new Date(item[\"expiryAt\"]),\n allocatedValue: item[\"allocatedValue\"],\n usedValue: item[\"usedValue\"],\n percentageUsed: item[\"percentageUsed\"],\n };\n}\n\n/** The response of a PlaywrightWorkspaceQuota list operation. */\nexport interface _PlaywrightWorkspaceQuotaListResult {\n /** The PlaywrightWorkspaceQuota items on this page */\n value: PlaywrightWorkspaceQuota[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _playwrightWorkspaceQuotaListResultDeserializer(\n item: any,\n): _PlaywrightWorkspaceQuotaListResult {\n return {\n value: playwrightWorkspaceQuotaArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function playwrightWorkspaceQuotaArrayDeserializer(\n result: Array<PlaywrightWorkspaceQuota>,\n): any[] {\n return result.map((item) => {\n return playwrightWorkspaceQuotaDeserializer(item);\n });\n}\n\n/** Available versions of the Playwright Service Management API. */\nexport enum KnownVersions {\n /** Stable version 2025-09-01 with general availability features for Playwright workspace management. */\n V20250901 = \"2025-09-01\",\n}\n"]}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { PlaywrightManagementClientOptionalParams } from "./api/index.js";
|
|
2
|
-
import {
|
|
2
|
+
import { OperationsOperations } from "./classic/operations/index.js";
|
|
3
3
|
import { PlaywrightQuotasOperations } from "./classic/playwrightQuotas/index.js";
|
|
4
|
+
import { PlaywrightWorkspaceQuotasOperations } from "./classic/playwrightWorkspaceQuotas/index.js";
|
|
4
5
|
import { PlaywrightWorkspacesOperations } from "./classic/playwrightWorkspaces/index.js";
|
|
5
|
-
import { OperationsOperations } from "./classic/operations/index.js";
|
|
6
|
-
import { Pipeline } from "@azure/core-rest-pipeline";
|
|
7
6
|
import { TokenCredential } from "@azure/core-auth";
|
|
7
|
+
import { Pipeline } from "@azure/core-rest-pipeline";
|
|
8
8
|
export { PlaywrightManagementClientOptionalParams } from "./api/playwrightManagementContext.js";
|
|
9
9
|
export declare class PlaywrightManagementClient {
|
|
10
10
|
private _client;
|
|
11
11
|
/** The pipeline used by this client to make requests */
|
|
12
12
|
readonly pipeline: Pipeline;
|
|
13
|
-
/** Playwright
|
|
13
|
+
/** Playwright Service Management API provides access to Playwright workspace resources and their operations through Azure Resource Manager. */
|
|
14
14
|
constructor(credential: TokenCredential, subscriptionId: string, options?: PlaywrightManagementClientOptionalParams);
|
|
15
15
|
/** The operation groups for playwrightWorkspaceQuotas */
|
|
16
16
|
readonly playwrightWorkspaceQuotas: PlaywrightWorkspaceQuotasOperations;
|
|
@@ -1,24 +1,37 @@
|
|
|
1
1
|
// Copyright (c) Microsoft Corporation.
|
|
2
2
|
// Licensed under the MIT License.
|
|
3
3
|
import { createPlaywrightManagement, } from "./api/index.js";
|
|
4
|
-
import {
|
|
4
|
+
import { _getOperationsOperations } from "./classic/operations/index.js";
|
|
5
5
|
import { _getPlaywrightQuotasOperations, } from "./classic/playwrightQuotas/index.js";
|
|
6
|
+
import { _getPlaywrightWorkspaceQuotasOperations, } from "./classic/playwrightWorkspaceQuotas/index.js";
|
|
6
7
|
import { _getPlaywrightWorkspacesOperations, } from "./classic/playwrightWorkspaces/index.js";
|
|
7
|
-
import { _getOperationsOperations } from "./classic/operations/index.js";
|
|
8
8
|
export class PlaywrightManagementClient {
|
|
9
|
-
|
|
9
|
+
_client;
|
|
10
|
+
/** The pipeline used by this client to make requests */
|
|
11
|
+
pipeline;
|
|
12
|
+
/** Playwright Service Management API provides access to Playwright workspace resources and their operations through Azure Resource Manager. */
|
|
10
13
|
constructor(credential, subscriptionId, options = {}) {
|
|
11
|
-
|
|
12
|
-
const prefixFromOptions = (_a = options === null || options === void 0 ? void 0 : options.userAgentOptions) === null || _a === void 0 ? void 0 : _a.userAgentPrefix;
|
|
14
|
+
const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;
|
|
13
15
|
const userAgentPrefix = prefixFromOptions
|
|
14
16
|
? `${prefixFromOptions} azsdk-js-client`
|
|
15
17
|
: `azsdk-js-client`;
|
|
16
|
-
this._client = createPlaywrightManagement(credential, subscriptionId,
|
|
18
|
+
this._client = createPlaywrightManagement(credential, subscriptionId, {
|
|
19
|
+
...options,
|
|
20
|
+
userAgentOptions: { userAgentPrefix },
|
|
21
|
+
});
|
|
17
22
|
this.pipeline = this._client.pipeline;
|
|
18
23
|
this.playwrightWorkspaceQuotas = _getPlaywrightWorkspaceQuotasOperations(this._client);
|
|
19
24
|
this.playwrightQuotas = _getPlaywrightQuotasOperations(this._client);
|
|
20
25
|
this.playwrightWorkspaces = _getPlaywrightWorkspacesOperations(this._client);
|
|
21
26
|
this.operations = _getOperationsOperations(this._client);
|
|
22
27
|
}
|
|
28
|
+
/** The operation groups for playwrightWorkspaceQuotas */
|
|
29
|
+
playwrightWorkspaceQuotas;
|
|
30
|
+
/** The operation groups for playwrightQuotas */
|
|
31
|
+
playwrightQuotas;
|
|
32
|
+
/** The operation groups for playwrightWorkspaces */
|
|
33
|
+
playwrightWorkspaces;
|
|
34
|
+
/** The operation groups for operations */
|
|
35
|
+
operations;
|
|
23
36
|
}
|
|
24
37
|
//# sourceMappingURL=playwrightManagementClient.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"playwrightManagementClient.js","sourceRoot":"","sources":["../../src/playwrightManagementClient.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EACL,0BAA0B,GAG3B,MAAM,gBAAgB,CAAC;AACxB,OAAO,
|
|
1
|
+
{"version":3,"file":"playwrightManagementClient.js","sourceRoot":"","sources":["../../src/playwrightManagementClient.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EACL,0BAA0B,GAG3B,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAwB,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAC/F,OAAO,EAEL,8BAA8B,GAC/B,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAEL,uCAAuC,GACxC,MAAM,8CAA8C,CAAC;AACtD,OAAO,EAEL,kCAAkC,GACnC,MAAM,yCAAyC,CAAC;AAMjD,MAAM,OAAO,0BAA0B;IAC7B,OAAO,CAA8B;IAC7C,wDAAwD;IACxC,QAAQ,CAAW;IAEnC,+IAA+I;IAC/I,YACE,UAA2B,EAC3B,cAAsB,EACtB,UAAoD,EAAE;QAEtD,MAAM,iBAAiB,GAAG,OAAO,EAAE,gBAAgB,EAAE,eAAe,CAAC;QACrE,MAAM,eAAe,GAAG,iBAAiB;YACvC,CAAC,CAAC,GAAG,iBAAiB,kBAAkB;YACxC,CAAC,CAAC,iBAAiB,CAAC;QACtB,IAAI,CAAC,OAAO,GAAG,0BAA0B,CAAC,UAAU,EAAE,cAAc,EAAE;YACpE,GAAG,OAAO;YACV,gBAAgB,EAAE,EAAE,eAAe,EAAE;SACtC,CAAC,CAAC;QACH,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC;QACtC,IAAI,CAAC,yBAAyB,GAAG,uCAAuC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACvF,IAAI,CAAC,gBAAgB,GAAG,8BAA8B,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACrE,IAAI,CAAC,oBAAoB,GAAG,kCAAkC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC7E,IAAI,CAAC,UAAU,GAAG,wBAAwB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC3D,CAAC;IAED,yDAAyD;IACzC,yBAAyB,CAAsC;IAC/E,gDAAgD;IAChC,gBAAgB,CAA6B;IAC7D,oDAAoD;IACpC,oBAAoB,CAAiC;IACrE,0CAA0C;IAC1B,UAAU,CAAuB;CAClD","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport {\n createPlaywrightManagement,\n PlaywrightManagementContext,\n PlaywrightManagementClientOptionalParams,\n} from \"./api/index.js\";\nimport { OperationsOperations, _getOperationsOperations } from \"./classic/operations/index.js\";\nimport {\n PlaywrightQuotasOperations,\n _getPlaywrightQuotasOperations,\n} from \"./classic/playwrightQuotas/index.js\";\nimport {\n PlaywrightWorkspaceQuotasOperations,\n _getPlaywrightWorkspaceQuotasOperations,\n} from \"./classic/playwrightWorkspaceQuotas/index.js\";\nimport {\n PlaywrightWorkspacesOperations,\n _getPlaywrightWorkspacesOperations,\n} from \"./classic/playwrightWorkspaces/index.js\";\nimport { TokenCredential } from \"@azure/core-auth\";\nimport { Pipeline } from \"@azure/core-rest-pipeline\";\n\nexport { PlaywrightManagementClientOptionalParams } from \"./api/playwrightManagementContext.js\";\n\nexport class PlaywrightManagementClient {\n private _client: PlaywrightManagementContext;\n /** The pipeline used by this client to make requests */\n public readonly pipeline: Pipeline;\n\n /** Playwright Service Management API provides access to Playwright workspace resources and their operations through Azure Resource Manager. */\n constructor(\n credential: TokenCredential,\n subscriptionId: string,\n options: PlaywrightManagementClientOptionalParams = {},\n ) {\n const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;\n const userAgentPrefix = prefixFromOptions\n ? `${prefixFromOptions} azsdk-js-client`\n : `azsdk-js-client`;\n this._client = createPlaywrightManagement(credential, subscriptionId, {\n ...options,\n userAgentOptions: { userAgentPrefix },\n });\n this.pipeline = this._client.pipeline;\n this.playwrightWorkspaceQuotas = _getPlaywrightWorkspaceQuotasOperations(this._client);\n this.playwrightQuotas = _getPlaywrightQuotasOperations(this._client);\n this.playwrightWorkspaces = _getPlaywrightWorkspacesOperations(this._client);\n this.operations = _getOperationsOperations(this._client);\n }\n\n /** The operation groups for playwrightWorkspaceQuotas */\n public readonly playwrightWorkspaceQuotas: PlaywrightWorkspaceQuotasOperations;\n /** The operation groups for playwrightQuotas */\n public readonly playwrightQuotas: PlaywrightQuotasOperations;\n /** The operation groups for playwrightWorkspaces */\n public readonly playwrightWorkspaces: PlaywrightWorkspacesOperations;\n /** The operation groups for operations */\n public readonly operations: OperationsOperations;\n}\n"]}
|
|
@@ -9,21 +9,20 @@ import { deserializeState, } from "@azure/core-lro";
|
|
|
9
9
|
* needs to be constructed after the original one is not in scope.
|
|
10
10
|
*/
|
|
11
11
|
export function restorePoller(client, serializedState, sourceOperation, options) {
|
|
12
|
-
var _a, _b, _c;
|
|
13
12
|
const pollerConfig = deserializeState(serializedState).config;
|
|
14
13
|
const { initialRequestUrl, requestMethod, metadata } = pollerConfig;
|
|
15
14
|
if (!initialRequestUrl || !requestMethod) {
|
|
16
|
-
throw new Error(`Invalid serialized state: ${serializedState} for sourceOperation ${sourceOperation
|
|
15
|
+
throw new Error(`Invalid serialized state: ${serializedState} for sourceOperation ${sourceOperation?.name}`);
|
|
17
16
|
}
|
|
18
|
-
const resourceLocationConfig = metadata
|
|
19
|
-
const { deserializer, expectedStatuses = [] } =
|
|
20
|
-
const deserializeHelper =
|
|
17
|
+
const resourceLocationConfig = metadata?.["resourceLocationConfig"];
|
|
18
|
+
const { deserializer, expectedStatuses = [] } = getDeserializationHelper(initialRequestUrl, requestMethod) ?? {};
|
|
19
|
+
const deserializeHelper = options?.processResponseBody ?? deserializer;
|
|
21
20
|
if (!deserializeHelper) {
|
|
22
|
-
throw new Error(`Please ensure the operation is in this client! We can't find its deserializeHelper for ${sourceOperation
|
|
21
|
+
throw new Error(`Please ensure the operation is in this client! We can't find its deserializeHelper for ${sourceOperation?.name}.`);
|
|
23
22
|
}
|
|
24
|
-
return getLongRunningPoller(
|
|
25
|
-
updateIntervalInMs: options
|
|
26
|
-
abortSignal: options
|
|
23
|
+
return getLongRunningPoller(client["_client"] ?? client, deserializeHelper, expectedStatuses, {
|
|
24
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
25
|
+
abortSignal: options?.abortSignal,
|
|
27
26
|
resourceLocationConfig,
|
|
28
27
|
restoreFrom: serializedState,
|
|
29
28
|
initialRequestUrl,
|
|
@@ -36,11 +35,10 @@ const deserializeMap = {
|
|
|
36
35
|
},
|
|
37
36
|
"PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LoadTestService/playwrightWorkspaces/{playwrightWorkspaceName}": {
|
|
38
37
|
deserializer: _createOrUpdateDeserialize,
|
|
39
|
-
expectedStatuses: ["200", "201"],
|
|
38
|
+
expectedStatuses: ["200", "201", "202"],
|
|
40
39
|
},
|
|
41
40
|
};
|
|
42
41
|
function getDeserializationHelper(urlStr, method) {
|
|
43
|
-
var _a, _b, _c, _d;
|
|
44
42
|
const path = new URL(urlStr).pathname;
|
|
45
43
|
const pathParts = path.split("/");
|
|
46
44
|
// Traverse list to match the longest candidate
|
|
@@ -60,13 +58,13 @@ function getDeserializationHelper(urlStr, method) {
|
|
|
60
58
|
// track if we have found a match to return the values found.
|
|
61
59
|
let found = true;
|
|
62
60
|
for (let i = candidateParts.length - 1, j = pathParts.length - 1; i >= 1 && j >= 1; i--, j--) {
|
|
63
|
-
if (
|
|
64
|
-
const start = candidateParts[i].indexOf("}") + 1, end =
|
|
61
|
+
if (candidateParts[i]?.startsWith("{") && candidateParts[i]?.indexOf("}") !== -1) {
|
|
62
|
+
const start = candidateParts[i].indexOf("}") + 1, end = candidateParts[i]?.length;
|
|
65
63
|
// If the current part of the candidate is a "template" part
|
|
66
64
|
// Try to use the suffix of pattern to match the path
|
|
67
65
|
// {guid} ==> $
|
|
68
66
|
// {guid}:export ==> :export$
|
|
69
|
-
const isMatched = new RegExp(`${
|
|
67
|
+
const isMatched = new RegExp(`${candidateParts[i]?.slice(start, end)}`).test(pathParts[j] || "");
|
|
70
68
|
if (!isMatched) {
|
|
71
69
|
found = false;
|
|
72
70
|
break;
|