@azure/arm-machinelearningcompute 3.0.0-alpha.20250211.1 → 3.0.0-alpha.20250213.1
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/README.md +21 -14
- package/dist/browser/index.d.ts +5 -0
- package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/index.js +4 -4
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/lroImpl.js +25 -0
- 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 +15 -18
- package/dist/browser/machineLearningComputeManagementClient.js.map +1 -0
- package/dist/browser/models/index.js.map +1 -0
- 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 +2 -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 +101 -113
- 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/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 +29 -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 +103 -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 +873 -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 +48 -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 +604 -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 +36 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/{src/index.ts → dist/esm/index.js} +5 -5
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/lroImpl.d.ts +16 -0
- package/dist/esm/lroImpl.d.ts.map +1 -0
- package/dist/esm/lroImpl.js +25 -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 +98 -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 +870 -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 +43 -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 +600 -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 +32 -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 +25 -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 +98 -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 +870 -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 +43 -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 +600 -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 +32 -0
- package/dist/react-native/pagingHelper.js.map +1 -0
- package/package.json +70 -41
- package/dist/index.js +0 -2033
- 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 -29
- 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 -29
- 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 -29
- 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 -29
- 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 -27
- 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 -27
- 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 -29
- 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 -45
- 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 -29
- 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 -29
- 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 -29
- 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 -25
- 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 -29
- 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 -19
- 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 -39
- 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 -29
- package/dist-esm/samples-dev/updateSystemServicesInAnOperationalizationCluster.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -5
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/lroImpl.js +0 -29
- 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 -42
- package/dist-esm/test/sampleTest.js.map +0 -1
- 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.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/mappers.js +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/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
- /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operationalizationClusters.js","sourceRoot":"","sources":["../../../src/operations/operationalizationClusters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAAkC,SAAS,EAAE,M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E,UAAU,CAAC,SAAS,CAAC;IAC9D,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,CAAC;IAC5D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,oCAAoC,GAA6B;IACrE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,uCAAuC;SAC5D;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,SAAS,CAAC;IAC9D,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qCAAqC,GAA6B;IACtE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,uCAAuC;SAC5D;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,SAAS,CAAC;IAC9D,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { OperationalizationClusters } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { MachineLearningComputeManagementClient } from \"../machineLearningComputeManagementClient.js\";\nimport { PollerLike, PollOperationState, LroEngine } from \"@azure/core-lro\";\nimport { LroImpl } from \"../lroImpl.js\";\nimport {\n OperationalizationCluster,\n OperationalizationClustersListByResourceGroupNextOptionalParams,\n OperationalizationClustersListByResourceGroupOptionalParams,\n OperationalizationClustersListByResourceGroupResponse,\n OperationalizationClustersListBySubscriptionIdNextOptionalParams,\n OperationalizationClustersListBySubscriptionIdOptionalParams,\n OperationalizationClustersListBySubscriptionIdResponse,\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 OperationalizationClustersListByResourceGroupNextResponse,\n OperationalizationClustersListBySubscriptionIdNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing OperationalizationClusters operations. */\nexport class OperationalizationClustersImpl\n implements OperationalizationClusters {\n private readonly client: MachineLearningComputeManagementClient;\n\n /**\n * Initialize a new instance of the class OperationalizationClusters class.\n * @param client Reference to the service client\n */\n constructor(client: MachineLearningComputeManagementClient) {\n this.client = client;\n }\n\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 public listByResourceGroup(\n resourceGroupName: string,\n options?: OperationalizationClustersListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<OperationalizationCluster> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: OperationalizationClustersListByResourceGroupOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<OperationalizationCluster[]> {\n let result: OperationalizationClustersListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByResourceGroupNext(\n resourceGroupName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: OperationalizationClustersListByResourceGroupOptionalParams\n ): AsyncIterableIterator<OperationalizationCluster> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets the operationalization clusters in the specified subscription.\n * @param options The options parameters.\n */\n public listBySubscriptionId(\n options?: OperationalizationClustersListBySubscriptionIdOptionalParams\n ): PagedAsyncIterableIterator<OperationalizationCluster> {\n const iter = this.listBySubscriptionIdPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listBySubscriptionIdPagingPage(options, settings);\n }\n };\n }\n\n private async *listBySubscriptionIdPagingPage(\n options?: OperationalizationClustersListBySubscriptionIdOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<OperationalizationCluster[]> {\n let result: OperationalizationClustersListBySubscriptionIdResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listBySubscriptionId(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listBySubscriptionIdNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listBySubscriptionIdPagingAll(\n options?: OperationalizationClustersListBySubscriptionIdOptionalParams\n ): AsyncIterableIterator<OperationalizationCluster> {\n for await (const page of this.listBySubscriptionIdPagingPage(options)) {\n yield* page;\n }\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 async 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 const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<OperationalizationClustersCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, clusterName, parameters, options },\n createOrUpdateOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\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 async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n clusterName: string,\n parameters: OperationalizationCluster,\n options?: OperationalizationClustersCreateOrUpdateOptionalParams\n ): Promise<OperationalizationClustersCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n clusterName,\n parameters,\n options\n );\n return poller.pollUntilDone();\n }\n\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 return this.client.sendOperationRequest(\n { resourceGroupName, clusterName, options },\n getOperationSpec\n );\n }\n\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 return this.client.sendOperationRequest(\n { resourceGroupName, clusterName, parameters, options },\n updateOperationSpec\n );\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 async beginDelete(\n resourceGroupName: string,\n clusterName: string,\n options?: OperationalizationClustersDeleteOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<OperationalizationClustersDeleteResponse>,\n OperationalizationClustersDeleteResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<OperationalizationClustersDeleteResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, clusterName, options },\n deleteOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\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 async beginDeleteAndWait(\n resourceGroupName: string,\n clusterName: string,\n options?: OperationalizationClustersDeleteOptionalParams\n ): Promise<OperationalizationClustersDeleteResponse> {\n const poller = await this.beginDelete(\n resourceGroupName,\n clusterName,\n options\n );\n return poller.pollUntilDone();\n }\n\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 return this.client.sendOperationRequest(\n { resourceGroupName, clusterName, options },\n listKeysOperationSpec\n );\n }\n\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 return this.client.sendOperationRequest(\n { resourceGroupName, clusterName, options },\n checkSystemServicesUpdatesAvailableOperationSpec\n );\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 async beginUpdateSystemServices(\n resourceGroupName: string,\n clusterName: string,\n options?: OperationalizationClustersUpdateSystemServicesOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<\n OperationalizationClustersUpdateSystemServicesResponse\n >,\n OperationalizationClustersUpdateSystemServicesResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<OperationalizationClustersUpdateSystemServicesResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, clusterName, options },\n updateSystemServicesOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\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 async beginUpdateSystemServicesAndWait(\n resourceGroupName: string,\n clusterName: string,\n options?: OperationalizationClustersUpdateSystemServicesOptionalParams\n ): Promise<OperationalizationClustersUpdateSystemServicesResponse> {\n const poller = await this.beginUpdateSystemServices(\n resourceGroupName,\n clusterName,\n options\n );\n return poller.pollUntilDone();\n }\n\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 private _listByResourceGroup(\n resourceGroupName: string,\n options?: OperationalizationClustersListByResourceGroupOptionalParams\n ): Promise<OperationalizationClustersListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec\n );\n }\n\n /**\n * Gets the operationalization clusters in the specified subscription.\n * @param options The options parameters.\n */\n private _listBySubscriptionId(\n options?: OperationalizationClustersListBySubscriptionIdOptionalParams\n ): Promise<OperationalizationClustersListBySubscriptionIdResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionIdOperationSpec\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName Name of the resource group in which the cluster is located.\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: OperationalizationClustersListByResourceGroupNextOptionalParams\n ): Promise<OperationalizationClustersListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec\n );\n }\n\n /**\n * ListBySubscriptionIdNext\n * @param nextLink The nextLink from the previous successful call to the ListBySubscriptionId method.\n * @param options The options parameters.\n */\n private _listBySubscriptionIdNext(\n nextLink: string,\n options?: OperationalizationClustersListBySubscriptionIdNextOptionalParams\n ): Promise<OperationalizationClustersListBySubscriptionIdNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listBySubscriptionIdNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationalizationCluster\n },\n 201: {\n bodyMapper: Mappers.OperationalizationCluster\n },\n 202: {\n bodyMapper: Mappers.OperationalizationCluster\n },\n 204: {\n bodyMapper: Mappers.OperationalizationCluster\n },\n default: {\n bodyMapper: Mappers.ErrorResponseWrapper\n }\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterName\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationalizationCluster\n },\n default: {\n bodyMapper: Mappers.ErrorResponseWrapper\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationalizationCluster\n },\n default: {\n bodyMapper: Mappers.ErrorResponseWrapper\n }\n },\n requestBody: Parameters.parameters1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterName\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n headersMapper: Mappers.OperationalizationClustersDeleteHeaders\n },\n 201: {\n headersMapper: Mappers.OperationalizationClustersDeleteHeaders\n },\n 202: {\n headersMapper: Mappers.OperationalizationClustersDeleteHeaders\n },\n 204: {\n headersMapper: Mappers.OperationalizationClustersDeleteHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorResponseWrapper\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.deleteAll],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listKeysOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}/listKeys\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationalizationClusterCredentials\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst checkSystemServicesUpdatesAvailableOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}/checkSystemServicesUpdatesAvailable\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.CheckSystemServicesUpdatesAvailableResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst updateSystemServicesOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}/updateSystemServices\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.UpdateSystemServicesResponse\n },\n 201: {\n bodyMapper: Mappers.UpdateSystemServicesResponse\n },\n 202: {\n bodyMapper: Mappers.UpdateSystemServicesResponse\n },\n 204: {\n bodyMapper: Mappers.UpdateSystemServicesResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PaginatedOperationalizationClustersList\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.skiptoken],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySubscriptionIdOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningCompute/operationalizationClusters\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PaginatedOperationalizationClustersList\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.skiptoken],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PaginatedOperationalizationClustersList\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.skiptoken],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySubscriptionIdNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PaginatedOperationalizationClustersList\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.skiptoken],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -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,10 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
export * from "./operationalizationClusters.js";
|
|
9
|
+
export * from "./machineLearningCompute.js";
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,iCAAiC,CAAC;AAChD,cAAc,6BAA6B,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport * from \"./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"}
|
|
@@ -5,6 +5,5 @@
|
|
|
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
|
-
|
|
10
|
-
export * from "./machineLearningCompute";
|
|
8
|
+
export {};
|
|
9
|
+
//# 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":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EACL,yBAAyB,EACzB,2DAA2D,EAC3D,4DAA4D,EAC5D,sDAAsD,EACtD,gDAAgD,EAChD,2CAA2C,EAC3C,qCAAqC,EACrC,yCAAyC,EACzC,8CAA8C,EAC9C,wCAAwC,EACxC,8CAA8C,EAC9C,wCAAwC,EACxC,gDAAgD,EAChD,0CAA0C,EAC1C,2EAA2E,EAC3E,qEAAqE,EACrE,4DAA4D,EAC5D,sDAAsD,EACvD,MAAM,oBAAoB,CAAC;AAG5B,2DAA2D;AAC3D,MAAM,WAAW,0BAA0B;IACzC;;;;OAIG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,2DAA2D,GACpE,0BAA0B,CAAC,yBAAyB,CAAC,CAAC;IACzD;;;OAGG;IACH,oBAAoB,CAClB,OAAO,CAAC,EAAE,4DAA4D,GACrE,0BAA0B,CAAC,yBAAyB,CAAC,CAAC;IACzD;;;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D;;;;;OAKG;IACH,mCAAmC,CACjC,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,2EAA2E,GACpF,OAAO,CACR,qEAAqE,CACtE,CAAC;IACF;;;;;OAKG;IACH,yBAAyB,CACvB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,4DAA4D,GACrE,OAAO,CACR,UAAU,CACR,kBAAkB,CAChB,sDAAsD,CACvD,EACD,sDAAsD,CACvD,CACF,CAAC;IACF;;;;;OAKG;IACH,gCAAgC,CAC9B,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,4DAA4D,GACrE,OAAO,CAAC,sDAAsD,CAAC,CAAC;CACpE"}
|
|
@@ -5,6 +5,5 @@
|
|
|
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
|
-
|
|
10
|
-
export * from "./machineLearningCompute";
|
|
8
|
+
export {};
|
|
9
|
+
//# 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,32 @@
|
|
|
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
|
+
const pageMap = new WeakMap();
|
|
9
|
+
/**
|
|
10
|
+
* Given a result page from a pageable operation, returns a
|
|
11
|
+
* continuation token that can be used to begin paging from
|
|
12
|
+
* that point later.
|
|
13
|
+
* @param page A result object from calling .byPage() on a paged operation.
|
|
14
|
+
* @returns The continuation token that can be passed into byPage().
|
|
15
|
+
*/
|
|
16
|
+
export function getContinuationToken(page) {
|
|
17
|
+
var _a;
|
|
18
|
+
if (typeof page !== "object" || page === null) {
|
|
19
|
+
return undefined;
|
|
20
|
+
}
|
|
21
|
+
return (_a = pageMap.get(page)) === null || _a === void 0 ? void 0 : _a.continuationToken;
|
|
22
|
+
}
|
|
23
|
+
export function setContinuationToken(page, continuationToken) {
|
|
24
|
+
var _a;
|
|
25
|
+
if (typeof page !== "object" || page === null || !continuationToken) {
|
|
26
|
+
return;
|
|
27
|
+
}
|
|
28
|
+
const pageInfo = (_a = pageMap.get(page)) !== null && _a !== void 0 ? _a : {};
|
|
29
|
+
pageInfo.continuationToken = continuationToken;
|
|
30
|
+
pageMap.set(page, pageInfo);
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=pagingHelper.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAAC,IAAa;;IAChD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;QAC9C,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,0CAAE,iBAAiB,CAAC;AAC9C,CAAC;AAED,MAAM,UAAU,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,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,mCAAI,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"]}
|
|
@@ -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"}
|
|
@@ -0,0 +1,13 @@
|
|
|
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
|
+
/// <reference lib="esnext.asynciterable" />
|
|
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,25 @@
|
|
|
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 { __rest } from "tslib";
|
|
9
|
+
export class LroImpl {
|
|
10
|
+
constructor(sendOperationFn, args, spec, requestPath = spec.path, requestMethod = spec.httpMethod) {
|
|
11
|
+
this.sendOperationFn = sendOperationFn;
|
|
12
|
+
this.args = args;
|
|
13
|
+
this.spec = spec;
|
|
14
|
+
this.requestPath = requestPath;
|
|
15
|
+
this.requestMethod = requestMethod;
|
|
16
|
+
}
|
|
17
|
+
async sendInitialRequest() {
|
|
18
|
+
return this.sendOperationFn(this.args, this.spec);
|
|
19
|
+
}
|
|
20
|
+
async sendPollRequest(path) {
|
|
21
|
+
const _a = this.spec, { requestBody } = _a, restSpec = __rest(_a, ["requestBody"]);
|
|
22
|
+
return this.sendOperationFn(this.args, Object.assign(Object.assign({}, restSpec), { path, httpMethod: "GET" }));
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
//# 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;IAClB,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,KAA+B,IAAI,CAAC,IAAI,EAAxC,EAAE,WAAW,OAA2B,EAAtB,QAAQ,cAA1B,eAA4B,CAAY,CAAC;QAC/C,OAAO,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,kCAChC,QAAQ,KACX,IAAI,EACJ,UAAU,EAAE,KAAK,IACjB,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,98 @@
|
|
|
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
|
+
/**
|
|
13
|
+
* Initializes a new instance of the MachineLearningComputeManagementClient class.
|
|
14
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
15
|
+
* @param subscriptionId The Azure subscription ID.
|
|
16
|
+
* @param options The parameter options
|
|
17
|
+
*/
|
|
18
|
+
constructor(credentials, subscriptionId, options) {
|
|
19
|
+
var _a, _b, _c;
|
|
20
|
+
if (credentials === undefined) {
|
|
21
|
+
throw new Error("'credentials' cannot be null");
|
|
22
|
+
}
|
|
23
|
+
if (subscriptionId === undefined) {
|
|
24
|
+
throw new Error("'subscriptionId' cannot be null");
|
|
25
|
+
}
|
|
26
|
+
// Initializing default values for options
|
|
27
|
+
if (!options) {
|
|
28
|
+
options = {};
|
|
29
|
+
}
|
|
30
|
+
const defaults = {
|
|
31
|
+
requestContentType: "application/json; charset=utf-8",
|
|
32
|
+
credential: credentials
|
|
33
|
+
};
|
|
34
|
+
const packageDetails = `azsdk-js-arm-machinelearningcompute/3.0.0-beta.4`;
|
|
35
|
+
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
36
|
+
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
37
|
+
: `${packageDetails}`;
|
|
38
|
+
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
39
|
+
userAgentPrefix
|
|
40
|
+
}, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|
|
41
|
+
super(optionsWithDefaults);
|
|
42
|
+
let bearerTokenAuthenticationPolicyFound = false;
|
|
43
|
+
if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
|
|
44
|
+
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
|
45
|
+
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
|
46
|
+
coreRestPipeline.bearerTokenAuthenticationPolicyName);
|
|
47
|
+
}
|
|
48
|
+
if (!options ||
|
|
49
|
+
!options.pipeline ||
|
|
50
|
+
options.pipeline.getOrderedPolicies().length == 0 ||
|
|
51
|
+
!bearerTokenAuthenticationPolicyFound) {
|
|
52
|
+
this.pipeline.removePolicy({
|
|
53
|
+
name: coreRestPipeline.bearerTokenAuthenticationPolicyName
|
|
54
|
+
});
|
|
55
|
+
this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
|
|
56
|
+
credential: credentials,
|
|
57
|
+
scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
|
|
58
|
+
challengeCallbacks: {
|
|
59
|
+
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge
|
|
60
|
+
}
|
|
61
|
+
}));
|
|
62
|
+
}
|
|
63
|
+
// Parameter assignments
|
|
64
|
+
this.subscriptionId = subscriptionId;
|
|
65
|
+
// Assigning values to Constant parameters
|
|
66
|
+
this.$host = options.$host || "https://management.azure.com";
|
|
67
|
+
this.apiVersion = options.apiVersion || "2017-08-01-preview";
|
|
68
|
+
this.operationalizationClusters = new OperationalizationClustersImpl(this);
|
|
69
|
+
this.machineLearningCompute = new MachineLearningComputeImpl(this);
|
|
70
|
+
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
71
|
+
}
|
|
72
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
73
|
+
addCustomApiVersionPolicy(apiVersion) {
|
|
74
|
+
if (!apiVersion) {
|
|
75
|
+
return;
|
|
76
|
+
}
|
|
77
|
+
const apiVersionPolicy = {
|
|
78
|
+
name: "CustomApiVersionPolicy",
|
|
79
|
+
async sendRequest(request, next) {
|
|
80
|
+
const param = request.url.split("?");
|
|
81
|
+
if (param.length > 1) {
|
|
82
|
+
const newParams = param[1].split("&").map((item) => {
|
|
83
|
+
if (item.indexOf("api-version") > -1) {
|
|
84
|
+
return "api-version=" + apiVersion;
|
|
85
|
+
}
|
|
86
|
+
else {
|
|
87
|
+
return item;
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
request.url = param[0] + "?" + newParams.join("&");
|
|
91
|
+
}
|
|
92
|
+
return next(request);
|
|
93
|
+
}
|
|
94
|
+
};
|
|
95
|
+
this.pipeline.addPolicy(apiVersionPolicy);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
//# sourceMappingURL=machineLearningComputeManagementClient.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"machineLearningComputeManagementClient.js","sourceRoot":"","sources":["../../src/machineLearningComputeManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EACL,8BAA8B,EAC9B,0BAA0B,EAC3B,MAAM,uBAAuB,CAAC;AAO/B,MAAM,OAAO,sCAAuC,SAAQ,UAAU,CAAC,aAAa;IAKlF;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAA8D;;QAE9D,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;YACjC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;QACrD,CAAC;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO,GAAG,EAAE,CAAC;QACf,CAAC;QACD,MAAM,QAAQ,GAAyD;YACrE,kBAAkB,EAAE,iCAAiC;YACrD,UAAU,EAAE,WAAW;SACxB,CAAC;QAEF,MAAM,cAAc,GAAG,kDAAkD,CAAC;QAC1E,MAAM,eAAe,GACnB,OA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AC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;gBACrD,CAAC;gBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;CAIF","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"]}
|