@azure/arm-datalake-analytics 2.0.0-beta.4 → 2.0.0-beta.5
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 +12 -2
- package/LICENSE +4 -4
- package/README.md +30 -18
- package/{dist-esm/src → dist/browser}/dataLakeAnalyticsAccountManagementClient.d.ts +2 -2
- package/dist/browser/dataLakeAnalyticsAccountManagementClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/dataLakeAnalyticsAccountManagementClient.js +36 -24
- package/dist/browser/dataLakeAnalyticsAccountManagementClient.js.map +1 -0
- package/dist/browser/index.d.ts +5 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/index.js +4 -4
- package/dist/browser/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/lroImpl.js +13 -9
- package/dist/browser/lroImpl.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/index.d.ts +42 -42
- package/{dist-esm/src → dist/browser}/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/mappers.js +184 -87
- package/dist/browser/models/mappers.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
- package/dist/browser/models/parameters.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/accounts.d.ts +3 -3
- package/dist/browser/operations/accounts.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/accounts.js +160 -187
- package/dist/browser/operations/accounts.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/computePolicies.d.ts +3 -3
- package/dist/browser/operations/computePolicies.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/computePolicies.js +26 -41
- package/dist/browser/operations/computePolicies.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/dataLakeStoreAccounts.d.ts +3 -3
- package/dist/browser/operations/dataLakeStoreAccounts.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/dataLakeStoreAccounts.js +26 -41
- package/dist/browser/operations/dataLakeStoreAccounts.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/firewallRules.d.ts +3 -3
- package/dist/browser/operations/firewallRules.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/firewallRules.js +26 -41
- package/dist/browser/operations/firewallRules.js.map +1 -0
- package/dist/browser/operations/index.d.ts +8 -0
- package/dist/browser/operations/index.d.ts.map +1 -0
- package/dist/browser/operations/index.js +15 -0
- package/dist/browser/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/locations.d.ts +3 -3
- package/dist/browser/operations/locations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/locations.js +3 -2
- package/dist/browser/operations/locations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
- package/dist/browser/operations/operations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.js +3 -2
- package/dist/browser/operations/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/storageAccounts.d.ts +3 -3
- package/dist/browser/operations/storageAccounts.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/storageAccounts.js +70 -115
- package/dist/browser/operations/storageAccounts.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/accounts.d.ts +1 -1
- package/dist/browser/operationsInterfaces/accounts.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/accounts.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/computePolicies.d.ts +1 -1
- package/dist/browser/operationsInterfaces/computePolicies.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/computePolicies.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/dataLakeStoreAccounts.d.ts +1 -1
- package/dist/browser/operationsInterfaces/dataLakeStoreAccounts.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/dataLakeStoreAccounts.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/firewallRules.d.ts +1 -1
- package/dist/browser/operationsInterfaces/firewallRules.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/firewallRules.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +8 -0
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/index.js +15 -0
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/locations.d.ts +1 -1
- package/dist/browser/operationsInterfaces/locations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/locations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
- package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/storageAccounts.d.ts +1 -1
- package/dist/browser/operationsInterfaces/storageAccounts.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/storageAccounts.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/{dist-esm/src → dist/browser}/pagingHelper.js +2 -4
- package/dist/browser/pagingHelper.js.map +1 -0
- package/dist/commonjs/dataLakeAnalyticsAccountManagementClient.d.ts +27 -0
- package/dist/commonjs/dataLakeAnalyticsAccountManagementClient.d.ts.map +1 -0
- package/dist/commonjs/dataLakeAnalyticsAccountManagementClient.js +124 -0
- package/dist/commonjs/dataLakeAnalyticsAccountManagementClient.js.map +1 -0
- package/dist/commonjs/index.d.ts +5 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +19 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/lroImpl.d.ts +16 -0
- package/dist/commonjs/lroImpl.d.ts.map +1 -0
- package/dist/commonjs/lroImpl.js +37 -0
- package/dist/commonjs/lroImpl.js.map +1 -0
- package/{types/arm-datalake-analytics.d.ts → dist/commonjs/models/index.d.ts} +1357 -1840
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +45 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +56 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +2396 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +32 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +257 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/accounts.d.ts +120 -0
- package/dist/commonjs/operations/accounts.d.ts.map +1 -0
- package/dist/commonjs/operations/accounts.js +576 -0
- package/dist/commonjs/operations/accounts.js.map +1 -0
- package/dist/commonjs/operations/computePolicies.d.ts +76 -0
- package/dist/commonjs/operations/computePolicies.d.ts.map +1 -0
- package/dist/commonjs/operations/computePolicies.js +282 -0
- package/dist/commonjs/operations/computePolicies.js.map +1 -0
- package/dist/commonjs/operations/dataLakeStoreAccounts.d.ts +64 -0
- package/dist/commonjs/operations/dataLakeStoreAccounts.d.ts.map +1 -0
- package/dist/commonjs/operations/dataLakeStoreAccounts.js +252 -0
- package/dist/commonjs/operations/dataLakeStoreAccounts.js.map +1 -0
- package/dist/commonjs/operations/firewallRules.d.ts +72 -0
- package/dist/commonjs/operations/firewallRules.d.ts.map +1 -0
- package/dist/commonjs/operations/firewallRules.js +272 -0
- package/dist/commonjs/operations/firewallRules.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +8 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +18 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/locations.d.ts +20 -0
- package/dist/commonjs/operations/locations.d.ts.map +1 -0
- package/dist/commonjs/operations/locations.js +59 -0
- package/dist/commonjs/operations/locations.js.map +1 -0
- package/dist/commonjs/operations/operations.d.ts +18 -0
- package/dist/commonjs/operations/operations.d.ts.map +1 -0
- package/dist/commonjs/operations/operations.js +52 -0
- package/dist/commonjs/operations/operations.js.map +1 -0
- package/dist/commonjs/operations/storageAccounts.d.ts +153 -0
- package/dist/commonjs/operations/storageAccounts.d.ts.map +1 -0
- package/dist/commonjs/operations/storageAccounts.js +588 -0
- package/dist/commonjs/operations/storageAccounts.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/accounts.d.ts +82 -0
- package/dist/commonjs/operationsInterfaces/accounts.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/accounts.js +10 -0
- package/dist/commonjs/operationsInterfaces/accounts.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/computePolicies.d.ts +50 -0
- package/dist/commonjs/operationsInterfaces/computePolicies.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/computePolicies.js +10 -0
- package/dist/commonjs/operationsInterfaces/computePolicies.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/dataLakeStoreAccounts.d.ts +38 -0
- package/dist/commonjs/operationsInterfaces/dataLakeStoreAccounts.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/dataLakeStoreAccounts.js +10 -0
- package/dist/commonjs/operationsInterfaces/dataLakeStoreAccounts.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/firewallRules.d.ts +47 -0
- package/dist/commonjs/operationsInterfaces/firewallRules.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/firewallRules.js +10 -0
- package/dist/commonjs/operationsInterfaces/firewallRules.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +8 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +18 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/locations.d.ts +12 -0
- package/dist/commonjs/operationsInterfaces/locations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/locations.js +10 -0
- package/dist/commonjs/operationsInterfaces/locations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts +10 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.js +10 -0
- package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/storageAccounts.d.ts +81 -0
- package/dist/commonjs/operationsInterfaces/storageAccounts.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/storageAccounts.js +10 -0
- package/dist/commonjs/operationsInterfaces/storageAccounts.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/pagingHelper.d.ts +13 -0
- package/dist/commonjs/pagingHelper.d.ts.map +1 -0
- package/dist/commonjs/pagingHelper.js +34 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
- package/dist/esm/dataLakeAnalyticsAccountManagementClient.d.ts +27 -0
- package/dist/esm/dataLakeAnalyticsAccountManagementClient.d.ts.map +1 -0
- package/dist/esm/dataLakeAnalyticsAccountManagementClient.js +119 -0
- package/dist/esm/dataLakeAnalyticsAccountManagementClient.js.map +1 -0
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/{src/index.ts → dist/esm/index.js} +5 -5
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/lroImpl.d.ts +16 -0
- package/dist/esm/lroImpl.d.ts.map +1 -0
- package/dist/esm/lroImpl.js +33 -0
- package/dist/esm/lroImpl.js.map +1 -0
- package/dist/esm/models/index.d.ts +1357 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +42 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +56 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +2392 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +32 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +254 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/accounts.d.ts +120 -0
- package/dist/esm/operations/accounts.d.ts.map +1 -0
- package/dist/esm/operations/accounts.js +571 -0
- package/dist/esm/operations/accounts.js.map +1 -0
- package/dist/esm/operations/computePolicies.d.ts +76 -0
- package/dist/esm/operations/computePolicies.d.ts.map +1 -0
- package/dist/esm/operations/computePolicies.js +277 -0
- package/dist/esm/operations/computePolicies.js.map +1 -0
- package/dist/esm/operations/dataLakeStoreAccounts.d.ts +64 -0
- package/dist/esm/operations/dataLakeStoreAccounts.d.ts.map +1 -0
- package/dist/esm/operations/dataLakeStoreAccounts.js +247 -0
- package/dist/esm/operations/dataLakeStoreAccounts.js.map +1 -0
- package/dist/esm/operations/firewallRules.d.ts +72 -0
- package/dist/esm/operations/firewallRules.d.ts.map +1 -0
- package/dist/esm/operations/firewallRules.js +267 -0
- package/dist/esm/operations/firewallRules.js.map +1 -0
- package/dist/esm/operations/index.d.ts +8 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +15 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/locations.d.ts +20 -0
- package/dist/esm/operations/locations.d.ts.map +1 -0
- package/dist/esm/operations/locations.js +54 -0
- package/dist/esm/operations/locations.js.map +1 -0
- package/dist/esm/operations/operations.d.ts +18 -0
- package/dist/esm/operations/operations.d.ts.map +1 -0
- package/dist/esm/operations/operations.js +47 -0
- package/dist/esm/operations/operations.js.map +1 -0
- package/dist/esm/operations/storageAccounts.d.ts +153 -0
- package/dist/esm/operations/storageAccounts.d.ts.map +1 -0
- package/dist/esm/operations/storageAccounts.js +583 -0
- package/dist/esm/operations/storageAccounts.js.map +1 -0
- package/dist/esm/operationsInterfaces/accounts.d.ts +82 -0
- package/dist/esm/operationsInterfaces/accounts.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/accounts.js +9 -0
- package/dist/esm/operationsInterfaces/accounts.js.map +1 -0
- package/dist/esm/operationsInterfaces/computePolicies.d.ts +50 -0
- package/dist/esm/operationsInterfaces/computePolicies.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/computePolicies.js +9 -0
- package/dist/esm/operationsInterfaces/computePolicies.js.map +1 -0
- package/dist/esm/operationsInterfaces/dataLakeStoreAccounts.d.ts +38 -0
- package/dist/esm/operationsInterfaces/dataLakeStoreAccounts.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/dataLakeStoreAccounts.js +9 -0
- package/dist/esm/operationsInterfaces/dataLakeStoreAccounts.js.map +1 -0
- package/dist/esm/operationsInterfaces/firewallRules.d.ts +47 -0
- package/dist/esm/operationsInterfaces/firewallRules.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/firewallRules.js +9 -0
- package/dist/esm/operationsInterfaces/firewallRules.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +8 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +15 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/locations.d.ts +12 -0
- package/dist/esm/operationsInterfaces/locations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/locations.js +9 -0
- package/dist/esm/operationsInterfaces/locations.js.map +1 -0
- package/dist/esm/operationsInterfaces/operations.d.ts +10 -0
- package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/operations.js +9 -0
- package/dist/esm/operationsInterfaces/operations.js.map +1 -0
- package/dist/esm/operationsInterfaces/storageAccounts.d.ts +81 -0
- package/dist/esm/operationsInterfaces/storageAccounts.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/storageAccounts.js +9 -0
- package/dist/esm/operationsInterfaces/storageAccounts.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/pagingHelper.d.ts +13 -0
- package/dist/esm/pagingHelper.d.ts.map +1 -0
- package/dist/esm/pagingHelper.js +30 -0
- package/dist/esm/pagingHelper.js.map +1 -0
- package/dist/react-native/dataLakeAnalyticsAccountManagementClient.d.ts +27 -0
- package/dist/react-native/dataLakeAnalyticsAccountManagementClient.d.ts.map +1 -0
- package/dist/react-native/dataLakeAnalyticsAccountManagementClient.js +119 -0
- package/dist/react-native/dataLakeAnalyticsAccountManagementClient.js.map +1 -0
- package/dist/react-native/index.d.ts +5 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +13 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/lroImpl.d.ts +16 -0
- package/dist/react-native/lroImpl.d.ts.map +1 -0
- package/dist/react-native/lroImpl.js +33 -0
- package/dist/react-native/lroImpl.js.map +1 -0
- package/dist/react-native/models/index.d.ts +1357 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +42 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +56 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +2392 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +32 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +254 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/accounts.d.ts +120 -0
- package/dist/react-native/operations/accounts.d.ts.map +1 -0
- package/dist/react-native/operations/accounts.js +571 -0
- package/dist/react-native/operations/accounts.js.map +1 -0
- package/dist/react-native/operations/computePolicies.d.ts +76 -0
- package/dist/react-native/operations/computePolicies.d.ts.map +1 -0
- package/dist/react-native/operations/computePolicies.js +277 -0
- package/dist/react-native/operations/computePolicies.js.map +1 -0
- package/dist/react-native/operations/dataLakeStoreAccounts.d.ts +64 -0
- package/dist/react-native/operations/dataLakeStoreAccounts.d.ts.map +1 -0
- package/dist/react-native/operations/dataLakeStoreAccounts.js +247 -0
- package/dist/react-native/operations/dataLakeStoreAccounts.js.map +1 -0
- package/dist/react-native/operations/firewallRules.d.ts +72 -0
- package/dist/react-native/operations/firewallRules.d.ts.map +1 -0
- package/dist/react-native/operations/firewallRules.js +267 -0
- package/dist/react-native/operations/firewallRules.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +8 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +15 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/locations.d.ts +20 -0
- package/dist/react-native/operations/locations.d.ts.map +1 -0
- package/dist/react-native/operations/locations.js +54 -0
- package/dist/react-native/operations/locations.js.map +1 -0
- package/dist/react-native/operations/operations.d.ts +18 -0
- package/dist/react-native/operations/operations.d.ts.map +1 -0
- package/dist/react-native/operations/operations.js +47 -0
- package/dist/react-native/operations/operations.js.map +1 -0
- package/dist/react-native/operations/storageAccounts.d.ts +153 -0
- package/dist/react-native/operations/storageAccounts.d.ts.map +1 -0
- package/dist/react-native/operations/storageAccounts.js +583 -0
- package/dist/react-native/operations/storageAccounts.js.map +1 -0
- package/dist/react-native/operationsInterfaces/accounts.d.ts +82 -0
- package/dist/react-native/operationsInterfaces/accounts.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/accounts.js +9 -0
- package/dist/react-native/operationsInterfaces/accounts.js.map +1 -0
- package/dist/react-native/operationsInterfaces/computePolicies.d.ts +50 -0
- package/dist/react-native/operationsInterfaces/computePolicies.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/computePolicies.js +9 -0
- package/dist/react-native/operationsInterfaces/computePolicies.js.map +1 -0
- package/dist/react-native/operationsInterfaces/dataLakeStoreAccounts.d.ts +38 -0
- package/dist/react-native/operationsInterfaces/dataLakeStoreAccounts.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/dataLakeStoreAccounts.js +9 -0
- package/dist/react-native/operationsInterfaces/dataLakeStoreAccounts.js.map +1 -0
- package/dist/react-native/operationsInterfaces/firewallRules.d.ts +47 -0
- package/dist/react-native/operationsInterfaces/firewallRules.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/firewallRules.js +9 -0
- package/dist/react-native/operationsInterfaces/firewallRules.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +8 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +15 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/locations.d.ts +12 -0
- package/dist/react-native/operationsInterfaces/locations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/locations.js +9 -0
- package/dist/react-native/operationsInterfaces/locations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts +10 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.js +9 -0
- package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/storageAccounts.d.ts +81 -0
- package/dist/react-native/operationsInterfaces/storageAccounts.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/storageAccounts.js +9 -0
- package/dist/react-native/operationsInterfaces/storageAccounts.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/pagingHelper.d.ts +13 -0
- package/dist/react-native/pagingHelper.d.ts.map +1 -0
- package/dist/react-native/pagingHelper.js +30 -0
- package/dist/react-native/pagingHelper.js.map +1 -0
- package/package.json +85 -76
- package/dist/index.js +0 -4972
- 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/accountsCheckNameAvailabilitySample.d.ts +0 -2
- package/dist-esm/samples-dev/accountsCheckNameAvailabilitySample.d.ts.map +0 -1
- package/dist-esm/samples-dev/accountsCheckNameAvailabilitySample.js +0 -34
- package/dist-esm/samples-dev/accountsCheckNameAvailabilitySample.js.map +0 -1
- package/dist-esm/samples-dev/accountsCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/accountsCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/accountsCreateSample.js +0 -64
- package/dist-esm/samples-dev/accountsCreateSample.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 -31
- 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 -31
- 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 -58
- package/dist-esm/samples-dev/accountsListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/accountsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/accountsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/accountsListSample.js +0 -57
- package/dist-esm/samples-dev/accountsListSample.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 -55
- package/dist-esm/samples-dev/accountsUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/computePoliciesCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/computePoliciesCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/computePoliciesCreateOrUpdateSample.js +0 -38
- package/dist-esm/samples-dev/computePoliciesCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/computePoliciesDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/computePoliciesDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/computePoliciesDeleteSample.js +0 -32
- package/dist-esm/samples-dev/computePoliciesDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/computePoliciesGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/computePoliciesGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/computePoliciesGetSample.js +0 -32
- package/dist-esm/samples-dev/computePoliciesGetSample.js.map +0 -1
- package/dist-esm/samples-dev/computePoliciesListByAccountSample.d.ts +0 -2
- package/dist-esm/samples-dev/computePoliciesListByAccountSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/computePoliciesListByAccountSample.js +0 -45
- package/dist-esm/samples-dev/computePoliciesListByAccountSample.js.map +0 -1
- package/dist-esm/samples-dev/computePoliciesUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/computePoliciesUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/computePoliciesUpdateSample.js +0 -37
- package/dist-esm/samples-dev/computePoliciesUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/dataLakeStoreAccountsAddSample.d.ts +0 -2
- package/dist-esm/samples-dev/dataLakeStoreAccountsAddSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/dataLakeStoreAccountsAddSample.js +0 -34
- package/dist-esm/samples-dev/dataLakeStoreAccountsAddSample.js.map +0 -1
- package/dist-esm/samples-dev/dataLakeStoreAccountsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/dataLakeStoreAccountsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/dataLakeStoreAccountsDeleteSample.js +0 -32
- package/dist-esm/samples-dev/dataLakeStoreAccountsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/dataLakeStoreAccountsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/dataLakeStoreAccountsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/dataLakeStoreAccountsGetSample.js +0 -32
- package/dist-esm/samples-dev/dataLakeStoreAccountsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/dataLakeStoreAccountsListByAccountSample.d.ts +0 -2
- package/dist-esm/samples-dev/dataLakeStoreAccountsListByAccountSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/dataLakeStoreAccountsListByAccountSample.js +0 -59
- package/dist-esm/samples-dev/dataLakeStoreAccountsListByAccountSample.js.map +0 -1
- package/dist-esm/samples-dev/firewallRulesCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/firewallRulesCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/firewallRulesCreateOrUpdateSample.js +0 -36
- package/dist-esm/samples-dev/firewallRulesCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/firewallRulesDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/firewallRulesDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/firewallRulesDeleteSample.js +0 -32
- package/dist-esm/samples-dev/firewallRulesDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/firewallRulesGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/firewallRulesGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/firewallRulesGetSample.js +0 -32
- package/dist-esm/samples-dev/firewallRulesGetSample.js.map +0 -1
- package/dist-esm/samples-dev/firewallRulesListByAccountSample.d.ts +0 -2
- package/dist-esm/samples-dev/firewallRulesListByAccountSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/firewallRulesListByAccountSample.js +0 -45
- package/dist-esm/samples-dev/firewallRulesListByAccountSample.js.map +0 -1
- package/dist-esm/samples-dev/firewallRulesUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/firewallRulesUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/firewallRulesUpdateSample.js +0 -37
- package/dist-esm/samples-dev/firewallRulesUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/locationsGetCapabilitySample.d.ts +0 -2
- package/dist-esm/samples-dev/locationsGetCapabilitySample.d.ts.map +0 -1
- package/dist-esm/samples-dev/locationsGetCapabilitySample.js +0 -30
- package/dist-esm/samples-dev/locationsGetCapabilitySample.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 -29
- package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
- package/dist-esm/samples-dev/storageAccountsAddSample.d.ts +0 -2
- package/dist-esm/samples-dev/storageAccountsAddSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/storageAccountsAddSample.js +0 -36
- package/dist-esm/samples-dev/storageAccountsAddSample.js.map +0 -1
- package/dist-esm/samples-dev/storageAccountsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/storageAccountsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/storageAccountsDeleteSample.js +0 -32
- package/dist-esm/samples-dev/storageAccountsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/storageAccountsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/storageAccountsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/storageAccountsGetSample.js +0 -32
- package/dist-esm/samples-dev/storageAccountsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/storageAccountsGetStorageContainerSample.d.ts +0 -2
- package/dist-esm/samples-dev/storageAccountsGetStorageContainerSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/storageAccountsGetStorageContainerSample.js +0 -33
- package/dist-esm/samples-dev/storageAccountsGetStorageContainerSample.js.map +0 -1
- package/dist-esm/samples-dev/storageAccountsListByAccountSample.d.ts +0 -2
- package/dist-esm/samples-dev/storageAccountsListByAccountSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/storageAccountsListByAccountSample.js +0 -59
- package/dist-esm/samples-dev/storageAccountsListByAccountSample.js.map +0 -1
- package/dist-esm/samples-dev/storageAccountsListSasTokensSample.d.ts +0 -2
- package/dist-esm/samples-dev/storageAccountsListSasTokensSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/storageAccountsListSasTokensSample.js +0 -47
- package/dist-esm/samples-dev/storageAccountsListSasTokensSample.js.map +0 -1
- package/dist-esm/samples-dev/storageAccountsListStorageContainersSample.d.ts +0 -2
- package/dist-esm/samples-dev/storageAccountsListStorageContainersSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/storageAccountsListStorageContainersSample.js +0 -46
- package/dist-esm/samples-dev/storageAccountsListStorageContainersSample.js.map +0 -1
- package/dist-esm/samples-dev/storageAccountsUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/storageAccountsUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/storageAccountsUpdateSample.js +0 -37
- package/dist-esm/samples-dev/storageAccountsUpdateSample.js.map +0 -1
- package/dist-esm/src/dataLakeAnalyticsAccountManagementClient.d.ts.map +0 -1
- package/dist-esm/src/dataLakeAnalyticsAccountManagementClient.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.map +0 -1
- package/dist-esm/src/lroImpl.js.map +0 -1
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/accounts.d.ts.map +0 -1
- package/dist-esm/src/operations/accounts.js.map +0 -1
- package/dist-esm/src/operations/computePolicies.d.ts.map +0 -1
- package/dist-esm/src/operations/computePolicies.js.map +0 -1
- package/dist-esm/src/operations/dataLakeStoreAccounts.d.ts.map +0 -1
- package/dist-esm/src/operations/dataLakeStoreAccounts.js.map +0 -1
- package/dist-esm/src/operations/firewallRules.d.ts.map +0 -1
- package/dist-esm/src/operations/firewallRules.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -8
- package/dist-esm/src/operations/index.d.ts.map +0 -1
- package/dist-esm/src/operations/index.js +0 -15
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/locations.d.ts.map +0 -1
- package/dist-esm/src/operations/locations.js.map +0 -1
- package/dist-esm/src/operations/operations.d.ts.map +0 -1
- package/dist-esm/src/operations/operations.js.map +0 -1
- package/dist-esm/src/operations/storageAccounts.d.ts.map +0 -1
- package/dist-esm/src/operations/storageAccounts.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/accounts.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/accounts.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/computePolicies.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/computePolicies.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/dataLakeStoreAccounts.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/dataLakeStoreAccounts.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/firewallRules.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/firewallRules.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -8
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.js +0 -15
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/locations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/locations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/storageAccounts.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/storageAccounts.js.map +0 -1
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/test/datalake-analytics_examples.spec.d.ts +0 -4
- package/dist-esm/test/datalake-analytics_examples.spec.d.ts.map +0 -1
- package/dist-esm/test/datalake-analytics_examples.spec.js +0 -55
- package/dist-esm/test/datalake-analytics_examples.spec.js.map +0 -1
- package/rollup.config.js +0 -122
- package/src/dataLakeAnalyticsAccountManagementClient.ts +0 -169
- package/src/lroImpl.ts +0 -34
- package/src/models/index.ts +0 -1532
- package/src/models/mappers.ts +0 -2447
- package/src/models/parameters.ts +0 -300
- package/src/operations/accounts.ts +0 -784
- package/src/operations/computePolicies.ts +0 -395
- package/src/operations/dataLakeStoreAccounts.ts +0 -350
- package/src/operations/firewallRules.ts +0 -385
- package/src/operations/index.ts +0 -15
- package/src/operations/locations.ts +0 -71
- package/src/operations/operations.ts +0 -59
- package/src/operations/storageAccounts.ts +0 -864
- package/src/operationsInterfaces/accounts.ts +0 -155
- package/src/operationsInterfaces/computePolicies.ts +0 -95
- package/src/operationsInterfaces/dataLakeStoreAccounts.ts +0 -73
- package/src/operationsInterfaces/firewallRules.ts +0 -92
- package/src/operationsInterfaces/index.ts +0 -15
- package/src/operationsInterfaces/locations.ts +0 -26
- package/src/operationsInterfaces/operations.ts +0 -21
- package/src/operationsInterfaces/storageAccounts.ts +0 -147
- package/src/pagingHelper.ts +0 -39
- package/tsconfig.json +0 -33
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/accounts.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/computePolicies.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/dataLakeStoreAccounts.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/firewallRules.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/locations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/storageAccounts.js +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
- /package/review/{arm-datalake-analytics.api.md → arm-datalake-analytics-node.api.md} +0 -0
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { StorageAccountInformation, StorageAccountsListByAccountOptionalParams, StorageContainer, StorageAccountsListStorageContainersOptionalParams, SasTokenInformation, StorageAccountsListSasTokensOptionalParams, AddStorageAccountParameters, StorageAccountsAddOptionalParams, StorageAccountsGetOptionalParams, StorageAccountsGetResponse, StorageAccountsUpdateOptionalParams, StorageAccountsDeleteOptionalParams, StorageAccountsGetStorageContainerOptionalParams, StorageAccountsGetStorageContainerResponse } from "../models/index.js";
|
|
3
|
+
/** Interface representing a StorageAccounts. */
|
|
4
|
+
export interface StorageAccounts {
|
|
5
|
+
/**
|
|
6
|
+
* Gets the first page of Azure Storage accounts, if any, linked to the specified Data Lake Analytics
|
|
7
|
+
* account. The response includes a link to the next page, if any.
|
|
8
|
+
* @param resourceGroupName The name of the Azure resource group.
|
|
9
|
+
* @param accountName The name of the Data Lake Analytics account.
|
|
10
|
+
* @param options The options parameters.
|
|
11
|
+
*/
|
|
12
|
+
listByAccount(resourceGroupName: string, accountName: string, options?: StorageAccountsListByAccountOptionalParams): PagedAsyncIterableIterator<StorageAccountInformation>;
|
|
13
|
+
/**
|
|
14
|
+
* Lists the Azure Storage containers, if any, associated with the specified Data Lake Analytics and
|
|
15
|
+
* Azure Storage account combination. The response includes a link to the next page of results, if any.
|
|
16
|
+
* @param resourceGroupName The name of the Azure resource group.
|
|
17
|
+
* @param accountName The name of the Data Lake Analytics account.
|
|
18
|
+
* @param storageAccountName The name of the Azure storage account from which to list blob containers.
|
|
19
|
+
* @param options The options parameters.
|
|
20
|
+
*/
|
|
21
|
+
listStorageContainers(resourceGroupName: string, accountName: string, storageAccountName: string, options?: StorageAccountsListStorageContainersOptionalParams): PagedAsyncIterableIterator<StorageContainer>;
|
|
22
|
+
/**
|
|
23
|
+
* Gets the SAS token associated with the specified Data Lake Analytics and Azure Storage account and
|
|
24
|
+
* container combination.
|
|
25
|
+
* @param resourceGroupName The name of the Azure resource group.
|
|
26
|
+
* @param accountName The name of the Data Lake Analytics account.
|
|
27
|
+
* @param storageAccountName The name of the Azure storage account for which the SAS token is being
|
|
28
|
+
* requested.
|
|
29
|
+
* @param containerName The name of the Azure storage container for which the SAS token is being
|
|
30
|
+
* requested.
|
|
31
|
+
* @param options The options parameters.
|
|
32
|
+
*/
|
|
33
|
+
listSasTokens(resourceGroupName: string, accountName: string, storageAccountName: string, containerName: string, options?: StorageAccountsListSasTokensOptionalParams): PagedAsyncIterableIterator<SasTokenInformation>;
|
|
34
|
+
/**
|
|
35
|
+
* Updates the specified Data Lake Analytics account to add an Azure Storage account.
|
|
36
|
+
* @param resourceGroupName The name of the Azure resource group.
|
|
37
|
+
* @param accountName The name of the Data Lake Analytics account.
|
|
38
|
+
* @param storageAccountName The name of the Azure Storage account to add
|
|
39
|
+
* @param parameters The parameters containing the access key and optional suffix for the Azure Storage
|
|
40
|
+
* Account.
|
|
41
|
+
* @param options The options parameters.
|
|
42
|
+
*/
|
|
43
|
+
add(resourceGroupName: string, accountName: string, storageAccountName: string, parameters: AddStorageAccountParameters, options?: StorageAccountsAddOptionalParams): Promise<void>;
|
|
44
|
+
/**
|
|
45
|
+
* Gets the specified Azure Storage account linked to the given Data Lake Analytics account.
|
|
46
|
+
* @param resourceGroupName The name of the Azure resource group.
|
|
47
|
+
* @param accountName The name of the Data Lake Analytics account.
|
|
48
|
+
* @param storageAccountName The name of the Azure Storage account for which to retrieve the details.
|
|
49
|
+
* @param options The options parameters.
|
|
50
|
+
*/
|
|
51
|
+
get(resourceGroupName: string, accountName: string, storageAccountName: string, options?: StorageAccountsGetOptionalParams): Promise<StorageAccountsGetResponse>;
|
|
52
|
+
/**
|
|
53
|
+
* Updates the Data Lake Analytics account to replace Azure Storage blob account details, such as the
|
|
54
|
+
* access key and/or suffix.
|
|
55
|
+
* @param resourceGroupName The name of the Azure resource group.
|
|
56
|
+
* @param accountName The name of the Data Lake Analytics account.
|
|
57
|
+
* @param storageAccountName The Azure Storage account to modify
|
|
58
|
+
* @param options The options parameters.
|
|
59
|
+
*/
|
|
60
|
+
update(resourceGroupName: string, accountName: string, storageAccountName: string, options?: StorageAccountsUpdateOptionalParams): Promise<void>;
|
|
61
|
+
/**
|
|
62
|
+
* Updates the specified Data Lake Analytics account to remove an Azure Storage account.
|
|
63
|
+
* @param resourceGroupName The name of the Azure resource group.
|
|
64
|
+
* @param accountName The name of the Data Lake Analytics account.
|
|
65
|
+
* @param storageAccountName The name of the Azure Storage account to remove
|
|
66
|
+
* @param options The options parameters.
|
|
67
|
+
*/
|
|
68
|
+
delete(resourceGroupName: string, accountName: string, storageAccountName: string, options?: StorageAccountsDeleteOptionalParams): Promise<void>;
|
|
69
|
+
/**
|
|
70
|
+
* Gets the specified Azure Storage container associated with the given Data Lake Analytics and Azure
|
|
71
|
+
* Storage accounts.
|
|
72
|
+
* @param resourceGroupName The name of the Azure resource group.
|
|
73
|
+
* @param accountName The name of the Data Lake Analytics account.
|
|
74
|
+
* @param storageAccountName The name of the Azure storage account from which to retrieve the blob
|
|
75
|
+
* container.
|
|
76
|
+
* @param containerName The name of the Azure storage container to retrieve
|
|
77
|
+
* @param options The options parameters.
|
|
78
|
+
*/
|
|
79
|
+
getStorageContainer(resourceGroupName: string, accountName: string, storageAccountName: string, containerName: string, options?: StorageAccountsGetStorageContainerOptionalParams): Promise<StorageAccountsGetStorageContainerResponse>;
|
|
80
|
+
}
|
|
81
|
+
//# sourceMappingURL=storageAccounts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"storageAccounts.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/storageAccounts.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,yBAAyB,EACzB,0CAA0C,EAC1C,gBAAgB,EAChB,kDAAkD,EAClD,mBAAmB,EACnB,0CAA0C,EAC1C,2BAA2B,EAC3B,gCAAgC,EAChC,gCAAgC,EAChC,0BAA0B,EAC1B,mCAAmC,EACnC,mCAAmC,EACnC,gDAAgD,EAChD,0CAA0C,EAC3C,MAAM,oBAAoB,CAAC;AAG5B,gDAAgD;AAChD,MAAM,WAAW,eAAe;IAC9B;;;;;;OAMG;IACH,aAAa,CACX,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,0CAA0C,GACnD,0BAA0B,CAAC,yBAAyB,CAAC,CAAC;IACzD;;;;;;;OAOG;IACH,qBAAqB,CACnB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,kBAAkB,EAAE,MAAM,EAC1B,OAAO,CAAC,EAAE,kDAAkD,GAC3D,0BAA0B,CAAC,gBAAgB,CAAC,CAAC;IAChD;;;;;;;;;;OAUG;IACH,aAAa,CACX,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,kBAAkB,EAAE,MAAM,EAC1B,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,0CAA0C,GACnD,0BAA0B,CAAC,mBAAmB,CAAC,CAAC;IACnD;;;;;;;;OAQG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,kBAAkB,EAAE,MAAM,EAC1B,UAAU,EAAE,2BAA2B,EACvC,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,kBAAkB,EAAE,MAAM,EAC1B,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC,CAAC;IACvC;;;;;;;OAOG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,kBAAkB,EAAE,MAAM,EAC1B,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;OAMG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,kBAAkB,EAAE,MAAM,EAC1B,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;;;;OASG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,kBAAkB,EAAE,MAAM,EAC1B,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,gDAAgD,GACzD,OAAO,CAAC,0CAA0C,CAAC,CAAC;CACxD"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
//# sourceMappingURL=storageAccounts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"storageAccounts.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/storageAccounts.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n StorageAccountInformation,\n StorageAccountsListByAccountOptionalParams,\n StorageContainer,\n StorageAccountsListStorageContainersOptionalParams,\n SasTokenInformation,\n StorageAccountsListSasTokensOptionalParams,\n AddStorageAccountParameters,\n StorageAccountsAddOptionalParams,\n StorageAccountsGetOptionalParams,\n StorageAccountsGetResponse,\n StorageAccountsUpdateOptionalParams,\n StorageAccountsDeleteOptionalParams,\n StorageAccountsGetStorageContainerOptionalParams,\n StorageAccountsGetStorageContainerResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a StorageAccounts. */\nexport interface StorageAccounts {\n /**\n * Gets the first page of Azure Storage accounts, if any, linked to the specified Data Lake Analytics\n * account. The response includes a link to the next page, if any.\n * @param resourceGroupName The name of the Azure resource group.\n * @param accountName The name of the Data Lake Analytics account.\n * @param options The options parameters.\n */\n listByAccount(\n resourceGroupName: string,\n accountName: string,\n options?: StorageAccountsListByAccountOptionalParams\n ): PagedAsyncIterableIterator<StorageAccountInformation>;\n /**\n * Lists the Azure Storage containers, if any, associated with the specified Data Lake Analytics and\n * Azure Storage account combination. The response includes a link to the next page of results, if any.\n * @param resourceGroupName The name of the Azure resource group.\n * @param accountName The name of the Data Lake Analytics account.\n * @param storageAccountName The name of the Azure storage account from which to list blob containers.\n * @param options The options parameters.\n */\n listStorageContainers(\n resourceGroupName: string,\n accountName: string,\n storageAccountName: string,\n options?: StorageAccountsListStorageContainersOptionalParams\n ): PagedAsyncIterableIterator<StorageContainer>;\n /**\n * Gets the SAS token associated with the specified Data Lake Analytics and Azure Storage account and\n * container combination.\n * @param resourceGroupName The name of the Azure resource group.\n * @param accountName The name of the Data Lake Analytics account.\n * @param storageAccountName The name of the Azure storage account for which the SAS token is being\n * requested.\n * @param containerName The name of the Azure storage container for which the SAS token is being\n * requested.\n * @param options The options parameters.\n */\n listSasTokens(\n resourceGroupName: string,\n accountName: string,\n storageAccountName: string,\n containerName: string,\n options?: StorageAccountsListSasTokensOptionalParams\n ): PagedAsyncIterableIterator<SasTokenInformation>;\n /**\n * Updates the specified Data Lake Analytics account to add an Azure Storage account.\n * @param resourceGroupName The name of the Azure resource group.\n * @param accountName The name of the Data Lake Analytics account.\n * @param storageAccountName The name of the Azure Storage account to add\n * @param parameters The parameters containing the access key and optional suffix for the Azure Storage\n * Account.\n * @param options The options parameters.\n */\n add(\n resourceGroupName: string,\n accountName: string,\n storageAccountName: string,\n parameters: AddStorageAccountParameters,\n options?: StorageAccountsAddOptionalParams\n ): Promise<void>;\n /**\n * Gets the specified Azure Storage account linked to the given Data Lake Analytics account.\n * @param resourceGroupName The name of the Azure resource group.\n * @param accountName The name of the Data Lake Analytics account.\n * @param storageAccountName The name of the Azure Storage account for which to retrieve the details.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n accountName: string,\n storageAccountName: string,\n options?: StorageAccountsGetOptionalParams\n ): Promise<StorageAccountsGetResponse>;\n /**\n * Updates the Data Lake Analytics account to replace Azure Storage blob account details, such as the\n * access key and/or suffix.\n * @param resourceGroupName The name of the Azure resource group.\n * @param accountName The name of the Data Lake Analytics account.\n * @param storageAccountName The Azure Storage account to modify\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n accountName: string,\n storageAccountName: string,\n options?: StorageAccountsUpdateOptionalParams\n ): Promise<void>;\n /**\n * Updates the specified Data Lake Analytics account to remove an Azure Storage account.\n * @param resourceGroupName The name of the Azure resource group.\n * @param accountName The name of the Data Lake Analytics account.\n * @param storageAccountName The name of the Azure Storage account to remove\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n accountName: string,\n storageAccountName: string,\n options?: StorageAccountsDeleteOptionalParams\n ): Promise<void>;\n /**\n * Gets the specified Azure Storage container associated with the given Data Lake Analytics and Azure\n * Storage accounts.\n * @param resourceGroupName The name of the Azure resource group.\n * @param accountName The name of the Data Lake Analytics account.\n * @param storageAccountName The name of the Azure storage account from which to retrieve the blob\n * container.\n * @param containerName The name of the Azure storage container to retrieve\n * @param options The options parameters.\n */\n getStorageContainer(\n resourceGroupName: string,\n accountName: string,\n storageAccountName: string,\n containerName: string,\n options?: StorageAccountsGetStorageContainerOptionalParams\n ): Promise<StorageAccountsGetStorageContainerResponse>;\n}\n"]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface PageInfo {
|
|
2
|
+
continuationToken?: string;
|
|
3
|
+
}
|
|
4
|
+
/**
|
|
5
|
+
* Given a result page from a pageable operation, returns a
|
|
6
|
+
* continuation token that can be used to begin paging from
|
|
7
|
+
* that point later.
|
|
8
|
+
* @param page A result object from calling .byPage() on a paged operation.
|
|
9
|
+
* @returns The continuation token that can be passed into byPage().
|
|
10
|
+
*/
|
|
11
|
+
export declare function getContinuationToken(page: unknown): string | undefined;
|
|
12
|
+
export declare function setContinuationToken(page: unknown, continuationToken: string | undefined): void;
|
|
13
|
+
//# sourceMappingURL=pagingHelper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pagingHelper.d.ts","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAQA,MAAM,WAAW,QAAQ;IACvB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAID;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAKtE;AAED,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,OAAO,EACb,iBAAiB,EAAE,MAAM,GAAG,SAAS,GACpC,IAAI,CAON"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.getContinuationToken = getContinuationToken;
|
|
11
|
+
exports.setContinuationToken = setContinuationToken;
|
|
12
|
+
const pageMap = new WeakMap();
|
|
13
|
+
/**
|
|
14
|
+
* Given a result page from a pageable operation, returns a
|
|
15
|
+
* continuation token that can be used to begin paging from
|
|
16
|
+
* that point later.
|
|
17
|
+
* @param page A result object from calling .byPage() on a paged operation.
|
|
18
|
+
* @returns The continuation token that can be passed into byPage().
|
|
19
|
+
*/
|
|
20
|
+
function getContinuationToken(page) {
|
|
21
|
+
if (typeof page !== "object" || page === null) {
|
|
22
|
+
return undefined;
|
|
23
|
+
}
|
|
24
|
+
return pageMap.get(page)?.continuationToken;
|
|
25
|
+
}
|
|
26
|
+
function setContinuationToken(page, continuationToken) {
|
|
27
|
+
if (typeof page !== "object" || page === null || !continuationToken) {
|
|
28
|
+
return;
|
|
29
|
+
}
|
|
30
|
+
const pageInfo = pageMap.get(page) ?? {};
|
|
31
|
+
pageInfo.continuationToken = continuationToken;
|
|
32
|
+
pageMap.set(page, pageInfo);
|
|
33
|
+
}
|
|
34
|
+
//# sourceMappingURL=pagingHelper.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAeH,oDAKC;AAED,oDAUC;AA1BD,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,SAAgB,oBAAoB,CAAC,IAAa;IAChD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;QAC9C,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,iBAAiB,CAAC;AAC9C,CAAC;AAED,SAAgB,oBAAoB,CAClC,IAAa,EACb,iBAAqC;IAErC,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACpE,OAAO;IACT,CAAC;IACD,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;IACzC,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC9B,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport interface PageInfo {\n continuationToken?: string;\n}\n\nconst pageMap = new WeakMap<object, PageInfo>();\n\n/**\n * Given a result page from a pageable operation, returns a\n * continuation token that can be used to begin paging from\n * that point later.\n * @param page A result object from calling .byPage() on a paged operation.\n * @returns The continuation token that can be passed into byPage().\n */\nexport function getContinuationToken(page: unknown): string | undefined {\n if (typeof page !== \"object\" || page === null) {\n return undefined;\n }\n return pageMap.get(page)?.continuationToken;\n}\n\nexport function setContinuationToken(\n page: unknown,\n continuationToken: string | undefined\n): void {\n if (typeof page !== \"object\" || page === null || !continuationToken) {\n return;\n }\n const pageInfo = pageMap.get(page) ?? {};\n pageInfo.continuationToken = continuationToken;\n pageMap.set(page, pageInfo);\n}\n"]}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
// This file is read by tools that parse documentation comments conforming to the TSDoc standard.
|
|
2
|
-
// It should be published with your NPM package. It should not be tracked by Git.
|
|
3
|
-
{
|
|
4
|
-
"tsdocVersion": "0.12",
|
|
5
|
-
"toolPackages": [
|
|
6
|
-
{
|
|
7
|
-
"packageName": "@microsoft/api-extractor",
|
|
8
|
-
"packageVersion": "7.
|
|
9
|
-
}
|
|
10
|
-
]
|
|
11
|
-
}
|
|
1
|
+
// This file is read by tools that parse documentation comments conforming to the TSDoc standard.
|
|
2
|
+
// It should be published with your NPM package. It should not be tracked by Git.
|
|
3
|
+
{
|
|
4
|
+
"tsdocVersion": "0.12",
|
|
5
|
+
"toolPackages": [
|
|
6
|
+
{
|
|
7
|
+
"packageName": "@microsoft/api-extractor",
|
|
8
|
+
"packageVersion": "7.52.10"
|
|
9
|
+
}
|
|
10
|
+
]
|
|
11
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import * as coreClient from "@azure/core-client";
|
|
2
|
+
import * as coreAuth from "@azure/core-auth";
|
|
3
|
+
import { Accounts, DataLakeStoreAccounts, StorageAccounts, ComputePolicies, FirewallRules, Operations, Locations } from "./operationsInterfaces/index.js";
|
|
4
|
+
import { DataLakeAnalyticsAccountManagementClientOptionalParams } from "./models/index.js";
|
|
5
|
+
export declare class DataLakeAnalyticsAccountManagementClient extends coreClient.ServiceClient {
|
|
6
|
+
$host: string;
|
|
7
|
+
subscriptionId: string;
|
|
8
|
+
apiVersion: string;
|
|
9
|
+
/**
|
|
10
|
+
* Initializes a new instance of the DataLakeAnalyticsAccountManagementClient class.
|
|
11
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
12
|
+
* @param subscriptionId Get subscription credentials which uniquely identify Microsoft Azure
|
|
13
|
+
* subscription. The subscription ID forms part of the URI for every service call.
|
|
14
|
+
* @param options The parameter options
|
|
15
|
+
*/
|
|
16
|
+
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: DataLakeAnalyticsAccountManagementClientOptionalParams);
|
|
17
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
18
|
+
private addCustomApiVersionPolicy;
|
|
19
|
+
accounts: Accounts;
|
|
20
|
+
dataLakeStoreAccounts: DataLakeStoreAccounts;
|
|
21
|
+
storageAccounts: StorageAccounts;
|
|
22
|
+
computePolicies: ComputePolicies;
|
|
23
|
+
firewallRules: FirewallRules;
|
|
24
|
+
operations: Operations;
|
|
25
|
+
locations: Locations;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=dataLakeAnalyticsAccountManagementClient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dataLakeAnalyticsAccountManagementClient.d.ts","sourceRoot":"","sources":["../../src/dataLakeAnalyticsAccountManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAU7C,OAAO,EACL,QAAQ,EACR,qBAAqB,EACrB,eAAe,EACf,eAAe,EACf,aAAa,EACb,UAAU,EACV,SAAS,EACV,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,sDAAsD,EAAE,MAAM,mBAAmB,CAAC;AAE3F,qBAAa,wCAAyC,SAAQ,UAAU,CAAC,aAAa;IACpF,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;;;OAMG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,sDAAsD;IAkFlE,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,QAAQ,EAAE,QAAQ,CAAC;IACnB,qBAAqB,EAAE,qBAAqB,CAAC;IAC7C,eAAe,EAAE,eAAe,CAAC;IACjC,eAAe,EAAE,eAAe,CAAC;IACjC,aAAa,EAAE,aAAa,CAAC;IAC7B,UAAU,EAAE,UAAU,CAAC;IACvB,SAAS,EAAE,SAAS,CAAC;CACtB"}
|
|
@@ -0,0 +1,119 @@
|
|
|
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
|
+
import * as coreClient from "@azure/core-client";
|
|
9
|
+
import * as coreRestPipeline from "@azure/core-rest-pipeline";
|
|
10
|
+
import { AccountsImpl, DataLakeStoreAccountsImpl, StorageAccountsImpl, ComputePoliciesImpl, FirewallRulesImpl, OperationsImpl, LocationsImpl } from "./operations/index.js";
|
|
11
|
+
export class DataLakeAnalyticsAccountManagementClient extends coreClient.ServiceClient {
|
|
12
|
+
$host;
|
|
13
|
+
subscriptionId;
|
|
14
|
+
apiVersion;
|
|
15
|
+
/**
|
|
16
|
+
* Initializes a new instance of the DataLakeAnalyticsAccountManagementClient class.
|
|
17
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
18
|
+
* @param subscriptionId Get subscription credentials which uniquely identify Microsoft Azure
|
|
19
|
+
* subscription. The subscription ID forms part of the URI for every service call.
|
|
20
|
+
* @param options The parameter options
|
|
21
|
+
*/
|
|
22
|
+
constructor(credentials, subscriptionId, options) {
|
|
23
|
+
if (credentials === undefined) {
|
|
24
|
+
throw new Error("'credentials' cannot be null");
|
|
25
|
+
}
|
|
26
|
+
if (subscriptionId === undefined) {
|
|
27
|
+
throw new Error("'subscriptionId' cannot be null");
|
|
28
|
+
}
|
|
29
|
+
// Initializing default values for options
|
|
30
|
+
if (!options) {
|
|
31
|
+
options = {};
|
|
32
|
+
}
|
|
33
|
+
const defaults = {
|
|
34
|
+
requestContentType: "application/json; charset=utf-8",
|
|
35
|
+
credential: credentials
|
|
36
|
+
};
|
|
37
|
+
const packageDetails = `azsdk-js-arm-datalake-analytics/2.0.0-beta.5`;
|
|
38
|
+
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
39
|
+
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
40
|
+
: `${packageDetails}`;
|
|
41
|
+
const optionsWithDefaults = {
|
|
42
|
+
...defaults,
|
|
43
|
+
...options,
|
|
44
|
+
userAgentOptions: {
|
|
45
|
+
userAgentPrefix
|
|
46
|
+
},
|
|
47
|
+
endpoint: options.endpoint ?? options.baseUri ?? "https://management.azure.com"
|
|
48
|
+
};
|
|
49
|
+
super(optionsWithDefaults);
|
|
50
|
+
let bearerTokenAuthenticationPolicyFound = false;
|
|
51
|
+
if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {
|
|
52
|
+
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
|
53
|
+
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
|
54
|
+
coreRestPipeline.bearerTokenAuthenticationPolicyName);
|
|
55
|
+
}
|
|
56
|
+
if (!options ||
|
|
57
|
+
!options.pipeline ||
|
|
58
|
+
options.pipeline.getOrderedPolicies().length == 0 ||
|
|
59
|
+
!bearerTokenAuthenticationPolicyFound) {
|
|
60
|
+
this.pipeline.removePolicy({
|
|
61
|
+
name: coreRestPipeline.bearerTokenAuthenticationPolicyName
|
|
62
|
+
});
|
|
63
|
+
this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
|
|
64
|
+
credential: credentials,
|
|
65
|
+
scopes: optionsWithDefaults.credentialScopes ??
|
|
66
|
+
`${optionsWithDefaults.endpoint}/.default`,
|
|
67
|
+
challengeCallbacks: {
|
|
68
|
+
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge
|
|
69
|
+
}
|
|
70
|
+
}));
|
|
71
|
+
}
|
|
72
|
+
// Parameter assignments
|
|
73
|
+
this.subscriptionId = subscriptionId;
|
|
74
|
+
// Assigning values to Constant parameters
|
|
75
|
+
this.$host = options.$host || "https://management.azure.com";
|
|
76
|
+
this.apiVersion = options.apiVersion || "2019-11-01-preview";
|
|
77
|
+
this.accounts = new AccountsImpl(this);
|
|
78
|
+
this.dataLakeStoreAccounts = new DataLakeStoreAccountsImpl(this);
|
|
79
|
+
this.storageAccounts = new StorageAccountsImpl(this);
|
|
80
|
+
this.computePolicies = new ComputePoliciesImpl(this);
|
|
81
|
+
this.firewallRules = new FirewallRulesImpl(this);
|
|
82
|
+
this.operations = new OperationsImpl(this);
|
|
83
|
+
this.locations = new LocationsImpl(this);
|
|
84
|
+
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
85
|
+
}
|
|
86
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
87
|
+
addCustomApiVersionPolicy(apiVersion) {
|
|
88
|
+
if (!apiVersion) {
|
|
89
|
+
return;
|
|
90
|
+
}
|
|
91
|
+
const apiVersionPolicy = {
|
|
92
|
+
name: "CustomApiVersionPolicy",
|
|
93
|
+
async sendRequest(request, next) {
|
|
94
|
+
const param = request.url.split("?");
|
|
95
|
+
if (param.length > 1) {
|
|
96
|
+
const newParams = param[1].split("&").map((item) => {
|
|
97
|
+
if (item.indexOf("api-version") > -1) {
|
|
98
|
+
return "api-version=" + apiVersion;
|
|
99
|
+
}
|
|
100
|
+
else {
|
|
101
|
+
return item;
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
request.url = param[0] + "?" + newParams.join("&");
|
|
105
|
+
}
|
|
106
|
+
return next(request);
|
|
107
|
+
}
|
|
108
|
+
};
|
|
109
|
+
this.pipeline.addPolicy(apiVersionPolicy);
|
|
110
|
+
}
|
|
111
|
+
accounts;
|
|
112
|
+
dataLakeStoreAccounts;
|
|
113
|
+
storageAccounts;
|
|
114
|
+
computePolicies;
|
|
115
|
+
firewallRules;
|
|
116
|
+
operations;
|
|
117
|
+
locations;
|
|
118
|
+
}
|
|
119
|
+
//# sourceMappingURL=dataLakeAnalyticsAccountManagementClient.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dataLakeAnalyticsAccountManagementClient.js","sourceRoot":"","sources":["../../src/dataLakeAnalyticsAccountManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EACL,YAAY,EACZ,yBAAyB,EACzB,mBAAmB,EACnB,mBAAmB,EACnB,iBAAiB,EACjB,cAAc,EACd,aAAa,EACd,MAAM,uBAAuB,CAAC;AAY/B,MAAM,OAAO,wCAAyC,SAAQ,UAAU,CAAC,aAAa;IACpF,KAAK,CAAS;IACd,cAAc,CAAS;IACvB,UAAU,CAAS;IAEnB;;;;;;OAMG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAAgE;QAEhE,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;YACjC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;QACrD,CAAC;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO,GAAG,EAAE,CAAC;QACf,CAAC;QACD,MAAM,QAAQ,GAA2D;YACvE,kBAAkB,EAAE,iCAAiC;YACrD,UAAU,EAAE,WAAW;SACxB,CAAC;QAEF,MAAM,cAAc,GAAG,8CAA8C,CAAC;QACtE,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;YAClE,CAAC,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC,eAAe,IAAI,cAAc,EAAE;YACjE,CAAC,CAAC,GAAG,cAAc,EAAE,CAAC;QAE1B,MAAM,mBAAmB,GAAG;YAC1B,GAAG,QAAQ;YACX,GAAG,OAAO;YACV,gBAAgB,EAAE;gBAChB,eAAe;aAChB;YACD,QAAQ,EACN,OAAO,CAAC,QAAQ,IAAI,OAAO,CAAC,OAAO,IAAI,8BAA8B;SACxE,CAAC;QACF,KAAK,CAAC,mBAAmB,CAAC,CAAC;QAE3B,IAAI,oCAAoC,GAAY,KAAK,CAAC;QAC1D,IAAI,OAAO,EAAE,QAAQ,IAAI,OAAO,CAAC,QAAQ,CAAC,kBAAkB,EAAE,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YAC1E,MAAM,gBAAgB,GAAsC,OAAO,CAAC,QAAQ,CAAC,kBAAkB,EAAE,CAAC;YAClG,oCAAoC,GAAG,gBAAgB,CAAC,IAAI,CAC1D,CAAC,cAAc,EAAE,EAAE,CACjB,cAAc,CAAC,IAAI;gBACnB,gBAAgB,CAAC,mCAAmC,CACvD,CAAC;QACJ,CAAC;QACD,IACE,CAAC,OAAO;YACR,CAAC,OAAO,CAAC,QAAQ;YACjB,OAAO,CAAC,QAAQ,CAAC,kBAAkB,EAAE,CAAC,MAAM,IAAI,CAAC;YACjD,CAAC,oCAAoC,EACrC,CAAC;YACD,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC;gBACzB,IAAI,EAAE,gBAAgB,CAAC,mCAAmC;aAC3D,CAAC,CAAC;YACH,IAAI,CAAC,QAAQ,CAAC,SAAS,CACrB,gBAAgB,CAAC,+BAA+B,CAAC;gBAC/C,UAAU,EAAE,WAAW;gBACvB,MAAM,EACJ,mBAAmB,CAAC,gBAAgB;oBACpC,GAAG,mBAAmB,CAAC,QAAQ,WAAW;gBAC5C,kBAAkB,EAAE;oBAClB,2BAA2B,EACzB,UAAU,CAAC,gCAAgC;iBAC9C;aACF,CAAC,CACH,CAAC;QACJ,CAAC;QACD,wBAAwB;QACxB,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QAErC,0CAA0C;QAC1C,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,IAAI,8BAA8B,CAAC;QAC7D,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,IAAI,oBAAoB,CAAC;QAC7D,IAAI,CAAC,QAAQ,GAAG,IAAI,YAAY,CAAC,IAAI,CAAC,CAAC;QACvC,IAAI,CAAC,qBAAqB,GAAG,IAAI,yBAAyB,CAAC,IAAI,CAAC,CAAC;QACjE,IAAI,CAAC,eAAe,GAAG,IAAI,mBAAmB,CAAC,IAAI,CAAC,CAAC;QACrD,IAAI,CAAC,eAAe,GAAG,IAAI,mBAAmB,CAAC,IAAI,CAAC,CAAC;QACrD,IAAI,CAAC,aAAa,GAAG,IAAI,iBAAiB,CAAC,IAAI,CAAC,CAAC;QACjD,IAAI,CAAC,UAAU,GAAG,IAAI,cAAc,CAAC,IAAI,CAAC,CAAC;QAC3C,IAAI,CAAC,SAAS,GAAG,IAAI,aAAa,CAAC,IAAI,CAAC,CAAC;QACzC,IAAI,CAAC,yBAAyB,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;IACrD,CAAC;IAED,8GAA8G;IACtG,yBAAyB,CAAC,UAAmB;QACnD,IAAI,CAAC,UAAU,EAAE,CAAC;YAChB,OAAO;QACT,CAAC;QACD,MAAM,gBAAgB,GAAG;YACvB,IAAI,EAAE,wBAAwB;YAC9B,KAAK,CAAC,WAAW,CACf,OAAwB,EACxB,IAAiB;gBAEjB,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;gBACrC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;oBACrB,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;wBACjD,IAAI,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;4BACrC,OAAO,cAAc,GAAG,UAAU,CAAC;wBACrC,CAAC;6BAAM,CAAC;4BACN,OAAO,IAAI,CAAC;wBACd,CAAC;oBACH,CAAC,CAAC,CAAC;oBACH,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;gBACrD,CAAC;gBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;IAED,QAAQ,CAAW;IACnB,qBAAqB,CAAwB;IAC7C,eAAe,CAAkB;IACjC,eAAe,CAAkB;IACjC,aAAa,CAAgB;IAC7B,UAAU,CAAa;IACvB,SAAS,CAAY;CACtB","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n AccountsImpl,\n DataLakeStoreAccountsImpl,\n StorageAccountsImpl,\n ComputePoliciesImpl,\n FirewallRulesImpl,\n OperationsImpl,\n LocationsImpl\n} from \"./operations/index.js\";\nimport {\n Accounts,\n DataLakeStoreAccounts,\n StorageAccounts,\n ComputePolicies,\n FirewallRules,\n Operations,\n Locations\n} from \"./operationsInterfaces/index.js\";\nimport { DataLakeAnalyticsAccountManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class DataLakeAnalyticsAccountManagementClient extends coreClient.ServiceClient {\n $host: string;\n subscriptionId: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the DataLakeAnalyticsAccountManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId Get subscription credentials which uniquely identify Microsoft Azure\n * subscription. The subscription ID forms part of the URI for every service call.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: DataLakeAnalyticsAccountManagementClientOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: DataLakeAnalyticsAccountManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-datalake-analytics/2.0.0-beta.5`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge\n }\n })\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2019-11-01-preview\";\n this.accounts = new AccountsImpl(this);\n this.dataLakeStoreAccounts = new DataLakeStoreAccountsImpl(this);\n this.storageAccounts = new StorageAccountsImpl(this);\n this.computePolicies = new ComputePoliciesImpl(this);\n this.firewallRules = new FirewallRulesImpl(this);\n this.operations = new OperationsImpl(this);\n this.locations = new LocationsImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n }\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n accounts: Accounts;\n dataLakeStoreAccounts: DataLakeStoreAccounts;\n storageAccounts: StorageAccounts;\n computePolicies: ComputePolicies;\n firewallRules: FirewallRules;\n operations: Operations;\n locations: Locations;\n}\n"]}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { getContinuationToken } from "./pagingHelper.js";
|
|
2
|
+
export * from "./models/index.js";
|
|
3
|
+
export { DataLakeAnalyticsAccountManagementClient } from "./dataLakeAnalyticsAccountManagementClient.js";
|
|
4
|
+
export * from "./operationsInterfaces/index.js";
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,wCAAwC,EAAE,MAAM,+CAA+C,CAAC;AACzG,cAAc,iCAAiC,CAAC"}
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
8
|
/// <reference lib="esnext.asynciterable" />
|
|
10
|
-
export { getContinuationToken } from "./pagingHelper";
|
|
11
|
-
export * from "./models";
|
|
12
|
-
export { DataLakeAnalyticsAccountManagementClient } from "./dataLakeAnalyticsAccountManagementClient";
|
|
13
|
-
export * from "./operationsInterfaces";
|
|
9
|
+
export { getContinuationToken } from "./pagingHelper.js";
|
|
10
|
+
export * from "./models/index.js";
|
|
11
|
+
export { DataLakeAnalyticsAccountManagementClient } from "./dataLakeAnalyticsAccountManagementClient.js";
|
|
12
|
+
export * from "./operationsInterfaces/index.js";
|
|
13
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,4CAA4C;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,wCAAwC,EAAE,MAAM,+CAA+C,CAAC;AACzG,cAAc,iCAAiC,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\n/// <reference lib=\"esnext.asynciterable\" />\nexport { getContinuationToken } from \"./pagingHelper.js\";\nexport * from \"./models/index.js\";\nexport { DataLakeAnalyticsAccountManagementClient } from \"./dataLakeAnalyticsAccountManagementClient.js\";\nexport * from \"./operationsInterfaces/index.js\";\n"]}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { LongRunningOperation, LroResponse } from "@azure/core-lro";
|
|
2
|
+
export declare class LroImpl<T> implements LongRunningOperation<T> {
|
|
3
|
+
private sendOperationFn;
|
|
4
|
+
private args;
|
|
5
|
+
private spec;
|
|
6
|
+
requestPath: string;
|
|
7
|
+
requestMethod: string;
|
|
8
|
+
constructor(sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>, args: Record<string, unknown>, spec: {
|
|
9
|
+
readonly requestBody?: unknown;
|
|
10
|
+
readonly path?: string;
|
|
11
|
+
readonly httpMethod: string;
|
|
12
|
+
} & Record<string, any>, requestPath?: string, requestMethod?: string);
|
|
13
|
+
sendInitialRequest(): Promise<LroResponse<T>>;
|
|
14
|
+
sendPollRequest(path: string): Promise<LroResponse<T>>;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=lroImpl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lroImpl.d.ts","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEpE,qBAAa,OAAO,CAAC,CAAC,CAAE,YAAW,oBAAoB,CAAC,CAAC,CAAC;IAEtD,OAAO,CAAC,eAAe;IACvB,OAAO,CAAC,IAAI;IACZ,OAAO,CAAC,IAAI;IAKL,WAAW,EAAE,MAAM;IACnB,aAAa,EAAE,MAAM;gBARpB,eAAe,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,KAAK,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,EAClE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC7B,IAAI,EAAE;QACZ,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;QAC/B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QACvB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;KAC7B,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAChB,WAAW,GAAE,MAAmB,EAChC,aAAa,GAAE,MAAwB;IAEnC,kBAAkB,IAAI,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;IAG7C,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;CAQpE"}
|
|
@@ -0,0 +1,33 @@
|
|
|
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
|
+
export class LroImpl {
|
|
9
|
+
sendOperationFn;
|
|
10
|
+
args;
|
|
11
|
+
spec;
|
|
12
|
+
requestPath;
|
|
13
|
+
requestMethod;
|
|
14
|
+
constructor(sendOperationFn, args, spec, requestPath = spec.path, requestMethod = spec.httpMethod) {
|
|
15
|
+
this.sendOperationFn = sendOperationFn;
|
|
16
|
+
this.args = args;
|
|
17
|
+
this.spec = spec;
|
|
18
|
+
this.requestPath = requestPath;
|
|
19
|
+
this.requestMethod = requestMethod;
|
|
20
|
+
}
|
|
21
|
+
async sendInitialRequest() {
|
|
22
|
+
return this.sendOperationFn(this.args, this.spec);
|
|
23
|
+
}
|
|
24
|
+
async sendPollRequest(path) {
|
|
25
|
+
const { requestBody, ...restSpec } = this.spec;
|
|
26
|
+
return this.sendOperationFn(this.args, {
|
|
27
|
+
...restSpec,
|
|
28
|
+
path,
|
|
29
|
+
httpMethod: "GET"
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=lroImpl.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,OAAO,OAAO;IAER;IACA;IACA;IAKD;IACA;IATT,YACU,eAAkE,EAClE,IAA6B,EAC7B,IAIe,EAChB,cAAsB,IAAI,CAAC,IAAK,EAChC,gBAAwB,IAAI,CAAC,UAAU;QARtC,oBAAe,GAAf,eAAe,CAAmD;QAClE,SAAI,GAAJ,IAAI,CAAyB;QAC7B,SAAI,GAAJ,IAAI,CAIW;QAChB,gBAAW,GAAX,WAAW,CAAqB;QAChC,kBAAa,GAAb,aAAa,CAA0B;IAC7C,CAAC;IACG,KAAK,CAAC,kBAAkB;QAC7B,OAAO,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;IACpD,CAAC;IACM,KAAK,CAAC,eAAe,CAAC,IAAY;QACvC,MAAM,EAAE,WAAW,EAAE,GAAG,QAAQ,EAAE,GAAG,IAAI,CAAC,IAAI,CAAC;QAC/C,OAAO,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,EAAE;YACrC,GAAG,QAAQ;YACX,IAAI;YACJ,UAAU,EAAE,KAAK;SAClB,CAAC,CAAC;IACL,CAAC;CACF","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { LongRunningOperation, LroResponse } from \"@azure/core-lro\";\n\nexport class LroImpl<T> implements LongRunningOperation<T> {\n constructor(\n private sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>,\n private args: Record<string, unknown>,\n private spec: {\n readonly requestBody?: unknown;\n readonly path?: string;\n readonly httpMethod: string;\n } & Record<string, any>,\n public requestPath: string = spec.path!,\n public requestMethod: string = spec.httpMethod\n ) {}\n public async sendInitialRequest(): Promise<LroResponse<T>> {\n return this.sendOperationFn(this.args, this.spec);\n }\n public async sendPollRequest(path: string): Promise<LroResponse<T>> {\n const { requestBody, ...restSpec } = this.spec;\n return this.sendOperationFn(this.args, {\n ...restSpec,\n path,\n httpMethod: \"GET\"\n });\n }\n}\n"]}
|