@azure/arm-machinelearningexperimentation 2.0.0-beta.3 → 2.0.0-beta.5
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 +14 -4
- package/LICENSE +4 -4
- package/README.md +26 -19
- package/dist/browser/index.d.ts +5 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/index.js +4 -3
- package/dist/browser/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/mLTeamAccountManagementClient.d.ts +2 -2
- package/dist/browser/mLTeamAccountManagementClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/mLTeamAccountManagementClient.js +49 -38
- package/dist/browser/mLTeamAccountManagementClient.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/index.d.ts +25 -25
- package/dist/browser/models/index.d.ts.map +1 -0
- package/dist/browser/models/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/mappers.js +57 -27
- package/dist/browser/models/mappers.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
- package/dist/browser/models/parameters.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/accounts.d.ts +3 -3
- package/dist/browser/operations/accounts.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/accounts.js +56 -65
- package/dist/browser/operations/accounts.js.map +1 -0
- package/dist/browser/operations/index.d.ts +5 -0
- package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
- package/{dist-esm/src/operationsInterfaces → dist/browser/operations}/index.js +4 -4
- package/dist/browser/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
- package/dist/browser/operations/operations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.js +16 -27
- package/dist/browser/operations/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/projects.d.ts +3 -3
- package/dist/browser/operations/projects.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/projects.js +30 -34
- package/dist/browser/operations/projects.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/workspaces.d.ts +3 -3
- package/dist/browser/operations/workspaces.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/workspaces.js +30 -34
- package/dist/browser/operations/workspaces.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/accounts.d.ts +1 -1
- package/dist/browser/operationsInterfaces/accounts.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/accounts.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +5 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
- package/{dist-esm/src/operations → dist/browser/operationsInterfaces}/index.js +4 -4
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/projects.d.ts +1 -1
- package/dist/browser/operationsInterfaces/projects.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/projects.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/workspaces.d.ts +1 -1
- package/dist/browser/operationsInterfaces/workspaces.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/workspaces.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/pagingHelper.d.ts +13 -0
- package/dist/browser/pagingHelper.d.ts.map +1 -0
- package/dist/browser/pagingHelper.js +30 -0
- package/dist/browser/pagingHelper.js.map +1 -0
- package/dist/commonjs/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/mLTeamAccountManagementClient.d.ts +23 -0
- package/dist/commonjs/mLTeamAccountManagementClient.d.ts.map +1 -0
- package/dist/commonjs/mLTeamAccountManagementClient.js +117 -0
- package/dist/commonjs/mLTeamAccountManagementClient.js.map +1 -0
- package/dist/commonjs/models/index.d.ts +329 -0
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +10 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +17 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +554 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +18 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +156 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/accounts.d.ts +90 -0
- package/dist/commonjs/operations/accounts.d.ts.map +1 -0
- package/dist/commonjs/operations/accounts.js +362 -0
- package/dist/commonjs/operations/accounts.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +5 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +15 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/operations.d.ts +26 -0
- package/dist/commonjs/operations/operations.d.ts.map +1 -0
- package/dist/commonjs/operations/operations.js +84 -0
- package/dist/commonjs/operations/operations.js.map +1 -0
- package/dist/commonjs/operations/projects.d.ts +86 -0
- package/dist/commonjs/operations/projects.d.ts.map +1 -0
- package/dist/commonjs/operations/projects.js +308 -0
- package/dist/commonjs/operations/projects.js.map +1 -0
- package/dist/commonjs/operations/workspaces.d.ts +79 -0
- package/dist/commonjs/operations/workspaces.d.ts.map +1 -0
- package/dist/commonjs/operations/workspaces.js +281 -0
- package/dist/commonjs/operations/workspaces.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/accounts.d.ts +52 -0
- package/dist/commonjs/operationsInterfaces/accounts.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/accounts.js +10 -0
- package/dist/commonjs/operationsInterfaces/accounts.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +5 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +15 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.js +10 -0
- package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/projects.d.ts +57 -0
- package/dist/commonjs/operationsInterfaces/projects.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/projects.js +10 -0
- package/dist/commonjs/operationsInterfaces/projects.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/workspaces.d.ts +52 -0
- package/dist/commonjs/operationsInterfaces/workspaces.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/workspaces.js +10 -0
- package/dist/commonjs/operationsInterfaces/workspaces.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 -4
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/mLTeamAccountManagementClient.d.ts +23 -0
- package/dist/esm/mLTeamAccountManagementClient.d.ts.map +1 -0
- package/dist/esm/mLTeamAccountManagementClient.js +112 -0
- package/dist/esm/mLTeamAccountManagementClient.js.map +1 -0
- package/dist/esm/models/index.d.ts +329 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +9 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +17 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +551 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +18 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +153 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/accounts.d.ts +90 -0
- package/dist/esm/operations/accounts.d.ts.map +1 -0
- package/dist/esm/operations/accounts.js +357 -0
- package/dist/esm/operations/accounts.js.map +1 -0
- package/dist/esm/operations/index.d.ts +5 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +12 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/operations.d.ts +26 -0
- package/dist/esm/operations/operations.d.ts.map +1 -0
- package/dist/esm/operations/operations.js +79 -0
- package/dist/esm/operations/operations.js.map +1 -0
- package/dist/esm/operations/projects.d.ts +86 -0
- package/dist/esm/operations/projects.d.ts.map +1 -0
- package/dist/esm/operations/projects.js +303 -0
- package/dist/esm/operations/projects.js.map +1 -0
- package/dist/esm/operations/workspaces.d.ts +79 -0
- package/dist/esm/operations/workspaces.d.ts.map +1 -0
- package/dist/esm/operations/workspaces.js +276 -0
- package/dist/esm/operations/workspaces.js.map +1 -0
- package/dist/esm/operationsInterfaces/accounts.d.ts +52 -0
- package/dist/esm/operationsInterfaces/accounts.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/accounts.js +9 -0
- package/dist/esm/operationsInterfaces/accounts.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +5 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +12 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
- package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/operations.js +9 -0
- package/dist/esm/operationsInterfaces/operations.js.map +1 -0
- package/dist/esm/operationsInterfaces/projects.d.ts +57 -0
- package/dist/esm/operationsInterfaces/projects.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/projects.js +9 -0
- package/dist/esm/operationsInterfaces/projects.js.map +1 -0
- package/dist/esm/operationsInterfaces/workspaces.d.ts +52 -0
- package/dist/esm/operationsInterfaces/workspaces.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/workspaces.js +9 -0
- package/dist/esm/operationsInterfaces/workspaces.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/mLTeamAccountManagementClient.d.ts +23 -0
- package/dist/react-native/mLTeamAccountManagementClient.d.ts.map +1 -0
- package/dist/react-native/mLTeamAccountManagementClient.js +112 -0
- package/dist/react-native/mLTeamAccountManagementClient.js.map +1 -0
- package/dist/react-native/models/index.d.ts +329 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +9 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +17 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +551 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +18 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +153 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/accounts.d.ts +90 -0
- package/dist/react-native/operations/accounts.d.ts.map +1 -0
- package/dist/react-native/operations/accounts.js +357 -0
- package/dist/react-native/operations/accounts.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +5 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +12 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/operations.d.ts +26 -0
- package/dist/react-native/operations/operations.d.ts.map +1 -0
- package/dist/react-native/operations/operations.js +79 -0
- package/dist/react-native/operations/operations.js.map +1 -0
- package/dist/react-native/operations/projects.d.ts +86 -0
- package/dist/react-native/operations/projects.d.ts.map +1 -0
- package/dist/react-native/operations/projects.js +303 -0
- package/dist/react-native/operations/projects.js.map +1 -0
- package/dist/react-native/operations/workspaces.d.ts +79 -0
- package/dist/react-native/operations/workspaces.d.ts.map +1 -0
- package/dist/react-native/operations/workspaces.js +276 -0
- package/dist/react-native/operations/workspaces.js.map +1 -0
- package/dist/react-native/operationsInterfaces/accounts.d.ts +52 -0
- package/dist/react-native/operationsInterfaces/accounts.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/accounts.js +9 -0
- package/dist/react-native/operationsInterfaces/accounts.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +5 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +12 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.js +9 -0
- package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/projects.d.ts +57 -0
- package/dist/react-native/operationsInterfaces/projects.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/projects.js +9 -0
- package/dist/react-native/operationsInterfaces/projects.js.map +1 -0
- package/dist/react-native/operationsInterfaces/workspaces.d.ts +52 -0
- package/dist/react-native/operationsInterfaces/workspaces.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/workspaces.js +9 -0
- package/dist/react-native/operationsInterfaces/workspaces.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/pagingHelper.d.ts +13 -0
- package/dist/react-native/pagingHelper.d.ts.map +1 -0
- package/dist/react-native/pagingHelper.js +30 -0
- package/dist/react-native/pagingHelper.js.map +1 -0
- package/package.json +86 -76
- package/review/{arm-machinelearningexperimentation.api.md → arm-machinelearningexperimentation-node.api.md} +21 -18
- package/dist/index.js +0 -1847
- 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/accountsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/accountsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/accountsCreateOrUpdateSample.js +0 -41
- package/dist-esm/samples-dev/accountsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/accountsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/accountsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/accountsDeleteSample.js +0 -31
- package/dist-esm/samples-dev/accountsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/accountsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/accountsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/accountsGetSample.js +0 -31
- package/dist-esm/samples-dev/accountsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/accountsListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/accountsListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/accountsListByResourceGroupSample.js +0 -44
- package/dist-esm/samples-dev/accountsListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/accountsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/accountsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/accountsListSample.js +0 -43
- package/dist-esm/samples-dev/accountsListSample.js.map +0 -1
- package/dist-esm/samples-dev/accountsUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/accountsUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/accountsUpdateSample.js +0 -35
- package/dist-esm/samples-dev/accountsUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/projectsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/projectsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/projectsCreateOrUpdateSample.js +0 -39
- package/dist-esm/samples-dev/projectsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/projectsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/projectsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/projectsDeleteSample.js +0 -33
- package/dist-esm/samples-dev/projectsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/projectsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/projectsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/projectsGetSample.js +0 -33
- package/dist-esm/samples-dev/projectsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/projectsListByWorkspaceSample.d.ts +0 -2
- package/dist-esm/samples-dev/projectsListByWorkspaceSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/projectsListByWorkspaceSample.js +0 -46
- package/dist-esm/samples-dev/projectsListByWorkspaceSample.js.map +0 -1
- package/dist-esm/samples-dev/projectsUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/projectsUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/projectsUpdateSample.js +0 -37
- package/dist-esm/samples-dev/projectsUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.js +0 -37
- package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/workspacesDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/workspacesDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/workspacesDeleteSample.js +0 -32
- package/dist-esm/samples-dev/workspacesDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/workspacesGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/workspacesGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/workspacesGetSample.js +0 -32
- package/dist-esm/samples-dev/workspacesGetSample.js.map +0 -1
- package/dist-esm/samples-dev/workspacesListByAccountsSample.d.ts +0 -2
- package/dist-esm/samples-dev/workspacesListByAccountsSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/workspacesListByAccountsSample.js +0 -45
- package/dist-esm/samples-dev/workspacesListByAccountsSample.js.map +0 -1
- package/dist-esm/samples-dev/workspacesUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/workspacesUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/workspacesUpdateSample.js +0 -33
- package/dist-esm/samples-dev/workspacesUpdateSample.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -5
- package/dist-esm/src/index.d.ts.map +0 -1
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/mLTeamAccountManagementClient.d.ts.map +0 -1
- package/dist-esm/src/mLTeamAccountManagementClient.js.map +0 -1
- package/dist-esm/src/models/index.d.ts.map +0 -1
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/accounts.d.ts.map +0 -1
- package/dist-esm/src/operations/accounts.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -5
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/operations.d.ts.map +0 -1
- package/dist-esm/src/operations/operations.js.map +0 -1
- package/dist-esm/src/operations/projects.d.ts.map +0 -1
- package/dist-esm/src/operations/projects.js.map +0 -1
- package/dist-esm/src/operations/workspaces.d.ts.map +0 -1
- package/dist-esm/src/operations/workspaces.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/accounts.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/accounts.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -5
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/projects.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/projects.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/workspaces.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/workspaces.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/mLTeamAccountManagementClient.ts +0 -150
- package/src/models/index.ts +0 -389
- package/src/models/mappers.ts +0 -567
- package/src/models/parameters.ts +0 -181
- package/src/operations/accounts.ts +0 -454
- package/src/operations/index.ts +0 -12
- package/src/operations/operations.ts +0 -98
- package/src/operations/projects.ts +0 -423
- package/src/operations/workspaces.ts +0 -382
- package/src/operationsInterfaces/accounts.ts +0 -96
- package/src/operationsInterfaces/index.ts +0 -12
- package/src/operationsInterfaces/operations.ts +0 -22
- package/src/operationsInterfaces/projects.ts +0 -108
- package/src/operationsInterfaces/workspaces.ts +0 -98
- package/tsconfig.json +0 -33
- package/types/arm-machinelearningexperimentation.d.ts +0 -571
- /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/accounts.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/projects.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/workspaces.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
export * from "./operations.js";
|
|
9
|
+
export * from "./accounts.js";
|
|
10
|
+
export * from "./workspaces.js";
|
|
11
|
+
export * from "./projects.js";
|
|
12
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport * from \"./operations.js\";\nexport * from \"./accounts.js\";\nexport * from \"./workspaces.js\";\nexport * from \"./projects.js\";\n"]}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { Operations } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { MLTeamAccountManagementClient } from "../mLTeamAccountManagementClient.js";
|
|
4
|
+
import { Operation, OperationsListOptionalParams } from "../models/index.js";
|
|
5
|
+
/** Class containing Operations operations. */
|
|
6
|
+
export declare class OperationsImpl implements Operations {
|
|
7
|
+
private readonly client;
|
|
8
|
+
/**
|
|
9
|
+
* Initialize a new instance of the class Operations class.
|
|
10
|
+
* @param client Reference to the service client
|
|
11
|
+
*/
|
|
12
|
+
constructor(client: MLTeamAccountManagementClient);
|
|
13
|
+
/**
|
|
14
|
+
* Lists all of the available Azure Machine Learning Team Accounts REST API operations.
|
|
15
|
+
* @param options The options parameters.
|
|
16
|
+
*/
|
|
17
|
+
list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
|
|
18
|
+
private listPagingPage;
|
|
19
|
+
private listPagingAll;
|
|
20
|
+
/**
|
|
21
|
+
* Lists all of the available Azure Machine Learning Team Accounts REST API operations.
|
|
22
|
+
* @param options The options parameters.
|
|
23
|
+
*/
|
|
24
|
+
private _list;
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAC9E,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAI9D,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EACL,SAAS,EACT,4BAA4B,EAE7B,MAAM,oBAAoB,CAAC;AAG5B,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAgC;IAEvD;;;OAGG;gBACS,MAAM,EAAE,6BAA6B;IAIjD;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,SAAS,CAAC;YAkBzB,cAAc;YASd,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;CAKd"}
|
|
@@ -0,0 +1,79 @@
|
|
|
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 Mappers from "../models/mappers.js";
|
|
10
|
+
import * as Parameters from "../models/parameters.js";
|
|
11
|
+
/// <reference lib="esnext.asynciterable" />
|
|
12
|
+
/** Class containing Operations operations. */
|
|
13
|
+
export class OperationsImpl {
|
|
14
|
+
client;
|
|
15
|
+
/**
|
|
16
|
+
* Initialize a new instance of the class Operations class.
|
|
17
|
+
* @param client Reference to the service client
|
|
18
|
+
*/
|
|
19
|
+
constructor(client) {
|
|
20
|
+
this.client = client;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Lists all of the available Azure Machine Learning Team Accounts REST API operations.
|
|
24
|
+
* @param options The options parameters.
|
|
25
|
+
*/
|
|
26
|
+
list(options) {
|
|
27
|
+
const iter = this.listPagingAll(options);
|
|
28
|
+
return {
|
|
29
|
+
next() {
|
|
30
|
+
return iter.next();
|
|
31
|
+
},
|
|
32
|
+
[Symbol.asyncIterator]() {
|
|
33
|
+
return this;
|
|
34
|
+
},
|
|
35
|
+
byPage: (settings) => {
|
|
36
|
+
if (settings?.maxPageSize) {
|
|
37
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
38
|
+
}
|
|
39
|
+
return this.listPagingPage(options, settings);
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
async *listPagingPage(options, _settings) {
|
|
44
|
+
let result;
|
|
45
|
+
result = await this._list(options);
|
|
46
|
+
yield result.value || [];
|
|
47
|
+
}
|
|
48
|
+
async *listPagingAll(options) {
|
|
49
|
+
for await (const page of this.listPagingPage(options)) {
|
|
50
|
+
yield* page;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Lists all of the available Azure Machine Learning Team Accounts REST API operations.
|
|
55
|
+
* @param options The options parameters.
|
|
56
|
+
*/
|
|
57
|
+
_list(options) {
|
|
58
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
// Operation Specifications
|
|
62
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
63
|
+
const listOperationSpec = {
|
|
64
|
+
path: "/providers/Microsoft.MachineLearningExperimentation/operations",
|
|
65
|
+
httpMethod: "GET",
|
|
66
|
+
responses: {
|
|
67
|
+
200: {
|
|
68
|
+
bodyMapper: Mappers.OperationListResult
|
|
69
|
+
},
|
|
70
|
+
default: {
|
|
71
|
+
bodyMapper: Mappers.ErrorResponse
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
queryParameters: [Parameters.apiVersion],
|
|
75
|
+
urlParameters: [Parameters.$host],
|
|
76
|
+
headerParameters: [Parameters.accept],
|
|
77
|
+
serializer
|
|
78
|
+
};
|
|
79
|
+
//# sourceMappingURL=operations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAQtD,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAM,OAAO,cAAc;IACR,MAAM,CAAgC;IAEvD;;;OAGG;IACH,YAAY,MAAqC;QAC/C,IAAI,C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AA6B;IAClD,IAAI,EAAE,gEAAgE;IACtE,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,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 { Operations } 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 { MLTeamAccountManagementClient } from \"../mLTeamAccountManagementClient.js\";\nimport {\n Operation,\n OperationsListOptionalParams,\n OperationsListResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Operations operations. */\nexport class OperationsImpl implements Operations {\n private readonly client: MLTeamAccountManagementClient;\n\n /**\n * Initialize a new instance of the class Operations class.\n * @param client Reference to the service client\n */\n constructor(client: MLTeamAccountManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all of the available Azure Machine Learning Team Accounts REST API operations.\n * @param options The options parameters.\n */\n public list(\n options?: OperationsListOptionalParams\n ): PagedAsyncIterableIterator<Operation> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n }\n };\n }\n\n private async *listPagingPage(\n options?: OperationsListOptionalParams,\n _settings?: PageSettings\n ): AsyncIterableIterator<Operation[]> {\n let result: OperationsListResponse;\n result = await this._list(options);\n yield result.value || [];\n }\n\n private async *listPagingAll(\n options?: OperationsListOptionalParams\n ): AsyncIterableIterator<Operation> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Lists all of the available Azure Machine Learning Team Accounts REST API operations.\n * @param options The options parameters.\n */\n private _list(\n options?: OperationsListOptionalParams\n ): Promise<OperationsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.MachineLearningExperimentation/operations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { Projects } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { MLTeamAccountManagementClient } from "../mLTeamAccountManagementClient.js";
|
|
4
|
+
import { Project, ProjectsListByWorkspaceOptionalParams, ProjectsGetOptionalParams, ProjectsGetResponse, ProjectsCreateOrUpdateOptionalParams, ProjectsCreateOrUpdateResponse, ProjectsDeleteOptionalParams, ProjectUpdateParameters, ProjectsUpdateOptionalParams, ProjectsUpdateResponse } from "../models/index.js";
|
|
5
|
+
/** Class containing Projects operations. */
|
|
6
|
+
export declare class ProjectsImpl implements Projects {
|
|
7
|
+
private readonly client;
|
|
8
|
+
/**
|
|
9
|
+
* Initialize a new instance of the class Projects class.
|
|
10
|
+
* @param client Reference to the service client
|
|
11
|
+
*/
|
|
12
|
+
constructor(client: MLTeamAccountManagementClient);
|
|
13
|
+
/**
|
|
14
|
+
* Lists all the available machine learning projects under the specified workspace.
|
|
15
|
+
* @param accountName The name of the machine learning team account.
|
|
16
|
+
* @param workspaceName The name of the machine learning team account workspace.
|
|
17
|
+
* @param resourceGroupName The name of the resource group to which the machine learning team account
|
|
18
|
+
* belongs.
|
|
19
|
+
* @param options The options parameters.
|
|
20
|
+
*/
|
|
21
|
+
listByWorkspace(accountName: string, workspaceName: string, resourceGroupName: string, options?: ProjectsListByWorkspaceOptionalParams): PagedAsyncIterableIterator<Project>;
|
|
22
|
+
private listByWorkspacePagingPage;
|
|
23
|
+
private listByWorkspacePagingAll;
|
|
24
|
+
/**
|
|
25
|
+
* Gets the properties of the specified machine learning project.
|
|
26
|
+
* @param resourceGroupName The name of the resource group to which the machine learning team account
|
|
27
|
+
* belongs.
|
|
28
|
+
* @param accountName The name of the machine learning team account.
|
|
29
|
+
* @param workspaceName The name of the machine learning team account workspace.
|
|
30
|
+
* @param projectName The name of the machine learning project under a team account workspace.
|
|
31
|
+
* @param options The options parameters.
|
|
32
|
+
*/
|
|
33
|
+
get(resourceGroupName: string, accountName: string, workspaceName: string, projectName: string, options?: ProjectsGetOptionalParams): Promise<ProjectsGetResponse>;
|
|
34
|
+
/**
|
|
35
|
+
* Creates or updates a project with the specified parameters.
|
|
36
|
+
* @param resourceGroupName The name of the resource group to which the machine learning team account
|
|
37
|
+
* belongs.
|
|
38
|
+
* @param accountName The name of the machine learning team account.
|
|
39
|
+
* @param workspaceName The name of the machine learning team account workspace.
|
|
40
|
+
* @param projectName The name of the machine learning project under a team account workspace.
|
|
41
|
+
* @param parameters The parameters for creating or updating a project.
|
|
42
|
+
* @param options The options parameters.
|
|
43
|
+
*/
|
|
44
|
+
createOrUpdate(resourceGroupName: string, accountName: string, workspaceName: string, projectName: string, parameters: Project, options?: ProjectsCreateOrUpdateOptionalParams): Promise<ProjectsCreateOrUpdateResponse>;
|
|
45
|
+
/**
|
|
46
|
+
* Deletes a project.
|
|
47
|
+
* @param resourceGroupName The name of the resource group to which the machine learning team account
|
|
48
|
+
* belongs.
|
|
49
|
+
* @param accountName The name of the machine learning team account.
|
|
50
|
+
* @param workspaceName The name of the machine learning team account workspace.
|
|
51
|
+
* @param projectName The name of the machine learning project under a team account workspace.
|
|
52
|
+
* @param options The options parameters.
|
|
53
|
+
*/
|
|
54
|
+
delete(resourceGroupName: string, accountName: string, workspaceName: string, projectName: string, options?: ProjectsDeleteOptionalParams): Promise<void>;
|
|
55
|
+
/**
|
|
56
|
+
* Updates a project with the specified parameters.
|
|
57
|
+
* @param resourceGroupName The name of the resource group to which the machine learning team account
|
|
58
|
+
* belongs.
|
|
59
|
+
* @param accountName The name of the machine learning team account.
|
|
60
|
+
* @param workspaceName The name of the machine learning team account workspace.
|
|
61
|
+
* @param projectName The name of the machine learning project under a team account workspace.
|
|
62
|
+
* @param parameters The parameters for updating a machine learning team account.
|
|
63
|
+
* @param options The options parameters.
|
|
64
|
+
*/
|
|
65
|
+
update(resourceGroupName: string, accountName: string, workspaceName: string, projectName: string, parameters: ProjectUpdateParameters, options?: ProjectsUpdateOptionalParams): Promise<ProjectsUpdateResponse>;
|
|
66
|
+
/**
|
|
67
|
+
* Lists all the available machine learning projects under the specified workspace.
|
|
68
|
+
* @param accountName The name of the machine learning team account.
|
|
69
|
+
* @param workspaceName The name of the machine learning team account workspace.
|
|
70
|
+
* @param resourceGroupName The name of the resource group to which the machine learning team account
|
|
71
|
+
* belongs.
|
|
72
|
+
* @param options The options parameters.
|
|
73
|
+
*/
|
|
74
|
+
private _listByWorkspace;
|
|
75
|
+
/**
|
|
76
|
+
* ListByWorkspaceNext
|
|
77
|
+
* @param accountName The name of the machine learning team account.
|
|
78
|
+
* @param workspaceName The name of the machine learning team account workspace.
|
|
79
|
+
* @param resourceGroupName The name of the resource group to which the machine learning team account
|
|
80
|
+
* belongs.
|
|
81
|
+
* @param nextLink The nextLink from the previous successful call to the ListByWorkspace method.
|
|
82
|
+
* @param options The options parameters.
|
|
83
|
+
*/
|
|
84
|
+
private _listByWorkspaceNext;
|
|
85
|
+
}
|
|
86
|
+
//# sourceMappingURL=projects.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"projects.d.ts","sourceRoot":"","sources":["../../../src/operations/projects.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAI5D,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EACL,OAAO,EAEP,qCAAqC,EAErC,yBAAyB,EACzB,mBAAmB,EACnB,oCAAoC,EACpC,8BAA8B,EAC9B,4BAA4B,EAC5B,uBAAuB,EACvB,4BAA4B,EAC5B,sBAAsB,EAEvB,MAAM,oBAAoB,CAAC;AAG5B,4CAA4C;AAC5C,qBAAa,YAAa,YAAW,QAAQ;IAC3C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAgC;IAEvD;;;OAGG;gBACS,MAAM,EAAE,6BAA6B;IAIjD;;;;;;;OAOG;IACI,eAAe,CACpB,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,MAAM,EACrB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,qCAAqC,GAC9C,0BAA0B,CAAC,OAAO,CAAC;YA6BvB,yBAAyB;YAoCzB,wBAAwB;IAgBvC;;;;;;;;OAQG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,MAAM,EACrB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,yBAAyB,GAClC,OAAO,CAAC,mBAAmB,CAAC;IAO/B;;;;;;;;;OASG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,MAAM,EACrB,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,OAAO,EACnB,OAAO,CAAC,EAAE,oCAAoC,GAC7C,OAAO,CAAC,8BAA8B,CAAC;IAc1C;;;;;;;;OAQG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,MAAM,EACrB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;;;;;;OASG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,MAAM,EACrB,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,uBAAuB,EACnC,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC;IAclC;;;;;;;OAOG;IACH,OAAO,CAAC,gBAAgB;IAYxB;;;;;;;;OAQG;IACH,OAAO,CAAC,oBAAoB;CAY7B"}
|
|
@@ -0,0 +1,303 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { setContinuationToken } from "../pagingHelper.js";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
10
|
+
import * as Mappers from "../models/mappers.js";
|
|
11
|
+
import * as Parameters from "../models/parameters.js";
|
|
12
|
+
/// <reference lib="esnext.asynciterable" />
|
|
13
|
+
/** Class containing Projects operations. */
|
|
14
|
+
export class ProjectsImpl {
|
|
15
|
+
client;
|
|
16
|
+
/**
|
|
17
|
+
* Initialize a new instance of the class Projects class.
|
|
18
|
+
* @param client Reference to the service client
|
|
19
|
+
*/
|
|
20
|
+
constructor(client) {
|
|
21
|
+
this.client = client;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Lists all the available machine learning projects under the specified workspace.
|
|
25
|
+
* @param accountName The name of the machine learning team account.
|
|
26
|
+
* @param workspaceName The name of the machine learning team account workspace.
|
|
27
|
+
* @param resourceGroupName The name of the resource group to which the machine learning team account
|
|
28
|
+
* belongs.
|
|
29
|
+
* @param options The options parameters.
|
|
30
|
+
*/
|
|
31
|
+
listByWorkspace(accountName, workspaceName, resourceGroupName, options) {
|
|
32
|
+
const iter = this.listByWorkspacePagingAll(accountName, workspaceName, resourceGroupName, options);
|
|
33
|
+
return {
|
|
34
|
+
next() {
|
|
35
|
+
return iter.next();
|
|
36
|
+
},
|
|
37
|
+
[Symbol.asyncIterator]() {
|
|
38
|
+
return this;
|
|
39
|
+
},
|
|
40
|
+
byPage: (settings) => {
|
|
41
|
+
if (settings?.maxPageSize) {
|
|
42
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
43
|
+
}
|
|
44
|
+
return this.listByWorkspacePagingPage(accountName, workspaceName, resourceGroupName, options, settings);
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
async *listByWorkspacePagingPage(accountName, workspaceName, resourceGroupName, options, settings) {
|
|
49
|
+
let result;
|
|
50
|
+
let continuationToken = settings?.continuationToken;
|
|
51
|
+
if (!continuationToken) {
|
|
52
|
+
result = await this._listByWorkspace(accountName, workspaceName, resourceGroupName, options);
|
|
53
|
+
let page = result.value || [];
|
|
54
|
+
continuationToken = result.nextLink;
|
|
55
|
+
setContinuationToken(page, continuationToken);
|
|
56
|
+
yield page;
|
|
57
|
+
}
|
|
58
|
+
while (continuationToken) {
|
|
59
|
+
result = await this._listByWorkspaceNext(accountName, workspaceName, resourceGroupName, continuationToken, options);
|
|
60
|
+
continuationToken = result.nextLink;
|
|
61
|
+
let page = result.value || [];
|
|
62
|
+
setContinuationToken(page, continuationToken);
|
|
63
|
+
yield page;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
async *listByWorkspacePagingAll(accountName, workspaceName, resourceGroupName, options) {
|
|
67
|
+
for await (const page of this.listByWorkspacePagingPage(accountName, workspaceName, resourceGroupName, options)) {
|
|
68
|
+
yield* page;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Gets the properties of the specified machine learning project.
|
|
73
|
+
* @param resourceGroupName The name of the resource group to which the machine learning team account
|
|
74
|
+
* belongs.
|
|
75
|
+
* @param accountName The name of the machine learning team account.
|
|
76
|
+
* @param workspaceName The name of the machine learning team account workspace.
|
|
77
|
+
* @param projectName The name of the machine learning project under a team account workspace.
|
|
78
|
+
* @param options The options parameters.
|
|
79
|
+
*/
|
|
80
|
+
get(resourceGroupName, accountName, workspaceName, projectName, options) {
|
|
81
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, workspaceName, projectName, options }, getOperationSpec);
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Creates or updates a project with the specified parameters.
|
|
85
|
+
* @param resourceGroupName The name of the resource group to which the machine learning team account
|
|
86
|
+
* belongs.
|
|
87
|
+
* @param accountName The name of the machine learning team account.
|
|
88
|
+
* @param workspaceName The name of the machine learning team account workspace.
|
|
89
|
+
* @param projectName The name of the machine learning project under a team account workspace.
|
|
90
|
+
* @param parameters The parameters for creating or updating a project.
|
|
91
|
+
* @param options The options parameters.
|
|
92
|
+
*/
|
|
93
|
+
createOrUpdate(resourceGroupName, accountName, workspaceName, projectName, parameters, options) {
|
|
94
|
+
return this.client.sendOperationRequest({
|
|
95
|
+
resourceGroupName,
|
|
96
|
+
accountName,
|
|
97
|
+
workspaceName,
|
|
98
|
+
projectName,
|
|
99
|
+
parameters,
|
|
100
|
+
options
|
|
101
|
+
}, createOrUpdateOperationSpec);
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Deletes a project.
|
|
105
|
+
* @param resourceGroupName The name of the resource group to which the machine learning team account
|
|
106
|
+
* belongs.
|
|
107
|
+
* @param accountName The name of the machine learning team account.
|
|
108
|
+
* @param workspaceName The name of the machine learning team account workspace.
|
|
109
|
+
* @param projectName The name of the machine learning project under a team account workspace.
|
|
110
|
+
* @param options The options parameters.
|
|
111
|
+
*/
|
|
112
|
+
delete(resourceGroupName, accountName, workspaceName, projectName, options) {
|
|
113
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, workspaceName, projectName, options }, deleteOperationSpec);
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Updates a project with the specified parameters.
|
|
117
|
+
* @param resourceGroupName The name of the resource group to which the machine learning team account
|
|
118
|
+
* belongs.
|
|
119
|
+
* @param accountName The name of the machine learning team account.
|
|
120
|
+
* @param workspaceName The name of the machine learning team account workspace.
|
|
121
|
+
* @param projectName The name of the machine learning project under a team account workspace.
|
|
122
|
+
* @param parameters The parameters for updating a machine learning team account.
|
|
123
|
+
* @param options The options parameters.
|
|
124
|
+
*/
|
|
125
|
+
update(resourceGroupName, accountName, workspaceName, projectName, parameters, options) {
|
|
126
|
+
return this.client.sendOperationRequest({
|
|
127
|
+
resourceGroupName,
|
|
128
|
+
accountName,
|
|
129
|
+
workspaceName,
|
|
130
|
+
projectName,
|
|
131
|
+
parameters,
|
|
132
|
+
options
|
|
133
|
+
}, updateOperationSpec);
|
|
134
|
+
}
|
|
135
|
+
/**
|
|
136
|
+
* Lists all the available machine learning projects under the specified workspace.
|
|
137
|
+
* @param accountName The name of the machine learning team account.
|
|
138
|
+
* @param workspaceName The name of the machine learning team account workspace.
|
|
139
|
+
* @param resourceGroupName The name of the resource group to which the machine learning team account
|
|
140
|
+
* belongs.
|
|
141
|
+
* @param options The options parameters.
|
|
142
|
+
*/
|
|
143
|
+
_listByWorkspace(accountName, workspaceName, resourceGroupName, options) {
|
|
144
|
+
return this.client.sendOperationRequest({ accountName, workspaceName, resourceGroupName, options }, listByWorkspaceOperationSpec);
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* ListByWorkspaceNext
|
|
148
|
+
* @param accountName The name of the machine learning team account.
|
|
149
|
+
* @param workspaceName The name of the machine learning team account workspace.
|
|
150
|
+
* @param resourceGroupName The name of the resource group to which the machine learning team account
|
|
151
|
+
* belongs.
|
|
152
|
+
* @param nextLink The nextLink from the previous successful call to the ListByWorkspace method.
|
|
153
|
+
* @param options The options parameters.
|
|
154
|
+
*/
|
|
155
|
+
_listByWorkspaceNext(accountName, workspaceName, resourceGroupName, nextLink, options) {
|
|
156
|
+
return this.client.sendOperationRequest({ accountName, workspaceName, resourceGroupName, nextLink, options }, listByWorkspaceNextOperationSpec);
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
// Operation Specifications
|
|
160
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
161
|
+
const getOperationSpec = {
|
|
162
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces/{workspaceName}/projects/{projectName}",
|
|
163
|
+
httpMethod: "GET",
|
|
164
|
+
responses: {
|
|
165
|
+
200: {
|
|
166
|
+
bodyMapper: Mappers.Project
|
|
167
|
+
},
|
|
168
|
+
default: {
|
|
169
|
+
bodyMapper: Mappers.ErrorResponse
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
queryParameters: [Parameters.apiVersion],
|
|
173
|
+
urlParameters: [
|
|
174
|
+
Parameters.$host,
|
|
175
|
+
Parameters.subscriptionId,
|
|
176
|
+
Parameters.resourceGroupName,
|
|
177
|
+
Parameters.accountName,
|
|
178
|
+
Parameters.workspaceName,
|
|
179
|
+
Parameters.projectName
|
|
180
|
+
],
|
|
181
|
+
headerParameters: [Parameters.accept],
|
|
182
|
+
serializer
|
|
183
|
+
};
|
|
184
|
+
const createOrUpdateOperationSpec = {
|
|
185
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces/{workspaceName}/projects/{projectName}",
|
|
186
|
+
httpMethod: "PUT",
|
|
187
|
+
responses: {
|
|
188
|
+
200: {
|
|
189
|
+
bodyMapper: Mappers.Project
|
|
190
|
+
},
|
|
191
|
+
201: {
|
|
192
|
+
bodyMapper: Mappers.Project
|
|
193
|
+
},
|
|
194
|
+
default: {
|
|
195
|
+
bodyMapper: Mappers.ErrorResponse
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
requestBody: Parameters.parameters4,
|
|
199
|
+
queryParameters: [Parameters.apiVersion],
|
|
200
|
+
urlParameters: [
|
|
201
|
+
Parameters.$host,
|
|
202
|
+
Parameters.subscriptionId,
|
|
203
|
+
Parameters.resourceGroupName,
|
|
204
|
+
Parameters.accountName,
|
|
205
|
+
Parameters.workspaceName,
|
|
206
|
+
Parameters.projectName
|
|
207
|
+
],
|
|
208
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
209
|
+
mediaType: "json",
|
|
210
|
+
serializer
|
|
211
|
+
};
|
|
212
|
+
const deleteOperationSpec = {
|
|
213
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces/{workspaceName}/projects/{projectName}",
|
|
214
|
+
httpMethod: "DELETE",
|
|
215
|
+
responses: {
|
|
216
|
+
200: {},
|
|
217
|
+
204: {},
|
|
218
|
+
default: {
|
|
219
|
+
bodyMapper: Mappers.ErrorResponse
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
queryParameters: [Parameters.apiVersion],
|
|
223
|
+
urlParameters: [
|
|
224
|
+
Parameters.$host,
|
|
225
|
+
Parameters.subscriptionId,
|
|
226
|
+
Parameters.resourceGroupName,
|
|
227
|
+
Parameters.accountName,
|
|
228
|
+
Parameters.workspaceName,
|
|
229
|
+
Parameters.projectName
|
|
230
|
+
],
|
|
231
|
+
headerParameters: [Parameters.accept],
|
|
232
|
+
serializer
|
|
233
|
+
};
|
|
234
|
+
const updateOperationSpec = {
|
|
235
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces/{workspaceName}/projects/{projectName}",
|
|
236
|
+
httpMethod: "PATCH",
|
|
237
|
+
responses: {
|
|
238
|
+
200: {
|
|
239
|
+
bodyMapper: Mappers.Project
|
|
240
|
+
},
|
|
241
|
+
default: {
|
|
242
|
+
bodyMapper: Mappers.ErrorResponse
|
|
243
|
+
}
|
|
244
|
+
},
|
|
245
|
+
requestBody: Parameters.parameters5,
|
|
246
|
+
queryParameters: [Parameters.apiVersion],
|
|
247
|
+
urlParameters: [
|
|
248
|
+
Parameters.$host,
|
|
249
|
+
Parameters.subscriptionId,
|
|
250
|
+
Parameters.resourceGroupName,
|
|
251
|
+
Parameters.accountName,
|
|
252
|
+
Parameters.workspaceName,
|
|
253
|
+
Parameters.projectName
|
|
254
|
+
],
|
|
255
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
256
|
+
mediaType: "json",
|
|
257
|
+
serializer
|
|
258
|
+
};
|
|
259
|
+
const listByWorkspaceOperationSpec = {
|
|
260
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces/{workspaceName}/projects",
|
|
261
|
+
httpMethod: "GET",
|
|
262
|
+
responses: {
|
|
263
|
+
200: {
|
|
264
|
+
bodyMapper: Mappers.ProjectListResult
|
|
265
|
+
},
|
|
266
|
+
default: {
|
|
267
|
+
bodyMapper: Mappers.ErrorResponse
|
|
268
|
+
}
|
|
269
|
+
},
|
|
270
|
+
queryParameters: [Parameters.apiVersion],
|
|
271
|
+
urlParameters: [
|
|
272
|
+
Parameters.$host,
|
|
273
|
+
Parameters.subscriptionId,
|
|
274
|
+
Parameters.resourceGroupName,
|
|
275
|
+
Parameters.accountName,
|
|
276
|
+
Parameters.workspaceName
|
|
277
|
+
],
|
|
278
|
+
headerParameters: [Parameters.accept],
|
|
279
|
+
serializer
|
|
280
|
+
};
|
|
281
|
+
const listByWorkspaceNextOperationSpec = {
|
|
282
|
+
path: "{nextLink}",
|
|
283
|
+
httpMethod: "GET",
|
|
284
|
+
responses: {
|
|
285
|
+
200: {
|
|
286
|
+
bodyMapper: Mappers.ProjectListResult
|
|
287
|
+
},
|
|
288
|
+
default: {
|
|
289
|
+
bodyMapper: Mappers.ErrorResponse
|
|
290
|
+
}
|
|
291
|
+
},
|
|
292
|
+
urlParameters: [
|
|
293
|
+
Parameters.$host,
|
|
294
|
+
Parameters.subscriptionId,
|
|
295
|
+
Parameters.resourceGroupName,
|
|
296
|
+
Parameters.accountName,
|
|
297
|
+
Parameters.nextLink,
|
|
298
|
+
Parameters.workspaceName
|
|
299
|
+
],
|
|
300
|
+
headerParameters: [Parameters.accept],
|
|
301
|
+
serializer
|
|
302
|
+
};
|
|
303
|
+
//# sourceMappingURL=projects.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"projects.js","sourceRoot":"","sources":["../../../src/operations/projects.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;AAkBtD,4CAA4C;AAC5C,4CAA4C;AAC5C,MAAM,OAAO,YAAY;IACN,MAAM,CAAgC;IAEvD;;;OAGG;IACH,YAAY,MAAqC;QAC/C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;OAOG;IACI,eAAe,CACpB,WAAmB,EACnB,aAAqB,EACrB,iBAAyB,EACzB,OAA+C;QAE/C,MAAM,IAAI,GAAG,IAAI,CAAC,wBAAwB,CACxC,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,OAAO,CACR,CAAC;Q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E,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,aAAa;KACzB;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 { Projects } 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 { MLTeamAccountManagementClient } from \"../mLTeamAccountManagementClient.js\";\nimport {\n Project,\n ProjectsListByWorkspaceNextOptionalParams,\n ProjectsListByWorkspaceOptionalParams,\n ProjectsListByWorkspaceResponse,\n ProjectsGetOptionalParams,\n ProjectsGetResponse,\n ProjectsCreateOrUpdateOptionalParams,\n ProjectsCreateOrUpdateResponse,\n ProjectsDeleteOptionalParams,\n ProjectUpdateParameters,\n ProjectsUpdateOptionalParams,\n ProjectsUpdateResponse,\n ProjectsListByWorkspaceNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Projects operations. */\nexport class ProjectsImpl implements Projects {\n private readonly client: MLTeamAccountManagementClient;\n\n /**\n * Initialize a new instance of the class Projects class.\n * @param client Reference to the service client\n */\n constructor(client: MLTeamAccountManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all the available machine learning projects under the specified workspace.\n * @param accountName The name of the machine learning team account.\n * @param workspaceName The name of the machine learning team account workspace.\n * @param resourceGroupName The name of the resource group to which the machine learning team account\n * belongs.\n * @param options The options parameters.\n */\n public listByWorkspace(\n accountName: string,\n workspaceName: string,\n resourceGroupName: string,\n options?: ProjectsListByWorkspaceOptionalParams\n ): PagedAsyncIterableIterator<Project> {\n const iter = this.listByWorkspacePagingAll(\n accountName,\n workspaceName,\n resourceGroupName,\n options\n );\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.listByWorkspacePagingPage(\n accountName,\n workspaceName,\n resourceGroupName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listByWorkspacePagingPage(\n accountName: string,\n workspaceName: string,\n resourceGroupName: string,\n options?: ProjectsListByWorkspaceOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<Project[]> {\n let result: ProjectsListByWorkspaceResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByWorkspace(\n accountName,\n workspaceName,\n resourceGroupName,\n options\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByWorkspaceNext(\n accountName,\n workspaceName,\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 *listByWorkspacePagingAll(\n accountName: string,\n workspaceName: string,\n resourceGroupName: string,\n options?: ProjectsListByWorkspaceOptionalParams\n ): AsyncIterableIterator<Project> {\n for await (const page of this.listByWorkspacePagingPage(\n accountName,\n workspaceName,\n resourceGroupName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets the properties of the specified machine learning project.\n * @param resourceGroupName The name of the resource group to which the machine learning team account\n * belongs.\n * @param accountName The name of the machine learning team account.\n * @param workspaceName The name of the machine learning team account workspace.\n * @param projectName The name of the machine learning project under a team account workspace.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n accountName: string,\n workspaceName: string,\n projectName: string,\n options?: ProjectsGetOptionalParams\n ): Promise<ProjectsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, workspaceName, projectName, options },\n getOperationSpec\n );\n }\n\n /**\n * Creates or updates a project with the specified parameters.\n * @param resourceGroupName The name of the resource group to which the machine learning team account\n * belongs.\n * @param accountName The name of the machine learning team account.\n * @param workspaceName The name of the machine learning team account workspace.\n * @param projectName The name of the machine learning project under a team account workspace.\n * @param parameters The parameters for creating or updating a project.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n accountName: string,\n workspaceName: string,\n projectName: string,\n parameters: Project,\n options?: ProjectsCreateOrUpdateOptionalParams\n ): Promise<ProjectsCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n accountName,\n workspaceName,\n projectName,\n parameters,\n options\n },\n createOrUpdateOperationSpec\n );\n }\n\n /**\n * Deletes a project.\n * @param resourceGroupName The name of the resource group to which the machine learning team account\n * belongs.\n * @param accountName The name of the machine learning team account.\n * @param workspaceName The name of the machine learning team account workspace.\n * @param projectName The name of the machine learning project under a team account workspace.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n accountName: string,\n workspaceName: string,\n projectName: string,\n options?: ProjectsDeleteOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, workspaceName, projectName, options },\n deleteOperationSpec\n );\n }\n\n /**\n * Updates a project with the specified parameters.\n * @param resourceGroupName The name of the resource group to which the machine learning team account\n * belongs.\n * @param accountName The name of the machine learning team account.\n * @param workspaceName The name of the machine learning team account workspace.\n * @param projectName The name of the machine learning project under a team account workspace.\n * @param parameters The parameters for updating a machine learning team account.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n accountName: string,\n workspaceName: string,\n projectName: string,\n parameters: ProjectUpdateParameters,\n options?: ProjectsUpdateOptionalParams\n ): Promise<ProjectsUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n accountName,\n workspaceName,\n projectName,\n parameters,\n options\n },\n updateOperationSpec\n );\n }\n\n /**\n * Lists all the available machine learning projects under the specified workspace.\n * @param accountName The name of the machine learning team account.\n * @param workspaceName The name of the machine learning team account workspace.\n * @param resourceGroupName The name of the resource group to which the machine learning team account\n * belongs.\n * @param options The options parameters.\n */\n private _listByWorkspace(\n accountName: string,\n workspaceName: string,\n resourceGroupName: string,\n options?: ProjectsListByWorkspaceOptionalParams\n ): Promise<ProjectsListByWorkspaceResponse> {\n return this.client.sendOperationRequest(\n { accountName, workspaceName, resourceGroupName, options },\n listByWorkspaceOperationSpec\n );\n }\n\n /**\n * ListByWorkspaceNext\n * @param accountName The name of the machine learning team account.\n * @param workspaceName The name of the machine learning team account workspace.\n * @param resourceGroupName The name of the resource group to which the machine learning team account\n * belongs.\n * @param nextLink The nextLink from the previous successful call to the ListByWorkspace method.\n * @param options The options parameters.\n */\n private _listByWorkspaceNext(\n accountName: string,\n workspaceName: string,\n resourceGroupName: string,\n nextLink: string,\n options?: ProjectsListByWorkspaceNextOptionalParams\n ): Promise<ProjectsListByWorkspaceNextResponse> {\n return this.client.sendOperationRequest(\n { accountName, workspaceName, resourceGroupName, nextLink, options },\n listByWorkspaceNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces/{workspaceName}/projects/{projectName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Project\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.workspaceName,\n Parameters.projectName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces/{workspaceName}/projects/{projectName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Project\n },\n 201: {\n bodyMapper: Mappers.Project\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.parameters4,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.workspaceName,\n Parameters.projectName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces/{workspaceName}/projects/{projectName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.workspaceName,\n Parameters.projectName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces/{workspaceName}/projects/{projectName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.Project\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.parameters5,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.workspaceName,\n Parameters.projectName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst listByWorkspaceOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces/{workspaceName}/projects\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ProjectListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.workspaceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByWorkspaceNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ProjectListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.nextLink,\n Parameters.workspaceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|