@azure/arm-workspaces 1.1.1-alpha.20250210.1 → 1.1.1-alpha.20250212.1
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,330 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
export const OperationListResult = {
|
|
9
|
+
type: {
|
|
10
|
+
name: "Composite",
|
|
11
|
+
className: "OperationListResult",
|
|
12
|
+
modelProperties: {
|
|
13
|
+
value: {
|
|
14
|
+
serializedName: "value",
|
|
15
|
+
type: {
|
|
16
|
+
name: "Sequence",
|
|
17
|
+
element: {
|
|
18
|
+
type: {
|
|
19
|
+
name: "Composite",
|
|
20
|
+
className: "Operation"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
export const Operation = {
|
|
29
|
+
type: {
|
|
30
|
+
name: "Composite",
|
|
31
|
+
className: "Operation",
|
|
32
|
+
modelProperties: {
|
|
33
|
+
name: {
|
|
34
|
+
serializedName: "name",
|
|
35
|
+
type: {
|
|
36
|
+
name: "String"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
display: {
|
|
40
|
+
serializedName: "display",
|
|
41
|
+
type: {
|
|
42
|
+
name: "Composite",
|
|
43
|
+
className: "OperationDisplay"
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
export const OperationDisplay = {
|
|
50
|
+
type: {
|
|
51
|
+
name: "Composite",
|
|
52
|
+
className: "OperationDisplay",
|
|
53
|
+
modelProperties: {
|
|
54
|
+
provider: {
|
|
55
|
+
serializedName: "provider",
|
|
56
|
+
type: {
|
|
57
|
+
name: "String"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
resource: {
|
|
61
|
+
serializedName: "resource",
|
|
62
|
+
type: {
|
|
63
|
+
name: "String"
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
operation: {
|
|
67
|
+
serializedName: "operation",
|
|
68
|
+
type: {
|
|
69
|
+
name: "String"
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
description: {
|
|
73
|
+
serializedName: "description",
|
|
74
|
+
type: {
|
|
75
|
+
name: "String"
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
};
|
|
81
|
+
export const ErrorResponse = {
|
|
82
|
+
type: {
|
|
83
|
+
name: "Composite",
|
|
84
|
+
className: "ErrorResponse",
|
|
85
|
+
modelProperties: {
|
|
86
|
+
code: {
|
|
87
|
+
serializedName: "code",
|
|
88
|
+
required: true,
|
|
89
|
+
type: {
|
|
90
|
+
name: "String"
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
message: {
|
|
94
|
+
serializedName: "message",
|
|
95
|
+
required: true,
|
|
96
|
+
type: {
|
|
97
|
+
name: "String"
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
};
|
|
103
|
+
export const Resource = {
|
|
104
|
+
type: {
|
|
105
|
+
name: "Composite",
|
|
106
|
+
className: "Resource",
|
|
107
|
+
modelProperties: {
|
|
108
|
+
id: {
|
|
109
|
+
serializedName: "id",
|
|
110
|
+
readOnly: true,
|
|
111
|
+
type: {
|
|
112
|
+
name: "String"
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
name: {
|
|
116
|
+
serializedName: "name",
|
|
117
|
+
readOnly: true,
|
|
118
|
+
type: {
|
|
119
|
+
name: "String"
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
type: {
|
|
123
|
+
serializedName: "type",
|
|
124
|
+
readOnly: true,
|
|
125
|
+
type: {
|
|
126
|
+
name: "String"
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
location: {
|
|
130
|
+
serializedName: "location",
|
|
131
|
+
required: true,
|
|
132
|
+
type: {
|
|
133
|
+
name: "String"
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
tags: {
|
|
137
|
+
serializedName: "tags",
|
|
138
|
+
type: {
|
|
139
|
+
name: "Dictionary",
|
|
140
|
+
value: { type: { name: "String" } }
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
sku: {
|
|
144
|
+
serializedName: "sku",
|
|
145
|
+
type: {
|
|
146
|
+
name: "Composite",
|
|
147
|
+
className: "Sku"
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
};
|
|
153
|
+
export const Sku = {
|
|
154
|
+
type: {
|
|
155
|
+
name: "Composite",
|
|
156
|
+
className: "Sku",
|
|
157
|
+
modelProperties: {
|
|
158
|
+
name: {
|
|
159
|
+
serializedName: "name",
|
|
160
|
+
type: {
|
|
161
|
+
name: "String"
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
tier: {
|
|
165
|
+
serializedName: "tier",
|
|
166
|
+
type: {
|
|
167
|
+
name: "String"
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
};
|
|
173
|
+
export const WorkspaceUpdateParameters = {
|
|
174
|
+
type: {
|
|
175
|
+
name: "Composite",
|
|
176
|
+
className: "WorkspaceUpdateParameters",
|
|
177
|
+
modelProperties: {
|
|
178
|
+
tags: {
|
|
179
|
+
serializedName: "tags",
|
|
180
|
+
type: {
|
|
181
|
+
name: "Dictionary",
|
|
182
|
+
value: { type: { name: "String" } }
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
workspaceState: {
|
|
186
|
+
serializedName: "properties.workspaceState",
|
|
187
|
+
type: {
|
|
188
|
+
name: "Enum",
|
|
189
|
+
allowedValues: [
|
|
190
|
+
"Deleted",
|
|
191
|
+
"Enabled",
|
|
192
|
+
"Disabled",
|
|
193
|
+
"Migrated",
|
|
194
|
+
"Updated",
|
|
195
|
+
"Registered",
|
|
196
|
+
"Unregistered"
|
|
197
|
+
]
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
keyVaultIdentifierId: {
|
|
201
|
+
serializedName: "properties.keyVaultIdentifierId",
|
|
202
|
+
type: {
|
|
203
|
+
name: "String"
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
sku: {
|
|
207
|
+
serializedName: "properties.sku",
|
|
208
|
+
type: {
|
|
209
|
+
name: "Composite",
|
|
210
|
+
className: "Sku"
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
};
|
|
216
|
+
export const WorkspaceKeysResponse = {
|
|
217
|
+
type: {
|
|
218
|
+
name: "Composite",
|
|
219
|
+
className: "WorkspaceKeysResponse",
|
|
220
|
+
modelProperties: {
|
|
221
|
+
primaryToken: {
|
|
222
|
+
serializedName: "primaryToken",
|
|
223
|
+
type: {
|
|
224
|
+
name: "String"
|
|
225
|
+
}
|
|
226
|
+
},
|
|
227
|
+
secondaryToken: {
|
|
228
|
+
serializedName: "secondaryToken",
|
|
229
|
+
type: {
|
|
230
|
+
name: "String"
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
};
|
|
236
|
+
export const WorkspaceListResult = {
|
|
237
|
+
type: {
|
|
238
|
+
name: "Composite",
|
|
239
|
+
className: "WorkspaceListResult",
|
|
240
|
+
modelProperties: {
|
|
241
|
+
value: {
|
|
242
|
+
serializedName: "value",
|
|
243
|
+
type: {
|
|
244
|
+
name: "Sequence",
|
|
245
|
+
element: {
|
|
246
|
+
type: {
|
|
247
|
+
name: "Composite",
|
|
248
|
+
className: "Workspace"
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
nextLink: {
|
|
254
|
+
serializedName: "nextLink",
|
|
255
|
+
type: {
|
|
256
|
+
name: "String"
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
};
|
|
262
|
+
export const Workspace = {
|
|
263
|
+
type: {
|
|
264
|
+
name: "Composite",
|
|
265
|
+
className: "Workspace",
|
|
266
|
+
modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { userStorageAccountId: {
|
|
267
|
+
serializedName: "properties.userStorageAccountId",
|
|
268
|
+
type: {
|
|
269
|
+
name: "String"
|
|
270
|
+
}
|
|
271
|
+
}, ownerEmail: {
|
|
272
|
+
serializedName: "properties.ownerEmail",
|
|
273
|
+
type: {
|
|
274
|
+
name: "String"
|
|
275
|
+
}
|
|
276
|
+
}, workspaceType: {
|
|
277
|
+
serializedName: "properties.workspaceType",
|
|
278
|
+
readOnly: true,
|
|
279
|
+
type: {
|
|
280
|
+
name: "Enum",
|
|
281
|
+
allowedValues: [
|
|
282
|
+
"Production",
|
|
283
|
+
"Free",
|
|
284
|
+
"Anonymous",
|
|
285
|
+
"PaidStandard",
|
|
286
|
+
"PaidPremium"
|
|
287
|
+
]
|
|
288
|
+
}
|
|
289
|
+
}, workspaceState: {
|
|
290
|
+
serializedName: "properties.workspaceState",
|
|
291
|
+
readOnly: true,
|
|
292
|
+
type: {
|
|
293
|
+
name: "Enum",
|
|
294
|
+
allowedValues: [
|
|
295
|
+
"Deleted",
|
|
296
|
+
"Enabled",
|
|
297
|
+
"Disabled",
|
|
298
|
+
"Migrated",
|
|
299
|
+
"Updated",
|
|
300
|
+
"Registered",
|
|
301
|
+
"Unregistered"
|
|
302
|
+
]
|
|
303
|
+
}
|
|
304
|
+
}, workspaceId: {
|
|
305
|
+
serializedName: "properties.workspaceId",
|
|
306
|
+
readOnly: true,
|
|
307
|
+
type: {
|
|
308
|
+
name: "String"
|
|
309
|
+
}
|
|
310
|
+
}, creationTime: {
|
|
311
|
+
serializedName: "properties.creationTime",
|
|
312
|
+
readOnly: true,
|
|
313
|
+
type: {
|
|
314
|
+
name: "String"
|
|
315
|
+
}
|
|
316
|
+
}, studioEndpoint: {
|
|
317
|
+
serializedName: "properties.studioEndpoint",
|
|
318
|
+
readOnly: true,
|
|
319
|
+
type: {
|
|
320
|
+
name: "String"
|
|
321
|
+
}
|
|
322
|
+
}, keyVaultIdentifierId: {
|
|
323
|
+
serializedName: "properties.keyVaultIdentifierId",
|
|
324
|
+
type: {
|
|
325
|
+
name: "String"
|
|
326
|
+
}
|
|
327
|
+
} })
|
|
328
|
+
}
|
|
329
|
+
};
|
|
330
|
+
//# sourceMappingURL=mappers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,mBAAmB,GAA+B;IAC7D,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,qBAAqB;QAChC,eAAe,EAAE;YACf,KAAK,EAAE;gBACL,cAAc,EAAE,OAAO;gBACvB,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,WAAW;4BACjB,SAAS,EAAE,WAAW;yBACvB;qBACF;iBACF;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,SAAS,GAA+B;IACnD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,WAAW;QACtB,eAAe,EAAE;YACf,IAAI,EAAE;gBACJ,cAAc,EAAE,MAAM;gBACtB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,OAAO,EAAE;gBACP,cAAc,EAAE,SAAS;gBACzB,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,kBAAkB;iBAC9B;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAA+B;IAC1D,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,kBAAkB;QAC7B,eAAe,EAAE;YACf,QAAQ,EAAE;gBACR,cAAc,EAAE,UAAU;gB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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 * as coreClient from \"@azure/core-client\";\n\nexport const OperationListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Operation\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const Operation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Operation\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n display: {\n serializedName: \"display\",\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\"\n }\n }\n }\n }\n};\n\nexport const OperationDisplay: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\",\n modelProperties: {\n provider: {\n serializedName: \"provider\",\n type: {\n name: \"String\"\n }\n },\n resource: {\n serializedName: \"resource\",\n type: {\n name: \"String\"\n }\n },\n operation: {\n serializedName: \"operation\",\n type: {\n name: \"String\"\n }\n },\n description: {\n serializedName: \"description\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ErrorResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorResponse\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Resource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Resource\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n location: {\n serializedName: \"location\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n },\n sku: {\n serializedName: \"sku\",\n type: {\n name: \"Composite\",\n className: \"Sku\"\n }\n }\n }\n }\n};\n\nexport const Sku: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Sku\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n tier: {\n serializedName: \"tier\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const WorkspaceUpdateParameters: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WorkspaceUpdateParameters\",\n modelProperties: {\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n },\n workspaceState: {\n serializedName: \"properties.workspaceState\",\n type: {\n name: \"Enum\",\n allowedValues: [\n \"Deleted\",\n \"Enabled\",\n \"Disabled\",\n \"Migrated\",\n \"Updated\",\n \"Registered\",\n \"Unregistered\"\n ]\n }\n },\n keyVaultIdentifierId: {\n serializedName: \"properties.keyVaultIdentifierId\",\n type: {\n name: \"String\"\n }\n },\n sku: {\n serializedName: \"properties.sku\",\n type: {\n name: \"Composite\",\n className: \"Sku\"\n }\n }\n }\n }\n};\n\nexport const WorkspaceKeysResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WorkspaceKeysResponse\",\n modelProperties: {\n primaryToken: {\n serializedName: \"primaryToken\",\n type: {\n name: \"String\"\n }\n },\n secondaryToken: {\n serializedName: \"secondaryToken\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const WorkspaceListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WorkspaceListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Workspace\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Workspace: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Workspace\",\n modelProperties: {\n ...Resource.type.modelProperties,\n userStorageAccountId: {\n serializedName: \"properties.userStorageAccountId\",\n type: {\n name: \"String\"\n }\n },\n ownerEmail: {\n serializedName: \"properties.ownerEmail\",\n type: {\n name: \"String\"\n }\n },\n workspaceType: {\n serializedName: \"properties.workspaceType\",\n readOnly: true,\n type: {\n name: \"Enum\",\n allowedValues: [\n \"Production\",\n \"Free\",\n \"Anonymous\",\n \"PaidStandard\",\n \"PaidPremium\"\n ]\n }\n },\n workspaceState: {\n serializedName: \"properties.workspaceState\",\n readOnly: true,\n type: {\n name: \"Enum\",\n allowedValues: [\n \"Deleted\",\n \"Enabled\",\n \"Disabled\",\n \"Migrated\",\n \"Updated\",\n \"Registered\",\n \"Unregistered\"\n ]\n }\n },\n workspaceId: {\n serializedName: \"properties.workspaceId\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n creationTime: {\n serializedName: \"properties.creationTime\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n studioEndpoint: {\n serializedName: \"properties.studioEndpoint\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n keyVaultIdentifierId: {\n serializedName: \"properties.keyVaultIdentifierId\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n"]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { OperationParameter, OperationURLParameter, OperationQueryParameter } from "@azure/core-client";
|
|
2
|
+
export declare const accept: OperationParameter;
|
|
3
|
+
export declare const $host: OperationURLParameter;
|
|
4
|
+
export declare const apiVersion: OperationQueryParameter;
|
|
5
|
+
export declare const subscriptionId: OperationURLParameter;
|
|
6
|
+
export declare const resourceGroupName: OperationURLParameter;
|
|
7
|
+
export declare const workspaceName: OperationURLParameter;
|
|
8
|
+
export declare const contentType: OperationParameter;
|
|
9
|
+
export declare const parameters: OperationParameter;
|
|
10
|
+
export declare const parameters1: OperationParameter;
|
|
11
|
+
export declare const nextLink: OperationURLParameter;
|
|
12
|
+
//# sourceMappingURL=parameters.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parameters.d.ts","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,uBAAuB,EACxB,MAAM,oBAAoB,CAAC;AAM5B,eAAO,MAAM,MAAM,EAAE,kBAUpB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,qBAUnB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,uBAUxB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,qBAS5B,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,qBAS/B,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,qBAS3B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,kBAUzB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,kBAGxB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,kBAGzB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,qBAUtB,CAAC"}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { Workspace as WorkspaceMapper, WorkspaceUpdateParameters as WorkspaceUpdateParametersMapper } from "../models/mappers.js";
|
|
9
|
+
export const accept = {
|
|
10
|
+
parameterPath: "accept",
|
|
11
|
+
mapper: {
|
|
12
|
+
defaultValue: "application/json",
|
|
13
|
+
isConstant: true,
|
|
14
|
+
serializedName: "Accept",
|
|
15
|
+
type: {
|
|
16
|
+
name: "String"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
export const $host = {
|
|
21
|
+
parameterPath: "$host",
|
|
22
|
+
mapper: {
|
|
23
|
+
serializedName: "$host",
|
|
24
|
+
required: true,
|
|
25
|
+
type: {
|
|
26
|
+
name: "String"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
skipEncoding: true
|
|
30
|
+
};
|
|
31
|
+
export const apiVersion = {
|
|
32
|
+
parameterPath: "apiVersion",
|
|
33
|
+
mapper: {
|
|
34
|
+
defaultValue: "2019-10-01",
|
|
35
|
+
isConstant: true,
|
|
36
|
+
serializedName: "api-version",
|
|
37
|
+
type: {
|
|
38
|
+
name: "String"
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
export const subscriptionId = {
|
|
43
|
+
parameterPath: "subscriptionId",
|
|
44
|
+
mapper: {
|
|
45
|
+
serializedName: "subscriptionId",
|
|
46
|
+
required: true,
|
|
47
|
+
type: {
|
|
48
|
+
name: "String"
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
export const resourceGroupName = {
|
|
53
|
+
parameterPath: "resourceGroupName",
|
|
54
|
+
mapper: {
|
|
55
|
+
serializedName: "resourceGroupName",
|
|
56
|
+
required: true,
|
|
57
|
+
type: {
|
|
58
|
+
name: "String"
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
};
|
|
62
|
+
export const workspaceName = {
|
|
63
|
+
parameterPath: "workspaceName",
|
|
64
|
+
mapper: {
|
|
65
|
+
serializedName: "workspaceName",
|
|
66
|
+
required: true,
|
|
67
|
+
type: {
|
|
68
|
+
name: "String"
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
export const contentType = {
|
|
73
|
+
parameterPath: ["options", "contentType"],
|
|
74
|
+
mapper: {
|
|
75
|
+
defaultValue: "application/json",
|
|
76
|
+
isConstant: true,
|
|
77
|
+
serializedName: "Content-Type",
|
|
78
|
+
type: {
|
|
79
|
+
name: "String"
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
};
|
|
83
|
+
export const parameters = {
|
|
84
|
+
parameterPath: "parameters",
|
|
85
|
+
mapper: WorkspaceMapper
|
|
86
|
+
};
|
|
87
|
+
export const parameters1 = {
|
|
88
|
+
parameterPath: "parameters",
|
|
89
|
+
mapper: WorkspaceUpdateParametersMapper
|
|
90
|
+
};
|
|
91
|
+
export const nextLink = {
|
|
92
|
+
parameterPath: "nextLink",
|
|
93
|
+
mapper: {
|
|
94
|
+
serializedName: "nextLink",
|
|
95
|
+
required: true,
|
|
96
|
+
type: {
|
|
97
|
+
name: "String"
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
skipEncoding: true
|
|
101
|
+
};
|
|
102
|
+
//# sourceMappingURL=parameters.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,EACL,SAAS,IAAI,eAAe,EAC5B,yBAAyB,IAAI,+BAA+B,EAC7D,MAAM,sBAAsB,CAAC;AAE9B,MAAM,CAAC,MAAM,MAAM,GAAuB;IACxC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,QAAQ;QACxB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAA0B;IAC1C,aAAa,EAAE,OAAO;IACtB,MAAM,EAAE;QACN,cAAc,EAAE,OAAO;QACvB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,UAA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,CAAC,MAAM,QAAQ,GAA0B;IAC7C,aAAa,EAAE,UAAU;IACzB,MAAM,EAAE;QACN,cAAc,EAAE,UAAU;QAC1B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,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 {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter\n} from \"@azure/core-client\";\nimport {\n Workspace as WorkspaceMapper,\n WorkspaceUpdateParameters as WorkspaceUpdateParametersMapper\n} from \"../models/mappers.js\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2019-10-01\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const resourceGroupName: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const workspaceName: OperationURLParameter = {\n parameterPath: \"workspaceName\",\n mapper: {\n serializedName: \"workspaceName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const parameters: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: WorkspaceMapper\n};\n\nexport const parameters1: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: WorkspaceUpdateParametersMapper\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
export * from "./operations.js";
|
|
9
|
+
export * from "./workspaces.js";
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport * from \"./operations.js\";\nexport * from \"./workspaces.js\";\n"]}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { Operations } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { MachineLearningWorkspacesManagementClient } from "../machineLearningWorkspacesManagementClient.js";
|
|
4
|
+
import { Operation, OperationsListOptionalParams } from "../models/index.js";
|
|
5
|
+
/** Class containing Operations operations. */
|
|
6
|
+
export declare class OperationsImpl implements Operations {
|
|
7
|
+
private readonly client;
|
|
8
|
+
/**
|
|
9
|
+
* Initialize a new instance of the class Operations class.
|
|
10
|
+
* @param client Reference to the service client
|
|
11
|
+
*/
|
|
12
|
+
constructor(client: MachineLearningWorkspacesManagementClient);
|
|
13
|
+
/**
|
|
14
|
+
* Lists all of the available Azure Machine Learning Studio REST API operations.
|
|
15
|
+
* @param options The options parameters.
|
|
16
|
+
*/
|
|
17
|
+
list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
|
|
18
|
+
private listPagingPage;
|
|
19
|
+
private listPagingAll;
|
|
20
|
+
/**
|
|
21
|
+
* Lists all of the available Azure Machine Learning Studio REST API operations.
|
|
22
|
+
* @param options The options parameters.
|
|
23
|
+
*/
|
|
24
|
+
private _list;
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAC9E,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAI9D,OAAO,EAAE,yCAAyC,EAAE,MAAM,iDAAiD,CAAC;AAC5G,OAAO,EACL,SAAS,EACT,4BAA4B,EAE7B,MAAM,oBAAoB,CAAC;AAG5B,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA4C;IAEnE;;;OAGG;gBACS,MAAM,EAAE,yCAAyC;IAI7D;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,SAAS,CAAC;YAkBzB,cAAc;YASd,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;CAKd"}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
10
|
+
import * as Mappers from "../models/mappers.js";
|
|
11
|
+
import * as Parameters from "../models/parameters.js";
|
|
12
|
+
/// <reference lib="esnext.asynciterable" />
|
|
13
|
+
/** Class containing Operations operations. */
|
|
14
|
+
export class OperationsImpl {
|
|
15
|
+
/**
|
|
16
|
+
* Initialize a new instance of the class Operations class.
|
|
17
|
+
* @param client Reference to the service client
|
|
18
|
+
*/
|
|
19
|
+
constructor(client) {
|
|
20
|
+
this.client = client;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Lists all of the available Azure Machine Learning Studio REST API operations.
|
|
24
|
+
* @param options The options parameters.
|
|
25
|
+
*/
|
|
26
|
+
list(options) {
|
|
27
|
+
const iter = this.listPagingAll(options);
|
|
28
|
+
return {
|
|
29
|
+
next() {
|
|
30
|
+
return iter.next();
|
|
31
|
+
},
|
|
32
|
+
[Symbol.asyncIterator]() {
|
|
33
|
+
return this;
|
|
34
|
+
},
|
|
35
|
+
byPage: (settings) => {
|
|
36
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
37
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
38
|
+
}
|
|
39
|
+
return this.listPagingPage(options, settings);
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
listPagingPage(options, _settings) {
|
|
44
|
+
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
45
|
+
let result;
|
|
46
|
+
result = yield __await(this._list(options));
|
|
47
|
+
yield yield __await(result.value || []);
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
listPagingAll(options) {
|
|
51
|
+
return __asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
52
|
+
var _a, e_1, _b, _c;
|
|
53
|
+
try {
|
|
54
|
+
for (var _d = true, _e = __asyncValues(this.listPagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
55
|
+
_c = _f.value;
|
|
56
|
+
_d = false;
|
|
57
|
+
const page = _c;
|
|
58
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
62
|
+
finally {
|
|
63
|
+
try {
|
|
64
|
+
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
65
|
+
}
|
|
66
|
+
finally { if (e_1) throw e_1.error; }
|
|
67
|
+
}
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Lists all of the available Azure Machine Learning Studio REST API operations.
|
|
72
|
+
* @param options The options parameters.
|
|
73
|
+
*/
|
|
74
|
+
_list(options) {
|
|
75
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
// Operation Specifications
|
|
79
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
80
|
+
const listOperationSpec = {
|
|
81
|
+
path: "/providers/Microsoft.MachineLearning/operations",
|
|
82
|
+
httpMethod: "GET",
|
|
83
|
+
responses: {
|
|
84
|
+
200: {
|
|
85
|
+
bodyMapper: Mappers.OperationListResult
|
|
86
|
+
},
|
|
87
|
+
default: {
|
|
88
|
+
bodyMapper: Mappers.ErrorResponse
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
queryParameters: [Parameters.apiVersion],
|
|
92
|
+
urlParameters: [Parameters.$host],
|
|
93
|
+
headerParameters: [Parameters.accept],
|
|
94
|
+
serializer
|
|
95
|
+
};
|
|
96
|
+
//# sourceMappingURL=operations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAQtD,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAM,OAAO,cAAc;IAGzB;;;OAGG;IACH,YAAY,MAAiD;QAC3D,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAAsC;QAEtC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,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,cAAc,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;YAChD,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,cAAc,CAC3B,OAAsC,EACtC,SAAwB;;YAExB,IAAI,MAA8B,CAAC;YACnC,MAAM,GAAG,cAAM,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAA,CAAC;YACnC,oBAAM,MAAM,CAAC,KAAK,IAAI,EAAE,CAAA,CAAC;QAC3B,CAAC;KAAA;IAEc,aAAa,CAC1B,OAAsC;;;;gBAEtC,KAAyB,eAAA,KAAA,cAAA,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,CAAA,IAAA,+DAAE,CAAC;oBAA/B,cAA4B;oBAA5B,WAA4B;oBAA1C,MAAM,IAAI,KAAA,CAAA;oBACnB,cAAA,KAAK,CAAC,CAAC,iBAAA,cAAA,IAAI,CAAA,CAAA,CAAA,CAAC;gBACd,CAAC;;;;;;;;;QACH,CAAC;KAAA;IAED;;;OAGG;IACK,KAAK,CACX,OAAsC;QAEtC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE,OAAO,EAAE,EAAE,iBAAiB,CAAC,CAAC;IAC1E,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,iDAAiD;IACvD,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { Operations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { MachineLearningWorkspacesManagementClient } from \"../machineLearningWorkspacesManagementClient.js\";\nimport {\n Operation,\n OperationsListOptionalParams,\n OperationsListResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Operations operations. */\nexport class OperationsImpl implements Operations {\n private readonly client: MachineLearningWorkspacesManagementClient;\n\n /**\n * Initialize a new instance of the class Operations class.\n * @param client Reference to the service client\n */\n constructor(client: MachineLearningWorkspacesManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all of the available Azure Machine Learning Studio REST API operations.\n * @param options The options parameters.\n */\n public list(\n options?: OperationsListOptionalParams\n ): PagedAsyncIterableIterator<Operation> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n }\n };\n }\n\n private async *listPagingPage(\n options?: OperationsListOptionalParams,\n _settings?: PageSettings\n ): AsyncIterableIterator<Operation[]> {\n let result: OperationsListResponse;\n result = await this._list(options);\n yield result.value || [];\n }\n\n private async *listPagingAll(\n options?: OperationsListOptionalParams\n ): AsyncIterableIterator<Operation> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Lists all of the available Azure Machine Learning Studio REST API operations.\n * @param options The options parameters.\n */\n private _list(\n options?: OperationsListOptionalParams\n ): Promise<OperationsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.MachineLearning/operations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|