@azure/arm-workspaces 1.1.1-alpha.20250207.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
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { Workspaces } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { MachineLearningWorkspacesManagementClient } from "../machineLearningWorkspacesManagementClient.js";
|
|
4
|
+
import { Workspace, WorkspacesListByResourceGroupOptionalParams, WorkspacesListOptionalParams, WorkspacesGetOptionalParams, WorkspacesGetResponse, WorkspacesCreateOrUpdateOptionalParams, WorkspacesCreateOrUpdateResponse, WorkspacesDeleteOptionalParams, WorkspaceUpdateParameters, WorkspacesUpdateOptionalParams, WorkspacesUpdateResponse, WorkspacesResyncStorageKeysOptionalParams, WorkspacesListWorkspaceKeysOptionalParams, WorkspacesListWorkspaceKeysResponse } from "../models/index.js";
|
|
5
|
+
/** Class containing Workspaces operations. */
|
|
6
|
+
export declare class WorkspacesImpl implements Workspaces {
|
|
7
|
+
private readonly client;
|
|
8
|
+
/**
|
|
9
|
+
* Initialize a new instance of the class Workspaces class.
|
|
10
|
+
* @param client Reference to the service client
|
|
11
|
+
*/
|
|
12
|
+
constructor(client: MachineLearningWorkspacesManagementClient);
|
|
13
|
+
/**
|
|
14
|
+
* Lists all the available machine learning workspaces under the specified resource group.
|
|
15
|
+
* @param resourceGroupName The name of the resource group to which the machine learning workspace
|
|
16
|
+
* belongs.
|
|
17
|
+
* @param options The options parameters.
|
|
18
|
+
*/
|
|
19
|
+
listByResourceGroup(resourceGroupName: string, options?: WorkspacesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Workspace>;
|
|
20
|
+
private listByResourceGroupPagingPage;
|
|
21
|
+
private listByResourceGroupPagingAll;
|
|
22
|
+
/**
|
|
23
|
+
* Lists all the available machine learning workspaces under the specified subscription.
|
|
24
|
+
* @param options The options parameters.
|
|
25
|
+
*/
|
|
26
|
+
list(options?: WorkspacesListOptionalParams): PagedAsyncIterableIterator<Workspace>;
|
|
27
|
+
private listPagingPage;
|
|
28
|
+
private listPagingAll;
|
|
29
|
+
/**
|
|
30
|
+
* Gets the properties of the specified machine learning workspace.
|
|
31
|
+
* @param resourceGroupName The name of the resource group to which the machine learning workspace
|
|
32
|
+
* belongs.
|
|
33
|
+
* @param workspaceName The name of the machine learning workspace.
|
|
34
|
+
* @param options The options parameters.
|
|
35
|
+
*/
|
|
36
|
+
get(resourceGroupName: string, workspaceName: string, options?: WorkspacesGetOptionalParams): Promise<WorkspacesGetResponse>;
|
|
37
|
+
/**
|
|
38
|
+
* Creates or updates a workspace with the specified parameters.
|
|
39
|
+
* @param resourceGroupName The name of the resource group to which the machine learning workspace
|
|
40
|
+
* belongs.
|
|
41
|
+
* @param workspaceName The name of the machine learning workspace.
|
|
42
|
+
* @param parameters The parameters for creating or updating a machine learning workspace.
|
|
43
|
+
* @param options The options parameters.
|
|
44
|
+
*/
|
|
45
|
+
createOrUpdate(resourceGroupName: string, workspaceName: string, parameters: Workspace, options?: WorkspacesCreateOrUpdateOptionalParams): Promise<WorkspacesCreateOrUpdateResponse>;
|
|
46
|
+
/**
|
|
47
|
+
* Deletes a machine learning workspace.
|
|
48
|
+
* @param resourceGroupName The name of the resource group to which the machine learning workspace
|
|
49
|
+
* belongs.
|
|
50
|
+
* @param workspaceName The name of the machine learning workspace.
|
|
51
|
+
* @param options The options parameters.
|
|
52
|
+
*/
|
|
53
|
+
delete(resourceGroupName: string, workspaceName: string, options?: WorkspacesDeleteOptionalParams): Promise<void>;
|
|
54
|
+
/**
|
|
55
|
+
* Updates a machine learning workspace with the specified parameters.
|
|
56
|
+
* @param resourceGroupName The name of the resource group to which the machine learning workspace
|
|
57
|
+
* belongs.
|
|
58
|
+
* @param workspaceName The name of the machine learning workspace.
|
|
59
|
+
* @param parameters The parameters for updating a machine learning workspace.
|
|
60
|
+
* @param options The options parameters.
|
|
61
|
+
*/
|
|
62
|
+
update(resourceGroupName: string, workspaceName: string, parameters: WorkspaceUpdateParameters, options?: WorkspacesUpdateOptionalParams): Promise<WorkspacesUpdateResponse>;
|
|
63
|
+
/**
|
|
64
|
+
* Resync storage keys associated with this workspace.
|
|
65
|
+
* @param workspaceName The name of the machine learning workspace.
|
|
66
|
+
* @param resourceGroupName The name of the resource group to which the machine learning workspace
|
|
67
|
+
* belongs.
|
|
68
|
+
* @param options The options parameters.
|
|
69
|
+
*/
|
|
70
|
+
resyncStorageKeys(workspaceName: string, resourceGroupName: string, options?: WorkspacesResyncStorageKeysOptionalParams): Promise<void>;
|
|
71
|
+
/**
|
|
72
|
+
* List the authorization keys associated with this workspace.
|
|
73
|
+
* @param workspaceName The name of the machine learning workspace.
|
|
74
|
+
* @param resourceGroupName The name of the resource group to which the machine learning workspace
|
|
75
|
+
* belongs.
|
|
76
|
+
* @param options The options parameters.
|
|
77
|
+
*/
|
|
78
|
+
listWorkspaceKeys(workspaceName: string, resourceGroupName: string, options?: WorkspacesListWorkspaceKeysOptionalParams): Promise<WorkspacesListWorkspaceKeysResponse>;
|
|
79
|
+
/**
|
|
80
|
+
* Lists all the available machine learning workspaces under the specified resource group.
|
|
81
|
+
* @param resourceGroupName The name of the resource group to which the machine learning workspace
|
|
82
|
+
* belongs.
|
|
83
|
+
* @param options The options parameters.
|
|
84
|
+
*/
|
|
85
|
+
private _listByResourceGroup;
|
|
86
|
+
/**
|
|
87
|
+
* Lists all the available machine learning workspaces under the specified subscription.
|
|
88
|
+
* @param options The options parameters.
|
|
89
|
+
*/
|
|
90
|
+
private _list;
|
|
91
|
+
/**
|
|
92
|
+
* ListByResourceGroupNext
|
|
93
|
+
* @param resourceGroupName The name of the resource group to which the machine learning workspace
|
|
94
|
+
* belongs.
|
|
95
|
+
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
96
|
+
* @param options The options parameters.
|
|
97
|
+
*/
|
|
98
|
+
private _listByResourceGroupNext;
|
|
99
|
+
/**
|
|
100
|
+
* ListNext
|
|
101
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
102
|
+
* @param options The options parameters.
|
|
103
|
+
*/
|
|
104
|
+
private _listNext;
|
|
105
|
+
}
|
|
106
|
+
//# sourceMappingURL=workspaces.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workspaces.d.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E,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;;;;OAOG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,UAAU,EAAE,yBAAyB,EACrC,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,wBAAwB,CAAC;IAOpC;;;;;;OAMG;IACH,iBAAiB,CACf,aAAa,EAAE,MAAM,EACrB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;;;OAMG;IACH,iBAAiB,CACf,aAAa,EAAE,MAAM,EACrB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,mCAAmC,CAAC;IAO/C;;;;;OAKG;IACH,OAAO,CAAC,oBAAoB;IAU5B;;;OAGG;IACH,OAAO,CAAC,KAAK;IAMb;;;;;;OAMG;IACH,OAAO,CAAC,wBAAwB;IAWhC;;;;OAIG;IACH,OAAO,CAAC,SAAS;CASlB"}
|
|
@@ -0,0 +1,454 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.WorkspacesImpl = void 0;
|
|
11
|
+
const tslib_1 = require("tslib");
|
|
12
|
+
const pagingHelper_js_1 = require("../pagingHelper.js");
|
|
13
|
+
const coreClient = tslib_1.__importStar(require("@azure/core-client"));
|
|
14
|
+
const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
|
|
15
|
+
const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
16
|
+
/// <reference lib="esnext.asynciterable" />
|
|
17
|
+
/** Class containing Workspaces operations. */
|
|
18
|
+
class WorkspacesImpl {
|
|
19
|
+
/**
|
|
20
|
+
* Initialize a new instance of the class Workspaces class.
|
|
21
|
+
* @param client Reference to the service client
|
|
22
|
+
*/
|
|
23
|
+
constructor(client) {
|
|
24
|
+
this.client = client;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Lists all the available machine learning workspaces under the specified resource group.
|
|
28
|
+
* @param resourceGroupName The name of the resource group to which the machine learning workspace
|
|
29
|
+
* belongs.
|
|
30
|
+
* @param options The options parameters.
|
|
31
|
+
*/
|
|
32
|
+
listByResourceGroup(resourceGroupName, options) {
|
|
33
|
+
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
|
|
34
|
+
return {
|
|
35
|
+
next() {
|
|
36
|
+
return iter.next();
|
|
37
|
+
},
|
|
38
|
+
[Symbol.asyncIterator]() {
|
|
39
|
+
return this;
|
|
40
|
+
},
|
|
41
|
+
byPage: (settings) => {
|
|
42
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
43
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
44
|
+
}
|
|
45
|
+
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
50
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
|
|
51
|
+
let result;
|
|
52
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
53
|
+
if (!continuationToken) {
|
|
54
|
+
result = yield tslib_1.__await(this._listByResourceGroup(resourceGroupName, options));
|
|
55
|
+
let page = result.value || [];
|
|
56
|
+
continuationToken = result.nextLink;
|
|
57
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
58
|
+
yield yield tslib_1.__await(page);
|
|
59
|
+
}
|
|
60
|
+
while (continuationToken) {
|
|
61
|
+
result = yield tslib_1.__await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
|
|
62
|
+
continuationToken = result.nextLink;
|
|
63
|
+
let page = result.value || [];
|
|
64
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
65
|
+
yield yield tslib_1.__await(page);
|
|
66
|
+
}
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
70
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
|
|
71
|
+
var _a, e_1, _b, _c;
|
|
72
|
+
try {
|
|
73
|
+
for (var _d = true, _e = tslib_1.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
74
|
+
_c = _f.value;
|
|
75
|
+
_d = false;
|
|
76
|
+
const page = _c;
|
|
77
|
+
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
81
|
+
finally {
|
|
82
|
+
try {
|
|
83
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
84
|
+
}
|
|
85
|
+
finally { if (e_1) throw e_1.error; }
|
|
86
|
+
}
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Lists all the available machine learning workspaces under the specified subscription.
|
|
91
|
+
* @param options The options parameters.
|
|
92
|
+
*/
|
|
93
|
+
list(options) {
|
|
94
|
+
const iter = this.listPagingAll(options);
|
|
95
|
+
return {
|
|
96
|
+
next() {
|
|
97
|
+
return iter.next();
|
|
98
|
+
},
|
|
99
|
+
[Symbol.asyncIterator]() {
|
|
100
|
+
return this;
|
|
101
|
+
},
|
|
102
|
+
byPage: (settings) => {
|
|
103
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
104
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
105
|
+
}
|
|
106
|
+
return this.listPagingPage(options, settings);
|
|
107
|
+
}
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
listPagingPage(options, settings) {
|
|
111
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
112
|
+
let result;
|
|
113
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
114
|
+
if (!continuationToken) {
|
|
115
|
+
result = yield tslib_1.__await(this._list(options));
|
|
116
|
+
let page = result.value || [];
|
|
117
|
+
continuationToken = result.nextLink;
|
|
118
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
119
|
+
yield yield tslib_1.__await(page);
|
|
120
|
+
}
|
|
121
|
+
while (continuationToken) {
|
|
122
|
+
result = yield tslib_1.__await(this._listNext(continuationToken, options));
|
|
123
|
+
continuationToken = result.nextLink;
|
|
124
|
+
let page = result.value || [];
|
|
125
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
126
|
+
yield yield tslib_1.__await(page);
|
|
127
|
+
}
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
listPagingAll(options) {
|
|
131
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
132
|
+
var _a, e_2, _b, _c;
|
|
133
|
+
try {
|
|
134
|
+
for (var _d = true, _e = tslib_1.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
135
|
+
_c = _f.value;
|
|
136
|
+
_d = false;
|
|
137
|
+
const page = _c;
|
|
138
|
+
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
142
|
+
finally {
|
|
143
|
+
try {
|
|
144
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
145
|
+
}
|
|
146
|
+
finally { if (e_2) throw e_2.error; }
|
|
147
|
+
}
|
|
148
|
+
});
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* Gets the properties of the specified machine learning workspace.
|
|
152
|
+
* @param resourceGroupName The name of the resource group to which the machine learning workspace
|
|
153
|
+
* belongs.
|
|
154
|
+
* @param workspaceName The name of the machine learning workspace.
|
|
155
|
+
* @param options The options parameters.
|
|
156
|
+
*/
|
|
157
|
+
get(resourceGroupName, workspaceName, options) {
|
|
158
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, options }, getOperationSpec);
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* Creates or updates a workspace with the specified parameters.
|
|
162
|
+
* @param resourceGroupName The name of the resource group to which the machine learning workspace
|
|
163
|
+
* belongs.
|
|
164
|
+
* @param workspaceName The name of the machine learning workspace.
|
|
165
|
+
* @param parameters The parameters for creating or updating a machine learning workspace.
|
|
166
|
+
* @param options The options parameters.
|
|
167
|
+
*/
|
|
168
|
+
createOrUpdate(resourceGroupName, workspaceName, parameters, options) {
|
|
169
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, parameters, options }, createOrUpdateOperationSpec);
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* Deletes a machine learning workspace.
|
|
173
|
+
* @param resourceGroupName The name of the resource group to which the machine learning workspace
|
|
174
|
+
* belongs.
|
|
175
|
+
* @param workspaceName The name of the machine learning workspace.
|
|
176
|
+
* @param options The options parameters.
|
|
177
|
+
*/
|
|
178
|
+
delete(resourceGroupName, workspaceName, options) {
|
|
179
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, options }, deleteOperationSpec);
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* Updates a machine learning workspace with the specified parameters.
|
|
183
|
+
* @param resourceGroupName The name of the resource group to which the machine learning workspace
|
|
184
|
+
* belongs.
|
|
185
|
+
* @param workspaceName The name of the machine learning workspace.
|
|
186
|
+
* @param parameters The parameters for updating a machine learning workspace.
|
|
187
|
+
* @param options The options parameters.
|
|
188
|
+
*/
|
|
189
|
+
update(resourceGroupName, workspaceName, parameters, options) {
|
|
190
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, parameters, options }, updateOperationSpec);
|
|
191
|
+
}
|
|
192
|
+
/**
|
|
193
|
+
* Resync storage keys associated with this workspace.
|
|
194
|
+
* @param workspaceName The name of the machine learning workspace.
|
|
195
|
+
* @param resourceGroupName The name of the resource group to which the machine learning workspace
|
|
196
|
+
* belongs.
|
|
197
|
+
* @param options The options parameters.
|
|
198
|
+
*/
|
|
199
|
+
resyncStorageKeys(workspaceName, resourceGroupName, options) {
|
|
200
|
+
return this.client.sendOperationRequest({ workspaceName, resourceGroupName, options }, resyncStorageKeysOperationSpec);
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
* List the authorization keys associated with this workspace.
|
|
204
|
+
* @param workspaceName The name of the machine learning workspace.
|
|
205
|
+
* @param resourceGroupName The name of the resource group to which the machine learning workspace
|
|
206
|
+
* belongs.
|
|
207
|
+
* @param options The options parameters.
|
|
208
|
+
*/
|
|
209
|
+
listWorkspaceKeys(workspaceName, resourceGroupName, options) {
|
|
210
|
+
return this.client.sendOperationRequest({ workspaceName, resourceGroupName, options }, listWorkspaceKeysOperationSpec);
|
|
211
|
+
}
|
|
212
|
+
/**
|
|
213
|
+
* Lists all the available machine learning workspaces under the specified resource group.
|
|
214
|
+
* @param resourceGroupName The name of the resource group to which the machine learning workspace
|
|
215
|
+
* belongs.
|
|
216
|
+
* @param options The options parameters.
|
|
217
|
+
*/
|
|
218
|
+
_listByResourceGroup(resourceGroupName, options) {
|
|
219
|
+
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
|
|
220
|
+
}
|
|
221
|
+
/**
|
|
222
|
+
* Lists all the available machine learning workspaces under the specified subscription.
|
|
223
|
+
* @param options The options parameters.
|
|
224
|
+
*/
|
|
225
|
+
_list(options) {
|
|
226
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
* ListByResourceGroupNext
|
|
230
|
+
* @param resourceGroupName The name of the resource group to which the machine learning workspace
|
|
231
|
+
* belongs.
|
|
232
|
+
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
233
|
+
* @param options The options parameters.
|
|
234
|
+
*/
|
|
235
|
+
_listByResourceGroupNext(resourceGroupName, nextLink, options) {
|
|
236
|
+
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
|
|
237
|
+
}
|
|
238
|
+
/**
|
|
239
|
+
* ListNext
|
|
240
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
241
|
+
* @param options The options parameters.
|
|
242
|
+
*/
|
|
243
|
+
_listNext(nextLink, options) {
|
|
244
|
+
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
exports.WorkspacesImpl = WorkspacesImpl;
|
|
248
|
+
// Operation Specifications
|
|
249
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
250
|
+
const getOperationSpec = {
|
|
251
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/workspaces/{workspaceName}",
|
|
252
|
+
httpMethod: "GET",
|
|
253
|
+
responses: {
|
|
254
|
+
200: {
|
|
255
|
+
bodyMapper: Mappers.Workspace
|
|
256
|
+
},
|
|
257
|
+
default: {
|
|
258
|
+
bodyMapper: Mappers.ErrorResponse
|
|
259
|
+
}
|
|
260
|
+
},
|
|
261
|
+
queryParameters: [Parameters.apiVersion],
|
|
262
|
+
urlParameters: [
|
|
263
|
+
Parameters.$host,
|
|
264
|
+
Parameters.subscriptionId,
|
|
265
|
+
Parameters.resourceGroupName,
|
|
266
|
+
Parameters.workspaceName
|
|
267
|
+
],
|
|
268
|
+
headerParameters: [Parameters.accept],
|
|
269
|
+
serializer
|
|
270
|
+
};
|
|
271
|
+
const createOrUpdateOperationSpec = {
|
|
272
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/workspaces/{workspaceName}",
|
|
273
|
+
httpMethod: "PUT",
|
|
274
|
+
responses: {
|
|
275
|
+
200: {
|
|
276
|
+
bodyMapper: Mappers.Workspace
|
|
277
|
+
},
|
|
278
|
+
default: {
|
|
279
|
+
bodyMapper: Mappers.ErrorResponse
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
requestBody: Parameters.parameters,
|
|
283
|
+
queryParameters: [Parameters.apiVersion],
|
|
284
|
+
urlParameters: [
|
|
285
|
+
Parameters.$host,
|
|
286
|
+
Parameters.subscriptionId,
|
|
287
|
+
Parameters.resourceGroupName,
|
|
288
|
+
Parameters.workspaceName
|
|
289
|
+
],
|
|
290
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
291
|
+
mediaType: "json",
|
|
292
|
+
serializer
|
|
293
|
+
};
|
|
294
|
+
const deleteOperationSpec = {
|
|
295
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/workspaces/{workspaceName}",
|
|
296
|
+
httpMethod: "DELETE",
|
|
297
|
+
responses: {
|
|
298
|
+
200: {},
|
|
299
|
+
204: {},
|
|
300
|
+
default: {
|
|
301
|
+
bodyMapper: Mappers.ErrorResponse
|
|
302
|
+
}
|
|
303
|
+
},
|
|
304
|
+
queryParameters: [Parameters.apiVersion],
|
|
305
|
+
urlParameters: [
|
|
306
|
+
Parameters.$host,
|
|
307
|
+
Parameters.subscriptionId,
|
|
308
|
+
Parameters.resourceGroupName,
|
|
309
|
+
Parameters.workspaceName
|
|
310
|
+
],
|
|
311
|
+
headerParameters: [Parameters.accept],
|
|
312
|
+
serializer
|
|
313
|
+
};
|
|
314
|
+
const updateOperationSpec = {
|
|
315
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/workspaces/{workspaceName}",
|
|
316
|
+
httpMethod: "PATCH",
|
|
317
|
+
responses: {
|
|
318
|
+
200: {
|
|
319
|
+
bodyMapper: Mappers.Workspace
|
|
320
|
+
},
|
|
321
|
+
default: {
|
|
322
|
+
bodyMapper: Mappers.ErrorResponse
|
|
323
|
+
}
|
|
324
|
+
},
|
|
325
|
+
requestBody: Parameters.parameters1,
|
|
326
|
+
queryParameters: [Parameters.apiVersion],
|
|
327
|
+
urlParameters: [
|
|
328
|
+
Parameters.$host,
|
|
329
|
+
Parameters.subscriptionId,
|
|
330
|
+
Parameters.resourceGroupName,
|
|
331
|
+
Parameters.workspaceName
|
|
332
|
+
],
|
|
333
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
334
|
+
mediaType: "json",
|
|
335
|
+
serializer
|
|
336
|
+
};
|
|
337
|
+
const resyncStorageKeysOperationSpec = {
|
|
338
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/workspaces/{workspaceName}/resyncStorageKeys",
|
|
339
|
+
httpMethod: "POST",
|
|
340
|
+
responses: {
|
|
341
|
+
200: {},
|
|
342
|
+
default: {
|
|
343
|
+
bodyMapper: Mappers.ErrorResponse
|
|
344
|
+
}
|
|
345
|
+
},
|
|
346
|
+
queryParameters: [Parameters.apiVersion],
|
|
347
|
+
urlParameters: [
|
|
348
|
+
Parameters.$host,
|
|
349
|
+
Parameters.subscriptionId,
|
|
350
|
+
Parameters.resourceGroupName,
|
|
351
|
+
Parameters.workspaceName
|
|
352
|
+
],
|
|
353
|
+
headerParameters: [Parameters.accept],
|
|
354
|
+
serializer
|
|
355
|
+
};
|
|
356
|
+
const listWorkspaceKeysOperationSpec = {
|
|
357
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/workspaces/{workspaceName}/listWorkspaceKeys",
|
|
358
|
+
httpMethod: "POST",
|
|
359
|
+
responses: {
|
|
360
|
+
200: {
|
|
361
|
+
bodyMapper: Mappers.WorkspaceKeysResponse
|
|
362
|
+
},
|
|
363
|
+
default: {
|
|
364
|
+
bodyMapper: Mappers.ErrorResponse
|
|
365
|
+
}
|
|
366
|
+
},
|
|
367
|
+
queryParameters: [Parameters.apiVersion],
|
|
368
|
+
urlParameters: [
|
|
369
|
+
Parameters.$host,
|
|
370
|
+
Parameters.subscriptionId,
|
|
371
|
+
Parameters.resourceGroupName,
|
|
372
|
+
Parameters.workspaceName
|
|
373
|
+
],
|
|
374
|
+
headerParameters: [Parameters.accept],
|
|
375
|
+
serializer
|
|
376
|
+
};
|
|
377
|
+
const listByResourceGroupOperationSpec = {
|
|
378
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/workspaces",
|
|
379
|
+
httpMethod: "GET",
|
|
380
|
+
responses: {
|
|
381
|
+
200: {
|
|
382
|
+
bodyMapper: Mappers.WorkspaceListResult
|
|
383
|
+
},
|
|
384
|
+
default: {
|
|
385
|
+
bodyMapper: Mappers.ErrorResponse
|
|
386
|
+
}
|
|
387
|
+
},
|
|
388
|
+
queryParameters: [Parameters.apiVersion],
|
|
389
|
+
urlParameters: [
|
|
390
|
+
Parameters.$host,
|
|
391
|
+
Parameters.subscriptionId,
|
|
392
|
+
Parameters.resourceGroupName
|
|
393
|
+
],
|
|
394
|
+
headerParameters: [Parameters.accept],
|
|
395
|
+
serializer
|
|
396
|
+
};
|
|
397
|
+
const listOperationSpec = {
|
|
398
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearning/workspaces",
|
|
399
|
+
httpMethod: "GET",
|
|
400
|
+
responses: {
|
|
401
|
+
200: {
|
|
402
|
+
bodyMapper: Mappers.WorkspaceListResult
|
|
403
|
+
},
|
|
404
|
+
default: {
|
|
405
|
+
bodyMapper: Mappers.ErrorResponse
|
|
406
|
+
}
|
|
407
|
+
},
|
|
408
|
+
queryParameters: [Parameters.apiVersion],
|
|
409
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
410
|
+
headerParameters: [Parameters.accept],
|
|
411
|
+
serializer
|
|
412
|
+
};
|
|
413
|
+
const listByResourceGroupNextOperationSpec = {
|
|
414
|
+
path: "{nextLink}",
|
|
415
|
+
httpMethod: "GET",
|
|
416
|
+
responses: {
|
|
417
|
+
200: {
|
|
418
|
+
bodyMapper: Mappers.WorkspaceListResult
|
|
419
|
+
},
|
|
420
|
+
default: {
|
|
421
|
+
bodyMapper: Mappers.ErrorResponse
|
|
422
|
+
}
|
|
423
|
+
},
|
|
424
|
+
queryParameters: [Parameters.apiVersion],
|
|
425
|
+
urlParameters: [
|
|
426
|
+
Parameters.$host,
|
|
427
|
+
Parameters.subscriptionId,
|
|
428
|
+
Parameters.resourceGroupName,
|
|
429
|
+
Parameters.nextLink
|
|
430
|
+
],
|
|
431
|
+
headerParameters: [Parameters.accept],
|
|
432
|
+
serializer
|
|
433
|
+
};
|
|
434
|
+
const listNextOperationSpec = {
|
|
435
|
+
path: "{nextLink}",
|
|
436
|
+
httpMethod: "GET",
|
|
437
|
+
responses: {
|
|
438
|
+
200: {
|
|
439
|
+
bodyMapper: Mappers.WorkspaceListResult
|
|
440
|
+
},
|
|
441
|
+
default: {
|
|
442
|
+
bodyMapper: Mappers.ErrorResponse
|
|
443
|
+
}
|
|
444
|
+
},
|
|
445
|
+
queryParameters: [Parameters.apiVersion],
|
|
446
|
+
urlParameters: [
|
|
447
|
+
Parameters.$host,
|
|
448
|
+
Parameters.subscriptionId,
|
|
449
|
+
Parameters.nextLink
|
|
450
|
+
],
|
|
451
|
+
headerParameters: [Parameters.accept],
|
|
452
|
+
serializer
|
|
453
|
+
};
|
|
454
|
+
//# sourceMappingURL=workspaces.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workspaces.js","sourceRoot":"","sources":["../../../src/operations/workspaces.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAyBtD,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAa,cAAc;IAGzB;;;OAGG;IACH,YAAY,MAAiD;QAC3D,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,mBAAmB,CACxB,iBAAyB,EACzB,OAAqD;QAErD,MAAM,IAAI,GAAG,IAAI,CAAC,4BAA4B,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;QAC3E,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,6BAA6B,CACvC,iBAAiB,EACjB,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,6BAA6B,CAC1C,iBAAyB,EACzB,OAAqD,EACrD,QAAuB;;YAEvB,IAAI,MAA6C,CAAC;YAClD,IAAI,iBAAiB,GAAG,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,iBAAiB,CAAC;YACpD,IAAI,CAAC,iBAAiB,EAAE,CAAC;gBACvB,MAAM,GAAG,sBAAM,IAAI,CAAC,oBAAoB,C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AO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { 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 { MachineLearningWorkspacesManagementClient } from \"../machineLearningWorkspacesManagementClient.js\";\nimport {\n Workspace,\n WorkspacesListByResourceGroupNextOptionalParams,\n WorkspacesListByResourceGroupOptionalParams,\n WorkspacesListByResourceGroupResponse,\n WorkspacesListNextOptionalParams,\n WorkspacesListOptionalParams,\n WorkspacesListResponse,\n WorkspacesGetOptionalParams,\n WorkspacesGetResponse,\n WorkspacesCreateOrUpdateOptionalParams,\n WorkspacesCreateOrUpdateResponse,\n WorkspacesDeleteOptionalParams,\n WorkspaceUpdateParameters,\n WorkspacesUpdateOptionalParams,\n WorkspacesUpdateResponse,\n WorkspacesResyncStorageKeysOptionalParams,\n WorkspacesListWorkspaceKeysOptionalParams,\n WorkspacesListWorkspaceKeysResponse,\n WorkspacesListByResourceGroupNextResponse,\n WorkspacesListNextResponse\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: MachineLearningWorkspacesManagementClient;\n\n /**\n * Initialize a new instance of the class Workspaces class.\n * @param client Reference to the service client\n */\n constructor(client: MachineLearningWorkspacesManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all the available machine learning workspaces under the specified resource group.\n * @param resourceGroupName The name of the resource group to which the machine learning workspace\n * belongs.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: WorkspacesListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<Workspace> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: WorkspacesListByResourceGroupOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<Workspace[]> {\n let result: WorkspacesListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByResourceGroupNext(\n resourceGroupName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: WorkspacesListByResourceGroupOptionalParams\n ): AsyncIterableIterator<Workspace> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists all the available machine learning workspaces under the specified subscription.\n * @param options The options parameters.\n */\n public list(\n options?: WorkspacesListOptionalParams\n ): PagedAsyncIterableIterator<Workspace> {\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?: WorkspacesListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<Workspace[]> {\n let result: WorkspacesListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: WorkspacesListOptionalParams\n ): AsyncIterableIterator<Workspace> {\n for await (const page of this.listPagingPage(options)) {\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 workspace\n * belongs.\n * @param workspaceName The name of the machine learning workspace.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n workspaceName: string,\n options?: WorkspacesGetOptionalParams\n ): Promise<WorkspacesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, workspaceName, options },\n getOperationSpec\n );\n }\n\n /**\n * Creates or updates a workspace with the specified parameters.\n * @param resourceGroupName The name of the resource group to which the machine learning workspace\n * belongs.\n * @param workspaceName The name of the machine learning 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 workspaceName: string,\n parameters: Workspace,\n options?: WorkspacesCreateOrUpdateOptionalParams\n ): Promise<WorkspacesCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, 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 workspace\n * belongs.\n * @param workspaceName The name of the machine learning workspace.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n workspaceName: string,\n options?: WorkspacesDeleteOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, 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 workspace\n * belongs.\n * @param workspaceName The name of the machine learning 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 workspaceName: string,\n parameters: WorkspaceUpdateParameters,\n options?: WorkspacesUpdateOptionalParams\n ): Promise<WorkspacesUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, workspaceName, parameters, options },\n updateOperationSpec\n );\n }\n\n /**\n * Resync storage keys associated with this workspace.\n * @param workspaceName The name of the machine learning workspace.\n * @param resourceGroupName The name of the resource group to which the machine learning workspace\n * belongs.\n * @param options The options parameters.\n */\n resyncStorageKeys(\n workspaceName: string,\n resourceGroupName: string,\n options?: WorkspacesResyncStorageKeysOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { workspaceName, resourceGroupName, options },\n resyncStorageKeysOperationSpec\n );\n }\n\n /**\n * List the authorization keys associated with this workspace.\n * @param workspaceName The name of the machine learning workspace.\n * @param resourceGroupName The name of the resource group to which the machine learning workspace\n * belongs.\n * @param options The options parameters.\n */\n listWorkspaceKeys(\n workspaceName: string,\n resourceGroupName: string,\n options?: WorkspacesListWorkspaceKeysOptionalParams\n ): Promise<WorkspacesListWorkspaceKeysResponse> {\n return this.client.sendOperationRequest(\n { workspaceName, resourceGroupName, options },\n listWorkspaceKeysOperationSpec\n );\n }\n\n /**\n * Lists all the available machine learning workspaces under the specified resource group.\n * @param resourceGroupName The name of the resource group to which the machine learning workspace\n * belongs.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: WorkspacesListByResourceGroupOptionalParams\n ): Promise<WorkspacesListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec\n );\n }\n\n /**\n * Lists all the available machine learning workspaces under the specified subscription.\n * @param options The options parameters.\n */\n private _list(\n options?: WorkspacesListOptionalParams\n ): Promise<WorkspacesListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName The name of the resource group to which the machine learning workspace\n * belongs.\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: WorkspacesListByResourceGroupNextOptionalParams\n ): Promise<WorkspacesListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec\n );\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: WorkspacesListNextOptionalParams\n ): Promise<WorkspacesListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec\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.MachineLearning/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.workspaceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/workspaces/{workspaceName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Workspace\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\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.MachineLearning/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.workspaceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/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.parameters1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workspaceName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst resyncStorageKeysOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/workspaces/{workspaceName}/resyncStorageKeys\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\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.workspaceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listWorkspaceKeysOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/workspaces/{workspaceName}/listWorkspaceKeys\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.WorkspaceKeysResponse\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.workspaceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/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 ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearning/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: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.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.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: 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 queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
const tslib_1 = require("tslib");
|
|
11
|
+
tslib_1.__exportStar(require("./operations.js"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./workspaces.js"), exports);
|
|
13
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEH,0DAAgC;AAChC,0DAAgC","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 \"./workspaces.js\";\n"]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { Operation, OperationsListOptionalParams } from "../models/index.js";
|
|
3
|
+
/** Interface representing a Operations. */
|
|
4
|
+
export interface Operations {
|
|
5
|
+
/**
|
|
6
|
+
* Lists all of the available Azure Machine Learning Studio REST API operations.
|
|
7
|
+
* @param options The options parameters.
|
|
8
|
+
*/
|
|
9
|
+
list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=operations.d.ts.map
|