@azure/arm-playwrighttesting 1.0.0-beta.2 → 1.0.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 +8 -25
- package/LICENSE +4 -4
- package/README.md +41 -31
- package/dist/browser/api/accountQuotas/index.d.ts +13 -0
- package/dist/browser/api/accountQuotas/index.d.ts.map +1 -0
- package/dist/browser/api/accountQuotas/index.js +39 -0
- package/dist/browser/api/accountQuotas/index.js.map +1 -0
- package/dist/browser/api/accounts/index.d.ts +34 -0
- package/dist/browser/api/accounts/index.d.ts.map +1 -0
- package/dist/browser/api/accounts/index.js +141 -0
- package/dist/browser/api/accounts/index.js.map +1 -0
- package/dist/browser/api/azurePlaywrightServiceContext.d.ts +14 -0
- package/dist/browser/api/azurePlaywrightServiceContext.d.ts.map +1 -0
- package/dist/browser/api/azurePlaywrightServiceContext.js +38 -0
- package/dist/browser/api/azurePlaywrightServiceContext.js.map +1 -0
- package/dist/browser/api/index.d.ts +7 -0
- package/dist/browser/api/index.d.ts.map +1 -0
- package/dist/browser/api/index.js +8 -0
- package/dist/browser/api/index.js.map +1 -0
- package/dist/browser/api/operations/index.d.ts +9 -0
- package/dist/browser/api/operations/index.d.ts.map +1 -0
- package/dist/browser/api/operations/index.js +22 -0
- package/dist/browser/api/operations/index.js.map +1 -0
- package/dist/browser/api/options.d.ts +42 -0
- package/dist/browser/api/options.d.ts.map +1 -0
- package/dist/browser/api/options.js +4 -0
- package/dist/browser/api/options.js.map +1 -0
- package/dist/browser/api/quotas/index.d.ts +13 -0
- package/dist/browser/api/quotas/index.d.ts.map +1 -0
- package/dist/browser/api/quotas/index.js +39 -0
- package/dist/browser/api/quotas/index.js.map +1 -0
- package/dist/browser/azurePlaywrightServiceClient.d.ts +24 -0
- package/dist/browser/azurePlaywrightServiceClient.d.ts.map +1 -0
- package/dist/browser/azurePlaywrightServiceClient.js +37 -0
- package/dist/browser/azurePlaywrightServiceClient.js.map +1 -0
- package/dist/browser/classic/accountQuotas/index.d.ts +17 -0
- package/dist/browser/classic/accountQuotas/index.d.ts.map +1 -0
- package/dist/browser/classic/accountQuotas/index.js +15 -0
- package/dist/browser/classic/accountQuotas/index.js.map +1 -0
- package/dist/browser/classic/accounts/index.d.ts +33 -0
- package/dist/browser/classic/accounts/index.d.ts.map +1 -0
- package/dist/browser/classic/accounts/index.js +20 -0
- package/dist/browser/classic/accounts/index.js.map +1 -0
- package/dist/browser/classic/index.d.ts +5 -0
- package/dist/browser/classic/index.d.ts.map +1 -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 +14 -0
- package/dist/browser/classic/operations/index.d.ts.map +1 -0
- package/dist/browser/classic/operations/index.js +14 -0
- package/dist/browser/classic/operations/index.js.map +1 -0
- package/dist/browser/classic/quotas/index.d.ts +17 -0
- package/dist/browser/classic/quotas/index.d.ts.map +1 -0
- package/dist/browser/classic/quotas/index.js +15 -0
- package/dist/browser/classic/quotas/index.js.map +1 -0
- package/dist/browser/helpers/serializerHelpers.d.ts +3 -0
- package/dist/browser/helpers/serializerHelpers.d.ts.map +1 -0
- package/dist/browser/helpers/serializerHelpers.js +24 -0
- package/dist/browser/helpers/serializerHelpers.js.map +1 -0
- package/dist/browser/index.d.ts +8 -0
- package/dist/browser/index.d.ts.map +1 -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.d.ts.map +1 -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.d.ts.map +1 -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 +399 -0
- package/dist/browser/models/models.d.ts.map +1 -0
- package/dist/browser/models/models.js +343 -0
- package/dist/browser/models/models.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/restorePollerHelpers.d.ts +21 -0
- package/dist/browser/restorePollerHelpers.d.ts.map +1 -0
- package/dist/browser/restorePollerHelpers.js +95 -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.d.ts.map +1 -0
- package/dist/browser/static-helpers/pagingHelpers.js +118 -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.d.ts.map +1 -0
- package/dist/browser/static-helpers/pollingHelpers.js +79 -0
- package/dist/browser/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/commonjs/api/accountQuotas/index.d.ts +13 -0
- package/dist/commonjs/api/accountQuotas/index.d.ts.map +1 -0
- package/dist/commonjs/api/accountQuotas/index.js +47 -0
- package/dist/commonjs/api/accountQuotas/index.js.map +1 -0
- package/dist/commonjs/api/accounts/index.d.ts +34 -0
- package/dist/commonjs/api/accounts/index.d.ts.map +1 -0
- package/dist/commonjs/api/accounts/index.js +164 -0
- package/dist/commonjs/api/accounts/index.js.map +1 -0
- package/dist/commonjs/api/azurePlaywrightServiceContext.d.ts +14 -0
- package/dist/commonjs/api/azurePlaywrightServiceContext.d.ts.map +1 -0
- package/dist/commonjs/api/azurePlaywrightServiceContext.js +41 -0
- package/dist/commonjs/api/azurePlaywrightServiceContext.js.map +1 -0
- package/dist/commonjs/api/index.d.ts +7 -0
- package/dist/commonjs/api/index.d.ts.map +1 -0
- package/dist/commonjs/api/index.js +24 -0
- package/dist/commonjs/api/index.js.map +1 -0
- package/dist/commonjs/api/operations/index.d.ts +9 -0
- package/dist/commonjs/api/operations/index.d.ts.map +1 -0
- package/dist/commonjs/api/operations/index.js +27 -0
- package/dist/commonjs/api/operations/index.js.map +1 -0
- package/dist/commonjs/api/options.d.ts +42 -0
- package/dist/commonjs/api/options.d.ts.map +1 -0
- package/dist/commonjs/api/options.js +5 -0
- package/dist/commonjs/api/options.js.map +1 -0
- package/dist/commonjs/api/quotas/index.d.ts +13 -0
- package/dist/commonjs/api/quotas/index.d.ts.map +1 -0
- package/dist/commonjs/api/quotas/index.js +47 -0
- package/dist/commonjs/api/quotas/index.js.map +1 -0
- package/dist/commonjs/azurePlaywrightServiceClient.d.ts +24 -0
- package/dist/commonjs/azurePlaywrightServiceClient.d.ts.map +1 -0
- package/dist/commonjs/azurePlaywrightServiceClient.js +41 -0
- package/dist/commonjs/azurePlaywrightServiceClient.js.map +1 -0
- package/dist/commonjs/classic/accountQuotas/index.d.ts +17 -0
- package/dist/commonjs/classic/accountQuotas/index.d.ts.map +1 -0
- package/dist/commonjs/classic/accountQuotas/index.js +19 -0
- package/dist/commonjs/classic/accountQuotas/index.js.map +1 -0
- package/dist/commonjs/classic/accounts/index.d.ts +33 -0
- package/dist/commonjs/classic/accounts/index.d.ts.map +1 -0
- package/dist/commonjs/classic/accounts/index.js +24 -0
- package/dist/commonjs/classic/accounts/index.js.map +1 -0
- package/dist/commonjs/classic/index.d.ts +5 -0
- package/dist/commonjs/classic/index.d.ts.map +1 -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 +14 -0
- package/dist/commonjs/classic/operations/index.d.ts.map +1 -0
- package/dist/commonjs/classic/operations/index.js +18 -0
- package/dist/commonjs/classic/operations/index.js.map +1 -0
- package/dist/commonjs/classic/quotas/index.d.ts +17 -0
- package/dist/commonjs/classic/quotas/index.d.ts.map +1 -0
- package/dist/commonjs/classic/quotas/index.js +19 -0
- package/dist/commonjs/classic/quotas/index.js.map +1 -0
- package/dist/commonjs/helpers/serializerHelpers.d.ts +3 -0
- package/dist/commonjs/helpers/serializerHelpers.d.ts.map +1 -0
- package/dist/commonjs/helpers/serializerHelpers.js +27 -0
- package/dist/commonjs/helpers/serializerHelpers.js.map +1 -0
- package/dist/commonjs/index.d.ts +8 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +21 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/logger.d.ts +2 -0
- package/dist/commonjs/logger.d.ts.map +1 -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.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +17 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/models.d.ts +399 -0
- package/dist/commonjs/models/models.d.ts.map +1 -0
- package/dist/commonjs/models/models.js +377 -0
- package/dist/commonjs/models/models.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/restorePollerHelpers.d.ts +21 -0
- package/dist/commonjs/restorePollerHelpers.d.ts.map +1 -0
- package/dist/commonjs/restorePollerHelpers.js +98 -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.d.ts.map +1 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js +121 -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.d.ts.map +1 -0
- package/dist/commonjs/static-helpers/pollingHelpers.js +82 -0
- package/dist/commonjs/static-helpers/pollingHelpers.js.map +1 -0
- package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
- package/dist/esm/api/accountQuotas/index.d.ts +13 -0
- package/dist/esm/api/accountQuotas/index.d.ts.map +1 -0
- package/dist/esm/api/accountQuotas/index.js +39 -0
- package/dist/esm/api/accountQuotas/index.js.map +1 -0
- package/dist/esm/api/accounts/index.d.ts +34 -0
- package/dist/esm/api/accounts/index.d.ts.map +1 -0
- package/dist/esm/api/accounts/index.js +141 -0
- package/dist/esm/api/accounts/index.js.map +1 -0
- package/dist/esm/api/azurePlaywrightServiceContext.d.ts +14 -0
- package/dist/esm/api/azurePlaywrightServiceContext.d.ts.map +1 -0
- package/dist/esm/api/azurePlaywrightServiceContext.js +38 -0
- package/dist/esm/api/azurePlaywrightServiceContext.js.map +1 -0
- package/dist/esm/api/index.d.ts +7 -0
- package/dist/esm/api/index.d.ts.map +1 -0
- package/dist/esm/api/index.js +8 -0
- package/dist/esm/api/index.js.map +1 -0
- package/dist/esm/api/operations/index.d.ts +9 -0
- package/dist/esm/api/operations/index.d.ts.map +1 -0
- package/dist/esm/api/operations/index.js +22 -0
- package/dist/esm/api/operations/index.js.map +1 -0
- package/dist/esm/api/options.d.ts +42 -0
- package/dist/esm/api/options.d.ts.map +1 -0
- package/dist/esm/api/options.js +4 -0
- package/dist/esm/api/options.js.map +1 -0
- package/dist/esm/api/quotas/index.d.ts +13 -0
- package/dist/esm/api/quotas/index.d.ts.map +1 -0
- package/dist/esm/api/quotas/index.js +39 -0
- package/dist/esm/api/quotas/index.js.map +1 -0
- package/dist/esm/azurePlaywrightServiceClient.d.ts +24 -0
- package/dist/esm/azurePlaywrightServiceClient.d.ts.map +1 -0
- package/dist/esm/azurePlaywrightServiceClient.js +37 -0
- package/dist/esm/azurePlaywrightServiceClient.js.map +1 -0
- package/dist/esm/classic/accountQuotas/index.d.ts +17 -0
- package/dist/esm/classic/accountQuotas/index.d.ts.map +1 -0
- package/dist/esm/classic/accountQuotas/index.js +15 -0
- package/dist/esm/classic/accountQuotas/index.js.map +1 -0
- package/dist/esm/classic/accounts/index.d.ts +33 -0
- package/dist/esm/classic/accounts/index.d.ts.map +1 -0
- package/dist/esm/classic/accounts/index.js +20 -0
- package/dist/esm/classic/accounts/index.js.map +1 -0
- package/dist/esm/classic/index.d.ts +5 -0
- package/dist/esm/classic/index.d.ts.map +1 -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 +14 -0
- package/dist/esm/classic/operations/index.d.ts.map +1 -0
- package/dist/esm/classic/operations/index.js +14 -0
- package/dist/esm/classic/operations/index.js.map +1 -0
- package/dist/esm/classic/quotas/index.d.ts +17 -0
- package/dist/esm/classic/quotas/index.d.ts.map +1 -0
- package/dist/esm/classic/quotas/index.js +15 -0
- package/dist/esm/classic/quotas/index.js.map +1 -0
- package/dist/esm/helpers/serializerHelpers.d.ts +3 -0
- package/dist/esm/helpers/serializerHelpers.d.ts.map +1 -0
- package/dist/esm/helpers/serializerHelpers.js +24 -0
- package/dist/esm/helpers/serializerHelpers.js.map +1 -0
- package/dist/esm/index.d.ts +8 -0
- package/dist/esm/index.d.ts.map +1 -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.d.ts.map +1 -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.d.ts.map +1 -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 +399 -0
- package/dist/esm/models/models.d.ts.map +1 -0
- package/dist/esm/models/models.js +343 -0
- package/dist/esm/models/models.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/restorePollerHelpers.d.ts +21 -0
- package/dist/esm/restorePollerHelpers.d.ts.map +1 -0
- package/dist/esm/restorePollerHelpers.js +95 -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.d.ts.map +1 -0
- package/dist/esm/static-helpers/pagingHelpers.js +118 -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.d.ts.map +1 -0
- package/dist/esm/static-helpers/pollingHelpers.js +79 -0
- package/dist/esm/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/react-native/api/accountQuotas/index.d.ts +13 -0
- package/dist/react-native/api/accountQuotas/index.d.ts.map +1 -0
- package/dist/react-native/api/accountQuotas/index.js +39 -0
- package/dist/react-native/api/accountQuotas/index.js.map +1 -0
- package/dist/react-native/api/accounts/index.d.ts +34 -0
- package/dist/react-native/api/accounts/index.d.ts.map +1 -0
- package/dist/react-native/api/accounts/index.js +141 -0
- package/dist/react-native/api/accounts/index.js.map +1 -0
- package/dist/react-native/api/azurePlaywrightServiceContext.d.ts +14 -0
- package/dist/react-native/api/azurePlaywrightServiceContext.d.ts.map +1 -0
- package/dist/react-native/api/azurePlaywrightServiceContext.js +38 -0
- package/dist/react-native/api/azurePlaywrightServiceContext.js.map +1 -0
- package/dist/react-native/api/index.d.ts +7 -0
- package/dist/react-native/api/index.d.ts.map +1 -0
- package/dist/react-native/api/index.js +8 -0
- package/dist/react-native/api/index.js.map +1 -0
- package/dist/react-native/api/operations/index.d.ts +9 -0
- package/dist/react-native/api/operations/index.d.ts.map +1 -0
- package/dist/react-native/api/operations/index.js +22 -0
- package/dist/react-native/api/operations/index.js.map +1 -0
- package/dist/react-native/api/options.d.ts +42 -0
- package/dist/react-native/api/options.d.ts.map +1 -0
- package/dist/react-native/api/options.js +4 -0
- package/dist/react-native/api/options.js.map +1 -0
- package/dist/react-native/api/quotas/index.d.ts +13 -0
- package/dist/react-native/api/quotas/index.d.ts.map +1 -0
- package/dist/react-native/api/quotas/index.js +39 -0
- package/dist/react-native/api/quotas/index.js.map +1 -0
- package/dist/react-native/azurePlaywrightServiceClient.d.ts +24 -0
- package/dist/react-native/azurePlaywrightServiceClient.d.ts.map +1 -0
- package/dist/react-native/azurePlaywrightServiceClient.js +37 -0
- package/dist/react-native/azurePlaywrightServiceClient.js.map +1 -0
- package/dist/react-native/classic/accountQuotas/index.d.ts +17 -0
- package/dist/react-native/classic/accountQuotas/index.d.ts.map +1 -0
- package/dist/react-native/classic/accountQuotas/index.js +15 -0
- package/dist/react-native/classic/accountQuotas/index.js.map +1 -0
- package/dist/react-native/classic/accounts/index.d.ts +33 -0
- package/dist/react-native/classic/accounts/index.d.ts.map +1 -0
- package/dist/react-native/classic/accounts/index.js +20 -0
- package/dist/react-native/classic/accounts/index.js.map +1 -0
- package/dist/react-native/classic/index.d.ts +5 -0
- package/dist/react-native/classic/index.d.ts.map +1 -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 +14 -0
- package/dist/react-native/classic/operations/index.d.ts.map +1 -0
- package/dist/react-native/classic/operations/index.js +14 -0
- package/dist/react-native/classic/operations/index.js.map +1 -0
- package/dist/react-native/classic/quotas/index.d.ts +17 -0
- package/dist/react-native/classic/quotas/index.d.ts.map +1 -0
- package/dist/react-native/classic/quotas/index.js +15 -0
- package/dist/react-native/classic/quotas/index.js.map +1 -0
- package/dist/react-native/helpers/serializerHelpers.d.ts +3 -0
- package/dist/react-native/helpers/serializerHelpers.d.ts.map +1 -0
- package/dist/react-native/helpers/serializerHelpers.js +24 -0
- package/dist/react-native/helpers/serializerHelpers.js.map +1 -0
- package/dist/react-native/index.d.ts +8 -0
- package/dist/react-native/index.d.ts.map +1 -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.d.ts.map +1 -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.d.ts.map +1 -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 +399 -0
- package/dist/react-native/models/models.d.ts.map +1 -0
- package/dist/react-native/models/models.js +343 -0
- package/dist/react-native/models/models.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/restorePollerHelpers.d.ts +21 -0
- package/dist/react-native/restorePollerHelpers.d.ts.map +1 -0
- package/dist/react-native/restorePollerHelpers.js +95 -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.d.ts.map +1 -0
- package/dist/react-native/static-helpers/pagingHelpers.js +118 -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.d.ts.map +1 -0
- package/dist/react-native/static-helpers/pollingHelpers.js +79 -0
- package/dist/react-native/static-helpers/pollingHelpers.js.map +1 -0
- package/package.json +125 -89
- package/review/arm-playwrighttesting-models-node.api.md +230 -0
- package/review/arm-playwrighttesting-node.api.md +359 -0
- package/dist/index.js +0 -1798
- package/dist/index.js.map +0 -1
- package/dist/index.min.js +0 -1
- package/dist/index.min.js.map +0 -1
- package/dist-esm/samples-dev/accountsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/accountsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/accountsCreateOrUpdateSample.js +0 -44
- package/dist-esm/samples-dev/accountsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/accountsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/accountsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/accountsDeleteSample.js +0 -39
- package/dist-esm/samples-dev/accountsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/accountsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/accountsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/accountsGetSample.js +0 -39
- package/dist-esm/samples-dev/accountsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/accountsListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/accountsListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/accountsListByResourceGroupSample.js +0 -54
- package/dist-esm/samples-dev/accountsListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/accountsListBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/accountsListBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/accountsListBySubscriptionSample.js +0 -53
- package/dist-esm/samples-dev/accountsListBySubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/accountsUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/accountsUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/accountsUpdateSample.js +0 -43
- package/dist-esm/samples-dev/accountsUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.js +0 -53
- package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
- package/dist-esm/samples-dev/quotasGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/quotasGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/quotasGetSample.js +0 -39
- package/dist-esm/samples-dev/quotasGetSample.js.map +0 -1
- package/dist-esm/samples-dev/quotasListBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/quotasListBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/quotasListBySubscriptionSample.js +0 -54
- package/dist-esm/samples-dev/quotasListBySubscriptionSample.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -6
- package/dist-esm/src/index.d.ts.map +0 -1
- package/dist-esm/src/index.js +0 -13
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/lroImpl.d.ts +0 -11
- package/dist-esm/src/lroImpl.d.ts.map +0 -1
- package/dist-esm/src/lroImpl.js +0 -21
- package/dist-esm/src/lroImpl.js.map +0 -1
- package/dist-esm/src/models/index.d.ts +0 -484
- package/dist-esm/src/models/index.d.ts.map +0 -1
- package/dist-esm/src/models/index.js +0 -72
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.d.ts +0 -23
- package/dist-esm/src/models/mappers.d.ts.map +0 -1
- package/dist-esm/src/models/mappers.js +0 -606
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.d.ts +0 -14
- package/dist-esm/src/models/parameters.d.ts.map +0 -1
- package/dist-esm/src/models/parameters.js +0 -134
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/accounts.d.ts +0 -99
- package/dist-esm/src/operations/accounts.d.ts.map +0 -1
- package/dist-esm/src/operations/accounts.js +0 -489
- package/dist-esm/src/operations/accounts.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -4
- package/dist-esm/src/operations/index.d.ts.map +0 -1
- package/dist-esm/src/operations/index.js +0 -11
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/operations.d.ts +0 -32
- package/dist-esm/src/operations/operations.d.ts.map +0 -1
- package/dist-esm/src/operations/operations.js +0 -133
- package/dist-esm/src/operations/operations.js.map +0 -1
- package/dist-esm/src/operations/quotas.d.ts +0 -42
- package/dist-esm/src/operations/quotas.d.ts.map +0 -1
- package/dist-esm/src/operations/quotas.js +0 -175
- package/dist-esm/src/operations/quotas.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/accounts.d.ts +0 -63
- package/dist-esm/src/operationsInterfaces/accounts.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/accounts.js +0 -9
- package/dist-esm/src/operationsInterfaces/accounts.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -4
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.js +0 -11
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.d.ts +0 -11
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.js +0 -9
- package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/quotas.d.ts +0 -19
- package/dist-esm/src/operationsInterfaces/quotas.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/quotas.js +0 -9
- package/dist-esm/src/operationsInterfaces/quotas.js.map +0 -1
- package/dist-esm/src/pagingHelper.d.ts +0 -13
- package/dist-esm/src/pagingHelper.d.ts.map +0 -1
- package/dist-esm/src/pagingHelper.js +0 -32
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/src/playwrightTestingClient.d.ts +0 -22
- package/dist-esm/src/playwrightTestingClient.d.ts.map +0 -1
- package/dist-esm/src/playwrightTestingClient.js +0 -102
- package/dist-esm/src/playwrightTestingClient.js.map +0 -1
- package/dist-esm/test/playwrighttesting_operations_test.spec.d.ts +0 -4
- package/dist-esm/test/playwrighttesting_operations_test.spec.d.ts.map +0 -1
- package/dist-esm/test/playwrighttesting_operations_test.spec.js +0 -71
- package/dist-esm/test/playwrighttesting_operations_test.spec.js.map +0 -1
- package/review/arm-playwrighttesting.api.md +0 -371
- package/src/index.ts +0 -13
- package/src/lroImpl.ts +0 -42
- package/src/models/index.ts +0 -549
- package/src/models/mappers.ts +0 -640
- package/src/models/parameters.ts +0 -154
- package/src/operations/accounts.ts +0 -630
- package/src/operations/index.ts +0 -11
- package/src/operations/operations.ts +0 -149
- package/src/operations/quotas.ts +0 -219
- package/src/operationsInterfaces/accounts.ts +0 -121
- package/src/operationsInterfaces/index.ts +0 -11
- package/src/operationsInterfaces/operations.ts +0 -22
- package/src/operationsInterfaces/quotas.ts +0 -41
- package/src/pagingHelper.ts +0 -39
- package/src/playwrightTestingClient.ts +0 -144
- package/tsconfig.json +0 -33
- package/types/arm-playwrighttesting.d.ts +0 -663
package/CHANGELOG.md
CHANGED
|
@@ -1,30 +1,13 @@
|
|
|
1
1
|
# Release History
|
|
2
|
-
|
|
3
|
-
## 1.0.0-beta.2 (2024-01-31)
|
|
4
|
-
|
|
5
|
-
**Features**
|
|
6
2
|
|
|
7
|
-
|
|
8
|
-
- Added Interface AccountUpdateProperties
|
|
9
|
-
- Added Interface QuotaProperties
|
|
10
|
-
- Interface Account has a new optional parameter properties
|
|
11
|
-
- Interface AccountUpdate has a new optional parameter properties
|
|
12
|
-
- Interface Quota has a new optional parameter properties
|
|
3
|
+
## 1.0.1 (2025-09-09)
|
|
13
4
|
|
|
14
|
-
|
|
5
|
+
### Other Changes
|
|
15
6
|
|
|
16
|
-
|
|
17
|
-
- Interface Account no longer has parameter provisioningState
|
|
18
|
-
- Interface Account no longer has parameter regionalAffinity
|
|
19
|
-
- Interface Account no longer has parameter reporting
|
|
20
|
-
- Interface Account no longer has parameter scalableExecution
|
|
21
|
-
- Interface AccountUpdate no longer has parameter regionalAffinity
|
|
22
|
-
- Interface AccountUpdate no longer has parameter reporting
|
|
23
|
-
- Interface AccountUpdate no longer has parameter scalableExecution
|
|
24
|
-
- Interface Quota no longer has parameter freeTrial
|
|
25
|
-
- Interface Quota no longer has parameter provisioningState
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
## 1.0.0-beta.1 (2023-09-27)
|
|
7
|
+
Added deprecation notice: This package has been deprecated and will no longer be maintained after **March 8, 2026**. Upgrade to the replacement package, **@azure/arm-playwright**, to continue receiving updates. Refer to the [migration guide](https://aka.ms/mpt/migration-guidance) for guidance on upgrading. Refer to our [deprecation policy](https://azure.github.io/azure-sdk/policies_support.html) for more details.
|
|
29
8
|
|
|
30
|
-
|
|
9
|
+
## 1.0.0 (2024-12-13)
|
|
10
|
+
|
|
11
|
+
### Features Added
|
|
12
|
+
|
|
13
|
+
This is the first stable version with the package of @azure/arm-playwrighttesting.
|
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
Copyright (c) Microsoft Corporation.
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
MIT License
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -12,10 +12,10 @@ furnished to do so, subject to the following conditions:
|
|
|
12
12
|
The above copyright notice and this permission notice shall be included in all
|
|
13
13
|
copies or substantial portions of the Software.
|
|
14
14
|
|
|
15
|
-
THE SOFTWARE IS PROVIDED
|
|
15
|
+
THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
16
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
17
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
18
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
19
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
20
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
|
-
#
|
|
1
|
+
# AzurePlaywrightService client library for JavaScript
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
**Deprecation message**
|
|
4
|
+
|
|
5
|
+
This package has been deprecated and will no longer be maintained after **March 8, 2026**. Upgrade to the replacement package, **@azure/arm-playwright**, to continue receiving updates. Refer to the [migration guide](https://aka.ms/mpt/migration-guidance) for guidance on upgrading. Refer to our [deprecation policy](https://azure.github.io/azure-sdk/policies_support.html) for more details.
|
|
4
6
|
|
|
5
|
-
|
|
7
|
+
This package contains an isomorphic SDK (runs both in Node.js and in browsers) for AzurePlaywrightService client.
|
|
8
|
+
|
|
9
|
+
Microsoft.AzurePlaywrightService Resource Provider Management API.
|
|
6
10
|
|
|
7
11
|
[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/playwrighttesting/arm-playwrighttesting) |
|
|
8
12
|
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-playwrighttesting) |
|
|
9
|
-
[API reference documentation](https://
|
|
13
|
+
[API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-playwrighttesting) |
|
|
10
14
|
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)
|
|
11
15
|
|
|
12
16
|
## Getting started
|
|
@@ -24,16 +28,16 @@ See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUP
|
|
|
24
28
|
|
|
25
29
|
### Install the `@azure/arm-playwrighttesting` package
|
|
26
30
|
|
|
27
|
-
Install the
|
|
31
|
+
Install the AzurePlaywrightService client library for JavaScript with `npm`:
|
|
28
32
|
|
|
29
33
|
```bash
|
|
30
34
|
npm install @azure/arm-playwrighttesting
|
|
31
35
|
```
|
|
32
36
|
|
|
33
|
-
### Create and authenticate a `
|
|
37
|
+
### Create and authenticate a `AzurePlaywrightServiceClient`
|
|
34
38
|
|
|
35
|
-
To create a client object to access the
|
|
36
|
-
You can find the endpoint for your
|
|
39
|
+
To create a client object to access the AzurePlaywrightService API, you will need the `endpoint` of your AzurePlaywrightService resource and a `credential`. The AzurePlaywrightService client can use Azure Active Directory credentials to authenticate.
|
|
40
|
+
You can find the endpoint for your AzurePlaywrightService resource in the [Azure Portal][azure_portal].
|
|
37
41
|
|
|
38
42
|
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).
|
|
39
43
|
|
|
@@ -43,36 +47,43 @@ To use the [DefaultAzureCredential][defaultazurecredential] provider shown below
|
|
|
43
47
|
npm install @azure/identity
|
|
44
48
|
```
|
|
45
49
|
|
|
46
|
-
You will also need to **register a new AAD application and grant access to
|
|
47
|
-
|
|
50
|
+
You will also need to **register a new AAD application and grant access to AzurePlaywrightService** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
|
|
51
|
+
|
|
52
|
+
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).
|
|
48
53
|
|
|
49
|
-
|
|
54
|
+
Using Node.js and Node-like environments, you can use the `DefaultAzureCredential` class to authenticate the client.
|
|
50
55
|
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
// For client-side applications running in the browser, use InteractiveBrowserCredential instead of DefaultAzureCredential. See https://aka.ms/azsdk/js/identity/examples for more details.
|
|
56
|
+
```ts snippet:ReadmeSampleCreateClient_Node
|
|
57
|
+
import { AzurePlaywrightServiceClient } from "@azure/arm-playwrighttesting";
|
|
58
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
55
59
|
|
|
56
60
|
const subscriptionId = "00000000-0000-0000-0000-000000000000";
|
|
57
|
-
const client = new
|
|
58
|
-
|
|
59
|
-
// For client-side applications running in the browser, use this code instead:
|
|
60
|
-
// const credential = new InteractiveBrowserCredential({
|
|
61
|
-
// tenantId: "<YOUR_TENANT_ID>",
|
|
62
|
-
// clientId: "<YOUR_CLIENT_ID>"
|
|
63
|
-
// });
|
|
64
|
-
// const client = new PlaywrightTestingClient(credential, subscriptionId);
|
|
61
|
+
const client = new AzurePlaywrightServiceClient(new DefaultAzureCredential(), subscriptionId);
|
|
65
62
|
```
|
|
66
63
|
|
|
64
|
+
For browser environments, use the `InteractiveBrowserCredential` from the `@azure/identity` package to authenticate.
|
|
65
|
+
|
|
66
|
+
```ts snippet:ReadmeSampleCreateClient_Browser
|
|
67
|
+
import { InteractiveBrowserCredential } from "@azure/identity";
|
|
68
|
+
import { AzurePlaywrightServiceClient } from "@azure/arm-playwrighttesting";
|
|
69
|
+
|
|
70
|
+
const subscriptionId = "00000000-0000-0000-0000-000000000000";
|
|
71
|
+
const credential = new InteractiveBrowserCredential({
|
|
72
|
+
tenantId: "<YOUR_TENANT_ID>",
|
|
73
|
+
clientId: "<YOUR_CLIENT_ID>",
|
|
74
|
+
});
|
|
75
|
+
const client = new AzurePlaywrightServiceClient(credential, subscriptionId);
|
|
76
|
+
```
|
|
67
77
|
|
|
68
78
|
### JavaScript Bundle
|
|
79
|
+
|
|
69
80
|
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).
|
|
70
81
|
|
|
71
82
|
## Key concepts
|
|
72
83
|
|
|
73
|
-
###
|
|
84
|
+
### AzurePlaywrightServiceClient
|
|
74
85
|
|
|
75
|
-
`
|
|
86
|
+
`AzurePlaywrightServiceClient` is the primary interface for developers using the AzurePlaywrightService client library. Explore the methods on this client object to understand the different features of the AzurePlaywrightService service that you can access.
|
|
76
87
|
|
|
77
88
|
## Troubleshooting
|
|
78
89
|
|
|
@@ -80,8 +91,9 @@ To use this client library in the browser, first you need to use a bundler. For
|
|
|
80
91
|
|
|
81
92
|
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`:
|
|
82
93
|
|
|
83
|
-
```
|
|
84
|
-
|
|
94
|
+
```ts snippet:SetLogLevel
|
|
95
|
+
import { setLogLevel } from "@azure/logger";
|
|
96
|
+
|
|
85
97
|
setLogLevel("info");
|
|
86
98
|
```
|
|
87
99
|
|
|
@@ -89,7 +101,7 @@ For more detailed instructions on how to enable logs, you can look at the [@azur
|
|
|
89
101
|
|
|
90
102
|
## Next steps
|
|
91
103
|
|
|
92
|
-
Please take a look at the [samples](https://github.com/Azure
|
|
104
|
+
Please take a look at the [samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/playwrighttesting/arm-playwrighttesting/samples) directory for detailed examples on how to use this library.
|
|
93
105
|
|
|
94
106
|
## Contributing
|
|
95
107
|
|
|
@@ -99,9 +111,7 @@ If you'd like to contribute to this library, please read the [contributing guide
|
|
|
99
111
|
|
|
100
112
|
- [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)
|
|
101
113
|
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
[azure_cli]: https://docs.microsoft.com/cli/azure
|
|
114
|
+
[azure_cli]: https://learn.microsoft.com/cli/azure
|
|
105
115
|
[azure_sub]: https://azure.microsoft.com/free/
|
|
106
116
|
[azure_sub]: https://azure.microsoft.com/free/
|
|
107
117
|
[azure_portal]: https://portal.azure.com
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { AccountQuotasGetOptionalParams, AccountQuotasListByAccountOptionalParams, AzurePlaywrightServiceContext as Client } from "../index.js";
|
|
2
|
+
import { AccountQuota, QuotaNames, _AccountQuotaListResult } from "../../models/models.js";
|
|
3
|
+
import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
4
|
+
import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
5
|
+
export declare function _accountQuotasGetSend(context: Client, subscriptionId: string, resourceGroupName: string, accountName: string, quotaName: QuotaNames, options?: AccountQuotasGetOptionalParams): StreamableMethod;
|
|
6
|
+
export declare function _accountQuotasGetDeserialize(result: PathUncheckedResponse): Promise<AccountQuota>;
|
|
7
|
+
/** Get quota by name for an account. */
|
|
8
|
+
export declare function accountQuotasGet(context: Client, subscriptionId: string, resourceGroupName: string, accountName: string, quotaName: QuotaNames, options?: AccountQuotasGetOptionalParams): Promise<AccountQuota>;
|
|
9
|
+
export declare function _accountQuotasListByAccountSend(context: Client, subscriptionId: string, resourceGroupName: string, accountName: string, options?: AccountQuotasListByAccountOptionalParams): StreamableMethod;
|
|
10
|
+
export declare function _accountQuotasListByAccountDeserialize(result: PathUncheckedResponse): Promise<_AccountQuotaListResult>;
|
|
11
|
+
/** List quotas for a given account. */
|
|
12
|
+
export declare function accountQuotasListByAccount(context: Client, subscriptionId: string, resourceGroupName: string, accountName: string, options?: AccountQuotasListByAccountOptionalParams): PagedAsyncIterableIterator<AccountQuota>;
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/accountQuotas/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,8BAA8B,EAC9B,wCAAwC,EACxC,6BAA6B,IAAI,MAAM,EACxC,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,YAAY,EAEZ,UAAU,EACV,uBAAuB,EAExB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,0BAA0B,EAE3B,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EACL,gBAAgB,EAChB,qBAAqB,EAGtB,MAAM,yBAAyB,CAAC;AAEjC,wBAAgB,qBAAqB,CACnC,OAAO,EAAE,MAAM,EACf,cAAc,EAAE,MAAM,EACtB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,SAAS,EAAE,UAAU,EACrB,OAAO,GAAE,8BAAuD,GAC/D,gBAAgB,CAUlB;AAED,wBAAsB,4BAA4B,CAChD,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,YAAY,CAAC,CAOvB;AAED,wCAAwC;AACxC,wBAAsB,gBAAgB,CACpC,OAAO,EAAE,MAAM,EACf,cAAc,EAAE,MAAM,EACtB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,SAAS,EAAE,UAAU,EACrB,OAAO,GAAE,8BAAuD,GAC/D,OAAO,CAAC,YAAY,CAAC,CAUvB;AAED,wBAAgB,+BAA+B,CAC7C,OAAO,EAAE,MAAM,EACf,cAAc,EAAE,MAAM,EACtB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,GAAE,wCAAiE,GACzE,gBAAgB,CASlB;AAED,wBAAsB,sCAAsC,CAC1D,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,uBAAuB,CAAC,CAOlC;AAED,uCAAuC;AACvC,wBAAgB,0BAA0B,CACxC,OAAO,EAAE,MAAM,EACf,cAAc,EAAE,MAAM,EACtB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,GAAE,wCAAiE,GACzE,0BAA0B,CAAC,YAAY,CAAC,CAe1C"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
import { accountQuotaDeserializer, _accountQuotaListResultDeserializer, } from "../../models/models.js";
|
|
4
|
+
import { buildPagedAsyncIterator, } from "../../static-helpers/pagingHelpers.js";
|
|
5
|
+
import { createRestError, operationOptionsToRequestParameters, } from "@azure-rest/core-client";
|
|
6
|
+
export function _accountQuotasGetSend(context, subscriptionId, resourceGroupName, accountName, quotaName, options = { requestOptions: {} }) {
|
|
7
|
+
return context
|
|
8
|
+
.path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzurePlaywrightService/accounts/{accountName}/quotas/{quotaName}", subscriptionId, resourceGroupName, accountName, quotaName)
|
|
9
|
+
.get({ ...operationOptionsToRequestParameters(options) });
|
|
10
|
+
}
|
|
11
|
+
export async function _accountQuotasGetDeserialize(result) {
|
|
12
|
+
const expectedStatuses = ["200"];
|
|
13
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
14
|
+
throw createRestError(result);
|
|
15
|
+
}
|
|
16
|
+
return accountQuotaDeserializer(result.body);
|
|
17
|
+
}
|
|
18
|
+
/** Get quota by name for an account. */
|
|
19
|
+
export async function accountQuotasGet(context, subscriptionId, resourceGroupName, accountName, quotaName, options = { requestOptions: {} }) {
|
|
20
|
+
const result = await _accountQuotasGetSend(context, subscriptionId, resourceGroupName, accountName, quotaName, options);
|
|
21
|
+
return _accountQuotasGetDeserialize(result);
|
|
22
|
+
}
|
|
23
|
+
export function _accountQuotasListByAccountSend(context, subscriptionId, resourceGroupName, accountName, options = { requestOptions: {} }) {
|
|
24
|
+
return context
|
|
25
|
+
.path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzurePlaywrightService/accounts/{accountName}/quotas", subscriptionId, resourceGroupName, accountName)
|
|
26
|
+
.get({ ...operationOptionsToRequestParameters(options) });
|
|
27
|
+
}
|
|
28
|
+
export async function _accountQuotasListByAccountDeserialize(result) {
|
|
29
|
+
const expectedStatuses = ["200"];
|
|
30
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
31
|
+
throw createRestError(result);
|
|
32
|
+
}
|
|
33
|
+
return _accountQuotaListResultDeserializer(result.body);
|
|
34
|
+
}
|
|
35
|
+
/** List quotas for a given account. */
|
|
36
|
+
export function accountQuotasListByAccount(context, subscriptionId, resourceGroupName, accountName, options = { requestOptions: {} }) {
|
|
37
|
+
return buildPagedAsyncIterator(context, () => _accountQuotasListByAccountSend(context, subscriptionId, resourceGroupName, accountName, options), _accountQuotasListByAccountDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
|
|
38
|
+
}
|
|
39
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/accountQuotas/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAOlC,OAAO,EAEL,wBAAwB,EAGxB,mCAAmC,GACpC,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEL,uBAAuB,GACxB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAGL,eAAe,EACf,mCAAmC,GACpC,MAAM,yBAAyB,CAAC;AAEjC,MAAM,UAAU,qBAAqB,CACnC,OAAe,EACf,cAAsB,EACtB,iBAAyB,EACzB,WAAmB,EACnB,SAAqB,EACrB,UAA0C,EAAE,cAAc,EAAE,EAAE,EAAE;IAEhE,OAAO,OAAO;SACX,IAAI,CACH,yJAAyJ,EACzJ,cAAc,EACd,iBAAiB,EACjB,WAAW,EACX,SAAS,CACV;SACA,GAAG,CAAC,EAAE,GAA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ChC,CAAC;IAED,OAAO,mCAAmC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AAC1D,CAAC;AAED,uCAAuC;AACvC,MAAM,UAAU,0BAA0B,CACxC,OAAe,EACf,cAAsB,EACtB,iBAAyB,EACzB,WAAmB,EACnB,UAAoD,EAAE,cAAc,EAAE,EAAE,EAAE;IAE1E,OAAO,uBAAuB,CAC5B,OAAO,EACP,GAAG,EAAE,CACH,+BAA+B,CAC7B,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,WAAW,EACX,OAAO,CACR,EACH,sCAAsC,EACtC,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 {\n AccountQuotasGetOptionalParams,\n AccountQuotasListByAccountOptionalParams,\n AzurePlaywrightServiceContext as Client,\n} from \"../index.js\";\nimport {\n AccountQuota,\n accountQuotaDeserializer,\n QuotaNames,\n _AccountQuotaListResult,\n _accountQuotaListResultDeserializer,\n} from \"../../models/models.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 _accountQuotasGetSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n accountName: string,\n quotaName: QuotaNames,\n options: AccountQuotasGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzurePlaywrightService/accounts/{accountName}/quotas/{quotaName}\",\n subscriptionId,\n resourceGroupName,\n accountName,\n quotaName,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _accountQuotasGetDeserialize(\n result: PathUncheckedResponse,\n): Promise<AccountQuota> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return accountQuotaDeserializer(result.body);\n}\n\n/** Get quota by name for an account. */\nexport async function accountQuotasGet(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n accountName: string,\n quotaName: QuotaNames,\n options: AccountQuotasGetOptionalParams = { requestOptions: {} },\n): Promise<AccountQuota> {\n const result = await _accountQuotasGetSend(\n context,\n subscriptionId,\n resourceGroupName,\n accountName,\n quotaName,\n options,\n );\n return _accountQuotasGetDeserialize(result);\n}\n\nexport function _accountQuotasListByAccountSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n accountName: string,\n options: AccountQuotasListByAccountOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzurePlaywrightService/accounts/{accountName}/quotas\",\n subscriptionId,\n resourceGroupName,\n accountName,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _accountQuotasListByAccountDeserialize(\n result: PathUncheckedResponse,\n): Promise<_AccountQuotaListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return _accountQuotaListResultDeserializer(result.body);\n}\n\n/** List quotas for a given account. */\nexport function accountQuotasListByAccount(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n accountName: string,\n options: AccountQuotasListByAccountOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<AccountQuota> {\n return buildPagedAsyncIterator(\n context,\n () =>\n _accountQuotasListByAccountSend(\n context,\n subscriptionId,\n resourceGroupName,\n accountName,\n options,\n ),\n _accountQuotasListByAccountDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n"]}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { AccountsCheckNameAvailabilityOptionalParams, AccountsCreateOrUpdateOptionalParams, AccountsDeleteOptionalParams, AccountsGetOptionalParams, AccountsListByResourceGroupOptionalParams, AccountsListBySubscriptionOptionalParams, AccountsUpdateOptionalParams, AzurePlaywrightServiceContext as Client } from "../index.js";
|
|
2
|
+
import { Account, AccountUpdate, _AccountListResult, CheckNameAvailabilityRequest, CheckNameAvailabilityResponse } from "../../models/models.js";
|
|
3
|
+
import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
4
|
+
import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
5
|
+
import { PollerLike, OperationState } from "@azure/core-lro";
|
|
6
|
+
export declare function _accountsGetSend(context: Client, subscriptionId: string, resourceGroupName: string, accountName: string, options?: AccountsGetOptionalParams): StreamableMethod;
|
|
7
|
+
export declare function _accountsGetDeserialize(result: PathUncheckedResponse): Promise<Account>;
|
|
8
|
+
/** Get a Account */
|
|
9
|
+
export declare function accountsGet(context: Client, subscriptionId: string, resourceGroupName: string, accountName: string, options?: AccountsGetOptionalParams): Promise<Account>;
|
|
10
|
+
export declare function _accountsCreateOrUpdateSend(context: Client, subscriptionId: string, resourceGroupName: string, accountName: string, resource: Account, options?: AccountsCreateOrUpdateOptionalParams): StreamableMethod;
|
|
11
|
+
export declare function _accountsCreateOrUpdateDeserialize(result: PathUncheckedResponse): Promise<Account>;
|
|
12
|
+
/** Create a Account */
|
|
13
|
+
export declare function accountsCreateOrUpdate(context: Client, subscriptionId: string, resourceGroupName: string, accountName: string, resource: Account, options?: AccountsCreateOrUpdateOptionalParams): PollerLike<OperationState<Account>, Account>;
|
|
14
|
+
export declare function _accountsUpdateSend(context: Client, subscriptionId: string, resourceGroupName: string, accountName: string, properties: AccountUpdate, options?: AccountsUpdateOptionalParams): StreamableMethod;
|
|
15
|
+
export declare function _accountsUpdateDeserialize(result: PathUncheckedResponse): Promise<Account>;
|
|
16
|
+
/** Update a Account */
|
|
17
|
+
export declare function accountsUpdate(context: Client, subscriptionId: string, resourceGroupName: string, accountName: string, properties: AccountUpdate, options?: AccountsUpdateOptionalParams): Promise<Account>;
|
|
18
|
+
export declare function _accountsDeleteSend(context: Client, subscriptionId: string, resourceGroupName: string, accountName: string, options?: AccountsDeleteOptionalParams): StreamableMethod;
|
|
19
|
+
export declare function _accountsDeleteDeserialize(result: PathUncheckedResponse): Promise<void>;
|
|
20
|
+
/** Delete a Account */
|
|
21
|
+
export declare function accountsDelete(context: Client, subscriptionId: string, resourceGroupName: string, accountName: string, options?: AccountsDeleteOptionalParams): PollerLike<OperationState<void>, void>;
|
|
22
|
+
export declare function _accountsListByResourceGroupSend(context: Client, subscriptionId: string, resourceGroupName: string, options?: AccountsListByResourceGroupOptionalParams): StreamableMethod;
|
|
23
|
+
export declare function _accountsListByResourceGroupDeserialize(result: PathUncheckedResponse): Promise<_AccountListResult>;
|
|
24
|
+
/** List Account resources by resource group */
|
|
25
|
+
export declare function accountsListByResourceGroup(context: Client, subscriptionId: string, resourceGroupName: string, options?: AccountsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Account>;
|
|
26
|
+
export declare function _accountsListBySubscriptionSend(context: Client, subscriptionId: string, options?: AccountsListBySubscriptionOptionalParams): StreamableMethod;
|
|
27
|
+
export declare function _accountsListBySubscriptionDeserialize(result: PathUncheckedResponse): Promise<_AccountListResult>;
|
|
28
|
+
/** List Account resources by subscription ID */
|
|
29
|
+
export declare function accountsListBySubscription(context: Client, subscriptionId: string, options?: AccountsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<Account>;
|
|
30
|
+
export declare function _accountsCheckNameAvailabilitySend(context: Client, subscriptionId: string, body: CheckNameAvailabilityRequest, options?: AccountsCheckNameAvailabilityOptionalParams): StreamableMethod;
|
|
31
|
+
export declare function _accountsCheckNameAvailabilityDeserialize(result: PathUncheckedResponse): Promise<CheckNameAvailabilityResponse>;
|
|
32
|
+
/** Adds check global name availability operation, normally used if a resource name must be globally unique. */
|
|
33
|
+
export declare function accountsCheckNameAvailability(context: Client, subscriptionId: string, body: CheckNameAvailabilityRequest, options?: AccountsCheckNameAvailabilityOptionalParams): Promise<CheckNameAvailabilityResponse>;
|
|
34
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/accounts/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,2CAA2C,EAC3C,oCAAoC,EACpC,4BAA4B,EAC5B,yBAAyB,EACzB,yCAAyC,EACzC,wCAAwC,EACxC,4BAA4B,EAC5B,6BAA6B,IAAI,MAAM,EACxC,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,OAAO,EAGP,aAAa,EAEb,kBAAkB,EAElB,4BAA4B,EAE5B,6BAA6B,EAE9B,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EACL,0BAA0B,EAE3B,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EACL,gBAAgB,EAChB,qBAAqB,EAGtB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAE7D,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,MAAM,EACf,cAAc,EAAE,MAAM,EACtB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,GAAE,yBAAkD,GAC1D,gBAAgB,CASlB;AAED,wBAAsB,uBAAuB,CAAC,MAAM,EAAE,qBAAqB,GAAG,OAAO,CAAC,OAAO,CAAC,CAO7F;AAED,oBAAoB;AACpB,wBAAsB,WAAW,CAC/B,OAAO,EAAE,MAAM,EACf,cAAc,EAAE,MAAM,EACtB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,GAAE,yBAAkD,GAC1D,OAAO,CAAC,OAAO,CAAC,CASlB;AAED,wBAAgB,2BAA2B,CACzC,OAAO,EAAE,MAAM,EACf,cAAc,EAAE,MAAM,EACtB,iBAAiB,EAAE,MAAM,EACzB,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EAAE,MAAM,EACf,cAAc,EAAE,MAAM,EACtB,IAAI,EAAE,4BAA4B,EAClC,OAAO,GAAE,2CAAoE,GAC5E,OAAO,CAAC,6BAA6B,CAAC,CAGxC"}
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
import { accountSerializer, accountDeserializer, accountUpdateSerializer, _accountListResultDeserializer, checkNameAvailabilityRequestSerializer, checkNameAvailabilityResponseDeserializer, } from "../../models/models.js";
|
|
4
|
+
import { getLongRunningPoller } from "../../static-helpers/pollingHelpers.js";
|
|
5
|
+
import { buildPagedAsyncIterator, } from "../../static-helpers/pagingHelpers.js";
|
|
6
|
+
import { createRestError, operationOptionsToRequestParameters, } from "@azure-rest/core-client";
|
|
7
|
+
export function _accountsGetSend(context, subscriptionId, resourceGroupName, accountName, options = { requestOptions: {} }) {
|
|
8
|
+
return context
|
|
9
|
+
.path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzurePlaywrightService/accounts/{accountName}", subscriptionId, resourceGroupName, accountName)
|
|
10
|
+
.get({ ...operationOptionsToRequestParameters(options) });
|
|
11
|
+
}
|
|
12
|
+
export async function _accountsGetDeserialize(result) {
|
|
13
|
+
const expectedStatuses = ["200"];
|
|
14
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
15
|
+
throw createRestError(result);
|
|
16
|
+
}
|
|
17
|
+
return accountDeserializer(result.body);
|
|
18
|
+
}
|
|
19
|
+
/** Get a Account */
|
|
20
|
+
export async function accountsGet(context, subscriptionId, resourceGroupName, accountName, options = { requestOptions: {} }) {
|
|
21
|
+
const result = await _accountsGetSend(context, subscriptionId, resourceGroupName, accountName, options);
|
|
22
|
+
return _accountsGetDeserialize(result);
|
|
23
|
+
}
|
|
24
|
+
export function _accountsCreateOrUpdateSend(context, subscriptionId, resourceGroupName, accountName, resource, options = { requestOptions: {} }) {
|
|
25
|
+
return context
|
|
26
|
+
.path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzurePlaywrightService/accounts/{accountName}", subscriptionId, resourceGroupName, accountName)
|
|
27
|
+
.put({
|
|
28
|
+
...operationOptionsToRequestParameters(options),
|
|
29
|
+
body: accountSerializer(resource),
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
export async function _accountsCreateOrUpdateDeserialize(result) {
|
|
33
|
+
const expectedStatuses = ["200", "201"];
|
|
34
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
35
|
+
throw createRestError(result);
|
|
36
|
+
}
|
|
37
|
+
return accountDeserializer(result.body);
|
|
38
|
+
}
|
|
39
|
+
/** Create a Account */
|
|
40
|
+
export function accountsCreateOrUpdate(context, subscriptionId, resourceGroupName, accountName, resource, options = { requestOptions: {} }) {
|
|
41
|
+
return getLongRunningPoller(context, _accountsCreateOrUpdateDeserialize, ["200", "201"], {
|
|
42
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
43
|
+
abortSignal: options?.abortSignal,
|
|
44
|
+
getInitialResponse: () => _accountsCreateOrUpdateSend(context, subscriptionId, resourceGroupName, accountName, resource, options),
|
|
45
|
+
resourceLocationConfig: "azure-async-operation",
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
export function _accountsUpdateSend(context, subscriptionId, resourceGroupName, accountName, properties, options = { requestOptions: {} }) {
|
|
49
|
+
return context
|
|
50
|
+
.path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzurePlaywrightService/accounts/{accountName}", subscriptionId, resourceGroupName, accountName)
|
|
51
|
+
.patch({
|
|
52
|
+
...operationOptionsToRequestParameters(options),
|
|
53
|
+
body: accountUpdateSerializer(properties),
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
export async function _accountsUpdateDeserialize(result) {
|
|
57
|
+
const expectedStatuses = ["200"];
|
|
58
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
59
|
+
throw createRestError(result);
|
|
60
|
+
}
|
|
61
|
+
return accountDeserializer(result.body);
|
|
62
|
+
}
|
|
63
|
+
/** Update a Account */
|
|
64
|
+
export async function accountsUpdate(context, subscriptionId, resourceGroupName, accountName, properties, options = { requestOptions: {} }) {
|
|
65
|
+
const result = await _accountsUpdateSend(context, subscriptionId, resourceGroupName, accountName, properties, options);
|
|
66
|
+
return _accountsUpdateDeserialize(result);
|
|
67
|
+
}
|
|
68
|
+
export function _accountsDeleteSend(context, subscriptionId, resourceGroupName, accountName, options = { requestOptions: {} }) {
|
|
69
|
+
return context
|
|
70
|
+
.path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzurePlaywrightService/accounts/{accountName}", subscriptionId, resourceGroupName, accountName)
|
|
71
|
+
.delete({ ...operationOptionsToRequestParameters(options) });
|
|
72
|
+
}
|
|
73
|
+
export async function _accountsDeleteDeserialize(result) {
|
|
74
|
+
const expectedStatuses = ["202", "204", "200"];
|
|
75
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
76
|
+
throw createRestError(result);
|
|
77
|
+
}
|
|
78
|
+
return;
|
|
79
|
+
}
|
|
80
|
+
/** Delete a Account */
|
|
81
|
+
export function accountsDelete(context, subscriptionId, resourceGroupName, accountName, options = { requestOptions: {} }) {
|
|
82
|
+
return getLongRunningPoller(context, _accountsDeleteDeserialize, ["202", "204", "200"], {
|
|
83
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
84
|
+
abortSignal: options?.abortSignal,
|
|
85
|
+
getInitialResponse: () => _accountsDeleteSend(context, subscriptionId, resourceGroupName, accountName, options),
|
|
86
|
+
resourceLocationConfig: "location",
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
export function _accountsListByResourceGroupSend(context, subscriptionId, resourceGroupName, options = { requestOptions: {} }) {
|
|
90
|
+
return context
|
|
91
|
+
.path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzurePlaywrightService/accounts", subscriptionId, resourceGroupName)
|
|
92
|
+
.get({ ...operationOptionsToRequestParameters(options) });
|
|
93
|
+
}
|
|
94
|
+
export async function _accountsListByResourceGroupDeserialize(result) {
|
|
95
|
+
const expectedStatuses = ["200"];
|
|
96
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
97
|
+
throw createRestError(result);
|
|
98
|
+
}
|
|
99
|
+
return _accountListResultDeserializer(result.body);
|
|
100
|
+
}
|
|
101
|
+
/** List Account resources by resource group */
|
|
102
|
+
export function accountsListByResourceGroup(context, subscriptionId, resourceGroupName, options = { requestOptions: {} }) {
|
|
103
|
+
return buildPagedAsyncIterator(context, () => _accountsListByResourceGroupSend(context, subscriptionId, resourceGroupName, options), _accountsListByResourceGroupDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
|
|
104
|
+
}
|
|
105
|
+
export function _accountsListBySubscriptionSend(context, subscriptionId, options = { requestOptions: {} }) {
|
|
106
|
+
return context
|
|
107
|
+
.path("/subscriptions/{subscriptionId}/providers/Microsoft.AzurePlaywrightService/accounts", subscriptionId)
|
|
108
|
+
.get({ ...operationOptionsToRequestParameters(options) });
|
|
109
|
+
}
|
|
110
|
+
export async function _accountsListBySubscriptionDeserialize(result) {
|
|
111
|
+
const expectedStatuses = ["200"];
|
|
112
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
113
|
+
throw createRestError(result);
|
|
114
|
+
}
|
|
115
|
+
return _accountListResultDeserializer(result.body);
|
|
116
|
+
}
|
|
117
|
+
/** List Account resources by subscription ID */
|
|
118
|
+
export function accountsListBySubscription(context, subscriptionId, options = { requestOptions: {} }) {
|
|
119
|
+
return buildPagedAsyncIterator(context, () => _accountsListBySubscriptionSend(context, subscriptionId, options), _accountsListBySubscriptionDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
|
|
120
|
+
}
|
|
121
|
+
export function _accountsCheckNameAvailabilitySend(context, subscriptionId, body, options = { requestOptions: {} }) {
|
|
122
|
+
return context
|
|
123
|
+
.path("/subscriptions/{subscriptionId}/providers/Microsoft.AzurePlaywrightService/checkNameAvailability", subscriptionId)
|
|
124
|
+
.post({
|
|
125
|
+
...operationOptionsToRequestParameters(options),
|
|
126
|
+
body: checkNameAvailabilityRequestSerializer(body),
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
export async function _accountsCheckNameAvailabilityDeserialize(result) {
|
|
130
|
+
const expectedStatuses = ["200"];
|
|
131
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
132
|
+
throw createRestError(result);
|
|
133
|
+
}
|
|
134
|
+
return checkNameAvailabilityResponseDeserializer(result.body);
|
|
135
|
+
}
|
|
136
|
+
/** Adds check global name availability operation, normally used if a resource name must be globally unique. */
|
|
137
|
+
export async function accountsCheckNameAvailability(context, subscriptionId, body, options = { requestOptions: {} }) {
|
|
138
|
+
const result = await _accountsCheckNameAvailabilitySend(context, subscriptionId, body, options);
|
|
139
|
+
return _accountsCheckNameAvailabilityDeserialize(result);
|
|
140
|
+
}
|
|
141
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/accounts/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAYlC,OAAO,EAEL,iBAAiB,EACjB,mBAAmB,EAEnB,uBAAuB,EAEvB,8BAA8B,EAE9B,sCAAsC,EAEtC,yCAAyC,GAC1C,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EAEL,uBAAuB,GACxB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAGL,eAAe,EACf,mCAAmC,GACpC,MAAM,yBAAyB,CAAC;AAGjC,MAAM,UAAU,gBAAgB,CAC9B,OAAe,EACf,cAAsB,EACtB,iBAAyB,EACzB,WAAmB,EACnB,UAAqC,EAAE,cAAc,EAAE,EAAE,EAAE;IAE3D,OAAO,OAAO;SACX,IAAI,C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,MAA6B;IAE7B,MAAM,gBAAgB,GAAG,CAAC,KAAK,CAAC,CAAC;IACjC,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QAC9C,MAAM,eAAe,CAAC,MAAM,CAAC,CAAC;IAChC,CAAC;IAED,OAAO,yCAAyC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AAChE,CAAC;AAED,+GAA+G;AAC/G,MAAM,CAAC,KAAK,UAAU,6BAA6B,CACjD,OAAe,EACf,cAAsB,EACtB,IAAkC,EAClC,UAAuD,EAAE,cAAc,EAAE,EAAE,EAAE;IAE7E,MAAM,MAAM,GAAG,MAAM,kCAAkC,CAAC,OAAO,EAAE,cAAc,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;IAChG,OAAO,yCAAyC,CAAC,MAAM,CAAC,CAAC;AAC3D,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport {\n AccountsCheckNameAvailabilityOptionalParams,\n AccountsCreateOrUpdateOptionalParams,\n AccountsDeleteOptionalParams,\n AccountsGetOptionalParams,\n AccountsListByResourceGroupOptionalParams,\n AccountsListBySubscriptionOptionalParams,\n AccountsUpdateOptionalParams,\n AzurePlaywrightServiceContext as Client,\n} from \"../index.js\";\nimport {\n Account,\n accountSerializer,\n accountDeserializer,\n AccountUpdate,\n accountUpdateSerializer,\n _AccountListResult,\n _accountListResultDeserializer,\n CheckNameAvailabilityRequest,\n checkNameAvailabilityRequestSerializer,\n CheckNameAvailabilityResponse,\n checkNameAvailabilityResponseDeserializer,\n} from \"../../models/models.js\";\nimport { getLongRunningPoller } from \"../../static-helpers/pollingHelpers.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 _accountsGetSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n accountName: string,\n options: AccountsGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzurePlaywrightService/accounts/{accountName}\",\n subscriptionId,\n resourceGroupName,\n accountName,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _accountsGetDeserialize(result: PathUncheckedResponse): Promise<Account> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return accountDeserializer(result.body);\n}\n\n/** Get a Account */\nexport async function accountsGet(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n accountName: string,\n options: AccountsGetOptionalParams = { requestOptions: {} },\n): Promise<Account> {\n const result = await _accountsGetSend(\n context,\n subscriptionId,\n resourceGroupName,\n accountName,\n options,\n );\n return _accountsGetDeserialize(result);\n}\n\nexport function _accountsCreateOrUpdateSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n accountName: string,\n resource: Account,\n options: AccountsCreateOrUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzurePlaywrightService/accounts/{accountName}\",\n subscriptionId,\n resourceGroupName,\n accountName,\n )\n .put({\n ...operationOptionsToRequestParameters(options),\n body: accountSerializer(resource),\n });\n}\n\nexport async function _accountsCreateOrUpdateDeserialize(\n result: PathUncheckedResponse,\n): Promise<Account> {\n const expectedStatuses = [\"200\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return accountDeserializer(result.body);\n}\n\n/** Create a Account */\nexport function accountsCreateOrUpdate(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n accountName: string,\n resource: Account,\n options: AccountsCreateOrUpdateOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<Account>, Account> {\n return getLongRunningPoller(context, _accountsCreateOrUpdateDeserialize, [\"200\", \"201\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _accountsCreateOrUpdateSend(\n context,\n subscriptionId,\n resourceGroupName,\n accountName,\n resource,\n options,\n ),\n resourceLocationConfig: \"azure-async-operation\",\n }) as PollerLike<OperationState<Account>, Account>;\n}\n\nexport function _accountsUpdateSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n accountName: string,\n properties: AccountUpdate,\n options: AccountsUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzurePlaywrightService/accounts/{accountName}\",\n subscriptionId,\n resourceGroupName,\n accountName,\n )\n .patch({\n ...operationOptionsToRequestParameters(options),\n body: accountUpdateSerializer(properties),\n });\n}\n\nexport async function _accountsUpdateDeserialize(result: PathUncheckedResponse): Promise<Account> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return accountDeserializer(result.body);\n}\n\n/** Update a Account */\nexport async function accountsUpdate(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n accountName: string,\n properties: AccountUpdate,\n options: AccountsUpdateOptionalParams = { requestOptions: {} },\n): Promise<Account> {\n const result = await _accountsUpdateSend(\n context,\n subscriptionId,\n resourceGroupName,\n accountName,\n properties,\n options,\n );\n return _accountsUpdateDeserialize(result);\n}\n\nexport function _accountsDeleteSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n accountName: string,\n options: AccountsDeleteOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzurePlaywrightService/accounts/{accountName}\",\n subscriptionId,\n resourceGroupName,\n accountName,\n )\n .delete({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _accountsDeleteDeserialize(result: PathUncheckedResponse): Promise<void> {\n const expectedStatuses = [\"202\", \"204\", \"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return;\n}\n\n/** Delete a Account */\nexport function accountsDelete(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n accountName: string,\n options: AccountsDeleteOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(context, _accountsDeleteDeserialize, [\"202\", \"204\", \"200\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _accountsDeleteSend(context, subscriptionId, resourceGroupName, accountName, options),\n resourceLocationConfig: \"location\",\n }) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _accountsListByResourceGroupSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n options: AccountsListByResourceGroupOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzurePlaywrightService/accounts\",\n subscriptionId,\n resourceGroupName,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _accountsListByResourceGroupDeserialize(\n result: PathUncheckedResponse,\n): Promise<_AccountListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return _accountListResultDeserializer(result.body);\n}\n\n/** List Account resources by resource group */\nexport function accountsListByResourceGroup(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n options: AccountsListByResourceGroupOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<Account> {\n return buildPagedAsyncIterator(\n context,\n () => _accountsListByResourceGroupSend(context, subscriptionId, resourceGroupName, options),\n _accountsListByResourceGroupDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n\nexport function _accountsListBySubscriptionSend(\n context: Client,\n subscriptionId: string,\n options: AccountsListBySubscriptionOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.AzurePlaywrightService/accounts\",\n subscriptionId,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _accountsListBySubscriptionDeserialize(\n result: PathUncheckedResponse,\n): Promise<_AccountListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return _accountListResultDeserializer(result.body);\n}\n\n/** List Account resources by subscription ID */\nexport function accountsListBySubscription(\n context: Client,\n subscriptionId: string,\n options: AccountsListBySubscriptionOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<Account> {\n return buildPagedAsyncIterator(\n context,\n () => _accountsListBySubscriptionSend(context, subscriptionId, options),\n _accountsListBySubscriptionDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n\nexport function _accountsCheckNameAvailabilitySend(\n context: Client,\n subscriptionId: string,\n body: CheckNameAvailabilityRequest,\n options: AccountsCheckNameAvailabilityOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.AzurePlaywrightService/checkNameAvailability\",\n subscriptionId,\n )\n .post({\n ...operationOptionsToRequestParameters(options),\n body: checkNameAvailabilityRequestSerializer(body),\n });\n}\n\nexport async function _accountsCheckNameAvailabilityDeserialize(\n result: PathUncheckedResponse,\n): Promise<CheckNameAvailabilityResponse> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return checkNameAvailabilityResponseDeserializer(result.body);\n}\n\n/** Adds check global name availability operation, normally used if a resource name must be globally unique. */\nexport async function accountsCheckNameAvailability(\n context: Client,\n subscriptionId: string,\n body: CheckNameAvailabilityRequest,\n options: AccountsCheckNameAvailabilityOptionalParams = { requestOptions: {} },\n): Promise<CheckNameAvailabilityResponse> {\n const result = await _accountsCheckNameAvailabilitySend(context, subscriptionId, body, options);\n return _accountsCheckNameAvailabilityDeserialize(result);\n}\n"]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Client, ClientOptions } from "@azure-rest/core-client";
|
|
2
|
+
import { TokenCredential } from "@azure/core-auth";
|
|
3
|
+
/** Microsoft.AzurePlaywrightService Resource Provider Management API. */
|
|
4
|
+
export interface AzurePlaywrightServiceContext extends Client {
|
|
5
|
+
}
|
|
6
|
+
/** Optional parameters for the client. */
|
|
7
|
+
export interface AzurePlaywrightServiceClientOptionalParams extends ClientOptions {
|
|
8
|
+
/** The API version to use for this operation. */
|
|
9
|
+
/** Known values of {@link KnownVersions} that the service accepts. */
|
|
10
|
+
apiVersion?: string;
|
|
11
|
+
}
|
|
12
|
+
/** Microsoft.AzurePlaywrightService Resource Provider Management API. */
|
|
13
|
+
export declare function createAzurePlaywrightService(credential: TokenCredential, options?: AzurePlaywrightServiceClientOptionalParams): AzurePlaywrightServiceContext;
|
|
14
|
+
//# sourceMappingURL=azurePlaywrightServiceContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"azurePlaywrightServiceContext.d.ts","sourceRoot":"","sources":["../../../src/api/azurePlaywrightServiceContext.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,MAAM,EAAE,aAAa,EAAa,MAAM,yBAAyB,CAAC;AAC3E,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEnD,yEAAyE;AACzE,MAAM,WAAW,6BAA8B,SAAQ,MAAM;CAAG;AAEhE,0CAA0C;AAC1C,MAAM,WAAW,0CAA2C,SAAQ,aAAa;IAC/E,iDAAiD;IACjD,sEAAsE;IACtE,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,yEAAyE;AACzE,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,eAAe,EAC3B,OAAO,GAAE,0CAA+C,GACvD,6BAA6B,CAkC/B"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
import { logger } from "../logger.js";
|
|
4
|
+
import { getClient } from "@azure-rest/core-client";
|
|
5
|
+
/** Microsoft.AzurePlaywrightService Resource Provider Management API. */
|
|
6
|
+
export function createAzurePlaywrightService(credential, options = {}) {
|
|
7
|
+
const endpointUrl = options.endpoint ?? options.baseUrl ?? `https://management.azure.com`;
|
|
8
|
+
const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;
|
|
9
|
+
const userAgentInfo = `azsdk-js-arm-playwrighttesting/1.0.1`;
|
|
10
|
+
const userAgentPrefix = prefixFromOptions
|
|
11
|
+
? `${prefixFromOptions} azsdk-js-api ${userAgentInfo}`
|
|
12
|
+
: `azsdk-js-api ${userAgentInfo}`;
|
|
13
|
+
const { apiVersion: _, ...updatedOptions } = {
|
|
14
|
+
...options,
|
|
15
|
+
userAgentOptions: { userAgentPrefix },
|
|
16
|
+
loggingOptions: { logger: options.loggingOptions?.logger ?? logger.info },
|
|
17
|
+
credentials: {
|
|
18
|
+
scopes: options.credentials?.scopes ?? [`${endpointUrl}/.default`],
|
|
19
|
+
},
|
|
20
|
+
};
|
|
21
|
+
const clientContext = getClient(endpointUrl, credential, updatedOptions);
|
|
22
|
+
clientContext.pipeline.removePolicy({ name: "ApiVersionPolicy" });
|
|
23
|
+
const apiVersion = options.apiVersion ?? "2024-12-01";
|
|
24
|
+
clientContext.pipeline.addPolicy({
|
|
25
|
+
name: "ClientApiVersionPolicy",
|
|
26
|
+
sendRequest: (req, next) => {
|
|
27
|
+
// Use the apiVersion defined in request url directly
|
|
28
|
+
// Append one if there is no apiVersion and we have one at client options
|
|
29
|
+
const url = new URL(req.url);
|
|
30
|
+
if (!url.searchParams.get("api-version")) {
|
|
31
|
+
req.url = `${req.url}${Array.from(url.searchParams.keys()).length > 0 ? "&" : "?"}api-version=${apiVersion}`;
|
|
32
|
+
}
|
|
33
|
+
return next(req);
|
|
34
|
+
},
|
|
35
|
+
});
|
|
36
|
+
return clientContext;
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=azurePlaywrightServiceContext.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"azurePlaywrightServiceContext.js","sourceRoot":"","sources":["../../../src/api/azurePlaywrightServiceContext.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAEtC,OAAO,EAAyB,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAa3E,yEAAyE;AACzE,MAAM,UAAU,4BAA4B,CAC1C,UAA2B,EAC3B,UAAsD,EAAE;IAExD,MAAM,WAAW,GAAG,OAAO,CAAC,QAAQ,IAAI,OAAO,CAAC,OAAO,IAAI,8BAA8B,CAAC;IAC1F,MAAM,iBAAiB,GAAG,OAAO,EAAE,gBAAgB,EAAE,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,EAAE,UAAU,EAAE,CAAC,EAAE,GAAG,cAAc,EAAE,GAAG;QAC3C,GAAG,OAAO;QACV,gBAAgB,EAAE,EAAE,eAAe,EAAE;QACrC,cAAc,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,cAAc,EAAE,MAAM,IAAI,MAAM,CAAC,IAAI,EAAE;QACzE,WAAW,EAAE;YACX,MAAM,EAAE,OAAO,CAAC,WAAW,EAAE,MAAM,IAAI,CAAC,GAAG,WAAW,WAAW,CAAC;SACnE;KACF,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,OAAO,CAAC,UAAU,IAAI,YAAY,CAAC;IACtD,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,aAAa,CAAC;AACvB,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/** Microsoft.AzurePlaywrightService Resource Provider Management API. */\nexport interface AzurePlaywrightServiceContext extends Client {}\n\n/** Optional parameters for the client. */\nexport interface AzurePlaywrightServiceClientOptionalParams 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/** Microsoft.AzurePlaywrightService Resource Provider Management API. */\nexport function createAzurePlaywrightService(\n credential: TokenCredential,\n options: AzurePlaywrightServiceClientOptionalParams = {},\n): AzurePlaywrightServiceContext {\n const endpointUrl = options.endpoint ?? options.baseUrl ?? `https://management.azure.com`;\n const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;\n const userAgentInfo = `azsdk-js-arm-playwrighttesting/1.0.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 ?? \"2024-12-01\";\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 clientContext;\n}\n"]}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { createAzurePlaywrightService, AzurePlaywrightServiceContext, AzurePlaywrightServiceClientOptionalParams, } from "./azurePlaywrightServiceContext.js";
|
|
2
|
+
export { OperationsListOptionalParams, AccountsGetOptionalParams, AccountsCreateOrUpdateOptionalParams, AccountsUpdateOptionalParams, AccountsDeleteOptionalParams, AccountsListByResourceGroupOptionalParams, AccountsListBySubscriptionOptionalParams, AccountsCheckNameAvailabilityOptionalParams, QuotasGetOptionalParams, QuotasListBySubscriptionOptionalParams, AccountQuotasGetOptionalParams, AccountQuotasListByAccountOptionalParams, } from "./options.js";
|
|
3
|
+
export { accountQuotasGet, accountQuotasListByAccount } from "./accountQuotas/index.js";
|
|
4
|
+
export { accountsGet, accountsCreateOrUpdate, accountsUpdate, accountsDelete, accountsListByResourceGroup, accountsListBySubscription, accountsCheckNameAvailability, } from "./accounts/index.js";
|
|
5
|
+
export { operationsList } from "./operations/index.js";
|
|
6
|
+
export { quotasGet, quotasListBySubscription } from "./quotas/index.js";
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,4BAA4B,EAC5B,6BAA6B,EAC7B,0CAA0C,GAC3C,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACL,4BAA4B,EAC5B,yBAAyB,EACzB,oCAAoC,EACpC,4BAA4B,EAC5B,4BAA4B,EAC5B,yCAAyC,EACzC,wCAAwC,EACxC,2CAA2C,EAC3C,uBAAuB,EACvB,sCAAsC,EACtC,8BAA8B,EAC9B,wCAAwC,GACzC,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,gBAAgB,EAAE,0BAA0B,EAAE,MAAM,0BAA0B,CAAC;AACxF,OAAO,EACL,WAAW,EACX,sBAAsB,EACtB,cAAc,EACd,cAAc,EACd,2BAA2B,EAC3B,0BAA0B,EAC1B,6BAA6B,GAC9B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,SAAS,EAAE,wBAAwB,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
export { createAzurePlaywrightService, } from "./azurePlaywrightServiceContext.js";
|
|
4
|
+
export { accountQuotasGet, accountQuotasListByAccount } from "./accountQuotas/index.js";
|
|
5
|
+
export { accountsGet, accountsCreateOrUpdate, accountsUpdate, accountsDelete, accountsListByResourceGroup, accountsListBySubscription, accountsCheckNameAvailability, } from "./accounts/index.js";
|
|
6
|
+
export { operationsList } from "./operations/index.js";
|
|
7
|
+
export { quotasGet, quotasListBySubscription } from "./quotas/index.js";
|
|
8
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EACL,4BAA4B,GAG7B,MAAM,oCAAoC,CAAC;AAe5C,OAAO,EAAE,gBAAgB,EAAE,0BAA0B,EAAE,MAAM,0BAA0B,CAAC;AACxF,OAAO,EACL,WAAW,EACX,sBAAsB,EACtB,cAAc,EACd,cAAc,EACd,2BAA2B,EAC3B,0BAA0B,EAC1B,6BAA6B,GAC9B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,SAAS,EAAE,wBAAwB,EAAE,MAAM,mBAAmB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport {\n createAzurePlaywrightService,\n AzurePlaywrightServiceContext,\n AzurePlaywrightServiceClientOptionalParams,\n} from \"./azurePlaywrightServiceContext.js\";\nexport {\n OperationsListOptionalParams,\n AccountsGetOptionalParams,\n AccountsCreateOrUpdateOptionalParams,\n AccountsUpdateOptionalParams,\n AccountsDeleteOptionalParams,\n AccountsListByResourceGroupOptionalParams,\n AccountsListBySubscriptionOptionalParams,\n AccountsCheckNameAvailabilityOptionalParams,\n QuotasGetOptionalParams,\n QuotasListBySubscriptionOptionalParams,\n AccountQuotasGetOptionalParams,\n AccountQuotasListByAccountOptionalParams,\n} from \"./options.js\";\nexport { accountQuotasGet, accountQuotasListByAccount } from \"./accountQuotas/index.js\";\nexport {\n accountsGet,\n accountsCreateOrUpdate,\n accountsUpdate,\n accountsDelete,\n accountsListByResourceGroup,\n accountsListBySubscription,\n accountsCheckNameAvailability,\n} from \"./accounts/index.js\";\nexport { operationsList } from \"./operations/index.js\";\nexport { quotasGet, quotasListBySubscription } from \"./quotas/index.js\";\n"]}
|