@azure/arm-machinelearningcompute 3.0.0-beta.3 → 3.0.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -2
- package/LICENSE +4 -4
- package/README.md +29 -19
- package/dist/browser/index.d.ts +5 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/index.js +4 -4
- package/dist/browser/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/lroImpl.js +13 -9
- package/dist/browser/lroImpl.js.map +1 -0
- package/{dist-esm/src → dist/browser}/machineLearningComputeManagementClient.d.ts +2 -2
- package/dist/browser/machineLearningComputeManagementClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/machineLearningComputeManagementClient.js +31 -24
- package/dist/browser/machineLearningComputeManagementClient.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/index.d.ts +19 -19
- package/{dist-esm/src → dist/browser}/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/mappers.js +25 -12
- package/dist/browser/models/mappers.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
- package/dist/browser/models/parameters.js.map +1 -0
- package/dist/browser/operations/index.d.ts +3 -0
- package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/operations/index.js +2 -2
- package/dist/browser/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/machineLearningCompute.d.ts +3 -3
- package/dist/browser/operations/machineLearningCompute.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/machineLearningCompute.js +3 -2
- package/dist/browser/operations/machineLearningCompute.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operationalizationClusters.d.ts +3 -3
- package/dist/browser/operations/operationalizationClusters.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operationalizationClusters.js +160 -187
- package/dist/browser/operations/operationalizationClusters.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +3 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/index.js +2 -2
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/machineLearningCompute.d.ts +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/machineLearningCompute.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/machineLearningCompute.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operationalizationClusters.d.ts +1 -1
- package/dist/browser/operationsInterfaces/operationalizationClusters.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/operationalizationClusters.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/{dist-esm/src → dist/browser}/pagingHelper.js +2 -4
- package/dist/browser/pagingHelper.js.map +1 -0
- package/dist/commonjs/index.d.ts +5 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +19 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/lroImpl.d.ts +16 -0
- package/dist/commonjs/lroImpl.d.ts.map +1 -0
- package/dist/commonjs/lroImpl.js +37 -0
- package/dist/commonjs/lroImpl.js.map +1 -0
- package/dist/commonjs/machineLearningComputeManagementClient.d.ts +21 -0
- package/dist/commonjs/machineLearningComputeManagementClient.d.ts.map +1 -0
- package/dist/commonjs/machineLearningComputeManagementClient.js +113 -0
- package/dist/commonjs/machineLearningComputeManagementClient.js.map +1 -0
- package/{types/arm-machinelearningcompute.d.ts → dist/commonjs/models/index.d.ts} +702 -902
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +169 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +32 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +886 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +14 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +133 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +3 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +13 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/machineLearningCompute.d.ts +18 -0
- package/dist/commonjs/operations/machineLearningCompute.d.ts.map +1 -0
- package/dist/commonjs/operations/machineLearningCompute.js +49 -0
- package/dist/commonjs/operations/machineLearningCompute.js.map +1 -0
- package/dist/commonjs/operations/operationalizationClusters.d.ts +130 -0
- package/dist/commonjs/operations/operationalizationClusters.d.ts.map +1 -0
- package/dist/commonjs/operations/operationalizationClusters.js +586 -0
- package/dist/commonjs/operations/operationalizationClusters.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +3 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +13 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/machineLearningCompute.d.ts +10 -0
- package/dist/commonjs/operationsInterfaces/machineLearningCompute.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/machineLearningCompute.js +10 -0
- package/dist/commonjs/operationsInterfaces/machineLearningCompute.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/operationalizationClusters.d.ts +94 -0
- package/dist/commonjs/operationsInterfaces/operationalizationClusters.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/operationalizationClusters.js +10 -0
- package/dist/commonjs/operationsInterfaces/operationalizationClusters.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/pagingHelper.d.ts +13 -0
- package/dist/commonjs/pagingHelper.d.ts.map +1 -0
- package/dist/commonjs/pagingHelper.js +34 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/{src/index.ts → dist/esm/index.js} +5 -5
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/lroImpl.d.ts +16 -0
- package/dist/esm/lroImpl.d.ts.map +1 -0
- package/dist/esm/lroImpl.js +33 -0
- package/dist/esm/lroImpl.js.map +1 -0
- package/dist/esm/machineLearningComputeManagementClient.d.ts +21 -0
- package/dist/esm/machineLearningComputeManagementClient.d.ts.map +1 -0
- package/dist/esm/machineLearningComputeManagementClient.js +108 -0
- package/dist/esm/machineLearningComputeManagementClient.js.map +1 -0
- package/dist/esm/models/index.d.ts +702 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +166 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +32 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +883 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +14 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +130 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/index.d.ts +3 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +10 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/machineLearningCompute.d.ts +18 -0
- package/dist/esm/operations/machineLearningCompute.d.ts.map +1 -0
- package/dist/esm/operations/machineLearningCompute.js +44 -0
- package/dist/esm/operations/machineLearningCompute.js.map +1 -0
- package/dist/esm/operations/operationalizationClusters.d.ts +130 -0
- package/dist/esm/operations/operationalizationClusters.d.ts.map +1 -0
- package/dist/esm/operations/operationalizationClusters.js +581 -0
- package/dist/esm/operations/operationalizationClusters.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +3 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +10 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/machineLearningCompute.d.ts +10 -0
- package/dist/esm/operationsInterfaces/machineLearningCompute.d.ts.map +1 -0
- package/{src/operations/index.ts → dist/esm/operationsInterfaces/machineLearningCompute.js} +2 -3
- package/dist/esm/operationsInterfaces/machineLearningCompute.js.map +1 -0
- package/dist/esm/operationsInterfaces/operationalizationClusters.d.ts +94 -0
- package/dist/esm/operationsInterfaces/operationalizationClusters.d.ts.map +1 -0
- package/{src/operationsInterfaces/index.ts → dist/esm/operationsInterfaces/operationalizationClusters.js} +2 -3
- package/dist/esm/operationsInterfaces/operationalizationClusters.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/pagingHelper.d.ts +13 -0
- package/dist/esm/pagingHelper.d.ts.map +1 -0
- package/dist/esm/pagingHelper.js +30 -0
- package/dist/esm/pagingHelper.js.map +1 -0
- package/dist/react-native/index.d.ts +5 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +13 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/lroImpl.d.ts +16 -0
- package/dist/react-native/lroImpl.d.ts.map +1 -0
- package/dist/react-native/lroImpl.js +33 -0
- package/dist/react-native/lroImpl.js.map +1 -0
- package/dist/react-native/machineLearningComputeManagementClient.d.ts +21 -0
- package/dist/react-native/machineLearningComputeManagementClient.d.ts.map +1 -0
- package/dist/react-native/machineLearningComputeManagementClient.js +108 -0
- package/dist/react-native/machineLearningComputeManagementClient.js.map +1 -0
- package/dist/react-native/models/index.d.ts +702 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +166 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +32 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +883 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +14 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +130 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +3 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +10 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/machineLearningCompute.d.ts +18 -0
- package/dist/react-native/operations/machineLearningCompute.d.ts.map +1 -0
- package/dist/react-native/operations/machineLearningCompute.js +44 -0
- package/dist/react-native/operations/machineLearningCompute.js.map +1 -0
- package/dist/react-native/operations/operationalizationClusters.d.ts +130 -0
- package/dist/react-native/operations/operationalizationClusters.d.ts.map +1 -0
- package/dist/react-native/operations/operationalizationClusters.js +581 -0
- package/dist/react-native/operations/operationalizationClusters.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +3 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +10 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/machineLearningCompute.d.ts +10 -0
- package/dist/react-native/operationsInterfaces/machineLearningCompute.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/machineLearningCompute.js +9 -0
- package/dist/react-native/operationsInterfaces/machineLearningCompute.js.map +1 -0
- package/dist/react-native/operationsInterfaces/operationalizationClusters.d.ts +94 -0
- package/dist/react-native/operationsInterfaces/operationalizationClusters.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/operationalizationClusters.js +9 -0
- package/dist/react-native/operationsInterfaces/operationalizationClusters.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/pagingHelper.d.ts +13 -0
- package/dist/react-native/pagingHelper.d.ts.map +1 -0
- package/dist/react-native/pagingHelper.js +30 -0
- package/dist/react-native/pagingHelper.js.map +1 -0
- package/package.json +85 -76
- package/dist/index.js +0 -2030
- package/dist/index.js.map +0 -1
- package/dist/index.min.js +0 -1
- package/dist/index.min.js.map +0 -1
- package/dist-esm/samples-dev/checkUpdateForAnOperationalizationCluster.d.ts +0 -2
- package/dist-esm/samples-dev/checkUpdateForAnOperationalizationCluster.d.ts.map +0 -1
- package/dist-esm/samples-dev/checkUpdateForAnOperationalizationCluster.js +0 -31
- package/dist-esm/samples-dev/checkUpdateForAnOperationalizationCluster.js.map +0 -1
- package/dist-esm/samples-dev/deleteOperationalizationCluster.d.ts +0 -2
- package/dist-esm/samples-dev/deleteOperationalizationCluster.d.ts.map +0 -1
- package/dist-esm/samples-dev/deleteOperationalizationCluster.js +0 -31
- package/dist-esm/samples-dev/deleteOperationalizationCluster.js.map +0 -1
- package/dist-esm/samples-dev/getOperationalizationCluster.d.ts +0 -2
- package/dist-esm/samples-dev/getOperationalizationCluster.d.ts.map +0 -1
- package/dist-esm/samples-dev/getOperationalizationCluster.js +0 -31
- package/dist-esm/samples-dev/getOperationalizationCluster.js.map +0 -1
- package/dist-esm/samples-dev/listKeysOfAnOperationalizationCluster.d.ts +0 -2
- package/dist-esm/samples-dev/listKeysOfAnOperationalizationCluster.d.ts.map +0 -1
- package/dist-esm/samples-dev/listKeysOfAnOperationalizationCluster.js +0 -31
- package/dist-esm/samples-dev/listKeysOfAnOperationalizationCluster.js.map +0 -1
- package/dist-esm/samples-dev/listOperationalizationClustersByResourceGroup.d.ts +0 -2
- package/dist-esm/samples-dev/listOperationalizationClustersByResourceGroup.d.ts.map +0 -1
- package/dist-esm/samples-dev/listOperationalizationClustersByResourceGroup.js +0 -44
- package/dist-esm/samples-dev/listOperationalizationClustersByResourceGroup.js.map +0 -1
- package/dist-esm/samples-dev/listOperationalizationClustersBySubscription.d.ts +0 -2
- package/dist-esm/samples-dev/listOperationalizationClustersBySubscription.d.ts.map +0 -1
- package/dist-esm/samples-dev/listOperationalizationClustersBySubscription.js +0 -43
- package/dist-esm/samples-dev/listOperationalizationClustersBySubscription.js.map +0 -1
- package/dist-esm/samples-dev/machineLearningComputeListAvailableOperations.d.ts +0 -2
- package/dist-esm/samples-dev/machineLearningComputeListAvailableOperations.d.ts.map +0 -1
- package/dist-esm/samples-dev/machineLearningComputeListAvailableOperations.js +0 -29
- package/dist-esm/samples-dev/machineLearningComputeListAvailableOperations.js.map +0 -1
- package/dist-esm/samples-dev/machineLearningComputeListAvailableOperationsSample.d.ts +0 -2
- package/dist-esm/samples-dev/machineLearningComputeListAvailableOperationsSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/machineLearningComputeListAvailableOperationsSample.js +0 -29
- package/dist-esm/samples-dev/machineLearningComputeListAvailableOperationsSample.js.map +0 -1
- package/dist-esm/samples-dev/operationalizationClustersCheckSystemServicesUpdatesAvailableSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationalizationClustersCheckSystemServicesUpdatesAvailableSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationalizationClustersCheckSystemServicesUpdatesAvailableSample.js +0 -31
- package/dist-esm/samples-dev/operationalizationClustersCheckSystemServicesUpdatesAvailableSample.js.map +0 -1
- package/dist-esm/samples-dev/operationalizationClustersCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationalizationClustersCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationalizationClustersCreateOrUpdateSample.js +0 -54
- package/dist-esm/samples-dev/operationalizationClustersCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/operationalizationClustersDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationalizationClustersDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationalizationClustersDeleteSample.js +0 -31
- package/dist-esm/samples-dev/operationalizationClustersDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/operationalizationClustersGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationalizationClustersGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationalizationClustersGetSample.js +0 -31
- package/dist-esm/samples-dev/operationalizationClustersGetSample.js.map +0 -1
- package/dist-esm/samples-dev/operationalizationClustersListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationalizationClustersListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationalizationClustersListByResourceGroupSample.js +0 -44
- package/dist-esm/samples-dev/operationalizationClustersListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/operationalizationClustersListBySubscriptionIdSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationalizationClustersListBySubscriptionIdSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationalizationClustersListBySubscriptionIdSample.js +0 -43
- package/dist-esm/samples-dev/operationalizationClustersListBySubscriptionIdSample.js.map +0 -1
- package/dist-esm/samples-dev/operationalizationClustersListKeysSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationalizationClustersListKeysSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationalizationClustersListKeysSample.js +0 -31
- package/dist-esm/samples-dev/operationalizationClustersListKeysSample.js.map +0 -1
- package/dist-esm/samples-dev/operationalizationClustersUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationalizationClustersUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationalizationClustersUpdateSample.js +0 -34
- package/dist-esm/samples-dev/operationalizationClustersUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/operationalizationClustersUpdateSystemServicesSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationalizationClustersUpdateSystemServicesSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationalizationClustersUpdateSystemServicesSample.js +0 -31
- package/dist-esm/samples-dev/operationalizationClustersUpdateSystemServicesSample.js.map +0 -1
- package/dist-esm/samples-dev/patchOperationalizationCluster.d.ts +0 -2
- package/dist-esm/samples-dev/patchOperationalizationCluster.d.ts.map +0 -1
- package/dist-esm/samples-dev/patchOperationalizationCluster.js +0 -34
- package/dist-esm/samples-dev/patchOperationalizationCluster.js.map +0 -1
- package/dist-esm/samples-dev/putOperationalizationCluster.d.ts +0 -2
- package/dist-esm/samples-dev/putOperationalizationCluster.d.ts.map +0 -1
- package/dist-esm/samples-dev/putOperationalizationCluster.js +0 -54
- package/dist-esm/samples-dev/putOperationalizationCluster.js.map +0 -1
- package/dist-esm/samples-dev/updateSystemServicesInAnOperationalizationCluster.d.ts +0 -2
- package/dist-esm/samples-dev/updateSystemServicesInAnOperationalizationCluster.d.ts.map +0 -1
- package/dist-esm/samples-dev/updateSystemServicesInAnOperationalizationCluster.js +0 -31
- package/dist-esm/samples-dev/updateSystemServicesInAnOperationalizationCluster.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -6
- package/dist-esm/src/index.d.ts.map +0 -1
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/lroImpl.js.map +0 -1
- package/dist-esm/src/machineLearningComputeManagementClient.d.ts.map +0 -1
- package/dist-esm/src/machineLearningComputeManagementClient.js.map +0 -1
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -3
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/machineLearningCompute.d.ts.map +0 -1
- package/dist-esm/src/operations/machineLearningCompute.js.map +0 -1
- package/dist-esm/src/operations/operationalizationClusters.d.ts.map +0 -1
- package/dist-esm/src/operations/operationalizationClusters.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -3
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/machineLearningCompute.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operationalizationClusters.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/operationalizationClusters.js.map +0 -1
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/test/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -38
- package/dist-esm/test/sampleTest.js.map +0 -1
- package/rollup.config.js +0 -122
- package/src/lroImpl.ts +0 -34
- package/src/machineLearningComputeManagementClient.ts +0 -148
- package/src/models/index.ts +0 -782
- package/src/models/mappers.ts +0 -914
- package/src/models/parameters.ts +0 -150
- package/src/operations/machineLearningCompute.ts +0 -59
- package/src/operations/operationalizationClusters.ts +0 -830
- package/src/operationsInterfaces/machineLearningCompute.ts +0 -23
- package/src/operationsInterfaces/operationalizationClusters.ts +0 -189
- package/src/pagingHelper.ts +0 -39
- package/tsconfig.json +0 -33
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/machineLearningCompute.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/operationalizationClusters.js +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
- /package/review/{arm-machinelearningcompute.api.md → arm-machinelearningcompute-node.api.md} +0 -0
|
@@ -1,830 +0,0 @@
|
|
|
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
|
-
|
|
9
|
-
import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
|
|
10
|
-
import { setContinuationToken } from "../pagingHelper";
|
|
11
|
-
import { OperationalizationClusters } from "../operationsInterfaces";
|
|
12
|
-
import * as coreClient from "@azure/core-client";
|
|
13
|
-
import * as Mappers from "../models/mappers";
|
|
14
|
-
import * as Parameters from "../models/parameters";
|
|
15
|
-
import { MachineLearningComputeManagementClient } from "../machineLearningComputeManagementClient";
|
|
16
|
-
import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
|
|
17
|
-
import { LroImpl } from "../lroImpl";
|
|
18
|
-
import {
|
|
19
|
-
OperationalizationCluster,
|
|
20
|
-
OperationalizationClustersListByResourceGroupNextOptionalParams,
|
|
21
|
-
OperationalizationClustersListByResourceGroupOptionalParams,
|
|
22
|
-
OperationalizationClustersListByResourceGroupResponse,
|
|
23
|
-
OperationalizationClustersListBySubscriptionIdNextOptionalParams,
|
|
24
|
-
OperationalizationClustersListBySubscriptionIdOptionalParams,
|
|
25
|
-
OperationalizationClustersListBySubscriptionIdResponse,
|
|
26
|
-
OperationalizationClustersCreateOrUpdateOptionalParams,
|
|
27
|
-
OperationalizationClustersCreateOrUpdateResponse,
|
|
28
|
-
OperationalizationClustersGetOptionalParams,
|
|
29
|
-
OperationalizationClustersGetResponse,
|
|
30
|
-
OperationalizationClusterUpdateParameters,
|
|
31
|
-
OperationalizationClustersUpdateOptionalParams,
|
|
32
|
-
OperationalizationClustersUpdateResponse,
|
|
33
|
-
OperationalizationClustersDeleteOptionalParams,
|
|
34
|
-
OperationalizationClustersDeleteResponse,
|
|
35
|
-
OperationalizationClustersListKeysOptionalParams,
|
|
36
|
-
OperationalizationClustersListKeysResponse,
|
|
37
|
-
OperationalizationClustersCheckSystemServicesUpdatesAvailableOptionalParams,
|
|
38
|
-
OperationalizationClustersCheckSystemServicesUpdatesAvailableResponse,
|
|
39
|
-
OperationalizationClustersUpdateSystemServicesOptionalParams,
|
|
40
|
-
OperationalizationClustersUpdateSystemServicesResponse,
|
|
41
|
-
OperationalizationClustersListByResourceGroupNextResponse,
|
|
42
|
-
OperationalizationClustersListBySubscriptionIdNextResponse
|
|
43
|
-
} from "../models";
|
|
44
|
-
|
|
45
|
-
/// <reference lib="esnext.asynciterable" />
|
|
46
|
-
/** Class containing OperationalizationClusters operations. */
|
|
47
|
-
export class OperationalizationClustersImpl
|
|
48
|
-
implements OperationalizationClusters {
|
|
49
|
-
private readonly client: MachineLearningComputeManagementClient;
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* Initialize a new instance of the class OperationalizationClusters class.
|
|
53
|
-
* @param client Reference to the service client
|
|
54
|
-
*/
|
|
55
|
-
constructor(client: MachineLearningComputeManagementClient) {
|
|
56
|
-
this.client = client;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* Gets the clusters in the specified resource group.
|
|
61
|
-
* @param resourceGroupName Name of the resource group in which the cluster is located.
|
|
62
|
-
* @param options The options parameters.
|
|
63
|
-
*/
|
|
64
|
-
public listByResourceGroup(
|
|
65
|
-
resourceGroupName: string,
|
|
66
|
-
options?: OperationalizationClustersListByResourceGroupOptionalParams
|
|
67
|
-
): PagedAsyncIterableIterator<OperationalizationCluster> {
|
|
68
|
-
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
|
|
69
|
-
return {
|
|
70
|
-
next() {
|
|
71
|
-
return iter.next();
|
|
72
|
-
},
|
|
73
|
-
[Symbol.asyncIterator]() {
|
|
74
|
-
return this;
|
|
75
|
-
},
|
|
76
|
-
byPage: (settings?: PageSettings) => {
|
|
77
|
-
if (settings?.maxPageSize) {
|
|
78
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
79
|
-
}
|
|
80
|
-
return this.listByResourceGroupPagingPage(
|
|
81
|
-
resourceGroupName,
|
|
82
|
-
options,
|
|
83
|
-
settings
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
|
-
};
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private async *listByResourceGroupPagingPage(
|
|
90
|
-
resourceGroupName: string,
|
|
91
|
-
options?: OperationalizationClustersListByResourceGroupOptionalParams,
|
|
92
|
-
settings?: PageSettings
|
|
93
|
-
): AsyncIterableIterator<OperationalizationCluster[]> {
|
|
94
|
-
let result: OperationalizationClustersListByResourceGroupResponse;
|
|
95
|
-
let continuationToken = settings?.continuationToken;
|
|
96
|
-
if (!continuationToken) {
|
|
97
|
-
result = await this._listByResourceGroup(resourceGroupName, options);
|
|
98
|
-
let page = result.value || [];
|
|
99
|
-
continuationToken = result.nextLink;
|
|
100
|
-
setContinuationToken(page, continuationToken);
|
|
101
|
-
yield page;
|
|
102
|
-
}
|
|
103
|
-
while (continuationToken) {
|
|
104
|
-
result = await this._listByResourceGroupNext(
|
|
105
|
-
resourceGroupName,
|
|
106
|
-
continuationToken,
|
|
107
|
-
options
|
|
108
|
-
);
|
|
109
|
-
continuationToken = result.nextLink;
|
|
110
|
-
let page = result.value || [];
|
|
111
|
-
setContinuationToken(page, continuationToken);
|
|
112
|
-
yield page;
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
private async *listByResourceGroupPagingAll(
|
|
117
|
-
resourceGroupName: string,
|
|
118
|
-
options?: OperationalizationClustersListByResourceGroupOptionalParams
|
|
119
|
-
): AsyncIterableIterator<OperationalizationCluster> {
|
|
120
|
-
for await (const page of this.listByResourceGroupPagingPage(
|
|
121
|
-
resourceGroupName,
|
|
122
|
-
options
|
|
123
|
-
)) {
|
|
124
|
-
yield* page;
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
/**
|
|
129
|
-
* Gets the operationalization clusters in the specified subscription.
|
|
130
|
-
* @param options The options parameters.
|
|
131
|
-
*/
|
|
132
|
-
public listBySubscriptionId(
|
|
133
|
-
options?: OperationalizationClustersListBySubscriptionIdOptionalParams
|
|
134
|
-
): PagedAsyncIterableIterator<OperationalizationCluster> {
|
|
135
|
-
const iter = this.listBySubscriptionIdPagingAll(options);
|
|
136
|
-
return {
|
|
137
|
-
next() {
|
|
138
|
-
return iter.next();
|
|
139
|
-
},
|
|
140
|
-
[Symbol.asyncIterator]() {
|
|
141
|
-
return this;
|
|
142
|
-
},
|
|
143
|
-
byPage: (settings?: PageSettings) => {
|
|
144
|
-
if (settings?.maxPageSize) {
|
|
145
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
146
|
-
}
|
|
147
|
-
return this.listBySubscriptionIdPagingPage(options, settings);
|
|
148
|
-
}
|
|
149
|
-
};
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
private async *listBySubscriptionIdPagingPage(
|
|
153
|
-
options?: OperationalizationClustersListBySubscriptionIdOptionalParams,
|
|
154
|
-
settings?: PageSettings
|
|
155
|
-
): AsyncIterableIterator<OperationalizationCluster[]> {
|
|
156
|
-
let result: OperationalizationClustersListBySubscriptionIdResponse;
|
|
157
|
-
let continuationToken = settings?.continuationToken;
|
|
158
|
-
if (!continuationToken) {
|
|
159
|
-
result = await this._listBySubscriptionId(options);
|
|
160
|
-
let page = result.value || [];
|
|
161
|
-
continuationToken = result.nextLink;
|
|
162
|
-
setContinuationToken(page, continuationToken);
|
|
163
|
-
yield page;
|
|
164
|
-
}
|
|
165
|
-
while (continuationToken) {
|
|
166
|
-
result = await this._listBySubscriptionIdNext(continuationToken, options);
|
|
167
|
-
continuationToken = result.nextLink;
|
|
168
|
-
let page = result.value || [];
|
|
169
|
-
setContinuationToken(page, continuationToken);
|
|
170
|
-
yield page;
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
private async *listBySubscriptionIdPagingAll(
|
|
175
|
-
options?: OperationalizationClustersListBySubscriptionIdOptionalParams
|
|
176
|
-
): AsyncIterableIterator<OperationalizationCluster> {
|
|
177
|
-
for await (const page of this.listBySubscriptionIdPagingPage(options)) {
|
|
178
|
-
yield* page;
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
/**
|
|
183
|
-
* Create or update an operationalization cluster.
|
|
184
|
-
* @param resourceGroupName Name of the resource group in which the cluster is located.
|
|
185
|
-
* @param clusterName The name of the cluster.
|
|
186
|
-
* @param parameters Parameters supplied to create or update an Operationalization cluster.
|
|
187
|
-
* @param options The options parameters.
|
|
188
|
-
*/
|
|
189
|
-
async beginCreateOrUpdate(
|
|
190
|
-
resourceGroupName: string,
|
|
191
|
-
clusterName: string,
|
|
192
|
-
parameters: OperationalizationCluster,
|
|
193
|
-
options?: OperationalizationClustersCreateOrUpdateOptionalParams
|
|
194
|
-
): Promise<
|
|
195
|
-
PollerLike<
|
|
196
|
-
PollOperationState<OperationalizationClustersCreateOrUpdateResponse>,
|
|
197
|
-
OperationalizationClustersCreateOrUpdateResponse
|
|
198
|
-
>
|
|
199
|
-
> {
|
|
200
|
-
const directSendOperation = async (
|
|
201
|
-
args: coreClient.OperationArguments,
|
|
202
|
-
spec: coreClient.OperationSpec
|
|
203
|
-
): Promise<OperationalizationClustersCreateOrUpdateResponse> => {
|
|
204
|
-
return this.client.sendOperationRequest(args, spec);
|
|
205
|
-
};
|
|
206
|
-
const sendOperation = async (
|
|
207
|
-
args: coreClient.OperationArguments,
|
|
208
|
-
spec: coreClient.OperationSpec
|
|
209
|
-
) => {
|
|
210
|
-
let currentRawResponse:
|
|
211
|
-
| coreClient.FullOperationResponse
|
|
212
|
-
| undefined = undefined;
|
|
213
|
-
const providedCallback = args.options?.onResponse;
|
|
214
|
-
const callback: coreClient.RawResponseCallback = (
|
|
215
|
-
rawResponse: coreClient.FullOperationResponse,
|
|
216
|
-
flatResponse: unknown
|
|
217
|
-
) => {
|
|
218
|
-
currentRawResponse = rawResponse;
|
|
219
|
-
providedCallback?.(rawResponse, flatResponse);
|
|
220
|
-
};
|
|
221
|
-
const updatedArgs = {
|
|
222
|
-
...args,
|
|
223
|
-
options: {
|
|
224
|
-
...args.options,
|
|
225
|
-
onResponse: callback
|
|
226
|
-
}
|
|
227
|
-
};
|
|
228
|
-
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
229
|
-
return {
|
|
230
|
-
flatResponse,
|
|
231
|
-
rawResponse: {
|
|
232
|
-
statusCode: currentRawResponse!.status,
|
|
233
|
-
body: currentRawResponse!.parsedBody,
|
|
234
|
-
headers: currentRawResponse!.headers.toJSON()
|
|
235
|
-
}
|
|
236
|
-
};
|
|
237
|
-
};
|
|
238
|
-
|
|
239
|
-
const lro = new LroImpl(
|
|
240
|
-
sendOperation,
|
|
241
|
-
{ resourceGroupName, clusterName, parameters, options },
|
|
242
|
-
createOrUpdateOperationSpec
|
|
243
|
-
);
|
|
244
|
-
const poller = new LroEngine(lro, {
|
|
245
|
-
resumeFrom: options?.resumeFrom,
|
|
246
|
-
intervalInMs: options?.updateIntervalInMs
|
|
247
|
-
});
|
|
248
|
-
await poller.poll();
|
|
249
|
-
return poller;
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
/**
|
|
253
|
-
* Create or update an operationalization cluster.
|
|
254
|
-
* @param resourceGroupName Name of the resource group in which the cluster is located.
|
|
255
|
-
* @param clusterName The name of the cluster.
|
|
256
|
-
* @param parameters Parameters supplied to create or update an Operationalization cluster.
|
|
257
|
-
* @param options The options parameters.
|
|
258
|
-
*/
|
|
259
|
-
async beginCreateOrUpdateAndWait(
|
|
260
|
-
resourceGroupName: string,
|
|
261
|
-
clusterName: string,
|
|
262
|
-
parameters: OperationalizationCluster,
|
|
263
|
-
options?: OperationalizationClustersCreateOrUpdateOptionalParams
|
|
264
|
-
): Promise<OperationalizationClustersCreateOrUpdateResponse> {
|
|
265
|
-
const poller = await this.beginCreateOrUpdate(
|
|
266
|
-
resourceGroupName,
|
|
267
|
-
clusterName,
|
|
268
|
-
parameters,
|
|
269
|
-
options
|
|
270
|
-
);
|
|
271
|
-
return poller.pollUntilDone();
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
/**
|
|
275
|
-
* Gets the operationalization cluster resource view. Note that the credentials are not returned by
|
|
276
|
-
* this call. Call ListKeys to get them.
|
|
277
|
-
* @param resourceGroupName Name of the resource group in which the cluster is located.
|
|
278
|
-
* @param clusterName The name of the cluster.
|
|
279
|
-
* @param options The options parameters.
|
|
280
|
-
*/
|
|
281
|
-
get(
|
|
282
|
-
resourceGroupName: string,
|
|
283
|
-
clusterName: string,
|
|
284
|
-
options?: OperationalizationClustersGetOptionalParams
|
|
285
|
-
): Promise<OperationalizationClustersGetResponse> {
|
|
286
|
-
return this.client.sendOperationRequest(
|
|
287
|
-
{ resourceGroupName, clusterName, options },
|
|
288
|
-
getOperationSpec
|
|
289
|
-
);
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
/**
|
|
293
|
-
* The PATCH operation can be used to update only the tags for a cluster. Use PUT operation to update
|
|
294
|
-
* other properties.
|
|
295
|
-
* @param resourceGroupName Name of the resource group in which the cluster is located.
|
|
296
|
-
* @param clusterName The name of the cluster.
|
|
297
|
-
* @param parameters The parameters supplied to patch the cluster.
|
|
298
|
-
* @param options The options parameters.
|
|
299
|
-
*/
|
|
300
|
-
update(
|
|
301
|
-
resourceGroupName: string,
|
|
302
|
-
clusterName: string,
|
|
303
|
-
parameters: OperationalizationClusterUpdateParameters,
|
|
304
|
-
options?: OperationalizationClustersUpdateOptionalParams
|
|
305
|
-
): Promise<OperationalizationClustersUpdateResponse> {
|
|
306
|
-
return this.client.sendOperationRequest(
|
|
307
|
-
{ resourceGroupName, clusterName, parameters, options },
|
|
308
|
-
updateOperationSpec
|
|
309
|
-
);
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
/**
|
|
313
|
-
* Deletes the specified cluster.
|
|
314
|
-
* @param resourceGroupName Name of the resource group in which the cluster is located.
|
|
315
|
-
* @param clusterName The name of the cluster.
|
|
316
|
-
* @param options The options parameters.
|
|
317
|
-
*/
|
|
318
|
-
async beginDelete(
|
|
319
|
-
resourceGroupName: string,
|
|
320
|
-
clusterName: string,
|
|
321
|
-
options?: OperationalizationClustersDeleteOptionalParams
|
|
322
|
-
): Promise<
|
|
323
|
-
PollerLike<
|
|
324
|
-
PollOperationState<OperationalizationClustersDeleteResponse>,
|
|
325
|
-
OperationalizationClustersDeleteResponse
|
|
326
|
-
>
|
|
327
|
-
> {
|
|
328
|
-
const directSendOperation = async (
|
|
329
|
-
args: coreClient.OperationArguments,
|
|
330
|
-
spec: coreClient.OperationSpec
|
|
331
|
-
): Promise<OperationalizationClustersDeleteResponse> => {
|
|
332
|
-
return this.client.sendOperationRequest(args, spec);
|
|
333
|
-
};
|
|
334
|
-
const sendOperation = async (
|
|
335
|
-
args: coreClient.OperationArguments,
|
|
336
|
-
spec: coreClient.OperationSpec
|
|
337
|
-
) => {
|
|
338
|
-
let currentRawResponse:
|
|
339
|
-
| coreClient.FullOperationResponse
|
|
340
|
-
| undefined = undefined;
|
|
341
|
-
const providedCallback = args.options?.onResponse;
|
|
342
|
-
const callback: coreClient.RawResponseCallback = (
|
|
343
|
-
rawResponse: coreClient.FullOperationResponse,
|
|
344
|
-
flatResponse: unknown
|
|
345
|
-
) => {
|
|
346
|
-
currentRawResponse = rawResponse;
|
|
347
|
-
providedCallback?.(rawResponse, flatResponse);
|
|
348
|
-
};
|
|
349
|
-
const updatedArgs = {
|
|
350
|
-
...args,
|
|
351
|
-
options: {
|
|
352
|
-
...args.options,
|
|
353
|
-
onResponse: callback
|
|
354
|
-
}
|
|
355
|
-
};
|
|
356
|
-
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
357
|
-
return {
|
|
358
|
-
flatResponse,
|
|
359
|
-
rawResponse: {
|
|
360
|
-
statusCode: currentRawResponse!.status,
|
|
361
|
-
body: currentRawResponse!.parsedBody,
|
|
362
|
-
headers: currentRawResponse!.headers.toJSON()
|
|
363
|
-
}
|
|
364
|
-
};
|
|
365
|
-
};
|
|
366
|
-
|
|
367
|
-
const lro = new LroImpl(
|
|
368
|
-
sendOperation,
|
|
369
|
-
{ resourceGroupName, clusterName, options },
|
|
370
|
-
deleteOperationSpec
|
|
371
|
-
);
|
|
372
|
-
const poller = new LroEngine(lro, {
|
|
373
|
-
resumeFrom: options?.resumeFrom,
|
|
374
|
-
intervalInMs: options?.updateIntervalInMs
|
|
375
|
-
});
|
|
376
|
-
await poller.poll();
|
|
377
|
-
return poller;
|
|
378
|
-
}
|
|
379
|
-
|
|
380
|
-
/**
|
|
381
|
-
* Deletes the specified cluster.
|
|
382
|
-
* @param resourceGroupName Name of the resource group in which the cluster is located.
|
|
383
|
-
* @param clusterName The name of the cluster.
|
|
384
|
-
* @param options The options parameters.
|
|
385
|
-
*/
|
|
386
|
-
async beginDeleteAndWait(
|
|
387
|
-
resourceGroupName: string,
|
|
388
|
-
clusterName: string,
|
|
389
|
-
options?: OperationalizationClustersDeleteOptionalParams
|
|
390
|
-
): Promise<OperationalizationClustersDeleteResponse> {
|
|
391
|
-
const poller = await this.beginDelete(
|
|
392
|
-
resourceGroupName,
|
|
393
|
-
clusterName,
|
|
394
|
-
options
|
|
395
|
-
);
|
|
396
|
-
return poller.pollUntilDone();
|
|
397
|
-
}
|
|
398
|
-
|
|
399
|
-
/**
|
|
400
|
-
* Gets the credentials for the specified cluster such as Storage, ACR and ACS credentials. This is a
|
|
401
|
-
* long running operation because it fetches keys from dependencies.
|
|
402
|
-
* @param resourceGroupName Name of the resource group in which the cluster is located.
|
|
403
|
-
* @param clusterName The name of the cluster.
|
|
404
|
-
* @param options The options parameters.
|
|
405
|
-
*/
|
|
406
|
-
listKeys(
|
|
407
|
-
resourceGroupName: string,
|
|
408
|
-
clusterName: string,
|
|
409
|
-
options?: OperationalizationClustersListKeysOptionalParams
|
|
410
|
-
): Promise<OperationalizationClustersListKeysResponse> {
|
|
411
|
-
return this.client.sendOperationRequest(
|
|
412
|
-
{ resourceGroupName, clusterName, options },
|
|
413
|
-
listKeysOperationSpec
|
|
414
|
-
);
|
|
415
|
-
}
|
|
416
|
-
|
|
417
|
-
/**
|
|
418
|
-
* Checks if updates are available for system services in the cluster.
|
|
419
|
-
* @param resourceGroupName Name of the resource group in which the cluster is located.
|
|
420
|
-
* @param clusterName The name of the cluster.
|
|
421
|
-
* @param options The options parameters.
|
|
422
|
-
*/
|
|
423
|
-
checkSystemServicesUpdatesAvailable(
|
|
424
|
-
resourceGroupName: string,
|
|
425
|
-
clusterName: string,
|
|
426
|
-
options?: OperationalizationClustersCheckSystemServicesUpdatesAvailableOptionalParams
|
|
427
|
-
): Promise<
|
|
428
|
-
OperationalizationClustersCheckSystemServicesUpdatesAvailableResponse
|
|
429
|
-
> {
|
|
430
|
-
return this.client.sendOperationRequest(
|
|
431
|
-
{ resourceGroupName, clusterName, options },
|
|
432
|
-
checkSystemServicesUpdatesAvailableOperationSpec
|
|
433
|
-
);
|
|
434
|
-
}
|
|
435
|
-
|
|
436
|
-
/**
|
|
437
|
-
* Updates system services in a cluster.
|
|
438
|
-
* @param resourceGroupName Name of the resource group in which the cluster is located.
|
|
439
|
-
* @param clusterName The name of the cluster.
|
|
440
|
-
* @param options The options parameters.
|
|
441
|
-
*/
|
|
442
|
-
async beginUpdateSystemServices(
|
|
443
|
-
resourceGroupName: string,
|
|
444
|
-
clusterName: string,
|
|
445
|
-
options?: OperationalizationClustersUpdateSystemServicesOptionalParams
|
|
446
|
-
): Promise<
|
|
447
|
-
PollerLike<
|
|
448
|
-
PollOperationState<
|
|
449
|
-
OperationalizationClustersUpdateSystemServicesResponse
|
|
450
|
-
>,
|
|
451
|
-
OperationalizationClustersUpdateSystemServicesResponse
|
|
452
|
-
>
|
|
453
|
-
> {
|
|
454
|
-
const directSendOperation = async (
|
|
455
|
-
args: coreClient.OperationArguments,
|
|
456
|
-
spec: coreClient.OperationSpec
|
|
457
|
-
): Promise<OperationalizationClustersUpdateSystemServicesResponse> => {
|
|
458
|
-
return this.client.sendOperationRequest(args, spec);
|
|
459
|
-
};
|
|
460
|
-
const sendOperation = async (
|
|
461
|
-
args: coreClient.OperationArguments,
|
|
462
|
-
spec: coreClient.OperationSpec
|
|
463
|
-
) => {
|
|
464
|
-
let currentRawResponse:
|
|
465
|
-
| coreClient.FullOperationResponse
|
|
466
|
-
| undefined = undefined;
|
|
467
|
-
const providedCallback = args.options?.onResponse;
|
|
468
|
-
const callback: coreClient.RawResponseCallback = (
|
|
469
|
-
rawResponse: coreClient.FullOperationResponse,
|
|
470
|
-
flatResponse: unknown
|
|
471
|
-
) => {
|
|
472
|
-
currentRawResponse = rawResponse;
|
|
473
|
-
providedCallback?.(rawResponse, flatResponse);
|
|
474
|
-
};
|
|
475
|
-
const updatedArgs = {
|
|
476
|
-
...args,
|
|
477
|
-
options: {
|
|
478
|
-
...args.options,
|
|
479
|
-
onResponse: callback
|
|
480
|
-
}
|
|
481
|
-
};
|
|
482
|
-
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
483
|
-
return {
|
|
484
|
-
flatResponse,
|
|
485
|
-
rawResponse: {
|
|
486
|
-
statusCode: currentRawResponse!.status,
|
|
487
|
-
body: currentRawResponse!.parsedBody,
|
|
488
|
-
headers: currentRawResponse!.headers.toJSON()
|
|
489
|
-
}
|
|
490
|
-
};
|
|
491
|
-
};
|
|
492
|
-
|
|
493
|
-
const lro = new LroImpl(
|
|
494
|
-
sendOperation,
|
|
495
|
-
{ resourceGroupName, clusterName, options },
|
|
496
|
-
updateSystemServicesOperationSpec
|
|
497
|
-
);
|
|
498
|
-
const poller = new LroEngine(lro, {
|
|
499
|
-
resumeFrom: options?.resumeFrom,
|
|
500
|
-
intervalInMs: options?.updateIntervalInMs
|
|
501
|
-
});
|
|
502
|
-
await poller.poll();
|
|
503
|
-
return poller;
|
|
504
|
-
}
|
|
505
|
-
|
|
506
|
-
/**
|
|
507
|
-
* Updates system services in a cluster.
|
|
508
|
-
* @param resourceGroupName Name of the resource group in which the cluster is located.
|
|
509
|
-
* @param clusterName The name of the cluster.
|
|
510
|
-
* @param options The options parameters.
|
|
511
|
-
*/
|
|
512
|
-
async beginUpdateSystemServicesAndWait(
|
|
513
|
-
resourceGroupName: string,
|
|
514
|
-
clusterName: string,
|
|
515
|
-
options?: OperationalizationClustersUpdateSystemServicesOptionalParams
|
|
516
|
-
): Promise<OperationalizationClustersUpdateSystemServicesResponse> {
|
|
517
|
-
const poller = await this.beginUpdateSystemServices(
|
|
518
|
-
resourceGroupName,
|
|
519
|
-
clusterName,
|
|
520
|
-
options
|
|
521
|
-
);
|
|
522
|
-
return poller.pollUntilDone();
|
|
523
|
-
}
|
|
524
|
-
|
|
525
|
-
/**
|
|
526
|
-
* Gets the clusters in the specified resource group.
|
|
527
|
-
* @param resourceGroupName Name of the resource group in which the cluster is located.
|
|
528
|
-
* @param options The options parameters.
|
|
529
|
-
*/
|
|
530
|
-
private _listByResourceGroup(
|
|
531
|
-
resourceGroupName: string,
|
|
532
|
-
options?: OperationalizationClustersListByResourceGroupOptionalParams
|
|
533
|
-
): Promise<OperationalizationClustersListByResourceGroupResponse> {
|
|
534
|
-
return this.client.sendOperationRequest(
|
|
535
|
-
{ resourceGroupName, options },
|
|
536
|
-
listByResourceGroupOperationSpec
|
|
537
|
-
);
|
|
538
|
-
}
|
|
539
|
-
|
|
540
|
-
/**
|
|
541
|
-
* Gets the operationalization clusters in the specified subscription.
|
|
542
|
-
* @param options The options parameters.
|
|
543
|
-
*/
|
|
544
|
-
private _listBySubscriptionId(
|
|
545
|
-
options?: OperationalizationClustersListBySubscriptionIdOptionalParams
|
|
546
|
-
): Promise<OperationalizationClustersListBySubscriptionIdResponse> {
|
|
547
|
-
return this.client.sendOperationRequest(
|
|
548
|
-
{ options },
|
|
549
|
-
listBySubscriptionIdOperationSpec
|
|
550
|
-
);
|
|
551
|
-
}
|
|
552
|
-
|
|
553
|
-
/**
|
|
554
|
-
* ListByResourceGroupNext
|
|
555
|
-
* @param resourceGroupName Name of the resource group in which the cluster is located.
|
|
556
|
-
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
557
|
-
* @param options The options parameters.
|
|
558
|
-
*/
|
|
559
|
-
private _listByResourceGroupNext(
|
|
560
|
-
resourceGroupName: string,
|
|
561
|
-
nextLink: string,
|
|
562
|
-
options?: OperationalizationClustersListByResourceGroupNextOptionalParams
|
|
563
|
-
): Promise<OperationalizationClustersListByResourceGroupNextResponse> {
|
|
564
|
-
return this.client.sendOperationRequest(
|
|
565
|
-
{ resourceGroupName, nextLink, options },
|
|
566
|
-
listByResourceGroupNextOperationSpec
|
|
567
|
-
);
|
|
568
|
-
}
|
|
569
|
-
|
|
570
|
-
/**
|
|
571
|
-
* ListBySubscriptionIdNext
|
|
572
|
-
* @param nextLink The nextLink from the previous successful call to the ListBySubscriptionId method.
|
|
573
|
-
* @param options The options parameters.
|
|
574
|
-
*/
|
|
575
|
-
private _listBySubscriptionIdNext(
|
|
576
|
-
nextLink: string,
|
|
577
|
-
options?: OperationalizationClustersListBySubscriptionIdNextOptionalParams
|
|
578
|
-
): Promise<OperationalizationClustersListBySubscriptionIdNextResponse> {
|
|
579
|
-
return this.client.sendOperationRequest(
|
|
580
|
-
{ nextLink, options },
|
|
581
|
-
listBySubscriptionIdNextOperationSpec
|
|
582
|
-
);
|
|
583
|
-
}
|
|
584
|
-
}
|
|
585
|
-
// Operation Specifications
|
|
586
|
-
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
587
|
-
|
|
588
|
-
const createOrUpdateOperationSpec: coreClient.OperationSpec = {
|
|
589
|
-
path:
|
|
590
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}",
|
|
591
|
-
httpMethod: "PUT",
|
|
592
|
-
responses: {
|
|
593
|
-
200: {
|
|
594
|
-
bodyMapper: Mappers.OperationalizationCluster
|
|
595
|
-
},
|
|
596
|
-
201: {
|
|
597
|
-
bodyMapper: Mappers.OperationalizationCluster
|
|
598
|
-
},
|
|
599
|
-
202: {
|
|
600
|
-
bodyMapper: Mappers.OperationalizationCluster
|
|
601
|
-
},
|
|
602
|
-
204: {
|
|
603
|
-
bodyMapper: Mappers.OperationalizationCluster
|
|
604
|
-
},
|
|
605
|
-
default: {
|
|
606
|
-
bodyMapper: Mappers.ErrorResponseWrapper
|
|
607
|
-
}
|
|
608
|
-
},
|
|
609
|
-
requestBody: Parameters.parameters,
|
|
610
|
-
queryParameters: [Parameters.apiVersion],
|
|
611
|
-
urlParameters: [
|
|
612
|
-
Parameters.$host,
|
|
613
|
-
Parameters.subscriptionId,
|
|
614
|
-
Parameters.resourceGroupName,
|
|
615
|
-
Parameters.clusterName
|
|
616
|
-
],
|
|
617
|
-
headerParameters: [Parameters.contentType, Parameters.accept],
|
|
618
|
-
mediaType: "json",
|
|
619
|
-
serializer
|
|
620
|
-
};
|
|
621
|
-
const getOperationSpec: coreClient.OperationSpec = {
|
|
622
|
-
path:
|
|
623
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}",
|
|
624
|
-
httpMethod: "GET",
|
|
625
|
-
responses: {
|
|
626
|
-
200: {
|
|
627
|
-
bodyMapper: Mappers.OperationalizationCluster
|
|
628
|
-
},
|
|
629
|
-
default: {
|
|
630
|
-
bodyMapper: Mappers.ErrorResponseWrapper
|
|
631
|
-
}
|
|
632
|
-
},
|
|
633
|
-
queryParameters: [Parameters.apiVersion],
|
|
634
|
-
urlParameters: [
|
|
635
|
-
Parameters.$host,
|
|
636
|
-
Parameters.subscriptionId,
|
|
637
|
-
Parameters.resourceGroupName,
|
|
638
|
-
Parameters.clusterName
|
|
639
|
-
],
|
|
640
|
-
headerParameters: [Parameters.accept],
|
|
641
|
-
serializer
|
|
642
|
-
};
|
|
643
|
-
const updateOperationSpec: coreClient.OperationSpec = {
|
|
644
|
-
path:
|
|
645
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}",
|
|
646
|
-
httpMethod: "PATCH",
|
|
647
|
-
responses: {
|
|
648
|
-
200: {
|
|
649
|
-
bodyMapper: Mappers.OperationalizationCluster
|
|
650
|
-
},
|
|
651
|
-
default: {
|
|
652
|
-
bodyMapper: Mappers.ErrorResponseWrapper
|
|
653
|
-
}
|
|
654
|
-
},
|
|
655
|
-
requestBody: Parameters.parameters1,
|
|
656
|
-
queryParameters: [Parameters.apiVersion],
|
|
657
|
-
urlParameters: [
|
|
658
|
-
Parameters.$host,
|
|
659
|
-
Parameters.subscriptionId,
|
|
660
|
-
Parameters.resourceGroupName,
|
|
661
|
-
Parameters.clusterName
|
|
662
|
-
],
|
|
663
|
-
headerParameters: [Parameters.contentType, Parameters.accept],
|
|
664
|
-
mediaType: "json",
|
|
665
|
-
serializer
|
|
666
|
-
};
|
|
667
|
-
const deleteOperationSpec: coreClient.OperationSpec = {
|
|
668
|
-
path:
|
|
669
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}",
|
|
670
|
-
httpMethod: "DELETE",
|
|
671
|
-
responses: {
|
|
672
|
-
200: {
|
|
673
|
-
headersMapper: Mappers.OperationalizationClustersDeleteHeaders
|
|
674
|
-
},
|
|
675
|
-
201: {
|
|
676
|
-
headersMapper: Mappers.OperationalizationClustersDeleteHeaders
|
|
677
|
-
},
|
|
678
|
-
202: {
|
|
679
|
-
headersMapper: Mappers.OperationalizationClustersDeleteHeaders
|
|
680
|
-
},
|
|
681
|
-
204: {
|
|
682
|
-
headersMapper: Mappers.OperationalizationClustersDeleteHeaders
|
|
683
|
-
},
|
|
684
|
-
default: {
|
|
685
|
-
bodyMapper: Mappers.ErrorResponseWrapper
|
|
686
|
-
}
|
|
687
|
-
},
|
|
688
|
-
queryParameters: [Parameters.apiVersion, Parameters.deleteAll],
|
|
689
|
-
urlParameters: [
|
|
690
|
-
Parameters.$host,
|
|
691
|
-
Parameters.subscriptionId,
|
|
692
|
-
Parameters.resourceGroupName,
|
|
693
|
-
Parameters.clusterName
|
|
694
|
-
],
|
|
695
|
-
headerParameters: [Parameters.accept],
|
|
696
|
-
serializer
|
|
697
|
-
};
|
|
698
|
-
const listKeysOperationSpec: coreClient.OperationSpec = {
|
|
699
|
-
path:
|
|
700
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}/listKeys",
|
|
701
|
-
httpMethod: "POST",
|
|
702
|
-
responses: {
|
|
703
|
-
200: {
|
|
704
|
-
bodyMapper: Mappers.OperationalizationClusterCredentials
|
|
705
|
-
}
|
|
706
|
-
},
|
|
707
|
-
queryParameters: [Parameters.apiVersion],
|
|
708
|
-
urlParameters: [
|
|
709
|
-
Parameters.$host,
|
|
710
|
-
Parameters.subscriptionId,
|
|
711
|
-
Parameters.resourceGroupName,
|
|
712
|
-
Parameters.clusterName
|
|
713
|
-
],
|
|
714
|
-
headerParameters: [Parameters.accept],
|
|
715
|
-
serializer
|
|
716
|
-
};
|
|
717
|
-
const checkSystemServicesUpdatesAvailableOperationSpec: coreClient.OperationSpec = {
|
|
718
|
-
path:
|
|
719
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}/checkSystemServicesUpdatesAvailable",
|
|
720
|
-
httpMethod: "POST",
|
|
721
|
-
responses: {
|
|
722
|
-
200: {
|
|
723
|
-
bodyMapper: Mappers.CheckSystemServicesUpdatesAvailableResponse
|
|
724
|
-
}
|
|
725
|
-
},
|
|
726
|
-
queryParameters: [Parameters.apiVersion],
|
|
727
|
-
urlParameters: [
|
|
728
|
-
Parameters.$host,
|
|
729
|
-
Parameters.subscriptionId,
|
|
730
|
-
Parameters.resourceGroupName,
|
|
731
|
-
Parameters.clusterName
|
|
732
|
-
],
|
|
733
|
-
headerParameters: [Parameters.accept],
|
|
734
|
-
serializer
|
|
735
|
-
};
|
|
736
|
-
const updateSystemServicesOperationSpec: coreClient.OperationSpec = {
|
|
737
|
-
path:
|
|
738
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}/updateSystemServices",
|
|
739
|
-
httpMethod: "POST",
|
|
740
|
-
responses: {
|
|
741
|
-
200: {
|
|
742
|
-
bodyMapper: Mappers.UpdateSystemServicesResponse
|
|
743
|
-
},
|
|
744
|
-
201: {
|
|
745
|
-
bodyMapper: Mappers.UpdateSystemServicesResponse
|
|
746
|
-
},
|
|
747
|
-
202: {
|
|
748
|
-
bodyMapper: Mappers.UpdateSystemServicesResponse
|
|
749
|
-
},
|
|
750
|
-
204: {
|
|
751
|
-
bodyMapper: Mappers.UpdateSystemServicesResponse
|
|
752
|
-
}
|
|
753
|
-
},
|
|
754
|
-
queryParameters: [Parameters.apiVersion],
|
|
755
|
-
urlParameters: [
|
|
756
|
-
Parameters.$host,
|
|
757
|
-
Parameters.subscriptionId,
|
|
758
|
-
Parameters.resourceGroupName,
|
|
759
|
-
Parameters.clusterName
|
|
760
|
-
],
|
|
761
|
-
headerParameters: [Parameters.accept],
|
|
762
|
-
serializer
|
|
763
|
-
};
|
|
764
|
-
const listByResourceGroupOperationSpec: coreClient.OperationSpec = {
|
|
765
|
-
path:
|
|
766
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters",
|
|
767
|
-
httpMethod: "GET",
|
|
768
|
-
responses: {
|
|
769
|
-
200: {
|
|
770
|
-
bodyMapper: Mappers.PaginatedOperationalizationClustersList
|
|
771
|
-
}
|
|
772
|
-
},
|
|
773
|
-
queryParameters: [Parameters.apiVersion, Parameters.skiptoken],
|
|
774
|
-
urlParameters: [
|
|
775
|
-
Parameters.$host,
|
|
776
|
-
Parameters.subscriptionId,
|
|
777
|
-
Parameters.resourceGroupName
|
|
778
|
-
],
|
|
779
|
-
headerParameters: [Parameters.accept],
|
|
780
|
-
serializer
|
|
781
|
-
};
|
|
782
|
-
const listBySubscriptionIdOperationSpec: coreClient.OperationSpec = {
|
|
783
|
-
path:
|
|
784
|
-
"/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningCompute/operationalizationClusters",
|
|
785
|
-
httpMethod: "GET",
|
|
786
|
-
responses: {
|
|
787
|
-
200: {
|
|
788
|
-
bodyMapper: Mappers.PaginatedOperationalizationClustersList
|
|
789
|
-
}
|
|
790
|
-
},
|
|
791
|
-
queryParameters: [Parameters.apiVersion, Parameters.skiptoken],
|
|
792
|
-
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
793
|
-
headerParameters: [Parameters.accept],
|
|
794
|
-
serializer
|
|
795
|
-
};
|
|
796
|
-
const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {
|
|
797
|
-
path: "{nextLink}",
|
|
798
|
-
httpMethod: "GET",
|
|
799
|
-
responses: {
|
|
800
|
-
200: {
|
|
801
|
-
bodyMapper: Mappers.PaginatedOperationalizationClustersList
|
|
802
|
-
}
|
|
803
|
-
},
|
|
804
|
-
queryParameters: [Parameters.apiVersion, Parameters.skiptoken],
|
|
805
|
-
urlParameters: [
|
|
806
|
-
Parameters.$host,
|
|
807
|
-
Parameters.subscriptionId,
|
|
808
|
-
Parameters.resourceGroupName,
|
|
809
|
-
Parameters.nextLink
|
|
810
|
-
],
|
|
811
|
-
headerParameters: [Parameters.accept],
|
|
812
|
-
serializer
|
|
813
|
-
};
|
|
814
|
-
const listBySubscriptionIdNextOperationSpec: coreClient.OperationSpec = {
|
|
815
|
-
path: "{nextLink}",
|
|
816
|
-
httpMethod: "GET",
|
|
817
|
-
responses: {
|
|
818
|
-
200: {
|
|
819
|
-
bodyMapper: Mappers.PaginatedOperationalizationClustersList
|
|
820
|
-
}
|
|
821
|
-
},
|
|
822
|
-
queryParameters: [Parameters.apiVersion, Parameters.skiptoken],
|
|
823
|
-
urlParameters: [
|
|
824
|
-
Parameters.$host,
|
|
825
|
-
Parameters.subscriptionId,
|
|
826
|
-
Parameters.nextLink
|
|
827
|
-
],
|
|
828
|
-
headerParameters: [Parameters.accept],
|
|
829
|
-
serializer
|
|
830
|
-
};
|