@azure/arm-playwright 1.0.0-beta.1
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/CHANGELOG.md +7 -0
- package/LICENSE +21 -0
- package/README.md +115 -0
- package/dist/browser/api/index.d.ts +2 -0
- package/dist/browser/api/index.js +4 -0
- package/dist/browser/api/index.js.map +1 -0
- package/dist/browser/api/operations/index.d.ts +3 -0
- package/dist/browser/api/operations/index.js +4 -0
- package/dist/browser/api/operations/index.js.map +1 -0
- package/dist/browser/api/operations/operations.d.ts +10 -0
- package/dist/browser/api/operations/operations.js +29 -0
- package/dist/browser/api/operations/operations.js.map +1 -0
- package/dist/browser/api/operations/options.d.ts +5 -0
- package/dist/browser/api/operations/options.js +4 -0
- package/dist/browser/api/operations/options.js.map +1 -0
- package/dist/browser/api/playwrightManagementContext.d.ts +19 -0
- package/dist/browser/api/playwrightManagementContext.js +36 -0
- package/dist/browser/api/playwrightManagementContext.js.map +1 -0
- package/dist/browser/api/playwrightQuotas/index.d.ts +3 -0
- package/dist/browser/api/playwrightQuotas/index.js +4 -0
- package/dist/browser/api/playwrightQuotas/index.js.map +1 -0
- package/dist/browser/api/playwrightQuotas/operations.d.ts +14 -0
- package/dist/browser/api/playwrightQuotas/operations.js +61 -0
- package/dist/browser/api/playwrightQuotas/operations.js.map +1 -0
- package/dist/browser/api/playwrightQuotas/options.d.ts +8 -0
- package/dist/browser/api/playwrightQuotas/options.js +4 -0
- package/dist/browser/api/playwrightQuotas/options.js.map +1 -0
- package/dist/browser/api/playwrightWorkspaceQuotas/index.d.ts +3 -0
- package/dist/browser/api/playwrightWorkspaceQuotas/index.js +4 -0
- package/dist/browser/api/playwrightWorkspaceQuotas/index.js.map +1 -0
- package/dist/browser/api/playwrightWorkspaceQuotas/operations.d.ts +14 -0
- package/dist/browser/api/playwrightWorkspaceQuotas/operations.js +63 -0
- package/dist/browser/api/playwrightWorkspaceQuotas/operations.js.map +1 -0
- package/dist/browser/api/playwrightWorkspaceQuotas/options.d.ts +8 -0
- package/dist/browser/api/playwrightWorkspaceQuotas/options.js +4 -0
- package/dist/browser/api/playwrightWorkspaceQuotas/options.js.map +1 -0
- package/dist/browser/api/playwrightWorkspaces/index.d.ts +3 -0
- package/dist/browser/api/playwrightWorkspaces/index.js +4 -0
- package/dist/browser/api/playwrightWorkspaces/index.js.map +1 -0
- package/dist/browser/api/playwrightWorkspaces/operations.d.ts +40 -0
- package/dist/browser/api/playwrightWorkspaces/operations.js +212 -0
- package/dist/browser/api/playwrightWorkspaces/operations.js.map +1 -0
- package/dist/browser/api/playwrightWorkspaces/options.d.ts +27 -0
- package/dist/browser/api/playwrightWorkspaces/options.js +4 -0
- package/dist/browser/api/playwrightWorkspaces/options.js.map +1 -0
- package/dist/browser/classic/index.d.ts +5 -0
- package/dist/browser/classic/index.js +4 -0
- package/dist/browser/classic/index.js.map +1 -0
- package/dist/browser/classic/operations/index.d.ts +11 -0
- package/dist/browser/classic/operations/index.js +12 -0
- package/dist/browser/classic/operations/index.js.map +1 -0
- package/dist/browser/classic/playwrightQuotas/index.d.ts +13 -0
- package/dist/browser/classic/playwrightQuotas/index.js +13 -0
- package/dist/browser/classic/playwrightQuotas/index.js.map +1 -0
- package/dist/browser/classic/playwrightWorkspaceQuotas/index.d.ts +13 -0
- package/dist/browser/classic/playwrightWorkspaceQuotas/index.js +13 -0
- package/dist/browser/classic/playwrightWorkspaceQuotas/index.js.map +1 -0
- package/dist/browser/classic/playwrightWorkspaces/index.d.ts +29 -0
- package/dist/browser/classic/playwrightWorkspaces/index.js +18 -0
- package/dist/browser/classic/playwrightWorkspaces/index.js.map +1 -0
- package/dist/browser/index.d.ts +12 -0
- package/dist/browser/index.js +6 -0
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/logger.d.ts +2 -0
- package/dist/browser/logger.js +5 -0
- package/dist/browser/logger.js.map +1 -0
- package/dist/browser/models/index.d.ts +2 -0
- package/dist/browser/models/index.js +4 -0
- package/dist/browser/models/index.js.map +1 -0
- package/dist/browser/models/models.d.ts +391 -0
- package/dist/browser/models/models.js +352 -0
- package/dist/browser/models/models.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/playwrightManagementClient.d.ts +24 -0
- package/dist/browser/playwrightManagementClient.js +24 -0
- package/dist/browser/playwrightManagementClient.js.map +1 -0
- package/dist/browser/restorePollerHelpers.d.ts +21 -0
- package/dist/browser/restorePollerHelpers.js +97 -0
- package/dist/browser/restorePollerHelpers.js.map +1 -0
- package/dist/browser/static-helpers/pagingHelpers.d.ts +72 -0
- package/dist/browser/static-helpers/pagingHelpers.js +137 -0
- package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/pollingHelpers.d.ts +30 -0
- package/dist/browser/static-helpers/pollingHelpers.js +76 -0
- package/dist/browser/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/browser/static-helpers/urlTemplate.js +169 -0
- package/dist/browser/static-helpers/urlTemplate.js.map +1 -0
- package/dist/commonjs/api/index.d.ts +2 -0
- package/dist/commonjs/api/index.js +8 -0
- package/dist/commonjs/api/index.js.map +1 -0
- package/dist/commonjs/api/operations/index.d.ts +3 -0
- package/dist/commonjs/api/operations/index.js +8 -0
- package/dist/commonjs/api/operations/index.js.map +1 -0
- package/dist/commonjs/api/operations/operations.d.ts +10 -0
- package/dist/commonjs/api/operations/operations.js +34 -0
- package/dist/commonjs/api/operations/operations.js.map +1 -0
- package/dist/commonjs/api/operations/options.d.ts +5 -0
- package/dist/commonjs/api/operations/options.js +5 -0
- package/dist/commonjs/api/operations/options.js.map +1 -0
- package/dist/commonjs/api/playwrightManagementContext.d.ts +19 -0
- package/dist/commonjs/api/playwrightManagementContext.js +39 -0
- package/dist/commonjs/api/playwrightManagementContext.js.map +1 -0
- package/dist/commonjs/api/playwrightQuotas/index.d.ts +3 -0
- package/dist/commonjs/api/playwrightQuotas/index.js +9 -0
- package/dist/commonjs/api/playwrightQuotas/index.js.map +1 -0
- package/dist/commonjs/api/playwrightQuotas/operations.d.ts +14 -0
- package/dist/commonjs/api/playwrightQuotas/operations.js +69 -0
- package/dist/commonjs/api/playwrightQuotas/operations.js.map +1 -0
- package/dist/commonjs/api/playwrightQuotas/options.d.ts +8 -0
- package/dist/commonjs/api/playwrightQuotas/options.js +5 -0
- package/dist/commonjs/api/playwrightQuotas/options.js.map +1 -0
- package/dist/commonjs/api/playwrightWorkspaceQuotas/index.d.ts +3 -0
- package/dist/commonjs/api/playwrightWorkspaceQuotas/index.js +9 -0
- package/dist/commonjs/api/playwrightWorkspaceQuotas/index.js.map +1 -0
- package/dist/commonjs/api/playwrightWorkspaceQuotas/operations.d.ts +14 -0
- package/dist/commonjs/api/playwrightWorkspaceQuotas/operations.js +71 -0
- package/dist/commonjs/api/playwrightWorkspaceQuotas/operations.js.map +1 -0
- package/dist/commonjs/api/playwrightWorkspaceQuotas/options.d.ts +8 -0
- package/dist/commonjs/api/playwrightWorkspaceQuotas/options.js +5 -0
- package/dist/commonjs/api/playwrightWorkspaceQuotas/options.js.map +1 -0
- package/dist/commonjs/api/playwrightWorkspaces/index.d.ts +3 -0
- package/dist/commonjs/api/playwrightWorkspaces/index.js +14 -0
- package/dist/commonjs/api/playwrightWorkspaces/index.js.map +1 -0
- package/dist/commonjs/api/playwrightWorkspaces/operations.d.ts +40 -0
- package/dist/commonjs/api/playwrightWorkspaces/operations.js +235 -0
- package/dist/commonjs/api/playwrightWorkspaces/operations.js.map +1 -0
- package/dist/commonjs/api/playwrightWorkspaces/options.d.ts +27 -0
- package/dist/commonjs/api/playwrightWorkspaces/options.js +5 -0
- package/dist/commonjs/api/playwrightWorkspaces/options.js.map +1 -0
- package/dist/commonjs/classic/index.d.ts +5 -0
- package/dist/commonjs/classic/index.js +5 -0
- package/dist/commonjs/classic/index.js.map +1 -0
- package/dist/commonjs/classic/operations/index.d.ts +11 -0
- package/dist/commonjs/classic/operations/index.js +15 -0
- package/dist/commonjs/classic/operations/index.js.map +1 -0
- package/dist/commonjs/classic/playwrightQuotas/index.d.ts +13 -0
- package/dist/commonjs/classic/playwrightQuotas/index.js +16 -0
- package/dist/commonjs/classic/playwrightQuotas/index.js.map +1 -0
- package/dist/commonjs/classic/playwrightWorkspaceQuotas/index.d.ts +13 -0
- package/dist/commonjs/classic/playwrightWorkspaceQuotas/index.js +16 -0
- package/dist/commonjs/classic/playwrightWorkspaceQuotas/index.js.map +1 -0
- package/dist/commonjs/classic/playwrightWorkspaces/index.d.ts +29 -0
- package/dist/commonjs/classic/playwrightWorkspaces/index.js +21 -0
- package/dist/commonjs/classic/playwrightWorkspaces/index.js.map +1 -0
- package/dist/commonjs/index.d.ts +12 -0
- package/dist/commonjs/index.js +20 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/logger.d.ts +2 -0
- package/dist/commonjs/logger.js +8 -0
- package/dist/commonjs/logger.js.map +1 -0
- package/dist/commonjs/models/index.d.ts +2 -0
- package/dist/commonjs/models/index.js +16 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/models.d.ts +391 -0
- package/dist/commonjs/models/models.js +391 -0
- package/dist/commonjs/models/models.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/playwrightManagementClient.d.ts +24 -0
- package/dist/commonjs/playwrightManagementClient.js +28 -0
- package/dist/commonjs/playwrightManagementClient.js.map +1 -0
- package/dist/commonjs/restorePollerHelpers.d.ts +21 -0
- package/dist/commonjs/restorePollerHelpers.js +100 -0
- package/dist/commonjs/restorePollerHelpers.js.map +1 -0
- package/dist/commonjs/static-helpers/pagingHelpers.d.ts +72 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js +140 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/commonjs/static-helpers/pollingHelpers.d.ts +30 -0
- package/dist/commonjs/static-helpers/pollingHelpers.js +79 -0
- package/dist/commonjs/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/commonjs/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/commonjs/static-helpers/urlTemplate.js +172 -0
- package/dist/commonjs/static-helpers/urlTemplate.js.map +1 -0
- package/dist/commonjs/tsdoc-metadata.json +11 -0
- package/dist/esm/api/index.d.ts +2 -0
- package/dist/esm/api/index.js +4 -0
- package/dist/esm/api/index.js.map +1 -0
- package/dist/esm/api/operations/index.d.ts +3 -0
- package/dist/esm/api/operations/index.js +4 -0
- package/dist/esm/api/operations/index.js.map +1 -0
- package/dist/esm/api/operations/operations.d.ts +10 -0
- package/dist/esm/api/operations/operations.js +29 -0
- package/dist/esm/api/operations/operations.js.map +1 -0
- package/dist/esm/api/operations/options.d.ts +5 -0
- package/dist/esm/api/operations/options.js +4 -0
- package/dist/esm/api/operations/options.js.map +1 -0
- package/dist/esm/api/playwrightManagementContext.d.ts +19 -0
- package/dist/esm/api/playwrightManagementContext.js +36 -0
- package/dist/esm/api/playwrightManagementContext.js.map +1 -0
- package/dist/esm/api/playwrightQuotas/index.d.ts +3 -0
- package/dist/esm/api/playwrightQuotas/index.js +4 -0
- package/dist/esm/api/playwrightQuotas/index.js.map +1 -0
- package/dist/esm/api/playwrightQuotas/operations.d.ts +14 -0
- package/dist/esm/api/playwrightQuotas/operations.js +61 -0
- package/dist/esm/api/playwrightQuotas/operations.js.map +1 -0
- package/dist/esm/api/playwrightQuotas/options.d.ts +8 -0
- package/dist/esm/api/playwrightQuotas/options.js +4 -0
- package/dist/esm/api/playwrightQuotas/options.js.map +1 -0
- package/dist/esm/api/playwrightWorkspaceQuotas/index.d.ts +3 -0
- package/dist/esm/api/playwrightWorkspaceQuotas/index.js +4 -0
- package/dist/esm/api/playwrightWorkspaceQuotas/index.js.map +1 -0
- package/dist/esm/api/playwrightWorkspaceQuotas/operations.d.ts +14 -0
- package/dist/esm/api/playwrightWorkspaceQuotas/operations.js +63 -0
- package/dist/esm/api/playwrightWorkspaceQuotas/operations.js.map +1 -0
- package/dist/esm/api/playwrightWorkspaceQuotas/options.d.ts +8 -0
- package/dist/esm/api/playwrightWorkspaceQuotas/options.js +4 -0
- package/dist/esm/api/playwrightWorkspaceQuotas/options.js.map +1 -0
- package/dist/esm/api/playwrightWorkspaces/index.d.ts +3 -0
- package/dist/esm/api/playwrightWorkspaces/index.js +4 -0
- package/dist/esm/api/playwrightWorkspaces/index.js.map +1 -0
- package/dist/esm/api/playwrightWorkspaces/operations.d.ts +40 -0
- package/dist/esm/api/playwrightWorkspaces/operations.js +212 -0
- package/dist/esm/api/playwrightWorkspaces/operations.js.map +1 -0
- package/dist/esm/api/playwrightWorkspaces/options.d.ts +27 -0
- package/dist/esm/api/playwrightWorkspaces/options.js +4 -0
- package/dist/esm/api/playwrightWorkspaces/options.js.map +1 -0
- package/dist/esm/classic/index.d.ts +5 -0
- package/dist/esm/classic/index.js +4 -0
- package/dist/esm/classic/index.js.map +1 -0
- package/dist/esm/classic/operations/index.d.ts +11 -0
- package/dist/esm/classic/operations/index.js +12 -0
- package/dist/esm/classic/operations/index.js.map +1 -0
- package/dist/esm/classic/playwrightQuotas/index.d.ts +13 -0
- package/dist/esm/classic/playwrightQuotas/index.js +13 -0
- package/dist/esm/classic/playwrightQuotas/index.js.map +1 -0
- package/dist/esm/classic/playwrightWorkspaceQuotas/index.d.ts +13 -0
- package/dist/esm/classic/playwrightWorkspaceQuotas/index.js +13 -0
- package/dist/esm/classic/playwrightWorkspaceQuotas/index.js.map +1 -0
- package/dist/esm/classic/playwrightWorkspaces/index.d.ts +29 -0
- package/dist/esm/classic/playwrightWorkspaces/index.js +18 -0
- package/dist/esm/classic/playwrightWorkspaces/index.js.map +1 -0
- package/dist/esm/index.d.ts +12 -0
- package/dist/esm/index.js +6 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/logger.d.ts +2 -0
- package/dist/esm/logger.js +5 -0
- package/dist/esm/logger.js.map +1 -0
- package/dist/esm/models/index.d.ts +2 -0
- package/dist/esm/models/index.js +4 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/models.d.ts +391 -0
- package/dist/esm/models/models.js +352 -0
- package/dist/esm/models/models.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/playwrightManagementClient.d.ts +24 -0
- package/dist/esm/playwrightManagementClient.js +24 -0
- package/dist/esm/playwrightManagementClient.js.map +1 -0
- package/dist/esm/restorePollerHelpers.d.ts +21 -0
- package/dist/esm/restorePollerHelpers.js +97 -0
- package/dist/esm/restorePollerHelpers.js.map +1 -0
- package/dist/esm/static-helpers/pagingHelpers.d.ts +72 -0
- package/dist/esm/static-helpers/pagingHelpers.js +137 -0
- package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/pollingHelpers.d.ts +30 -0
- package/dist/esm/static-helpers/pollingHelpers.js +76 -0
- package/dist/esm/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/esm/static-helpers/urlTemplate.js +169 -0
- package/dist/esm/static-helpers/urlTemplate.js.map +1 -0
- package/dist/react-native/api/index.d.ts +2 -0
- package/dist/react-native/api/index.js +4 -0
- package/dist/react-native/api/index.js.map +1 -0
- package/dist/react-native/api/operations/index.d.ts +3 -0
- package/dist/react-native/api/operations/index.js +4 -0
- package/dist/react-native/api/operations/index.js.map +1 -0
- package/dist/react-native/api/operations/operations.d.ts +10 -0
- package/dist/react-native/api/operations/operations.js +29 -0
- package/dist/react-native/api/operations/operations.js.map +1 -0
- package/dist/react-native/api/operations/options.d.ts +5 -0
- package/dist/react-native/api/operations/options.js +4 -0
- package/dist/react-native/api/operations/options.js.map +1 -0
- package/dist/react-native/api/playwrightManagementContext.d.ts +19 -0
- package/dist/react-native/api/playwrightManagementContext.js +36 -0
- package/dist/react-native/api/playwrightManagementContext.js.map +1 -0
- package/dist/react-native/api/playwrightQuotas/index.d.ts +3 -0
- package/dist/react-native/api/playwrightQuotas/index.js +4 -0
- package/dist/react-native/api/playwrightQuotas/index.js.map +1 -0
- package/dist/react-native/api/playwrightQuotas/operations.d.ts +14 -0
- package/dist/react-native/api/playwrightQuotas/operations.js +61 -0
- package/dist/react-native/api/playwrightQuotas/operations.js.map +1 -0
- package/dist/react-native/api/playwrightQuotas/options.d.ts +8 -0
- package/dist/react-native/api/playwrightQuotas/options.js +4 -0
- package/dist/react-native/api/playwrightQuotas/options.js.map +1 -0
- package/dist/react-native/api/playwrightWorkspaceQuotas/index.d.ts +3 -0
- package/dist/react-native/api/playwrightWorkspaceQuotas/index.js +4 -0
- package/dist/react-native/api/playwrightWorkspaceQuotas/index.js.map +1 -0
- package/dist/react-native/api/playwrightWorkspaceQuotas/operations.d.ts +14 -0
- package/dist/react-native/api/playwrightWorkspaceQuotas/operations.js +63 -0
- package/dist/react-native/api/playwrightWorkspaceQuotas/operations.js.map +1 -0
- package/dist/react-native/api/playwrightWorkspaceQuotas/options.d.ts +8 -0
- package/dist/react-native/api/playwrightWorkspaceQuotas/options.js +4 -0
- package/dist/react-native/api/playwrightWorkspaceQuotas/options.js.map +1 -0
- package/dist/react-native/api/playwrightWorkspaces/index.d.ts +3 -0
- package/dist/react-native/api/playwrightWorkspaces/index.js +4 -0
- package/dist/react-native/api/playwrightWorkspaces/index.js.map +1 -0
- package/dist/react-native/api/playwrightWorkspaces/operations.d.ts +40 -0
- package/dist/react-native/api/playwrightWorkspaces/operations.js +212 -0
- package/dist/react-native/api/playwrightWorkspaces/operations.js.map +1 -0
- package/dist/react-native/api/playwrightWorkspaces/options.d.ts +27 -0
- package/dist/react-native/api/playwrightWorkspaces/options.js +4 -0
- package/dist/react-native/api/playwrightWorkspaces/options.js.map +1 -0
- package/dist/react-native/classic/index.d.ts +5 -0
- package/dist/react-native/classic/index.js +4 -0
- package/dist/react-native/classic/index.js.map +1 -0
- package/dist/react-native/classic/operations/index.d.ts +11 -0
- package/dist/react-native/classic/operations/index.js +12 -0
- package/dist/react-native/classic/operations/index.js.map +1 -0
- package/dist/react-native/classic/playwrightQuotas/index.d.ts +13 -0
- package/dist/react-native/classic/playwrightQuotas/index.js +13 -0
- package/dist/react-native/classic/playwrightQuotas/index.js.map +1 -0
- package/dist/react-native/classic/playwrightWorkspaceQuotas/index.d.ts +13 -0
- package/dist/react-native/classic/playwrightWorkspaceQuotas/index.js +13 -0
- package/dist/react-native/classic/playwrightWorkspaceQuotas/index.js.map +1 -0
- package/dist/react-native/classic/playwrightWorkspaces/index.d.ts +29 -0
- package/dist/react-native/classic/playwrightWorkspaces/index.js +18 -0
- package/dist/react-native/classic/playwrightWorkspaces/index.js.map +1 -0
- package/dist/react-native/index.d.ts +12 -0
- package/dist/react-native/index.js +6 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/logger.d.ts +2 -0
- package/dist/react-native/logger.js +5 -0
- package/dist/react-native/logger.js.map +1 -0
- package/dist/react-native/models/index.d.ts +2 -0
- package/dist/react-native/models/index.js +4 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/models.d.ts +391 -0
- package/dist/react-native/models/models.js +352 -0
- package/dist/react-native/models/models.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/playwrightManagementClient.d.ts +24 -0
- package/dist/react-native/playwrightManagementClient.js +24 -0
- package/dist/react-native/playwrightManagementClient.js.map +1 -0
- package/dist/react-native/restorePollerHelpers.d.ts +21 -0
- package/dist/react-native/restorePollerHelpers.js +97 -0
- package/dist/react-native/restorePollerHelpers.js.map +1 -0
- package/dist/react-native/static-helpers/pagingHelpers.d.ts +72 -0
- package/dist/react-native/static-helpers/pagingHelpers.js +137 -0
- package/dist/react-native/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/react-native/static-helpers/pollingHelpers.d.ts +30 -0
- package/dist/react-native/static-helpers/pollingHelpers.js +76 -0
- package/dist/react-native/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/react-native/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/react-native/static-helpers/urlTemplate.js +169 -0
- package/dist/react-native/static-helpers/urlTemplate.js.map +1 -0
- package/package.json +252 -0
- package/review/arm-playwright-api-operations.api.md +19 -0
- package/review/arm-playwright-api-playwrightQuotas.api.md +26 -0
- package/review/arm-playwright-api-playwrightWorkspaceQuotas.api.md +26 -0
- package/review/arm-playwright-api-playwrightWorkspaces.api.md +65 -0
- package/review/arm-playwright-api.api.md +27 -0
- package/review/arm-playwright-models.api.md +232 -0
- package/review/arm-playwright.api.md +361 -0
package/CHANGELOG.md
ADDED
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
Copyright (c) Microsoft Corporation.
|
|
2
|
+
|
|
3
|
+
MIT License
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
# Azure PlaywrightManagement client library for JavaScript
|
|
2
|
+
|
|
3
|
+
This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure PlaywrightManagement client.
|
|
4
|
+
|
|
5
|
+
Playwright service provides access to Playwright workspace resource and it's operations.
|
|
6
|
+
|
|
7
|
+
Key links:
|
|
8
|
+
|
|
9
|
+
- [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/playwright/arm-playwright)
|
|
10
|
+
- [Package (NPM)](https://www.npmjs.com/package/@azure/arm-playwright)
|
|
11
|
+
- [API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-playwright?view=azure-node-preview)
|
|
12
|
+
- [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/playwright/arm-playwright/samples)
|
|
13
|
+
|
|
14
|
+
## Getting started
|
|
15
|
+
|
|
16
|
+
### Currently supported environments
|
|
17
|
+
|
|
18
|
+
- [LTS versions of Node.js](https://github.com/nodejs/release#release-schedule)
|
|
19
|
+
- Latest versions of Safari, Chrome, Edge and Firefox.
|
|
20
|
+
|
|
21
|
+
See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.
|
|
22
|
+
|
|
23
|
+
### Prerequisites
|
|
24
|
+
|
|
25
|
+
- An [Azure subscription][azure_sub].
|
|
26
|
+
|
|
27
|
+
### Install the `@azure/arm-playwright` package
|
|
28
|
+
|
|
29
|
+
Install the Azure PlaywrightManagement client library for JavaScript with `npm`:
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
npm install @azure/arm-playwright
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### Create and authenticate a `PlaywrightManagementClient`
|
|
36
|
+
|
|
37
|
+
To create a client object to access the Azure PlaywrightManagement API, you will need the `endpoint` of your Azure PlaywrightManagement resource and a `credential`. The Azure PlaywrightManagement client can use Azure Active Directory credentials to authenticate.
|
|
38
|
+
You can find the endpoint for your Azure PlaywrightManagement resource in the [Azure Portal][azure_portal].
|
|
39
|
+
|
|
40
|
+
You can authenticate with Azure Active Directory using a credential from the [@azure/identity][azure_identity] library or [an existing AAD Token](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token).
|
|
41
|
+
|
|
42
|
+
To use the [DefaultAzureCredential][defaultazurecredential] provider shown below, or other credential providers provided with the Azure SDK, please install the `@azure/identity` package:
|
|
43
|
+
|
|
44
|
+
```bash
|
|
45
|
+
npm install @azure/identity
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
You will also need to **register a new AAD application and grant access to Azure PlaywrightManagement** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
|
|
49
|
+
|
|
50
|
+
For more information about how to create an Azure AD Application check out [this guide](https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
|
|
51
|
+
|
|
52
|
+
Using Node.js and Node-like environments, you can use the `DefaultAzureCredential` class to authenticate the client.
|
|
53
|
+
|
|
54
|
+
```ts snippet:ReadmeSampleCreateClient_Node
|
|
55
|
+
import { PlaywrightManagementClient } from "@azure/arm-playwright";
|
|
56
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
57
|
+
|
|
58
|
+
const subscriptionId = "00000000-0000-0000-0000-000000000000";
|
|
59
|
+
const client = new PlaywrightManagementClient(new DefaultAzureCredential(), subscriptionId);
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
For browser environments, use the `InteractiveBrowserCredential` from the `@azure/identity` package to authenticate.
|
|
63
|
+
|
|
64
|
+
```ts snippet:ReadmeSampleCreateClient_Browser
|
|
65
|
+
import { InteractiveBrowserCredential } from "@azure/identity";
|
|
66
|
+
import { PlaywrightManagementClient } from "@azure/arm-playwright";
|
|
67
|
+
|
|
68
|
+
const credential = new InteractiveBrowserCredential({
|
|
69
|
+
tenantId: "<YOUR_TENANT_ID>",
|
|
70
|
+
clientId: "<YOUR_CLIENT_ID>",
|
|
71
|
+
});
|
|
72
|
+
const subscriptionId = "00000000-0000-0000-0000-000000000000";
|
|
73
|
+
const client = new PlaywrightManagementClient(credential, subscriptionId);
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
### JavaScript Bundle
|
|
78
|
+
To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).
|
|
79
|
+
|
|
80
|
+
## Key concepts
|
|
81
|
+
|
|
82
|
+
### PlaywrightManagementClient
|
|
83
|
+
|
|
84
|
+
`PlaywrightManagementClient` is the primary interface for developers using the Azure PlaywrightManagement client library. Explore the methods on this client object to understand the different features of the Azure PlaywrightManagement service that you can access.
|
|
85
|
+
|
|
86
|
+
## Troubleshooting
|
|
87
|
+
|
|
88
|
+
### Logging
|
|
89
|
+
|
|
90
|
+
Enabling logging may help uncover useful information about failures. In order to see a log of HTTP requests and responses, set the `AZURE_LOG_LEVEL` environment variable to `info`. Alternatively, logging can be enabled at runtime by calling `setLogLevel` in the `@azure/logger`:
|
|
91
|
+
|
|
92
|
+
```ts snippet:SetLogLevel
|
|
93
|
+
import { setLogLevel } from "@azure/logger";
|
|
94
|
+
|
|
95
|
+
setLogLevel("info");
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
For more detailed instructions on how to enable logs, you can look at the [@azure/logger package docs](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/logger).
|
|
99
|
+
|
|
100
|
+
## Next steps
|
|
101
|
+
|
|
102
|
+
Please take a look at the [samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/playwright/arm-playwright/samples) directory for detailed examples on how to use this library.
|
|
103
|
+
|
|
104
|
+
## Contributing
|
|
105
|
+
|
|
106
|
+
If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code.
|
|
107
|
+
|
|
108
|
+
## Related projects
|
|
109
|
+
|
|
110
|
+
- [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)
|
|
111
|
+
|
|
112
|
+
[azure_sub]: https://azure.microsoft.com/free/
|
|
113
|
+
[azure_portal]: https://portal.azure.com
|
|
114
|
+
[azure_identity]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity
|
|
115
|
+
[defaultazurecredential]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EACL,0BAA0B,GAG3B,MAAM,kCAAkC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport {\n createPlaywrightManagement,\n PlaywrightManagementContext,\n PlaywrightManagementClientOptionalParams,\n} from \"./playwrightManagementContext.js\";\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/operations/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { list } from \"./operations.js\";\nexport { OperationsListOptionalParams } from \"./options.js\";\n"]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PlaywrightManagementContext as Client } from "../index.js";
|
|
2
|
+
import { _OperationListResult, Operation } from "../../models/models.js";
|
|
3
|
+
import { OperationsListOptionalParams } from "./options.js";
|
|
4
|
+
import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
5
|
+
import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
6
|
+
export declare function _listSend(context: Client, options?: OperationsListOptionalParams): StreamableMethod;
|
|
7
|
+
export declare function _listDeserialize(result: PathUncheckedResponse): Promise<_OperationListResult>;
|
|
8
|
+
/** List the operations for the provider */
|
|
9
|
+
export declare function list(context: Client, options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
|
|
10
|
+
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
import { _operationListResultDeserializer, errorResponseDeserializer, } from "../../models/models.js";
|
|
4
|
+
import { expandUrlTemplate } from "../../static-helpers/urlTemplate.js";
|
|
5
|
+
import { buildPagedAsyncIterator, } from "../../static-helpers/pagingHelpers.js";
|
|
6
|
+
import { createRestError, operationOptionsToRequestParameters, } from "@azure-rest/core-client";
|
|
7
|
+
export function _listSend(context, options = { requestOptions: {} }) {
|
|
8
|
+
var _a, _b;
|
|
9
|
+
const path = expandUrlTemplate("/providers/Microsoft.LoadTestService/operations{?api%2Dversion}", {
|
|
10
|
+
"api%2Dversion": context.apiVersion,
|
|
11
|
+
}, {
|
|
12
|
+
allowReserved: (_a = options === null || options === void 0 ? void 0 : options.requestOptions) === null || _a === void 0 ? void 0 : _a.skipUrlEncoding,
|
|
13
|
+
});
|
|
14
|
+
return context.path(path).get(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { headers: Object.assign({ accept: "application/json" }, (_b = options.requestOptions) === null || _b === void 0 ? void 0 : _b.headers) }));
|
|
15
|
+
}
|
|
16
|
+
export async function _listDeserialize(result) {
|
|
17
|
+
const expectedStatuses = ["200"];
|
|
18
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
19
|
+
const error = createRestError(result);
|
|
20
|
+
error.details = errorResponseDeserializer(result.body);
|
|
21
|
+
throw error;
|
|
22
|
+
}
|
|
23
|
+
return _operationListResultDeserializer(result.body);
|
|
24
|
+
}
|
|
25
|
+
/** List the operations for the provider */
|
|
26
|
+
export function list(context, options = { requestOptions: {} }) {
|
|
27
|
+
return buildPagedAsyncIterator(context, () => _listSend(context, options), _listDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=operations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/operations/operations.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAEL,gCAAgC,EAEhC,yBAAyB,GAC1B,MAAM,wBAAwB,CAAC;AAEhC,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;AAEjC,MAAM,UAAU,SAAS,CACvB,OAAe,EACf,UAAwC,EAAE,cAAc,EAAE,EAAE,EAAE;;IAE9D,MAAM,IAAI,GAAG,iBAAiB,CAC5B,iEAAiE,EACjE;QACE,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,GAAG,iCACxB,mCAAmC,CAAC,OAAO,CAAC,KAC/C,OAAO,kBACL,MAAM,EAAE,kBAAkB,IACvB,MAAA,OAAO,CAAC,cAAc,0CAAE,OAAO,KAEpC,CAAC;AACL,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,gBAAgB,CACpC,MAA6B;IAE7B,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,gCAAgC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AACvD,CAAC;AAED,2CAA2C;AAC3C,MAAM,UAAU,IAAI,CAClB,OAAe,EACf,UAAwC,EAAE,cAAc,EAAE,EAAE,EAAE;IAE9D,OAAO,uBAAuB,CAC5B,OAAO,EACP,GAAG,EAAE,CAAC,SAAS,CAAC,OAAO,EAAE,OAAO,CAAC,EACjC,gBAAgB,EAChB,CAAC,KAAK,CAAC,EACP,EAAE,QAAQ,EAAE,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,CAChD,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { PlaywrightManagementContext as Client } from \"../index.js\";\nimport {\n _OperationListResult,\n _operationListResultDeserializer,\n Operation,\n errorResponseDeserializer,\n} from \"../../models/models.js\";\nimport { OperationsListOptionalParams } from \"./options.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\";\n\nexport function _listSend(\n context: Client,\n options: OperationsListOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/providers/Microsoft.LoadTestService/operations{?api%2Dversion}\",\n {\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 _listDeserialize(\n result: PathUncheckedResponse,\n): Promise<_OperationListResult> {\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 _operationListResultDeserializer(result.body);\n}\n\n/** List the operations for the provider */\nexport function list(\n context: Client,\n options: OperationsListOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<Operation> {\n return buildPagedAsyncIterator(\n context,\n () => _listSend(context, options),\n _listDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"options.js","sourceRoot":"","sources":["../../../../src/api/operations/options.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface OperationsListOptionalParams extends OperationOptions {}\n"]}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Client, ClientOptions } from "@azure-rest/core-client";
|
|
2
|
+
import { TokenCredential } from "@azure/core-auth";
|
|
3
|
+
/** Playwright service provides access to Playwright workspace resource and it's operations. */
|
|
4
|
+
export interface PlaywrightManagementContext extends Client {
|
|
5
|
+
/** The API version to use for this operation. */
|
|
6
|
+
/** Known values of {@link KnownVersions} that the service accepts. */
|
|
7
|
+
apiVersion: string;
|
|
8
|
+
/** The ID of the target subscription. The value must be an UUID. */
|
|
9
|
+
subscriptionId: string;
|
|
10
|
+
}
|
|
11
|
+
/** Optional parameters for the client. */
|
|
12
|
+
export interface PlaywrightManagementClientOptionalParams extends ClientOptions {
|
|
13
|
+
/** The API version to use for this operation. */
|
|
14
|
+
/** Known values of {@link KnownVersions} that the service accepts. */
|
|
15
|
+
apiVersion?: string;
|
|
16
|
+
}
|
|
17
|
+
/** Playwright service provides access to Playwright workspace resource and it's operations. */
|
|
18
|
+
export declare function createPlaywrightManagement(credential: TokenCredential, subscriptionId: string, options?: PlaywrightManagementClientOptionalParams): PlaywrightManagementContext;
|
|
19
|
+
//# sourceMappingURL=playwrightManagementContext.d.ts.map
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
import { __rest } from "tslib";
|
|
4
|
+
import { logger } from "../logger.js";
|
|
5
|
+
import { getClient } from "@azure-rest/core-client";
|
|
6
|
+
/** Playwright service provides access to Playwright workspace resource and it's operations. */
|
|
7
|
+
export function createPlaywrightManagement(credential, subscriptionId, options = {}) {
|
|
8
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
9
|
+
const endpointUrl = (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUrl) !== null && _b !== void 0 ? _b : "https://management.azure.com";
|
|
10
|
+
const prefixFromOptions = (_c = options === null || options === void 0 ? void 0 : options.userAgentOptions) === null || _c === void 0 ? void 0 : _c.userAgentPrefix;
|
|
11
|
+
const userAgentInfo = `azsdk-js-arm-playwright/1.0.0-beta.1`;
|
|
12
|
+
const userAgentPrefix = prefixFromOptions
|
|
13
|
+
? `${prefixFromOptions} azsdk-js-api ${userAgentInfo}`
|
|
14
|
+
: `azsdk-js-api ${userAgentInfo}`;
|
|
15
|
+
const _j = Object.assign(Object.assign({}, options), { userAgentOptions: { userAgentPrefix }, loggingOptions: { logger: (_e = (_d = options.loggingOptions) === null || _d === void 0 ? void 0 : _d.logger) !== null && _e !== void 0 ? _e : logger.info }, credentials: {
|
|
16
|
+
scopes: (_g = (_f = options.credentials) === null || _f === void 0 ? void 0 : _f.scopes) !== null && _g !== void 0 ? _g : [`${endpointUrl}/.default`],
|
|
17
|
+
} }), { apiVersion: _ } = _j, updatedOptions = __rest(_j, ["apiVersion"]);
|
|
18
|
+
const clientContext = getClient(endpointUrl, credential, updatedOptions);
|
|
19
|
+
clientContext.pipeline.removePolicy({ name: "ApiVersionPolicy" });
|
|
20
|
+
const apiVersion = (_h = options.apiVersion) !== null && _h !== void 0 ? _h : "2025-07-01-preview";
|
|
21
|
+
clientContext.pipeline.addPolicy({
|
|
22
|
+
name: "ClientApiVersionPolicy",
|
|
23
|
+
sendRequest: (req, next) => {
|
|
24
|
+
// Use the apiVersion defined in request url directly
|
|
25
|
+
// Append one if there is no apiVersion and we have one at client options
|
|
26
|
+
const url = new URL(req.url);
|
|
27
|
+
if (!url.searchParams.get("api-version")) {
|
|
28
|
+
req.url = `${req.url}${Array.from(url.searchParams.keys()).length > 0 ? "&" : "?"}api-version=${apiVersion}`;
|
|
29
|
+
}
|
|
30
|
+
return next(req);
|
|
31
|
+
},
|
|
32
|
+
});
|
|
33
|
+
return Object.assign(Object.assign({}, clientContext), { apiVersion,
|
|
34
|
+
subscriptionId });
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=playwrightManagementContext.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"playwrightManagementContext.js","sourceRoot":"","sources":["../../../src/api/playwrightManagementContext.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;;AAElC,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAEtC,OAAO,EAAyB,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAmB3E,+FAA+F;AAC/F,MAAM,UAAU,0BAA0B,CACxC,UAA2B,EAC3B,cAAsB,EACtB,UAAoD,EAAE;;IAEtD,MAAM,WAAW,GAAG,MAAA,MAAA,OAAO,CAAC,QAAQ,mCAAI,OAAO,CAAC,OAAO,mCAAI,8BAA8B,CAAC;IAC1F,MAAM,iBAAiB,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,gBAAgB,0CAAE,eAAe,CAAC;IACrE,MAAM,aAAa,GAAG,sCAAsC,CAAC;IAC7D,MAAM,eAAe,GAAG,iBAAiB;QACvC,CAAC,CAAC,GAAG,iBAAiB,iBAAiB,aAAa,EAAE;QACtD,CAAC,CAAC,gBAAgB,aAAa,EAAE,CAAC;IACpC,MAAM,qCACD,OAAO,KACV,gBAAgB,EAAE,EAAE,eAAe,EAAE,EACrC,cAAc,EAAE,EAAE,MAAM,EAAE,MAAA,MAAA,OAAO,CAAC,cAAc,0CAAE,MAAM,mCAAI,MAAM,CAAC,IAAI,EAAE,EACzE,WAAW,EAAE;YACX,MAAM,EAAE,MAAA,MAAA,OAAO,CAAC,WAAW,0CAAE,MAAM,mCAAI,CAAC,GAAG,WAAW,WAAW,CAAC;SACnE,GACF,EAPK,EAAE,UAAU,EAAE,CAAC,OAOpB,EAPyB,cAAc,cAAlC,cAAoC,CAOzC,CAAC;IACF,MAAM,aAAa,GAAG,SAAS,CAAC,WAAW,EAAE,UAAU,EAAE,cAAc,CAAC,CAAC;IACzE,aAAa,CAAC,QAAQ,CAAC,YAAY,CAAC,EAAE,IAAI,EAAE,kBAAkB,EAAE,CAAC,CAAC;IAClE,MAAM,UAAU,GAAG,MAAA,OAAO,CAAC,UAAU,mCAAI,oBAAoB,CAAC;IAC9D,aAAa,CAAC,QAAQ,CAAC,SAAS,CAAC;QAC/B,IAAI,EAAE,wBAAwB;QAC9B,WAAW,EAAE,CAAC,GAAG,EAAE,IAAI,EAAE,EAAE;YACzB,qDAAqD;YACrD,yEAAyE;YACzE,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;YAC7B,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,aAAa,CAAC,EAAE,CAAC;gBACzC,GAAG,CAAC,GAAG,GAAG,GAAG,GAAG,CAAC,GAAG,GAClB,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,IAAI,EAAE,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GACzD,eAAe,UAAU,EAAE,CAAC;YAC9B,CAAC;YAED,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC;QACnB,CAAC;KACF,CAAC,CAAC;IACH,OAAO,gCACF,aAAa,KAChB,UAAU;QACV,cAAc,GACgB,CAAC;AACnC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { logger } from \"../logger.js\";\nimport { KnownVersions } from \"../models/models.js\";\nimport { Client, ClientOptions, getClient } from \"@azure-rest/core-client\";\nimport { TokenCredential } from \"@azure/core-auth\";\n\n/** Playwright service provides access to Playwright workspace resource and it's operations. */\nexport interface PlaywrightManagementContext extends Client {\n /** The API version to use for this operation. */\n /** Known values of {@link KnownVersions} that the service accepts. */\n apiVersion: string;\n /** The ID of the target subscription. The value must be an UUID. */\n subscriptionId: string;\n}\n\n/** Optional parameters for the client. */\nexport interface PlaywrightManagementClientOptionalParams extends ClientOptions {\n /** The API version to use for this operation. */\n /** Known values of {@link KnownVersions} that the service accepts. */\n apiVersion?: string;\n}\n\n/** Playwright service provides access to Playwright workspace resource and it's operations. */\nexport function createPlaywrightManagement(\n credential: TokenCredential,\n subscriptionId: string,\n options: PlaywrightManagementClientOptionalParams = {},\n): PlaywrightManagementContext {\n const endpointUrl = options.endpoint ?? options.baseUrl ?? \"https://management.azure.com\";\n const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;\n const userAgentInfo = `azsdk-js-arm-playwright/1.0.0-beta.1`;\n const userAgentPrefix = prefixFromOptions\n ? `${prefixFromOptions} azsdk-js-api ${userAgentInfo}`\n : `azsdk-js-api ${userAgentInfo}`;\n const { apiVersion: _, ...updatedOptions } = {\n ...options,\n userAgentOptions: { userAgentPrefix },\n loggingOptions: { logger: options.loggingOptions?.logger ?? logger.info },\n credentials: {\n scopes: options.credentials?.scopes ?? [`${endpointUrl}/.default`],\n },\n };\n const clientContext = getClient(endpointUrl, credential, updatedOptions);\n clientContext.pipeline.removePolicy({ name: \"ApiVersionPolicy\" });\n const apiVersion = options.apiVersion ?? \"2025-07-01-preview\";\n clientContext.pipeline.addPolicy({\n name: \"ClientApiVersionPolicy\",\n sendRequest: (req, next) => {\n // Use the apiVersion defined in request url directly\n // Append one if there is no apiVersion and we have one at client options\n const url = new URL(req.url);\n if (!url.searchParams.get(\"api-version\")) {\n req.url = `${req.url}${\n Array.from(url.searchParams.keys()).length > 0 ? \"&\" : \"?\"\n }api-version=${apiVersion}`;\n }\n\n return next(req);\n },\n });\n return {\n ...clientContext,\n apiVersion,\n subscriptionId,\n } as PlaywrightManagementContext;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/playwrightQuotas/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,kBAAkB,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { listBySubscription, get } from \"./operations.js\";\nexport {\n PlaywrightQuotasListBySubscriptionOptionalParams,\n PlaywrightQuotasGetOptionalParams,\n} from \"./options.js\";\n"]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { PlaywrightManagementContext as Client } from "../index.js";
|
|
2
|
+
import { PlaywrightQuota, QuotaName, _PlaywrightQuotaListResult } from "../../models/models.js";
|
|
3
|
+
import { PlaywrightQuotasListBySubscriptionOptionalParams, PlaywrightQuotasGetOptionalParams } from "./options.js";
|
|
4
|
+
import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
5
|
+
import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
6
|
+
export declare function _listBySubscriptionSend(context: Client, location: string, options?: PlaywrightQuotasListBySubscriptionOptionalParams): StreamableMethod;
|
|
7
|
+
export declare function _listBySubscriptionDeserialize(result: PathUncheckedResponse): Promise<_PlaywrightQuotaListResult>;
|
|
8
|
+
/** List Playwright quota resources for a given subscription Id. */
|
|
9
|
+
export declare function listBySubscription(context: Client, location: string, options?: PlaywrightQuotasListBySubscriptionOptionalParams): PagedAsyncIterableIterator<PlaywrightQuota>;
|
|
10
|
+
export declare function _getSend(context: Client, location: string, playwrightQuotaName: QuotaName, options?: PlaywrightQuotasGetOptionalParams): StreamableMethod;
|
|
11
|
+
export declare function _getDeserialize(result: PathUncheckedResponse): Promise<PlaywrightQuota>;
|
|
12
|
+
/** Get subscription-level location-based Playwright quota resource by name. */
|
|
13
|
+
export declare function get(context: Client, location: string, playwrightQuotaName: QuotaName, options?: PlaywrightQuotasGetOptionalParams): Promise<PlaywrightQuota>;
|
|
14
|
+
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
import { errorResponseDeserializer, playwrightQuotaDeserializer, _playwrightQuotaListResultDeserializer, } from "../../models/models.js";
|
|
4
|
+
import { expandUrlTemplate } from "../../static-helpers/urlTemplate.js";
|
|
5
|
+
import { buildPagedAsyncIterator, } from "../../static-helpers/pagingHelpers.js";
|
|
6
|
+
import { createRestError, operationOptionsToRequestParameters, } from "@azure-rest/core-client";
|
|
7
|
+
export function _listBySubscriptionSend(context, location, options = {
|
|
8
|
+
requestOptions: {},
|
|
9
|
+
}) {
|
|
10
|
+
var _a, _b;
|
|
11
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/providers/Microsoft.LoadTestService/locations/{location}/playwrightQuotas{?api%2Dversion}", {
|
|
12
|
+
subscriptionId: context.subscriptionId,
|
|
13
|
+
location: location,
|
|
14
|
+
"api%2Dversion": context.apiVersion,
|
|
15
|
+
}, {
|
|
16
|
+
allowReserved: (_a = options === null || options === void 0 ? void 0 : options.requestOptions) === null || _a === void 0 ? void 0 : _a.skipUrlEncoding,
|
|
17
|
+
});
|
|
18
|
+
return context.path(path).get(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { headers: Object.assign({ accept: "application/json" }, (_b = options.requestOptions) === null || _b === void 0 ? void 0 : _b.headers) }));
|
|
19
|
+
}
|
|
20
|
+
export async function _listBySubscriptionDeserialize(result) {
|
|
21
|
+
const expectedStatuses = ["200"];
|
|
22
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
23
|
+
const error = createRestError(result);
|
|
24
|
+
error.details = errorResponseDeserializer(result.body);
|
|
25
|
+
throw error;
|
|
26
|
+
}
|
|
27
|
+
return _playwrightQuotaListResultDeserializer(result.body);
|
|
28
|
+
}
|
|
29
|
+
/** List Playwright quota resources for a given subscription Id. */
|
|
30
|
+
export function listBySubscription(context, location, options = {
|
|
31
|
+
requestOptions: {},
|
|
32
|
+
}) {
|
|
33
|
+
return buildPagedAsyncIterator(context, () => _listBySubscriptionSend(context, location, options), _listBySubscriptionDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
|
|
34
|
+
}
|
|
35
|
+
export function _getSend(context, location, playwrightQuotaName, options = { requestOptions: {} }) {
|
|
36
|
+
var _a, _b;
|
|
37
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/providers/Microsoft.LoadTestService/locations/{location}/playwrightQuotas/{playwrightQuotaName}{?api%2Dversion}", {
|
|
38
|
+
subscriptionId: context.subscriptionId,
|
|
39
|
+
location: location,
|
|
40
|
+
playwrightQuotaName: playwrightQuotaName,
|
|
41
|
+
"api%2Dversion": context.apiVersion,
|
|
42
|
+
}, {
|
|
43
|
+
allowReserved: (_a = options === null || options === void 0 ? void 0 : options.requestOptions) === null || _a === void 0 ? void 0 : _a.skipUrlEncoding,
|
|
44
|
+
});
|
|
45
|
+
return context.path(path).get(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { headers: Object.assign({ accept: "application/json" }, (_b = options.requestOptions) === null || _b === void 0 ? void 0 : _b.headers) }));
|
|
46
|
+
}
|
|
47
|
+
export async function _getDeserialize(result) {
|
|
48
|
+
const expectedStatuses = ["200"];
|
|
49
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
50
|
+
const error = createRestError(result);
|
|
51
|
+
error.details = errorResponseDeserializer(result.body);
|
|
52
|
+
throw error;
|
|
53
|
+
}
|
|
54
|
+
return playwrightQuotaDeserializer(result.body);
|
|
55
|
+
}
|
|
56
|
+
/** Get subscription-level location-based Playwright quota resource by name. */
|
|
57
|
+
export async function get(context, location, playwrightQuotaName, options = { requestOptions: {} }) {
|
|
58
|
+
const result = await _getSend(context, location, playwrightQuotaName, options);
|
|
59
|
+
return _getDeserialize(result);
|
|
60
|
+
}
|
|
61
|
+
//# sourceMappingURL=operations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/playwrightQuotas/operations.ts"],"names":[],"mappings":"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","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { PlaywrightManagementContext as Client } from \"../index.js\";\nimport {\n errorResponseDeserializer,\n PlaywrightQuota,\n playwrightQuotaDeserializer,\n QuotaName,\n _PlaywrightQuotaListResult,\n _playwrightQuotaListResultDeserializer,\n} from \"../../models/models.js\";\nimport {\n PlaywrightQuotasListBySubscriptionOptionalParams,\n PlaywrightQuotasGetOptionalParams,\n} from \"./options.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\";\n\nexport function _listBySubscriptionSend(\n context: Client,\n location: string,\n options: PlaywrightQuotasListBySubscriptionOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.LoadTestService/locations/{location}/playwrightQuotas{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n location: location,\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<_PlaywrightQuotaListResult> {\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 _playwrightQuotaListResultDeserializer(result.body);\n}\n\n/** List Playwright quota resources for a given subscription Id. */\nexport function listBySubscription(\n context: Client,\n location: string,\n options: PlaywrightQuotasListBySubscriptionOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<PlaywrightQuota> {\n return buildPagedAsyncIterator(\n context,\n () => _listBySubscriptionSend(context, location, options),\n _listBySubscriptionDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n\nexport function _getSend(\n context: Client,\n location: string,\n playwrightQuotaName: QuotaName,\n options: PlaywrightQuotasGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.LoadTestService/locations/{location}/playwrightQuotas/{playwrightQuotaName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n location: location,\n playwrightQuotaName: playwrightQuotaName,\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<PlaywrightQuota> {\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 playwrightQuotaDeserializer(result.body);\n}\n\n/** Get subscription-level location-based Playwright quota resource by name. */\nexport async function get(\n context: Client,\n location: string,\n playwrightQuotaName: QuotaName,\n options: PlaywrightQuotasGetOptionalParams = { requestOptions: {} },\n): Promise<PlaywrightQuota> {\n const result = await _getSend(context, location, playwrightQuotaName, options);\n return _getDeserialize(result);\n}\n"]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { OperationOptions } from "@azure-rest/core-client";
|
|
2
|
+
/** Optional parameters. */
|
|
3
|
+
export interface PlaywrightQuotasListBySubscriptionOptionalParams extends OperationOptions {
|
|
4
|
+
}
|
|
5
|
+
/** Optional parameters. */
|
|
6
|
+
export interface PlaywrightQuotasGetOptionalParams extends OperationOptions {
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=options.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"options.js","sourceRoot":"","sources":["../../../../src/api/playwrightQuotas/options.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface PlaywrightQuotasListBySubscriptionOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface PlaywrightQuotasGetOptionalParams extends OperationOptions {}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/playwrightWorkspaceQuotas/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,yBAAyB,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { listByPlaywrightWorkspace, get } from \"./operations.js\";\nexport {\n PlaywrightWorkspaceQuotasListByPlaywrightWorkspaceOptionalParams,\n PlaywrightWorkspaceQuotasGetOptionalParams,\n} from \"./options.js\";\n"]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { PlaywrightManagementContext as Client } from "../index.js";
|
|
2
|
+
import { QuotaName, PlaywrightWorkspaceQuota, _PlaywrightWorkspaceQuotaListResult } from "../../models/models.js";
|
|
3
|
+
import { PlaywrightWorkspaceQuotasListByPlaywrightWorkspaceOptionalParams, PlaywrightWorkspaceQuotasGetOptionalParams } from "./options.js";
|
|
4
|
+
import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
5
|
+
import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
6
|
+
export declare function _listByPlaywrightWorkspaceSend(context: Client, resourceGroupName: string, playwrightWorkspaceName: string, options?: PlaywrightWorkspaceQuotasListByPlaywrightWorkspaceOptionalParams): StreamableMethod;
|
|
7
|
+
export declare function _listByPlaywrightWorkspaceDeserialize(result: PathUncheckedResponse): Promise<_PlaywrightWorkspaceQuotaListResult>;
|
|
8
|
+
/** List quota resources for a given Playwright workspace resource. */
|
|
9
|
+
export declare function listByPlaywrightWorkspace(context: Client, resourceGroupName: string, playwrightWorkspaceName: string, options?: PlaywrightWorkspaceQuotasListByPlaywrightWorkspaceOptionalParams): PagedAsyncIterableIterator<PlaywrightWorkspaceQuota>;
|
|
10
|
+
export declare function _getSend(context: Client, resourceGroupName: string, playwrightWorkspaceName: string, quotaName: QuotaName, options?: PlaywrightWorkspaceQuotasGetOptionalParams): StreamableMethod;
|
|
11
|
+
export declare function _getDeserialize(result: PathUncheckedResponse): Promise<PlaywrightWorkspaceQuota>;
|
|
12
|
+
/** Get Playwright workspace quota resource by name. */
|
|
13
|
+
export declare function get(context: Client, resourceGroupName: string, playwrightWorkspaceName: string, quotaName: QuotaName, options?: PlaywrightWorkspaceQuotasGetOptionalParams): Promise<PlaywrightWorkspaceQuota>;
|
|
14
|
+
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
import { errorResponseDeserializer, playwrightWorkspaceQuotaDeserializer, _playwrightWorkspaceQuotaListResultDeserializer, } from "../../models/models.js";
|
|
4
|
+
import { expandUrlTemplate } from "../../static-helpers/urlTemplate.js";
|
|
5
|
+
import { buildPagedAsyncIterator, } from "../../static-helpers/pagingHelpers.js";
|
|
6
|
+
import { createRestError, operationOptionsToRequestParameters, } from "@azure-rest/core-client";
|
|
7
|
+
export function _listByPlaywrightWorkspaceSend(context, resourceGroupName, playwrightWorkspaceName, options = {
|
|
8
|
+
requestOptions: {},
|
|
9
|
+
}) {
|
|
10
|
+
var _a, _b;
|
|
11
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LoadTestService/playwrightWorkspaces/{playwrightWorkspaceName}/quotas{?api%2Dversion}", {
|
|
12
|
+
subscriptionId: context.subscriptionId,
|
|
13
|
+
resourceGroupName: resourceGroupName,
|
|
14
|
+
playwrightWorkspaceName: playwrightWorkspaceName,
|
|
15
|
+
"api%2Dversion": context.apiVersion,
|
|
16
|
+
}, {
|
|
17
|
+
allowReserved: (_a = options === null || options === void 0 ? void 0 : options.requestOptions) === null || _a === void 0 ? void 0 : _a.skipUrlEncoding,
|
|
18
|
+
});
|
|
19
|
+
return context.path(path).get(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { headers: Object.assign({ accept: "application/json" }, (_b = options.requestOptions) === null || _b === void 0 ? void 0 : _b.headers) }));
|
|
20
|
+
}
|
|
21
|
+
export async function _listByPlaywrightWorkspaceDeserialize(result) {
|
|
22
|
+
const expectedStatuses = ["200"];
|
|
23
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
24
|
+
const error = createRestError(result);
|
|
25
|
+
error.details = errorResponseDeserializer(result.body);
|
|
26
|
+
throw error;
|
|
27
|
+
}
|
|
28
|
+
return _playwrightWorkspaceQuotaListResultDeserializer(result.body);
|
|
29
|
+
}
|
|
30
|
+
/** List quota resources for a given Playwright workspace resource. */
|
|
31
|
+
export function listByPlaywrightWorkspace(context, resourceGroupName, playwrightWorkspaceName, options = {
|
|
32
|
+
requestOptions: {},
|
|
33
|
+
}) {
|
|
34
|
+
return buildPagedAsyncIterator(context, () => _listByPlaywrightWorkspaceSend(context, resourceGroupName, playwrightWorkspaceName, options), _listByPlaywrightWorkspaceDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
|
|
35
|
+
}
|
|
36
|
+
export function _getSend(context, resourceGroupName, playwrightWorkspaceName, quotaName, options = { requestOptions: {} }) {
|
|
37
|
+
var _a, _b;
|
|
38
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LoadTestService/playwrightWorkspaces/{playwrightWorkspaceName}/quotas/{quotaName}{?api%2Dversion}", {
|
|
39
|
+
subscriptionId: context.subscriptionId,
|
|
40
|
+
resourceGroupName: resourceGroupName,
|
|
41
|
+
playwrightWorkspaceName: playwrightWorkspaceName,
|
|
42
|
+
quotaName: quotaName,
|
|
43
|
+
"api%2Dversion": context.apiVersion,
|
|
44
|
+
}, {
|
|
45
|
+
allowReserved: (_a = options === null || options === void 0 ? void 0 : options.requestOptions) === null || _a === void 0 ? void 0 : _a.skipUrlEncoding,
|
|
46
|
+
});
|
|
47
|
+
return context.path(path).get(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { headers: Object.assign({ accept: "application/json" }, (_b = options.requestOptions) === null || _b === void 0 ? void 0 : _b.headers) }));
|
|
48
|
+
}
|
|
49
|
+
export async function _getDeserialize(result) {
|
|
50
|
+
const expectedStatuses = ["200"];
|
|
51
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
52
|
+
const error = createRestError(result);
|
|
53
|
+
error.details = errorResponseDeserializer(result.body);
|
|
54
|
+
throw error;
|
|
55
|
+
}
|
|
56
|
+
return playwrightWorkspaceQuotaDeserializer(result.body);
|
|
57
|
+
}
|
|
58
|
+
/** Get Playwright workspace quota resource by name. */
|
|
59
|
+
export async function get(context, resourceGroupName, playwrightWorkspaceName, quotaName, options = { requestOptions: {} }) {
|
|
60
|
+
const result = await _getSend(context, resourceGroupName, playwrightWorkspaceName, quotaName, options);
|
|
61
|
+
return _getDeserialize(result);
|
|
62
|
+
}
|
|
63
|
+
//# sourceMappingURL=operations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/playwrightWorkspaceQuotas/operations.ts"],"names":[],"mappings":"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","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { PlaywrightManagementContext as Client } from \"../index.js\";\nimport {\n errorResponseDeserializer,\n QuotaName,\n PlaywrightWorkspaceQuota,\n playwrightWorkspaceQuotaDeserializer,\n _PlaywrightWorkspaceQuotaListResult,\n _playwrightWorkspaceQuotaListResultDeserializer,\n} from \"../../models/models.js\";\nimport {\n PlaywrightWorkspaceQuotasListByPlaywrightWorkspaceOptionalParams,\n PlaywrightWorkspaceQuotasGetOptionalParams,\n} from \"./options.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\";\n\nexport function _listByPlaywrightWorkspaceSend(\n context: Client,\n resourceGroupName: string,\n playwrightWorkspaceName: string,\n options: PlaywrightWorkspaceQuotasListByPlaywrightWorkspaceOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LoadTestService/playwrightWorkspaces/{playwrightWorkspaceName}/quotas{?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 _listByPlaywrightWorkspaceDeserialize(\n result: PathUncheckedResponse,\n): Promise<_PlaywrightWorkspaceQuotaListResult> {\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 _playwrightWorkspaceQuotaListResultDeserializer(result.body);\n}\n\n/** List quota resources for a given Playwright workspace resource. */\nexport function listByPlaywrightWorkspace(\n context: Client,\n resourceGroupName: string,\n playwrightWorkspaceName: string,\n options: PlaywrightWorkspaceQuotasListByPlaywrightWorkspaceOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<PlaywrightWorkspaceQuota> {\n return buildPagedAsyncIterator(\n context,\n () =>\n _listByPlaywrightWorkspaceSend(context, resourceGroupName, playwrightWorkspaceName, options),\n _listByPlaywrightWorkspaceDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n\nexport function _getSend(\n context: Client,\n resourceGroupName: string,\n playwrightWorkspaceName: string,\n quotaName: QuotaName,\n options: PlaywrightWorkspaceQuotasGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LoadTestService/playwrightWorkspaces/{playwrightWorkspaceName}/quotas/{quotaName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n playwrightWorkspaceName: playwrightWorkspaceName,\n quotaName: quotaName,\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(\n result: PathUncheckedResponse,\n): Promise<PlaywrightWorkspaceQuota> {\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 playwrightWorkspaceQuotaDeserializer(result.body);\n}\n\n/** Get Playwright workspace quota resource by name. */\nexport async function get(\n context: Client,\n resourceGroupName: string,\n playwrightWorkspaceName: string,\n quotaName: QuotaName,\n options: PlaywrightWorkspaceQuotasGetOptionalParams = { requestOptions: {} },\n): Promise<PlaywrightWorkspaceQuota> {\n const result = await _getSend(\n context,\n resourceGroupName,\n playwrightWorkspaceName,\n quotaName,\n options,\n );\n return _getDeserialize(result);\n}\n"]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { OperationOptions } from "@azure-rest/core-client";
|
|
2
|
+
/** Optional parameters. */
|
|
3
|
+
export interface PlaywrightWorkspaceQuotasListByPlaywrightWorkspaceOptionalParams extends OperationOptions {
|
|
4
|
+
}
|
|
5
|
+
/** Optional parameters. */
|
|
6
|
+
export interface PlaywrightWorkspaceQuotasGetOptionalParams extends OperationOptions {
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=options.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"options.js","sourceRoot":"","sources":["../../../../src/api/playwrightWorkspaceQuotas/options.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface PlaywrightWorkspaceQuotasListByPlaywrightWorkspaceOptionalParams\n extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface PlaywrightWorkspaceQuotasGetOptionalParams extends OperationOptions {}\n"]}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { checkNameAvailability, listBySubscription, listByResourceGroup, $delete, update, createOrUpdate, get, } from "./operations.js";
|
|
2
|
+
export { PlaywrightWorkspacesCheckNameAvailabilityOptionalParams, PlaywrightWorkspacesListBySubscriptionOptionalParams, PlaywrightWorkspacesListByResourceGroupOptionalParams, PlaywrightWorkspacesDeleteOptionalParams, PlaywrightWorkspacesUpdateOptionalParams, PlaywrightWorkspacesCreateOrUpdateOptionalParams, PlaywrightWorkspacesGetOptionalParams, } from "./options.js";
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/playwrightWorkspaces/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EACL,qBAAqB,EACrB,kBAAkB,EAClB,mBAAmB,EACnB,OAAO,EACP,MAAM,EACN,cAAc,EACd,GAAG,GACJ,MAAM,iBAAiB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport {\n checkNameAvailability,\n listBySubscription,\n listByResourceGroup,\n $delete,\n update,\n createOrUpdate,\n get,\n} from \"./operations.js\";\nexport {\n PlaywrightWorkspacesCheckNameAvailabilityOptionalParams,\n PlaywrightWorkspacesListBySubscriptionOptionalParams,\n PlaywrightWorkspacesListByResourceGroupOptionalParams,\n PlaywrightWorkspacesDeleteOptionalParams,\n PlaywrightWorkspacesUpdateOptionalParams,\n PlaywrightWorkspacesCreateOrUpdateOptionalParams,\n PlaywrightWorkspacesGetOptionalParams,\n} from \"./options.js\";\n"]}
|