@azure/arm-machinelearningcompute 3.0.0-beta.3 → 3.0.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -2
- package/LICENSE +4 -4
- package/README.md +29 -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}/lroImpl.js +13 -9
- package/dist/browser/lroImpl.js.map +1 -0
- package/{dist-esm/src → dist/browser}/machineLearningComputeManagementClient.d.ts +2 -2
- package/dist/browser/machineLearningComputeManagementClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/machineLearningComputeManagementClient.js +31 -24
- package/dist/browser/machineLearningComputeManagementClient.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/index.d.ts +19 -19
- package/{dist-esm/src → dist/browser}/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/mappers.js +25 -12
- 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/browser/operations/index.d.ts +3 -0
- package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/operations/index.js +2 -2
- package/dist/browser/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/machineLearningCompute.d.ts +3 -3
- package/dist/browser/operations/machineLearningCompute.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/machineLearningCompute.js +3 -2
- package/dist/browser/operations/machineLearningCompute.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operationalizationClusters.d.ts +3 -3
- package/dist/browser/operations/operationalizationClusters.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operationalizationClusters.js +160 -187
- package/dist/browser/operations/operationalizationClusters.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +3 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/index.js +2 -2
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/machineLearningCompute.d.ts +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/machineLearningCompute.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/machineLearningCompute.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operationalizationClusters.d.ts +1 -1
- package/dist/browser/operationsInterfaces/operationalizationClusters.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/operationalizationClusters.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/lroImpl.d.ts +16 -0
- package/dist/commonjs/lroImpl.d.ts.map +1 -0
- package/dist/commonjs/lroImpl.js +37 -0
- package/dist/commonjs/lroImpl.js.map +1 -0
- package/dist/commonjs/machineLearningComputeManagementClient.d.ts +21 -0
- package/dist/commonjs/machineLearningComputeManagementClient.d.ts.map +1 -0
- package/dist/commonjs/machineLearningComputeManagementClient.js +113 -0
- package/dist/commonjs/machineLearningComputeManagementClient.js.map +1 -0
- package/{types/arm-machinelearningcompute.d.ts → dist/commonjs/models/index.d.ts} +702 -902
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +169 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +32 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +886 -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 +133 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +3 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +13 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/machineLearningCompute.d.ts +18 -0
- package/dist/commonjs/operations/machineLearningCompute.d.ts.map +1 -0
- package/dist/commonjs/operations/machineLearningCompute.js +49 -0
- package/dist/commonjs/operations/machineLearningCompute.js.map +1 -0
- package/dist/commonjs/operations/operationalizationClusters.d.ts +130 -0
- package/dist/commonjs/operations/operationalizationClusters.d.ts.map +1 -0
- package/dist/commonjs/operations/operationalizationClusters.js +586 -0
- package/dist/commonjs/operations/operationalizationClusters.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +3 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +13 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/machineLearningCompute.d.ts +10 -0
- package/dist/commonjs/operationsInterfaces/machineLearningCompute.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/machineLearningCompute.js +10 -0
- package/dist/commonjs/operationsInterfaces/machineLearningCompute.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/operationalizationClusters.d.ts +94 -0
- package/dist/commonjs/operationsInterfaces/operationalizationClusters.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/operationalizationClusters.js +10 -0
- package/dist/commonjs/operationsInterfaces/operationalizationClusters.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/lroImpl.d.ts +16 -0
- package/dist/esm/lroImpl.d.ts.map +1 -0
- package/dist/esm/lroImpl.js +33 -0
- package/dist/esm/lroImpl.js.map +1 -0
- package/dist/esm/machineLearningComputeManagementClient.d.ts +21 -0
- package/dist/esm/machineLearningComputeManagementClient.d.ts.map +1 -0
- package/dist/esm/machineLearningComputeManagementClient.js +108 -0
- package/dist/esm/machineLearningComputeManagementClient.js.map +1 -0
- package/dist/esm/models/index.d.ts +702 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +166 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +32 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +883 -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 +130 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/index.d.ts +3 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +10 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/machineLearningCompute.d.ts +18 -0
- package/dist/esm/operations/machineLearningCompute.d.ts.map +1 -0
- package/dist/esm/operations/machineLearningCompute.js +44 -0
- package/dist/esm/operations/machineLearningCompute.js.map +1 -0
- package/dist/esm/operations/operationalizationClusters.d.ts +130 -0
- package/dist/esm/operations/operationalizationClusters.d.ts.map +1 -0
- package/dist/esm/operations/operationalizationClusters.js +581 -0
- package/dist/esm/operations/operationalizationClusters.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +3 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +10 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/machineLearningCompute.d.ts +10 -0
- package/dist/esm/operationsInterfaces/machineLearningCompute.d.ts.map +1 -0
- package/{src/operations/index.ts → dist/esm/operationsInterfaces/machineLearningCompute.js} +2 -3
- package/dist/esm/operationsInterfaces/machineLearningCompute.js.map +1 -0
- package/dist/esm/operationsInterfaces/operationalizationClusters.d.ts +94 -0
- package/dist/esm/operationsInterfaces/operationalizationClusters.d.ts.map +1 -0
- package/{src/operationsInterfaces/index.ts → dist/esm/operationsInterfaces/operationalizationClusters.js} +2 -3
- package/dist/esm/operationsInterfaces/operationalizationClusters.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/lroImpl.d.ts +16 -0
- package/dist/react-native/lroImpl.d.ts.map +1 -0
- package/dist/react-native/lroImpl.js +33 -0
- package/dist/react-native/lroImpl.js.map +1 -0
- package/dist/react-native/machineLearningComputeManagementClient.d.ts +21 -0
- package/dist/react-native/machineLearningComputeManagementClient.d.ts.map +1 -0
- package/dist/react-native/machineLearningComputeManagementClient.js +108 -0
- package/dist/react-native/machineLearningComputeManagementClient.js.map +1 -0
- package/dist/react-native/models/index.d.ts +702 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +166 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +32 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +883 -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 +130 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +3 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +10 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/machineLearningCompute.d.ts +18 -0
- package/dist/react-native/operations/machineLearningCompute.d.ts.map +1 -0
- package/dist/react-native/operations/machineLearningCompute.js +44 -0
- package/dist/react-native/operations/machineLearningCompute.js.map +1 -0
- package/dist/react-native/operations/operationalizationClusters.d.ts +130 -0
- package/dist/react-native/operations/operationalizationClusters.d.ts.map +1 -0
- package/dist/react-native/operations/operationalizationClusters.js +581 -0
- package/dist/react-native/operations/operationalizationClusters.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +3 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +10 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/machineLearningCompute.d.ts +10 -0
- package/dist/react-native/operationsInterfaces/machineLearningCompute.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/machineLearningCompute.js +9 -0
- package/dist/react-native/operationsInterfaces/machineLearningCompute.js.map +1 -0
- package/dist/react-native/operationsInterfaces/operationalizationClusters.d.ts +94 -0
- package/dist/react-native/operationsInterfaces/operationalizationClusters.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/operationalizationClusters.js +9 -0
- package/dist/react-native/operationsInterfaces/operationalizationClusters.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/pagingHelper.d.ts +13 -0
- package/dist/react-native/pagingHelper.d.ts.map +1 -0
- package/dist/react-native/pagingHelper.js +30 -0
- package/dist/react-native/pagingHelper.js.map +1 -0
- package/package.json +85 -76
- package/dist/index.js +0 -2030
- 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/checkUpdateForAnOperationalizationCluster.d.ts +0 -2
- package/dist-esm/samples-dev/checkUpdateForAnOperationalizationCluster.d.ts.map +0 -1
- package/dist-esm/samples-dev/checkUpdateForAnOperationalizationCluster.js +0 -31
- package/dist-esm/samples-dev/checkUpdateForAnOperationalizationCluster.js.map +0 -1
- package/dist-esm/samples-dev/deleteOperationalizationCluster.d.ts +0 -2
- package/dist-esm/samples-dev/deleteOperationalizationCluster.d.ts.map +0 -1
- package/dist-esm/samples-dev/deleteOperationalizationCluster.js +0 -31
- package/dist-esm/samples-dev/deleteOperationalizationCluster.js.map +0 -1
- package/dist-esm/samples-dev/getOperationalizationCluster.d.ts +0 -2
- package/dist-esm/samples-dev/getOperationalizationCluster.d.ts.map +0 -1
- package/dist-esm/samples-dev/getOperationalizationCluster.js +0 -31
- package/dist-esm/samples-dev/getOperationalizationCluster.js.map +0 -1
- package/dist-esm/samples-dev/listKeysOfAnOperationalizationCluster.d.ts +0 -2
- package/dist-esm/samples-dev/listKeysOfAnOperationalizationCluster.d.ts.map +0 -1
- package/dist-esm/samples-dev/listKeysOfAnOperationalizationCluster.js +0 -31
- package/dist-esm/samples-dev/listKeysOfAnOperationalizationCluster.js.map +0 -1
- package/dist-esm/samples-dev/listOperationalizationClustersByResourceGroup.d.ts +0 -2
- package/dist-esm/samples-dev/listOperationalizationClustersByResourceGroup.d.ts.map +0 -1
- package/dist-esm/samples-dev/listOperationalizationClustersByResourceGroup.js +0 -44
- package/dist-esm/samples-dev/listOperationalizationClustersByResourceGroup.js.map +0 -1
- package/dist-esm/samples-dev/listOperationalizationClustersBySubscription.d.ts +0 -2
- package/dist-esm/samples-dev/listOperationalizationClustersBySubscription.d.ts.map +0 -1
- package/dist-esm/samples-dev/listOperationalizationClustersBySubscription.js +0 -43
- package/dist-esm/samples-dev/listOperationalizationClustersBySubscription.js.map +0 -1
- package/dist-esm/samples-dev/machineLearningComputeListAvailableOperations.d.ts +0 -2
- package/dist-esm/samples-dev/machineLearningComputeListAvailableOperations.d.ts.map +0 -1
- package/dist-esm/samples-dev/machineLearningComputeListAvailableOperations.js +0 -29
- package/dist-esm/samples-dev/machineLearningComputeListAvailableOperations.js.map +0 -1
- package/dist-esm/samples-dev/machineLearningComputeListAvailableOperationsSample.d.ts +0 -2
- package/dist-esm/samples-dev/machineLearningComputeListAvailableOperationsSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/machineLearningComputeListAvailableOperationsSample.js +0 -29
- package/dist-esm/samples-dev/machineLearningComputeListAvailableOperationsSample.js.map +0 -1
- package/dist-esm/samples-dev/operationalizationClustersCheckSystemServicesUpdatesAvailableSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationalizationClustersCheckSystemServicesUpdatesAvailableSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationalizationClustersCheckSystemServicesUpdatesAvailableSample.js +0 -31
- package/dist-esm/samples-dev/operationalizationClustersCheckSystemServicesUpdatesAvailableSample.js.map +0 -1
- package/dist-esm/samples-dev/operationalizationClustersCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationalizationClustersCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationalizationClustersCreateOrUpdateSample.js +0 -54
- package/dist-esm/samples-dev/operationalizationClustersCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/operationalizationClustersDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationalizationClustersDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationalizationClustersDeleteSample.js +0 -31
- package/dist-esm/samples-dev/operationalizationClustersDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/operationalizationClustersGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationalizationClustersGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationalizationClustersGetSample.js +0 -31
- package/dist-esm/samples-dev/operationalizationClustersGetSample.js.map +0 -1
- package/dist-esm/samples-dev/operationalizationClustersListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationalizationClustersListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationalizationClustersListByResourceGroupSample.js +0 -44
- package/dist-esm/samples-dev/operationalizationClustersListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/operationalizationClustersListBySubscriptionIdSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationalizationClustersListBySubscriptionIdSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationalizationClustersListBySubscriptionIdSample.js +0 -43
- package/dist-esm/samples-dev/operationalizationClustersListBySubscriptionIdSample.js.map +0 -1
- package/dist-esm/samples-dev/operationalizationClustersListKeysSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationalizationClustersListKeysSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationalizationClustersListKeysSample.js +0 -31
- package/dist-esm/samples-dev/operationalizationClustersListKeysSample.js.map +0 -1
- package/dist-esm/samples-dev/operationalizationClustersUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationalizationClustersUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationalizationClustersUpdateSample.js +0 -34
- package/dist-esm/samples-dev/operationalizationClustersUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/operationalizationClustersUpdateSystemServicesSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationalizationClustersUpdateSystemServicesSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationalizationClustersUpdateSystemServicesSample.js +0 -31
- package/dist-esm/samples-dev/operationalizationClustersUpdateSystemServicesSample.js.map +0 -1
- package/dist-esm/samples-dev/patchOperationalizationCluster.d.ts +0 -2
- package/dist-esm/samples-dev/patchOperationalizationCluster.d.ts.map +0 -1
- package/dist-esm/samples-dev/patchOperationalizationCluster.js +0 -34
- package/dist-esm/samples-dev/patchOperationalizationCluster.js.map +0 -1
- package/dist-esm/samples-dev/putOperationalizationCluster.d.ts +0 -2
- package/dist-esm/samples-dev/putOperationalizationCluster.d.ts.map +0 -1
- package/dist-esm/samples-dev/putOperationalizationCluster.js +0 -54
- package/dist-esm/samples-dev/putOperationalizationCluster.js.map +0 -1
- package/dist-esm/samples-dev/updateSystemServicesInAnOperationalizationCluster.d.ts +0 -2
- package/dist-esm/samples-dev/updateSystemServicesInAnOperationalizationCluster.d.ts.map +0 -1
- package/dist-esm/samples-dev/updateSystemServicesInAnOperationalizationCluster.js +0 -31
- package/dist-esm/samples-dev/updateSystemServicesInAnOperationalizationCluster.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -6
- package/dist-esm/src/index.d.ts.map +0 -1
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/lroImpl.js.map +0 -1
- package/dist-esm/src/machineLearningComputeManagementClient.d.ts.map +0 -1
- package/dist-esm/src/machineLearningComputeManagementClient.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/index.d.ts +0 -3
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/machineLearningCompute.d.ts.map +0 -1
- package/dist-esm/src/operations/machineLearningCompute.js.map +0 -1
- package/dist-esm/src/operations/operationalizationClusters.d.ts.map +0 -1
- package/dist-esm/src/operations/operationalizationClusters.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -3
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/machineLearningCompute.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operationalizationClusters.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/operationalizationClusters.js.map +0 -1
- package/dist-esm/src/pagingHelper.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 -38
- package/dist-esm/test/sampleTest.js.map +0 -1
- package/rollup.config.js +0 -122
- package/src/lroImpl.ts +0 -34
- package/src/machineLearningComputeManagementClient.ts +0 -148
- package/src/models/index.ts +0 -782
- package/src/models/mappers.ts +0 -914
- package/src/models/parameters.ts +0 -150
- package/src/operations/machineLearningCompute.ts +0 -59
- package/src/operations/operationalizationClusters.ts +0 -830
- package/src/operationsInterfaces/machineLearningCompute.ts +0 -23
- package/src/operationsInterfaces/operationalizationClusters.ts +0 -189
- package/src/pagingHelper.ts +0 -39
- package/tsconfig.json +0 -33
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/machineLearningCompute.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/operationalizationClusters.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-machinelearningcompute.api.md → arm-machinelearningcompute-node.api.md} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,iCAAiC,CAAC;AAChD,cAAc,6BAA6B,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
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("./operationalizationClusters.js"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./machineLearningCompute.js"), exports);
|
|
13
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEH,0EAAgD;AAChD,sEAA4C","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 \"./operationalizationClusters.js\";\nexport * from \"./machineLearningCompute.js\";\n"]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { MachineLearningComputeListAvailableOperationsOptionalParams, MachineLearningComputeListAvailableOperationsResponse } from "../models/index.js";
|
|
2
|
+
/** Interface representing a MachineLearningCompute. */
|
|
3
|
+
export interface MachineLearningCompute {
|
|
4
|
+
/**
|
|
5
|
+
* Gets all available operations.
|
|
6
|
+
* @param options The options parameters.
|
|
7
|
+
*/
|
|
8
|
+
listAvailableOperations(options?: MachineLearningComputeListAvailableOperationsOptionalParams): Promise<MachineLearningComputeListAvailableOperationsResponse>;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=machineLearningCompute.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"machineLearningCompute.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/machineLearningCompute.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,2DAA2D,EAC3D,qDAAqD,EACtD,MAAM,oBAAoB,CAAC;AAE5B,uDAAuD;AACvD,MAAM,WAAW,sBAAsB;IACrC;;;OAGG;IACH,uBAAuB,CACrB,OAAO,CAAC,EAAE,2DAA2D,GACpE,OAAO,CAAC,qDAAqD,CAAC,CAAC;CACnE"}
|
|
@@ -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=machineLearningCompute.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"machineLearningCompute.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/machineLearningCompute.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 MachineLearningComputeListAvailableOperationsOptionalParams,\n MachineLearningComputeListAvailableOperationsResponse\n} from \"../models/index.js\";\n\n/** Interface representing a MachineLearningCompute. */\nexport interface MachineLearningCompute {\n /**\n * Gets all available operations.\n * @param options The options parameters.\n */\n listAvailableOperations(\n options?: MachineLearningComputeListAvailableOperationsOptionalParams\n ): Promise<MachineLearningComputeListAvailableOperationsResponse>;\n}\n"]}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
3
|
+
import { OperationalizationCluster, OperationalizationClustersListByResourceGroupOptionalParams, OperationalizationClustersListBySubscriptionIdOptionalParams, OperationalizationClustersCreateOrUpdateOptionalParams, OperationalizationClustersCreateOrUpdateResponse, OperationalizationClustersGetOptionalParams, OperationalizationClustersGetResponse, OperationalizationClusterUpdateParameters, OperationalizationClustersUpdateOptionalParams, OperationalizationClustersUpdateResponse, OperationalizationClustersDeleteOptionalParams, OperationalizationClustersDeleteResponse, OperationalizationClustersListKeysOptionalParams, OperationalizationClustersListKeysResponse, OperationalizationClustersCheckSystemServicesUpdatesAvailableOptionalParams, OperationalizationClustersCheckSystemServicesUpdatesAvailableResponse, OperationalizationClustersUpdateSystemServicesOptionalParams, OperationalizationClustersUpdateSystemServicesResponse } from "../models/index.js";
|
|
4
|
+
/** Interface representing a OperationalizationClusters. */
|
|
5
|
+
export interface OperationalizationClusters {
|
|
6
|
+
/**
|
|
7
|
+
* Gets the clusters in the specified resource group.
|
|
8
|
+
* @param resourceGroupName Name of the resource group in which the cluster is located.
|
|
9
|
+
* @param options The options parameters.
|
|
10
|
+
*/
|
|
11
|
+
listByResourceGroup(resourceGroupName: string, options?: OperationalizationClustersListByResourceGroupOptionalParams): PagedAsyncIterableIterator<OperationalizationCluster>;
|
|
12
|
+
/**
|
|
13
|
+
* Gets the operationalization clusters in the specified subscription.
|
|
14
|
+
* @param options The options parameters.
|
|
15
|
+
*/
|
|
16
|
+
listBySubscriptionId(options?: OperationalizationClustersListBySubscriptionIdOptionalParams): PagedAsyncIterableIterator<OperationalizationCluster>;
|
|
17
|
+
/**
|
|
18
|
+
* Create or update an operationalization cluster.
|
|
19
|
+
* @param resourceGroupName Name of the resource group in which the cluster is located.
|
|
20
|
+
* @param clusterName The name of the cluster.
|
|
21
|
+
* @param parameters Parameters supplied to create or update an Operationalization cluster.
|
|
22
|
+
* @param options The options parameters.
|
|
23
|
+
*/
|
|
24
|
+
beginCreateOrUpdate(resourceGroupName: string, clusterName: string, parameters: OperationalizationCluster, options?: OperationalizationClustersCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<OperationalizationClustersCreateOrUpdateResponse>, OperationalizationClustersCreateOrUpdateResponse>>;
|
|
25
|
+
/**
|
|
26
|
+
* Create or update an operationalization cluster.
|
|
27
|
+
* @param resourceGroupName Name of the resource group in which the cluster is located.
|
|
28
|
+
* @param clusterName The name of the cluster.
|
|
29
|
+
* @param parameters Parameters supplied to create or update an Operationalization cluster.
|
|
30
|
+
* @param options The options parameters.
|
|
31
|
+
*/
|
|
32
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, clusterName: string, parameters: OperationalizationCluster, options?: OperationalizationClustersCreateOrUpdateOptionalParams): Promise<OperationalizationClustersCreateOrUpdateResponse>;
|
|
33
|
+
/**
|
|
34
|
+
* Gets the operationalization cluster resource view. Note that the credentials are not returned by
|
|
35
|
+
* this call. Call ListKeys to get them.
|
|
36
|
+
* @param resourceGroupName Name of the resource group in which the cluster is located.
|
|
37
|
+
* @param clusterName The name of the cluster.
|
|
38
|
+
* @param options The options parameters.
|
|
39
|
+
*/
|
|
40
|
+
get(resourceGroupName: string, clusterName: string, options?: OperationalizationClustersGetOptionalParams): Promise<OperationalizationClustersGetResponse>;
|
|
41
|
+
/**
|
|
42
|
+
* The PATCH operation can be used to update only the tags for a cluster. Use PUT operation to update
|
|
43
|
+
* other properties.
|
|
44
|
+
* @param resourceGroupName Name of the resource group in which the cluster is located.
|
|
45
|
+
* @param clusterName The name of the cluster.
|
|
46
|
+
* @param parameters The parameters supplied to patch the cluster.
|
|
47
|
+
* @param options The options parameters.
|
|
48
|
+
*/
|
|
49
|
+
update(resourceGroupName: string, clusterName: string, parameters: OperationalizationClusterUpdateParameters, options?: OperationalizationClustersUpdateOptionalParams): Promise<OperationalizationClustersUpdateResponse>;
|
|
50
|
+
/**
|
|
51
|
+
* Deletes the specified cluster.
|
|
52
|
+
* @param resourceGroupName Name of the resource group in which the cluster is located.
|
|
53
|
+
* @param clusterName The name of the cluster.
|
|
54
|
+
* @param options The options parameters.
|
|
55
|
+
*/
|
|
56
|
+
beginDelete(resourceGroupName: string, clusterName: string, options?: OperationalizationClustersDeleteOptionalParams): Promise<PollerLike<PollOperationState<OperationalizationClustersDeleteResponse>, OperationalizationClustersDeleteResponse>>;
|
|
57
|
+
/**
|
|
58
|
+
* Deletes the specified cluster.
|
|
59
|
+
* @param resourceGroupName Name of the resource group in which the cluster is located.
|
|
60
|
+
* @param clusterName The name of the cluster.
|
|
61
|
+
* @param options The options parameters.
|
|
62
|
+
*/
|
|
63
|
+
beginDeleteAndWait(resourceGroupName: string, clusterName: string, options?: OperationalizationClustersDeleteOptionalParams): Promise<OperationalizationClustersDeleteResponse>;
|
|
64
|
+
/**
|
|
65
|
+
* Gets the credentials for the specified cluster such as Storage, ACR and ACS credentials. This is a
|
|
66
|
+
* long running operation because it fetches keys from dependencies.
|
|
67
|
+
* @param resourceGroupName Name of the resource group in which the cluster is located.
|
|
68
|
+
* @param clusterName The name of the cluster.
|
|
69
|
+
* @param options The options parameters.
|
|
70
|
+
*/
|
|
71
|
+
listKeys(resourceGroupName: string, clusterName: string, options?: OperationalizationClustersListKeysOptionalParams): Promise<OperationalizationClustersListKeysResponse>;
|
|
72
|
+
/**
|
|
73
|
+
* Checks if updates are available for system services in the cluster.
|
|
74
|
+
* @param resourceGroupName Name of the resource group in which the cluster is located.
|
|
75
|
+
* @param clusterName The name of the cluster.
|
|
76
|
+
* @param options The options parameters.
|
|
77
|
+
*/
|
|
78
|
+
checkSystemServicesUpdatesAvailable(resourceGroupName: string, clusterName: string, options?: OperationalizationClustersCheckSystemServicesUpdatesAvailableOptionalParams): Promise<OperationalizationClustersCheckSystemServicesUpdatesAvailableResponse>;
|
|
79
|
+
/**
|
|
80
|
+
* Updates system services in a cluster.
|
|
81
|
+
* @param resourceGroupName Name of the resource group in which the cluster is located.
|
|
82
|
+
* @param clusterName The name of the cluster.
|
|
83
|
+
* @param options The options parameters.
|
|
84
|
+
*/
|
|
85
|
+
beginUpdateSystemServices(resourceGroupName: string, clusterName: string, options?: OperationalizationClustersUpdateSystemServicesOptionalParams): Promise<PollerLike<PollOperationState<OperationalizationClustersUpdateSystemServicesResponse>, OperationalizationClustersUpdateSystemServicesResponse>>;
|
|
86
|
+
/**
|
|
87
|
+
* Updates system services in a cluster.
|
|
88
|
+
* @param resourceGroupName Name of the resource group in which the cluster is located.
|
|
89
|
+
* @param clusterName The name of the cluster.
|
|
90
|
+
* @param options The options parameters.
|
|
91
|
+
*/
|
|
92
|
+
beginUpdateSystemServicesAndWait(resourceGroupName: string, clusterName: string, options?: OperationalizationClustersUpdateSystemServicesOptionalParams): Promise<OperationalizationClustersUpdateSystemServicesResponse>;
|
|
93
|
+
}
|
|
94
|
+
//# sourceMappingURL=operationalizationClusters.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operationalizationClusters.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/operationalizationClusters.ts"],"names":[],"mappings":"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"}
|
|
@@ -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=operationalizationClusters.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operationalizationClusters.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/operationalizationClusters.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 { PollerLike, PollOperationState } from \"@azure/core-lro\";\nimport {\n OperationalizationCluster,\n OperationalizationClustersListByResourceGroupOptionalParams,\n OperationalizationClustersListBySubscriptionIdOptionalParams,\n OperationalizationClustersCreateOrUpdateOptionalParams,\n OperationalizationClustersCreateOrUpdateResponse,\n OperationalizationClustersGetOptionalParams,\n OperationalizationClustersGetResponse,\n OperationalizationClusterUpdateParameters,\n OperationalizationClustersUpdateOptionalParams,\n OperationalizationClustersUpdateResponse,\n OperationalizationClustersDeleteOptionalParams,\n OperationalizationClustersDeleteResponse,\n OperationalizationClustersListKeysOptionalParams,\n OperationalizationClustersListKeysResponse,\n OperationalizationClustersCheckSystemServicesUpdatesAvailableOptionalParams,\n OperationalizationClustersCheckSystemServicesUpdatesAvailableResponse,\n OperationalizationClustersUpdateSystemServicesOptionalParams,\n OperationalizationClustersUpdateSystemServicesResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a OperationalizationClusters. */\nexport interface OperationalizationClusters {\n /**\n * Gets the clusters in the specified resource group.\n * @param resourceGroupName Name of the resource group in which the cluster is located.\n * @param options The options parameters.\n */\n listByResourceGroup(\n resourceGroupName: string,\n options?: OperationalizationClustersListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<OperationalizationCluster>;\n /**\n * Gets the operationalization clusters in the specified subscription.\n * @param options The options parameters.\n */\n listBySubscriptionId(\n options?: OperationalizationClustersListBySubscriptionIdOptionalParams\n ): PagedAsyncIterableIterator<OperationalizationCluster>;\n /**\n * Create or update an operationalization cluster.\n * @param resourceGroupName Name of the resource group in which the cluster is located.\n * @param clusterName The name of the cluster.\n * @param parameters Parameters supplied to create or update an Operationalization cluster.\n * @param options The options parameters.\n */\n beginCreateOrUpdate(\n resourceGroupName: string,\n clusterName: string,\n parameters: OperationalizationCluster,\n options?: OperationalizationClustersCreateOrUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<OperationalizationClustersCreateOrUpdateResponse>,\n OperationalizationClustersCreateOrUpdateResponse\n >\n >;\n /**\n * Create or update an operationalization cluster.\n * @param resourceGroupName Name of the resource group in which the cluster is located.\n * @param clusterName The name of the cluster.\n * @param parameters Parameters supplied to create or update an Operationalization cluster.\n * @param options The options parameters.\n */\n beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n clusterName: string,\n parameters: OperationalizationCluster,\n options?: OperationalizationClustersCreateOrUpdateOptionalParams\n ): Promise<OperationalizationClustersCreateOrUpdateResponse>;\n /**\n * Gets the operationalization cluster resource view. Note that the credentials are not returned by\n * this call. Call ListKeys to get them.\n * @param resourceGroupName Name of the resource group in which the cluster is located.\n * @param clusterName The name of the cluster.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n clusterName: string,\n options?: OperationalizationClustersGetOptionalParams\n ): Promise<OperationalizationClustersGetResponse>;\n /**\n * The PATCH operation can be used to update only the tags for a cluster. Use PUT operation to update\n * other properties.\n * @param resourceGroupName Name of the resource group in which the cluster is located.\n * @param clusterName The name of the cluster.\n * @param parameters The parameters supplied to patch the cluster.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n clusterName: string,\n parameters: OperationalizationClusterUpdateParameters,\n options?: OperationalizationClustersUpdateOptionalParams\n ): Promise<OperationalizationClustersUpdateResponse>;\n /**\n * Deletes the specified cluster.\n * @param resourceGroupName Name of the resource group in which the cluster is located.\n * @param clusterName The name of the cluster.\n * @param options The options parameters.\n */\n beginDelete(\n resourceGroupName: string,\n clusterName: string,\n options?: OperationalizationClustersDeleteOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<OperationalizationClustersDeleteResponse>,\n OperationalizationClustersDeleteResponse\n >\n >;\n /**\n * Deletes the specified cluster.\n * @param resourceGroupName Name of the resource group in which the cluster is located.\n * @param clusterName The name of the cluster.\n * @param options The options parameters.\n */\n beginDeleteAndWait(\n resourceGroupName: string,\n clusterName: string,\n options?: OperationalizationClustersDeleteOptionalParams\n ): Promise<OperationalizationClustersDeleteResponse>;\n /**\n * Gets the credentials for the specified cluster such as Storage, ACR and ACS credentials. This is a\n * long running operation because it fetches keys from dependencies.\n * @param resourceGroupName Name of the resource group in which the cluster is located.\n * @param clusterName The name of the cluster.\n * @param options The options parameters.\n */\n listKeys(\n resourceGroupName: string,\n clusterName: string,\n options?: OperationalizationClustersListKeysOptionalParams\n ): Promise<OperationalizationClustersListKeysResponse>;\n /**\n * Checks if updates are available for system services in the cluster.\n * @param resourceGroupName Name of the resource group in which the cluster is located.\n * @param clusterName The name of the cluster.\n * @param options The options parameters.\n */\n checkSystemServicesUpdatesAvailable(\n resourceGroupName: string,\n clusterName: string,\n options?: OperationalizationClustersCheckSystemServicesUpdatesAvailableOptionalParams\n ): Promise<\n OperationalizationClustersCheckSystemServicesUpdatesAvailableResponse\n >;\n /**\n * Updates system services in a cluster.\n * @param resourceGroupName Name of the resource group in which the cluster is located.\n * @param clusterName The name of the cluster.\n * @param options The options parameters.\n */\n beginUpdateSystemServices(\n resourceGroupName: string,\n clusterName: string,\n options?: OperationalizationClustersUpdateSystemServicesOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<\n OperationalizationClustersUpdateSystemServicesResponse\n >,\n OperationalizationClustersUpdateSystemServicesResponse\n >\n >;\n /**\n * Updates system services in a cluster.\n * @param resourceGroupName Name of the resource group in which the cluster is located.\n * @param clusterName The name of the cluster.\n * @param options The options parameters.\n */\n beginUpdateSystemServicesAndWait(\n resourceGroupName: string,\n clusterName: string,\n options?: OperationalizationClustersUpdateSystemServicesOptionalParams\n ): Promise<OperationalizationClustersUpdateSystemServicesResponse>;\n}\n"]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface PageInfo {
|
|
2
|
+
continuationToken?: string;
|
|
3
|
+
}
|
|
4
|
+
/**
|
|
5
|
+
* Given a result page from a pageable operation, returns a
|
|
6
|
+
* continuation token that can be used to begin paging from
|
|
7
|
+
* that point later.
|
|
8
|
+
* @param page A result object from calling .byPage() on a paged operation.
|
|
9
|
+
* @returns The continuation token that can be passed into byPage().
|
|
10
|
+
*/
|
|
11
|
+
export declare function getContinuationToken(page: unknown): string | undefined;
|
|
12
|
+
export declare function setContinuationToken(page: unknown, continuationToken: string | undefined): void;
|
|
13
|
+
//# sourceMappingURL=pagingHelper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pagingHelper.d.ts","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAQA,MAAM,WAAW,QAAQ;IACvB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAID;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAKtE;AAED,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,OAAO,EACb,iBAAiB,EAAE,MAAM,GAAG,SAAS,GACpC,IAAI,CAON"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.getContinuationToken = getContinuationToken;
|
|
11
|
+
exports.setContinuationToken = setContinuationToken;
|
|
12
|
+
const pageMap = new WeakMap();
|
|
13
|
+
/**
|
|
14
|
+
* Given a result page from a pageable operation, returns a
|
|
15
|
+
* continuation token that can be used to begin paging from
|
|
16
|
+
* that point later.
|
|
17
|
+
* @param page A result object from calling .byPage() on a paged operation.
|
|
18
|
+
* @returns The continuation token that can be passed into byPage().
|
|
19
|
+
*/
|
|
20
|
+
function getContinuationToken(page) {
|
|
21
|
+
if (typeof page !== "object" || page === null) {
|
|
22
|
+
return undefined;
|
|
23
|
+
}
|
|
24
|
+
return pageMap.get(page)?.continuationToken;
|
|
25
|
+
}
|
|
26
|
+
function setContinuationToken(page, continuationToken) {
|
|
27
|
+
if (typeof page !== "object" || page === null || !continuationToken) {
|
|
28
|
+
return;
|
|
29
|
+
}
|
|
30
|
+
const pageInfo = pageMap.get(page) ?? {};
|
|
31
|
+
pageInfo.continuationToken = continuationToken;
|
|
32
|
+
pageMap.set(page, pageInfo);
|
|
33
|
+
}
|
|
34
|
+
//# sourceMappingURL=pagingHelper.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAeH,oDAKC;AAED,oDAUC;AA1BD,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,SAAgB,oBAAoB,CAAC,IAAa;IAChD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;QAC9C,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,iBAAiB,CAAC;AAC9C,CAAC;AAED,SAAgB,oBAAoB,CAClC,IAAa,EACb,iBAAqC;IAErC,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACpE,OAAO;IACT,CAAC;IACD,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;IACzC,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC9B,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport interface PageInfo {\n continuationToken?: string;\n}\n\nconst pageMap = new WeakMap<object, PageInfo>();\n\n/**\n * Given a result page from a pageable operation, returns a\n * continuation token that can be used to begin paging from\n * that point later.\n * @param page A result object from calling .byPage() on a paged operation.\n * @returns The continuation token that can be passed into byPage().\n */\nexport function getContinuationToken(page: unknown): string | undefined {\n if (typeof page !== \"object\" || page === null) {\n return undefined;\n }\n return pageMap.get(page)?.continuationToken;\n}\n\nexport function setContinuationToken(\n page: unknown,\n continuationToken: string | undefined\n): void {\n if (typeof page !== \"object\" || page === null || !continuationToken) {\n return;\n }\n const pageInfo = pageMap.get(page) ?? {};\n pageInfo.continuationToken = continuationToken;\n pageMap.set(page, pageInfo);\n}\n"]}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
// This file is read by tools that parse documentation comments conforming to the TSDoc standard.
|
|
2
|
-
// It should be published with your NPM package. It should not be tracked by Git.
|
|
3
|
-
{
|
|
4
|
-
"tsdocVersion": "0.12",
|
|
5
|
-
"toolPackages": [
|
|
6
|
-
{
|
|
7
|
-
"packageName": "@microsoft/api-extractor",
|
|
8
|
-
"packageVersion": "7.
|
|
9
|
-
}
|
|
10
|
-
]
|
|
11
|
-
}
|
|
1
|
+
// This file is read by tools that parse documentation comments conforming to the TSDoc standard.
|
|
2
|
+
// It should be published with your NPM package. It should not be tracked by Git.
|
|
3
|
+
{
|
|
4
|
+
"tsdocVersion": "0.12",
|
|
5
|
+
"toolPackages": [
|
|
6
|
+
{
|
|
7
|
+
"packageName": "@microsoft/api-extractor",
|
|
8
|
+
"packageVersion": "7.52.10"
|
|
9
|
+
}
|
|
10
|
+
]
|
|
11
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { getContinuationToken } from "./pagingHelper.js";
|
|
2
|
+
export * from "./models/index.js";
|
|
3
|
+
export { MachineLearningComputeManagementClient } from "./machineLearningComputeManagementClient.js";
|
|
4
|
+
export * from "./operationsInterfaces/index.js";
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,sCAAsC,EAAE,MAAM,6CAA6C,CAAC;AACrG,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 { MachineLearningComputeManagementClient } from "./machineLearningComputeManagementClient";
|
|
13
|
-
export * from "./operationsInterfaces";
|
|
9
|
+
export { getContinuationToken } from "./pagingHelper.js";
|
|
10
|
+
export * from "./models/index.js";
|
|
11
|
+
export { MachineLearningComputeManagementClient } from "./machineLearningComputeManagementClient.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,sCAAsC,EAAE,MAAM,6CAA6C,CAAC;AACrG,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 { MachineLearningComputeManagementClient } from \"./machineLearningComputeManagementClient.js\";\nexport * from \"./operationsInterfaces/index.js\";\n"]}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { LongRunningOperation, LroResponse } from "@azure/core-lro";
|
|
2
|
+
export declare class LroImpl<T> implements LongRunningOperation<T> {
|
|
3
|
+
private sendOperationFn;
|
|
4
|
+
private args;
|
|
5
|
+
private spec;
|
|
6
|
+
requestPath: string;
|
|
7
|
+
requestMethod: string;
|
|
8
|
+
constructor(sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>, args: Record<string, unknown>, spec: {
|
|
9
|
+
readonly requestBody?: unknown;
|
|
10
|
+
readonly path?: string;
|
|
11
|
+
readonly httpMethod: string;
|
|
12
|
+
} & Record<string, any>, requestPath?: string, requestMethod?: string);
|
|
13
|
+
sendInitialRequest(): Promise<LroResponse<T>>;
|
|
14
|
+
sendPollRequest(path: string): Promise<LroResponse<T>>;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=lroImpl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lroImpl.d.ts","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEpE,qBAAa,OAAO,CAAC,CAAC,CAAE,YAAW,oBAAoB,CAAC,CAAC,CAAC;IAEtD,OAAO,CAAC,eAAe;IACvB,OAAO,CAAC,IAAI;IACZ,OAAO,CAAC,IAAI;IAKL,WAAW,EAAE,MAAM;IACnB,aAAa,EAAE,MAAM;gBARpB,eAAe,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,KAAK,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,EAClE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC7B,IAAI,EAAE;QACZ,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;QAC/B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QACvB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;KAC7B,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAChB,WAAW,GAAE,MAAmB,EAChC,aAAa,GAAE,MAAwB;IAEnC,kBAAkB,IAAI,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;IAG7C,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;CAQpE"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
export class LroImpl {
|
|
9
|
+
sendOperationFn;
|
|
10
|
+
args;
|
|
11
|
+
spec;
|
|
12
|
+
requestPath;
|
|
13
|
+
requestMethod;
|
|
14
|
+
constructor(sendOperationFn, args, spec, requestPath = spec.path, requestMethod = spec.httpMethod) {
|
|
15
|
+
this.sendOperationFn = sendOperationFn;
|
|
16
|
+
this.args = args;
|
|
17
|
+
this.spec = spec;
|
|
18
|
+
this.requestPath = requestPath;
|
|
19
|
+
this.requestMethod = requestMethod;
|
|
20
|
+
}
|
|
21
|
+
async sendInitialRequest() {
|
|
22
|
+
return this.sendOperationFn(this.args, this.spec);
|
|
23
|
+
}
|
|
24
|
+
async sendPollRequest(path) {
|
|
25
|
+
const { requestBody, ...restSpec } = this.spec;
|
|
26
|
+
return this.sendOperationFn(this.args, {
|
|
27
|
+
...restSpec,
|
|
28
|
+
path,
|
|
29
|
+
httpMethod: "GET"
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=lroImpl.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,OAAO,OAAO;IAER;IACA;IACA;IAKD;IACA;IATT,YACU,eAAkE,EAClE,IAA6B,EAC7B,IAIe,EAChB,cAAsB,IAAI,CAAC,IAAK,EAChC,gBAAwB,IAAI,CAAC,UAAU;QARtC,oBAAe,GAAf,eAAe,CAAmD;QAClE,SAAI,GAAJ,IAAI,CAAyB;QAC7B,SAAI,GAAJ,IAAI,CAIW;QAChB,gBAAW,GAAX,WAAW,CAAqB;QAChC,kBAAa,GAAb,aAAa,CAA0B;IAC7C,CAAC;IACG,KAAK,CAAC,kBAAkB;QAC7B,OAAO,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;IACpD,CAAC;IACM,KAAK,CAAC,eAAe,CAAC,IAAY;QACvC,MAAM,EAAE,WAAW,EAAE,GAAG,QAAQ,EAAE,GAAG,IAAI,CAAC,IAAI,CAAC;QAC/C,OAAO,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,EAAE;YACrC,GAAG,QAAQ;YACX,IAAI;YACJ,UAAU,EAAE,KAAK;SAClB,CAAC,CAAC;IACL,CAAC;CACF","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { LongRunningOperation, LroResponse } from \"@azure/core-lro\";\n\nexport class LroImpl<T> implements LongRunningOperation<T> {\n constructor(\n private sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>,\n private args: Record<string, unknown>,\n private spec: {\n readonly requestBody?: unknown;\n readonly path?: string;\n readonly httpMethod: string;\n } & Record<string, any>,\n public requestPath: string = spec.path!,\n public requestMethod: string = spec.httpMethod\n ) {}\n public async sendInitialRequest(): Promise<LroResponse<T>> {\n return this.sendOperationFn(this.args, this.spec);\n }\n public async sendPollRequest(path: string): Promise<LroResponse<T>> {\n const { requestBody, ...restSpec } = this.spec;\n return this.sendOperationFn(this.args, {\n ...restSpec,\n path,\n httpMethod: \"GET\"\n });\n }\n}\n"]}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as coreClient from "@azure/core-client";
|
|
2
|
+
import * as coreAuth from "@azure/core-auth";
|
|
3
|
+
import { OperationalizationClusters, MachineLearningCompute } from "./operationsInterfaces/index.js";
|
|
4
|
+
import { MachineLearningComputeManagementClientOptionalParams } from "./models/index.js";
|
|
5
|
+
export declare class MachineLearningComputeManagementClient extends coreClient.ServiceClient {
|
|
6
|
+
$host: string;
|
|
7
|
+
apiVersion: string;
|
|
8
|
+
subscriptionId: string;
|
|
9
|
+
/**
|
|
10
|
+
* Initializes a new instance of the MachineLearningComputeManagementClient class.
|
|
11
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
12
|
+
* @param subscriptionId The Azure subscription ID.
|
|
13
|
+
* @param options The parameter options
|
|
14
|
+
*/
|
|
15
|
+
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: MachineLearningComputeManagementClientOptionalParams);
|
|
16
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
17
|
+
private addCustomApiVersionPolicy;
|
|
18
|
+
operationalizationClusters: OperationalizationClusters;
|
|
19
|
+
machineLearningCompute: MachineLearningCompute;
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=machineLearningComputeManagementClient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"machineLearningComputeManagementClient.d.ts","sourceRoot":"","sources":["../../src/machineLearningComputeManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAK7C,OAAO,EACL,0BAA0B,EAC1B,sBAAsB,EACvB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,oDAAoD,EAAE,MAAM,mBAAmB,CAAC;AAEzF,qBAAa,sCAAuC,SAAQ,UAAU,CAAC,aAAa;IAClF,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,oDAAoD;IA6EhE,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,0BAA0B,EAAE,0BAA0B,CAAC;IACvD,sBAAsB,EAAE,sBAAsB,CAAC;CAChD"}
|
|
@@ -0,0 +1,108 @@
|
|
|
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 { OperationalizationClustersImpl, MachineLearningComputeImpl } from "./operations/index.js";
|
|
11
|
+
export class MachineLearningComputeManagementClient extends coreClient.ServiceClient {
|
|
12
|
+
$host;
|
|
13
|
+
apiVersion;
|
|
14
|
+
subscriptionId;
|
|
15
|
+
/**
|
|
16
|
+
* Initializes a new instance of the MachineLearningComputeManagementClient class.
|
|
17
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
18
|
+
* @param subscriptionId The Azure subscription ID.
|
|
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-machinelearningcompute/3.0.0-beta.4`;
|
|
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 || "2017-08-01-preview";
|
|
76
|
+
this.operationalizationClusters = new OperationalizationClustersImpl(this);
|
|
77
|
+
this.machineLearningCompute = new MachineLearningComputeImpl(this);
|
|
78
|
+
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
79
|
+
}
|
|
80
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
81
|
+
addCustomApiVersionPolicy(apiVersion) {
|
|
82
|
+
if (!apiVersion) {
|
|
83
|
+
return;
|
|
84
|
+
}
|
|
85
|
+
const apiVersionPolicy = {
|
|
86
|
+
name: "CustomApiVersionPolicy",
|
|
87
|
+
async sendRequest(request, next) {
|
|
88
|
+
const param = request.url.split("?");
|
|
89
|
+
if (param.length > 1) {
|
|
90
|
+
const newParams = param[1].split("&").map((item) => {
|
|
91
|
+
if (item.indexOf("api-version") > -1) {
|
|
92
|
+
return "api-version=" + apiVersion;
|
|
93
|
+
}
|
|
94
|
+
else {
|
|
95
|
+
return item;
|
|
96
|
+
}
|
|
97
|
+
});
|
|
98
|
+
request.url = param[0] + "?" + newParams.join("&");
|
|
99
|
+
}
|
|
100
|
+
return next(request);
|
|
101
|
+
}
|
|
102
|
+
};
|
|
103
|
+
this.pipeline.addPolicy(apiVersionPolicy);
|
|
104
|
+
}
|
|
105
|
+
operationalizationClusters;
|
|
106
|
+
machineLearningCompute;
|
|
107
|
+
}
|
|
108
|
+
//# sourceMappingURL=machineLearningComputeManagementClient.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"machineLearningComputeManagementClient.js","sourceRoot":"","sources":["../../src/machineLearningComputeManagementClient.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 OperationalizationClustersImpl,\n MachineLearningComputeImpl\n} from \"./operations/index.js\";\nimport {\n OperationalizationClusters,\n MachineLearningCompute\n} from \"./operationsInterfaces/index.js\";\nimport { MachineLearningComputeManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class MachineLearningComputeManagementClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the MachineLearningComputeManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The Azure subscription ID.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: MachineLearningComputeManagementClientOptionalParams\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: MachineLearningComputeManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-machinelearningcompute/3.0.0-beta.4`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge\n }\n })\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2017-08-01-preview\";\n this.operationalizationClusters = new OperationalizationClustersImpl(this);\n this.machineLearningCompute = new MachineLearningComputeImpl(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 operationalizationClusters: OperationalizationClusters;\n machineLearningCompute: MachineLearningCompute;\n}\n"]}
|