@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,409 @@
|
|
|
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 { setContinuationToken } from "../pagingHelper.js";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
10
|
+
import * as Mappers from "../models/mappers.js";
|
|
11
|
+
import * as Parameters from "../models/parameters.js";
|
|
12
|
+
/// <reference lib="esnext.asynciterable" />
|
|
13
|
+
/** Class containing Registrations operations. */
|
|
14
|
+
export class RegistrationsImpl {
|
|
15
|
+
client;
|
|
16
|
+
/**
|
|
17
|
+
* Initialize a new instance of the class Registrations class.
|
|
18
|
+
* @param client Reference to the service client
|
|
19
|
+
*/
|
|
20
|
+
constructor(client) {
|
|
21
|
+
this.client = client;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Returns a list of all registrations.
|
|
25
|
+
* @param resourceGroup Name of the resource group.
|
|
26
|
+
* @param options The options parameters.
|
|
27
|
+
*/
|
|
28
|
+
list(resourceGroup, options) {
|
|
29
|
+
const iter = this.listPagingAll(resourceGroup, options);
|
|
30
|
+
return {
|
|
31
|
+
next() {
|
|
32
|
+
return iter.next();
|
|
33
|
+
},
|
|
34
|
+
[Symbol.asyncIterator]() {
|
|
35
|
+
return this;
|
|
36
|
+
},
|
|
37
|
+
byPage: (settings) => {
|
|
38
|
+
if (settings?.maxPageSize) {
|
|
39
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
40
|
+
}
|
|
41
|
+
return this.listPagingPage(resourceGroup, options, settings);
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
async *listPagingPage(resourceGroup, options, settings) {
|
|
46
|
+
let result;
|
|
47
|
+
let continuationToken = settings?.continuationToken;
|
|
48
|
+
if (!continuationToken) {
|
|
49
|
+
result = await this._list(resourceGroup, options);
|
|
50
|
+
let page = result.value || [];
|
|
51
|
+
continuationToken = result.nextLink;
|
|
52
|
+
setContinuationToken(page, continuationToken);
|
|
53
|
+
yield page;
|
|
54
|
+
}
|
|
55
|
+
while (continuationToken) {
|
|
56
|
+
result = await this._listNext(resourceGroup, continuationToken, options);
|
|
57
|
+
continuationToken = result.nextLink;
|
|
58
|
+
let page = result.value || [];
|
|
59
|
+
setContinuationToken(page, continuationToken);
|
|
60
|
+
yield page;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
async *listPagingAll(resourceGroup, options) {
|
|
64
|
+
for await (const page of this.listPagingPage(resourceGroup, options)) {
|
|
65
|
+
yield* page;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Returns a list of all registrations under current subscription.
|
|
70
|
+
* @param options The options parameters.
|
|
71
|
+
*/
|
|
72
|
+
listBySubscription(options) {
|
|
73
|
+
const iter = this.listBySubscriptionPagingAll(options);
|
|
74
|
+
return {
|
|
75
|
+
next() {
|
|
76
|
+
return iter.next();
|
|
77
|
+
},
|
|
78
|
+
[Symbol.asyncIterator]() {
|
|
79
|
+
return this;
|
|
80
|
+
},
|
|
81
|
+
byPage: (settings) => {
|
|
82
|
+
if (settings?.maxPageSize) {
|
|
83
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
84
|
+
}
|
|
85
|
+
return this.listBySubscriptionPagingPage(options, settings);
|
|
86
|
+
}
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
async *listBySubscriptionPagingPage(options, settings) {
|
|
90
|
+
let result;
|
|
91
|
+
let continuationToken = settings?.continuationToken;
|
|
92
|
+
if (!continuationToken) {
|
|
93
|
+
result = await this._listBySubscription(options);
|
|
94
|
+
let page = result.value || [];
|
|
95
|
+
continuationToken = result.nextLink;
|
|
96
|
+
setContinuationToken(page, continuationToken);
|
|
97
|
+
yield page;
|
|
98
|
+
}
|
|
99
|
+
while (continuationToken) {
|
|
100
|
+
result = await this._listBySubscriptionNext(continuationToken, options);
|
|
101
|
+
continuationToken = result.nextLink;
|
|
102
|
+
let page = result.value || [];
|
|
103
|
+
setContinuationToken(page, continuationToken);
|
|
104
|
+
yield page;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
async *listBySubscriptionPagingAll(options) {
|
|
108
|
+
for await (const page of this.listBySubscriptionPagingPage(options)) {
|
|
109
|
+
yield* page;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* Returns a list of all registrations.
|
|
114
|
+
* @param resourceGroup Name of the resource group.
|
|
115
|
+
* @param options The options parameters.
|
|
116
|
+
*/
|
|
117
|
+
_list(resourceGroup, options) {
|
|
118
|
+
return this.client.sendOperationRequest({ resourceGroup, options }, listOperationSpec);
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* Returns a list of all registrations under current subscription.
|
|
122
|
+
* @param options The options parameters.
|
|
123
|
+
*/
|
|
124
|
+
_listBySubscription(options) {
|
|
125
|
+
return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* Returns the properties of an Azure Stack registration.
|
|
129
|
+
* @param resourceGroup Name of the resource group.
|
|
130
|
+
* @param registrationName Name of the Azure Stack registration.
|
|
131
|
+
* @param options The options parameters.
|
|
132
|
+
*/
|
|
133
|
+
get(resourceGroup, registrationName, options) {
|
|
134
|
+
return this.client.sendOperationRequest({ resourceGroup, registrationName, options }, getOperationSpec);
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* Delete the requested Azure Stack registration.
|
|
138
|
+
* @param resourceGroup Name of the resource group.
|
|
139
|
+
* @param registrationName Name of the Azure Stack registration.
|
|
140
|
+
* @param options The options parameters.
|
|
141
|
+
*/
|
|
142
|
+
delete(resourceGroup, registrationName, options) {
|
|
143
|
+
return this.client.sendOperationRequest({ resourceGroup, registrationName, options }, deleteOperationSpec);
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* Create or update an Azure Stack registration.
|
|
147
|
+
* @param resourceGroup Name of the resource group.
|
|
148
|
+
* @param registrationName Name of the Azure Stack registration.
|
|
149
|
+
* @param token Registration token
|
|
150
|
+
* @param options The options parameters.
|
|
151
|
+
*/
|
|
152
|
+
createOrUpdate(resourceGroup, registrationName, token, options) {
|
|
153
|
+
return this.client.sendOperationRequest({ resourceGroup, registrationName, token, options }, createOrUpdateOperationSpec);
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* Patch an Azure Stack registration.
|
|
157
|
+
* @param resourceGroup Name of the resource group.
|
|
158
|
+
* @param registrationName Name of the Azure Stack registration.
|
|
159
|
+
* @param token Registration token
|
|
160
|
+
* @param options The options parameters.
|
|
161
|
+
*/
|
|
162
|
+
update(resourceGroup, registrationName, token, options) {
|
|
163
|
+
return this.client.sendOperationRequest({ resourceGroup, registrationName, token, options }, updateOperationSpec);
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* Returns Azure Stack Activation Key.
|
|
167
|
+
* @param resourceGroup Name of the resource group.
|
|
168
|
+
* @param registrationName Name of the Azure Stack registration.
|
|
169
|
+
* @param options The options parameters.
|
|
170
|
+
*/
|
|
171
|
+
getActivationKey(resourceGroup, registrationName, options) {
|
|
172
|
+
return this.client.sendOperationRequest({ resourceGroup, registrationName, options }, getActivationKeyOperationSpec);
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* Enables remote management for device under the Azure Stack registration.
|
|
176
|
+
* @param resourceGroup Name of the resource group.
|
|
177
|
+
* @param registrationName Name of the Azure Stack registration.
|
|
178
|
+
* @param options The options parameters.
|
|
179
|
+
*/
|
|
180
|
+
enableRemoteManagement(resourceGroup, registrationName, options) {
|
|
181
|
+
return this.client.sendOperationRequest({ resourceGroup, registrationName, options }, enableRemoteManagementOperationSpec);
|
|
182
|
+
}
|
|
183
|
+
/**
|
|
184
|
+
* ListNext
|
|
185
|
+
* @param resourceGroup Name of the resource group.
|
|
186
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
187
|
+
* @param options The options parameters.
|
|
188
|
+
*/
|
|
189
|
+
_listNext(resourceGroup, nextLink, options) {
|
|
190
|
+
return this.client.sendOperationRequest({ resourceGroup, nextLink, options }, listNextOperationSpec);
|
|
191
|
+
}
|
|
192
|
+
/**
|
|
193
|
+
* ListBySubscriptionNext
|
|
194
|
+
* @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
|
|
195
|
+
* @param options The options parameters.
|
|
196
|
+
*/
|
|
197
|
+
_listBySubscriptionNext(nextLink, options) {
|
|
198
|
+
return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionNextOperationSpec);
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
// Operation Specifications
|
|
202
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
203
|
+
const listOperationSpec = {
|
|
204
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations",
|
|
205
|
+
httpMethod: "GET",
|
|
206
|
+
responses: {
|
|
207
|
+
200: {
|
|
208
|
+
bodyMapper: Mappers.RegistrationList
|
|
209
|
+
},
|
|
210
|
+
default: {
|
|
211
|
+
bodyMapper: Mappers.ErrorResponse
|
|
212
|
+
}
|
|
213
|
+
},
|
|
214
|
+
queryParameters: [Parameters.apiVersion],
|
|
215
|
+
urlParameters: [
|
|
216
|
+
Parameters.$host,
|
|
217
|
+
Parameters.subscriptionId,
|
|
218
|
+
Parameters.resourceGroup
|
|
219
|
+
],
|
|
220
|
+
headerParameters: [Parameters.accept],
|
|
221
|
+
serializer
|
|
222
|
+
};
|
|
223
|
+
const listBySubscriptionOperationSpec = {
|
|
224
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.AzureStack/registrations",
|
|
225
|
+
httpMethod: "GET",
|
|
226
|
+
responses: {
|
|
227
|
+
200: {
|
|
228
|
+
bodyMapper: Mappers.RegistrationList
|
|
229
|
+
},
|
|
230
|
+
default: {
|
|
231
|
+
bodyMapper: Mappers.ErrorResponse
|
|
232
|
+
}
|
|
233
|
+
},
|
|
234
|
+
queryParameters: [Parameters.apiVersion],
|
|
235
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
236
|
+
headerParameters: [Parameters.accept],
|
|
237
|
+
serializer
|
|
238
|
+
};
|
|
239
|
+
const getOperationSpec = {
|
|
240
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}",
|
|
241
|
+
httpMethod: "GET",
|
|
242
|
+
responses: {
|
|
243
|
+
200: {
|
|
244
|
+
bodyMapper: Mappers.Registration
|
|
245
|
+
},
|
|
246
|
+
default: {
|
|
247
|
+
bodyMapper: Mappers.ErrorResponse
|
|
248
|
+
}
|
|
249
|
+
},
|
|
250
|
+
queryParameters: [Parameters.apiVersion],
|
|
251
|
+
urlParameters: [
|
|
252
|
+
Parameters.$host,
|
|
253
|
+
Parameters.subscriptionId,
|
|
254
|
+
Parameters.resourceGroup,
|
|
255
|
+
Parameters.registrationName
|
|
256
|
+
],
|
|
257
|
+
headerParameters: [Parameters.accept],
|
|
258
|
+
serializer
|
|
259
|
+
};
|
|
260
|
+
const deleteOperationSpec = {
|
|
261
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}",
|
|
262
|
+
httpMethod: "DELETE",
|
|
263
|
+
responses: {
|
|
264
|
+
200: {},
|
|
265
|
+
204: {},
|
|
266
|
+
default: {
|
|
267
|
+
bodyMapper: Mappers.ErrorResponse
|
|
268
|
+
}
|
|
269
|
+
},
|
|
270
|
+
queryParameters: [Parameters.apiVersion],
|
|
271
|
+
urlParameters: [
|
|
272
|
+
Parameters.$host,
|
|
273
|
+
Parameters.subscriptionId,
|
|
274
|
+
Parameters.resourceGroup,
|
|
275
|
+
Parameters.registrationName
|
|
276
|
+
],
|
|
277
|
+
headerParameters: [Parameters.accept],
|
|
278
|
+
serializer
|
|
279
|
+
};
|
|
280
|
+
const createOrUpdateOperationSpec = {
|
|
281
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}",
|
|
282
|
+
httpMethod: "PUT",
|
|
283
|
+
responses: {
|
|
284
|
+
200: {
|
|
285
|
+
bodyMapper: Mappers.Registration
|
|
286
|
+
},
|
|
287
|
+
201: {
|
|
288
|
+
bodyMapper: Mappers.Registration
|
|
289
|
+
},
|
|
290
|
+
default: {
|
|
291
|
+
bodyMapper: Mappers.ErrorResponse
|
|
292
|
+
}
|
|
293
|
+
},
|
|
294
|
+
requestBody: Parameters.token,
|
|
295
|
+
queryParameters: [Parameters.apiVersion],
|
|
296
|
+
urlParameters: [
|
|
297
|
+
Parameters.$host,
|
|
298
|
+
Parameters.subscriptionId,
|
|
299
|
+
Parameters.resourceGroup,
|
|
300
|
+
Parameters.registrationName
|
|
301
|
+
],
|
|
302
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
303
|
+
mediaType: "json",
|
|
304
|
+
serializer
|
|
305
|
+
};
|
|
306
|
+
const updateOperationSpec = {
|
|
307
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}",
|
|
308
|
+
httpMethod: "PATCH",
|
|
309
|
+
responses: {
|
|
310
|
+
200: {
|
|
311
|
+
bodyMapper: Mappers.Registration
|
|
312
|
+
},
|
|
313
|
+
default: {
|
|
314
|
+
bodyMapper: Mappers.ErrorResponse
|
|
315
|
+
}
|
|
316
|
+
},
|
|
317
|
+
requestBody: Parameters.token,
|
|
318
|
+
queryParameters: [Parameters.apiVersion],
|
|
319
|
+
urlParameters: [
|
|
320
|
+
Parameters.$host,
|
|
321
|
+
Parameters.subscriptionId,
|
|
322
|
+
Parameters.resourceGroup,
|
|
323
|
+
Parameters.registrationName
|
|
324
|
+
],
|
|
325
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
326
|
+
mediaType: "json",
|
|
327
|
+
serializer
|
|
328
|
+
};
|
|
329
|
+
const getActivationKeyOperationSpec = {
|
|
330
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/getactivationkey",
|
|
331
|
+
httpMethod: "POST",
|
|
332
|
+
responses: {
|
|
333
|
+
200: {
|
|
334
|
+
bodyMapper: Mappers.ActivationKeyResult
|
|
335
|
+
},
|
|
336
|
+
default: {
|
|
337
|
+
bodyMapper: Mappers.ErrorResponse
|
|
338
|
+
}
|
|
339
|
+
},
|
|
340
|
+
queryParameters: [Parameters.apiVersion],
|
|
341
|
+
urlParameters: [
|
|
342
|
+
Parameters.$host,
|
|
343
|
+
Parameters.subscriptionId,
|
|
344
|
+
Parameters.resourceGroup,
|
|
345
|
+
Parameters.registrationName
|
|
346
|
+
],
|
|
347
|
+
headerParameters: [Parameters.accept],
|
|
348
|
+
serializer
|
|
349
|
+
};
|
|
350
|
+
const enableRemoteManagementOperationSpec = {
|
|
351
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/enableRemoteManagement",
|
|
352
|
+
httpMethod: "POST",
|
|
353
|
+
responses: {
|
|
354
|
+
200: {},
|
|
355
|
+
default: {
|
|
356
|
+
bodyMapper: Mappers.ErrorResponse
|
|
357
|
+
}
|
|
358
|
+
},
|
|
359
|
+
urlParameters: [
|
|
360
|
+
Parameters.$host,
|
|
361
|
+
Parameters.subscriptionId,
|
|
362
|
+
Parameters.resourceGroup,
|
|
363
|
+
Parameters.registrationName
|
|
364
|
+
],
|
|
365
|
+
headerParameters: [Parameters.accept],
|
|
366
|
+
serializer
|
|
367
|
+
};
|
|
368
|
+
const listNextOperationSpec = {
|
|
369
|
+
path: "{nextLink}",
|
|
370
|
+
httpMethod: "GET",
|
|
371
|
+
responses: {
|
|
372
|
+
200: {
|
|
373
|
+
bodyMapper: Mappers.RegistrationList
|
|
374
|
+
},
|
|
375
|
+
default: {
|
|
376
|
+
bodyMapper: Mappers.ErrorResponse
|
|
377
|
+
}
|
|
378
|
+
},
|
|
379
|
+
queryParameters: [Parameters.apiVersion],
|
|
380
|
+
urlParameters: [
|
|
381
|
+
Parameters.$host,
|
|
382
|
+
Parameters.nextLink,
|
|
383
|
+
Parameters.subscriptionId,
|
|
384
|
+
Parameters.resourceGroup
|
|
385
|
+
],
|
|
386
|
+
headerParameters: [Parameters.accept],
|
|
387
|
+
serializer
|
|
388
|
+
};
|
|
389
|
+
const listBySubscriptionNextOperationSpec = {
|
|
390
|
+
path: "{nextLink}",
|
|
391
|
+
httpMethod: "GET",
|
|
392
|
+
responses: {
|
|
393
|
+
200: {
|
|
394
|
+
bodyMapper: Mappers.RegistrationList
|
|
395
|
+
},
|
|
396
|
+
default: {
|
|
397
|
+
bodyMapper: Mappers.ErrorResponse
|
|
398
|
+
}
|
|
399
|
+
},
|
|
400
|
+
queryParameters: [Parameters.apiVersion],
|
|
401
|
+
urlParameters: [
|
|
402
|
+
Parameters.$host,
|
|
403
|
+
Parameters.nextLink,
|
|
404
|
+
Parameters.subscriptionId
|
|
405
|
+
],
|
|
406
|
+
headerParameters: [Parameters.accept],
|
|
407
|
+
serializer
|
|
408
|
+
};
|
|
409
|
+
//# sourceMappingURL=registrations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"registrations.js","sourceRoot":"","sources":["../../../src/operations/registrations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAyBtD,4CAA4C;AAC5C,iDAAiD;AACjD,MAAM,OAAO,iBAAiB;IACX,MAAM,CAA6B;IAEpD;;;OAGG;IACH,YAAY,MAAkC;QAC5C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACI,IAAI,CACT,aAAqB,EACrB,OAAyC;QAEzC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC;QACxD,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,EAAE,WAAW,EAAE,CAAC;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AgB;SACrC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,aAAa;KACzB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,mCAAmC,GAA6B;IACpE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,gBAAgB;SACrC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;KAC1B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,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\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Registrations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { AzureStackManagementClient } from \"../azureStackManagementClient.js\";\nimport {\n Registration,\n RegistrationsListNextOptionalParams,\n RegistrationsListOptionalParams,\n RegistrationsListResponse,\n RegistrationsListBySubscriptionNextOptionalParams,\n RegistrationsListBySubscriptionOptionalParams,\n RegistrationsListBySubscriptionResponse,\n RegistrationsGetOptionalParams,\n RegistrationsGetResponse,\n RegistrationsDeleteOptionalParams,\n RegistrationParameter,\n RegistrationsCreateOrUpdateOptionalParams,\n RegistrationsCreateOrUpdateResponse,\n RegistrationsUpdateOptionalParams,\n RegistrationsUpdateResponse,\n RegistrationsGetActivationKeyOptionalParams,\n RegistrationsGetActivationKeyResponse,\n RegistrationsEnableRemoteManagementOptionalParams,\n RegistrationsListNextResponse,\n RegistrationsListBySubscriptionNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Registrations operations. */\nexport class RegistrationsImpl implements Registrations {\n private readonly client: AzureStackManagementClient;\n\n /**\n * Initialize a new instance of the class Registrations class.\n * @param client Reference to the service client\n */\n constructor(client: AzureStackManagementClient) {\n this.client = client;\n }\n\n /**\n * Returns a list of all registrations.\n * @param resourceGroup Name of the resource group.\n * @param options The options parameters.\n */\n public list(\n resourceGroup: string,\n options?: RegistrationsListOptionalParams\n ): PagedAsyncIterableIterator<Registration> {\n const iter = this.listPagingAll(resourceGroup, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(resourceGroup, options, settings);\n }\n };\n }\n\n private async *listPagingPage(\n resourceGroup: string,\n options?: RegistrationsListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<Registration[]> {\n let result: RegistrationsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroup, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(resourceGroup, continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroup: string,\n options?: RegistrationsListOptionalParams\n ): AsyncIterableIterator<Registration> {\n for await (const page of this.listPagingPage(resourceGroup, options)) {\n yield* page;\n }\n }\n\n /**\n * Returns a list of all registrations under current subscription.\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: RegistrationsListBySubscriptionOptionalParams\n ): PagedAsyncIterableIterator<Registration> {\n const iter = this.listBySubscriptionPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listBySubscriptionPagingPage(options, settings);\n }\n };\n }\n\n private async *listBySubscriptionPagingPage(\n options?: RegistrationsListBySubscriptionOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<Registration[]> {\n let result: RegistrationsListBySubscriptionResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listBySubscription(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listBySubscriptionNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listBySubscriptionPagingAll(\n options?: RegistrationsListBySubscriptionOptionalParams\n ): AsyncIterableIterator<Registration> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Returns a list of all registrations.\n * @param resourceGroup Name of the resource group.\n * @param options The options parameters.\n */\n private _list(\n resourceGroup: string,\n options?: RegistrationsListOptionalParams\n ): Promise<RegistrationsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroup, options },\n listOperationSpec\n );\n }\n\n /**\n * Returns a list of all registrations under current subscription.\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: RegistrationsListBySubscriptionOptionalParams\n ): Promise<RegistrationsListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec\n );\n }\n\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 return this.client.sendOperationRequest(\n { resourceGroup, registrationName, options },\n getOperationSpec\n );\n }\n\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 return this.client.sendOperationRequest(\n { resourceGroup, registrationName, options },\n deleteOperationSpec\n );\n }\n\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 return this.client.sendOperationRequest(\n { resourceGroup, registrationName, token, options },\n createOrUpdateOperationSpec\n );\n }\n\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 return this.client.sendOperationRequest(\n { resourceGroup, registrationName, token, options },\n updateOperationSpec\n );\n }\n\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 return this.client.sendOperationRequest(\n { resourceGroup, registrationName, options },\n getActivationKeyOperationSpec\n );\n }\n\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 return this.client.sendOperationRequest(\n { resourceGroup, registrationName, options },\n enableRemoteManagementOperationSpec\n );\n }\n\n /**\n * ListNext\n * @param resourceGroup Name of the resource group.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroup: string,\n nextLink: string,\n options?: RegistrationsListNextOptionalParams\n ): Promise<RegistrationsListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroup, nextLink, options },\n listNextOperationSpec\n );\n }\n\n /**\n * ListBySubscriptionNext\n * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.\n * @param options The options parameters.\n */\n private _listBySubscriptionNext(\n nextLink: string,\n options?: RegistrationsListBySubscriptionNextOptionalParams\n ): Promise<RegistrationsListBySubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listBySubscriptionNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RegistrationList\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroup\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.AzureStack/registrations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RegistrationList\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Registration\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroup,\n Parameters.registrationName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroup,\n Parameters.registrationName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Registration\n },\n 201: {\n bodyMapper: Mappers.Registration\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.token,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroup,\n Parameters.registrationName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.Registration\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.token,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroup,\n Parameters.registrationName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst getActivationKeyOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/getactivationkey\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.ActivationKeyResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroup,\n Parameters.registrationName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst enableRemoteManagementOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/enableRemoteManagement\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroup,\n Parameters.registrationName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RegistrationList\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.resourceGroup\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RegistrationList\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { CloudManifestFileListOptionalParams, CloudManifestFileListResponse, CloudManifestFileGetOptionalParams, CloudManifestFileGetResponse } from "../models/index.js";
|
|
2
|
+
/** Interface representing a CloudManifestFile. */
|
|
3
|
+
export interface CloudManifestFile {
|
|
4
|
+
/**
|
|
5
|
+
* Returns a cloud specific manifest JSON file with latest version.
|
|
6
|
+
* @param options The options parameters.
|
|
7
|
+
*/
|
|
8
|
+
list(options?: CloudManifestFileListOptionalParams): Promise<CloudManifestFileListResponse>;
|
|
9
|
+
/**
|
|
10
|
+
* Returns a cloud specific manifest JSON file.
|
|
11
|
+
* @param verificationVersion Signing verification key version.
|
|
12
|
+
* @param options The options parameters.
|
|
13
|
+
*/
|
|
14
|
+
get(verificationVersion: string, options?: CloudManifestFileGetOptionalParams): Promise<CloudManifestFileGetResponse>;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=cloudManifestFile.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cloudManifestFile.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/cloudManifestFile.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,mCAAmC,EACnC,6BAA6B,EAC7B,kCAAkC,EAClC,4BAA4B,EAC7B,MAAM,oBAAoB,CAAC;AAE5B,kDAAkD;AAClD,MAAM,WAAW,iBAAiB;IAChC;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CAAC,6BAA6B,CAAC,CAAC;IAC1C;;;;OAIG;IACH,GAAG,CACD,mBAAmB,EAAE,MAAM,EAC3B,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,4BAA4B,CAAC,CAAC;CAC1C"}
|
|
@@ -0,0 +1,9 @@
|
|
|
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 {};
|
|
9
|
+
//# sourceMappingURL=cloudManifestFile.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cloudManifestFile.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/cloudManifestFile.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 {\n CloudManifestFileListOptionalParams,\n CloudManifestFileListResponse,\n CloudManifestFileGetOptionalParams,\n CloudManifestFileGetResponse\n} from \"../models/index.js\";\n\n/** Interface representing a CloudManifestFile. */\nexport interface CloudManifestFile {\n /**\n * Returns a cloud specific manifest JSON file with latest version.\n * @param options The options parameters.\n */\n list(\n options?: CloudManifestFileListOptionalParams\n ): Promise<CloudManifestFileListResponse>;\n /**\n * Returns a cloud specific manifest JSON file.\n * @param verificationVersion Signing verification key version.\n * @param options The options parameters.\n */\n get(\n verificationVersion: string,\n options?: CloudManifestFileGetOptionalParams\n ): Promise<CloudManifestFileGetResponse>;\n}\n"]}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { CustomerSubscription, CustomerSubscriptionsListOptionalParams, CustomerSubscriptionsGetOptionalParams, CustomerSubscriptionsGetResponse, CustomerSubscriptionsDeleteOptionalParams, CustomerSubscriptionsCreateOptionalParams, CustomerSubscriptionsCreateResponse } from "../models/index.js";
|
|
3
|
+
/** Interface representing a CustomerSubscriptions. */
|
|
4
|
+
export interface CustomerSubscriptions {
|
|
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?: CustomerSubscriptionsListOptionalParams): PagedAsyncIterableIterator<CustomerSubscription>;
|
|
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 customerSubscriptionName Name of the product.
|
|
17
|
+
* @param options The options parameters.
|
|
18
|
+
*/
|
|
19
|
+
get(resourceGroup: string, registrationName: string, customerSubscriptionName: string, options?: CustomerSubscriptionsGetOptionalParams): Promise<CustomerSubscriptionsGetResponse>;
|
|
20
|
+
/**
|
|
21
|
+
* Deletes a customer subscription under a registration.
|
|
22
|
+
* @param resourceGroup Name of the resource group.
|
|
23
|
+
* @param registrationName Name of the Azure Stack registration.
|
|
24
|
+
* @param customerSubscriptionName Name of the product.
|
|
25
|
+
* @param options The options parameters.
|
|
26
|
+
*/
|
|
27
|
+
delete(resourceGroup: string, registrationName: string, customerSubscriptionName: string, options?: CustomerSubscriptionsDeleteOptionalParams): Promise<void>;
|
|
28
|
+
/**
|
|
29
|
+
* Creates a new customer subscription under a registration.
|
|
30
|
+
* @param resourceGroup Name of the resource group.
|
|
31
|
+
* @param registrationName Name of the Azure Stack registration.
|
|
32
|
+
* @param customerSubscriptionName Name of the product.
|
|
33
|
+
* @param customerCreationParameters Parameters use to create a customer subscription.
|
|
34
|
+
* @param options The options parameters.
|
|
35
|
+
*/
|
|
36
|
+
create(resourceGroup: string, registrationName: string, customerSubscriptionName: string, customerCreationParameters: CustomerSubscription, options?: CustomerSubscriptionsCreateOptionalParams): Promise<CustomerSubscriptionsCreateResponse>;
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=customerSubscriptions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customerSubscriptions.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/customerSubscriptions.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,oBAAoB,EACpB,uCAAuC,EACvC,sCAAsC,EACtC,gCAAgC,EAChC,yCAAyC,EACzC,yCAAyC,EACzC,mCAAmC,EACpC,MAAM,oBAAoB,CAAC;AAG5B,sDAAsD;AACtD,MAAM,WAAW,qBAAqB;IACpC;;;;;OAKG;IACH,IAAI,CACF,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,uCAAuC,GAChD,0BAA0B,CAAC,oBAAoB,CAAC,CAAC;IACpD;;;;;;OAMG;IACH,GAAG,CACD,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,MAAM,EACxB,wBAAwB,EAAE,MAAM,EAChC,OAAO,CAAC,EAAE,sCAAsC,GAC/C,OAAO,CAAC,gCAAgC,CAAC,CAAC;IAC7C;;;;;;OAMG;IACH,MAAM,CACJ,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,MAAM,EACxB,wBAAwB,EAAE,MAAM,EAChC,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;;OAOG;IACH,MAAM,CACJ,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,MAAM,EACxB,wBAAwB,EAAE,MAAM,EAChC,0BAA0B,EAAE,oBAAoB,EAChD,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,mCAAmC,CAAC,CAAC;CACjD"}
|
|
@@ -0,0 +1,9 @@
|
|
|
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 {};
|
|
9
|
+
//# sourceMappingURL=customerSubscriptions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customerSubscriptions.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/customerSubscriptions.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 CustomerSubscription,\n CustomerSubscriptionsListOptionalParams,\n CustomerSubscriptionsGetOptionalParams,\n CustomerSubscriptionsGetResponse,\n CustomerSubscriptionsDeleteOptionalParams,\n CustomerSubscriptionsCreateOptionalParams,\n CustomerSubscriptionsCreateResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a CustomerSubscriptions. */\nexport interface CustomerSubscriptions {\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?: CustomerSubscriptionsListOptionalParams\n ): PagedAsyncIterableIterator<CustomerSubscription>;\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 customerSubscriptionName Name of the product.\n * @param options The options parameters.\n */\n get(\n resourceGroup: string,\n registrationName: string,\n customerSubscriptionName: string,\n options?: CustomerSubscriptionsGetOptionalParams\n ): Promise<CustomerSubscriptionsGetResponse>;\n /**\n * Deletes a customer subscription under a registration.\n * @param resourceGroup Name of the resource group.\n * @param registrationName Name of the Azure Stack registration.\n * @param customerSubscriptionName Name of the product.\n * @param options The options parameters.\n */\n delete(\n resourceGroup: string,\n registrationName: string,\n customerSubscriptionName: string,\n options?: CustomerSubscriptionsDeleteOptionalParams\n ): Promise<void>;\n /**\n * Creates a new customer subscription under a registration.\n * @param resourceGroup Name of the resource group.\n * @param registrationName Name of the Azure Stack registration.\n * @param customerSubscriptionName Name of the product.\n * @param customerCreationParameters Parameters use to create a customer subscription.\n * @param options The options parameters.\n */\n create(\n resourceGroup: string,\n registrationName: string,\n customerSubscriptionName: string,\n customerCreationParameters: CustomerSubscription,\n options?: CustomerSubscriptionsCreateOptionalParams\n ): Promise<CustomerSubscriptionsCreateResponse>;\n}\n"]}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from "./operations.js";
|
|
2
|
+
export * from "./cloudManifestFile.js";
|
|
3
|
+
export * from "./customerSubscriptions.js";
|
|
4
|
+
export * from "./products.js";
|
|
5
|
+
export * from "./registrations.js";
|
|
6
|
+
export * from "./linkedSubscriptions.js";
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
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 * from "./operations.js";
|
|
9
|
+
export * from "./cloudManifestFile.js";
|
|
10
|
+
export * from "./customerSubscriptions.js";
|
|
11
|
+
export * from "./products.js";
|
|
12
|
+
export * from "./registrations.js";
|
|
13
|
+
export * from "./linkedSubscriptions.js";
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,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 * from \"./operations.js\";\nexport * from \"./cloudManifestFile.js\";\nexport * from \"./customerSubscriptions.js\";\nexport * from \"./products.js\";\nexport * from \"./registrations.js\";\nexport * from \"./linkedSubscriptions.js\";\n"]}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { LinkedSubscription, LinkedSubscriptionsListByResourceGroupOptionalParams, LinkedSubscriptionsListBySubscriptionOptionalParams, LinkedSubscriptionsGetOptionalParams, LinkedSubscriptionsGetResponse, LinkedSubscriptionsDeleteOptionalParams, LinkedSubscriptionParameter, LinkedSubscriptionsCreateOrUpdateOptionalParams, LinkedSubscriptionsCreateOrUpdateResponse, LinkedSubscriptionsUpdateOptionalParams, LinkedSubscriptionsUpdateResponse } from "../models/index.js";
|
|
3
|
+
/** Interface representing a LinkedSubscriptions. */
|
|
4
|
+
export interface LinkedSubscriptions {
|
|
5
|
+
/**
|
|
6
|
+
* Returns a list of all linked subscriptions under current resource group.
|
|
7
|
+
* @param resourceGroup Name of the resource group.
|
|
8
|
+
* @param options The options parameters.
|
|
9
|
+
*/
|
|
10
|
+
listByResourceGroup(resourceGroup: string, options?: LinkedSubscriptionsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<LinkedSubscription>;
|
|
11
|
+
/**
|
|
12
|
+
* Returns a list of all linked subscriptions under current subscription.
|
|
13
|
+
* @param options The options parameters.
|
|
14
|
+
*/
|
|
15
|
+
listBySubscription(options?: LinkedSubscriptionsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<LinkedSubscription>;
|
|
16
|
+
/**
|
|
17
|
+
* Returns the properties of a Linked Subscription resource.
|
|
18
|
+
* @param resourceGroup Name of the resource group.
|
|
19
|
+
* @param linkedSubscriptionName Name of the Linked Subscription resource.
|
|
20
|
+
* @param options The options parameters.
|
|
21
|
+
*/
|
|
22
|
+
get(resourceGroup: string, linkedSubscriptionName: string, options?: LinkedSubscriptionsGetOptionalParams): Promise<LinkedSubscriptionsGetResponse>;
|
|
23
|
+
/**
|
|
24
|
+
* Delete the requested Linked Subscription resource.
|
|
25
|
+
* @param resourceGroup Name of the resource group.
|
|
26
|
+
* @param linkedSubscriptionName Name of the Linked Subscription resource.
|
|
27
|
+
* @param options The options parameters.
|
|
28
|
+
*/
|
|
29
|
+
delete(resourceGroup: string, linkedSubscriptionName: string, options?: LinkedSubscriptionsDeleteOptionalParams): Promise<void>;
|
|
30
|
+
/**
|
|
31
|
+
* Create or update a linked subscription resource.
|
|
32
|
+
* @param resourceGroup Name of the resource group.
|
|
33
|
+
* @param linkedSubscriptionName Name of the Linked Subscription resource.
|
|
34
|
+
* @param resource Linked subscription resource parameter.
|
|
35
|
+
* @param options The options parameters.
|
|
36
|
+
*/
|
|
37
|
+
createOrUpdate(resourceGroup: string, linkedSubscriptionName: string, resource: LinkedSubscriptionParameter, options?: LinkedSubscriptionsCreateOrUpdateOptionalParams): Promise<LinkedSubscriptionsCreateOrUpdateResponse>;
|
|
38
|
+
/**
|
|
39
|
+
* Patch a Linked Subscription resource.
|
|
40
|
+
* @param resourceGroup Name of the resource group.
|
|
41
|
+
* @param linkedSubscriptionName Name of the Linked Subscription resource.
|
|
42
|
+
* @param resource Linked subscription resource parameter.
|
|
43
|
+
* @param options The options parameters.
|
|
44
|
+
*/
|
|
45
|
+
update(resourceGroup: string, linkedSubscriptionName: string, resource: LinkedSubscriptionParameter, options?: LinkedSubscriptionsUpdateOptionalParams): Promise<LinkedSubscriptionsUpdateResponse>;
|
|
46
|
+
}
|
|
47
|
+
//# sourceMappingURL=linkedSubscriptions.d.ts.map
|
|
@@ -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,C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