@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
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
8
|
import * as coreClient from "@azure/core-client";
|
|
10
|
-
import * as Mappers from "../models/mappers";
|
|
11
|
-
import * as Parameters from "../models/parameters";
|
|
9
|
+
import * as Mappers from "../models/mappers.js";
|
|
10
|
+
import * as Parameters from "../models/parameters.js";
|
|
12
11
|
/// <reference lib="esnext.asynciterable" />
|
|
13
12
|
/** Class containing Operations operations. */
|
|
14
13
|
export class OperationsImpl {
|
|
14
|
+
client;
|
|
15
15
|
/**
|
|
16
16
|
* Initialize a new instance of the class Operations class.
|
|
17
17
|
* @param client Reference to the service client
|
|
@@ -32,34 +32,23 @@ export class OperationsImpl {
|
|
|
32
32
|
[Symbol.asyncIterator]() {
|
|
33
33
|
return this;
|
|
34
34
|
},
|
|
35
|
-
byPage: () => {
|
|
36
|
-
|
|
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);
|
|
37
40
|
}
|
|
38
41
|
};
|
|
39
42
|
}
|
|
40
|
-
listPagingPage(options) {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
});
|
|
43
|
+
async *listPagingPage(options, _settings) {
|
|
44
|
+
let result;
|
|
45
|
+
result = await this._list(options);
|
|
46
|
+
yield result.value || [];
|
|
45
47
|
}
|
|
46
|
-
listPagingAll(options) {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
for (var _b = __asyncValues(this.listPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
51
|
-
const page = _c.value;
|
|
52
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
56
|
-
finally {
|
|
57
|
-
try {
|
|
58
|
-
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
59
|
-
}
|
|
60
|
-
finally { if (e_1) throw e_1.error; }
|
|
61
|
-
}
|
|
62
|
-
});
|
|
48
|
+
async *listPagingAll(options) {
|
|
49
|
+
for await (const page of this.listPagingPage(options)) {
|
|
50
|
+
yield* page;
|
|
51
|
+
}
|
|
63
52
|
}
|
|
64
53
|
/**
|
|
65
54
|
* Lists all of the available Azure Machine Learning Team Accounts REST API operations.
|
|
@@ -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,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAAsC;QAEtC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAA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,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"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { Projects } from "../operationsInterfaces";
|
|
3
|
-
import { MLTeamAccountManagementClient } from "../mLTeamAccountManagementClient";
|
|
4
|
-
import { Project, ProjectsListByWorkspaceOptionalParams, ProjectsGetOptionalParams, ProjectsGetResponse, ProjectsCreateOrUpdateOptionalParams, ProjectsCreateOrUpdateResponse, ProjectsDeleteOptionalParams, ProjectUpdateParameters, ProjectsUpdateOptionalParams, ProjectsUpdateResponse } from "../models";
|
|
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
5
|
/** Class containing Projects operations. */
|
|
6
6
|
export declare class ProjectsImpl implements Projects {
|
|
7
7
|
private readonly client;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"projects.d.ts","sourceRoot":"","sources":["../../../src/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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"}
|
|
@@ -5,13 +5,14 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
import {
|
|
8
|
+
import { setContinuationToken } from "../pagingHelper.js";
|
|
9
9
|
import * as coreClient from "@azure/core-client";
|
|
10
|
-
import * as Mappers from "../models/mappers";
|
|
11
|
-
import * as Parameters from "../models/parameters";
|
|
10
|
+
import * as Mappers from "../models/mappers.js";
|
|
11
|
+
import * as Parameters from "../models/parameters.js";
|
|
12
12
|
/// <reference lib="esnext.asynciterable" />
|
|
13
13
|
/** Class containing Projects operations. */
|
|
14
14
|
export class ProjectsImpl {
|
|
15
|
+
client;
|
|
15
16
|
/**
|
|
16
17
|
* Initialize a new instance of the class Projects class.
|
|
17
18
|
* @param client Reference to the service client
|
|
@@ -36,40 +37,36 @@ export class ProjectsImpl {
|
|
|
36
37
|
[Symbol.asyncIterator]() {
|
|
37
38
|
return this;
|
|
38
39
|
},
|
|
39
|
-
byPage: () => {
|
|
40
|
-
|
|
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);
|
|
41
45
|
}
|
|
42
46
|
};
|
|
43
47
|
}
|
|
44
|
-
listByWorkspacePagingPage(accountName, workspaceName, resourceGroupName, options) {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
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
|
+
}
|
|
55
65
|
}
|
|
56
|
-
listByWorkspacePagingAll(accountName, workspaceName, resourceGroupName, options) {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
for (var _b = __asyncValues(this.listByWorkspacePagingPage(accountName, workspaceName, resourceGroupName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
61
|
-
const page = _c.value;
|
|
62
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
66
|
-
finally {
|
|
67
|
-
try {
|
|
68
|
-
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
69
|
-
}
|
|
70
|
-
finally { if (e_1) throw e_1.error; }
|
|
71
|
-
}
|
|
72
|
-
});
|
|
66
|
+
async *listByWorkspacePagingAll(accountName, workspaceName, resourceGroupName, options) {
|
|
67
|
+
for await (const page of this.listByWorkspacePagingPage(accountName, workspaceName, resourceGroupName, options)) {
|
|
68
|
+
yield* page;
|
|
69
|
+
}
|
|
73
70
|
}
|
|
74
71
|
/**
|
|
75
72
|
* Gets the properties of the specified machine learning project.
|
|
@@ -292,7 +289,6 @@ const listByWorkspaceNextOperationSpec = {
|
|
|
292
289
|
bodyMapper: Mappers.ErrorResponse
|
|
293
290
|
}
|
|
294
291
|
},
|
|
295
|
-
queryParameters: [Parameters.apiVersion],
|
|
296
292
|
urlParameters: [
|
|
297
293
|
Parameters.$host,
|
|
298
294
|
Parameters.subscriptionId,
|
|
@@ -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;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,M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C,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"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { Workspaces } from "../operationsInterfaces";
|
|
3
|
-
import { MLTeamAccountManagementClient } from "../mLTeamAccountManagementClient";
|
|
4
|
-
import { Workspace, WorkspacesListByAccountsOptionalParams, WorkspacesGetOptionalParams, WorkspacesGetResponse, WorkspacesCreateOrUpdateOptionalParams, WorkspacesCreateOrUpdateResponse, WorkspacesDeleteOptionalParams, WorkspaceUpdateParameters, WorkspacesUpdateOptionalParams, WorkspacesUpdateResponse } from "../models";
|
|
2
|
+
import { Workspaces } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { MLTeamAccountManagementClient } from "../mLTeamAccountManagementClient.js";
|
|
4
|
+
import { Workspace, WorkspacesListByAccountsOptionalParams, WorkspacesGetOptionalParams, WorkspacesGetResponse, WorkspacesCreateOrUpdateOptionalParams, WorkspacesCreateOrUpdateResponse, WorkspacesDeleteOptionalParams, WorkspaceUpdateParameters, WorkspacesUpdateOptionalParams, WorkspacesUpdateResponse } from "../models/index.js";
|
|
5
5
|
/** Class containing Workspaces operations. */
|
|
6
6
|
export declare class WorkspacesImpl implements Workspaces {
|
|
7
7
|
private readonly client;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workspaces.d.ts","sourceRoot":"","sources":["../../../src/operations/workspaces.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAI9D,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EACL,SAAS,EAET,sCAAsC,EAEtC,2BAA2B,EAC3B,qBAAqB,EACrB,sCAAsC,EACtC,gCAAgC,EAChC,8BAA8B,EAC9B,yBAAyB,EACzB,8BAA8B,EAC9B,wBAAwB,EAEzB,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;;;;;;OAMG;IACI,cAAc,CACnB,WAAW,EAAE,MAAM,EACnB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,sCAAsC,GAC/C,0BAA0B,CAAC,SAAS,CAAC;YA2BzB,wBAAwB;YAiCxB,uBAAuB;IActC;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,2BAA2B,GACpC,OAAO,CAAC,qBAAqB,CAAC;IAOjC;;;;;;;;OAQG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,MAAM,EACrB,UAAU,EAAE,SAAS,EACrB,OAAO,CAAC,EAAE,sCAAsC,GAC/C,OAAO,CAAC,gCAAgC,CAAC;IAO5C;;;;;;;OAOG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;;;;;OAQG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,MAAM,EACrB,UAAU,EAAE,yBAAyB,EACrC,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,wBAAwB,CAAC;IAOpC;;;;;;OAMG;IACH,OAAO,CAAC,eAAe;IAWvB;;;;;;;OAOG;IACH,OAAO,CAAC,mBAAmB;CAW5B"}
|
|
@@ -5,13 +5,14 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
import {
|
|
8
|
+
import { setContinuationToken } from "../pagingHelper.js";
|
|
9
9
|
import * as coreClient from "@azure/core-client";
|
|
10
|
-
import * as Mappers from "../models/mappers";
|
|
11
|
-
import * as Parameters from "../models/parameters";
|
|
10
|
+
import * as Mappers from "../models/mappers.js";
|
|
11
|
+
import * as Parameters from "../models/parameters.js";
|
|
12
12
|
/// <reference lib="esnext.asynciterable" />
|
|
13
13
|
/** Class containing Workspaces operations. */
|
|
14
14
|
export class WorkspacesImpl {
|
|
15
|
+
client;
|
|
15
16
|
/**
|
|
16
17
|
* Initialize a new instance of the class Workspaces class.
|
|
17
18
|
* @param client Reference to the service client
|
|
@@ -35,40 +36,36 @@ export class WorkspacesImpl {
|
|
|
35
36
|
[Symbol.asyncIterator]() {
|
|
36
37
|
return this;
|
|
37
38
|
},
|
|
38
|
-
byPage: () => {
|
|
39
|
-
|
|
39
|
+
byPage: (settings) => {
|
|
40
|
+
if (settings?.maxPageSize) {
|
|
41
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
42
|
+
}
|
|
43
|
+
return this.listByAccountsPagingPage(accountName, resourceGroupName, options, settings);
|
|
40
44
|
}
|
|
41
45
|
};
|
|
42
46
|
}
|
|
43
|
-
listByAccountsPagingPage(accountName, resourceGroupName, options) {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
47
|
+
async *listByAccountsPagingPage(accountName, resourceGroupName, options, settings) {
|
|
48
|
+
let result;
|
|
49
|
+
let continuationToken = settings?.continuationToken;
|
|
50
|
+
if (!continuationToken) {
|
|
51
|
+
result = await this._listByAccounts(accountName, resourceGroupName, options);
|
|
52
|
+
let page = result.value || [];
|
|
53
|
+
continuationToken = result.nextLink;
|
|
54
|
+
setContinuationToken(page, continuationToken);
|
|
55
|
+
yield page;
|
|
56
|
+
}
|
|
57
|
+
while (continuationToken) {
|
|
58
|
+
result = await this._listByAccountsNext(accountName, resourceGroupName, continuationToken, options);
|
|
59
|
+
continuationToken = result.nextLink;
|
|
60
|
+
let page = result.value || [];
|
|
61
|
+
setContinuationToken(page, continuationToken);
|
|
62
|
+
yield page;
|
|
63
|
+
}
|
|
54
64
|
}
|
|
55
|
-
listByAccountsPagingAll(accountName, resourceGroupName, options) {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
for (var _b = __asyncValues(this.listByAccountsPagingPage(accountName, resourceGroupName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
60
|
-
const page = _c.value;
|
|
61
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
65
|
-
finally {
|
|
66
|
-
try {
|
|
67
|
-
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
68
|
-
}
|
|
69
|
-
finally { if (e_1) throw e_1.error; }
|
|
70
|
-
}
|
|
71
|
-
});
|
|
65
|
+
async *listByAccountsPagingAll(accountName, resourceGroupName, options) {
|
|
66
|
+
for await (const page of this.listByAccountsPagingPage(accountName, resourceGroupName, options)) {
|
|
67
|
+
yield* page;
|
|
68
|
+
}
|
|
72
69
|
}
|
|
73
70
|
/**
|
|
74
71
|
* Gets the properties of the specified machine learning workspace.
|
|
@@ -266,7 +263,6 @@ const listByAccountsNextOperationSpec = {
|
|
|
266
263
|
bodyMapper: Mappers.ErrorResponse
|
|
267
264
|
}
|
|
268
265
|
},
|
|
269
|
-
queryParameters: [Parameters.apiVersion],
|
|
270
266
|
urlParameters: [
|
|
271
267
|
Parameters.$host,
|
|
272
268
|
Parameters.subscriptionId,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workspaces.js","sourceRoot":"","sources":["../../../src/operations/workspaces.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,8CAA8C;AAC9C,MAAM,OAAO,cAAc;IACR,MAAM,CAAgC;IAEvD;;;OAGG;IACH,YAAY,MAAqC;QAC/C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACI,cAAc,CACnB,WAAmB,EACnB,iBAAyB,EACzB,OAAgD;QAEhD,MAAM,IAAI,GAAG,IAAI,CAAC,uBAAuB,CACvC,WAAW,EACX,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IT 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 { Workspaces } 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 Workspace,\n WorkspacesListByAccountsNextOptionalParams,\n WorkspacesListByAccountsOptionalParams,\n WorkspacesListByAccountsResponse,\n WorkspacesGetOptionalParams,\n WorkspacesGetResponse,\n WorkspacesCreateOrUpdateOptionalParams,\n WorkspacesCreateOrUpdateResponse,\n WorkspacesDeleteOptionalParams,\n WorkspaceUpdateParameters,\n WorkspacesUpdateOptionalParams,\n WorkspacesUpdateResponse,\n WorkspacesListByAccountsNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Workspaces operations. */\nexport class WorkspacesImpl implements Workspaces {\n private readonly client: MLTeamAccountManagementClient;\n\n /**\n * Initialize a new instance of the class Workspaces 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 workspaces under the specified team account.\n * @param accountName The name of the machine learning team account.\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 listByAccounts(\n accountName: string,\n resourceGroupName: string,\n options?: WorkspacesListByAccountsOptionalParams\n ): PagedAsyncIterableIterator<Workspace> {\n const iter = this.listByAccountsPagingAll(\n accountName,\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.listByAccountsPagingPage(\n accountName,\n resourceGroupName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listByAccountsPagingPage(\n accountName: string,\n resourceGroupName: string,\n options?: WorkspacesListByAccountsOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<Workspace[]> {\n let result: WorkspacesListByAccountsResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByAccounts(\n accountName,\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._listByAccountsNext(\n accountName,\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 *listByAccountsPagingAll(\n accountName: string,\n resourceGroupName: string,\n options?: WorkspacesListByAccountsOptionalParams\n ): AsyncIterableIterator<Workspace> {\n for await (const page of this.listByAccountsPagingPage(\n accountName,\n resourceGroupName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets the properties of the specified machine learning workspace.\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 options The options parameters.\n */\n get(\n resourceGroupName: string,\n accountName: string,\n workspaceName: string,\n options?: WorkspacesGetOptionalParams\n ): Promise<WorkspacesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, workspaceName, options },\n getOperationSpec\n );\n }\n\n /**\n * Creates or updates a machine learning workspace 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 parameters The parameters for creating or updating a machine learning workspace.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n accountName: string,\n workspaceName: string,\n parameters: Workspace,\n options?: WorkspacesCreateOrUpdateOptionalParams\n ): Promise<WorkspacesCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, workspaceName, parameters, options },\n createOrUpdateOperationSpec\n );\n }\n\n /**\n * Deletes a machine learning workspace.\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 options The options parameters.\n */\n delete(\n resourceGroupName: string,\n accountName: string,\n workspaceName: string,\n options?: WorkspacesDeleteOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, workspaceName, options },\n deleteOperationSpec\n );\n }\n\n /**\n * Updates a machine learning workspace 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 parameters The parameters for updating a machine learning workspace.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n accountName: string,\n workspaceName: string,\n parameters: WorkspaceUpdateParameters,\n options?: WorkspacesUpdateOptionalParams\n ): Promise<WorkspacesUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, workspaceName, parameters, options },\n updateOperationSpec\n );\n }\n\n /**\n * Lists all the available machine learning workspaces under the specified team account.\n * @param accountName The name of the machine learning team account.\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 _listByAccounts(\n accountName: string,\n resourceGroupName: string,\n options?: WorkspacesListByAccountsOptionalParams\n ): Promise<WorkspacesListByAccountsResponse> {\n return this.client.sendOperationRequest(\n { accountName, resourceGroupName, options },\n listByAccountsOperationSpec\n );\n }\n\n /**\n * ListByAccountsNext\n * @param accountName The name of the machine learning team account.\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 ListByAccounts method.\n * @param options The options parameters.\n */\n private _listByAccountsNext(\n accountName: string,\n resourceGroupName: string,\n nextLink: string,\n options?: WorkspacesListByAccountsNextOptionalParams\n ): Promise<WorkspacesListByAccountsNextResponse> {\n return this.client.sendOperationRequest(\n { accountName, resourceGroupName, nextLink, options },\n listByAccountsNextOperationSpec\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}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Workspace\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 createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces/{workspaceName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Workspace\n },\n 201: {\n bodyMapper: Mappers.Workspace\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.parameters2,\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, 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}\",\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 ],\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}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.Workspace\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.parameters3,\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, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst listByAccountsOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.WorkspaceListResult\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 ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByAccountsNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.WorkspaceListResult\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 ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { Account, AccountsListByResourceGroupOptionalParams, AccountsListOptionalParams, AccountsGetOptionalParams, AccountsGetResponse, AccountsCreateOrUpdateOptionalParams, AccountsCreateOrUpdateResponse, AccountsDeleteOptionalParams, AccountUpdateParameters, AccountsUpdateOptionalParams, AccountsUpdateResponse } from "../models";
|
|
2
|
+
import { Account, AccountsListByResourceGroupOptionalParams, AccountsListOptionalParams, AccountsGetOptionalParams, AccountsGetResponse, AccountsCreateOrUpdateOptionalParams, AccountsCreateOrUpdateResponse, AccountsDeleteOptionalParams, AccountUpdateParameters, AccountsUpdateOptionalParams, AccountsUpdateResponse } from "../models/index.js";
|
|
3
3
|
/** Interface representing a Accounts. */
|
|
4
4
|
export interface Accounts {
|
|
5
5
|
/**
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accounts.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/accounts.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,OAAO,EACP,yCAAyC,EACzC,0BAA0B,EAC1B,yBAAyB,EACzB,mBAAmB,EACnB,oCAAoC,EACpC,8BAA8B,EAC9B,4BAA4B,EAC5B,uBAAuB,EACvB,4BAA4B,EAC5B,sBAAsB,EACvB,MAAM,oBAAoB,CAAC;AAG5B,yCAAyC;AACzC,MAAM,WAAW,QAAQ;IACvB;;;;;OAKG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,yCAAyC,GAClD,0BAA0B,CAAC,OAAO,CAAC,CAAC;IACvC;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,0BAA0B,GACnC,0BAA0B,CAAC,OAAO,CAAC,CAAC;IACvC;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,yBAAyB,GAClC,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAChC;;;;;;;OAOG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,OAAO,EACnB,OAAO,CAAC,EAAE,oCAAoC,GAC7C,OAAO,CAAC,8BAA8B,CAAC,CAAC;IAC3C;;;;;;OAMG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;;OAOG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,uBAAuB,EACnC,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC,CAAC;CACpC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accounts.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/accounts.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n Account,\n AccountsListByResourceGroupOptionalParams,\n AccountsListOptionalParams,\n AccountsGetOptionalParams,\n AccountsGetResponse,\n AccountsCreateOrUpdateOptionalParams,\n AccountsCreateOrUpdateResponse,\n AccountsDeleteOptionalParams,\n AccountUpdateParameters,\n AccountsUpdateOptionalParams,\n AccountsUpdateResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Accounts. */\nexport interface Accounts {\n /**\n * Lists all the available machine learning team accounts under the specified resource group.\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 listByResourceGroup(\n resourceGroupName: string,\n options?: AccountsListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<Account>;\n /**\n * Lists all the available machine learning team accounts under the specified subscription.\n * @param options The options parameters.\n */\n list(\n options?: AccountsListOptionalParams\n ): PagedAsyncIterableIterator<Account>;\n /**\n * Gets the properties of the specified machine learning team account.\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 options The options parameters.\n */\n get(\n resourceGroupName: string,\n accountName: string,\n options?: AccountsGetOptionalParams\n ): Promise<AccountsGetResponse>;\n /**\n * Creates or updates a team account 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 parameters The parameters for creating or updating a machine learning team account.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n accountName: string,\n parameters: Account,\n options?: AccountsCreateOrUpdateOptionalParams\n ): Promise<AccountsCreateOrUpdateResponse>;\n /**\n * Deletes a machine learning team account.\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 options The options parameters.\n */\n delete(\n resourceGroupName: string,\n accountName: string,\n options?: AccountsDeleteOptionalParams\n ): Promise<void>;\n /**\n * Updates a machine learning team account 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 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 parameters: AccountUpdateParameters,\n options?: AccountsUpdateOptionalParams\n ): Promise<AccountsUpdateResponse>;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC"}
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
export * from "./operations";
|
|
9
|
-
export * from "./accounts";
|
|
10
|
-
export * from "./workspaces";
|
|
11
|
-
export * from "./projects";
|
|
8
|
+
export * from "./operations.js";
|
|
9
|
+
export * from "./accounts.js";
|
|
10
|
+
export * from "./workspaces.js";
|
|
11
|
+
export * from "./projects.js";
|
|
12
12
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,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"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { Operation, OperationsListOptionalParams } from "../models";
|
|
2
|
+
import { Operation, OperationsListOptionalParams } from "../models/index.js";
|
|
3
3
|
/** Interface representing a Operations. */
|
|
4
4
|
export interface Operations {
|
|
5
5
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,4BAA4B,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AAG7E,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,SAAS,CAAC,CAAC;CAC1C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { Operation, OperationsListOptionalParams } from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Operations. */\nexport interface Operations {\n /**\n * Lists all of the available Azure Machine Learning Team Accounts REST API operations.\n * @param options The options parameters.\n */\n list(\n options?: OperationsListOptionalParams\n ): PagedAsyncIterableIterator<Operation>;\n}\n"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { Project, ProjectsListByWorkspaceOptionalParams, ProjectsGetOptionalParams, ProjectsGetResponse, ProjectsCreateOrUpdateOptionalParams, ProjectsCreateOrUpdateResponse, ProjectsDeleteOptionalParams, ProjectUpdateParameters, ProjectsUpdateOptionalParams, ProjectsUpdateResponse } from "../models";
|
|
2
|
+
import { Project, ProjectsListByWorkspaceOptionalParams, ProjectsGetOptionalParams, ProjectsGetResponse, ProjectsCreateOrUpdateOptionalParams, ProjectsCreateOrUpdateResponse, ProjectsDeleteOptionalParams, ProjectUpdateParameters, ProjectsUpdateOptionalParams, ProjectsUpdateResponse } from "../models/index.js";
|
|
3
3
|
/** Interface representing a Projects. */
|
|
4
4
|
export interface Projects {
|
|
5
5
|
/**
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"projects.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/projects.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,OAAO,EACP,qCAAqC,EACrC,yBAAyB,EACzB,mBAAmB,EACnB,oCAAoC,EACpC,8BAA8B,EAC9B,4BAA4B,EAC5B,uBAAuB,EACvB,4BAA4B,EAC5B,sBAAsB,EACvB,MAAM,oBAAoB,CAAC;AAG5B,yCAAyC;AACzC,MAAM,WAAW,QAAQ;IACvB;;;;;;;OAOG;IACH,eAAe,CACb,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,MAAM,EACrB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,qCAAqC,GAC9C,0BAA0B,CAAC,OAAO,CAAC,CAAC;IACvC;;;;;;;;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,CAAC;IAChC;;;;;;;;;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,CAAC;IAC3C;;;;;;;;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,CAAC;IACjB;;;;;;;;;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,CAAC;CACpC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"projects.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/projects.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n Project,\n ProjectsListByWorkspaceOptionalParams,\n ProjectsGetOptionalParams,\n ProjectsGetResponse,\n ProjectsCreateOrUpdateOptionalParams,\n ProjectsCreateOrUpdateResponse,\n ProjectsDeleteOptionalParams,\n ProjectUpdateParameters,\n ProjectsUpdateOptionalParams,\n ProjectsUpdateResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Projects. */\nexport interface Projects {\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 listByWorkspace(\n accountName: string,\n workspaceName: string,\n resourceGroupName: string,\n options?: ProjectsListByWorkspaceOptionalParams\n ): PagedAsyncIterableIterator<Project>;\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 /**\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 /**\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 /**\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}\n"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { Workspace, WorkspacesListByAccountsOptionalParams, WorkspacesGetOptionalParams, WorkspacesGetResponse, WorkspacesCreateOrUpdateOptionalParams, WorkspacesCreateOrUpdateResponse, WorkspacesDeleteOptionalParams, WorkspaceUpdateParameters, WorkspacesUpdateOptionalParams, WorkspacesUpdateResponse } from "../models";
|
|
2
|
+
import { Workspace, WorkspacesListByAccountsOptionalParams, WorkspacesGetOptionalParams, WorkspacesGetResponse, WorkspacesCreateOrUpdateOptionalParams, WorkspacesCreateOrUpdateResponse, WorkspacesDeleteOptionalParams, WorkspaceUpdateParameters, WorkspacesUpdateOptionalParams, WorkspacesUpdateResponse } from "../models/index.js";
|
|
3
3
|
/** Interface representing a Workspaces. */
|
|
4
4
|
export interface Workspaces {
|
|
5
5
|
/**
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workspaces.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/workspaces.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,SAAS,EACT,sCAAsC,EACtC,2BAA2B,EAC3B,qBAAqB,EACrB,sCAAsC,EACtC,gCAAgC,EAChC,8BAA8B,EAC9B,yBAAyB,EACzB,8BAA8B,EAC9B,wBAAwB,EACzB,MAAM,oBAAoB,CAAC;AAG5B,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;;;;OAMG;IACH,cAAc,CACZ,WAAW,EAAE,MAAM,EACnB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,sCAAsC,GAC/C,0BAA0B,CAAC,SAAS,CAAC,CAAC;IACzC;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,2BAA2B,GACpC,OAAO,CAAC,qBAAqB,CAAC,CAAC;IAClC;;;;;;;;OAQG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,MAAM,EACrB,UAAU,EAAE,SAAS,EACrB,OAAO,CAAC,EAAE,sCAAsC,GAC/C,OAAO,CAAC,gCAAgC,CAAC,CAAC;IAC7C;;;;;;;OAOG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;;;OAQG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,MAAM,EACrB,UAAU,EAAE,yBAAyB,EACrC,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,wBAAwB,CAAC,CAAC;CACtC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workspaces.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/workspaces.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n Workspace,\n WorkspacesListByAccountsOptionalParams,\n WorkspacesGetOptionalParams,\n WorkspacesGetResponse,\n WorkspacesCreateOrUpdateOptionalParams,\n WorkspacesCreateOrUpdateResponse,\n WorkspacesDeleteOptionalParams,\n WorkspaceUpdateParameters,\n WorkspacesUpdateOptionalParams,\n WorkspacesUpdateResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Workspaces. */\nexport interface Workspaces {\n /**\n * Lists all the available machine learning workspaces under the specified team account.\n * @param accountName The name of the machine learning team account.\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 listByAccounts(\n accountName: string,\n resourceGroupName: string,\n options?: WorkspacesListByAccountsOptionalParams\n ): PagedAsyncIterableIterator<Workspace>;\n /**\n * Gets the properties of the specified machine learning workspace.\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 options The options parameters.\n */\n get(\n resourceGroupName: string,\n accountName: string,\n workspaceName: string,\n options?: WorkspacesGetOptionalParams\n ): Promise<WorkspacesGetResponse>;\n /**\n * Creates or updates a machine learning workspace 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 parameters The parameters for creating or updating a machine learning workspace.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n accountName: string,\n workspaceName: string,\n parameters: Workspace,\n options?: WorkspacesCreateOrUpdateOptionalParams\n ): Promise<WorkspacesCreateOrUpdateResponse>;\n /**\n * Deletes a machine learning workspace.\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 options The options parameters.\n */\n delete(\n resourceGroupName: string,\n accountName: string,\n workspaceName: string,\n options?: WorkspacesDeleteOptionalParams\n ): Promise<void>;\n /**\n * Updates a machine learning workspace 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 parameters The parameters for updating a machine learning workspace.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n accountName: string,\n workspaceName: string,\n parameters: WorkspaceUpdateParameters,\n options?: WorkspacesUpdateOptionalParams\n ): Promise<WorkspacesUpdateResponse>;\n}\n"]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface PageInfo {
|
|
2
|
+
continuationToken?: string;
|
|
3
|
+
}
|
|
4
|
+
/**
|
|
5
|
+
* Given the last `.value` produced by the `byPage` iterator,
|
|
6
|
+
* returns a continuation token that can be used to begin paging from
|
|
7
|
+
* that point later.
|
|
8
|
+
* @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
|
|
9
|
+
* @returns The continuation token that can be passed into byPage() during future calls.
|
|
10
|
+
*/
|
|
11
|
+
export declare function getContinuationToken(page: unknown): string | undefined;
|
|
12
|
+
export declare function setContinuationToken(page: unknown, continuationToken: string | undefined): void;
|
|
13
|
+
//# sourceMappingURL=pagingHelper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pagingHelper.d.ts","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAQA,MAAM,WAAW,QAAQ;IACvB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAID;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAKtE;AAED,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,OAAO,EACb,iBAAiB,EAAE,MAAM,GAAG,SAAS,GACpC,IAAI,CAON"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
const pageMap = new WeakMap();
|
|
9
|
+
/**
|
|
10
|
+
* Given the last `.value` produced by the `byPage` iterator,
|
|
11
|
+
* returns a continuation token that can be used to begin paging from
|
|
12
|
+
* that point later.
|
|
13
|
+
* @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
|
|
14
|
+
* @returns The continuation token that can be passed into byPage() during future calls.
|
|
15
|
+
*/
|
|
16
|
+
export function getContinuationToken(page) {
|
|
17
|
+
if (typeof page !== "object" || page === null) {
|
|
18
|
+
return undefined;
|
|
19
|
+
}
|
|
20
|
+
return pageMap.get(page)?.continuationToken;
|
|
21
|
+
}
|
|
22
|
+
export function setContinuationToken(page, continuationToken) {
|
|
23
|
+
if (typeof page !== "object" || page === null || !continuationToken) {
|
|
24
|
+
return;
|
|
25
|
+
}
|
|
26
|
+
const pageInfo = pageMap.get(page) ?? {};
|
|
27
|
+
pageInfo.continuationToken = continuationToken;
|
|
28
|
+
pageMap.set(page, pageInfo);
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=pagingHelper.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAAC,IAAa;IAChD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;QAC9C,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,iBAAiB,CAAC;AAC9C,CAAC;AAED,MAAM,UAAU,oBAAoB,CAClC,IAAa,EACb,iBAAqC;IAErC,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACpE,OAAO;IACT,CAAC;IACD,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;IACzC,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC9B,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport interface PageInfo {\n continuationToken?: string;\n}\n\nconst pageMap = new WeakMap<object, PageInfo>();\n\n/**\n * Given the last `.value` produced by the `byPage` iterator,\n * returns a continuation token that can be used to begin paging from\n * that point later.\n * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.\n * @returns The continuation token that can be passed into byPage() during future calls.\n */\nexport function getContinuationToken(page: unknown): string | undefined {\n if (typeof page !== \"object\" || page === null) {\n return undefined;\n }\n return pageMap.get(page)?.continuationToken;\n}\n\nexport function setContinuationToken(\n page: unknown,\n continuationToken: string | undefined\n): void {\n if (typeof page !== \"object\" || page === null || !continuationToken) {\n return;\n }\n const pageInfo = pageMap.get(page) ?? {};\n pageInfo.continuationToken = continuationToken;\n pageMap.set(page, pageInfo);\n}\n"]}
|