@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/playwrightWorkspaces/operations.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EACL,yBAAyB,EAEzB,6BAA6B,EAC7B,+BAA+B,EAE/B,mCAAmC,EAEnC,0CAA0C,EAE1C,sCAAsC,EAEtC,yCAAyC,GAC1C,MAAM,wBAAwB,CAAC;AAUhC,OAAO,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AACxE,OAAO,EAEL,uBAAuB,GACxB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAGL,eAAe,EACf,mCAAmC,GACpC,MAAM,yBAAyB,CAAC;AAGjC,MAAM,UAAU,0BAA0B,CACxC,OAAe,EACf,IAAkC,EAClC,UAAmE;IACjE,cAAc,EAAE,EAAE;CACnB;;IAED,MAAM,IAAI,GAAG,iBAAiB,CAC5B,2GAA2G,EAC3G;QACE,cAAc,EAAE,OAAO,CAAC,cAAc;QACtC,eAAe,EAAE,OAAO,CAAC,UAAU;KACpC,EACD;QACE,aAAa,EAAE,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,cAAc,0CAAE,eAAe;KACxD,CACF,CAAC;IACF,OAAO,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI,iCACzB,mCAAmC,CAAC,OAAO,CAAC,KAC/C,WAAW,EAAE,kBAAkB,EAC/B,OAAO,kBACL,MAAM,EAAE,kBAAkB,IACvB,MAAA,OAAO,CAAC,cAAc,0CAAE,OAAO,GAEpC,IAAI,EAAE,sCAAsC,CAAC,IAAI,CAAC,IAClD,CAAC;AACL,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,iCAAiC,CACrD,MAA6B;IAE7B,MAAM,gBAAgB,GAAG,CAAC,KAAK,CAAC,CAAC;IACjC,IAAI,C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CAAC,CAAC;QACvD,MAAM,KAAK,CAAC;IACd,CAAC;IAED,OAAO,+BAA+B,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AACtD,CAAC;AAED,gCAAgC;AAChC,MAAM,CAAC,KAAK,UAAU,GAAG,CACvB,OAAe,EACf,iBAAyB,EACzB,uBAA+B,EAC/B,UAAiD,EAAE,cAAc,EAAE,EAAE,EAAE;IAEvE,MAAM,MAAM,GAAG,MAAM,QAAQ,CAAC,OAAO,EAAE,iBAAiB,EAAE,uBAAuB,EAAE,OAAO,CAAC,CAAC;IAC5F,OAAO,eAAe,CAAC,MAAM,CAAC,CAAC;AACjC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { PlaywrightManagementContext as Client } from \"../index.js\";\nimport {\n errorResponseDeserializer,\n PlaywrightWorkspace,\n playwrightWorkspaceSerializer,\n playwrightWorkspaceDeserializer,\n PlaywrightWorkspaceUpdate,\n playwrightWorkspaceUpdateSerializer,\n _PlaywrightWorkspaceListResult,\n _playwrightWorkspaceListResultDeserializer,\n CheckNameAvailabilityRequest,\n checkNameAvailabilityRequestSerializer,\n CheckNameAvailabilityResponse,\n checkNameAvailabilityResponseDeserializer,\n} from \"../../models/models.js\";\nimport {\n PlaywrightWorkspacesCheckNameAvailabilityOptionalParams,\n PlaywrightWorkspacesListBySubscriptionOptionalParams,\n PlaywrightWorkspacesListByResourceGroupOptionalParams,\n PlaywrightWorkspacesDeleteOptionalParams,\n PlaywrightWorkspacesUpdateOptionalParams,\n PlaywrightWorkspacesCreateOrUpdateOptionalParams,\n PlaywrightWorkspacesGetOptionalParams,\n} from \"./options.js\";\nimport { getLongRunningPoller } from \"../../static-helpers/pollingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport {\n PagedAsyncIterableIterator,\n buildPagedAsyncIterator,\n} from \"../../static-helpers/pagingHelpers.js\";\nimport {\n StreamableMethod,\n PathUncheckedResponse,\n createRestError,\n operationOptionsToRequestParameters,\n} from \"@azure-rest/core-client\";\nimport { PollerLike, OperationState } from \"@azure/core-lro\";\n\nexport function _checkNameAvailabilitySend(\n context: Client,\n body: CheckNameAvailabilityRequest,\n options: PlaywrightWorkspacesCheckNameAvailabilityOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.LoadTestService/checkNameAvailability{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n body: checkNameAvailabilityRequestSerializer(body),\n });\n}\n\nexport async function _checkNameAvailabilityDeserialize(\n result: PathUncheckedResponse,\n): Promise<CheckNameAvailabilityResponse> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return checkNameAvailabilityResponseDeserializer(result.body);\n}\n\n/** Implements global CheckNameAvailability operations */\nexport async function checkNameAvailability(\n context: Client,\n body: CheckNameAvailabilityRequest,\n options: PlaywrightWorkspacesCheckNameAvailabilityOptionalParams = {\n requestOptions: {},\n },\n): Promise<CheckNameAvailabilityResponse> {\n const result = await _checkNameAvailabilitySend(context, body, options);\n return _checkNameAvailabilityDeserialize(result);\n}\n\nexport function _listBySubscriptionSend(\n context: Client,\n options: PlaywrightWorkspacesListBySubscriptionOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.LoadTestService/playwrightWorkspaces{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _listBySubscriptionDeserialize(\n result: PathUncheckedResponse,\n): Promise<_PlaywrightWorkspaceListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return _playwrightWorkspaceListResultDeserializer(result.body);\n}\n\n/** List PlaywrightWorkspace resources by subscription ID */\nexport function listBySubscription(\n context: Client,\n options: PlaywrightWorkspacesListBySubscriptionOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<PlaywrightWorkspace> {\n return buildPagedAsyncIterator(\n context,\n () => _listBySubscriptionSend(context, options),\n _listBySubscriptionDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n\nexport function _listByResourceGroupSend(\n context: Client,\n resourceGroupName: string,\n options: PlaywrightWorkspacesListByResourceGroupOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LoadTestService/playwrightWorkspaces{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _listByResourceGroupDeserialize(\n result: PathUncheckedResponse,\n): Promise<_PlaywrightWorkspaceListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return _playwrightWorkspaceListResultDeserializer(result.body);\n}\n\n/** List PlaywrightWorkspace resources by resource group */\nexport function listByResourceGroup(\n context: Client,\n resourceGroupName: string,\n options: PlaywrightWorkspacesListByResourceGroupOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<PlaywrightWorkspace> {\n return buildPagedAsyncIterator(\n context,\n () => _listByResourceGroupSend(context, resourceGroupName, options),\n _listByResourceGroupDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n\nexport function _$deleteSend(\n context: Client,\n resourceGroupName: string,\n playwrightWorkspaceName: string,\n options: PlaywrightWorkspacesDeleteOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LoadTestService/playwrightWorkspaces/{playwrightWorkspaceName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n playwrightWorkspaceName: playwrightWorkspaceName,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).delete({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void> {\n const expectedStatuses = [\"202\", \"204\", \"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return;\n}\n\n/** Delete a PlaywrightWorkspace */\n/**\n * @fixme delete is a reserved word that cannot be used as an operation name.\n * Please add @clientName(\"clientName\") or @clientName(\"<JS-Specific-Name>\", \"javascript\")\n * to the operation to override the generated name.\n */\nexport function $delete(\n context: Client,\n resourceGroupName: string,\n playwrightWorkspaceName: string,\n options: PlaywrightWorkspacesDeleteOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(context, _$deleteDeserialize, [\"202\", \"204\", \"200\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _$deleteSend(context, resourceGroupName, playwrightWorkspaceName, options),\n resourceLocationConfig: \"location\",\n }) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _updateSend(\n context: Client,\n resourceGroupName: string,\n playwrightWorkspaceName: string,\n properties: PlaywrightWorkspaceUpdate,\n options: PlaywrightWorkspacesUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LoadTestService/playwrightWorkspaces/{playwrightWorkspaceName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n playwrightWorkspaceName: playwrightWorkspaceName,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).patch({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n body: playwrightWorkspaceUpdateSerializer(properties),\n });\n}\n\nexport async function _updateDeserialize(\n result: PathUncheckedResponse,\n): Promise<PlaywrightWorkspace> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return playwrightWorkspaceDeserializer(result.body);\n}\n\n/** Update a PlaywrightWorkspace */\nexport async function update(\n context: Client,\n resourceGroupName: string,\n playwrightWorkspaceName: string,\n properties: PlaywrightWorkspaceUpdate,\n options: PlaywrightWorkspacesUpdateOptionalParams = { requestOptions: {} },\n): Promise<PlaywrightWorkspace> {\n const result = await _updateSend(\n context,\n resourceGroupName,\n playwrightWorkspaceName,\n properties,\n options,\n );\n return _updateDeserialize(result);\n}\n\nexport function _createOrUpdateSend(\n context: Client,\n resourceGroupName: string,\n playwrightWorkspaceName: string,\n resource: PlaywrightWorkspace,\n options: PlaywrightWorkspacesCreateOrUpdateOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LoadTestService/playwrightWorkspaces/{playwrightWorkspaceName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n playwrightWorkspaceName: playwrightWorkspaceName,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).put({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n body: playwrightWorkspaceSerializer(resource),\n });\n}\n\nexport async function _createOrUpdateDeserialize(\n result: PathUncheckedResponse,\n): Promise<PlaywrightWorkspace> {\n const expectedStatuses = [\"200\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return playwrightWorkspaceDeserializer(result.body);\n}\n\n/** Create a PlaywrightWorkspace */\nexport function createOrUpdate(\n context: Client,\n resourceGroupName: string,\n playwrightWorkspaceName: string,\n resource: PlaywrightWorkspace,\n options: PlaywrightWorkspacesCreateOrUpdateOptionalParams = {\n requestOptions: {},\n },\n): PollerLike<OperationState<PlaywrightWorkspace>, PlaywrightWorkspace> {\n return getLongRunningPoller(context, _createOrUpdateDeserialize, [\"200\", \"201\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _createOrUpdateSend(context, resourceGroupName, playwrightWorkspaceName, resource, options),\n resourceLocationConfig: \"azure-async-operation\",\n }) as PollerLike<OperationState<PlaywrightWorkspace>, PlaywrightWorkspace>;\n}\n\nexport function _getSend(\n context: Client,\n resourceGroupName: string,\n playwrightWorkspaceName: string,\n options: PlaywrightWorkspacesGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LoadTestService/playwrightWorkspaces/{playwrightWorkspaceName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n playwrightWorkspaceName: playwrightWorkspaceName,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _getDeserialize(result: PathUncheckedResponse): Promise<PlaywrightWorkspace> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return playwrightWorkspaceDeserializer(result.body);\n}\n\n/** Get a PlaywrightWorkspace */\nexport async function get(\n context: Client,\n resourceGroupName: string,\n playwrightWorkspaceName: string,\n options: PlaywrightWorkspacesGetOptionalParams = { requestOptions: {} },\n): Promise<PlaywrightWorkspace> {\n const result = await _getSend(context, resourceGroupName, playwrightWorkspaceName, options);\n return _getDeserialize(result);\n}\n"]}
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/playwrightWorkspaces/operations.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EACL,yBAAyB,EAEzB,6BAA6B,EAC7B,+BAA+B,EAE/B,mCAAmC,EAEnC,0CAA0C,EAE1C,sCAAsC,EAEtC,yCAAyC,GAC1C,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEL,uBAAuB,GACxB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAA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AAO,EAAE,cAAc,EAAE,eAAe;KACxD,CACF,CAAC;IACF,OAAO,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC;QAC5B,GAAG,mCAAmC,CAAC,OAAO,CAAC;QAC/C,OAAO,EAAE;YACP,MAAM,EAAE,kBAAkB;YAC1B,GAAG,OAAO,CAAC,cAAc,EAAE,OAAO;SACnC;KACF,CAAC,CAAC;AACL,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,eAAe,CAAC,MAA6B;IACjE,MAAM,gBAAgB,GAAG,CAAC,KAAK,CAAC,CAAC;IACjC,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QAC9C,MAAM,KAAK,GAAG,eAAe,CAAC,MAAM,CAAC,CAAC;QACtC,KAAK,CAAC,OAAO,GAAG,yBAAyB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QACvD,MAAM,KAAK,CAAC;IACd,CAAC;IAED,OAAO,+BAA+B,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AACtD,CAAC;AAED,gCAAgC;AAChC,MAAM,CAAC,KAAK,UAAU,GAAG,CACvB,OAAe,EACf,iBAAyB,EACzB,uBAA+B,EAC/B,UAAiD,EAAE,cAAc,EAAE,EAAE,EAAE;IAEvE,MAAM,MAAM,GAAG,MAAM,QAAQ,CAAC,OAAO,EAAE,iBAAiB,EAAE,uBAAuB,EAAE,OAAO,CAAC,CAAC;IAC5F,OAAO,eAAe,CAAC,MAAM,CAAC,CAAC;AACjC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { PlaywrightManagementContext as Client } from \"../index.js\";\nimport {\n errorResponseDeserializer,\n PlaywrightWorkspace,\n playwrightWorkspaceSerializer,\n playwrightWorkspaceDeserializer,\n PlaywrightWorkspaceUpdate,\n playwrightWorkspaceUpdateSerializer,\n _PlaywrightWorkspaceListResult,\n _playwrightWorkspaceListResultDeserializer,\n CheckNameAvailabilityRequest,\n checkNameAvailabilityRequestSerializer,\n CheckNameAvailabilityResponse,\n checkNameAvailabilityResponseDeserializer,\n} from \"../../models/models.js\";\nimport {\n PagedAsyncIterableIterator,\n buildPagedAsyncIterator,\n} from \"../../static-helpers/pagingHelpers.js\";\nimport { getLongRunningPoller } from \"../../static-helpers/pollingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport {\n PlaywrightWorkspacesCheckNameAvailabilityOptionalParams,\n PlaywrightWorkspacesListBySubscriptionOptionalParams,\n PlaywrightWorkspacesListByResourceGroupOptionalParams,\n PlaywrightWorkspacesDeleteOptionalParams,\n PlaywrightWorkspacesUpdateOptionalParams,\n PlaywrightWorkspacesCreateOrUpdateOptionalParams,\n PlaywrightWorkspacesGetOptionalParams,\n} from \"./options.js\";\nimport {\n StreamableMethod,\n PathUncheckedResponse,\n createRestError,\n operationOptionsToRequestParameters,\n} from \"@azure-rest/core-client\";\nimport { PollerLike, OperationState } from \"@azure/core-lro\";\n\nexport function _checkNameAvailabilitySend(\n context: Client,\n body: CheckNameAvailabilityRequest,\n options: PlaywrightWorkspacesCheckNameAvailabilityOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.LoadTestService/checkNameAvailability{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n body: checkNameAvailabilityRequestSerializer(body),\n });\n}\n\nexport async function _checkNameAvailabilityDeserialize(\n result: PathUncheckedResponse,\n): Promise<CheckNameAvailabilityResponse> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return checkNameAvailabilityResponseDeserializer(result.body);\n}\n\n/** Checks if a Playwright workspace name is available globally. */\nexport async function checkNameAvailability(\n context: Client,\n body: CheckNameAvailabilityRequest,\n options: PlaywrightWorkspacesCheckNameAvailabilityOptionalParams = {\n requestOptions: {},\n },\n): Promise<CheckNameAvailabilityResponse> {\n const result = await _checkNameAvailabilitySend(context, body, options);\n return _checkNameAvailabilityDeserialize(result);\n}\n\nexport function _listBySubscriptionSend(\n context: Client,\n options: PlaywrightWorkspacesListBySubscriptionOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.LoadTestService/playwrightWorkspaces{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _listBySubscriptionDeserialize(\n result: PathUncheckedResponse,\n): Promise<_PlaywrightWorkspaceListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return _playwrightWorkspaceListResultDeserializer(result.body);\n}\n\n/** List PlaywrightWorkspace resources by subscription ID */\nexport function listBySubscription(\n context: Client,\n options: PlaywrightWorkspacesListBySubscriptionOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<PlaywrightWorkspace> {\n return buildPagedAsyncIterator(\n context,\n () => _listBySubscriptionSend(context, options),\n _listBySubscriptionDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n\nexport function _listByResourceGroupSend(\n context: Client,\n resourceGroupName: string,\n options: PlaywrightWorkspacesListByResourceGroupOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LoadTestService/playwrightWorkspaces{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _listByResourceGroupDeserialize(\n result: PathUncheckedResponse,\n): Promise<_PlaywrightWorkspaceListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return _playwrightWorkspaceListResultDeserializer(result.body);\n}\n\n/** List PlaywrightWorkspace resources by resource group */\nexport function listByResourceGroup(\n context: Client,\n resourceGroupName: string,\n options: PlaywrightWorkspacesListByResourceGroupOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<PlaywrightWorkspace> {\n return buildPagedAsyncIterator(\n context,\n () => _listByResourceGroupSend(context, resourceGroupName, options),\n _listByResourceGroupDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n\nexport function _$deleteSend(\n context: Client,\n resourceGroupName: string,\n playwrightWorkspaceName: string,\n options: PlaywrightWorkspacesDeleteOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LoadTestService/playwrightWorkspaces/{playwrightWorkspaceName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n playwrightWorkspaceName: playwrightWorkspaceName,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).delete({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void> {\n const expectedStatuses = [\"202\", \"204\", \"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return;\n}\n\n/** Deletes a Playwright workspace resource asynchronously. */\n/**\n * @fixme delete is a reserved word that cannot be used as an operation name.\n * Please add @clientName(\"clientName\") or @clientName(\"<JS-Specific-Name>\", \"javascript\")\n * to the operation to override the generated name.\n */\nexport function $delete(\n context: Client,\n resourceGroupName: string,\n playwrightWorkspaceName: string,\n options: PlaywrightWorkspacesDeleteOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(context, _$deleteDeserialize, [\"202\", \"204\", \"200\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _$deleteSend(context, resourceGroupName, playwrightWorkspaceName, options),\n resourceLocationConfig: \"location\",\n }) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _updateSend(\n context: Client,\n resourceGroupName: string,\n playwrightWorkspaceName: string,\n properties: PlaywrightWorkspaceUpdate,\n options: PlaywrightWorkspacesUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LoadTestService/playwrightWorkspaces/{playwrightWorkspaceName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n playwrightWorkspaceName: playwrightWorkspaceName,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).patch({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n body: playwrightWorkspaceUpdateSerializer(properties),\n });\n}\n\nexport async function _updateDeserialize(\n result: PathUncheckedResponse,\n): Promise<PlaywrightWorkspace> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return playwrightWorkspaceDeserializer(result.body);\n}\n\n/** Updates a Playwright workspace resource synchronously. */\nexport async function update(\n context: Client,\n resourceGroupName: string,\n playwrightWorkspaceName: string,\n properties: PlaywrightWorkspaceUpdate,\n options: PlaywrightWorkspacesUpdateOptionalParams = { requestOptions: {} },\n): Promise<PlaywrightWorkspace> {\n const result = await _updateSend(\n context,\n resourceGroupName,\n playwrightWorkspaceName,\n properties,\n options,\n );\n return _updateDeserialize(result);\n}\n\nexport function _createOrUpdateSend(\n context: Client,\n resourceGroupName: string,\n playwrightWorkspaceName: string,\n resource: PlaywrightWorkspace,\n options: PlaywrightWorkspacesCreateOrUpdateOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LoadTestService/playwrightWorkspaces/{playwrightWorkspaceName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n playwrightWorkspaceName: playwrightWorkspaceName,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).put({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n body: playwrightWorkspaceSerializer(resource),\n });\n}\n\nexport async function _createOrUpdateDeserialize(\n result: PathUncheckedResponse,\n): Promise<PlaywrightWorkspace> {\n const expectedStatuses = [\"200\", \"201\", \"202\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return playwrightWorkspaceDeserializer(result.body);\n}\n\n/** Create a PlaywrightWorkspace */\nexport function createOrUpdate(\n context: Client,\n resourceGroupName: string,\n playwrightWorkspaceName: string,\n resource: PlaywrightWorkspace,\n options: PlaywrightWorkspacesCreateOrUpdateOptionalParams = {\n requestOptions: {},\n },\n): PollerLike<OperationState<PlaywrightWorkspace>, PlaywrightWorkspace> {\n return getLongRunningPoller(context, _createOrUpdateDeserialize, [\"200\", \"201\", \"202\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _createOrUpdateSend(context, resourceGroupName, playwrightWorkspaceName, resource, options),\n resourceLocationConfig: \"azure-async-operation\",\n }) as PollerLike<OperationState<PlaywrightWorkspace>, PlaywrightWorkspace>;\n}\n\nexport function _getSend(\n context: Client,\n resourceGroupName: string,\n playwrightWorkspaceName: string,\n options: PlaywrightWorkspacesGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LoadTestService/playwrightWorkspaces/{playwrightWorkspaceName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n playwrightWorkspaceName: playwrightWorkspaceName,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _getDeserialize(result: PathUncheckedResponse): Promise<PlaywrightWorkspace> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return playwrightWorkspaceDeserializer(result.body);\n}\n\n/** Get a PlaywrightWorkspace */\nexport async function get(\n context: Client,\n resourceGroupName: string,\n playwrightWorkspaceName: string,\n options: PlaywrightWorkspacesGetOptionalParams = { requestOptions: {} },\n): Promise<PlaywrightWorkspace> {\n const result = await _getSend(context, resourceGroupName, playwrightWorkspaceName, options);\n return _getDeserialize(result);\n}\n"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PlaywrightManagementContext } from "../../api/playwrightManagementContext.js";
|
|
2
|
-
import { Operation } from "../../models/models.js";
|
|
3
2
|
import { OperationsListOptionalParams } from "../../api/operations/options.js";
|
|
3
|
+
import { Operation } from "../../models/models.js";
|
|
4
4
|
import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
5
5
|
/** Interface representing a Operations operations. */
|
|
6
6
|
export interface OperationsOperations {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/operations/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/operations/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAAE,IAAI,EAAE,MAAM,oCAAoC,CAAC;AAW1D,SAAS,cAAc,CAAC,OAAoC;IAC1D,OAAO;QACL,IAAI,EAAE,CAAC,OAAsC,EAAE,EAAE,CAAC,IAAI,CAAC,OAAO,EAAE,OAAO,CAAC;KACzE,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,wBAAwB,CACtC,OAAoC;IAEpC,OAAO;QACL,GAAG,cAAc,CAAC,OAAO,CAAC;KAC3B,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { PlaywrightManagementContext } from \"../../api/playwrightManagementContext.js\";\nimport { list } from \"../../api/operations/operations.js\";\nimport { OperationsListOptionalParams } from \"../../api/operations/options.js\";\nimport { Operation } from \"../../models/models.js\";\nimport { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\n\n/** Interface representing a Operations operations. */\nexport interface OperationsOperations {\n /** List the operations for the provider */\n list: (options?: OperationsListOptionalParams) => PagedAsyncIterableIterator<Operation>;\n}\n\nfunction _getOperations(context: PlaywrightManagementContext) {\n return {\n list: (options?: OperationsListOptionalParams) => list(context, options),\n };\n}\n\nexport function _getOperationsOperations(\n context: PlaywrightManagementContext,\n): OperationsOperations {\n return {\n ..._getOperations(context),\n };\n}\n"]}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { PlaywrightManagementContext } from "../../api/playwrightManagementContext.js";
|
|
2
|
-
import { PlaywrightQuota, QuotaName } from "../../models/models.js";
|
|
3
2
|
import { PlaywrightQuotasListBySubscriptionOptionalParams, PlaywrightQuotasGetOptionalParams } from "../../api/playwrightQuotas/options.js";
|
|
3
|
+
import { PlaywrightQuota, QuotaName } from "../../models/models.js";
|
|
4
4
|
import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
5
5
|
/** Interface representing a PlaywrightQuotas operations. */
|
|
6
6
|
export interface PlaywrightQuotasOperations {
|
|
7
|
-
/**
|
|
7
|
+
/** Lists Playwright quota resources for a given subscription ID. */
|
|
8
8
|
listBySubscription: (location: string, options?: PlaywrightQuotasListBySubscriptionOptionalParams) => PagedAsyncIterableIterator<PlaywrightQuota>;
|
|
9
|
-
/**
|
|
9
|
+
/** Gets a subscription-level location-based Playwright quota resource by name. */
|
|
10
10
|
get: (location: string, playwrightQuotaName: QuotaName, options?: PlaywrightQuotasGetOptionalParams) => Promise<PlaywrightQuota>;
|
|
11
11
|
}
|
|
12
12
|
export declare function _getPlaywrightQuotasOperations(context: PlaywrightManagementContext): PlaywrightQuotasOperations;
|
|
@@ -8,6 +8,8 @@ function _getPlaywrightQuotas(context) {
|
|
|
8
8
|
};
|
|
9
9
|
}
|
|
10
10
|
export function _getPlaywrightQuotasOperations(context) {
|
|
11
|
-
return
|
|
11
|
+
return {
|
|
12
|
+
..._getPlaywrightQuotas(context),
|
|
13
|
+
};
|
|
12
14
|
}
|
|
13
15
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/playwrightQuotas/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/playwrightQuotas/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAAE,kBAAkB,EAAE,GAAG,EAAE,MAAM,0CAA0C,CAAC;AAuBnF,SAAS,oBAAoB,CAAC,OAAoC;IAChE,OAAO;QACL,kBAAkB,EAAE,CAClB,QAAgB,EAChB,OAA0D,EAC1D,EAAE,CAAC,kBAAkB,CAAC,OAAO,EAAE,QAAQ,EAAE,OAAO,CAAC;QACnD,GAAG,EAAE,CACH,QAAgB,EAChB,mBAA8B,EAC9B,OAA2C,EAC3C,EAAE,CAAC,GAAG,CAAC,OAAO,EAAE,QAAQ,EAAE,mBAAmB,EAAE,OAAO,CAAC;KAC1D,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,8BAA8B,CAC5C,OAAoC;IAEpC,OAAO;QACL,GAAG,oBAAoB,CAAC,OAAO,CAAC;KACjC,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { PlaywrightManagementContext } from \"../../api/playwrightManagementContext.js\";\nimport { listBySubscription, get } from \"../../api/playwrightQuotas/operations.js\";\nimport {\n PlaywrightQuotasListBySubscriptionOptionalParams,\n PlaywrightQuotasGetOptionalParams,\n} from \"../../api/playwrightQuotas/options.js\";\nimport { PlaywrightQuota, QuotaName } from \"../../models/models.js\";\nimport { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\n\n/** Interface representing a PlaywrightQuotas operations. */\nexport interface PlaywrightQuotasOperations {\n /** Lists Playwright quota resources for a given subscription ID. */\n listBySubscription: (\n location: string,\n options?: PlaywrightQuotasListBySubscriptionOptionalParams,\n ) => PagedAsyncIterableIterator<PlaywrightQuota>;\n /** Gets a subscription-level location-based Playwright quota resource by name. */\n get: (\n location: string,\n playwrightQuotaName: QuotaName,\n options?: PlaywrightQuotasGetOptionalParams,\n ) => Promise<PlaywrightQuota>;\n}\n\nfunction _getPlaywrightQuotas(context: PlaywrightManagementContext) {\n return {\n listBySubscription: (\n location: string,\n options?: PlaywrightQuotasListBySubscriptionOptionalParams,\n ) => listBySubscription(context, location, options),\n get: (\n location: string,\n playwrightQuotaName: QuotaName,\n options?: PlaywrightQuotasGetOptionalParams,\n ) => get(context, location, playwrightQuotaName, options),\n };\n}\n\nexport function _getPlaywrightQuotasOperations(\n context: PlaywrightManagementContext,\n): PlaywrightQuotasOperations {\n return {\n ..._getPlaywrightQuotas(context),\n };\n}\n"]}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { PlaywrightManagementContext } from "../../api/playwrightManagementContext.js";
|
|
2
|
-
import { QuotaName, PlaywrightWorkspaceQuota } from "../../models/models.js";
|
|
3
2
|
import { PlaywrightWorkspaceQuotasListByPlaywrightWorkspaceOptionalParams, PlaywrightWorkspaceQuotasGetOptionalParams } from "../../api/playwrightWorkspaceQuotas/options.js";
|
|
3
|
+
import { QuotaName, PlaywrightWorkspaceQuota } from "../../models/models.js";
|
|
4
4
|
import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
5
5
|
/** Interface representing a PlaywrightWorkspaceQuotas operations. */
|
|
6
6
|
export interface PlaywrightWorkspaceQuotasOperations {
|
|
7
|
-
/**
|
|
7
|
+
/** Lists quota resources for a given Playwright workspace. */
|
|
8
8
|
listByPlaywrightWorkspace: (resourceGroupName: string, playwrightWorkspaceName: string, options?: PlaywrightWorkspaceQuotasListByPlaywrightWorkspaceOptionalParams) => PagedAsyncIterableIterator<PlaywrightWorkspaceQuota>;
|
|
9
|
-
/**
|
|
9
|
+
/** Gets a Playwright workspace quota resource by name. */
|
|
10
10
|
get: (resourceGroupName: string, playwrightWorkspaceName: string, quotaName: QuotaName, options?: PlaywrightWorkspaceQuotasGetOptionalParams) => Promise<PlaywrightWorkspaceQuota>;
|
|
11
11
|
}
|
|
12
12
|
export declare function _getPlaywrightWorkspaceQuotasOperations(context: PlaywrightManagementContext): PlaywrightWorkspaceQuotasOperations;
|
|
@@ -8,6 +8,8 @@ function _getPlaywrightWorkspaceQuotas(context) {
|
|
|
8
8
|
};
|
|
9
9
|
}
|
|
10
10
|
export function _getPlaywrightWorkspaceQuotasOperations(context) {
|
|
11
|
-
return
|
|
11
|
+
return {
|
|
12
|
+
..._getPlaywrightWorkspaceQuotas(context),
|
|
13
|
+
};
|
|
12
14
|
}
|
|
13
15
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/playwrightWorkspaceQuotas/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/playwrightWorkspaceQuotas/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAAE,yBAAyB,EAAE,GAAG,EAAE,MAAM,mDAAmD,CAAC;AAyBnG,SAAS,6BAA6B,CAAC,OAAoC;IACzE,OAAO;QACL,yBAAyB,EAAE,CACzB,iBAAyB,EACzB,uBAA+B,EAC/B,OAA0E,EAC1E,EAAE,CAAC,yBAAyB,CAAC,OAAO,EAAE,iBAAiB,EAAE,uBAAuB,EAAE,OAAO,CAAC;QAC5F,GAAG,EAAE,CACH,iBAAyB,EACzB,uBAA+B,EAC/B,SAAoB,EACpB,OAAoD,EACpD,EAAE,CAAC,GAAG,CAAC,OAAO,EAAE,iBAAiB,EAAE,uBAAuB,EAAE,SAAS,EAAE,OAAO,CAAC;KAClF,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,uCAAuC,CACrD,OAAoC;IAEpC,OAAO;QACL,GAAG,6BAA6B,CAAC,OAAO,CAAC;KAC1C,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { PlaywrightManagementContext } from \"../../api/playwrightManagementContext.js\";\nimport { listByPlaywrightWorkspace, get } from \"../../api/playwrightWorkspaceQuotas/operations.js\";\nimport {\n PlaywrightWorkspaceQuotasListByPlaywrightWorkspaceOptionalParams,\n PlaywrightWorkspaceQuotasGetOptionalParams,\n} from \"../../api/playwrightWorkspaceQuotas/options.js\";\nimport { QuotaName, PlaywrightWorkspaceQuota } from \"../../models/models.js\";\nimport { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\n\n/** Interface representing a PlaywrightWorkspaceQuotas operations. */\nexport interface PlaywrightWorkspaceQuotasOperations {\n /** Lists quota resources for a given Playwright workspace. */\n listByPlaywrightWorkspace: (\n resourceGroupName: string,\n playwrightWorkspaceName: string,\n options?: PlaywrightWorkspaceQuotasListByPlaywrightWorkspaceOptionalParams,\n ) => PagedAsyncIterableIterator<PlaywrightWorkspaceQuota>;\n /** Gets a Playwright workspace quota resource by name. */\n get: (\n resourceGroupName: string,\n playwrightWorkspaceName: string,\n quotaName: QuotaName,\n options?: PlaywrightWorkspaceQuotasGetOptionalParams,\n ) => Promise<PlaywrightWorkspaceQuota>;\n}\n\nfunction _getPlaywrightWorkspaceQuotas(context: PlaywrightManagementContext) {\n return {\n listByPlaywrightWorkspace: (\n resourceGroupName: string,\n playwrightWorkspaceName: string,\n options?: PlaywrightWorkspaceQuotasListByPlaywrightWorkspaceOptionalParams,\n ) => listByPlaywrightWorkspace(context, resourceGroupName, playwrightWorkspaceName, options),\n get: (\n resourceGroupName: string,\n playwrightWorkspaceName: string,\n quotaName: QuotaName,\n options?: PlaywrightWorkspaceQuotasGetOptionalParams,\n ) => get(context, resourceGroupName, playwrightWorkspaceName, quotaName, options),\n };\n}\n\nexport function _getPlaywrightWorkspaceQuotasOperations(\n context: PlaywrightManagementContext,\n): PlaywrightWorkspaceQuotasOperations {\n return {\n ..._getPlaywrightWorkspaceQuotas(context),\n };\n}\n"]}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { PlaywrightManagementContext } from "../../api/playwrightManagementContext.js";
|
|
2
|
-
import { PlaywrightWorkspace, PlaywrightWorkspaceUpdate, CheckNameAvailabilityRequest, CheckNameAvailabilityResponse } from "../../models/models.js";
|
|
3
2
|
import { PlaywrightWorkspacesCheckNameAvailabilityOptionalParams, PlaywrightWorkspacesListBySubscriptionOptionalParams, PlaywrightWorkspacesListByResourceGroupOptionalParams, PlaywrightWorkspacesDeleteOptionalParams, PlaywrightWorkspacesUpdateOptionalParams, PlaywrightWorkspacesCreateOrUpdateOptionalParams, PlaywrightWorkspacesGetOptionalParams } from "../../api/playwrightWorkspaces/options.js";
|
|
3
|
+
import { PlaywrightWorkspace, PlaywrightWorkspaceUpdate, CheckNameAvailabilityRequest, CheckNameAvailabilityResponse } from "../../models/models.js";
|
|
4
4
|
import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
5
5
|
import { PollerLike, OperationState } from "@azure/core-lro";
|
|
6
6
|
/** Interface representing a PlaywrightWorkspaces operations. */
|
|
7
7
|
export interface PlaywrightWorkspacesOperations {
|
|
8
|
-
/**
|
|
8
|
+
/** Checks if a Playwright workspace name is available globally. */
|
|
9
9
|
checkNameAvailability: (body: CheckNameAvailabilityRequest, options?: PlaywrightWorkspacesCheckNameAvailabilityOptionalParams) => Promise<CheckNameAvailabilityResponse>;
|
|
10
10
|
/** List PlaywrightWorkspace resources by subscription ID */
|
|
11
11
|
listBySubscription: (options?: PlaywrightWorkspacesListBySubscriptionOptionalParams) => PagedAsyncIterableIterator<PlaywrightWorkspace>;
|
|
12
12
|
/** List PlaywrightWorkspace resources by resource group */
|
|
13
13
|
listByResourceGroup: (resourceGroupName: string, options?: PlaywrightWorkspacesListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<PlaywrightWorkspace>;
|
|
14
|
-
/**
|
|
14
|
+
/** Deletes a Playwright workspace resource asynchronously. */
|
|
15
15
|
/**
|
|
16
16
|
* @fixme delete is a reserved word that cannot be used as an operation name.
|
|
17
17
|
* Please add @clientName("clientName") or @clientName("<JS-Specific-Name>", "javascript")
|
|
18
18
|
* to the operation to override the generated name.
|
|
19
19
|
*/
|
|
20
20
|
delete: (resourceGroupName: string, playwrightWorkspaceName: string, options?: PlaywrightWorkspacesDeleteOptionalParams) => PollerLike<OperationState<void>, void>;
|
|
21
|
-
/**
|
|
21
|
+
/** Updates a Playwright workspace resource synchronously. */
|
|
22
22
|
update: (resourceGroupName: string, playwrightWorkspaceName: string, properties: PlaywrightWorkspaceUpdate, options?: PlaywrightWorkspacesUpdateOptionalParams) => Promise<PlaywrightWorkspace>;
|
|
23
23
|
/** Create a PlaywrightWorkspace */
|
|
24
24
|
createOrUpdate: (resourceGroupName: string, playwrightWorkspaceName: string, resource: PlaywrightWorkspace, options?: PlaywrightWorkspacesCreateOrUpdateOptionalParams) => PollerLike<OperationState<PlaywrightWorkspace>, PlaywrightWorkspace>;
|
|
@@ -13,6 +13,8 @@ function _getPlaywrightWorkspaces(context) {
|
|
|
13
13
|
};
|
|
14
14
|
}
|
|
15
15
|
export function _getPlaywrightWorkspacesOperations(context) {
|
|
16
|
-
return
|
|
16
|
+
return {
|
|
17
|
+
..._getPlaywrightWorkspaces(context),
|
|
18
|
+
};
|
|
17
19
|
}
|
|
18
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/playwrightWorkspaces/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/playwrightWorkspaces/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGl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,CAAC;KACrC,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { PlaywrightManagementContext } from \"../../api/playwrightManagementContext.js\";\nimport {\n checkNameAvailability,\n listBySubscription,\n listByResourceGroup,\n $delete,\n update,\n createOrUpdate,\n get,\n} from \"../../api/playwrightWorkspaces/operations.js\";\nimport {\n PlaywrightWorkspacesCheckNameAvailabilityOptionalParams,\n PlaywrightWorkspacesListBySubscriptionOptionalParams,\n PlaywrightWorkspacesListByResourceGroupOptionalParams,\n PlaywrightWorkspacesDeleteOptionalParams,\n PlaywrightWorkspacesUpdateOptionalParams,\n PlaywrightWorkspacesCreateOrUpdateOptionalParams,\n PlaywrightWorkspacesGetOptionalParams,\n} from \"../../api/playwrightWorkspaces/options.js\";\nimport {\n PlaywrightWorkspace,\n PlaywrightWorkspaceUpdate,\n CheckNameAvailabilityRequest,\n CheckNameAvailabilityResponse,\n} from \"../../models/models.js\";\nimport { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { PollerLike, OperationState } from \"@azure/core-lro\";\n\n/** Interface representing a PlaywrightWorkspaces operations. */\nexport interface PlaywrightWorkspacesOperations {\n /** Checks if a Playwright workspace name is available globally. */\n checkNameAvailability: (\n body: CheckNameAvailabilityRequest,\n options?: PlaywrightWorkspacesCheckNameAvailabilityOptionalParams,\n ) => Promise<CheckNameAvailabilityResponse>;\n /** List PlaywrightWorkspace resources by subscription ID */\n listBySubscription: (\n options?: PlaywrightWorkspacesListBySubscriptionOptionalParams,\n ) => PagedAsyncIterableIterator<PlaywrightWorkspace>;\n /** List PlaywrightWorkspace resources by resource group */\n listByResourceGroup: (\n resourceGroupName: string,\n options?: PlaywrightWorkspacesListByResourceGroupOptionalParams,\n ) => PagedAsyncIterableIterator<PlaywrightWorkspace>;\n /** Deletes a Playwright workspace resource asynchronously. */\n /**\n * @fixme delete is a reserved word that cannot be used as an operation name.\n * Please add @clientName(\"clientName\") or @clientName(\"<JS-Specific-Name>\", \"javascript\")\n * to the operation to override the generated name.\n */\n delete: (\n resourceGroupName: string,\n playwrightWorkspaceName: string,\n options?: PlaywrightWorkspacesDeleteOptionalParams,\n ) => PollerLike<OperationState<void>, void>;\n /** Updates a Playwright workspace resource synchronously. */\n update: (\n resourceGroupName: string,\n playwrightWorkspaceName: string,\n properties: PlaywrightWorkspaceUpdate,\n options?: PlaywrightWorkspacesUpdateOptionalParams,\n ) => Promise<PlaywrightWorkspace>;\n /** Create a PlaywrightWorkspace */\n createOrUpdate: (\n resourceGroupName: string,\n playwrightWorkspaceName: string,\n resource: PlaywrightWorkspace,\n options?: PlaywrightWorkspacesCreateOrUpdateOptionalParams,\n ) => PollerLike<OperationState<PlaywrightWorkspace>, PlaywrightWorkspace>;\n /** Get a PlaywrightWorkspace */\n get: (\n resourceGroupName: string,\n playwrightWorkspaceName: string,\n options?: PlaywrightWorkspacesGetOptionalParams,\n ) => Promise<PlaywrightWorkspace>;\n}\n\nfunction _getPlaywrightWorkspaces(context: PlaywrightManagementContext) {\n return {\n checkNameAvailability: (\n body: CheckNameAvailabilityRequest,\n options?: PlaywrightWorkspacesCheckNameAvailabilityOptionalParams,\n ) => checkNameAvailability(context, body, options),\n listBySubscription: (options?: PlaywrightWorkspacesListBySubscriptionOptionalParams) =>\n listBySubscription(context, options),\n listByResourceGroup: (\n resourceGroupName: string,\n options?: PlaywrightWorkspacesListByResourceGroupOptionalParams,\n ) => listByResourceGroup(context, resourceGroupName, options),\n delete: (\n resourceGroupName: string,\n playwrightWorkspaceName: string,\n options?: PlaywrightWorkspacesDeleteOptionalParams,\n ) => $delete(context, resourceGroupName, playwrightWorkspaceName, options),\n update: (\n resourceGroupName: string,\n playwrightWorkspaceName: string,\n properties: PlaywrightWorkspaceUpdate,\n options?: PlaywrightWorkspacesUpdateOptionalParams,\n ) => update(context, resourceGroupName, playwrightWorkspaceName, properties, options),\n createOrUpdate: (\n resourceGroupName: string,\n playwrightWorkspaceName: string,\n resource: PlaywrightWorkspace,\n options?: PlaywrightWorkspacesCreateOrUpdateOptionalParams,\n ) => createOrUpdate(context, resourceGroupName, playwrightWorkspaceName, resource, options),\n get: (\n resourceGroupName: string,\n playwrightWorkspaceName: string,\n options?: PlaywrightWorkspacesGetOptionalParams,\n ) => get(context, resourceGroupName, playwrightWorkspaceName, options),\n };\n}\n\nexport function _getPlaywrightWorkspacesOperations(\n context: PlaywrightManagementContext,\n): PlaywrightWorkspacesOperations {\n return {\n ..._getPlaywrightWorkspaces(context),\n };\n}\n"]}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AzureClouds, AzureSupportedClouds } from "./static-helpers/cloudSettingHelpers.js";
|
|
1
2
|
import { PageSettings, ContinuablePage, PagedAsyncIterableIterator } from "./static-helpers/pagingHelpers.js";
|
|
2
3
|
export { PlaywrightManagementClient } from "./playwrightManagementClient.js";
|
|
3
4
|
export { restorePoller, RestorePollerOptions } from "./restorePollerHelpers.js";
|
|
@@ -9,4 +10,5 @@ export { PlaywrightWorkspaceQuotasListByPlaywrightWorkspaceOptionalParams, Playw
|
|
|
9
10
|
export { PlaywrightWorkspacesCheckNameAvailabilityOptionalParams, PlaywrightWorkspacesListBySubscriptionOptionalParams, PlaywrightWorkspacesListByResourceGroupOptionalParams, PlaywrightWorkspacesDeleteOptionalParams, PlaywrightWorkspacesUpdateOptionalParams, PlaywrightWorkspacesCreateOrUpdateOptionalParams, PlaywrightWorkspacesGetOptionalParams, } from "./api/playwrightWorkspaces/index.js";
|
|
10
11
|
export { OperationsOperations, PlaywrightQuotasOperations, PlaywrightWorkspaceQuotasOperations, PlaywrightWorkspacesOperations, } from "./classic/index.js";
|
|
11
12
|
export { PageSettings, ContinuablePage, PagedAsyncIterableIterator };
|
|
13
|
+
export { AzureClouds, AzureSupportedClouds };
|
|
12
14
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
// Copyright (c) Microsoft Corporation.
|
|
2
2
|
// Licensed under the MIT License.
|
|
3
|
+
import { AzureClouds } from "./static-helpers/cloudSettingHelpers.js";
|
|
3
4
|
export { PlaywrightManagementClient } from "./playwrightManagementClient.js";
|
|
4
5
|
export { restorePoller } from "./restorePollerHelpers.js";
|
|
5
6
|
export { KnownOrigin, KnownActionType, KnownProvisioningState, KnownEnablementStatus, KnownCreatedByType, KnownCheckNameAvailabilityReason, KnownFreeTrialState, KnownQuotaName, KnownVersions, } from "./models/index.js";
|
|
7
|
+
export { AzureClouds };
|
|
6
8
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,WAAW,EAAwB,MAAM,yCAAyC,CAAC;AAO5F,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAC7E,OAAO,EAAE,aAAa,EAAwB,MAAM,2BAA2B,CAAC;AAChF,OAAO,EAGL,WAAW,EAEX,eAAe,EAOf,sBAAsB,EAEtB,qBAAqB,EAKrB,kBAAkB,EAMlB,gCAAgC,EAKhC,mBAAmB,EAEnB,cAAc,EAMd,aAAa,GACd,MAAM,mBAAmB,CAAC;AA2B3B,OAAO,EAAE,WAAW,EAAwB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { AzureClouds, AzureSupportedClouds } from \"./static-helpers/cloudSettingHelpers.js\";\nimport {\n PageSettings,\n ContinuablePage,\n PagedAsyncIterableIterator,\n} from \"./static-helpers/pagingHelpers.js\";\n\nexport { PlaywrightManagementClient } from \"./playwrightManagementClient.js\";\nexport { restorePoller, RestorePollerOptions } from \"./restorePollerHelpers.js\";\nexport {\n Operation,\n OperationDisplay,\n KnownOrigin,\n Origin,\n KnownActionType,\n ActionType,\n ErrorResponse,\n ErrorDetail,\n ErrorAdditionalInfo,\n PlaywrightWorkspace,\n PlaywrightWorkspaceProperties,\n KnownProvisioningState,\n ProvisioningState,\n KnownEnablementStatus,\n EnablementStatus,\n TrackedResource,\n Resource,\n SystemData,\n KnownCreatedByType,\n CreatedByType,\n PlaywrightWorkspaceUpdate,\n PlaywrightWorkspaceUpdateProperties,\n CheckNameAvailabilityRequest,\n CheckNameAvailabilityResponse,\n KnownCheckNameAvailabilityReason,\n CheckNameAvailabilityReason,\n PlaywrightQuota,\n PlaywrightQuotaProperties,\n FreeTrialProperties,\n KnownFreeTrialState,\n FreeTrialState,\n KnownQuotaName,\n QuotaName,\n ProxyResource,\n PlaywrightWorkspaceQuota,\n PlaywrightWorkspaceQuotaProperties,\n PlaywrightWorkspaceFreeTrialProperties,\n KnownVersions,\n} from \"./models/index.js\";\nexport { PlaywrightManagementClientOptionalParams } from \"./api/index.js\";\nexport { OperationsListOptionalParams } from \"./api/operations/index.js\";\nexport {\n PlaywrightQuotasListBySubscriptionOptionalParams,\n PlaywrightQuotasGetOptionalParams,\n} from \"./api/playwrightQuotas/index.js\";\nexport {\n PlaywrightWorkspaceQuotasListByPlaywrightWorkspaceOptionalParams,\n PlaywrightWorkspaceQuotasGetOptionalParams,\n} from \"./api/playwrightWorkspaceQuotas/index.js\";\nexport {\n PlaywrightWorkspacesCheckNameAvailabilityOptionalParams,\n PlaywrightWorkspacesListBySubscriptionOptionalParams,\n PlaywrightWorkspacesListByResourceGroupOptionalParams,\n PlaywrightWorkspacesDeleteOptionalParams,\n PlaywrightWorkspacesUpdateOptionalParams,\n PlaywrightWorkspacesCreateOrUpdateOptionalParams,\n PlaywrightWorkspacesGetOptionalParams,\n} from \"./api/playwrightWorkspaces/index.js\";\nexport {\n OperationsOperations,\n PlaywrightQuotasOperations,\n PlaywrightWorkspaceQuotasOperations,\n PlaywrightWorkspacesOperations,\n} from \"./classic/index.js\";\nexport { PageSettings, ContinuablePage, PagedAsyncIterableIterator };\nexport { AzureClouds, AzureSupportedClouds };\n"]}
|
|
@@ -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
|