@azure/arm-largeinstance 1.0.0-beta.1 → 1.0.0-beta.2
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 +11 -1
- package/LICENSE +4 -4
- package/README.md +26 -19
- package/dist/browser/index.d.ts +5 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/index.js +4 -4
- package/dist/browser/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/largeInstanceManagementClient.d.ts +2 -2
- package/dist/browser/largeInstanceManagementClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/largeInstanceManagementClient.js +32 -24
- package/dist/browser/largeInstanceManagementClient.js.map +1 -0
- package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +1 -1
- package/dist/browser/lroImpl.js +18 -0
- package/dist/browser/lroImpl.js.map +1 -0
- package/dist/browser/models/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/mappers.js +17 -7
- 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/azureLargeInstanceOperations.d.ts +3 -3
- package/dist/browser/operations/azureLargeInstanceOperations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/azureLargeInstanceOperations.js +175 -206
- package/dist/browser/operations/azureLargeInstanceOperations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/azureLargeStorageInstanceOperations.d.ts +3 -3
- package/dist/browser/operations/azureLargeStorageInstanceOperations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/azureLargeStorageInstanceOperations.js +48 -82
- package/dist/browser/operations/azureLargeStorageInstanceOperations.js.map +1 -0
- package/dist/browser/operations/index.d.ts +4 -0
- package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
- package/{dist-esm/src/operationsInterfaces → dist/browser/operations}/index.js +3 -3
- package/dist/browser/operations/index.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 +26 -43
- package/dist/browser/operations/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/azureLargeInstanceOperations.d.ts +1 -1
- package/dist/browser/operationsInterfaces/azureLargeInstanceOperations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/azureLargeInstanceOperations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/azureLargeStorageInstanceOperations.d.ts +1 -1
- package/dist/browser/operationsInterfaces/azureLargeStorageInstanceOperations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/azureLargeStorageInstanceOperations.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +4 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
- package/{dist-esm/src/operations → dist/browser/operationsInterfaces}/index.js +3 -3
- package/dist/browser/operationsInterfaces/index.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/browser/package.json +3 -0
- package/{dist-esm/src → dist/browser}/pagingHelper.js +2 -4
- package/dist/browser/pagingHelper.js.map +1 -0
- package/dist/commonjs/index.d.ts +5 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +19 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/largeInstanceManagementClient.d.ts +22 -0
- package/dist/commonjs/largeInstanceManagementClient.d.ts.map +1 -0
- package/dist/commonjs/largeInstanceManagementClient.js +116 -0
- package/dist/commonjs/largeInstanceManagementClient.js.map +1 -0
- package/dist/commonjs/lroImpl.d.ts +11 -0
- package/dist/commonjs/lroImpl.d.ts.map +1 -0
- package/dist/commonjs/lroImpl.js +21 -0
- package/dist/commonjs/lroImpl.js.map +1 -0
- package/{types/arm-largeinstance.d.ts → dist/commonjs/models/index.d.ts} +858 -1096
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +213 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +33 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +915 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +14 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +129 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/azureLargeInstanceOperations.d.ts +117 -0
- package/dist/commonjs/operations/azureLargeInstanceOperations.d.ts.map +1 -0
- package/dist/commonjs/operations/azureLargeInstanceOperations.js +561 -0
- package/dist/commonjs/operations/azureLargeInstanceOperations.js.map +1 -0
- package/dist/commonjs/operations/azureLargeStorageInstanceOperations.d.ts +76 -0
- package/dist/commonjs/operations/azureLargeStorageInstanceOperations.d.ts.map +1 -0
- package/dist/commonjs/operations/azureLargeStorageInstanceOperations.js +303 -0
- package/dist/commonjs/operations/azureLargeStorageInstanceOperations.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +4 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +14 -0
- package/dist/commonjs/operations/index.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 +121 -0
- package/dist/commonjs/operations/operations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/azureLargeInstanceOperations.d.ts +79 -0
- package/dist/commonjs/operationsInterfaces/azureLargeInstanceOperations.d.ts.map +1 -0
- package/{src/operations/index.ts → dist/commonjs/operationsInterfaces/azureLargeInstanceOperations.js} +3 -4
- package/dist/commonjs/operationsInterfaces/azureLargeInstanceOperations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/azureLargeStorageInstanceOperations.d.ts +37 -0
- package/dist/commonjs/operationsInterfaces/azureLargeStorageInstanceOperations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/azureLargeStorageInstanceOperations.js +10 -0
- package/dist/commonjs/operationsInterfaces/azureLargeStorageInstanceOperations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +4 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +14 -0
- package/dist/commonjs/operationsInterfaces/index.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/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/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/{src/index.ts → dist/esm/index.js} +5 -5
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/largeInstanceManagementClient.d.ts +22 -0
- package/dist/esm/largeInstanceManagementClient.d.ts.map +1 -0
- package/dist/esm/largeInstanceManagementClient.js +111 -0
- package/dist/esm/largeInstanceManagementClient.js.map +1 -0
- package/dist/esm/lroImpl.d.ts +11 -0
- package/dist/esm/lroImpl.d.ts.map +1 -0
- package/dist/esm/lroImpl.js +18 -0
- package/dist/esm/lroImpl.js.map +1 -0
- package/dist/esm/models/index.d.ts +858 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +210 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +33 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +912 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +14 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +126 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/azureLargeInstanceOperations.d.ts +117 -0
- package/dist/esm/operations/azureLargeInstanceOperations.d.ts.map +1 -0
- package/dist/esm/operations/azureLargeInstanceOperations.js +556 -0
- package/dist/esm/operations/azureLargeInstanceOperations.js.map +1 -0
- package/dist/esm/operations/azureLargeStorageInstanceOperations.d.ts +76 -0
- package/dist/esm/operations/azureLargeStorageInstanceOperations.d.ts.map +1 -0
- package/dist/esm/operations/azureLargeStorageInstanceOperations.js +298 -0
- package/dist/esm/operations/azureLargeStorageInstanceOperations.js.map +1 -0
- package/dist/esm/operations/index.d.ts +4 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +11 -0
- package/dist/esm/operations/index.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 +116 -0
- package/dist/esm/operations/operations.js.map +1 -0
- package/dist/esm/operationsInterfaces/azureLargeInstanceOperations.d.ts +79 -0
- package/dist/esm/operationsInterfaces/azureLargeInstanceOperations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/azureLargeInstanceOperations.js +9 -0
- package/dist/esm/operationsInterfaces/azureLargeInstanceOperations.js.map +1 -0
- package/dist/esm/operationsInterfaces/azureLargeStorageInstanceOperations.d.ts +37 -0
- package/dist/esm/operationsInterfaces/azureLargeStorageInstanceOperations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/azureLargeStorageInstanceOperations.js +9 -0
- package/dist/esm/operationsInterfaces/azureLargeStorageInstanceOperations.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +4 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +11 -0
- package/dist/esm/operationsInterfaces/index.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/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/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/largeInstanceManagementClient.d.ts +22 -0
- package/dist/react-native/largeInstanceManagementClient.d.ts.map +1 -0
- package/dist/react-native/largeInstanceManagementClient.js +111 -0
- package/dist/react-native/largeInstanceManagementClient.js.map +1 -0
- package/dist/react-native/lroImpl.d.ts +11 -0
- package/dist/react-native/lroImpl.d.ts.map +1 -0
- package/dist/react-native/lroImpl.js +18 -0
- package/dist/react-native/lroImpl.js.map +1 -0
- package/dist/react-native/models/index.d.ts +858 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +210 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +33 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +912 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +14 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +126 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/azureLargeInstanceOperations.d.ts +117 -0
- package/dist/react-native/operations/azureLargeInstanceOperations.d.ts.map +1 -0
- package/dist/react-native/operations/azureLargeInstanceOperations.js +556 -0
- package/dist/react-native/operations/azureLargeInstanceOperations.js.map +1 -0
- package/dist/react-native/operations/azureLargeStorageInstanceOperations.d.ts +76 -0
- package/dist/react-native/operations/azureLargeStorageInstanceOperations.d.ts.map +1 -0
- package/dist/react-native/operations/azureLargeStorageInstanceOperations.js +298 -0
- package/dist/react-native/operations/azureLargeStorageInstanceOperations.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +4 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +11 -0
- package/dist/react-native/operations/index.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 +116 -0
- package/dist/react-native/operations/operations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/azureLargeInstanceOperations.d.ts +79 -0
- package/dist/react-native/operationsInterfaces/azureLargeInstanceOperations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/azureLargeInstanceOperations.js +9 -0
- package/dist/react-native/operationsInterfaces/azureLargeInstanceOperations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/azureLargeStorageInstanceOperations.d.ts +37 -0
- package/dist/react-native/operationsInterfaces/azureLargeStorageInstanceOperations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/azureLargeStorageInstanceOperations.js +9 -0
- package/dist/react-native/operationsInterfaces/azureLargeStorageInstanceOperations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +4 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +11 -0
- package/dist/react-native/operationsInterfaces/index.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/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 -72
- package/dist/index.js +0 -2490
- 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/azureLargeInstanceGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/azureLargeInstanceGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/azureLargeInstanceGetSample.js +0 -41
- package/dist-esm/samples-dev/azureLargeInstanceGetSample.js.map +0 -1
- package/dist-esm/samples-dev/azureLargeInstanceListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/azureLargeInstanceListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/azureLargeInstanceListByResourceGroupSample.js +0 -56
- package/dist-esm/samples-dev/azureLargeInstanceListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/azureLargeInstanceListBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/azureLargeInstanceListBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/azureLargeInstanceListBySubscriptionSample.js +0 -55
- package/dist-esm/samples-dev/azureLargeInstanceListBySubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/azureLargeInstanceRestartSample.d.ts +0 -2
- package/dist-esm/samples-dev/azureLargeInstanceRestartSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/azureLargeInstanceRestartSample.js +0 -39
- package/dist-esm/samples-dev/azureLargeInstanceRestartSample.js.map +0 -1
- package/dist-esm/samples-dev/azureLargeInstanceShutdownSample.d.ts +0 -2
- package/dist-esm/samples-dev/azureLargeInstanceShutdownSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/azureLargeInstanceShutdownSample.js +0 -39
- package/dist-esm/samples-dev/azureLargeInstanceShutdownSample.js.map +0 -1
- package/dist-esm/samples-dev/azureLargeInstanceStartSample.d.ts +0 -2
- package/dist-esm/samples-dev/azureLargeInstanceStartSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/azureLargeInstanceStartSample.js +0 -39
- package/dist-esm/samples-dev/azureLargeInstanceStartSample.js.map +0 -1
- package/dist-esm/samples-dev/azureLargeInstanceUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/azureLargeInstanceUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/azureLargeInstanceUpdateSample.js +0 -66
- package/dist-esm/samples-dev/azureLargeInstanceUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/azureLargeStorageInstanceGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/azureLargeStorageInstanceGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/azureLargeStorageInstanceGetSample.js +0 -41
- package/dist-esm/samples-dev/azureLargeStorageInstanceGetSample.js.map +0 -1
- package/dist-esm/samples-dev/azureLargeStorageInstanceListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/azureLargeStorageInstanceListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/azureLargeStorageInstanceListByResourceGroupSample.js +0 -58
- package/dist-esm/samples-dev/azureLargeStorageInstanceListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/azureLargeStorageInstanceListBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/azureLargeStorageInstanceListBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/azureLargeStorageInstanceListBySubscriptionSample.js +0 -55
- package/dist-esm/samples-dev/azureLargeStorageInstanceListBySubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/azureLargeStorageInstanceUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/azureLargeStorageInstanceUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/azureLargeStorageInstanceUpdateSample.js +0 -66
- package/dist-esm/samples-dev/azureLargeStorageInstanceUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.js +0 -53
- package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -6
- package/dist-esm/src/index.d.ts.map +0 -1
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/largeInstanceManagementClient.d.ts.map +0 -1
- package/dist-esm/src/largeInstanceManagementClient.js.map +0 -1
- package/dist-esm/src/lroImpl.js +0 -21
- package/dist-esm/src/lroImpl.js.map +0 -1
- package/dist-esm/src/models/index.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/azureLargeInstanceOperations.d.ts.map +0 -1
- package/dist-esm/src/operations/azureLargeInstanceOperations.js.map +0 -1
- package/dist-esm/src/operations/azureLargeStorageInstanceOperations.d.ts.map +0 -1
- package/dist-esm/src/operations/azureLargeStorageInstanceOperations.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -4
- package/dist-esm/src/operations/index.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/operationsInterfaces/azureLargeInstanceOperations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/azureLargeInstanceOperations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/azureLargeStorageInstanceOperations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/azureLargeStorageInstanceOperations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -4
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/test/largeinstance_operations_test.spec.d.ts +0 -4
- package/dist-esm/test/largeinstance_operations_test.spec.d.ts.map +0 -1
- package/dist-esm/test/largeinstance_operations_test.spec.js +0 -73
- package/dist-esm/test/largeinstance_operations_test.spec.js.map +0 -1
- package/src/largeInstanceManagementClient.ts +0 -156
- package/src/lroImpl.ts +0 -42
- package/src/models/index.ts +0 -955
- package/src/models/mappers.ts +0 -944
- package/src/models/parameters.ts +0 -147
- package/src/operations/azureLargeInstanceOperations.ts +0 -768
- package/src/operations/azureLargeStorageInstanceOperations.ts +0 -401
- package/src/operations/operations.ts +0 -149
- package/src/operationsInterfaces/azureLargeInstanceOperations.ts +0 -156
- package/src/operationsInterfaces/azureLargeStorageInstanceOperations.ts +0 -69
- package/src/operationsInterfaces/index.ts +0 -11
- package/src/operationsInterfaces/operations.ts +0 -22
- package/src/pagingHelper.ts +0 -39
- package/tsconfig.json +0 -33
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/azureLargeInstanceOperations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/azureLargeStorageInstanceOperations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
- /package/review/{arm-largeinstance.api.md → arm-largeinstance-node.api.md} +0 -0
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
3
|
+
import { AzureLargeInstance, AzureLargeInstanceListBySubscriptionOptionalParams, AzureLargeInstanceListByResourceGroupOptionalParams, AzureLargeInstanceGetOptionalParams, AzureLargeInstanceGetResponse, AzureLargeInstanceTagsUpdate, AzureLargeInstanceUpdateOptionalParams, AzureLargeInstanceUpdateResponse, AzureLargeInstanceRestartOptionalParams, AzureLargeInstanceRestartResponse, AzureLargeInstanceShutdownOptionalParams, AzureLargeInstanceShutdownResponse, AzureLargeInstanceStartOptionalParams, AzureLargeInstanceStartResponse } from "../models/index.js";
|
|
4
|
+
/** Interface representing a AzureLargeInstanceOperations. */
|
|
5
|
+
export interface AzureLargeInstanceOperations {
|
|
6
|
+
/**
|
|
7
|
+
* Gets a list of Azure Large Instances in the specified subscription. The
|
|
8
|
+
* operations returns various properties of each Azure Large Instance.
|
|
9
|
+
* @param options The options parameters.
|
|
10
|
+
*/
|
|
11
|
+
listBySubscription(options?: AzureLargeInstanceListBySubscriptionOptionalParams): PagedAsyncIterableIterator<AzureLargeInstance>;
|
|
12
|
+
/**
|
|
13
|
+
* Gets a list of Azure Large Instances in the specified subscription and resource
|
|
14
|
+
* group. The operations returns various properties of each Azure Large Instance.
|
|
15
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
16
|
+
* @param options The options parameters.
|
|
17
|
+
*/
|
|
18
|
+
listByResourceGroup(resourceGroupName: string, options?: AzureLargeInstanceListByResourceGroupOptionalParams): PagedAsyncIterableIterator<AzureLargeInstance>;
|
|
19
|
+
/**
|
|
20
|
+
* Gets an Azure Large Instance for the specified subscription, resource group,
|
|
21
|
+
* and instance name.
|
|
22
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
23
|
+
* @param azureLargeInstanceName Name of the AzureLargeInstance.
|
|
24
|
+
* @param options The options parameters.
|
|
25
|
+
*/
|
|
26
|
+
get(resourceGroupName: string, azureLargeInstanceName: string, options?: AzureLargeInstanceGetOptionalParams): Promise<AzureLargeInstanceGetResponse>;
|
|
27
|
+
/**
|
|
28
|
+
* Patches the Tags field of an Azure Large Instance for the specified
|
|
29
|
+
* subscription, resource group, and instance name.
|
|
30
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
31
|
+
* @param azureLargeInstanceName Name of the AzureLargeInstance.
|
|
32
|
+
* @param tagsParameter The resource properties to be updated.
|
|
33
|
+
* @param options The options parameters.
|
|
34
|
+
*/
|
|
35
|
+
update(resourceGroupName: string, azureLargeInstanceName: string, tagsParameter: AzureLargeInstanceTagsUpdate, options?: AzureLargeInstanceUpdateOptionalParams): Promise<AzureLargeInstanceUpdateResponse>;
|
|
36
|
+
/**
|
|
37
|
+
* The operation to restart an Azure Large Instance (only for compute instances)
|
|
38
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
39
|
+
* @param azureLargeInstanceName Name of the AzureLargeInstance.
|
|
40
|
+
* @param options The options parameters.
|
|
41
|
+
*/
|
|
42
|
+
beginRestart(resourceGroupName: string, azureLargeInstanceName: string, options?: AzureLargeInstanceRestartOptionalParams): Promise<SimplePollerLike<OperationState<AzureLargeInstanceRestartResponse>, AzureLargeInstanceRestartResponse>>;
|
|
43
|
+
/**
|
|
44
|
+
* The operation to restart an Azure Large Instance (only for compute instances)
|
|
45
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
46
|
+
* @param azureLargeInstanceName Name of the AzureLargeInstance.
|
|
47
|
+
* @param options The options parameters.
|
|
48
|
+
*/
|
|
49
|
+
beginRestartAndWait(resourceGroupName: string, azureLargeInstanceName: string, options?: AzureLargeInstanceRestartOptionalParams): Promise<AzureLargeInstanceRestartResponse>;
|
|
50
|
+
/**
|
|
51
|
+
* The operation to shutdown an Azure Large Instance (only for compute instances)
|
|
52
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
53
|
+
* @param azureLargeInstanceName Name of the AzureLargeInstance.
|
|
54
|
+
* @param options The options parameters.
|
|
55
|
+
*/
|
|
56
|
+
beginShutdown(resourceGroupName: string, azureLargeInstanceName: string, options?: AzureLargeInstanceShutdownOptionalParams): Promise<SimplePollerLike<OperationState<AzureLargeInstanceShutdownResponse>, AzureLargeInstanceShutdownResponse>>;
|
|
57
|
+
/**
|
|
58
|
+
* The operation to shutdown an Azure Large Instance (only for compute instances)
|
|
59
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
60
|
+
* @param azureLargeInstanceName Name of the AzureLargeInstance.
|
|
61
|
+
* @param options The options parameters.
|
|
62
|
+
*/
|
|
63
|
+
beginShutdownAndWait(resourceGroupName: string, azureLargeInstanceName: string, options?: AzureLargeInstanceShutdownOptionalParams): Promise<AzureLargeInstanceShutdownResponse>;
|
|
64
|
+
/**
|
|
65
|
+
* The operation to start an Azure Large Instance (only for compute instances)
|
|
66
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
67
|
+
* @param azureLargeInstanceName Name of the AzureLargeInstance.
|
|
68
|
+
* @param options The options parameters.
|
|
69
|
+
*/
|
|
70
|
+
beginStart(resourceGroupName: string, azureLargeInstanceName: string, options?: AzureLargeInstanceStartOptionalParams): Promise<SimplePollerLike<OperationState<AzureLargeInstanceStartResponse>, AzureLargeInstanceStartResponse>>;
|
|
71
|
+
/**
|
|
72
|
+
* The operation to start an Azure Large Instance (only for compute instances)
|
|
73
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
74
|
+
* @param azureLargeInstanceName Name of the AzureLargeInstance.
|
|
75
|
+
* @param options The options parameters.
|
|
76
|
+
*/
|
|
77
|
+
beginStartAndWait(resourceGroupName: string, azureLargeInstanceName: string, options?: AzureLargeInstanceStartOptionalParams): Promise<AzureLargeInstanceStartResponse>;
|
|
78
|
+
}
|
|
79
|
+
//# sourceMappingURL=azureLargeInstanceOperations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"azureLargeInstanceOperations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/azureLargeInstanceOperations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,kBAAkB,EAClB,kDAAkD,EAClD,mDAAmD,EACnD,mCAAmC,EACnC,6BAA6B,EAC7B,4BAA4B,EAC5B,sCAAsC,EACtC,gCAAgC,EAChC,uCAAuC,EACvC,iCAAiC,EACjC,wCAAwC,EACxC,kCAAkC,EAClC,qCAAqC,EACrC,+BAA+B,EAChC,MAAM,oBAAoB,CAAC;AAG5B,6DAA6D;AAC7D,MAAM,WAAW,4BAA4B;IAC3C;;;;OAIG;IACH,kBAAkB,CAChB,OAAO,CAAC,EAAE,kDAAkD,GAC3D,0BAA0B,CAAC,kBAAkB,CAAC,CAAC;IAClD;;;;;OAKG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,mDAAmD,GAC5D,0BAA0B,CAAC,kBAAkB,CAAC,CAAC;IAClD;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,sBAAsB,EAAE,MAAM,EAC9B,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CAAC,6BAA6B,CAAC,CAAC;IAC1C;;;;;;;OAOG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,sBAAsB,EAAE,MAAM,EAC9B,aAAa,EAAE,4BAA4B,EAC3C,OAAO,CAAC,EAAE,sCAAsC,GAC/C,OAAO,CAAC,gCAAgC,CAAC,CAAC;IAC7C;;;;;OAKG;IACH,YAAY,CACV,iBAAiB,EAAE,MAAM,EACzB,sBAAsB,EAAE,MAAM,EAC9B,OAAO,CAAC,EAAE,uCAAuC,GAChD,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,iCAAiC,CAAC,EACjD,iCAAiC,CAClC,CACF,CAAC;IACF;;;;;OAKG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,sBAAsB,EAAE,MAAM,EAC9B,OAAO,CAAC,EAAE,uCAAuC,GAChD,OAAO,CAAC,iCAAiC,CAAC,CAAC;IAC9C;;;;;OAKG;IACH,aAAa,CACX,iBAAiB,EAAE,MAAM,EACzB,sBAAsB,EAAE,MAAM,EAC9B,OAAO,CAAC,EAAE,wCAAwC,GACjD,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,kCAAkC,CAAC,EAClD,kCAAkC,CACnC,CACF,CAAC;IACF;;;;;OAKG;IACH,oBAAoB,CAClB,iBAAiB,EAAE,MAAM,EACzB,sBAAsB,EAAE,MAAM,EAC9B,OAAO,CAAC,EAAE,wCAAwC,GACjD,OAAO,CAAC,kCAAkC,CAAC,CAAC;IAC/C;;;;;OAKG;IACH,UAAU,CACR,iBAAiB,EAAE,MAAM,EACzB,sBAAsB,EAAE,MAAM,EAC9B,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,+BAA+B,CAAC,EAC/C,+BAA+B,CAChC,CACF,CAAC;IACF;;;;;OAKG;IACH,iBAAiB,CACf,iBAAiB,EAAE,MAAM,EACzB,sBAAsB,EAAE,MAAM,EAC9B,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CAAC,+BAA+B,CAAC,CAAC;CAC7C"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
/*
|
|
2
3
|
* Copyright (c) Microsoft Corporation.
|
|
3
4
|
* Licensed under the MIT License.
|
|
@@ -5,7 +6,5 @@
|
|
|
5
6
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
7
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
8
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
export * from "./azureLargeInstanceOperations";
|
|
11
|
-
export * from "./azureLargeStorageInstanceOperations";
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
//# sourceMappingURL=azureLargeInstanceOperations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"azureLargeInstanceOperations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/azureLargeInstanceOperations.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 { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n AzureLargeInstance,\n AzureLargeInstanceListBySubscriptionOptionalParams,\n AzureLargeInstanceListByResourceGroupOptionalParams,\n AzureLargeInstanceGetOptionalParams,\n AzureLargeInstanceGetResponse,\n AzureLargeInstanceTagsUpdate,\n AzureLargeInstanceUpdateOptionalParams,\n AzureLargeInstanceUpdateResponse,\n AzureLargeInstanceRestartOptionalParams,\n AzureLargeInstanceRestartResponse,\n AzureLargeInstanceShutdownOptionalParams,\n AzureLargeInstanceShutdownResponse,\n AzureLargeInstanceStartOptionalParams,\n AzureLargeInstanceStartResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a AzureLargeInstanceOperations. */\nexport interface AzureLargeInstanceOperations {\n /**\n * Gets a list of Azure Large Instances in the specified subscription. The\n * operations returns various properties of each Azure Large Instance.\n * @param options The options parameters.\n */\n listBySubscription(\n options?: AzureLargeInstanceListBySubscriptionOptionalParams,\n ): PagedAsyncIterableIterator<AzureLargeInstance>;\n /**\n * Gets a list of Azure Large Instances in the specified subscription and resource\n * group. The operations returns various properties of each Azure Large Instance.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n listByResourceGroup(\n resourceGroupName: string,\n options?: AzureLargeInstanceListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<AzureLargeInstance>;\n /**\n * Gets an Azure Large Instance for the specified subscription, resource group,\n * and instance name.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param azureLargeInstanceName Name of the AzureLargeInstance.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n azureLargeInstanceName: string,\n options?: AzureLargeInstanceGetOptionalParams,\n ): Promise<AzureLargeInstanceGetResponse>;\n /**\n * Patches the Tags field of an Azure Large Instance for the specified\n * subscription, resource group, and instance name.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param azureLargeInstanceName Name of the AzureLargeInstance.\n * @param tagsParameter The resource properties to be updated.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n azureLargeInstanceName: string,\n tagsParameter: AzureLargeInstanceTagsUpdate,\n options?: AzureLargeInstanceUpdateOptionalParams,\n ): Promise<AzureLargeInstanceUpdateResponse>;\n /**\n * The operation to restart an Azure Large Instance (only for compute instances)\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param azureLargeInstanceName Name of the AzureLargeInstance.\n * @param options The options parameters.\n */\n beginRestart(\n resourceGroupName: string,\n azureLargeInstanceName: string,\n options?: AzureLargeInstanceRestartOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<AzureLargeInstanceRestartResponse>,\n AzureLargeInstanceRestartResponse\n >\n >;\n /**\n * The operation to restart an Azure Large Instance (only for compute instances)\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param azureLargeInstanceName Name of the AzureLargeInstance.\n * @param options The options parameters.\n */\n beginRestartAndWait(\n resourceGroupName: string,\n azureLargeInstanceName: string,\n options?: AzureLargeInstanceRestartOptionalParams,\n ): Promise<AzureLargeInstanceRestartResponse>;\n /**\n * The operation to shutdown an Azure Large Instance (only for compute instances)\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param azureLargeInstanceName Name of the AzureLargeInstance.\n * @param options The options parameters.\n */\n beginShutdown(\n resourceGroupName: string,\n azureLargeInstanceName: string,\n options?: AzureLargeInstanceShutdownOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<AzureLargeInstanceShutdownResponse>,\n AzureLargeInstanceShutdownResponse\n >\n >;\n /**\n * The operation to shutdown an Azure Large Instance (only for compute instances)\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param azureLargeInstanceName Name of the AzureLargeInstance.\n * @param options The options parameters.\n */\n beginShutdownAndWait(\n resourceGroupName: string,\n azureLargeInstanceName: string,\n options?: AzureLargeInstanceShutdownOptionalParams,\n ): Promise<AzureLargeInstanceShutdownResponse>;\n /**\n * The operation to start an Azure Large Instance (only for compute instances)\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param azureLargeInstanceName Name of the AzureLargeInstance.\n * @param options The options parameters.\n */\n beginStart(\n resourceGroupName: string,\n azureLargeInstanceName: string,\n options?: AzureLargeInstanceStartOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<AzureLargeInstanceStartResponse>,\n AzureLargeInstanceStartResponse\n >\n >;\n /**\n * The operation to start an Azure Large Instance (only for compute instances)\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param azureLargeInstanceName Name of the AzureLargeInstance.\n * @param options The options parameters.\n */\n beginStartAndWait(\n resourceGroupName: string,\n azureLargeInstanceName: string,\n options?: AzureLargeInstanceStartOptionalParams,\n ): Promise<AzureLargeInstanceStartResponse>;\n}\n"]}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { AzureLargeStorageInstance, AzureLargeStorageInstanceListBySubscriptionOptionalParams, AzureLargeStorageInstanceListByResourceGroupOptionalParams, AzureLargeStorageInstanceGetOptionalParams, AzureLargeStorageInstanceGetResponse, AzureLargeStorageInstanceTagsUpdate, AzureLargeStorageInstanceUpdateOptionalParams, AzureLargeStorageInstanceUpdateResponse } from "../models/index.js";
|
|
3
|
+
/** Interface representing a AzureLargeStorageInstanceOperations. */
|
|
4
|
+
export interface AzureLargeStorageInstanceOperations {
|
|
5
|
+
/**
|
|
6
|
+
* Gets a list of AzureLargeStorageInstances in the specified subscription. The
|
|
7
|
+
* operations returns various properties of each Azure LargeStorage instance.
|
|
8
|
+
* @param options The options parameters.
|
|
9
|
+
*/
|
|
10
|
+
listBySubscription(options?: AzureLargeStorageInstanceListBySubscriptionOptionalParams): PagedAsyncIterableIterator<AzureLargeStorageInstance>;
|
|
11
|
+
/**
|
|
12
|
+
* Gets a list of AzureLargeStorageInstances in the specified subscription and
|
|
13
|
+
* resource group. The operations returns various properties of each Azure
|
|
14
|
+
* LargeStorage instance.
|
|
15
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
16
|
+
* @param options The options parameters.
|
|
17
|
+
*/
|
|
18
|
+
listByResourceGroup(resourceGroupName: string, options?: AzureLargeStorageInstanceListByResourceGroupOptionalParams): PagedAsyncIterableIterator<AzureLargeStorageInstance>;
|
|
19
|
+
/**
|
|
20
|
+
* Gets an Azure Large Storage instance for the specified subscription, resource
|
|
21
|
+
* group, and instance name.
|
|
22
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
23
|
+
* @param azureLargeStorageInstanceName Name of the AzureLargeStorageInstance.
|
|
24
|
+
* @param options The options parameters.
|
|
25
|
+
*/
|
|
26
|
+
get(resourceGroupName: string, azureLargeStorageInstanceName: string, options?: AzureLargeStorageInstanceGetOptionalParams): Promise<AzureLargeStorageInstanceGetResponse>;
|
|
27
|
+
/**
|
|
28
|
+
* Patches the Tags field of a Azure Large Storage Instance for the specified
|
|
29
|
+
* subscription, resource group, and instance name.
|
|
30
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
31
|
+
* @param azureLargeStorageInstanceName Name of the AzureLargeStorageInstance.
|
|
32
|
+
* @param tagsParameter The resource properties to be updated.
|
|
33
|
+
* @param options The options parameters.
|
|
34
|
+
*/
|
|
35
|
+
update(resourceGroupName: string, azureLargeStorageInstanceName: string, tagsParameter: AzureLargeStorageInstanceTagsUpdate, options?: AzureLargeStorageInstanceUpdateOptionalParams): Promise<AzureLargeStorageInstanceUpdateResponse>;
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=azureLargeStorageInstanceOperations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"azureLargeStorageInstanceOperations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/azureLargeStorageInstanceOperations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,yBAAyB,EACzB,yDAAyD,EACzD,0DAA0D,EAC1D,0CAA0C,EAC1C,oCAAoC,EACpC,mCAAmC,EACnC,6CAA6C,EAC7C,uCAAuC,EACxC,MAAM,oBAAoB,CAAC;AAG5B,oEAAoE;AACpE,MAAM,WAAW,mCAAmC;IAClD;;;;OAIG;IACH,kBAAkB,CAChB,OAAO,CAAC,EAAE,yDAAyD,GAClE,0BAA0B,CAAC,yBAAyB,CAAC,CAAC;IACzD;;;;;;OAMG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,0DAA0D,GACnE,0BAA0B,CAAC,yBAAyB,CAAC,CAAC;IACzD;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CAAC,oCAAoC,CAAC,CAAC;IACjD;;;;;;;OAOG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,6BAA6B,EAAE,MAAM,EACrC,aAAa,EAAE,mCAAmC,EAClD,OAAO,CAAC,EAAE,6CAA6C,GACtD,OAAO,CAAC,uCAAuC,CAAC,CAAC;CACrD"}
|
|
@@ -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=azureLargeStorageInstanceOperations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"azureLargeStorageInstanceOperations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/azureLargeStorageInstanceOperations.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 AzureLargeStorageInstance,\n AzureLargeStorageInstanceListBySubscriptionOptionalParams,\n AzureLargeStorageInstanceListByResourceGroupOptionalParams,\n AzureLargeStorageInstanceGetOptionalParams,\n AzureLargeStorageInstanceGetResponse,\n AzureLargeStorageInstanceTagsUpdate,\n AzureLargeStorageInstanceUpdateOptionalParams,\n AzureLargeStorageInstanceUpdateResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a AzureLargeStorageInstanceOperations. */\nexport interface AzureLargeStorageInstanceOperations {\n /**\n * Gets a list of AzureLargeStorageInstances in the specified subscription. The\n * operations returns various properties of each Azure LargeStorage instance.\n * @param options The options parameters.\n */\n listBySubscription(\n options?: AzureLargeStorageInstanceListBySubscriptionOptionalParams,\n ): PagedAsyncIterableIterator<AzureLargeStorageInstance>;\n /**\n * Gets a list of AzureLargeStorageInstances in the specified subscription and\n * resource group. The operations returns various properties of each Azure\n * LargeStorage instance.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n listByResourceGroup(\n resourceGroupName: string,\n options?: AzureLargeStorageInstanceListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<AzureLargeStorageInstance>;\n /**\n * Gets an Azure Large Storage instance for the specified subscription, resource\n * group, and instance name.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param azureLargeStorageInstanceName Name of the AzureLargeStorageInstance.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n azureLargeStorageInstanceName: string,\n options?: AzureLargeStorageInstanceGetOptionalParams,\n ): Promise<AzureLargeStorageInstanceGetResponse>;\n /**\n * Patches the Tags field of a Azure Large Storage Instance for the specified\n * subscription, resource group, and instance name.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param azureLargeStorageInstanceName Name of the AzureLargeStorageInstance.\n * @param tagsParameter The resource properties to be updated.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n azureLargeStorageInstanceName: string,\n tagsParameter: AzureLargeStorageInstanceTagsUpdate,\n options?: AzureLargeStorageInstanceUpdateOptionalParams,\n ): Promise<AzureLargeStorageInstanceUpdateResponse>;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,iBAAiB,CAAC;AAChC,cAAc,mCAAmC,CAAC;AAClD,cAAc,0CAA0C,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
const tslib_1 = require("tslib");
|
|
11
|
+
tslib_1.__exportStar(require("./operations.js"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./azureLargeInstanceOperations.js"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./azureLargeStorageInstanceOperations.js"), exports);
|
|
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,0DAAgC;AAChC,4EAAkD;AAClD,mFAAyD","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 \"./azureLargeInstanceOperations.js\";\nexport * from \"./azureLargeStorageInstanceOperations.js\";\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
|
+
* List the operations for the provider
|
|
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 * List the operations for the provider\n * @param options The options parameters.\n */\n list(\n options?: OperationsListOptionalParams,\n ): PagedAsyncIterableIterator<Operation>;\n}\n"]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface PageInfo {
|
|
2
|
+
continuationToken?: string;
|
|
3
|
+
}
|
|
4
|
+
/**
|
|
5
|
+
* Given the last `.value` produced by the `byPage` iterator,
|
|
6
|
+
* returns a continuation token that can be used to begin paging from
|
|
7
|
+
* that point later.
|
|
8
|
+
* @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
|
|
9
|
+
* @returns The continuation token that can be passed into byPage() during future calls.
|
|
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 the last `.value` produced by the `byPage` iterator,
|
|
15
|
+
* returns a continuation token that can be used to begin paging from
|
|
16
|
+
* that point later.
|
|
17
|
+
* @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
|
|
18
|
+
* @returns The continuation token that can be passed into byPage() during future calls.
|
|
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 the last `.value` produced by the `byPage` iterator,\n * returns a continuation token that can be used to begin paging from\n * that point later.\n * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.\n * @returns The continuation token that can be passed into byPage() during future calls.\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 @@
|
|
|
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,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AACnF,cAAc,iCAAiC,CAAC"}
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
8
|
/// <reference lib="esnext.asynciterable" />
|
|
10
|
-
export { getContinuationToken } from "./pagingHelper";
|
|
11
|
-
export * from "./models";
|
|
12
|
-
export { LargeInstanceManagementClient } from "./largeInstanceManagementClient";
|
|
13
|
-
export * from "./operationsInterfaces";
|
|
9
|
+
export { getContinuationToken } from "./pagingHelper.js";
|
|
10
|
+
export * from "./models/index.js";
|
|
11
|
+
export { LargeInstanceManagementClient } from "./largeInstanceManagementClient.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,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AACnF,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 { LargeInstanceManagementClient } from \"./largeInstanceManagementClient.js\";\nexport * from \"./operationsInterfaces/index.js\";\n"]}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as coreClient from "@azure/core-client";
|
|
2
|
+
import * as coreAuth from "@azure/core-auth";
|
|
3
|
+
import { Operations, AzureLargeInstanceOperations, AzureLargeStorageInstanceOperations } from "./operationsInterfaces/index.js";
|
|
4
|
+
import { LargeInstanceManagementClientOptionalParams } from "./models/index.js";
|
|
5
|
+
export declare class LargeInstanceManagementClient extends coreClient.ServiceClient {
|
|
6
|
+
$host: string;
|
|
7
|
+
apiVersion: string;
|
|
8
|
+
subscriptionId: string;
|
|
9
|
+
/**
|
|
10
|
+
* Initializes a new instance of the LargeInstanceManagementClient class.
|
|
11
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
12
|
+
* @param subscriptionId The ID of the target subscription. The value must be an UUID.
|
|
13
|
+
* @param options The parameter options
|
|
14
|
+
*/
|
|
15
|
+
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: LargeInstanceManagementClientOptionalParams);
|
|
16
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
17
|
+
private addCustomApiVersionPolicy;
|
|
18
|
+
operations: Operations;
|
|
19
|
+
azureLargeInstanceOperations: AzureLargeInstanceOperations;
|
|
20
|
+
azureLargeStorageInstanceOperations: AzureLargeStorageInstanceOperations;
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=largeInstanceManagementClient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"largeInstanceManagementClient.d.ts","sourceRoot":"","sources":["../../src/largeInstanceManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAM7C,OAAO,EACL,UAAU,EACV,4BAA4B,EAC5B,mCAAmC,EACpC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,2CAA2C,EAAE,MAAM,mBAAmB,CAAC;AAEhF,qBAAa,6BAA8B,SAAQ,UAAU,CAAC,aAAa;IACzE,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,2CAA2C;IAkFvD,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,UAAU,EAAE,UAAU,CAAC;IACvB,4BAA4B,EAAE,4BAA4B,CAAC;IAC3D,mCAAmC,EAAE,mCAAmC,CAAC;CAC1E"}
|
|
@@ -0,0 +1,111 @@
|
|
|
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, AzureLargeInstanceOperationsImpl, AzureLargeStorageInstanceOperationsImpl, } from "./operations/index.js";
|
|
11
|
+
export class LargeInstanceManagementClient extends coreClient.ServiceClient {
|
|
12
|
+
$host;
|
|
13
|
+
apiVersion;
|
|
14
|
+
subscriptionId;
|
|
15
|
+
/**
|
|
16
|
+
* Initializes a new instance of the LargeInstanceManagementClient class.
|
|
17
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
18
|
+
* @param subscriptionId The ID of the target subscription. The value must be an UUID.
|
|
19
|
+
* @param options The parameter options
|
|
20
|
+
*/
|
|
21
|
+
constructor(credentials, subscriptionId, options) {
|
|
22
|
+
if (credentials === undefined) {
|
|
23
|
+
throw new Error("'credentials' cannot be null");
|
|
24
|
+
}
|
|
25
|
+
if (subscriptionId === undefined) {
|
|
26
|
+
throw new Error("'subscriptionId' cannot be null");
|
|
27
|
+
}
|
|
28
|
+
// Initializing default values for options
|
|
29
|
+
if (!options) {
|
|
30
|
+
options = {};
|
|
31
|
+
}
|
|
32
|
+
const defaults = {
|
|
33
|
+
requestContentType: "application/json; charset=utf-8",
|
|
34
|
+
credential: credentials,
|
|
35
|
+
};
|
|
36
|
+
const packageDetails = `azsdk-js-arm-largeinstance/1.0.0-beta.2`;
|
|
37
|
+
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
38
|
+
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
39
|
+
: `${packageDetails}`;
|
|
40
|
+
const optionsWithDefaults = {
|
|
41
|
+
...defaults,
|
|
42
|
+
...options,
|
|
43
|
+
userAgentOptions: {
|
|
44
|
+
userAgentPrefix,
|
|
45
|
+
},
|
|
46
|
+
endpoint: options.endpoint ?? options.baseUri ?? "https://management.azure.com",
|
|
47
|
+
};
|
|
48
|
+
super(optionsWithDefaults);
|
|
49
|
+
let bearerTokenAuthenticationPolicyFound = false;
|
|
50
|
+
if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {
|
|
51
|
+
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
|
52
|
+
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
|
53
|
+
coreRestPipeline.bearerTokenAuthenticationPolicyName);
|
|
54
|
+
}
|
|
55
|
+
if (!options ||
|
|
56
|
+
!options.pipeline ||
|
|
57
|
+
options.pipeline.getOrderedPolicies().length == 0 ||
|
|
58
|
+
!bearerTokenAuthenticationPolicyFound) {
|
|
59
|
+
this.pipeline.removePolicy({
|
|
60
|
+
name: coreRestPipeline.bearerTokenAuthenticationPolicyName,
|
|
61
|
+
});
|
|
62
|
+
this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
|
|
63
|
+
credential: credentials,
|
|
64
|
+
scopes: optionsWithDefaults.credentialScopes ??
|
|
65
|
+
`${optionsWithDefaults.endpoint}/.default`,
|
|
66
|
+
challengeCallbacks: {
|
|
67
|
+
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,
|
|
68
|
+
},
|
|
69
|
+
}));
|
|
70
|
+
}
|
|
71
|
+
// Parameter assignments
|
|
72
|
+
this.subscriptionId = subscriptionId;
|
|
73
|
+
// Assigning values to Constant parameters
|
|
74
|
+
this.$host = options.$host || "https://management.azure.com";
|
|
75
|
+
this.apiVersion = options.apiVersion || "2023-07-20-preview";
|
|
76
|
+
this.operations = new OperationsImpl(this);
|
|
77
|
+
this.azureLargeInstanceOperations = new AzureLargeInstanceOperationsImpl(this);
|
|
78
|
+
this.azureLargeStorageInstanceOperations =
|
|
79
|
+
new AzureLargeStorageInstanceOperationsImpl(this);
|
|
80
|
+
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
81
|
+
}
|
|
82
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
83
|
+
addCustomApiVersionPolicy(apiVersion) {
|
|
84
|
+
if (!apiVersion) {
|
|
85
|
+
return;
|
|
86
|
+
}
|
|
87
|
+
const apiVersionPolicy = {
|
|
88
|
+
name: "CustomApiVersionPolicy",
|
|
89
|
+
async sendRequest(request, next) {
|
|
90
|
+
const param = request.url.split("?");
|
|
91
|
+
if (param.length > 1) {
|
|
92
|
+
const newParams = param[1].split("&").map((item) => {
|
|
93
|
+
if (item.indexOf("api-version") > -1) {
|
|
94
|
+
return "api-version=" + apiVersion;
|
|
95
|
+
}
|
|
96
|
+
else {
|
|
97
|
+
return item;
|
|
98
|
+
}
|
|
99
|
+
});
|
|
100
|
+
request.url = param[0] + "?" + newParams.join("&");
|
|
101
|
+
}
|
|
102
|
+
return next(request);
|
|
103
|
+
},
|
|
104
|
+
};
|
|
105
|
+
this.pipeline.addPolicy(apiVersionPolicy);
|
|
106
|
+
}
|
|
107
|
+
operations;
|
|
108
|
+
azureLargeInstanceOperations;
|
|
109
|
+
azureLargeStorageInstanceOperations;
|
|
110
|
+
}
|
|
111
|
+
//# sourceMappingURL=largeInstanceManagementClient.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"largeInstanceManagementClient.js","sourceRoot":"","sources":["../../src/largeInstanceManagementClient.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 AzureLargeInstanceOperationsImpl,\n AzureLargeStorageInstanceOperationsImpl,\n} from \"./operations/index.js\";\nimport {\n Operations,\n AzureLargeInstanceOperations,\n AzureLargeStorageInstanceOperations,\n} from \"./operationsInterfaces/index.js\";\nimport { LargeInstanceManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class LargeInstanceManagementClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the LargeInstanceManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription. The value must be an UUID.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: LargeInstanceManagementClientOptionalParams,\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: LargeInstanceManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-largeinstance/1.0.0-beta.2`;\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[] =\n 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 || \"2023-07-20-preview\";\n this.operations = new OperationsImpl(this);\n this.azureLargeInstanceOperations = new AzureLargeInstanceOperationsImpl(\n this,\n );\n this.azureLargeStorageInstanceOperations =\n new AzureLargeStorageInstanceOperationsImpl(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 azureLargeInstanceOperations: AzureLargeInstanceOperations;\n azureLargeStorageInstanceOperations: AzureLargeStorageInstanceOperations;\n}\n"]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { LongRunningOperation, LroResponse } from "@azure/core-lro";
|
|
2
|
+
export declare function createLroSpec<T>(inputs: {
|
|
3
|
+
sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>;
|
|
4
|
+
args: Record<string, unknown>;
|
|
5
|
+
spec: {
|
|
6
|
+
readonly requestBody?: unknown;
|
|
7
|
+
readonly path?: string;
|
|
8
|
+
readonly httpMethod: string;
|
|
9
|
+
} & Record<string, any>;
|
|
10
|
+
}): LongRunningOperation<T>;
|
|
11
|
+
//# sourceMappingURL=lroImpl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lroImpl.d.ts","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEpE,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,EAAE;IACvC,eAAe,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,KAAK,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;IACnE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9B,IAAI,EAAE;QACJ,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;QAC/B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QACvB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;KAC7B,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CACzB,GAAG,oBAAoB,CAAC,CAAC,CAAC,CAmB1B"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export function createLroSpec(inputs) {
|
|
2
|
+
const { args, spec, sendOperationFn } = inputs;
|
|
3
|
+
return {
|
|
4
|
+
requestMethod: spec.httpMethod,
|
|
5
|
+
requestPath: spec.path,
|
|
6
|
+
sendInitialRequest: () => sendOperationFn(args, spec),
|
|
7
|
+
sendPollRequest: (path, options) => {
|
|
8
|
+
const { requestBody, ...restSpec } = spec;
|
|
9
|
+
return sendOperationFn(args, {
|
|
10
|
+
...restSpec,
|
|
11
|
+
httpMethod: "GET",
|
|
12
|
+
path,
|
|
13
|
+
abortSignal: options?.abortSignal,
|
|
14
|
+
});
|
|
15
|
+
},
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=lroImpl.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAUA,MAAM,UAAU,aAAa,CAAI,MAQhC;IACC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,eAAe,EAAE,GAAG,MAAM,CAAC;IAC/C,OAAO;QACL,aAAa,EAAE,IAAI,CAAC,UAAU;QAC9B,WAAW,EAAE,IAAI,CAAC,IAAK;QACvB,kBAAkB,EAAE,GAAG,EAAE,CAAC,eAAe,CAAC,IAAI,EAAE,IAAI,CAAC;QACrD,eAAe,EAAE,CACf,IAAY,EACZ,OAA2C,EAC3C,EAAE;YACF,MAAM,EAAE,WAAW,EAAE,GAAG,QAAQ,EAAE,GAAG,IAAI,CAAC;YAC1C,OAAO,eAAe,CAAC,IAAI,EAAE;gBAC3B,GAAG,QAAQ;gBACX,UAAU,EAAE,KAAK;gBACjB,IAAI;gBACJ,WAAW,EAAE,OAAO,EAAE,WAAW;aAClC,CAAC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,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 */\nimport { AbortSignalLike } from \"@azure/abort-controller\";\nimport { LongRunningOperation, LroResponse } from \"@azure/core-lro\";\n\nexport function createLroSpec<T>(inputs: {\n sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>;\n args: Record<string, unknown>;\n spec: {\n readonly requestBody?: unknown;\n readonly path?: string;\n readonly httpMethod: string;\n } & Record<string, any>;\n}): LongRunningOperation<T> {\n const { args, spec, sendOperationFn } = inputs;\n return {\n requestMethod: spec.httpMethod,\n requestPath: spec.path!,\n sendInitialRequest: () => sendOperationFn(args, spec),\n sendPollRequest: (\n path: string,\n options?: { abortSignal?: AbortSignalLike },\n ) => {\n const { requestBody, ...restSpec } = spec;\n return sendOperationFn(args, {\n ...restSpec,\n httpMethod: \"GET\",\n path,\n abortSignal: options?.abortSignal,\n });\n },\n };\n}\n"]}
|