@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
|
@@ -1,149 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
|
|
10
|
-
import { setContinuationToken } from "../pagingHelper";
|
|
11
|
-
import { Operations } from "../operationsInterfaces";
|
|
12
|
-
import * as coreClient from "@azure/core-client";
|
|
13
|
-
import * as Mappers from "../models/mappers";
|
|
14
|
-
import * as Parameters from "../models/parameters";
|
|
15
|
-
import { PlaywrightTestingClient } from "../playwrightTestingClient";
|
|
16
|
-
import {
|
|
17
|
-
Operation,
|
|
18
|
-
OperationsListNextOptionalParams,
|
|
19
|
-
OperationsListOptionalParams,
|
|
20
|
-
OperationsListResponse,
|
|
21
|
-
OperationsListNextResponse
|
|
22
|
-
} from "../models";
|
|
23
|
-
|
|
24
|
-
/// <reference lib="esnext.asynciterable" />
|
|
25
|
-
/** Class containing Operations operations. */
|
|
26
|
-
export class OperationsImpl implements Operations {
|
|
27
|
-
private readonly client: PlaywrightTestingClient;
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* Initialize a new instance of the class Operations class.
|
|
31
|
-
* @param client Reference to the service client
|
|
32
|
-
*/
|
|
33
|
-
constructor(client: PlaywrightTestingClient) {
|
|
34
|
-
this.client = client;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* List the operations for the provider
|
|
39
|
-
* @param options The options parameters.
|
|
40
|
-
*/
|
|
41
|
-
public list(
|
|
42
|
-
options?: OperationsListOptionalParams
|
|
43
|
-
): PagedAsyncIterableIterator<Operation> {
|
|
44
|
-
const iter = this.listPagingAll(options);
|
|
45
|
-
return {
|
|
46
|
-
next() {
|
|
47
|
-
return iter.next();
|
|
48
|
-
},
|
|
49
|
-
[Symbol.asyncIterator]() {
|
|
50
|
-
return this;
|
|
51
|
-
},
|
|
52
|
-
byPage: (settings?: PageSettings) => {
|
|
53
|
-
if (settings?.maxPageSize) {
|
|
54
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
55
|
-
}
|
|
56
|
-
return this.listPagingPage(options, settings);
|
|
57
|
-
}
|
|
58
|
-
};
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
private async *listPagingPage(
|
|
62
|
-
options?: OperationsListOptionalParams,
|
|
63
|
-
settings?: PageSettings
|
|
64
|
-
): AsyncIterableIterator<Operation[]> {
|
|
65
|
-
let result: OperationsListResponse;
|
|
66
|
-
let continuationToken = settings?.continuationToken;
|
|
67
|
-
if (!continuationToken) {
|
|
68
|
-
result = await this._list(options);
|
|
69
|
-
let page = result.value || [];
|
|
70
|
-
continuationToken = result.nextLink;
|
|
71
|
-
setContinuationToken(page, continuationToken);
|
|
72
|
-
yield page;
|
|
73
|
-
}
|
|
74
|
-
while (continuationToken) {
|
|
75
|
-
result = await this._listNext(continuationToken, options);
|
|
76
|
-
continuationToken = result.nextLink;
|
|
77
|
-
let page = result.value || [];
|
|
78
|
-
setContinuationToken(page, continuationToken);
|
|
79
|
-
yield page;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
private async *listPagingAll(
|
|
84
|
-
options?: OperationsListOptionalParams
|
|
85
|
-
): AsyncIterableIterator<Operation> {
|
|
86
|
-
for await (const page of this.listPagingPage(options)) {
|
|
87
|
-
yield* page;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
/**
|
|
92
|
-
* List the operations for the provider
|
|
93
|
-
* @param options The options parameters.
|
|
94
|
-
*/
|
|
95
|
-
private _list(
|
|
96
|
-
options?: OperationsListOptionalParams
|
|
97
|
-
): Promise<OperationsListResponse> {
|
|
98
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
/**
|
|
102
|
-
* ListNext
|
|
103
|
-
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
104
|
-
* @param options The options parameters.
|
|
105
|
-
*/
|
|
106
|
-
private _listNext(
|
|
107
|
-
nextLink: string,
|
|
108
|
-
options?: OperationsListNextOptionalParams
|
|
109
|
-
): Promise<OperationsListNextResponse> {
|
|
110
|
-
return this.client.sendOperationRequest(
|
|
111
|
-
{ nextLink, options },
|
|
112
|
-
listNextOperationSpec
|
|
113
|
-
);
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
// Operation Specifications
|
|
117
|
-
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
118
|
-
|
|
119
|
-
const listOperationSpec: coreClient.OperationSpec = {
|
|
120
|
-
path: "/providers/Microsoft.AzurePlaywrightService/operations",
|
|
121
|
-
httpMethod: "GET",
|
|
122
|
-
responses: {
|
|
123
|
-
200: {
|
|
124
|
-
bodyMapper: Mappers.OperationListResult
|
|
125
|
-
},
|
|
126
|
-
default: {
|
|
127
|
-
bodyMapper: Mappers.ErrorResponse
|
|
128
|
-
}
|
|
129
|
-
},
|
|
130
|
-
queryParameters: [Parameters.apiVersion],
|
|
131
|
-
urlParameters: [Parameters.$host],
|
|
132
|
-
headerParameters: [Parameters.accept],
|
|
133
|
-
serializer
|
|
134
|
-
};
|
|
135
|
-
const listNextOperationSpec: coreClient.OperationSpec = {
|
|
136
|
-
path: "{nextLink}",
|
|
137
|
-
httpMethod: "GET",
|
|
138
|
-
responses: {
|
|
139
|
-
200: {
|
|
140
|
-
bodyMapper: Mappers.OperationListResult
|
|
141
|
-
},
|
|
142
|
-
default: {
|
|
143
|
-
bodyMapper: Mappers.ErrorResponse
|
|
144
|
-
}
|
|
145
|
-
},
|
|
146
|
-
urlParameters: [Parameters.$host, Parameters.nextLink],
|
|
147
|
-
headerParameters: [Parameters.accept],
|
|
148
|
-
serializer
|
|
149
|
-
};
|
package/src/operations/quotas.ts
DELETED
|
@@ -1,219 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
|
|
10
|
-
import { setContinuationToken } from "../pagingHelper";
|
|
11
|
-
import { Quotas } from "../operationsInterfaces";
|
|
12
|
-
import * as coreClient from "@azure/core-client";
|
|
13
|
-
import * as Mappers from "../models/mappers";
|
|
14
|
-
import * as Parameters from "../models/parameters";
|
|
15
|
-
import { PlaywrightTestingClient } from "../playwrightTestingClient";
|
|
16
|
-
import {
|
|
17
|
-
Quota,
|
|
18
|
-
QuotasListBySubscriptionNextOptionalParams,
|
|
19
|
-
QuotasListBySubscriptionOptionalParams,
|
|
20
|
-
QuotasListBySubscriptionResponse,
|
|
21
|
-
QuotaNames,
|
|
22
|
-
QuotasGetOptionalParams,
|
|
23
|
-
QuotasGetResponse,
|
|
24
|
-
QuotasListBySubscriptionNextResponse
|
|
25
|
-
} from "../models";
|
|
26
|
-
|
|
27
|
-
/// <reference lib="esnext.asynciterable" />
|
|
28
|
-
/** Class containing Quotas operations. */
|
|
29
|
-
export class QuotasImpl implements Quotas {
|
|
30
|
-
private readonly client: PlaywrightTestingClient;
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* Initialize a new instance of the class Quotas class.
|
|
34
|
-
* @param client Reference to the service client
|
|
35
|
-
*/
|
|
36
|
-
constructor(client: PlaywrightTestingClient) {
|
|
37
|
-
this.client = client;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* List quotas for a given subscription Id.
|
|
42
|
-
* @param location The location of quota in ARM Normalized format like eastus, southeastasia etc.
|
|
43
|
-
* @param options The options parameters.
|
|
44
|
-
*/
|
|
45
|
-
public listBySubscription(
|
|
46
|
-
location: string,
|
|
47
|
-
options?: QuotasListBySubscriptionOptionalParams
|
|
48
|
-
): PagedAsyncIterableIterator<Quota> {
|
|
49
|
-
const iter = this.listBySubscriptionPagingAll(location, options);
|
|
50
|
-
return {
|
|
51
|
-
next() {
|
|
52
|
-
return iter.next();
|
|
53
|
-
},
|
|
54
|
-
[Symbol.asyncIterator]() {
|
|
55
|
-
return this;
|
|
56
|
-
},
|
|
57
|
-
byPage: (settings?: PageSettings) => {
|
|
58
|
-
if (settings?.maxPageSize) {
|
|
59
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
60
|
-
}
|
|
61
|
-
return this.listBySubscriptionPagingPage(location, options, settings);
|
|
62
|
-
}
|
|
63
|
-
};
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
private async *listBySubscriptionPagingPage(
|
|
67
|
-
location: string,
|
|
68
|
-
options?: QuotasListBySubscriptionOptionalParams,
|
|
69
|
-
settings?: PageSettings
|
|
70
|
-
): AsyncIterableIterator<Quota[]> {
|
|
71
|
-
let result: QuotasListBySubscriptionResponse;
|
|
72
|
-
let continuationToken = settings?.continuationToken;
|
|
73
|
-
if (!continuationToken) {
|
|
74
|
-
result = await this._listBySubscription(location, options);
|
|
75
|
-
let page = result.value || [];
|
|
76
|
-
continuationToken = result.nextLink;
|
|
77
|
-
setContinuationToken(page, continuationToken);
|
|
78
|
-
yield page;
|
|
79
|
-
}
|
|
80
|
-
while (continuationToken) {
|
|
81
|
-
result = await this._listBySubscriptionNext(
|
|
82
|
-
location,
|
|
83
|
-
continuationToken,
|
|
84
|
-
options
|
|
85
|
-
);
|
|
86
|
-
continuationToken = result.nextLink;
|
|
87
|
-
let page = result.value || [];
|
|
88
|
-
setContinuationToken(page, continuationToken);
|
|
89
|
-
yield page;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private async *listBySubscriptionPagingAll(
|
|
94
|
-
location: string,
|
|
95
|
-
options?: QuotasListBySubscriptionOptionalParams
|
|
96
|
-
): AsyncIterableIterator<Quota> {
|
|
97
|
-
for await (const page of this.listBySubscriptionPagingPage(
|
|
98
|
-
location,
|
|
99
|
-
options
|
|
100
|
-
)) {
|
|
101
|
-
yield* page;
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
/**
|
|
106
|
-
* List quotas for a given subscription Id.
|
|
107
|
-
* @param location The location of quota in ARM Normalized format like eastus, southeastasia etc.
|
|
108
|
-
* @param options The options parameters.
|
|
109
|
-
*/
|
|
110
|
-
private _listBySubscription(
|
|
111
|
-
location: string,
|
|
112
|
-
options?: QuotasListBySubscriptionOptionalParams
|
|
113
|
-
): Promise<QuotasListBySubscriptionResponse> {
|
|
114
|
-
return this.client.sendOperationRequest(
|
|
115
|
-
{ location, options },
|
|
116
|
-
listBySubscriptionOperationSpec
|
|
117
|
-
);
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
/**
|
|
121
|
-
* Get quota by name.
|
|
122
|
-
* @param location The location of quota in ARM Normalized format like eastus, southeastasia etc.
|
|
123
|
-
* @param name The quota name.
|
|
124
|
-
* @param options The options parameters.
|
|
125
|
-
*/
|
|
126
|
-
get(
|
|
127
|
-
location: string,
|
|
128
|
-
name: QuotaNames,
|
|
129
|
-
options?: QuotasGetOptionalParams
|
|
130
|
-
): Promise<QuotasGetResponse> {
|
|
131
|
-
return this.client.sendOperationRequest(
|
|
132
|
-
{ location, name, options },
|
|
133
|
-
getOperationSpec
|
|
134
|
-
);
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
/**
|
|
138
|
-
* ListBySubscriptionNext
|
|
139
|
-
* @param location The location of quota in ARM Normalized format like eastus, southeastasia etc.
|
|
140
|
-
* @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
|
|
141
|
-
* @param options The options parameters.
|
|
142
|
-
*/
|
|
143
|
-
private _listBySubscriptionNext(
|
|
144
|
-
location: string,
|
|
145
|
-
nextLink: string,
|
|
146
|
-
options?: QuotasListBySubscriptionNextOptionalParams
|
|
147
|
-
): Promise<QuotasListBySubscriptionNextResponse> {
|
|
148
|
-
return this.client.sendOperationRequest(
|
|
149
|
-
{ location, nextLink, options },
|
|
150
|
-
listBySubscriptionNextOperationSpec
|
|
151
|
-
);
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
// Operation Specifications
|
|
155
|
-
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
156
|
-
|
|
157
|
-
const listBySubscriptionOperationSpec: coreClient.OperationSpec = {
|
|
158
|
-
path:
|
|
159
|
-
"/subscriptions/{subscriptionId}/providers/Microsoft.AzurePlaywrightService/locations/{location}/quotas",
|
|
160
|
-
httpMethod: "GET",
|
|
161
|
-
responses: {
|
|
162
|
-
200: {
|
|
163
|
-
bodyMapper: Mappers.QuotaListResult
|
|
164
|
-
},
|
|
165
|
-
default: {
|
|
166
|
-
bodyMapper: Mappers.ErrorResponse
|
|
167
|
-
}
|
|
168
|
-
},
|
|
169
|
-
queryParameters: [Parameters.apiVersion],
|
|
170
|
-
urlParameters: [
|
|
171
|
-
Parameters.$host,
|
|
172
|
-
Parameters.subscriptionId,
|
|
173
|
-
Parameters.location
|
|
174
|
-
],
|
|
175
|
-
headerParameters: [Parameters.accept],
|
|
176
|
-
serializer
|
|
177
|
-
};
|
|
178
|
-
const getOperationSpec: coreClient.OperationSpec = {
|
|
179
|
-
path:
|
|
180
|
-
"/subscriptions/{subscriptionId}/providers/Microsoft.AzurePlaywrightService/locations/{location}/quotas/{name}",
|
|
181
|
-
httpMethod: "GET",
|
|
182
|
-
responses: {
|
|
183
|
-
200: {
|
|
184
|
-
bodyMapper: Mappers.Quota
|
|
185
|
-
},
|
|
186
|
-
default: {
|
|
187
|
-
bodyMapper: Mappers.ErrorResponse
|
|
188
|
-
}
|
|
189
|
-
},
|
|
190
|
-
queryParameters: [Parameters.apiVersion],
|
|
191
|
-
urlParameters: [
|
|
192
|
-
Parameters.$host,
|
|
193
|
-
Parameters.subscriptionId,
|
|
194
|
-
Parameters.location,
|
|
195
|
-
Parameters.name1
|
|
196
|
-
],
|
|
197
|
-
headerParameters: [Parameters.accept],
|
|
198
|
-
serializer
|
|
199
|
-
};
|
|
200
|
-
const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {
|
|
201
|
-
path: "{nextLink}",
|
|
202
|
-
httpMethod: "GET",
|
|
203
|
-
responses: {
|
|
204
|
-
200: {
|
|
205
|
-
bodyMapper: Mappers.QuotaListResult
|
|
206
|
-
},
|
|
207
|
-
default: {
|
|
208
|
-
bodyMapper: Mappers.ErrorResponse
|
|
209
|
-
}
|
|
210
|
-
},
|
|
211
|
-
urlParameters: [
|
|
212
|
-
Parameters.$host,
|
|
213
|
-
Parameters.nextLink,
|
|
214
|
-
Parameters.subscriptionId,
|
|
215
|
-
Parameters.location
|
|
216
|
-
],
|
|
217
|
-
headerParameters: [Parameters.accept],
|
|
218
|
-
serializer
|
|
219
|
-
};
|
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
-
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
11
|
-
import {
|
|
12
|
-
Account,
|
|
13
|
-
AccountsListBySubscriptionOptionalParams,
|
|
14
|
-
AccountsListByResourceGroupOptionalParams,
|
|
15
|
-
AccountsGetOptionalParams,
|
|
16
|
-
AccountsGetResponse,
|
|
17
|
-
AccountsCreateOrUpdateOptionalParams,
|
|
18
|
-
AccountsCreateOrUpdateResponse,
|
|
19
|
-
AccountUpdate,
|
|
20
|
-
AccountsUpdateOptionalParams,
|
|
21
|
-
AccountsUpdateResponse,
|
|
22
|
-
AccountsDeleteOptionalParams
|
|
23
|
-
} from "../models";
|
|
24
|
-
|
|
25
|
-
/// <reference lib="esnext.asynciterable" />
|
|
26
|
-
/** Interface representing a Accounts. */
|
|
27
|
-
export interface Accounts {
|
|
28
|
-
/**
|
|
29
|
-
* List Account resources by subscription ID
|
|
30
|
-
* @param options The options parameters.
|
|
31
|
-
*/
|
|
32
|
-
listBySubscription(
|
|
33
|
-
options?: AccountsListBySubscriptionOptionalParams
|
|
34
|
-
): PagedAsyncIterableIterator<Account>;
|
|
35
|
-
/**
|
|
36
|
-
* List Account resources by resource group
|
|
37
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
38
|
-
* @param options The options parameters.
|
|
39
|
-
*/
|
|
40
|
-
listByResourceGroup(
|
|
41
|
-
resourceGroupName: string,
|
|
42
|
-
options?: AccountsListByResourceGroupOptionalParams
|
|
43
|
-
): PagedAsyncIterableIterator<Account>;
|
|
44
|
-
/**
|
|
45
|
-
* Get a Account
|
|
46
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
47
|
-
* @param name Name of account
|
|
48
|
-
* @param options The options parameters.
|
|
49
|
-
*/
|
|
50
|
-
get(
|
|
51
|
-
resourceGroupName: string,
|
|
52
|
-
name: string,
|
|
53
|
-
options?: AccountsGetOptionalParams
|
|
54
|
-
): Promise<AccountsGetResponse>;
|
|
55
|
-
/**
|
|
56
|
-
* Create a Account
|
|
57
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
58
|
-
* @param name Name of account
|
|
59
|
-
* @param resource Resource create parameters.
|
|
60
|
-
* @param options The options parameters.
|
|
61
|
-
*/
|
|
62
|
-
beginCreateOrUpdate(
|
|
63
|
-
resourceGroupName: string,
|
|
64
|
-
name: string,
|
|
65
|
-
resource: Account,
|
|
66
|
-
options?: AccountsCreateOrUpdateOptionalParams
|
|
67
|
-
): Promise<
|
|
68
|
-
SimplePollerLike<
|
|
69
|
-
OperationState<AccountsCreateOrUpdateResponse>,
|
|
70
|
-
AccountsCreateOrUpdateResponse
|
|
71
|
-
>
|
|
72
|
-
>;
|
|
73
|
-
/**
|
|
74
|
-
* Create a Account
|
|
75
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
76
|
-
* @param name Name of account
|
|
77
|
-
* @param resource Resource create parameters.
|
|
78
|
-
* @param options The options parameters.
|
|
79
|
-
*/
|
|
80
|
-
beginCreateOrUpdateAndWait(
|
|
81
|
-
resourceGroupName: string,
|
|
82
|
-
name: string,
|
|
83
|
-
resource: Account,
|
|
84
|
-
options?: AccountsCreateOrUpdateOptionalParams
|
|
85
|
-
): Promise<AccountsCreateOrUpdateResponse>;
|
|
86
|
-
/**
|
|
87
|
-
* Update a Account
|
|
88
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
89
|
-
* @param name Name of account
|
|
90
|
-
* @param properties The resource properties to be updated.
|
|
91
|
-
* @param options The options parameters.
|
|
92
|
-
*/
|
|
93
|
-
update(
|
|
94
|
-
resourceGroupName: string,
|
|
95
|
-
name: string,
|
|
96
|
-
properties: AccountUpdate,
|
|
97
|
-
options?: AccountsUpdateOptionalParams
|
|
98
|
-
): Promise<AccountsUpdateResponse>;
|
|
99
|
-
/**
|
|
100
|
-
* Delete a Account
|
|
101
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
102
|
-
* @param name Name of account
|
|
103
|
-
* @param options The options parameters.
|
|
104
|
-
*/
|
|
105
|
-
beginDelete(
|
|
106
|
-
resourceGroupName: string,
|
|
107
|
-
name: string,
|
|
108
|
-
options?: AccountsDeleteOptionalParams
|
|
109
|
-
): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
110
|
-
/**
|
|
111
|
-
* Delete a Account
|
|
112
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
113
|
-
* @param name Name of account
|
|
114
|
-
* @param options The options parameters.
|
|
115
|
-
*/
|
|
116
|
-
beginDeleteAndWait(
|
|
117
|
-
resourceGroupName: string,
|
|
118
|
-
name: string,
|
|
119
|
-
options?: AccountsDeleteOptionalParams
|
|
120
|
-
): Promise<void>;
|
|
121
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
export * from "./operations";
|
|
10
|
-
export * from "./accounts";
|
|
11
|
-
export * from "./quotas";
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
-
import { Operation, OperationsListOptionalParams } from "../models";
|
|
11
|
-
|
|
12
|
-
/// <reference lib="esnext.asynciterable" />
|
|
13
|
-
/** Interface representing a Operations. */
|
|
14
|
-
export interface Operations {
|
|
15
|
-
/**
|
|
16
|
-
* List the operations for the provider
|
|
17
|
-
* @param options The options parameters.
|
|
18
|
-
*/
|
|
19
|
-
list(
|
|
20
|
-
options?: OperationsListOptionalParams
|
|
21
|
-
): PagedAsyncIterableIterator<Operation>;
|
|
22
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
-
import {
|
|
11
|
-
Quota,
|
|
12
|
-
QuotasListBySubscriptionOptionalParams,
|
|
13
|
-
QuotaNames,
|
|
14
|
-
QuotasGetOptionalParams,
|
|
15
|
-
QuotasGetResponse
|
|
16
|
-
} from "../models";
|
|
17
|
-
|
|
18
|
-
/// <reference lib="esnext.asynciterable" />
|
|
19
|
-
/** Interface representing a Quotas. */
|
|
20
|
-
export interface Quotas {
|
|
21
|
-
/**
|
|
22
|
-
* List quotas for a given subscription Id.
|
|
23
|
-
* @param location The location of quota in ARM Normalized format like eastus, southeastasia etc.
|
|
24
|
-
* @param options The options parameters.
|
|
25
|
-
*/
|
|
26
|
-
listBySubscription(
|
|
27
|
-
location: string,
|
|
28
|
-
options?: QuotasListBySubscriptionOptionalParams
|
|
29
|
-
): PagedAsyncIterableIterator<Quota>;
|
|
30
|
-
/**
|
|
31
|
-
* Get quota by name.
|
|
32
|
-
* @param location The location of quota in ARM Normalized format like eastus, southeastasia etc.
|
|
33
|
-
* @param name The quota name.
|
|
34
|
-
* @param options The options parameters.
|
|
35
|
-
*/
|
|
36
|
-
get(
|
|
37
|
-
location: string,
|
|
38
|
-
name: QuotaNames,
|
|
39
|
-
options?: QuotasGetOptionalParams
|
|
40
|
-
): Promise<QuotasGetResponse>;
|
|
41
|
-
}
|
package/src/pagingHelper.ts
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
export interface PageInfo {
|
|
10
|
-
continuationToken?: string;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
const pageMap = new WeakMap<object, PageInfo>();
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* Given the last `.value` produced by the `byPage` iterator,
|
|
17
|
-
* returns a continuation token that can be used to begin paging from
|
|
18
|
-
* that point later.
|
|
19
|
-
* @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
|
|
20
|
-
* @returns The continuation token that can be passed into byPage() during future calls.
|
|
21
|
-
*/
|
|
22
|
-
export function getContinuationToken(page: unknown): string | undefined {
|
|
23
|
-
if (typeof page !== "object" || page === null) {
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
26
|
-
return pageMap.get(page)?.continuationToken;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export function setContinuationToken(
|
|
30
|
-
page: unknown,
|
|
31
|
-
continuationToken: string | undefined
|
|
32
|
-
): void {
|
|
33
|
-
if (typeof page !== "object" || page === null || !continuationToken) {
|
|
34
|
-
return;
|
|
35
|
-
}
|
|
36
|
-
const pageInfo = pageMap.get(page) ?? {};
|
|
37
|
-
pageInfo.continuationToken = continuationToken;
|
|
38
|
-
pageMap.set(page, pageInfo);
|
|
39
|
-
}
|