@azure/arm-workspaces 1.1.1-alpha.20250210.1 → 1.1.1-alpha.20250211.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -14
- package/dist/browser/index.d.ts +5 -0
- package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/index.js +4 -4
- package/dist/browser/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/machineLearningWorkspacesManagementClient.d.ts +2 -2
- package/dist/browser/machineLearningWorkspacesManagementClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/machineLearningWorkspacesManagementClient.js +15 -18
- package/dist/browser/machineLearningWorkspacesManagementClient.js.map +1 -0
- package/dist/browser/models/index.js.map +1 -0
- package/dist/browser/models/mappers.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
- package/dist/browser/models/parameters.js.map +1 -0
- package/dist/browser/operations/index.d.ts +3 -0
- package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/operations/index.js +2 -2
- package/dist/browser/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
- package/dist/browser/operations/operations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.js +2 -2
- package/dist/browser/operations/operations.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 +3 -3
- package/dist/browser/operations/workspaces.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +3 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/index.js +2 -2
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/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/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.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/machineLearningWorkspacesManagementClient.d.ts +21 -0
- package/dist/commonjs/machineLearningWorkspacesManagementClient.d.ts.map +1 -0
- package/dist/commonjs/machineLearningWorkspacesManagementClient.js +103 -0
- package/dist/commonjs/machineLearningWorkspacesManagementClient.js.map +1 -0
- package/dist/commonjs/models/index.d.ts +190 -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 +12 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +333 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +12 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +105 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +3 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +13 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/operations.d.ts +26 -0
- package/dist/commonjs/operations/operations.d.ts.map +1 -0
- package/dist/commonjs/operations/operations.js +100 -0
- package/dist/commonjs/operations/operations.js.map +1 -0
- package/dist/commonjs/operations/workspaces.d.ts +106 -0
- package/dist/commonjs/operations/workspaces.d.ts.map +1 -0
- package/dist/commonjs/operations/workspaces.js +454 -0
- package/dist/commonjs/operations/workspaces.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +3 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +13 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/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/workspaces.d.ts +68 -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 +36 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/{src/index.ts → dist/esm/index.js} +5 -5
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/machineLearningWorkspacesManagementClient.d.ts +21 -0
- package/dist/esm/machineLearningWorkspacesManagementClient.d.ts.map +1 -0
- package/dist/esm/machineLearningWorkspacesManagementClient.js +98 -0
- package/dist/esm/machineLearningWorkspacesManagementClient.js.map +1 -0
- package/dist/esm/models/index.d.ts +190 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/{src/operations/index.ts → dist/esm/models/index.js} +2 -3
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +12 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +330 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +12 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +102 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/index.d.ts +3 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +10 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/operations.d.ts +26 -0
- package/dist/esm/operations/operations.d.ts.map +1 -0
- package/dist/esm/operations/operations.js +96 -0
- package/dist/esm/operations/operations.js.map +1 -0
- package/dist/esm/operations/workspaces.d.ts +106 -0
- package/dist/esm/operations/workspaces.d.ts.map +1 -0
- package/dist/esm/operations/workspaces.js +450 -0
- package/dist/esm/operations/workspaces.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +3 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +10 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/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/workspaces.d.ts +68 -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 +32 -0
- package/dist/esm/pagingHelper.js.map +1 -0
- package/dist/react-native/index.d.ts +5 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +13 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/machineLearningWorkspacesManagementClient.d.ts +21 -0
- package/dist/react-native/machineLearningWorkspacesManagementClient.d.ts.map +1 -0
- package/dist/react-native/machineLearningWorkspacesManagementClient.js +98 -0
- package/dist/react-native/machineLearningWorkspacesManagementClient.js.map +1 -0
- package/dist/react-native/models/index.d.ts +190 -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 +12 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +330 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +12 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +102 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +3 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +10 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/operations.d.ts +26 -0
- package/dist/react-native/operations/operations.d.ts.map +1 -0
- package/dist/react-native/operations/operations.js +96 -0
- package/dist/react-native/operations/operations.js.map +1 -0
- package/dist/react-native/operations/workspaces.d.ts +106 -0
- package/dist/react-native/operations/workspaces.d.ts.map +1 -0
- package/dist/react-native/operations/workspaces.js +450 -0
- package/dist/react-native/operations/workspaces.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +3 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +10 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/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/workspaces.d.ts +68 -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 +32 -0
- package/dist/react-native/pagingHelper.js.map +1 -0
- package/package.json +69 -40
- package/dist/index.js +0 -1142
- 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/listWorkspaceKeys.d.ts +0 -2
- package/dist-esm/samples-dev/listWorkspaceKeys.d.ts.map +0 -1
- package/dist-esm/samples-dev/listWorkspaceKeys.js +0 -29
- package/dist-esm/samples-dev/listWorkspaceKeys.js.map +0 -1
- package/dist-esm/samples-dev/resyncStorageKeys.d.ts +0 -2
- package/dist-esm/samples-dev/resyncStorageKeys.d.ts.map +0 -1
- package/dist-esm/samples-dev/resyncStorageKeys.js +0 -29
- package/dist-esm/samples-dev/resyncStorageKeys.js.map +0 -1
- package/dist-esm/samples-dev/workspaceCreate.d.ts +0 -2
- package/dist-esm/samples-dev/workspaceCreate.d.ts.map +0 -1
- package/dist-esm/samples-dev/workspaceCreate.js +0 -23
- package/dist-esm/samples-dev/workspaceCreate.js.map +0 -1
- package/dist-esm/samples-dev/workspaceDelete.d.ts +0 -2
- package/dist-esm/samples-dev/workspaceDelete.d.ts.map +0 -1
- package/dist-esm/samples-dev/workspaceDelete.js +0 -29
- package/dist-esm/samples-dev/workspaceDelete.js.map +0 -1
- package/dist-esm/samples-dev/workspaceGet.d.ts +0 -2
- package/dist-esm/samples-dev/workspaceGet.d.ts.map +0 -1
- package/dist-esm/samples-dev/workspaceGet.js +0 -29
- package/dist-esm/samples-dev/workspaceGet.js.map +0 -1
- package/dist-esm/samples-dev/workspaceGetBySubscription.d.ts +0 -2
- package/dist-esm/samples-dev/workspaceGetBySubscription.d.ts.map +0 -1
- package/dist-esm/samples-dev/workspaceGetBySubscription.js +0 -43
- package/dist-esm/samples-dev/workspaceGetBySubscription.js.map +0 -1
- package/dist-esm/samples-dev/workspaceListResourceGroup.d.ts +0 -2
- package/dist-esm/samples-dev/workspaceListResourceGroup.d.ts.map +0 -1
- package/dist-esm/samples-dev/workspaceListResourceGroup.js +0 -44
- package/dist-esm/samples-dev/workspaceListResourceGroup.js.map +0 -1
- package/dist-esm/samples-dev/workspaceUpdate.d.ts +0 -2
- package/dist-esm/samples-dev/workspaceUpdate.d.ts.map +0 -1
- package/dist-esm/samples-dev/workspaceUpdate.js +0 -21
- package/dist-esm/samples-dev/workspaceUpdate.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 -29
- 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 -29
- 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 -29
- package/dist-esm/samples-dev/workspacesGetSample.js.map +0 -1
- package/dist-esm/samples-dev/workspacesListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/workspacesListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js +0 -44
- package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/workspacesListSample.d.ts +0 -2
- package/dist-esm/samples-dev/workspacesListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/workspacesListSample.js +0 -43
- package/dist-esm/samples-dev/workspacesListSample.js.map +0 -1
- package/dist-esm/samples-dev/workspacesListWorkspaceKeysSample.d.ts +0 -2
- package/dist-esm/samples-dev/workspacesListWorkspaceKeysSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/workspacesListWorkspaceKeysSample.js +0 -29
- package/dist-esm/samples-dev/workspacesListWorkspaceKeysSample.js.map +0 -1
- package/dist-esm/samples-dev/workspacesResyncStorageKeysSample.d.ts +0 -2
- package/dist-esm/samples-dev/workspacesResyncStorageKeysSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/workspacesResyncStorageKeysSample.js +0 -29
- package/dist-esm/samples-dev/workspacesResyncStorageKeysSample.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 -27
- package/dist-esm/samples-dev/workspacesUpdateSample.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -5
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/machineLearningWorkspacesManagementClient.d.ts.map +0 -1
- package/dist-esm/src/machineLearningWorkspacesManagementClient.js.map +0 -1
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -3
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/operations.d.ts.map +0 -1
- package/dist-esm/src/operations/operations.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/index.d.ts +0 -3
- 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/workspaces.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/workspaces.js.map +0 -1
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/test/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -42
- package/dist-esm/test/sampleTest.js.map +0 -1
- package/src/machineLearningWorkspacesManagementClient.ts +0 -142
- package/src/models/index.ts +0 -238
- package/src/models/mappers.ts +0 -351
- package/src/models/parameters.ts +0 -120
- package/src/operations/operations.ts +0 -103
- package/src/operations/workspaces.ts +0 -561
- package/src/operationsInterfaces/index.ts +0 -10
- package/src/operationsInterfaces/operations.ts +0 -22
- package/src/operationsInterfaces/workspaces.ts +0 -123
- package/src/pagingHelper.ts +0 -39
- package/tsconfig.json +0 -37
- package/types/arm-workspaces.d.ts +0 -327
- /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/workspaces.js +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
- /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
|
|
10
|
-
import { Operations } from "../operationsInterfaces";
|
|
11
|
-
import * as coreClient from "@azure/core-client";
|
|
12
|
-
import * as Mappers from "../models/mappers";
|
|
13
|
-
import * as Parameters from "../models/parameters";
|
|
14
|
-
import { MachineLearningWorkspacesManagementClient } from "../machineLearningWorkspacesManagementClient";
|
|
15
|
-
import {
|
|
16
|
-
Operation,
|
|
17
|
-
OperationsListOptionalParams,
|
|
18
|
-
OperationsListResponse
|
|
19
|
-
} from "../models";
|
|
20
|
-
|
|
21
|
-
/// <reference lib="esnext.asynciterable" />
|
|
22
|
-
/** Class containing Operations operations. */
|
|
23
|
-
export class OperationsImpl implements Operations {
|
|
24
|
-
private readonly client: MachineLearningWorkspacesManagementClient;
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* Initialize a new instance of the class Operations class.
|
|
28
|
-
* @param client Reference to the service client
|
|
29
|
-
*/
|
|
30
|
-
constructor(client: MachineLearningWorkspacesManagementClient) {
|
|
31
|
-
this.client = client;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* Lists all of the available Azure Machine Learning Studio REST API operations.
|
|
36
|
-
* @param options The options parameters.
|
|
37
|
-
*/
|
|
38
|
-
public list(
|
|
39
|
-
options?: OperationsListOptionalParams
|
|
40
|
-
): PagedAsyncIterableIterator<Operation> {
|
|
41
|
-
const iter = this.listPagingAll(options);
|
|
42
|
-
return {
|
|
43
|
-
next() {
|
|
44
|
-
return iter.next();
|
|
45
|
-
},
|
|
46
|
-
[Symbol.asyncIterator]() {
|
|
47
|
-
return this;
|
|
48
|
-
},
|
|
49
|
-
byPage: (settings?: PageSettings) => {
|
|
50
|
-
if (settings?.maxPageSize) {
|
|
51
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
52
|
-
}
|
|
53
|
-
return this.listPagingPage(options, settings);
|
|
54
|
-
}
|
|
55
|
-
};
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
private async *listPagingPage(
|
|
59
|
-
options?: OperationsListOptionalParams,
|
|
60
|
-
_settings?: PageSettings
|
|
61
|
-
): AsyncIterableIterator<Operation[]> {
|
|
62
|
-
let result: OperationsListResponse;
|
|
63
|
-
result = await this._list(options);
|
|
64
|
-
yield result.value || [];
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
private async *listPagingAll(
|
|
68
|
-
options?: OperationsListOptionalParams
|
|
69
|
-
): AsyncIterableIterator<Operation> {
|
|
70
|
-
for await (const page of this.listPagingPage(options)) {
|
|
71
|
-
yield* page;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* Lists all of the available Azure Machine Learning Studio REST API operations.
|
|
77
|
-
* @param options The options parameters.
|
|
78
|
-
*/
|
|
79
|
-
private _list(
|
|
80
|
-
options?: OperationsListOptionalParams
|
|
81
|
-
): Promise<OperationsListResponse> {
|
|
82
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
// Operation Specifications
|
|
86
|
-
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
87
|
-
|
|
88
|
-
const listOperationSpec: coreClient.OperationSpec = {
|
|
89
|
-
path: "/providers/Microsoft.MachineLearning/operations",
|
|
90
|
-
httpMethod: "GET",
|
|
91
|
-
responses: {
|
|
92
|
-
200: {
|
|
93
|
-
bodyMapper: Mappers.OperationListResult
|
|
94
|
-
},
|
|
95
|
-
default: {
|
|
96
|
-
bodyMapper: Mappers.ErrorResponse
|
|
97
|
-
}
|
|
98
|
-
},
|
|
99
|
-
queryParameters: [Parameters.apiVersion],
|
|
100
|
-
urlParameters: [Parameters.$host],
|
|
101
|
-
headerParameters: [Parameters.accept],
|
|
102
|
-
serializer
|
|
103
|
-
};
|
|
@@ -1,561 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
|
|
10
|
-
import { setContinuationToken } from "../pagingHelper";
|
|
11
|
-
import { Workspaces } from "../operationsInterfaces";
|
|
12
|
-
import * as coreClient from "@azure/core-client";
|
|
13
|
-
import * as Mappers from "../models/mappers";
|
|
14
|
-
import * as Parameters from "../models/parameters";
|
|
15
|
-
import { MachineLearningWorkspacesManagementClient } from "../machineLearningWorkspacesManagementClient";
|
|
16
|
-
import {
|
|
17
|
-
Workspace,
|
|
18
|
-
WorkspacesListByResourceGroupNextOptionalParams,
|
|
19
|
-
WorkspacesListByResourceGroupOptionalParams,
|
|
20
|
-
WorkspacesListByResourceGroupResponse,
|
|
21
|
-
WorkspacesListNextOptionalParams,
|
|
22
|
-
WorkspacesListOptionalParams,
|
|
23
|
-
WorkspacesListResponse,
|
|
24
|
-
WorkspacesGetOptionalParams,
|
|
25
|
-
WorkspacesGetResponse,
|
|
26
|
-
WorkspacesCreateOrUpdateOptionalParams,
|
|
27
|
-
WorkspacesCreateOrUpdateResponse,
|
|
28
|
-
WorkspacesDeleteOptionalParams,
|
|
29
|
-
WorkspaceUpdateParameters,
|
|
30
|
-
WorkspacesUpdateOptionalParams,
|
|
31
|
-
WorkspacesUpdateResponse,
|
|
32
|
-
WorkspacesResyncStorageKeysOptionalParams,
|
|
33
|
-
WorkspacesListWorkspaceKeysOptionalParams,
|
|
34
|
-
WorkspacesListWorkspaceKeysResponse,
|
|
35
|
-
WorkspacesListByResourceGroupNextResponse,
|
|
36
|
-
WorkspacesListNextResponse
|
|
37
|
-
} from "../models";
|
|
38
|
-
|
|
39
|
-
/// <reference lib="esnext.asynciterable" />
|
|
40
|
-
/** Class containing Workspaces operations. */
|
|
41
|
-
export class WorkspacesImpl implements Workspaces {
|
|
42
|
-
private readonly client: MachineLearningWorkspacesManagementClient;
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* Initialize a new instance of the class Workspaces class.
|
|
46
|
-
* @param client Reference to the service client
|
|
47
|
-
*/
|
|
48
|
-
constructor(client: MachineLearningWorkspacesManagementClient) {
|
|
49
|
-
this.client = client;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
/**
|
|
53
|
-
* Lists all the available machine learning workspaces under the specified resource group.
|
|
54
|
-
* @param resourceGroupName The name of the resource group to which the machine learning workspace
|
|
55
|
-
* belongs.
|
|
56
|
-
* @param options The options parameters.
|
|
57
|
-
*/
|
|
58
|
-
public listByResourceGroup(
|
|
59
|
-
resourceGroupName: string,
|
|
60
|
-
options?: WorkspacesListByResourceGroupOptionalParams
|
|
61
|
-
): PagedAsyncIterableIterator<Workspace> {
|
|
62
|
-
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
|
|
63
|
-
return {
|
|
64
|
-
next() {
|
|
65
|
-
return iter.next();
|
|
66
|
-
},
|
|
67
|
-
[Symbol.asyncIterator]() {
|
|
68
|
-
return this;
|
|
69
|
-
},
|
|
70
|
-
byPage: (settings?: PageSettings) => {
|
|
71
|
-
if (settings?.maxPageSize) {
|
|
72
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
73
|
-
}
|
|
74
|
-
return this.listByResourceGroupPagingPage(
|
|
75
|
-
resourceGroupName,
|
|
76
|
-
options,
|
|
77
|
-
settings
|
|
78
|
-
);
|
|
79
|
-
}
|
|
80
|
-
};
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
private async *listByResourceGroupPagingPage(
|
|
84
|
-
resourceGroupName: string,
|
|
85
|
-
options?: WorkspacesListByResourceGroupOptionalParams,
|
|
86
|
-
settings?: PageSettings
|
|
87
|
-
): AsyncIterableIterator<Workspace[]> {
|
|
88
|
-
let result: WorkspacesListByResourceGroupResponse;
|
|
89
|
-
let continuationToken = settings?.continuationToken;
|
|
90
|
-
if (!continuationToken) {
|
|
91
|
-
result = await this._listByResourceGroup(resourceGroupName, options);
|
|
92
|
-
let page = result.value || [];
|
|
93
|
-
continuationToken = result.nextLink;
|
|
94
|
-
setContinuationToken(page, continuationToken);
|
|
95
|
-
yield page;
|
|
96
|
-
}
|
|
97
|
-
while (continuationToken) {
|
|
98
|
-
result = await this._listByResourceGroupNext(
|
|
99
|
-
resourceGroupName,
|
|
100
|
-
continuationToken,
|
|
101
|
-
options
|
|
102
|
-
);
|
|
103
|
-
continuationToken = result.nextLink;
|
|
104
|
-
let page = result.value || [];
|
|
105
|
-
setContinuationToken(page, continuationToken);
|
|
106
|
-
yield page;
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
private async *listByResourceGroupPagingAll(
|
|
111
|
-
resourceGroupName: string,
|
|
112
|
-
options?: WorkspacesListByResourceGroupOptionalParams
|
|
113
|
-
): AsyncIterableIterator<Workspace> {
|
|
114
|
-
for await (const page of this.listByResourceGroupPagingPage(
|
|
115
|
-
resourceGroupName,
|
|
116
|
-
options
|
|
117
|
-
)) {
|
|
118
|
-
yield* page;
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
/**
|
|
123
|
-
* Lists all the available machine learning workspaces under the specified subscription.
|
|
124
|
-
* @param options The options parameters.
|
|
125
|
-
*/
|
|
126
|
-
public list(
|
|
127
|
-
options?: WorkspacesListOptionalParams
|
|
128
|
-
): PagedAsyncIterableIterator<Workspace> {
|
|
129
|
-
const iter = this.listPagingAll(options);
|
|
130
|
-
return {
|
|
131
|
-
next() {
|
|
132
|
-
return iter.next();
|
|
133
|
-
},
|
|
134
|
-
[Symbol.asyncIterator]() {
|
|
135
|
-
return this;
|
|
136
|
-
},
|
|
137
|
-
byPage: (settings?: PageSettings) => {
|
|
138
|
-
if (settings?.maxPageSize) {
|
|
139
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
140
|
-
}
|
|
141
|
-
return this.listPagingPage(options, settings);
|
|
142
|
-
}
|
|
143
|
-
};
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
private async *listPagingPage(
|
|
147
|
-
options?: WorkspacesListOptionalParams,
|
|
148
|
-
settings?: PageSettings
|
|
149
|
-
): AsyncIterableIterator<Workspace[]> {
|
|
150
|
-
let result: WorkspacesListResponse;
|
|
151
|
-
let continuationToken = settings?.continuationToken;
|
|
152
|
-
if (!continuationToken) {
|
|
153
|
-
result = await this._list(options);
|
|
154
|
-
let page = result.value || [];
|
|
155
|
-
continuationToken = result.nextLink;
|
|
156
|
-
setContinuationToken(page, continuationToken);
|
|
157
|
-
yield page;
|
|
158
|
-
}
|
|
159
|
-
while (continuationToken) {
|
|
160
|
-
result = await this._listNext(continuationToken, options);
|
|
161
|
-
continuationToken = result.nextLink;
|
|
162
|
-
let page = result.value || [];
|
|
163
|
-
setContinuationToken(page, continuationToken);
|
|
164
|
-
yield page;
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
private async *listPagingAll(
|
|
169
|
-
options?: WorkspacesListOptionalParams
|
|
170
|
-
): AsyncIterableIterator<Workspace> {
|
|
171
|
-
for await (const page of this.listPagingPage(options)) {
|
|
172
|
-
yield* page;
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
/**
|
|
177
|
-
* Gets the properties of the specified machine learning workspace.
|
|
178
|
-
* @param resourceGroupName The name of the resource group to which the machine learning workspace
|
|
179
|
-
* belongs.
|
|
180
|
-
* @param workspaceName The name of the machine learning workspace.
|
|
181
|
-
* @param options The options parameters.
|
|
182
|
-
*/
|
|
183
|
-
get(
|
|
184
|
-
resourceGroupName: string,
|
|
185
|
-
workspaceName: string,
|
|
186
|
-
options?: WorkspacesGetOptionalParams
|
|
187
|
-
): Promise<WorkspacesGetResponse> {
|
|
188
|
-
return this.client.sendOperationRequest(
|
|
189
|
-
{ resourceGroupName, workspaceName, options },
|
|
190
|
-
getOperationSpec
|
|
191
|
-
);
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
/**
|
|
195
|
-
* Creates or updates a workspace with the specified parameters.
|
|
196
|
-
* @param resourceGroupName The name of the resource group to which the machine learning workspace
|
|
197
|
-
* belongs.
|
|
198
|
-
* @param workspaceName The name of the machine learning workspace.
|
|
199
|
-
* @param parameters The parameters for creating or updating a machine learning workspace.
|
|
200
|
-
* @param options The options parameters.
|
|
201
|
-
*/
|
|
202
|
-
createOrUpdate(
|
|
203
|
-
resourceGroupName: string,
|
|
204
|
-
workspaceName: string,
|
|
205
|
-
parameters: Workspace,
|
|
206
|
-
options?: WorkspacesCreateOrUpdateOptionalParams
|
|
207
|
-
): Promise<WorkspacesCreateOrUpdateResponse> {
|
|
208
|
-
return this.client.sendOperationRequest(
|
|
209
|
-
{ resourceGroupName, workspaceName, parameters, options },
|
|
210
|
-
createOrUpdateOperationSpec
|
|
211
|
-
);
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
/**
|
|
215
|
-
* Deletes a machine learning workspace.
|
|
216
|
-
* @param resourceGroupName The name of the resource group to which the machine learning workspace
|
|
217
|
-
* belongs.
|
|
218
|
-
* @param workspaceName The name of the machine learning workspace.
|
|
219
|
-
* @param options The options parameters.
|
|
220
|
-
*/
|
|
221
|
-
delete(
|
|
222
|
-
resourceGroupName: string,
|
|
223
|
-
workspaceName: string,
|
|
224
|
-
options?: WorkspacesDeleteOptionalParams
|
|
225
|
-
): Promise<void> {
|
|
226
|
-
return this.client.sendOperationRequest(
|
|
227
|
-
{ resourceGroupName, workspaceName, options },
|
|
228
|
-
deleteOperationSpec
|
|
229
|
-
);
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
/**
|
|
233
|
-
* Updates a machine learning workspace with the specified parameters.
|
|
234
|
-
* @param resourceGroupName The name of the resource group to which the machine learning workspace
|
|
235
|
-
* belongs.
|
|
236
|
-
* @param workspaceName The name of the machine learning workspace.
|
|
237
|
-
* @param parameters The parameters for updating a machine learning workspace.
|
|
238
|
-
* @param options The options parameters.
|
|
239
|
-
*/
|
|
240
|
-
update(
|
|
241
|
-
resourceGroupName: string,
|
|
242
|
-
workspaceName: string,
|
|
243
|
-
parameters: WorkspaceUpdateParameters,
|
|
244
|
-
options?: WorkspacesUpdateOptionalParams
|
|
245
|
-
): Promise<WorkspacesUpdateResponse> {
|
|
246
|
-
return this.client.sendOperationRequest(
|
|
247
|
-
{ resourceGroupName, workspaceName, parameters, options },
|
|
248
|
-
updateOperationSpec
|
|
249
|
-
);
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
/**
|
|
253
|
-
* Resync storage keys associated with this workspace.
|
|
254
|
-
* @param workspaceName The name of the machine learning workspace.
|
|
255
|
-
* @param resourceGroupName The name of the resource group to which the machine learning workspace
|
|
256
|
-
* belongs.
|
|
257
|
-
* @param options The options parameters.
|
|
258
|
-
*/
|
|
259
|
-
resyncStorageKeys(
|
|
260
|
-
workspaceName: string,
|
|
261
|
-
resourceGroupName: string,
|
|
262
|
-
options?: WorkspacesResyncStorageKeysOptionalParams
|
|
263
|
-
): Promise<void> {
|
|
264
|
-
return this.client.sendOperationRequest(
|
|
265
|
-
{ workspaceName, resourceGroupName, options },
|
|
266
|
-
resyncStorageKeysOperationSpec
|
|
267
|
-
);
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
/**
|
|
271
|
-
* List the authorization keys associated with this workspace.
|
|
272
|
-
* @param workspaceName The name of the machine learning workspace.
|
|
273
|
-
* @param resourceGroupName The name of the resource group to which the machine learning workspace
|
|
274
|
-
* belongs.
|
|
275
|
-
* @param options The options parameters.
|
|
276
|
-
*/
|
|
277
|
-
listWorkspaceKeys(
|
|
278
|
-
workspaceName: string,
|
|
279
|
-
resourceGroupName: string,
|
|
280
|
-
options?: WorkspacesListWorkspaceKeysOptionalParams
|
|
281
|
-
): Promise<WorkspacesListWorkspaceKeysResponse> {
|
|
282
|
-
return this.client.sendOperationRequest(
|
|
283
|
-
{ workspaceName, resourceGroupName, options },
|
|
284
|
-
listWorkspaceKeysOperationSpec
|
|
285
|
-
);
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
/**
|
|
289
|
-
* Lists all the available machine learning workspaces under the specified resource group.
|
|
290
|
-
* @param resourceGroupName The name of the resource group to which the machine learning workspace
|
|
291
|
-
* belongs.
|
|
292
|
-
* @param options The options parameters.
|
|
293
|
-
*/
|
|
294
|
-
private _listByResourceGroup(
|
|
295
|
-
resourceGroupName: string,
|
|
296
|
-
options?: WorkspacesListByResourceGroupOptionalParams
|
|
297
|
-
): Promise<WorkspacesListByResourceGroupResponse> {
|
|
298
|
-
return this.client.sendOperationRequest(
|
|
299
|
-
{ resourceGroupName, options },
|
|
300
|
-
listByResourceGroupOperationSpec
|
|
301
|
-
);
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
/**
|
|
305
|
-
* Lists all the available machine learning workspaces under the specified subscription.
|
|
306
|
-
* @param options The options parameters.
|
|
307
|
-
*/
|
|
308
|
-
private _list(
|
|
309
|
-
options?: WorkspacesListOptionalParams
|
|
310
|
-
): Promise<WorkspacesListResponse> {
|
|
311
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
/**
|
|
315
|
-
* ListByResourceGroupNext
|
|
316
|
-
* @param resourceGroupName The name of the resource group to which the machine learning workspace
|
|
317
|
-
* belongs.
|
|
318
|
-
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
319
|
-
* @param options The options parameters.
|
|
320
|
-
*/
|
|
321
|
-
private _listByResourceGroupNext(
|
|
322
|
-
resourceGroupName: string,
|
|
323
|
-
nextLink: string,
|
|
324
|
-
options?: WorkspacesListByResourceGroupNextOptionalParams
|
|
325
|
-
): Promise<WorkspacesListByResourceGroupNextResponse> {
|
|
326
|
-
return this.client.sendOperationRequest(
|
|
327
|
-
{ resourceGroupName, nextLink, options },
|
|
328
|
-
listByResourceGroupNextOperationSpec
|
|
329
|
-
);
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
/**
|
|
333
|
-
* ListNext
|
|
334
|
-
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
335
|
-
* @param options The options parameters.
|
|
336
|
-
*/
|
|
337
|
-
private _listNext(
|
|
338
|
-
nextLink: string,
|
|
339
|
-
options?: WorkspacesListNextOptionalParams
|
|
340
|
-
): Promise<WorkspacesListNextResponse> {
|
|
341
|
-
return this.client.sendOperationRequest(
|
|
342
|
-
{ nextLink, options },
|
|
343
|
-
listNextOperationSpec
|
|
344
|
-
);
|
|
345
|
-
}
|
|
346
|
-
}
|
|
347
|
-
// Operation Specifications
|
|
348
|
-
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
349
|
-
|
|
350
|
-
const getOperationSpec: coreClient.OperationSpec = {
|
|
351
|
-
path:
|
|
352
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/workspaces/{workspaceName}",
|
|
353
|
-
httpMethod: "GET",
|
|
354
|
-
responses: {
|
|
355
|
-
200: {
|
|
356
|
-
bodyMapper: Mappers.Workspace
|
|
357
|
-
},
|
|
358
|
-
default: {
|
|
359
|
-
bodyMapper: Mappers.ErrorResponse
|
|
360
|
-
}
|
|
361
|
-
},
|
|
362
|
-
queryParameters: [Parameters.apiVersion],
|
|
363
|
-
urlParameters: [
|
|
364
|
-
Parameters.$host,
|
|
365
|
-
Parameters.subscriptionId,
|
|
366
|
-
Parameters.resourceGroupName,
|
|
367
|
-
Parameters.workspaceName
|
|
368
|
-
],
|
|
369
|
-
headerParameters: [Parameters.accept],
|
|
370
|
-
serializer
|
|
371
|
-
};
|
|
372
|
-
const createOrUpdateOperationSpec: coreClient.OperationSpec = {
|
|
373
|
-
path:
|
|
374
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/workspaces/{workspaceName}",
|
|
375
|
-
httpMethod: "PUT",
|
|
376
|
-
responses: {
|
|
377
|
-
200: {
|
|
378
|
-
bodyMapper: Mappers.Workspace
|
|
379
|
-
},
|
|
380
|
-
default: {
|
|
381
|
-
bodyMapper: Mappers.ErrorResponse
|
|
382
|
-
}
|
|
383
|
-
},
|
|
384
|
-
requestBody: Parameters.parameters,
|
|
385
|
-
queryParameters: [Parameters.apiVersion],
|
|
386
|
-
urlParameters: [
|
|
387
|
-
Parameters.$host,
|
|
388
|
-
Parameters.subscriptionId,
|
|
389
|
-
Parameters.resourceGroupName,
|
|
390
|
-
Parameters.workspaceName
|
|
391
|
-
],
|
|
392
|
-
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
393
|
-
mediaType: "json",
|
|
394
|
-
serializer
|
|
395
|
-
};
|
|
396
|
-
const deleteOperationSpec: coreClient.OperationSpec = {
|
|
397
|
-
path:
|
|
398
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/workspaces/{workspaceName}",
|
|
399
|
-
httpMethod: "DELETE",
|
|
400
|
-
responses: {
|
|
401
|
-
200: {},
|
|
402
|
-
204: {},
|
|
403
|
-
default: {
|
|
404
|
-
bodyMapper: Mappers.ErrorResponse
|
|
405
|
-
}
|
|
406
|
-
},
|
|
407
|
-
queryParameters: [Parameters.apiVersion],
|
|
408
|
-
urlParameters: [
|
|
409
|
-
Parameters.$host,
|
|
410
|
-
Parameters.subscriptionId,
|
|
411
|
-
Parameters.resourceGroupName,
|
|
412
|
-
Parameters.workspaceName
|
|
413
|
-
],
|
|
414
|
-
headerParameters: [Parameters.accept],
|
|
415
|
-
serializer
|
|
416
|
-
};
|
|
417
|
-
const updateOperationSpec: coreClient.OperationSpec = {
|
|
418
|
-
path:
|
|
419
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/workspaces/{workspaceName}",
|
|
420
|
-
httpMethod: "PATCH",
|
|
421
|
-
responses: {
|
|
422
|
-
200: {
|
|
423
|
-
bodyMapper: Mappers.Workspace
|
|
424
|
-
},
|
|
425
|
-
default: {
|
|
426
|
-
bodyMapper: Mappers.ErrorResponse
|
|
427
|
-
}
|
|
428
|
-
},
|
|
429
|
-
requestBody: Parameters.parameters1,
|
|
430
|
-
queryParameters: [Parameters.apiVersion],
|
|
431
|
-
urlParameters: [
|
|
432
|
-
Parameters.$host,
|
|
433
|
-
Parameters.subscriptionId,
|
|
434
|
-
Parameters.resourceGroupName,
|
|
435
|
-
Parameters.workspaceName
|
|
436
|
-
],
|
|
437
|
-
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
438
|
-
mediaType: "json",
|
|
439
|
-
serializer
|
|
440
|
-
};
|
|
441
|
-
const resyncStorageKeysOperationSpec: coreClient.OperationSpec = {
|
|
442
|
-
path:
|
|
443
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/workspaces/{workspaceName}/resyncStorageKeys",
|
|
444
|
-
httpMethod: "POST",
|
|
445
|
-
responses: {
|
|
446
|
-
200: {},
|
|
447
|
-
default: {
|
|
448
|
-
bodyMapper: Mappers.ErrorResponse
|
|
449
|
-
}
|
|
450
|
-
},
|
|
451
|
-
queryParameters: [Parameters.apiVersion],
|
|
452
|
-
urlParameters: [
|
|
453
|
-
Parameters.$host,
|
|
454
|
-
Parameters.subscriptionId,
|
|
455
|
-
Parameters.resourceGroupName,
|
|
456
|
-
Parameters.workspaceName
|
|
457
|
-
],
|
|
458
|
-
headerParameters: [Parameters.accept],
|
|
459
|
-
serializer
|
|
460
|
-
};
|
|
461
|
-
const listWorkspaceKeysOperationSpec: coreClient.OperationSpec = {
|
|
462
|
-
path:
|
|
463
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/workspaces/{workspaceName}/listWorkspaceKeys",
|
|
464
|
-
httpMethod: "POST",
|
|
465
|
-
responses: {
|
|
466
|
-
200: {
|
|
467
|
-
bodyMapper: Mappers.WorkspaceKeysResponse
|
|
468
|
-
},
|
|
469
|
-
default: {
|
|
470
|
-
bodyMapper: Mappers.ErrorResponse
|
|
471
|
-
}
|
|
472
|
-
},
|
|
473
|
-
queryParameters: [Parameters.apiVersion],
|
|
474
|
-
urlParameters: [
|
|
475
|
-
Parameters.$host,
|
|
476
|
-
Parameters.subscriptionId,
|
|
477
|
-
Parameters.resourceGroupName,
|
|
478
|
-
Parameters.workspaceName
|
|
479
|
-
],
|
|
480
|
-
headerParameters: [Parameters.accept],
|
|
481
|
-
serializer
|
|
482
|
-
};
|
|
483
|
-
const listByResourceGroupOperationSpec: coreClient.OperationSpec = {
|
|
484
|
-
path:
|
|
485
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/workspaces",
|
|
486
|
-
httpMethod: "GET",
|
|
487
|
-
responses: {
|
|
488
|
-
200: {
|
|
489
|
-
bodyMapper: Mappers.WorkspaceListResult
|
|
490
|
-
},
|
|
491
|
-
default: {
|
|
492
|
-
bodyMapper: Mappers.ErrorResponse
|
|
493
|
-
}
|
|
494
|
-
},
|
|
495
|
-
queryParameters: [Parameters.apiVersion],
|
|
496
|
-
urlParameters: [
|
|
497
|
-
Parameters.$host,
|
|
498
|
-
Parameters.subscriptionId,
|
|
499
|
-
Parameters.resourceGroupName
|
|
500
|
-
],
|
|
501
|
-
headerParameters: [Parameters.accept],
|
|
502
|
-
serializer
|
|
503
|
-
};
|
|
504
|
-
const listOperationSpec: coreClient.OperationSpec = {
|
|
505
|
-
path:
|
|
506
|
-
"/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearning/workspaces",
|
|
507
|
-
httpMethod: "GET",
|
|
508
|
-
responses: {
|
|
509
|
-
200: {
|
|
510
|
-
bodyMapper: Mappers.WorkspaceListResult
|
|
511
|
-
},
|
|
512
|
-
default: {
|
|
513
|
-
bodyMapper: Mappers.ErrorResponse
|
|
514
|
-
}
|
|
515
|
-
},
|
|
516
|
-
queryParameters: [Parameters.apiVersion],
|
|
517
|
-
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
518
|
-
headerParameters: [Parameters.accept],
|
|
519
|
-
serializer
|
|
520
|
-
};
|
|
521
|
-
const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {
|
|
522
|
-
path: "{nextLink}",
|
|
523
|
-
httpMethod: "GET",
|
|
524
|
-
responses: {
|
|
525
|
-
200: {
|
|
526
|
-
bodyMapper: Mappers.WorkspaceListResult
|
|
527
|
-
},
|
|
528
|
-
default: {
|
|
529
|
-
bodyMapper: Mappers.ErrorResponse
|
|
530
|
-
}
|
|
531
|
-
},
|
|
532
|
-
queryParameters: [Parameters.apiVersion],
|
|
533
|
-
urlParameters: [
|
|
534
|
-
Parameters.$host,
|
|
535
|
-
Parameters.subscriptionId,
|
|
536
|
-
Parameters.resourceGroupName,
|
|
537
|
-
Parameters.nextLink
|
|
538
|
-
],
|
|
539
|
-
headerParameters: [Parameters.accept],
|
|
540
|
-
serializer
|
|
541
|
-
};
|
|
542
|
-
const listNextOperationSpec: coreClient.OperationSpec = {
|
|
543
|
-
path: "{nextLink}",
|
|
544
|
-
httpMethod: "GET",
|
|
545
|
-
responses: {
|
|
546
|
-
200: {
|
|
547
|
-
bodyMapper: Mappers.WorkspaceListResult
|
|
548
|
-
},
|
|
549
|
-
default: {
|
|
550
|
-
bodyMapper: Mappers.ErrorResponse
|
|
551
|
-
}
|
|
552
|
-
},
|
|
553
|
-
queryParameters: [Parameters.apiVersion],
|
|
554
|
-
urlParameters: [
|
|
555
|
-
Parameters.$host,
|
|
556
|
-
Parameters.subscriptionId,
|
|
557
|
-
Parameters.nextLink
|
|
558
|
-
],
|
|
559
|
-
headerParameters: [Parameters.accept],
|
|
560
|
-
serializer
|
|
561
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
export * from "./operations";
|
|
10
|
-
export * from "./workspaces";
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
-
import { Operation, OperationsListOptionalParams } from "../models";
|
|
11
|
-
|
|
12
|
-
/// <reference lib="esnext.asynciterable" />
|
|
13
|
-
/** Interface representing a Operations. */
|
|
14
|
-
export interface Operations {
|
|
15
|
-
/**
|
|
16
|
-
* Lists all of the available Azure Machine Learning Studio REST API operations.
|
|
17
|
-
* @param options The options parameters.
|
|
18
|
-
*/
|
|
19
|
-
list(
|
|
20
|
-
options?: OperationsListOptionalParams
|
|
21
|
-
): PagedAsyncIterableIterator<Operation>;
|
|
22
|
-
}
|