@azure/arm-azurestack 3.0.0-beta.4 → 3.0.0-beta.6
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 +23 -3
- package/LICENSE +4 -4
- package/README.md +26 -17
- package/{dist-esm/src → dist/browser}/azureStackManagementClient.d.ts +4 -2
- package/dist/browser/azureStackManagementClient.d.ts.map +1 -0
- package/dist/browser/azureStackManagementClient.js +117 -0
- package/dist/browser/azureStackManagementClient.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 -3
- package/dist/browser/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/index.d.ts +72 -48
- package/dist/browser/models/index.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/models/index.js +23 -0
- package/dist/browser/models/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/mappers.js +83 -38
- 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/cloudManifestFile.d.ts +3 -3
- package/dist/browser/operations/cloudManifestFile.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/cloudManifestFile.js +3 -2
- package/dist/browser/operations/cloudManifestFile.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/customerSubscriptions.d.ts +3 -3
- package/dist/browser/operations/customerSubscriptions.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/customerSubscriptions.js +30 -33
- package/dist/browser/operations/customerSubscriptions.js.map +1 -0
- package/dist/browser/operations/index.d.ts +7 -0
- package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
- package/dist/browser/operations/index.js +14 -0
- package/dist/browser/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/linkedSubscriptions.d.ts +3 -3
- package/dist/browser/operations/linkedSubscriptions.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/linkedSubscriptions.js +56 -63
- package/dist/browser/operations/linkedSubscriptions.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 +30 -33
- package/dist/browser/operations/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/products.d.ts +3 -3
- package/dist/browser/operations/products.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/products.js +30 -33
- package/dist/browser/operations/products.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/registrations.d.ts +3 -3
- package/dist/browser/operations/registrations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/registrations.js +56 -63
- package/dist/browser/operations/registrations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/cloudManifestFile.d.ts +1 -1
- package/dist/browser/operationsInterfaces/cloudManifestFile.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/cloudManifestFile.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/customerSubscriptions.d.ts +1 -1
- package/dist/browser/operationsInterfaces/customerSubscriptions.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/customerSubscriptions.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +7 -0
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/index.js +14 -0
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/linkedSubscriptions.d.ts +1 -1
- package/dist/browser/operationsInterfaces/linkedSubscriptions.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/linkedSubscriptions.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/products.d.ts +1 -1
- package/dist/browser/operationsInterfaces/products.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/products.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/registrations.d.ts +1 -1
- package/dist/browser/operationsInterfaces/registrations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/registrations.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/pagingHelper.d.ts +13 -0
- package/dist/browser/pagingHelper.d.ts.map +1 -0
- package/dist/browser/pagingHelper.js +30 -0
- package/dist/browser/pagingHelper.js.map +1 -0
- package/dist/commonjs/azureStackManagementClient.d.ts +26 -0
- package/dist/commonjs/azureStackManagementClient.d.ts.map +1 -0
- package/dist/commonjs/azureStackManagementClient.js +122 -0
- package/dist/commonjs/azureStackManagementClient.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/{types/arm-azurestack.d.ts → dist/commonjs/models/index.d.ts} +878 -1206
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +81 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +37 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +1254 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +20 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +166 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/cloudManifestFile.d.ts +24 -0
- package/dist/commonjs/operations/cloudManifestFile.d.ts.map +1 -0
- package/dist/commonjs/operations/cloudManifestFile.js +76 -0
- package/dist/commonjs/operations/cloudManifestFile.js.map +1 -0
- package/dist/commonjs/operations/customerSubscriptions.d.ts +63 -0
- package/dist/commonjs/operations/customerSubscriptions.d.ts.map +1 -0
- package/dist/commonjs/operations/customerSubscriptions.js +243 -0
- package/dist/commonjs/operations/customerSubscriptions.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +7 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +17 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/linkedSubscriptions.d.ts +83 -0
- package/dist/commonjs/operations/linkedSubscriptions.d.ts.map +1 -0
- package/dist/commonjs/operations/linkedSubscriptions.js +357 -0
- package/dist/commonjs/operations/linkedSubscriptions.js.map +1 -0
- package/dist/commonjs/operations/operations.d.ts +32 -0
- package/dist/commonjs/operations/operations.d.ts.map +1 -0
- package/dist/commonjs/operations/operations.js +122 -0
- package/dist/commonjs/operations/operations.js.map +1 -0
- package/dist/commonjs/operations/products.d.ts +78 -0
- package/dist/commonjs/operations/products.d.ts.map +1 -0
- package/dist/commonjs/operations/products.js +305 -0
- package/dist/commonjs/operations/products.js.map +1 -0
- package/dist/commonjs/operations/registrations.d.ts +97 -0
- package/dist/commonjs/operations/registrations.d.ts.map +1 -0
- package/dist/commonjs/operations/registrations.js +414 -0
- package/dist/commonjs/operations/registrations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/cloudManifestFile.d.ts +16 -0
- package/dist/commonjs/operationsInterfaces/cloudManifestFile.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/cloudManifestFile.js +10 -0
- package/dist/commonjs/operationsInterfaces/cloudManifestFile.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/customerSubscriptions.d.ts +38 -0
- package/dist/commonjs/operationsInterfaces/customerSubscriptions.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/customerSubscriptions.js +10 -0
- package/dist/commonjs/operationsInterfaces/customerSubscriptions.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +7 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +17 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/linkedSubscriptions.d.ts +47 -0
- package/dist/commonjs/operationsInterfaces/linkedSubscriptions.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/linkedSubscriptions.js +10 -0
- package/dist/commonjs/operationsInterfaces/linkedSubscriptions.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -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/products.d.ts +53 -0
- package/dist/commonjs/operationsInterfaces/products.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/products.js +10 -0
- package/dist/commonjs/operationsInterfaces/products.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/registrations.d.ts +61 -0
- package/dist/commonjs/operationsInterfaces/registrations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/registrations.js +10 -0
- package/dist/commonjs/operationsInterfaces/registrations.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/azureStackManagementClient.d.ts +26 -0
- package/dist/esm/azureStackManagementClient.d.ts.map +1 -0
- package/dist/esm/azureStackManagementClient.js +117 -0
- package/dist/esm/azureStackManagementClient.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 -4
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/models/index.d.ts +878 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +78 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +37 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +1251 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +20 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +163 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/cloudManifestFile.d.ts +24 -0
- package/dist/esm/operations/cloudManifestFile.d.ts.map +1 -0
- package/dist/esm/operations/cloudManifestFile.js +71 -0
- package/dist/esm/operations/cloudManifestFile.js.map +1 -0
- package/dist/esm/operations/customerSubscriptions.d.ts +63 -0
- package/dist/esm/operations/customerSubscriptions.d.ts.map +1 -0
- package/dist/esm/operations/customerSubscriptions.js +238 -0
- package/dist/esm/operations/customerSubscriptions.js.map +1 -0
- package/dist/esm/operations/index.d.ts +7 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +14 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/linkedSubscriptions.d.ts +83 -0
- package/dist/esm/operations/linkedSubscriptions.d.ts.map +1 -0
- package/dist/esm/operations/linkedSubscriptions.js +352 -0
- package/dist/esm/operations/linkedSubscriptions.js.map +1 -0
- package/dist/esm/operations/operations.d.ts +32 -0
- package/dist/esm/operations/operations.d.ts.map +1 -0
- package/dist/esm/operations/operations.js +117 -0
- package/dist/esm/operations/operations.js.map +1 -0
- package/dist/esm/operations/products.d.ts +78 -0
- package/dist/esm/operations/products.d.ts.map +1 -0
- package/dist/esm/operations/products.js +300 -0
- package/dist/esm/operations/products.js.map +1 -0
- package/dist/esm/operations/registrations.d.ts +97 -0
- package/dist/esm/operations/registrations.d.ts.map +1 -0
- package/dist/esm/operations/registrations.js +409 -0
- package/dist/esm/operations/registrations.js.map +1 -0
- package/dist/esm/operationsInterfaces/cloudManifestFile.d.ts +16 -0
- package/dist/esm/operationsInterfaces/cloudManifestFile.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/cloudManifestFile.js +9 -0
- package/dist/esm/operationsInterfaces/cloudManifestFile.js.map +1 -0
- package/dist/esm/operationsInterfaces/customerSubscriptions.d.ts +38 -0
- package/dist/esm/operationsInterfaces/customerSubscriptions.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/customerSubscriptions.js +9 -0
- package/dist/esm/operationsInterfaces/customerSubscriptions.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +7 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +14 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/linkedSubscriptions.d.ts +47 -0
- package/dist/esm/operationsInterfaces/linkedSubscriptions.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/linkedSubscriptions.js +9 -0
- package/dist/esm/operationsInterfaces/linkedSubscriptions.js.map +1 -0
- package/dist/esm/operationsInterfaces/operations.d.ts +11 -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/products.d.ts +53 -0
- package/dist/esm/operationsInterfaces/products.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/products.js +9 -0
- package/dist/esm/operationsInterfaces/products.js.map +1 -0
- package/dist/esm/operationsInterfaces/registrations.d.ts +61 -0
- package/dist/esm/operationsInterfaces/registrations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/registrations.js +9 -0
- package/dist/esm/operationsInterfaces/registrations.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/azureStackManagementClient.d.ts +26 -0
- package/dist/react-native/azureStackManagementClient.d.ts.map +1 -0
- package/dist/react-native/azureStackManagementClient.js +117 -0
- package/dist/react-native/azureStackManagementClient.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/models/index.d.ts +878 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +78 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +37 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +1251 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +20 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +163 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/cloudManifestFile.d.ts +24 -0
- package/dist/react-native/operations/cloudManifestFile.d.ts.map +1 -0
- package/dist/react-native/operations/cloudManifestFile.js +71 -0
- package/dist/react-native/operations/cloudManifestFile.js.map +1 -0
- package/dist/react-native/operations/customerSubscriptions.d.ts +63 -0
- package/dist/react-native/operations/customerSubscriptions.d.ts.map +1 -0
- package/dist/react-native/operations/customerSubscriptions.js +238 -0
- package/dist/react-native/operations/customerSubscriptions.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +7 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +14 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/linkedSubscriptions.d.ts +83 -0
- package/dist/react-native/operations/linkedSubscriptions.d.ts.map +1 -0
- package/dist/react-native/operations/linkedSubscriptions.js +352 -0
- package/dist/react-native/operations/linkedSubscriptions.js.map +1 -0
- package/dist/react-native/operations/operations.d.ts +32 -0
- package/dist/react-native/operations/operations.d.ts.map +1 -0
- package/dist/react-native/operations/operations.js +117 -0
- package/dist/react-native/operations/operations.js.map +1 -0
- package/dist/react-native/operations/products.d.ts +78 -0
- package/dist/react-native/operations/products.d.ts.map +1 -0
- package/dist/react-native/operations/products.js +300 -0
- package/dist/react-native/operations/products.js.map +1 -0
- package/dist/react-native/operations/registrations.d.ts +97 -0
- package/dist/react-native/operations/registrations.d.ts.map +1 -0
- package/dist/react-native/operations/registrations.js +409 -0
- package/dist/react-native/operations/registrations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/cloudManifestFile.d.ts +16 -0
- package/dist/react-native/operationsInterfaces/cloudManifestFile.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/cloudManifestFile.js +9 -0
- package/dist/react-native/operationsInterfaces/cloudManifestFile.js.map +1 -0
- package/dist/react-native/operationsInterfaces/customerSubscriptions.d.ts +38 -0
- package/dist/react-native/operationsInterfaces/customerSubscriptions.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/customerSubscriptions.js +9 -0
- package/dist/react-native/operationsInterfaces/customerSubscriptions.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +7 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +14 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/linkedSubscriptions.d.ts +47 -0
- package/dist/react-native/operationsInterfaces/linkedSubscriptions.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/linkedSubscriptions.js +9 -0
- package/dist/react-native/operationsInterfaces/linkedSubscriptions.js.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts +11 -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/products.d.ts +53 -0
- package/dist/react-native/operationsInterfaces/products.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/products.js +9 -0
- package/dist/react-native/operationsInterfaces/products.js.map +1 -0
- package/dist/react-native/operationsInterfaces/registrations.d.ts +61 -0
- package/dist/react-native/operationsInterfaces/registrations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/registrations.js +9 -0
- package/dist/react-native/operationsInterfaces/registrations.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 +86 -73
- package/review/{arm-azurestack.api.md → arm-azurestack-node.api.md} +37 -57
- package/dist/index.js +0 -3033
- 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/cloudManifestFileGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/cloudManifestFileGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/cloudManifestFileGetSample.js +0 -30
- package/dist-esm/samples-dev/cloudManifestFileGetSample.js.map +0 -1
- package/dist-esm/samples-dev/cloudManifestFileListSample.d.ts +0 -2
- package/dist-esm/samples-dev/cloudManifestFileListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/cloudManifestFileListSample.js +0 -29
- package/dist-esm/samples-dev/cloudManifestFileListSample.js.map +0 -1
- package/dist-esm/samples-dev/customerSubscriptionsCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/customerSubscriptionsCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/customerSubscriptionsCreateSample.js +0 -35
- package/dist-esm/samples-dev/customerSubscriptionsCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/customerSubscriptionsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/customerSubscriptionsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/customerSubscriptionsDeleteSample.js +0 -32
- package/dist-esm/samples-dev/customerSubscriptionsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/customerSubscriptionsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/customerSubscriptionsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/customerSubscriptionsGetSample.js +0 -32
- package/dist-esm/samples-dev/customerSubscriptionsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/customerSubscriptionsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/customerSubscriptionsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/customerSubscriptionsListSample.js +0 -45
- package/dist-esm/samples-dev/customerSubscriptionsListSample.js.map +0 -1
- package/dist-esm/samples-dev/linkedSubscriptionsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/linkedSubscriptionsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/linkedSubscriptionsCreateOrUpdateSample.js +0 -36
- package/dist-esm/samples-dev/linkedSubscriptionsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/linkedSubscriptionsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/linkedSubscriptionsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/linkedSubscriptionsDeleteSample.js +0 -31
- package/dist-esm/samples-dev/linkedSubscriptionsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/linkedSubscriptionsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/linkedSubscriptionsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/linkedSubscriptionsGetSample.js +0 -31
- package/dist-esm/samples-dev/linkedSubscriptionsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/linkedSubscriptionsListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/linkedSubscriptionsListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/linkedSubscriptionsListByResourceGroupSample.js +0 -44
- package/dist-esm/samples-dev/linkedSubscriptionsListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/linkedSubscriptionsListBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/linkedSubscriptionsListBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/linkedSubscriptionsListBySubscriptionSample.js +0 -43
- package/dist-esm/samples-dev/linkedSubscriptionsListBySubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/linkedSubscriptionsUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/linkedSubscriptionsUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/linkedSubscriptionsUpdateSample.js +0 -36
- package/dist-esm/samples-dev/linkedSubscriptionsUpdateSample.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 -43
- package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
- package/dist-esm/samples-dev/productsGetProductSample.d.ts +0 -2
- package/dist-esm/samples-dev/productsGetProductSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/productsGetProductSample.js +0 -32
- package/dist-esm/samples-dev/productsGetProductSample.js.map +0 -1
- package/dist-esm/samples-dev/productsGetProductsSample.d.ts +0 -2
- package/dist-esm/samples-dev/productsGetProductsSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/productsGetProductsSample.js +0 -32
- package/dist-esm/samples-dev/productsGetProductsSample.js.map +0 -1
- package/dist-esm/samples-dev/productsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/productsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/productsGetSample.js +0 -32
- package/dist-esm/samples-dev/productsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/productsListDetailsSample.d.ts +0 -2
- package/dist-esm/samples-dev/productsListDetailsSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/productsListDetailsSample.js +0 -32
- package/dist-esm/samples-dev/productsListDetailsSample.js.map +0 -1
- package/dist-esm/samples-dev/productsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/productsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/productsListSample.js +0 -45
- package/dist-esm/samples-dev/productsListSample.js.map +0 -1
- package/dist-esm/samples-dev/productsUploadLogSample.d.ts +0 -2
- package/dist-esm/samples-dev/productsUploadLogSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/productsUploadLogSample.js +0 -32
- package/dist-esm/samples-dev/productsUploadLogSample.js.map +0 -1
- package/dist-esm/samples-dev/registrationsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/registrationsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/registrationsCreateOrUpdateSample.js +0 -35
- package/dist-esm/samples-dev/registrationsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/registrationsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/registrationsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/registrationsDeleteSample.js +0 -31
- package/dist-esm/samples-dev/registrationsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/registrationsEnableRemoteManagementSample.d.ts +0 -2
- package/dist-esm/samples-dev/registrationsEnableRemoteManagementSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/registrationsEnableRemoteManagementSample.js +0 -31
- package/dist-esm/samples-dev/registrationsEnableRemoteManagementSample.js.map +0 -1
- package/dist-esm/samples-dev/registrationsGetActivationKeySample.d.ts +0 -2
- package/dist-esm/samples-dev/registrationsGetActivationKeySample.d.ts.map +0 -1
- package/dist-esm/samples-dev/registrationsGetActivationKeySample.js +0 -31
- package/dist-esm/samples-dev/registrationsGetActivationKeySample.js.map +0 -1
- package/dist-esm/samples-dev/registrationsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/registrationsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/registrationsGetSample.js +0 -31
- package/dist-esm/samples-dev/registrationsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/registrationsListBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/registrationsListBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/registrationsListBySubscriptionSample.js +0 -43
- package/dist-esm/samples-dev/registrationsListBySubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/registrationsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/registrationsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/registrationsListSample.js +0 -44
- package/dist-esm/samples-dev/registrationsListSample.js.map +0 -1
- package/dist-esm/samples-dev/registrationsUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/registrationsUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/registrationsUpdateSample.js +0 -35
- package/dist-esm/samples-dev/registrationsUpdateSample.js.map +0 -1
- package/dist-esm/src/azureStackManagementClient.d.ts.map +0 -1
- package/dist-esm/src/azureStackManagementClient.js +0 -58
- package/dist-esm/src/azureStackManagementClient.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -5
- package/dist-esm/src/index.d.ts.map +0 -1
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/models/index.d.ts.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/cloudManifestFile.d.ts.map +0 -1
- package/dist-esm/src/operations/cloudManifestFile.js.map +0 -1
- package/dist-esm/src/operations/customerSubscriptions.d.ts.map +0 -1
- package/dist-esm/src/operations/customerSubscriptions.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -7
- package/dist-esm/src/operations/index.js +0 -14
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/linkedSubscriptions.d.ts.map +0 -1
- package/dist-esm/src/operations/linkedSubscriptions.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/products.d.ts.map +0 -1
- package/dist-esm/src/operations/products.js.map +0 -1
- package/dist-esm/src/operations/registrations.d.ts.map +0 -1
- package/dist-esm/src/operations/registrations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/cloudManifestFile.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/cloudManifestFile.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/customerSubscriptions.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/customerSubscriptions.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -7
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.js +0 -14
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/linkedSubscriptions.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/linkedSubscriptions.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/products.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/products.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/registrations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/registrations.js.map +0 -1
- package/dist-esm/test/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -40
- package/dist-esm/test/sampleTest.js.map +0 -1
- package/rollup.config.js +0 -122
- package/src/azureStackManagementClient.ts +0 -101
- package/src/models/index.ts +0 -981
- package/src/models/mappers.ts +0 -1287
- package/src/models/parameters.ts +0 -192
- package/src/operations/cloudManifestFile.ts +0 -93
- package/src/operations/customerSubscriptions.ts +0 -317
- package/src/operations/index.ts +0 -14
- package/src/operations/linkedSubscriptions.ts +0 -450
- package/src/operations/operations.ts +0 -137
- package/src/operations/products.ts +0 -403
- package/src/operations/registrations.ts +0 -521
- package/src/operationsInterfaces/cloudManifestFile.ts +0 -34
- package/src/operationsInterfaces/customerSubscriptions.ts +0 -75
- package/src/operationsInterfaces/index.ts +0 -14
- package/src/operationsInterfaces/linkedSubscriptions.ts +0 -91
- package/src/operationsInterfaces/operations.ts +0 -22
- package/src/operationsInterfaces/products.ts +0 -104
- package/src/operationsInterfaces/registrations.ts +0 -116
- package/tsconfig.json +0 -33
- /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/cloudManifestFile.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/customerSubscriptions.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/linkedSubscriptions.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/products.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/registrations.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"linkedSubscriptions.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/linkedSubscriptions.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,kBAAkB,EAClB,oDAAoD,EACpD,mDAAmD,EACnD,oCAAoC,EACpC,8BAA8B,EAC9B,uCAAuC,EACvC,2BAA2B,EAC3B,+CAA+C,EAC/C,yCAAyC,EACzC,uCAAuC,EACvC,iCAAiC,EAClC,MAAM,oBAAoB,CAAC;AAG5B,oDAAoD;AACpD,MAAM,WAAW,mBAAmB;IAClC;;;;OAIG;IACH,mBAAmB,CACjB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,oDAAoD,GAC7D,0BAA0B,CAAC,kBAAkB,CAAC,CAAC;IAClD;;;OAGG;IACH,kBAAkB,CAChB,OAAO,CAAC,EAAE,mDAAmD,GAC5D,0BAA0B,CAAC,kBAAkB,CAAC,CAAC;IAClD;;;;;OAKG;IACH,GAAG,CACD,aAAa,EAAE,MAAM,EACrB,sBAAsB,EAAE,MAAM,EAC9B,OAAO,CAAC,EAAE,oCAAoC,GAC7C,OAAO,CAAC,8BAA8B,CAAC,CAAC;IAC3C;;;;;OAKG;IACH,MAAM,CACJ,aAAa,EAAE,MAAM,EACrB,sBAAsB,EAAE,MAAM,EAC9B,OAAO,CAAC,EAAE,uCAAuC,GAChD,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;OAMG;IACH,cAAc,CACZ,aAAa,EAAE,MAAM,EACrB,sBAAsB,EAAE,MAAM,EAC9B,QAAQ,EAAE,2BAA2B,EACrC,OAAO,CAAC,EAAE,+CAA+C,GACxD,OAAO,CAAC,yCAAyC,CAAC,CAAC;IACtD;;;;;;OAMG;IACH,MAAM,CACJ,aAAa,EAAE,MAAM,EACrB,sBAAsB,EAAE,MAAM,EAC9B,QAAQ,EAAE,2BAA2B,EACrC,OAAO,CAAC,EAAE,uCAAuC,GAChD,OAAO,CAAC,iCAAiC,CAAC,CAAC;CAC/C"}
|
|
@@ -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=linkedSubscriptions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"linkedSubscriptions.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/linkedSubscriptions.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 LinkedSubscription,\n LinkedSubscriptionsListByResourceGroupOptionalParams,\n LinkedSubscriptionsListBySubscriptionOptionalParams,\n LinkedSubscriptionsGetOptionalParams,\n LinkedSubscriptionsGetResponse,\n LinkedSubscriptionsDeleteOptionalParams,\n LinkedSubscriptionParameter,\n LinkedSubscriptionsCreateOrUpdateOptionalParams,\n LinkedSubscriptionsCreateOrUpdateResponse,\n LinkedSubscriptionsUpdateOptionalParams,\n LinkedSubscriptionsUpdateResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a LinkedSubscriptions. */\nexport interface LinkedSubscriptions {\n /**\n * Returns a list of all linked subscriptions under current resource group.\n * @param resourceGroup Name of the resource group.\n * @param options The options parameters.\n */\n listByResourceGroup(\n resourceGroup: string,\n options?: LinkedSubscriptionsListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<LinkedSubscription>;\n /**\n * Returns a list of all linked subscriptions under current subscription.\n * @param options The options parameters.\n */\n listBySubscription(\n options?: LinkedSubscriptionsListBySubscriptionOptionalParams\n ): PagedAsyncIterableIterator<LinkedSubscription>;\n /**\n * Returns the properties of a Linked Subscription resource.\n * @param resourceGroup Name of the resource group.\n * @param linkedSubscriptionName Name of the Linked Subscription resource.\n * @param options The options parameters.\n */\n get(\n resourceGroup: string,\n linkedSubscriptionName: string,\n options?: LinkedSubscriptionsGetOptionalParams\n ): Promise<LinkedSubscriptionsGetResponse>;\n /**\n * Delete the requested Linked Subscription resource.\n * @param resourceGroup Name of the resource group.\n * @param linkedSubscriptionName Name of the Linked Subscription resource.\n * @param options The options parameters.\n */\n delete(\n resourceGroup: string,\n linkedSubscriptionName: string,\n options?: LinkedSubscriptionsDeleteOptionalParams\n ): Promise<void>;\n /**\n * Create or update a linked subscription resource.\n * @param resourceGroup Name of the resource group.\n * @param linkedSubscriptionName Name of the Linked Subscription resource.\n * @param resource Linked subscription resource parameter.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroup: string,\n linkedSubscriptionName: string,\n resource: LinkedSubscriptionParameter,\n options?: LinkedSubscriptionsCreateOrUpdateOptionalParams\n ): Promise<LinkedSubscriptionsCreateOrUpdateResponse>;\n /**\n * Patch a Linked Subscription resource.\n * @param resourceGroup Name of the resource group.\n * @param linkedSubscriptionName Name of the Linked Subscription resource.\n * @param resource Linked subscription resource parameter.\n * @param options The options parameters.\n */\n update(\n resourceGroup: string,\n linkedSubscriptionName: string,\n resource: LinkedSubscriptionParameter,\n options?: LinkedSubscriptionsUpdateOptionalParams\n ): Promise<LinkedSubscriptionsUpdateResponse>;\n}\n"]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { Operation, OperationsListOptionalParams } from "../models/index.js";
|
|
3
|
+
/** Interface representing a Operations. */
|
|
4
|
+
export interface Operations {
|
|
5
|
+
/**
|
|
6
|
+
* Returns the list of supported REST operations.
|
|
7
|
+
* @param options The options parameters.
|
|
8
|
+
*/
|
|
9
|
+
list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AAG7E,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,SAAS,CAAC,CAAC;CAC1C"}
|
|
@@ -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=operations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.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 { Operation, OperationsListOptionalParams } from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Operations. */\nexport interface Operations {\n /**\n * Returns the list of supported REST operations.\n * @param options The options parameters.\n */\n list(\n options?: OperationsListOptionalParams\n ): PagedAsyncIterableIterator<Operation>;\n}\n"]}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { Product, ProductsListOptionalParams, ProductsGetOptionalParams, ProductsGetResponse, ProductsListDetailsOptionalParams, ProductsListDetailsResponse, ProductsGetProductsOptionalParams, ProductsGetProductsResponse, ProductsGetProductOptionalParams, ProductsGetProductResponse, ProductsUploadLogOptionalParams, ProductsUploadLogResponse } from "../models/index.js";
|
|
3
|
+
/** Interface representing a Products. */
|
|
4
|
+
export interface Products {
|
|
5
|
+
/**
|
|
6
|
+
* Returns a list of products.
|
|
7
|
+
* @param resourceGroup Name of the resource group.
|
|
8
|
+
* @param registrationName Name of the Azure Stack registration.
|
|
9
|
+
* @param options The options parameters.
|
|
10
|
+
*/
|
|
11
|
+
list(resourceGroup: string, registrationName: string, options?: ProductsListOptionalParams): PagedAsyncIterableIterator<Product>;
|
|
12
|
+
/**
|
|
13
|
+
* Returns the specified product.
|
|
14
|
+
* @param resourceGroup Name of the resource group.
|
|
15
|
+
* @param registrationName Name of the Azure Stack registration.
|
|
16
|
+
* @param productName Name of the product.
|
|
17
|
+
* @param options The options parameters.
|
|
18
|
+
*/
|
|
19
|
+
get(resourceGroup: string, registrationName: string, productName: string, options?: ProductsGetOptionalParams): Promise<ProductsGetResponse>;
|
|
20
|
+
/**
|
|
21
|
+
* Returns the extended properties of a product.
|
|
22
|
+
* @param resourceGroup Name of the resource group.
|
|
23
|
+
* @param registrationName Name of the Azure Stack registration.
|
|
24
|
+
* @param productName Name of the product.
|
|
25
|
+
* @param options The options parameters.
|
|
26
|
+
*/
|
|
27
|
+
listDetails(resourceGroup: string, registrationName: string, productName: string, options?: ProductsListDetailsOptionalParams): Promise<ProductsListDetailsResponse>;
|
|
28
|
+
/**
|
|
29
|
+
* Returns a list of products.
|
|
30
|
+
* @param resourceGroup Name of the resource group.
|
|
31
|
+
* @param registrationName Name of the Azure Stack registration.
|
|
32
|
+
* @param productName Name of the product.
|
|
33
|
+
* @param options The options parameters.
|
|
34
|
+
*/
|
|
35
|
+
getProducts(resourceGroup: string, registrationName: string, productName: string, options?: ProductsGetProductsOptionalParams): Promise<ProductsGetProductsResponse>;
|
|
36
|
+
/**
|
|
37
|
+
* Returns the specified product.
|
|
38
|
+
* @param resourceGroup Name of the resource group.
|
|
39
|
+
* @param registrationName Name of the Azure Stack registration.
|
|
40
|
+
* @param productName Name of the product.
|
|
41
|
+
* @param options The options parameters.
|
|
42
|
+
*/
|
|
43
|
+
getProduct(resourceGroup: string, registrationName: string, productName: string, options?: ProductsGetProductOptionalParams): Promise<ProductsGetProductResponse>;
|
|
44
|
+
/**
|
|
45
|
+
* Returns the specified product.
|
|
46
|
+
* @param resourceGroup Name of the resource group.
|
|
47
|
+
* @param registrationName Name of the Azure Stack registration.
|
|
48
|
+
* @param productName Name of the product.
|
|
49
|
+
* @param options The options parameters.
|
|
50
|
+
*/
|
|
51
|
+
uploadLog(resourceGroup: string, registrationName: string, productName: string, options?: ProductsUploadLogOptionalParams): Promise<ProductsUploadLogResponse>;
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=products.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"products.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/products.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,OAAO,EACP,0BAA0B,EAC1B,yBAAyB,EACzB,mBAAmB,EACnB,iCAAiC,EACjC,2BAA2B,EAC3B,iCAAiC,EACjC,2BAA2B,EAC3B,gCAAgC,EAChC,0BAA0B,EAC1B,+BAA+B,EAC/B,yBAAyB,EAC1B,MAAM,oBAAoB,CAAC;AAG5B,yCAAyC;AACzC,MAAM,WAAW,QAAQ;IACvB;;;;;OAKG;IACH,IAAI,CACF,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,0BAA0B,GACnC,0BAA0B,CAAC,OAAO,CAAC,CAAC;IACvC;;;;;;OAMG;IACH,GAAG,CACD,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,MAAM,EACxB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,yBAAyB,GAClC,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAChC;;;;;;OAMG;IACH,WAAW,CACT,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,MAAM,EACxB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,iCAAiC,GAC1C,OAAO,CAAC,2BAA2B,CAAC,CAAC;IACxC;;;;;;OAMG;IACH,WAAW,CACT,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,MAAM,EACxB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,iCAAiC,GAC1C,OAAO,CAAC,2BAA2B,CAAC,CAAC;IACxC;;;;;;OAMG;IACH,UAAU,CACR,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,MAAM,EACxB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC,CAAC;IACvC;;;;;;OAMG;IACH,SAAS,CACP,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,MAAM,EACxB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,yBAAyB,CAAC,CAAC;CACvC"}
|
|
@@ -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=products.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"products.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/products.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 Product,\n ProductsListOptionalParams,\n ProductsGetOptionalParams,\n ProductsGetResponse,\n ProductsListDetailsOptionalParams,\n ProductsListDetailsResponse,\n ProductsGetProductsOptionalParams,\n ProductsGetProductsResponse,\n ProductsGetProductOptionalParams,\n ProductsGetProductResponse,\n ProductsUploadLogOptionalParams,\n ProductsUploadLogResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Products. */\nexport interface Products {\n /**\n * Returns a list of products.\n * @param resourceGroup Name of the resource group.\n * @param registrationName Name of the Azure Stack registration.\n * @param options The options parameters.\n */\n list(\n resourceGroup: string,\n registrationName: string,\n options?: ProductsListOptionalParams\n ): PagedAsyncIterableIterator<Product>;\n /**\n * Returns the specified product.\n * @param resourceGroup Name of the resource group.\n * @param registrationName Name of the Azure Stack registration.\n * @param productName Name of the product.\n * @param options The options parameters.\n */\n get(\n resourceGroup: string,\n registrationName: string,\n productName: string,\n options?: ProductsGetOptionalParams\n ): Promise<ProductsGetResponse>;\n /**\n * Returns the extended properties of a product.\n * @param resourceGroup Name of the resource group.\n * @param registrationName Name of the Azure Stack registration.\n * @param productName Name of the product.\n * @param options The options parameters.\n */\n listDetails(\n resourceGroup: string,\n registrationName: string,\n productName: string,\n options?: ProductsListDetailsOptionalParams\n ): Promise<ProductsListDetailsResponse>;\n /**\n * Returns a list of products.\n * @param resourceGroup Name of the resource group.\n * @param registrationName Name of the Azure Stack registration.\n * @param productName Name of the product.\n * @param options The options parameters.\n */\n getProducts(\n resourceGroup: string,\n registrationName: string,\n productName: string,\n options?: ProductsGetProductsOptionalParams\n ): Promise<ProductsGetProductsResponse>;\n /**\n * Returns the specified product.\n * @param resourceGroup Name of the resource group.\n * @param registrationName Name of the Azure Stack registration.\n * @param productName Name of the product.\n * @param options The options parameters.\n */\n getProduct(\n resourceGroup: string,\n registrationName: string,\n productName: string,\n options?: ProductsGetProductOptionalParams\n ): Promise<ProductsGetProductResponse>;\n /**\n * Returns the specified product.\n * @param resourceGroup Name of the resource group.\n * @param registrationName Name of the Azure Stack registration.\n * @param productName Name of the product.\n * @param options The options parameters.\n */\n uploadLog(\n resourceGroup: string,\n registrationName: string,\n productName: string,\n options?: ProductsUploadLogOptionalParams\n ): Promise<ProductsUploadLogResponse>;\n}\n"]}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { Registration, RegistrationsListOptionalParams, RegistrationsListBySubscriptionOptionalParams, RegistrationsGetOptionalParams, RegistrationsGetResponse, RegistrationsDeleteOptionalParams, RegistrationParameter, RegistrationsCreateOrUpdateOptionalParams, RegistrationsCreateOrUpdateResponse, RegistrationsUpdateOptionalParams, RegistrationsUpdateResponse, RegistrationsGetActivationKeyOptionalParams, RegistrationsGetActivationKeyResponse, RegistrationsEnableRemoteManagementOptionalParams } from "../models/index.js";
|
|
3
|
+
/** Interface representing a Registrations. */
|
|
4
|
+
export interface Registrations {
|
|
5
|
+
/**
|
|
6
|
+
* Returns a list of all registrations.
|
|
7
|
+
* @param resourceGroup Name of the resource group.
|
|
8
|
+
* @param options The options parameters.
|
|
9
|
+
*/
|
|
10
|
+
list(resourceGroup: string, options?: RegistrationsListOptionalParams): PagedAsyncIterableIterator<Registration>;
|
|
11
|
+
/**
|
|
12
|
+
* Returns a list of all registrations under current subscription.
|
|
13
|
+
* @param options The options parameters.
|
|
14
|
+
*/
|
|
15
|
+
listBySubscription(options?: RegistrationsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<Registration>;
|
|
16
|
+
/**
|
|
17
|
+
* Returns the properties of an Azure Stack registration.
|
|
18
|
+
* @param resourceGroup Name of the resource group.
|
|
19
|
+
* @param registrationName Name of the Azure Stack registration.
|
|
20
|
+
* @param options The options parameters.
|
|
21
|
+
*/
|
|
22
|
+
get(resourceGroup: string, registrationName: string, options?: RegistrationsGetOptionalParams): Promise<RegistrationsGetResponse>;
|
|
23
|
+
/**
|
|
24
|
+
* Delete the requested Azure Stack registration.
|
|
25
|
+
* @param resourceGroup Name of the resource group.
|
|
26
|
+
* @param registrationName Name of the Azure Stack registration.
|
|
27
|
+
* @param options The options parameters.
|
|
28
|
+
*/
|
|
29
|
+
delete(resourceGroup: string, registrationName: string, options?: RegistrationsDeleteOptionalParams): Promise<void>;
|
|
30
|
+
/**
|
|
31
|
+
* Create or update an Azure Stack registration.
|
|
32
|
+
* @param resourceGroup Name of the resource group.
|
|
33
|
+
* @param registrationName Name of the Azure Stack registration.
|
|
34
|
+
* @param token Registration token
|
|
35
|
+
* @param options The options parameters.
|
|
36
|
+
*/
|
|
37
|
+
createOrUpdate(resourceGroup: string, registrationName: string, token: RegistrationParameter, options?: RegistrationsCreateOrUpdateOptionalParams): Promise<RegistrationsCreateOrUpdateResponse>;
|
|
38
|
+
/**
|
|
39
|
+
* Patch an Azure Stack registration.
|
|
40
|
+
* @param resourceGroup Name of the resource group.
|
|
41
|
+
* @param registrationName Name of the Azure Stack registration.
|
|
42
|
+
* @param token Registration token
|
|
43
|
+
* @param options The options parameters.
|
|
44
|
+
*/
|
|
45
|
+
update(resourceGroup: string, registrationName: string, token: RegistrationParameter, options?: RegistrationsUpdateOptionalParams): Promise<RegistrationsUpdateResponse>;
|
|
46
|
+
/**
|
|
47
|
+
* Returns Azure Stack Activation Key.
|
|
48
|
+
* @param resourceGroup Name of the resource group.
|
|
49
|
+
* @param registrationName Name of the Azure Stack registration.
|
|
50
|
+
* @param options The options parameters.
|
|
51
|
+
*/
|
|
52
|
+
getActivationKey(resourceGroup: string, registrationName: string, options?: RegistrationsGetActivationKeyOptionalParams): Promise<RegistrationsGetActivationKeyResponse>;
|
|
53
|
+
/**
|
|
54
|
+
* Enables remote management for device under the Azure Stack registration.
|
|
55
|
+
* @param resourceGroup Name of the resource group.
|
|
56
|
+
* @param registrationName Name of the Azure Stack registration.
|
|
57
|
+
* @param options The options parameters.
|
|
58
|
+
*/
|
|
59
|
+
enableRemoteManagement(resourceGroup: string, registrationName: string, options?: RegistrationsEnableRemoteManagementOptionalParams): Promise<void>;
|
|
60
|
+
}
|
|
61
|
+
//# sourceMappingURL=registrations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"registrations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/registrations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,YAAY,EACZ,+BAA+B,EAC/B,6CAA6C,EAC7C,8BAA8B,EAC9B,wBAAwB,EACxB,iCAAiC,EACjC,qBAAqB,EACrB,yCAAyC,EACzC,mCAAmC,EACnC,iCAAiC,EACjC,2BAA2B,EAC3B,2CAA2C,EAC3C,qCAAqC,EACrC,iDAAiD,EAClD,MAAM,oBAAoB,CAAC;AAG5B,8CAA8C;AAC9C,MAAM,WAAW,aAAa;IAC5B;;;;OAIG;IACH,IAAI,CACF,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,+BAA+B,GACxC,0BAA0B,CAAC,YAAY,CAAC,CAAC;IAC5C;;;OAGG;IACH,kBAAkB,CAChB,OAAO,CAAC,EAAE,6CAA6C,GACtD,0BAA0B,CAAC,YAAY,CAAC,CAAC;IAC5C;;;;;OAKG;IACH,GAAG,CACD,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,wBAAwB,CAAC,CAAC;IACrC;;;;;OAKG;IACH,MAAM,CACJ,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,iCAAiC,GAC1C,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;OAMG;IACH,cAAc,CACZ,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,MAAM,EACxB,KAAK,EAAE,qBAAqB,EAC5B,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,mCAAmC,CAAC,CAAC;IAChD;;;;;;OAMG;IACH,MAAM,CACJ,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,MAAM,EACxB,KAAK,EAAE,qBAAqB,EAC5B,OAAO,CAAC,EAAE,iCAAiC,GAC1C,OAAO,CAAC,2BAA2B,CAAC,CAAC;IACxC;;;;;OAKG;IACH,gBAAgB,CACd,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,qCAAqC,CAAC,CAAC;IAClD;;;;;OAKG;IACH,sBAAsB,CACpB,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,iDAAiD,GAC1D,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
|
|
@@ -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=registrations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"registrations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/registrations.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 Registration,\n RegistrationsListOptionalParams,\n RegistrationsListBySubscriptionOptionalParams,\n RegistrationsGetOptionalParams,\n RegistrationsGetResponse,\n RegistrationsDeleteOptionalParams,\n RegistrationParameter,\n RegistrationsCreateOrUpdateOptionalParams,\n RegistrationsCreateOrUpdateResponse,\n RegistrationsUpdateOptionalParams,\n RegistrationsUpdateResponse,\n RegistrationsGetActivationKeyOptionalParams,\n RegistrationsGetActivationKeyResponse,\n RegistrationsEnableRemoteManagementOptionalParams\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Registrations. */\nexport interface Registrations {\n /**\n * Returns a list of all registrations.\n * @param resourceGroup Name of the resource group.\n * @param options The options parameters.\n */\n list(\n resourceGroup: string,\n options?: RegistrationsListOptionalParams\n ): PagedAsyncIterableIterator<Registration>;\n /**\n * Returns a list of all registrations under current subscription.\n * @param options The options parameters.\n */\n listBySubscription(\n options?: RegistrationsListBySubscriptionOptionalParams\n ): PagedAsyncIterableIterator<Registration>;\n /**\n * Returns the properties of an Azure Stack registration.\n * @param resourceGroup Name of the resource group.\n * @param registrationName Name of the Azure Stack registration.\n * @param options The options parameters.\n */\n get(\n resourceGroup: string,\n registrationName: string,\n options?: RegistrationsGetOptionalParams\n ): Promise<RegistrationsGetResponse>;\n /**\n * Delete the requested Azure Stack registration.\n * @param resourceGroup Name of the resource group.\n * @param registrationName Name of the Azure Stack registration.\n * @param options The options parameters.\n */\n delete(\n resourceGroup: string,\n registrationName: string,\n options?: RegistrationsDeleteOptionalParams\n ): Promise<void>;\n /**\n * Create or update an Azure Stack registration.\n * @param resourceGroup Name of the resource group.\n * @param registrationName Name of the Azure Stack registration.\n * @param token Registration token\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroup: string,\n registrationName: string,\n token: RegistrationParameter,\n options?: RegistrationsCreateOrUpdateOptionalParams\n ): Promise<RegistrationsCreateOrUpdateResponse>;\n /**\n * Patch an Azure Stack registration.\n * @param resourceGroup Name of the resource group.\n * @param registrationName Name of the Azure Stack registration.\n * @param token Registration token\n * @param options The options parameters.\n */\n update(\n resourceGroup: string,\n registrationName: string,\n token: RegistrationParameter,\n options?: RegistrationsUpdateOptionalParams\n ): Promise<RegistrationsUpdateResponse>;\n /**\n * Returns Azure Stack Activation Key.\n * @param resourceGroup Name of the resource group.\n * @param registrationName Name of the Azure Stack registration.\n * @param options The options parameters.\n */\n getActivationKey(\n resourceGroup: string,\n registrationName: string,\n options?: RegistrationsGetActivationKeyOptionalParams\n ): Promise<RegistrationsGetActivationKeyResponse>;\n /**\n * Enables remote management for device under the Azure Stack registration.\n * @param resourceGroup Name of the resource group.\n * @param registrationName Name of the Azure Stack registration.\n * @param options The options parameters.\n */\n enableRemoteManagement(\n resourceGroup: string,\n registrationName: string,\n options?: RegistrationsEnableRemoteManagementOptionalParams\n ): Promise<void>;\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,26 @@
|
|
|
1
|
+
import * as coreClient from "@azure/core-client";
|
|
2
|
+
import * as coreAuth from "@azure/core-auth";
|
|
3
|
+
import { Operations, CloudManifestFile, CustomerSubscriptions, Products, Registrations, LinkedSubscriptions } from "./operationsInterfaces/index.js";
|
|
4
|
+
import { AzureStackManagementClientOptionalParams } from "./models/index.js";
|
|
5
|
+
export declare class AzureStackManagementClient extends coreClient.ServiceClient {
|
|
6
|
+
$host: string;
|
|
7
|
+
apiVersion: string;
|
|
8
|
+
subscriptionId: string;
|
|
9
|
+
/**
|
|
10
|
+
* Initializes a new instance of the AzureStackManagementClient class.
|
|
11
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
12
|
+
* @param subscriptionId Subscription credentials that uniquely identify Microsoft Azure subscription.
|
|
13
|
+
* 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?: AzureStackManagementClientOptionalParams);
|
|
17
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
18
|
+
private addCustomApiVersionPolicy;
|
|
19
|
+
operations: Operations;
|
|
20
|
+
cloudManifestFile: CloudManifestFile;
|
|
21
|
+
customerSubscriptions: CustomerSubscriptions;
|
|
22
|
+
products: Products;
|
|
23
|
+
registrations: Registrations;
|
|
24
|
+
linkedSubscriptions: LinkedSubscriptions;
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=azureStackManagementClient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"azureStackManagementClient.d.ts","sourceRoot":"","sources":["../../src/azureStackManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAS7C,OAAO,EACL,UAAU,EACV,iBAAiB,EACjB,qBAAqB,EACrB,QAAQ,EACR,aAAa,EACb,mBAAmB,EACpB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,wCAAwC,EAAE,MAAM,mBAAmB,CAAC;AAE7E,qBAAa,0BAA2B,SAAQ,UAAU,CAAC,aAAa;IACtE,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;;OAMG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,wCAAwC;IAiFpD,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,UAAU,EAAE,UAAU,CAAC;IACvB,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,qBAAqB,EAAE,qBAAqB,CAAC;IAC7C,QAAQ,EAAE,QAAQ,CAAC;IACnB,aAAa,EAAE,aAAa,CAAC;IAC7B,mBAAmB,EAAE,mBAAmB,CAAC;CAC1C"}
|
|
@@ -0,0 +1,117 @@
|
|
|
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 { OperationsImpl, CloudManifestFileImpl, CustomerSubscriptionsImpl, ProductsImpl, RegistrationsImpl, LinkedSubscriptionsImpl } from "./operations/index.js";
|
|
11
|
+
export class AzureStackManagementClient extends coreClient.ServiceClient {
|
|
12
|
+
$host;
|
|
13
|
+
apiVersion;
|
|
14
|
+
subscriptionId;
|
|
15
|
+
/**
|
|
16
|
+
* Initializes a new instance of the AzureStackManagementClient class.
|
|
17
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
18
|
+
* @param subscriptionId Subscription credentials that uniquely identify Microsoft Azure subscription.
|
|
19
|
+
* 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-azurestack/3.0.0-beta.6`;
|
|
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 || "2020-06-01-preview";
|
|
77
|
+
this.operations = new OperationsImpl(this);
|
|
78
|
+
this.cloudManifestFile = new CloudManifestFileImpl(this);
|
|
79
|
+
this.customerSubscriptions = new CustomerSubscriptionsImpl(this);
|
|
80
|
+
this.products = new ProductsImpl(this);
|
|
81
|
+
this.registrations = new RegistrationsImpl(this);
|
|
82
|
+
this.linkedSubscriptions = new LinkedSubscriptionsImpl(this);
|
|
83
|
+
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
84
|
+
}
|
|
85
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
86
|
+
addCustomApiVersionPolicy(apiVersion) {
|
|
87
|
+
if (!apiVersion) {
|
|
88
|
+
return;
|
|
89
|
+
}
|
|
90
|
+
const apiVersionPolicy = {
|
|
91
|
+
name: "CustomApiVersionPolicy",
|
|
92
|
+
async sendRequest(request, next) {
|
|
93
|
+
const param = request.url.split("?");
|
|
94
|
+
if (param.length > 1) {
|
|
95
|
+
const newParams = param[1].split("&").map((item) => {
|
|
96
|
+
if (item.indexOf("api-version") > -1) {
|
|
97
|
+
return "api-version=" + apiVersion;
|
|
98
|
+
}
|
|
99
|
+
else {
|
|
100
|
+
return item;
|
|
101
|
+
}
|
|
102
|
+
});
|
|
103
|
+
request.url = param[0] + "?" + newParams.join("&");
|
|
104
|
+
}
|
|
105
|
+
return next(request);
|
|
106
|
+
}
|
|
107
|
+
};
|
|
108
|
+
this.pipeline.addPolicy(apiVersionPolicy);
|
|
109
|
+
}
|
|
110
|
+
operations;
|
|
111
|
+
cloudManifestFile;
|
|
112
|
+
customerSubscriptions;
|
|
113
|
+
products;
|
|
114
|
+
registrations;
|
|
115
|
+
linkedSubscriptions;
|
|
116
|
+
}
|
|
117
|
+
//# sourceMappingURL=azureStackManagementClient.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"azureStackManagementClient.js","sourceRoot":"","sources":["../../src/azureStackManagementClient.ts"],"names":[],"mappings":"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","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 OperationsImpl,\n CloudManifestFileImpl,\n CustomerSubscriptionsImpl,\n ProductsImpl,\n RegistrationsImpl,\n LinkedSubscriptionsImpl\n} from \"./operations/index.js\";\nimport {\n Operations,\n CloudManifestFile,\n CustomerSubscriptions,\n Products,\n Registrations,\n LinkedSubscriptions\n} from \"./operationsInterfaces/index.js\";\nimport { AzureStackManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class AzureStackManagementClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the AzureStackManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId Subscription credentials that uniquely identify Microsoft Azure subscription.\n * 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?: AzureStackManagementClientOptionalParams\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: AzureStackManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-azurestack/3.0.0-beta.6`;\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 || \"2020-06-01-preview\";\n this.operations = new OperationsImpl(this);\n this.cloudManifestFile = new CloudManifestFileImpl(this);\n this.customerSubscriptions = new CustomerSubscriptionsImpl(this);\n this.products = new ProductsImpl(this);\n this.registrations = new RegistrationsImpl(this);\n this.linkedSubscriptions = new LinkedSubscriptionsImpl(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 operations: Operations;\n cloudManifestFile: CloudManifestFile;\n customerSubscriptions: CustomerSubscriptions;\n products: Products;\n registrations: Registrations;\n linkedSubscriptions: LinkedSubscriptions;\n}\n"]}
|
|
@@ -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,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAC7E,cAAc,iCAAiC,CAAC"}
|
|
@@ -5,8 +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
|
|
11
|
-
export
|
|
12
|
-
export
|
|
9
|
+
export { getContinuationToken } from "./pagingHelper.js";
|
|
10
|
+
export * from "./models/index.js";
|
|
11
|
+
export { AzureStackManagementClient } from "./azureStackManagementClient.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,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAC7E,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 { AzureStackManagementClient } from \"./azureStackManagementClient.js\";\nexport * from \"./operationsInterfaces/index.js\";\n"]}
|