@azure/arm-webservices 1.1.1-alpha.20250210.1 → 1.1.1-alpha.20250211.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +30 -15
- package/{dist-esm/src → dist/browser}/azureMLWebServicesManagementClient.d.ts +2 -2
- package/dist/browser/azureMLWebServicesManagementClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/azureMLWebServicesManagementClient.js +15 -18
- package/dist/browser/azureMLWebServicesManagementClient.js.map +1 -0
- 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/browser/lroImpl.js +25 -0
- package/dist/browser/lroImpl.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/webServices.d.ts +3 -3
- package/dist/browser/operations/webServices.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/webServices.js +133 -149
- package/dist/browser/operations/webServices.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/webServices.d.ts +1 -1
- package/dist/browser/operationsInterfaces/webServices.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/webServices.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/pagingHelper.js.map +1 -0
- package/dist/commonjs/azureMLWebServicesManagementClient.d.ts +21 -0
- package/dist/commonjs/azureMLWebServicesManagementClient.d.ts.map +1 -0
- package/dist/commonjs/azureMLWebServicesManagementClient.js +103 -0
- package/dist/commonjs/azureMLWebServicesManagementClient.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/lroImpl.d.ts +16 -0
- package/dist/commonjs/lroImpl.d.ts.map +1 -0
- package/dist/commonjs/lroImpl.js +29 -0
- package/dist/commonjs/lroImpl.js.map +1 -0
- package/{types/arm-webservices.d.ts → dist/commonjs/models/index.d.ts} +751 -971
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +131 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +40 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +1136 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +15 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +133 -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 +97 -0
- package/dist/commonjs/operations/operations.js.map +1 -0
- package/dist/commonjs/operations/webServices.d.ts +146 -0
- package/dist/commonjs/operations/webServices.d.ts.map +1 -0
- package/dist/commonjs/operations/webServices.js +614 -0
- package/dist/commonjs/operations/webServices.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/webServices.d.ts +110 -0
- package/dist/commonjs/operationsInterfaces/webServices.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/webServices.js +10 -0
- package/dist/commonjs/operationsInterfaces/webServices.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/azureMLWebServicesManagementClient.d.ts +21 -0
- package/dist/esm/azureMLWebServicesManagementClient.d.ts.map +1 -0
- package/dist/esm/azureMLWebServicesManagementClient.js +98 -0
- package/dist/esm/azureMLWebServicesManagementClient.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/lroImpl.d.ts +16 -0
- package/dist/esm/lroImpl.d.ts.map +1 -0
- package/dist/esm/lroImpl.js +25 -0
- package/dist/esm/lroImpl.js.map +1 -0
- package/dist/esm/models/index.d.ts +751 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +128 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +40 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +1133 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +15 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +130 -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 +93 -0
- package/dist/esm/operations/operations.js.map +1 -0
- package/dist/esm/operations/webServices.d.ts +146 -0
- package/dist/esm/operations/webServices.d.ts.map +1 -0
- package/dist/esm/operations/webServices.js +610 -0
- package/dist/esm/operations/webServices.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/{src/operations/index.ts → dist/esm/operationsInterfaces/operations.js} +2 -3
- package/dist/esm/operationsInterfaces/operations.js.map +1 -0
- package/dist/esm/operationsInterfaces/webServices.d.ts +110 -0
- package/dist/esm/operationsInterfaces/webServices.d.ts.map +1 -0
- package/{src/operationsInterfaces/index.ts → dist/esm/operationsInterfaces/webServices.js} +2 -3
- package/dist/esm/operationsInterfaces/webServices.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/azureMLWebServicesManagementClient.d.ts +21 -0
- package/dist/react-native/azureMLWebServicesManagementClient.d.ts.map +1 -0
- package/dist/react-native/azureMLWebServicesManagementClient.js +98 -0
- package/dist/react-native/azureMLWebServicesManagementClient.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/lroImpl.d.ts +16 -0
- package/dist/react-native/lroImpl.d.ts.map +1 -0
- package/dist/react-native/lroImpl.js +25 -0
- package/dist/react-native/lroImpl.js.map +1 -0
- package/dist/react-native/models/index.d.ts +751 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +128 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +40 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +1133 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +15 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +130 -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 +93 -0
- package/dist/react-native/operations/operations.js.map +1 -0
- package/dist/react-native/operations/webServices.d.ts +146 -0
- package/dist/react-native/operations/webServices.d.ts.map +1 -0
- package/dist/react-native/operations/webServices.js +610 -0
- package/dist/react-native/operations/webServices.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/webServices.d.ts +110 -0
- package/dist/react-native/operationsInterfaces/webServices.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/webServices.js +9 -0
- package/dist/react-native/operationsInterfaces/webServices.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 +70 -41
- package/dist/index.js +0 -2326
- 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/webServicesCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/webServicesCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/webServicesCreateOrUpdateSample.js +0 -138
- package/dist-esm/samples-dev/webServicesCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/webServicesCreateRegionalPropertiesSample.d.ts +0 -2
- package/dist-esm/samples-dev/webServicesCreateRegionalPropertiesSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/webServicesCreateRegionalPropertiesSample.js +0 -30
- package/dist-esm/samples-dev/webServicesCreateRegionalPropertiesSample.js.map +0 -1
- package/dist-esm/samples-dev/webServicesGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/webServicesGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/webServicesGetSample.js +0 -29
- package/dist-esm/samples-dev/webServicesGetSample.js.map +0 -1
- package/dist-esm/samples-dev/webServicesListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/webServicesListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/webServicesListByResourceGroupSample.js +0 -44
- package/dist-esm/samples-dev/webServicesListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/webServicesListBySubscriptionIdSample.d.ts +0 -2
- package/dist-esm/samples-dev/webServicesListBySubscriptionIdSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/webServicesListBySubscriptionIdSample.js +0 -43
- package/dist-esm/samples-dev/webServicesListBySubscriptionIdSample.js.map +0 -1
- package/dist-esm/samples-dev/webServicesListKeysSample.d.ts +0 -2
- package/dist-esm/samples-dev/webServicesListKeysSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/webServicesListKeysSample.js +0 -29
- package/dist-esm/samples-dev/webServicesListKeysSample.js.map +0 -1
- package/dist-esm/samples-dev/webServicesPatchSample.d.ts +0 -2
- package/dist-esm/samples-dev/webServicesPatchSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/webServicesPatchSample.js +0 -30
- package/dist-esm/samples-dev/webServicesPatchSample.js.map +0 -1
- package/dist-esm/samples-dev/webServicesRemoveSample.d.ts +0 -2
- package/dist-esm/samples-dev/webServicesRemoveSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/webServicesRemoveSample.js +0 -29
- package/dist-esm/samples-dev/webServicesRemoveSample.js.map +0 -1
- package/dist-esm/src/azureMLWebServicesManagementClient.d.ts.map +0 -1
- package/dist-esm/src/azureMLWebServicesManagementClient.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/lroImpl.js +0 -29
- package/dist-esm/src/lroImpl.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/webServices.d.ts.map +0 -1
- package/dist-esm/src/operations/webServices.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/webServices.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/webServices.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/azureMLWebServicesManagementClient.ts +0 -142
- package/src/lroImpl.ts +0 -34
- package/src/models/index.ts +0 -813
- package/src/models/mappers.ts +0 -1179
- package/src/models/parameters.ts +0 -151
- package/src/operations/operations.ts +0 -100
- package/src/operations/webServices.ts +0 -855
- package/src/operationsInterfaces/operations.ts +0 -22
- package/src/operationsInterfaces/webServices.ts +0 -201
- package/src/pagingHelper.ts +0 -39
- package/tsconfig.json +0 -35
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
- /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/webServices.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
package/dist/index.js
DELETED
|
@@ -1,2326 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var tslib = require('tslib');
|
|
6
|
-
var coreClient = require('@azure/core-client');
|
|
7
|
-
var coreRestPipeline = require('@azure/core-rest-pipeline');
|
|
8
|
-
var coreLro = require('@azure/core-lro');
|
|
9
|
-
|
|
10
|
-
function _interopNamespaceDefault(e) {
|
|
11
|
-
var n = Object.create(null);
|
|
12
|
-
if (e) {
|
|
13
|
-
Object.keys(e).forEach(function (k) {
|
|
14
|
-
if (k !== 'default') {
|
|
15
|
-
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
16
|
-
Object.defineProperty(n, k, d.get ? d : {
|
|
17
|
-
enumerable: true,
|
|
18
|
-
get: function () { return e[k]; }
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
n.default = e;
|
|
24
|
-
return Object.freeze(n);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
var coreClient__namespace = /*#__PURE__*/_interopNamespaceDefault(coreClient);
|
|
28
|
-
var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespaceDefault(coreRestPipeline);
|
|
29
|
-
|
|
30
|
-
/*
|
|
31
|
-
* Copyright (c) Microsoft Corporation.
|
|
32
|
-
* Licensed under the MIT License.
|
|
33
|
-
*
|
|
34
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
35
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
36
|
-
*/
|
|
37
|
-
const pageMap = new WeakMap();
|
|
38
|
-
/**
|
|
39
|
-
* Given a result page from a pageable operation, returns a
|
|
40
|
-
* continuation token that can be used to begin paging from
|
|
41
|
-
* that point later.
|
|
42
|
-
* @param page A result object from calling .byPage() on a paged operation.
|
|
43
|
-
* @returns The continuation token that can be passed into byPage().
|
|
44
|
-
*/
|
|
45
|
-
function getContinuationToken(page) {
|
|
46
|
-
var _a;
|
|
47
|
-
if (typeof page !== "object" || page === null) {
|
|
48
|
-
return undefined;
|
|
49
|
-
}
|
|
50
|
-
return (_a = pageMap.get(page)) === null || _a === void 0 ? void 0 : _a.continuationToken;
|
|
51
|
-
}
|
|
52
|
-
function setContinuationToken(page, continuationToken) {
|
|
53
|
-
var _a;
|
|
54
|
-
if (typeof page !== "object" || page === null || !continuationToken) {
|
|
55
|
-
return;
|
|
56
|
-
}
|
|
57
|
-
const pageInfo = (_a = pageMap.get(page)) !== null && _a !== void 0 ? _a : {};
|
|
58
|
-
pageInfo.continuationToken = continuationToken;
|
|
59
|
-
pageMap.set(page, pageInfo);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/*
|
|
63
|
-
* Copyright (c) Microsoft Corporation.
|
|
64
|
-
* Licensed under the MIT License.
|
|
65
|
-
*
|
|
66
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
67
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
68
|
-
*/
|
|
69
|
-
/** Known values of {@link ProvisioningState} that the service accepts. */
|
|
70
|
-
exports.KnownProvisioningState = void 0;
|
|
71
|
-
(function (KnownProvisioningState) {
|
|
72
|
-
/** Unknown */
|
|
73
|
-
KnownProvisioningState["Unknown"] = "Unknown";
|
|
74
|
-
/** Provisioning */
|
|
75
|
-
KnownProvisioningState["Provisioning"] = "Provisioning";
|
|
76
|
-
/** Succeeded */
|
|
77
|
-
KnownProvisioningState["Succeeded"] = "Succeeded";
|
|
78
|
-
/** Failed */
|
|
79
|
-
KnownProvisioningState["Failed"] = "Failed";
|
|
80
|
-
})(exports.KnownProvisioningState || (exports.KnownProvisioningState = {}));
|
|
81
|
-
/** Known values of {@link DiagnosticsLevel} that the service accepts. */
|
|
82
|
-
exports.KnownDiagnosticsLevel = void 0;
|
|
83
|
-
(function (KnownDiagnosticsLevel) {
|
|
84
|
-
/** None */
|
|
85
|
-
KnownDiagnosticsLevel["None"] = "None";
|
|
86
|
-
/** Error */
|
|
87
|
-
KnownDiagnosticsLevel["Error"] = "Error";
|
|
88
|
-
/** All */
|
|
89
|
-
KnownDiagnosticsLevel["All"] = "All";
|
|
90
|
-
})(exports.KnownDiagnosticsLevel || (exports.KnownDiagnosticsLevel = {}));
|
|
91
|
-
/** Known values of {@link ColumnType} that the service accepts. */
|
|
92
|
-
exports.KnownColumnType = void 0;
|
|
93
|
-
(function (KnownColumnType) {
|
|
94
|
-
/** Boolean */
|
|
95
|
-
KnownColumnType["Boolean"] = "Boolean";
|
|
96
|
-
/** Integer */
|
|
97
|
-
KnownColumnType["Integer"] = "Integer";
|
|
98
|
-
/** Number */
|
|
99
|
-
KnownColumnType["Number"] = "Number";
|
|
100
|
-
/** String */
|
|
101
|
-
KnownColumnType["String"] = "String";
|
|
102
|
-
})(exports.KnownColumnType || (exports.KnownColumnType = {}));
|
|
103
|
-
/** Known values of {@link ColumnFormat} that the service accepts. */
|
|
104
|
-
exports.KnownColumnFormat = void 0;
|
|
105
|
-
(function (KnownColumnFormat) {
|
|
106
|
-
/** Byte */
|
|
107
|
-
KnownColumnFormat["Byte"] = "Byte";
|
|
108
|
-
/** Char */
|
|
109
|
-
KnownColumnFormat["Char"] = "Char";
|
|
110
|
-
/** Complex64 */
|
|
111
|
-
KnownColumnFormat["Complex64"] = "Complex64";
|
|
112
|
-
/** Complex128 */
|
|
113
|
-
KnownColumnFormat["Complex128"] = "Complex128";
|
|
114
|
-
/** DateTime */
|
|
115
|
-
KnownColumnFormat["DateTime"] = "Date-time";
|
|
116
|
-
/** DateTimeOffset */
|
|
117
|
-
KnownColumnFormat["DateTimeOffset"] = "Date-timeOffset";
|
|
118
|
-
/** Double */
|
|
119
|
-
KnownColumnFormat["Double"] = "Double";
|
|
120
|
-
/** Duration */
|
|
121
|
-
KnownColumnFormat["Duration"] = "Duration";
|
|
122
|
-
/** Float */
|
|
123
|
-
KnownColumnFormat["Float"] = "Float";
|
|
124
|
-
/** Int8 */
|
|
125
|
-
KnownColumnFormat["Int8"] = "Int8";
|
|
126
|
-
/** Int16 */
|
|
127
|
-
KnownColumnFormat["Int16"] = "Int16";
|
|
128
|
-
/** Int32 */
|
|
129
|
-
KnownColumnFormat["Int32"] = "Int32";
|
|
130
|
-
/** Int64 */
|
|
131
|
-
KnownColumnFormat["Int64"] = "Int64";
|
|
132
|
-
/** Uint8 */
|
|
133
|
-
KnownColumnFormat["Uint8"] = "Uint8";
|
|
134
|
-
/** Uint16 */
|
|
135
|
-
KnownColumnFormat["Uint16"] = "Uint16";
|
|
136
|
-
/** Uint32 */
|
|
137
|
-
KnownColumnFormat["Uint32"] = "Uint32";
|
|
138
|
-
/** Uint64 */
|
|
139
|
-
KnownColumnFormat["Uint64"] = "Uint64";
|
|
140
|
-
})(exports.KnownColumnFormat || (exports.KnownColumnFormat = {}));
|
|
141
|
-
/** Known values of {@link AssetType} that the service accepts. */
|
|
142
|
-
exports.KnownAssetType = void 0;
|
|
143
|
-
(function (KnownAssetType) {
|
|
144
|
-
/** Module */
|
|
145
|
-
KnownAssetType["Module"] = "Module";
|
|
146
|
-
/** Resource */
|
|
147
|
-
KnownAssetType["Resource"] = "Resource";
|
|
148
|
-
})(exports.KnownAssetType || (exports.KnownAssetType = {}));
|
|
149
|
-
/** Known values of {@link InputPortType} that the service accepts. */
|
|
150
|
-
exports.KnownInputPortType = void 0;
|
|
151
|
-
(function (KnownInputPortType) {
|
|
152
|
-
/** Dataset */
|
|
153
|
-
KnownInputPortType["Dataset"] = "Dataset";
|
|
154
|
-
})(exports.KnownInputPortType || (exports.KnownInputPortType = {}));
|
|
155
|
-
/** Known values of {@link OutputPortType} that the service accepts. */
|
|
156
|
-
exports.KnownOutputPortType = void 0;
|
|
157
|
-
(function (KnownOutputPortType) {
|
|
158
|
-
/** Dataset */
|
|
159
|
-
KnownOutputPortType["Dataset"] = "Dataset";
|
|
160
|
-
})(exports.KnownOutputPortType || (exports.KnownOutputPortType = {}));
|
|
161
|
-
/** Known values of {@link ParameterType} that the service accepts. */
|
|
162
|
-
exports.KnownParameterType = void 0;
|
|
163
|
-
(function (KnownParameterType) {
|
|
164
|
-
/** String */
|
|
165
|
-
KnownParameterType["String"] = "String";
|
|
166
|
-
/** Int */
|
|
167
|
-
KnownParameterType["Int"] = "Int";
|
|
168
|
-
/** Float */
|
|
169
|
-
KnownParameterType["Float"] = "Float";
|
|
170
|
-
/** Enumerated */
|
|
171
|
-
KnownParameterType["Enumerated"] = "Enumerated";
|
|
172
|
-
/** Script */
|
|
173
|
-
KnownParameterType["Script"] = "Script";
|
|
174
|
-
/** Mode */
|
|
175
|
-
KnownParameterType["Mode"] = "Mode";
|
|
176
|
-
/** Credential */
|
|
177
|
-
KnownParameterType["Credential"] = "Credential";
|
|
178
|
-
/** Boolean */
|
|
179
|
-
KnownParameterType["Boolean"] = "Boolean";
|
|
180
|
-
/** Double */
|
|
181
|
-
KnownParameterType["Double"] = "Double";
|
|
182
|
-
/** ColumnPicker */
|
|
183
|
-
KnownParameterType["ColumnPicker"] = "ColumnPicker";
|
|
184
|
-
/** ParameterRange */
|
|
185
|
-
KnownParameterType["ParameterRange"] = "ParameterRange";
|
|
186
|
-
/** DataGatewayName */
|
|
187
|
-
KnownParameterType["DataGatewayName"] = "DataGatewayName";
|
|
188
|
-
})(exports.KnownParameterType || (exports.KnownParameterType = {}));
|
|
189
|
-
|
|
190
|
-
/*
|
|
191
|
-
* Copyright (c) Microsoft Corporation.
|
|
192
|
-
* Licensed under the MIT License.
|
|
193
|
-
*
|
|
194
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
195
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
196
|
-
*/
|
|
197
|
-
const OperationEntityListResult = {
|
|
198
|
-
type: {
|
|
199
|
-
name: "Composite",
|
|
200
|
-
className: "OperationEntityListResult",
|
|
201
|
-
modelProperties: {
|
|
202
|
-
value: {
|
|
203
|
-
serializedName: "value",
|
|
204
|
-
readOnly: true,
|
|
205
|
-
type: {
|
|
206
|
-
name: "Sequence",
|
|
207
|
-
element: {
|
|
208
|
-
type: {
|
|
209
|
-
name: "Composite",
|
|
210
|
-
className: "OperationEntity"
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
};
|
|
218
|
-
const OperationEntity = {
|
|
219
|
-
type: {
|
|
220
|
-
name: "Composite",
|
|
221
|
-
className: "OperationEntity",
|
|
222
|
-
modelProperties: {
|
|
223
|
-
name: {
|
|
224
|
-
serializedName: "name",
|
|
225
|
-
readOnly: true,
|
|
226
|
-
type: {
|
|
227
|
-
name: "String"
|
|
228
|
-
}
|
|
229
|
-
},
|
|
230
|
-
display: {
|
|
231
|
-
serializedName: "display",
|
|
232
|
-
type: {
|
|
233
|
-
name: "Composite",
|
|
234
|
-
className: "OperationDisplayInfo"
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
};
|
|
240
|
-
const OperationDisplayInfo = {
|
|
241
|
-
type: {
|
|
242
|
-
name: "Composite",
|
|
243
|
-
className: "OperationDisplayInfo",
|
|
244
|
-
modelProperties: {
|
|
245
|
-
description: {
|
|
246
|
-
serializedName: "description",
|
|
247
|
-
readOnly: true,
|
|
248
|
-
type: {
|
|
249
|
-
name: "String"
|
|
250
|
-
}
|
|
251
|
-
},
|
|
252
|
-
operation: {
|
|
253
|
-
serializedName: "operation",
|
|
254
|
-
readOnly: true,
|
|
255
|
-
type: {
|
|
256
|
-
name: "String"
|
|
257
|
-
}
|
|
258
|
-
},
|
|
259
|
-
provider: {
|
|
260
|
-
serializedName: "provider",
|
|
261
|
-
readOnly: true,
|
|
262
|
-
type: {
|
|
263
|
-
name: "String"
|
|
264
|
-
}
|
|
265
|
-
},
|
|
266
|
-
resource: {
|
|
267
|
-
serializedName: "resource",
|
|
268
|
-
readOnly: true,
|
|
269
|
-
type: {
|
|
270
|
-
name: "String"
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
}
|
|
275
|
-
};
|
|
276
|
-
const WebServiceProperties = {
|
|
277
|
-
type: {
|
|
278
|
-
name: "Composite",
|
|
279
|
-
className: "WebServiceProperties",
|
|
280
|
-
uberParent: "WebServiceProperties",
|
|
281
|
-
polymorphicDiscriminator: {
|
|
282
|
-
serializedName: "packageType",
|
|
283
|
-
clientName: "packageType"
|
|
284
|
-
},
|
|
285
|
-
modelProperties: {
|
|
286
|
-
title: {
|
|
287
|
-
serializedName: "title",
|
|
288
|
-
type: {
|
|
289
|
-
name: "String"
|
|
290
|
-
}
|
|
291
|
-
},
|
|
292
|
-
description: {
|
|
293
|
-
serializedName: "description",
|
|
294
|
-
type: {
|
|
295
|
-
name: "String"
|
|
296
|
-
}
|
|
297
|
-
},
|
|
298
|
-
createdOn: {
|
|
299
|
-
serializedName: "createdOn",
|
|
300
|
-
readOnly: true,
|
|
301
|
-
type: {
|
|
302
|
-
name: "DateTime"
|
|
303
|
-
}
|
|
304
|
-
},
|
|
305
|
-
modifiedOn: {
|
|
306
|
-
serializedName: "modifiedOn",
|
|
307
|
-
readOnly: true,
|
|
308
|
-
type: {
|
|
309
|
-
name: "DateTime"
|
|
310
|
-
}
|
|
311
|
-
},
|
|
312
|
-
provisioningState: {
|
|
313
|
-
serializedName: "provisioningState",
|
|
314
|
-
readOnly: true,
|
|
315
|
-
type: {
|
|
316
|
-
name: "String"
|
|
317
|
-
}
|
|
318
|
-
},
|
|
319
|
-
keys: {
|
|
320
|
-
serializedName: "keys",
|
|
321
|
-
type: {
|
|
322
|
-
name: "Composite",
|
|
323
|
-
className: "WebServiceKeys"
|
|
324
|
-
}
|
|
325
|
-
},
|
|
326
|
-
readOnly: {
|
|
327
|
-
serializedName: "readOnly",
|
|
328
|
-
type: {
|
|
329
|
-
name: "Boolean"
|
|
330
|
-
}
|
|
331
|
-
},
|
|
332
|
-
swaggerLocation: {
|
|
333
|
-
serializedName: "swaggerLocation",
|
|
334
|
-
readOnly: true,
|
|
335
|
-
type: {
|
|
336
|
-
name: "String"
|
|
337
|
-
}
|
|
338
|
-
},
|
|
339
|
-
exposeSampleData: {
|
|
340
|
-
serializedName: "exposeSampleData",
|
|
341
|
-
type: {
|
|
342
|
-
name: "Boolean"
|
|
343
|
-
}
|
|
344
|
-
},
|
|
345
|
-
realtimeConfiguration: {
|
|
346
|
-
serializedName: "realtimeConfiguration",
|
|
347
|
-
type: {
|
|
348
|
-
name: "Composite",
|
|
349
|
-
className: "RealtimeConfiguration"
|
|
350
|
-
}
|
|
351
|
-
},
|
|
352
|
-
diagnostics: {
|
|
353
|
-
serializedName: "diagnostics",
|
|
354
|
-
type: {
|
|
355
|
-
name: "Composite",
|
|
356
|
-
className: "DiagnosticsConfiguration"
|
|
357
|
-
}
|
|
358
|
-
},
|
|
359
|
-
storageAccount: {
|
|
360
|
-
serializedName: "storageAccount",
|
|
361
|
-
type: {
|
|
362
|
-
name: "Composite",
|
|
363
|
-
className: "StorageAccount"
|
|
364
|
-
}
|
|
365
|
-
},
|
|
366
|
-
machineLearningWorkspace: {
|
|
367
|
-
serializedName: "machineLearningWorkspace",
|
|
368
|
-
type: {
|
|
369
|
-
name: "Composite",
|
|
370
|
-
className: "MachineLearningWorkspace"
|
|
371
|
-
}
|
|
372
|
-
},
|
|
373
|
-
commitmentPlan: {
|
|
374
|
-
serializedName: "commitmentPlan",
|
|
375
|
-
type: {
|
|
376
|
-
name: "Composite",
|
|
377
|
-
className: "CommitmentPlan"
|
|
378
|
-
}
|
|
379
|
-
},
|
|
380
|
-
input: {
|
|
381
|
-
serializedName: "input",
|
|
382
|
-
type: {
|
|
383
|
-
name: "Composite",
|
|
384
|
-
className: "ServiceInputOutputSpecification"
|
|
385
|
-
}
|
|
386
|
-
},
|
|
387
|
-
output: {
|
|
388
|
-
serializedName: "output",
|
|
389
|
-
type: {
|
|
390
|
-
name: "Composite",
|
|
391
|
-
className: "ServiceInputOutputSpecification"
|
|
392
|
-
}
|
|
393
|
-
},
|
|
394
|
-
exampleRequest: {
|
|
395
|
-
serializedName: "exampleRequest",
|
|
396
|
-
type: {
|
|
397
|
-
name: "Composite",
|
|
398
|
-
className: "ExampleRequest"
|
|
399
|
-
}
|
|
400
|
-
},
|
|
401
|
-
assets: {
|
|
402
|
-
serializedName: "assets",
|
|
403
|
-
type: {
|
|
404
|
-
name: "Dictionary",
|
|
405
|
-
value: { type: { name: "Composite", className: "AssetItem" } }
|
|
406
|
-
}
|
|
407
|
-
},
|
|
408
|
-
parameters: {
|
|
409
|
-
serializedName: "parameters",
|
|
410
|
-
type: {
|
|
411
|
-
name: "Dictionary",
|
|
412
|
-
value: {
|
|
413
|
-
type: { name: "Composite", className: "WebServiceParameter" }
|
|
414
|
-
}
|
|
415
|
-
}
|
|
416
|
-
},
|
|
417
|
-
packageType: {
|
|
418
|
-
defaultValue: "Graph",
|
|
419
|
-
isConstant: true,
|
|
420
|
-
serializedName: "packageType",
|
|
421
|
-
type: {
|
|
422
|
-
name: "String"
|
|
423
|
-
}
|
|
424
|
-
},
|
|
425
|
-
payloadsInBlobStorage: {
|
|
426
|
-
serializedName: "payloadsInBlobStorage",
|
|
427
|
-
type: {
|
|
428
|
-
name: "Boolean"
|
|
429
|
-
}
|
|
430
|
-
},
|
|
431
|
-
payloadsLocation: {
|
|
432
|
-
serializedName: "payloadsLocation",
|
|
433
|
-
type: {
|
|
434
|
-
name: "Composite",
|
|
435
|
-
className: "BlobLocation"
|
|
436
|
-
}
|
|
437
|
-
}
|
|
438
|
-
}
|
|
439
|
-
}
|
|
440
|
-
};
|
|
441
|
-
const WebServiceKeys = {
|
|
442
|
-
type: {
|
|
443
|
-
name: "Composite",
|
|
444
|
-
className: "WebServiceKeys",
|
|
445
|
-
modelProperties: {
|
|
446
|
-
primary: {
|
|
447
|
-
serializedName: "primary",
|
|
448
|
-
type: {
|
|
449
|
-
name: "String"
|
|
450
|
-
}
|
|
451
|
-
},
|
|
452
|
-
secondary: {
|
|
453
|
-
serializedName: "secondary",
|
|
454
|
-
type: {
|
|
455
|
-
name: "String"
|
|
456
|
-
}
|
|
457
|
-
}
|
|
458
|
-
}
|
|
459
|
-
}
|
|
460
|
-
};
|
|
461
|
-
const RealtimeConfiguration = {
|
|
462
|
-
type: {
|
|
463
|
-
name: "Composite",
|
|
464
|
-
className: "RealtimeConfiguration",
|
|
465
|
-
modelProperties: {
|
|
466
|
-
maxConcurrentCalls: {
|
|
467
|
-
constraints: {
|
|
468
|
-
InclusiveMaximum: 200,
|
|
469
|
-
InclusiveMinimum: 4
|
|
470
|
-
},
|
|
471
|
-
serializedName: "maxConcurrentCalls",
|
|
472
|
-
type: {
|
|
473
|
-
name: "Number"
|
|
474
|
-
}
|
|
475
|
-
}
|
|
476
|
-
}
|
|
477
|
-
}
|
|
478
|
-
};
|
|
479
|
-
const DiagnosticsConfiguration = {
|
|
480
|
-
type: {
|
|
481
|
-
name: "Composite",
|
|
482
|
-
className: "DiagnosticsConfiguration",
|
|
483
|
-
modelProperties: {
|
|
484
|
-
level: {
|
|
485
|
-
serializedName: "level",
|
|
486
|
-
required: true,
|
|
487
|
-
type: {
|
|
488
|
-
name: "String"
|
|
489
|
-
}
|
|
490
|
-
},
|
|
491
|
-
expiry: {
|
|
492
|
-
serializedName: "expiry",
|
|
493
|
-
type: {
|
|
494
|
-
name: "DateTime"
|
|
495
|
-
}
|
|
496
|
-
}
|
|
497
|
-
}
|
|
498
|
-
}
|
|
499
|
-
};
|
|
500
|
-
const StorageAccount = {
|
|
501
|
-
type: {
|
|
502
|
-
name: "Composite",
|
|
503
|
-
className: "StorageAccount",
|
|
504
|
-
modelProperties: {
|
|
505
|
-
name: {
|
|
506
|
-
serializedName: "name",
|
|
507
|
-
type: {
|
|
508
|
-
name: "String"
|
|
509
|
-
}
|
|
510
|
-
},
|
|
511
|
-
key: {
|
|
512
|
-
serializedName: "key",
|
|
513
|
-
type: {
|
|
514
|
-
name: "String"
|
|
515
|
-
}
|
|
516
|
-
}
|
|
517
|
-
}
|
|
518
|
-
}
|
|
519
|
-
};
|
|
520
|
-
const MachineLearningWorkspace = {
|
|
521
|
-
type: {
|
|
522
|
-
name: "Composite",
|
|
523
|
-
className: "MachineLearningWorkspace",
|
|
524
|
-
modelProperties: {
|
|
525
|
-
id: {
|
|
526
|
-
serializedName: "id",
|
|
527
|
-
required: true,
|
|
528
|
-
type: {
|
|
529
|
-
name: "String"
|
|
530
|
-
}
|
|
531
|
-
}
|
|
532
|
-
}
|
|
533
|
-
}
|
|
534
|
-
};
|
|
535
|
-
const CommitmentPlan = {
|
|
536
|
-
type: {
|
|
537
|
-
name: "Composite",
|
|
538
|
-
className: "CommitmentPlan",
|
|
539
|
-
modelProperties: {
|
|
540
|
-
id: {
|
|
541
|
-
serializedName: "id",
|
|
542
|
-
required: true,
|
|
543
|
-
type: {
|
|
544
|
-
name: "String"
|
|
545
|
-
}
|
|
546
|
-
}
|
|
547
|
-
}
|
|
548
|
-
}
|
|
549
|
-
};
|
|
550
|
-
const ServiceInputOutputSpecification = {
|
|
551
|
-
type: {
|
|
552
|
-
name: "Composite",
|
|
553
|
-
className: "ServiceInputOutputSpecification",
|
|
554
|
-
modelProperties: {
|
|
555
|
-
title: {
|
|
556
|
-
serializedName: "title",
|
|
557
|
-
type: {
|
|
558
|
-
name: "String"
|
|
559
|
-
}
|
|
560
|
-
},
|
|
561
|
-
description: {
|
|
562
|
-
serializedName: "description",
|
|
563
|
-
type: {
|
|
564
|
-
name: "String"
|
|
565
|
-
}
|
|
566
|
-
},
|
|
567
|
-
type: {
|
|
568
|
-
defaultValue: "object",
|
|
569
|
-
serializedName: "type",
|
|
570
|
-
required: true,
|
|
571
|
-
type: {
|
|
572
|
-
name: "String"
|
|
573
|
-
}
|
|
574
|
-
},
|
|
575
|
-
properties: {
|
|
576
|
-
serializedName: "properties",
|
|
577
|
-
required: true,
|
|
578
|
-
type: {
|
|
579
|
-
name: "Dictionary",
|
|
580
|
-
value: {
|
|
581
|
-
type: { name: "Composite", className: "TableSpecification" }
|
|
582
|
-
}
|
|
583
|
-
}
|
|
584
|
-
}
|
|
585
|
-
}
|
|
586
|
-
}
|
|
587
|
-
};
|
|
588
|
-
const TableSpecification = {
|
|
589
|
-
type: {
|
|
590
|
-
name: "Composite",
|
|
591
|
-
className: "TableSpecification",
|
|
592
|
-
modelProperties: {
|
|
593
|
-
title: {
|
|
594
|
-
serializedName: "title",
|
|
595
|
-
type: {
|
|
596
|
-
name: "String"
|
|
597
|
-
}
|
|
598
|
-
},
|
|
599
|
-
description: {
|
|
600
|
-
serializedName: "description",
|
|
601
|
-
type: {
|
|
602
|
-
name: "String"
|
|
603
|
-
}
|
|
604
|
-
},
|
|
605
|
-
type: {
|
|
606
|
-
defaultValue: "object",
|
|
607
|
-
serializedName: "type",
|
|
608
|
-
required: true,
|
|
609
|
-
type: {
|
|
610
|
-
name: "String"
|
|
611
|
-
}
|
|
612
|
-
},
|
|
613
|
-
format: {
|
|
614
|
-
serializedName: "format",
|
|
615
|
-
type: {
|
|
616
|
-
name: "String"
|
|
617
|
-
}
|
|
618
|
-
},
|
|
619
|
-
properties: {
|
|
620
|
-
serializedName: "properties",
|
|
621
|
-
type: {
|
|
622
|
-
name: "Dictionary",
|
|
623
|
-
value: {
|
|
624
|
-
type: { name: "Composite", className: "ColumnSpecification" }
|
|
625
|
-
}
|
|
626
|
-
}
|
|
627
|
-
}
|
|
628
|
-
}
|
|
629
|
-
}
|
|
630
|
-
};
|
|
631
|
-
const ColumnSpecification = {
|
|
632
|
-
type: {
|
|
633
|
-
name: "Composite",
|
|
634
|
-
className: "ColumnSpecification",
|
|
635
|
-
modelProperties: {
|
|
636
|
-
type: {
|
|
637
|
-
serializedName: "type",
|
|
638
|
-
required: true,
|
|
639
|
-
type: {
|
|
640
|
-
name: "String"
|
|
641
|
-
}
|
|
642
|
-
},
|
|
643
|
-
format: {
|
|
644
|
-
serializedName: "format",
|
|
645
|
-
type: {
|
|
646
|
-
name: "String"
|
|
647
|
-
}
|
|
648
|
-
},
|
|
649
|
-
enum: {
|
|
650
|
-
serializedName: "enum",
|
|
651
|
-
type: {
|
|
652
|
-
name: "Sequence",
|
|
653
|
-
element: {
|
|
654
|
-
type: {
|
|
655
|
-
name: "Dictionary",
|
|
656
|
-
value: { type: { name: "any" } }
|
|
657
|
-
}
|
|
658
|
-
}
|
|
659
|
-
}
|
|
660
|
-
},
|
|
661
|
-
xMsIsnullable: {
|
|
662
|
-
serializedName: "x-ms-isnullable",
|
|
663
|
-
type: {
|
|
664
|
-
name: "Boolean"
|
|
665
|
-
}
|
|
666
|
-
},
|
|
667
|
-
xMsIsordered: {
|
|
668
|
-
serializedName: "x-ms-isordered",
|
|
669
|
-
type: {
|
|
670
|
-
name: "Boolean"
|
|
671
|
-
}
|
|
672
|
-
}
|
|
673
|
-
}
|
|
674
|
-
}
|
|
675
|
-
};
|
|
676
|
-
const ExampleRequest = {
|
|
677
|
-
type: {
|
|
678
|
-
name: "Composite",
|
|
679
|
-
className: "ExampleRequest",
|
|
680
|
-
modelProperties: {
|
|
681
|
-
inputs: {
|
|
682
|
-
serializedName: "inputs",
|
|
683
|
-
type: {
|
|
684
|
-
name: "Dictionary",
|
|
685
|
-
value: {
|
|
686
|
-
type: {
|
|
687
|
-
name: "Sequence",
|
|
688
|
-
element: {
|
|
689
|
-
type: {
|
|
690
|
-
name: "Sequence",
|
|
691
|
-
element: {
|
|
692
|
-
type: {
|
|
693
|
-
name: "Dictionary",
|
|
694
|
-
value: { type: { name: "any" } }
|
|
695
|
-
}
|
|
696
|
-
}
|
|
697
|
-
}
|
|
698
|
-
}
|
|
699
|
-
}
|
|
700
|
-
}
|
|
701
|
-
}
|
|
702
|
-
},
|
|
703
|
-
globalParameters: {
|
|
704
|
-
serializedName: "globalParameters",
|
|
705
|
-
type: {
|
|
706
|
-
name: "Dictionary",
|
|
707
|
-
value: {
|
|
708
|
-
type: { name: "Dictionary", value: { type: { name: "any" } } }
|
|
709
|
-
}
|
|
710
|
-
}
|
|
711
|
-
}
|
|
712
|
-
}
|
|
713
|
-
}
|
|
714
|
-
};
|
|
715
|
-
const AssetItem = {
|
|
716
|
-
type: {
|
|
717
|
-
name: "Composite",
|
|
718
|
-
className: "AssetItem",
|
|
719
|
-
modelProperties: {
|
|
720
|
-
name: {
|
|
721
|
-
serializedName: "name",
|
|
722
|
-
required: true,
|
|
723
|
-
type: {
|
|
724
|
-
name: "String"
|
|
725
|
-
}
|
|
726
|
-
},
|
|
727
|
-
id: {
|
|
728
|
-
serializedName: "id",
|
|
729
|
-
type: {
|
|
730
|
-
name: "String"
|
|
731
|
-
}
|
|
732
|
-
},
|
|
733
|
-
type: {
|
|
734
|
-
serializedName: "type",
|
|
735
|
-
required: true,
|
|
736
|
-
type: {
|
|
737
|
-
name: "String"
|
|
738
|
-
}
|
|
739
|
-
},
|
|
740
|
-
locationInfo: {
|
|
741
|
-
serializedName: "locationInfo",
|
|
742
|
-
type: {
|
|
743
|
-
name: "Composite",
|
|
744
|
-
className: "BlobLocation"
|
|
745
|
-
}
|
|
746
|
-
},
|
|
747
|
-
inputPorts: {
|
|
748
|
-
serializedName: "inputPorts",
|
|
749
|
-
type: {
|
|
750
|
-
name: "Dictionary",
|
|
751
|
-
value: { type: { name: "Composite", className: "InputPort" } }
|
|
752
|
-
}
|
|
753
|
-
},
|
|
754
|
-
outputPorts: {
|
|
755
|
-
serializedName: "outputPorts",
|
|
756
|
-
type: {
|
|
757
|
-
name: "Dictionary",
|
|
758
|
-
value: { type: { name: "Composite", className: "OutputPort" } }
|
|
759
|
-
}
|
|
760
|
-
},
|
|
761
|
-
metadata: {
|
|
762
|
-
serializedName: "metadata",
|
|
763
|
-
type: {
|
|
764
|
-
name: "Dictionary",
|
|
765
|
-
value: { type: { name: "String" } }
|
|
766
|
-
}
|
|
767
|
-
},
|
|
768
|
-
parameters: {
|
|
769
|
-
serializedName: "parameters",
|
|
770
|
-
type: {
|
|
771
|
-
name: "Sequence",
|
|
772
|
-
element: {
|
|
773
|
-
type: {
|
|
774
|
-
name: "Composite",
|
|
775
|
-
className: "ModuleAssetParameter"
|
|
776
|
-
}
|
|
777
|
-
}
|
|
778
|
-
}
|
|
779
|
-
}
|
|
780
|
-
}
|
|
781
|
-
}
|
|
782
|
-
};
|
|
783
|
-
const BlobLocation = {
|
|
784
|
-
type: {
|
|
785
|
-
name: "Composite",
|
|
786
|
-
className: "BlobLocation",
|
|
787
|
-
modelProperties: {
|
|
788
|
-
uri: {
|
|
789
|
-
serializedName: "uri",
|
|
790
|
-
required: true,
|
|
791
|
-
type: {
|
|
792
|
-
name: "String"
|
|
793
|
-
}
|
|
794
|
-
},
|
|
795
|
-
credentials: {
|
|
796
|
-
serializedName: "credentials",
|
|
797
|
-
type: {
|
|
798
|
-
name: "String"
|
|
799
|
-
}
|
|
800
|
-
}
|
|
801
|
-
}
|
|
802
|
-
}
|
|
803
|
-
};
|
|
804
|
-
const InputPort = {
|
|
805
|
-
type: {
|
|
806
|
-
name: "Composite",
|
|
807
|
-
className: "InputPort",
|
|
808
|
-
modelProperties: {
|
|
809
|
-
type: {
|
|
810
|
-
defaultValue: "Dataset",
|
|
811
|
-
serializedName: "type",
|
|
812
|
-
type: {
|
|
813
|
-
name: "String"
|
|
814
|
-
}
|
|
815
|
-
}
|
|
816
|
-
}
|
|
817
|
-
}
|
|
818
|
-
};
|
|
819
|
-
const OutputPort = {
|
|
820
|
-
type: {
|
|
821
|
-
name: "Composite",
|
|
822
|
-
className: "OutputPort",
|
|
823
|
-
modelProperties: {
|
|
824
|
-
type: {
|
|
825
|
-
defaultValue: "Dataset",
|
|
826
|
-
serializedName: "type",
|
|
827
|
-
type: {
|
|
828
|
-
name: "String"
|
|
829
|
-
}
|
|
830
|
-
}
|
|
831
|
-
}
|
|
832
|
-
}
|
|
833
|
-
};
|
|
834
|
-
const ModuleAssetParameter = {
|
|
835
|
-
type: {
|
|
836
|
-
name: "Composite",
|
|
837
|
-
className: "ModuleAssetParameter",
|
|
838
|
-
modelProperties: {
|
|
839
|
-
name: {
|
|
840
|
-
serializedName: "name",
|
|
841
|
-
type: {
|
|
842
|
-
name: "String"
|
|
843
|
-
}
|
|
844
|
-
},
|
|
845
|
-
parameterType: {
|
|
846
|
-
serializedName: "parameterType",
|
|
847
|
-
type: {
|
|
848
|
-
name: "String"
|
|
849
|
-
}
|
|
850
|
-
},
|
|
851
|
-
modeValuesInfo: {
|
|
852
|
-
serializedName: "modeValuesInfo",
|
|
853
|
-
type: {
|
|
854
|
-
name: "Dictionary",
|
|
855
|
-
value: { type: { name: "Composite", className: "ModeValueInfo" } }
|
|
856
|
-
}
|
|
857
|
-
}
|
|
858
|
-
}
|
|
859
|
-
}
|
|
860
|
-
};
|
|
861
|
-
const ModeValueInfo = {
|
|
862
|
-
type: {
|
|
863
|
-
name: "Composite",
|
|
864
|
-
className: "ModeValueInfo",
|
|
865
|
-
modelProperties: {
|
|
866
|
-
interfaceString: {
|
|
867
|
-
serializedName: "interfaceString",
|
|
868
|
-
type: {
|
|
869
|
-
name: "String"
|
|
870
|
-
}
|
|
871
|
-
},
|
|
872
|
-
parameters: {
|
|
873
|
-
serializedName: "parameters",
|
|
874
|
-
type: {
|
|
875
|
-
name: "Sequence",
|
|
876
|
-
element: {
|
|
877
|
-
type: {
|
|
878
|
-
name: "Composite",
|
|
879
|
-
className: "ModuleAssetParameter"
|
|
880
|
-
}
|
|
881
|
-
}
|
|
882
|
-
}
|
|
883
|
-
}
|
|
884
|
-
}
|
|
885
|
-
}
|
|
886
|
-
};
|
|
887
|
-
const WebServiceParameter = {
|
|
888
|
-
type: {
|
|
889
|
-
name: "Composite",
|
|
890
|
-
className: "WebServiceParameter",
|
|
891
|
-
modelProperties: {
|
|
892
|
-
value: {
|
|
893
|
-
serializedName: "value",
|
|
894
|
-
type: {
|
|
895
|
-
name: "Dictionary",
|
|
896
|
-
value: { type: { name: "any" } }
|
|
897
|
-
}
|
|
898
|
-
},
|
|
899
|
-
certificateThumbprint: {
|
|
900
|
-
serializedName: "certificateThumbprint",
|
|
901
|
-
type: {
|
|
902
|
-
name: "String"
|
|
903
|
-
}
|
|
904
|
-
}
|
|
905
|
-
}
|
|
906
|
-
}
|
|
907
|
-
};
|
|
908
|
-
const Resource = {
|
|
909
|
-
type: {
|
|
910
|
-
name: "Composite",
|
|
911
|
-
className: "Resource",
|
|
912
|
-
modelProperties: {
|
|
913
|
-
id: {
|
|
914
|
-
serializedName: "id",
|
|
915
|
-
readOnly: true,
|
|
916
|
-
type: {
|
|
917
|
-
name: "String"
|
|
918
|
-
}
|
|
919
|
-
},
|
|
920
|
-
name: {
|
|
921
|
-
serializedName: "name",
|
|
922
|
-
readOnly: true,
|
|
923
|
-
type: {
|
|
924
|
-
name: "String"
|
|
925
|
-
}
|
|
926
|
-
},
|
|
927
|
-
location: {
|
|
928
|
-
serializedName: "location",
|
|
929
|
-
required: true,
|
|
930
|
-
type: {
|
|
931
|
-
name: "String"
|
|
932
|
-
}
|
|
933
|
-
},
|
|
934
|
-
type: {
|
|
935
|
-
serializedName: "type",
|
|
936
|
-
readOnly: true,
|
|
937
|
-
type: {
|
|
938
|
-
name: "String"
|
|
939
|
-
}
|
|
940
|
-
},
|
|
941
|
-
tags: {
|
|
942
|
-
serializedName: "tags",
|
|
943
|
-
type: {
|
|
944
|
-
name: "Dictionary",
|
|
945
|
-
value: { type: { name: "String" } }
|
|
946
|
-
}
|
|
947
|
-
}
|
|
948
|
-
}
|
|
949
|
-
}
|
|
950
|
-
};
|
|
951
|
-
const PatchedResource = {
|
|
952
|
-
type: {
|
|
953
|
-
name: "Composite",
|
|
954
|
-
className: "PatchedResource",
|
|
955
|
-
modelProperties: {
|
|
956
|
-
id: {
|
|
957
|
-
serializedName: "id",
|
|
958
|
-
readOnly: true,
|
|
959
|
-
type: {
|
|
960
|
-
name: "String"
|
|
961
|
-
}
|
|
962
|
-
},
|
|
963
|
-
name: {
|
|
964
|
-
serializedName: "name",
|
|
965
|
-
readOnly: true,
|
|
966
|
-
type: {
|
|
967
|
-
name: "String"
|
|
968
|
-
}
|
|
969
|
-
},
|
|
970
|
-
location: {
|
|
971
|
-
serializedName: "location",
|
|
972
|
-
readOnly: true,
|
|
973
|
-
type: {
|
|
974
|
-
name: "String"
|
|
975
|
-
}
|
|
976
|
-
},
|
|
977
|
-
type: {
|
|
978
|
-
serializedName: "type",
|
|
979
|
-
readOnly: true,
|
|
980
|
-
type: {
|
|
981
|
-
name: "String"
|
|
982
|
-
}
|
|
983
|
-
},
|
|
984
|
-
tags: {
|
|
985
|
-
serializedName: "tags",
|
|
986
|
-
type: {
|
|
987
|
-
name: "Dictionary",
|
|
988
|
-
value: { type: { name: "String" } }
|
|
989
|
-
}
|
|
990
|
-
}
|
|
991
|
-
}
|
|
992
|
-
}
|
|
993
|
-
};
|
|
994
|
-
const AsyncOperationStatus = {
|
|
995
|
-
type: {
|
|
996
|
-
name: "Composite",
|
|
997
|
-
className: "AsyncOperationStatus",
|
|
998
|
-
modelProperties: {
|
|
999
|
-
id: {
|
|
1000
|
-
serializedName: "id",
|
|
1001
|
-
readOnly: true,
|
|
1002
|
-
type: {
|
|
1003
|
-
name: "String"
|
|
1004
|
-
}
|
|
1005
|
-
},
|
|
1006
|
-
name: {
|
|
1007
|
-
serializedName: "name",
|
|
1008
|
-
readOnly: true,
|
|
1009
|
-
type: {
|
|
1010
|
-
name: "String"
|
|
1011
|
-
}
|
|
1012
|
-
},
|
|
1013
|
-
provisioningState: {
|
|
1014
|
-
serializedName: "provisioningState",
|
|
1015
|
-
readOnly: true,
|
|
1016
|
-
type: {
|
|
1017
|
-
name: "String"
|
|
1018
|
-
}
|
|
1019
|
-
},
|
|
1020
|
-
startTime: {
|
|
1021
|
-
serializedName: "startTime",
|
|
1022
|
-
readOnly: true,
|
|
1023
|
-
type: {
|
|
1024
|
-
name: "DateTime"
|
|
1025
|
-
}
|
|
1026
|
-
},
|
|
1027
|
-
endTime: {
|
|
1028
|
-
serializedName: "endTime",
|
|
1029
|
-
readOnly: true,
|
|
1030
|
-
type: {
|
|
1031
|
-
name: "DateTime"
|
|
1032
|
-
}
|
|
1033
|
-
},
|
|
1034
|
-
percentComplete: {
|
|
1035
|
-
serializedName: "percentComplete",
|
|
1036
|
-
readOnly: true,
|
|
1037
|
-
type: {
|
|
1038
|
-
name: "Number"
|
|
1039
|
-
}
|
|
1040
|
-
},
|
|
1041
|
-
errorInfo: {
|
|
1042
|
-
serializedName: "errorInfo",
|
|
1043
|
-
type: {
|
|
1044
|
-
name: "Composite",
|
|
1045
|
-
className: "AsyncOperationErrorInfo"
|
|
1046
|
-
}
|
|
1047
|
-
}
|
|
1048
|
-
}
|
|
1049
|
-
}
|
|
1050
|
-
};
|
|
1051
|
-
const AsyncOperationErrorInfo = {
|
|
1052
|
-
type: {
|
|
1053
|
-
name: "Composite",
|
|
1054
|
-
className: "AsyncOperationErrorInfo",
|
|
1055
|
-
modelProperties: {
|
|
1056
|
-
code: {
|
|
1057
|
-
serializedName: "code",
|
|
1058
|
-
readOnly: true,
|
|
1059
|
-
type: {
|
|
1060
|
-
name: "String"
|
|
1061
|
-
}
|
|
1062
|
-
},
|
|
1063
|
-
target: {
|
|
1064
|
-
serializedName: "target",
|
|
1065
|
-
readOnly: true,
|
|
1066
|
-
type: {
|
|
1067
|
-
name: "String"
|
|
1068
|
-
}
|
|
1069
|
-
},
|
|
1070
|
-
message: {
|
|
1071
|
-
serializedName: "message",
|
|
1072
|
-
readOnly: true,
|
|
1073
|
-
type: {
|
|
1074
|
-
name: "String"
|
|
1075
|
-
}
|
|
1076
|
-
},
|
|
1077
|
-
details: {
|
|
1078
|
-
serializedName: "details",
|
|
1079
|
-
readOnly: true,
|
|
1080
|
-
type: {
|
|
1081
|
-
name: "Sequence",
|
|
1082
|
-
element: {
|
|
1083
|
-
type: {
|
|
1084
|
-
name: "Composite",
|
|
1085
|
-
className: "AsyncOperationErrorInfo"
|
|
1086
|
-
}
|
|
1087
|
-
}
|
|
1088
|
-
}
|
|
1089
|
-
}
|
|
1090
|
-
}
|
|
1091
|
-
}
|
|
1092
|
-
};
|
|
1093
|
-
const PaginatedWebServicesList = {
|
|
1094
|
-
type: {
|
|
1095
|
-
name: "Composite",
|
|
1096
|
-
className: "PaginatedWebServicesList",
|
|
1097
|
-
modelProperties: {
|
|
1098
|
-
value: {
|
|
1099
|
-
serializedName: "value",
|
|
1100
|
-
type: {
|
|
1101
|
-
name: "Sequence",
|
|
1102
|
-
element: {
|
|
1103
|
-
type: {
|
|
1104
|
-
name: "Composite",
|
|
1105
|
-
className: "WebService"
|
|
1106
|
-
}
|
|
1107
|
-
}
|
|
1108
|
-
}
|
|
1109
|
-
},
|
|
1110
|
-
nextLink: {
|
|
1111
|
-
serializedName: "nextLink",
|
|
1112
|
-
type: {
|
|
1113
|
-
name: "String"
|
|
1114
|
-
}
|
|
1115
|
-
}
|
|
1116
|
-
}
|
|
1117
|
-
}
|
|
1118
|
-
};
|
|
1119
|
-
const GraphPackage = {
|
|
1120
|
-
type: {
|
|
1121
|
-
name: "Composite",
|
|
1122
|
-
className: "GraphPackage",
|
|
1123
|
-
modelProperties: {
|
|
1124
|
-
nodes: {
|
|
1125
|
-
serializedName: "nodes",
|
|
1126
|
-
type: {
|
|
1127
|
-
name: "Dictionary",
|
|
1128
|
-
value: { type: { name: "Composite", className: "GraphNode" } }
|
|
1129
|
-
}
|
|
1130
|
-
},
|
|
1131
|
-
edges: {
|
|
1132
|
-
serializedName: "edges",
|
|
1133
|
-
type: {
|
|
1134
|
-
name: "Sequence",
|
|
1135
|
-
element: {
|
|
1136
|
-
type: {
|
|
1137
|
-
name: "Composite",
|
|
1138
|
-
className: "GraphEdge"
|
|
1139
|
-
}
|
|
1140
|
-
}
|
|
1141
|
-
}
|
|
1142
|
-
},
|
|
1143
|
-
graphParameters: {
|
|
1144
|
-
serializedName: "graphParameters",
|
|
1145
|
-
type: {
|
|
1146
|
-
name: "Dictionary",
|
|
1147
|
-
value: { type: { name: "Composite", className: "GraphParameter" } }
|
|
1148
|
-
}
|
|
1149
|
-
}
|
|
1150
|
-
}
|
|
1151
|
-
}
|
|
1152
|
-
};
|
|
1153
|
-
const GraphNode = {
|
|
1154
|
-
type: {
|
|
1155
|
-
name: "Composite",
|
|
1156
|
-
className: "GraphNode",
|
|
1157
|
-
modelProperties: {
|
|
1158
|
-
assetId: {
|
|
1159
|
-
serializedName: "assetId",
|
|
1160
|
-
type: {
|
|
1161
|
-
name: "String"
|
|
1162
|
-
}
|
|
1163
|
-
},
|
|
1164
|
-
inputId: {
|
|
1165
|
-
serializedName: "inputId",
|
|
1166
|
-
type: {
|
|
1167
|
-
name: "String"
|
|
1168
|
-
}
|
|
1169
|
-
},
|
|
1170
|
-
outputId: {
|
|
1171
|
-
serializedName: "outputId",
|
|
1172
|
-
type: {
|
|
1173
|
-
name: "String"
|
|
1174
|
-
}
|
|
1175
|
-
},
|
|
1176
|
-
parameters: {
|
|
1177
|
-
serializedName: "parameters",
|
|
1178
|
-
type: {
|
|
1179
|
-
name: "Dictionary",
|
|
1180
|
-
value: {
|
|
1181
|
-
type: { name: "Composite", className: "WebServiceParameter" }
|
|
1182
|
-
}
|
|
1183
|
-
}
|
|
1184
|
-
}
|
|
1185
|
-
}
|
|
1186
|
-
}
|
|
1187
|
-
};
|
|
1188
|
-
const GraphEdge = {
|
|
1189
|
-
type: {
|
|
1190
|
-
name: "Composite",
|
|
1191
|
-
className: "GraphEdge",
|
|
1192
|
-
modelProperties: {
|
|
1193
|
-
sourceNodeId: {
|
|
1194
|
-
serializedName: "sourceNodeId",
|
|
1195
|
-
type: {
|
|
1196
|
-
name: "String"
|
|
1197
|
-
}
|
|
1198
|
-
},
|
|
1199
|
-
sourcePortId: {
|
|
1200
|
-
serializedName: "sourcePortId",
|
|
1201
|
-
type: {
|
|
1202
|
-
name: "String"
|
|
1203
|
-
}
|
|
1204
|
-
},
|
|
1205
|
-
targetNodeId: {
|
|
1206
|
-
serializedName: "targetNodeId",
|
|
1207
|
-
type: {
|
|
1208
|
-
name: "String"
|
|
1209
|
-
}
|
|
1210
|
-
},
|
|
1211
|
-
targetPortId: {
|
|
1212
|
-
serializedName: "targetPortId",
|
|
1213
|
-
type: {
|
|
1214
|
-
name: "String"
|
|
1215
|
-
}
|
|
1216
|
-
}
|
|
1217
|
-
}
|
|
1218
|
-
}
|
|
1219
|
-
};
|
|
1220
|
-
const GraphParameter = {
|
|
1221
|
-
type: {
|
|
1222
|
-
name: "Composite",
|
|
1223
|
-
className: "GraphParameter",
|
|
1224
|
-
modelProperties: {
|
|
1225
|
-
description: {
|
|
1226
|
-
serializedName: "description",
|
|
1227
|
-
type: {
|
|
1228
|
-
name: "String"
|
|
1229
|
-
}
|
|
1230
|
-
},
|
|
1231
|
-
type: {
|
|
1232
|
-
serializedName: "type",
|
|
1233
|
-
required: true,
|
|
1234
|
-
type: {
|
|
1235
|
-
name: "String"
|
|
1236
|
-
}
|
|
1237
|
-
},
|
|
1238
|
-
links: {
|
|
1239
|
-
serializedName: "links",
|
|
1240
|
-
required: true,
|
|
1241
|
-
type: {
|
|
1242
|
-
name: "Sequence",
|
|
1243
|
-
element: {
|
|
1244
|
-
type: {
|
|
1245
|
-
name: "Composite",
|
|
1246
|
-
className: "GraphParameterLink"
|
|
1247
|
-
}
|
|
1248
|
-
}
|
|
1249
|
-
}
|
|
1250
|
-
}
|
|
1251
|
-
}
|
|
1252
|
-
}
|
|
1253
|
-
};
|
|
1254
|
-
const GraphParameterLink = {
|
|
1255
|
-
type: {
|
|
1256
|
-
name: "Composite",
|
|
1257
|
-
className: "GraphParameterLink",
|
|
1258
|
-
modelProperties: {
|
|
1259
|
-
nodeId: {
|
|
1260
|
-
serializedName: "nodeId",
|
|
1261
|
-
required: true,
|
|
1262
|
-
type: {
|
|
1263
|
-
name: "String"
|
|
1264
|
-
}
|
|
1265
|
-
},
|
|
1266
|
-
parameterKey: {
|
|
1267
|
-
serializedName: "parameterKey",
|
|
1268
|
-
required: true,
|
|
1269
|
-
type: {
|
|
1270
|
-
name: "String"
|
|
1271
|
-
}
|
|
1272
|
-
}
|
|
1273
|
-
}
|
|
1274
|
-
}
|
|
1275
|
-
};
|
|
1276
|
-
const WebServicePropertiesForGraph = {
|
|
1277
|
-
serializedName: "Graph",
|
|
1278
|
-
type: {
|
|
1279
|
-
name: "Composite",
|
|
1280
|
-
className: "WebServicePropertiesForGraph",
|
|
1281
|
-
uberParent: "WebServiceProperties",
|
|
1282
|
-
polymorphicDiscriminator: WebServiceProperties.type.polymorphicDiscriminator,
|
|
1283
|
-
modelProperties: Object.assign(Object.assign({}, WebServiceProperties.type.modelProperties), { package: {
|
|
1284
|
-
serializedName: "package",
|
|
1285
|
-
type: {
|
|
1286
|
-
name: "Composite",
|
|
1287
|
-
className: "GraphPackage"
|
|
1288
|
-
}
|
|
1289
|
-
} })
|
|
1290
|
-
}
|
|
1291
|
-
};
|
|
1292
|
-
const WebService = {
|
|
1293
|
-
type: {
|
|
1294
|
-
name: "Composite",
|
|
1295
|
-
className: "WebService",
|
|
1296
|
-
modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { properties: {
|
|
1297
|
-
serializedName: "properties",
|
|
1298
|
-
type: {
|
|
1299
|
-
name: "Composite",
|
|
1300
|
-
className: "WebServiceProperties"
|
|
1301
|
-
}
|
|
1302
|
-
} })
|
|
1303
|
-
}
|
|
1304
|
-
};
|
|
1305
|
-
const PatchedWebService = {
|
|
1306
|
-
type: {
|
|
1307
|
-
name: "Composite",
|
|
1308
|
-
className: "PatchedWebService",
|
|
1309
|
-
modelProperties: Object.assign(Object.assign({}, PatchedResource.type.modelProperties), { properties: {
|
|
1310
|
-
serializedName: "properties",
|
|
1311
|
-
type: {
|
|
1312
|
-
name: "Composite",
|
|
1313
|
-
className: "WebServiceProperties"
|
|
1314
|
-
}
|
|
1315
|
-
} })
|
|
1316
|
-
}
|
|
1317
|
-
};
|
|
1318
|
-
let discriminators = {
|
|
1319
|
-
WebServiceProperties: WebServiceProperties,
|
|
1320
|
-
"WebServiceProperties.Graph": WebServicePropertiesForGraph
|
|
1321
|
-
};
|
|
1322
|
-
|
|
1323
|
-
var Mappers = /*#__PURE__*/Object.freeze({
|
|
1324
|
-
__proto__: null,
|
|
1325
|
-
AssetItem: AssetItem,
|
|
1326
|
-
AsyncOperationErrorInfo: AsyncOperationErrorInfo,
|
|
1327
|
-
AsyncOperationStatus: AsyncOperationStatus,
|
|
1328
|
-
BlobLocation: BlobLocation,
|
|
1329
|
-
ColumnSpecification: ColumnSpecification,
|
|
1330
|
-
CommitmentPlan: CommitmentPlan,
|
|
1331
|
-
DiagnosticsConfiguration: DiagnosticsConfiguration,
|
|
1332
|
-
ExampleRequest: ExampleRequest,
|
|
1333
|
-
GraphEdge: GraphEdge,
|
|
1334
|
-
GraphNode: GraphNode,
|
|
1335
|
-
GraphPackage: GraphPackage,
|
|
1336
|
-
GraphParameter: GraphParameter,
|
|
1337
|
-
GraphParameterLink: GraphParameterLink,
|
|
1338
|
-
InputPort: InputPort,
|
|
1339
|
-
MachineLearningWorkspace: MachineLearningWorkspace,
|
|
1340
|
-
ModeValueInfo: ModeValueInfo,
|
|
1341
|
-
ModuleAssetParameter: ModuleAssetParameter,
|
|
1342
|
-
OperationDisplayInfo: OperationDisplayInfo,
|
|
1343
|
-
OperationEntity: OperationEntity,
|
|
1344
|
-
OperationEntityListResult: OperationEntityListResult,
|
|
1345
|
-
OutputPort: OutputPort,
|
|
1346
|
-
PaginatedWebServicesList: PaginatedWebServicesList,
|
|
1347
|
-
PatchedResource: PatchedResource,
|
|
1348
|
-
PatchedWebService: PatchedWebService,
|
|
1349
|
-
RealtimeConfiguration: RealtimeConfiguration,
|
|
1350
|
-
Resource: Resource,
|
|
1351
|
-
ServiceInputOutputSpecification: ServiceInputOutputSpecification,
|
|
1352
|
-
StorageAccount: StorageAccount,
|
|
1353
|
-
TableSpecification: TableSpecification,
|
|
1354
|
-
WebService: WebService,
|
|
1355
|
-
WebServiceKeys: WebServiceKeys,
|
|
1356
|
-
WebServiceParameter: WebServiceParameter,
|
|
1357
|
-
WebServiceProperties: WebServiceProperties,
|
|
1358
|
-
WebServicePropertiesForGraph: WebServicePropertiesForGraph,
|
|
1359
|
-
discriminators: discriminators
|
|
1360
|
-
});
|
|
1361
|
-
|
|
1362
|
-
/*
|
|
1363
|
-
* Copyright (c) Microsoft Corporation.
|
|
1364
|
-
* Licensed under the MIT License.
|
|
1365
|
-
*
|
|
1366
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1367
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1368
|
-
*/
|
|
1369
|
-
const accept = {
|
|
1370
|
-
parameterPath: "accept",
|
|
1371
|
-
mapper: {
|
|
1372
|
-
defaultValue: "application/json",
|
|
1373
|
-
isConstant: true,
|
|
1374
|
-
serializedName: "Accept",
|
|
1375
|
-
type: {
|
|
1376
|
-
name: "String"
|
|
1377
|
-
}
|
|
1378
|
-
}
|
|
1379
|
-
};
|
|
1380
|
-
const $host = {
|
|
1381
|
-
parameterPath: "$host",
|
|
1382
|
-
mapper: {
|
|
1383
|
-
serializedName: "$host",
|
|
1384
|
-
required: true,
|
|
1385
|
-
type: {
|
|
1386
|
-
name: "String"
|
|
1387
|
-
}
|
|
1388
|
-
},
|
|
1389
|
-
skipEncoding: true
|
|
1390
|
-
};
|
|
1391
|
-
const apiVersion = {
|
|
1392
|
-
parameterPath: "apiVersion",
|
|
1393
|
-
mapper: {
|
|
1394
|
-
defaultValue: "2017-01-01",
|
|
1395
|
-
isConstant: true,
|
|
1396
|
-
serializedName: "api-version",
|
|
1397
|
-
type: {
|
|
1398
|
-
name: "String"
|
|
1399
|
-
}
|
|
1400
|
-
}
|
|
1401
|
-
};
|
|
1402
|
-
const contentType = {
|
|
1403
|
-
parameterPath: ["options", "contentType"],
|
|
1404
|
-
mapper: {
|
|
1405
|
-
defaultValue: "application/json",
|
|
1406
|
-
isConstant: true,
|
|
1407
|
-
serializedName: "Content-Type",
|
|
1408
|
-
type: {
|
|
1409
|
-
name: "String"
|
|
1410
|
-
}
|
|
1411
|
-
}
|
|
1412
|
-
};
|
|
1413
|
-
const createOrUpdatePayload = {
|
|
1414
|
-
parameterPath: "createOrUpdatePayload",
|
|
1415
|
-
mapper: WebService
|
|
1416
|
-
};
|
|
1417
|
-
const resourceGroupName = {
|
|
1418
|
-
parameterPath: "resourceGroupName",
|
|
1419
|
-
mapper: {
|
|
1420
|
-
serializedName: "resourceGroupName",
|
|
1421
|
-
required: true,
|
|
1422
|
-
type: {
|
|
1423
|
-
name: "String"
|
|
1424
|
-
}
|
|
1425
|
-
}
|
|
1426
|
-
};
|
|
1427
|
-
const webServiceName = {
|
|
1428
|
-
parameterPath: "webServiceName",
|
|
1429
|
-
mapper: {
|
|
1430
|
-
serializedName: "webServiceName",
|
|
1431
|
-
required: true,
|
|
1432
|
-
type: {
|
|
1433
|
-
name: "String"
|
|
1434
|
-
}
|
|
1435
|
-
}
|
|
1436
|
-
};
|
|
1437
|
-
const subscriptionId = {
|
|
1438
|
-
parameterPath: "subscriptionId",
|
|
1439
|
-
mapper: {
|
|
1440
|
-
serializedName: "subscriptionId",
|
|
1441
|
-
required: true,
|
|
1442
|
-
type: {
|
|
1443
|
-
name: "String"
|
|
1444
|
-
}
|
|
1445
|
-
}
|
|
1446
|
-
};
|
|
1447
|
-
const region = {
|
|
1448
|
-
parameterPath: ["options", "region"],
|
|
1449
|
-
mapper: {
|
|
1450
|
-
serializedName: "region",
|
|
1451
|
-
type: {
|
|
1452
|
-
name: "String"
|
|
1453
|
-
}
|
|
1454
|
-
}
|
|
1455
|
-
};
|
|
1456
|
-
const patchPayload = {
|
|
1457
|
-
parameterPath: "patchPayload",
|
|
1458
|
-
mapper: PatchedWebService
|
|
1459
|
-
};
|
|
1460
|
-
const region1 = {
|
|
1461
|
-
parameterPath: "region",
|
|
1462
|
-
mapper: {
|
|
1463
|
-
serializedName: "region",
|
|
1464
|
-
required: true,
|
|
1465
|
-
type: {
|
|
1466
|
-
name: "String"
|
|
1467
|
-
}
|
|
1468
|
-
}
|
|
1469
|
-
};
|
|
1470
|
-
const skiptoken = {
|
|
1471
|
-
parameterPath: ["options", "skiptoken"],
|
|
1472
|
-
mapper: {
|
|
1473
|
-
serializedName: "$skiptoken",
|
|
1474
|
-
type: {
|
|
1475
|
-
name: "String"
|
|
1476
|
-
}
|
|
1477
|
-
}
|
|
1478
|
-
};
|
|
1479
|
-
const nextLink = {
|
|
1480
|
-
parameterPath: "nextLink",
|
|
1481
|
-
mapper: {
|
|
1482
|
-
serializedName: "nextLink",
|
|
1483
|
-
required: true,
|
|
1484
|
-
type: {
|
|
1485
|
-
name: "String"
|
|
1486
|
-
}
|
|
1487
|
-
},
|
|
1488
|
-
skipEncoding: true
|
|
1489
|
-
};
|
|
1490
|
-
|
|
1491
|
-
/*
|
|
1492
|
-
* Copyright (c) Microsoft Corporation.
|
|
1493
|
-
* Licensed under the MIT License.
|
|
1494
|
-
*
|
|
1495
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1496
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1497
|
-
*/
|
|
1498
|
-
/// <reference lib="esnext.asynciterable" />
|
|
1499
|
-
/** Class containing Operations operations. */
|
|
1500
|
-
class OperationsImpl {
|
|
1501
|
-
/**
|
|
1502
|
-
* Initialize a new instance of the class Operations class.
|
|
1503
|
-
* @param client Reference to the service client
|
|
1504
|
-
*/
|
|
1505
|
-
constructor(client) {
|
|
1506
|
-
this.client = client;
|
|
1507
|
-
}
|
|
1508
|
-
/**
|
|
1509
|
-
* Lists all the available REST API operations.
|
|
1510
|
-
* @param options The options parameters.
|
|
1511
|
-
*/
|
|
1512
|
-
list(options) {
|
|
1513
|
-
const iter = this.listPagingAll(options);
|
|
1514
|
-
return {
|
|
1515
|
-
next() {
|
|
1516
|
-
return iter.next();
|
|
1517
|
-
},
|
|
1518
|
-
[Symbol.asyncIterator]() {
|
|
1519
|
-
return this;
|
|
1520
|
-
},
|
|
1521
|
-
byPage: (settings) => {
|
|
1522
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
1523
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
1524
|
-
}
|
|
1525
|
-
return this.listPagingPage(options, settings);
|
|
1526
|
-
}
|
|
1527
|
-
};
|
|
1528
|
-
}
|
|
1529
|
-
listPagingPage(options, _settings) {
|
|
1530
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
1531
|
-
let result;
|
|
1532
|
-
result = yield tslib.__await(this._list(options));
|
|
1533
|
-
yield yield tslib.__await(result.value || []);
|
|
1534
|
-
});
|
|
1535
|
-
}
|
|
1536
|
-
listPagingAll(options) {
|
|
1537
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
1538
|
-
var _a, e_1, _b, _c;
|
|
1539
|
-
try {
|
|
1540
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
1541
|
-
_c = _f.value;
|
|
1542
|
-
_d = false;
|
|
1543
|
-
const page = _c;
|
|
1544
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
1545
|
-
}
|
|
1546
|
-
}
|
|
1547
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
1548
|
-
finally {
|
|
1549
|
-
try {
|
|
1550
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
1551
|
-
}
|
|
1552
|
-
finally { if (e_1) throw e_1.error; }
|
|
1553
|
-
}
|
|
1554
|
-
});
|
|
1555
|
-
}
|
|
1556
|
-
/**
|
|
1557
|
-
* Lists all the available REST API operations.
|
|
1558
|
-
* @param options The options parameters.
|
|
1559
|
-
*/
|
|
1560
|
-
_list(options) {
|
|
1561
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
1562
|
-
}
|
|
1563
|
-
}
|
|
1564
|
-
// Operation Specifications
|
|
1565
|
-
const serializer$1 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
1566
|
-
const listOperationSpec = {
|
|
1567
|
-
path: "/providers/Microsoft.MachineLearning/operations",
|
|
1568
|
-
httpMethod: "GET",
|
|
1569
|
-
responses: {
|
|
1570
|
-
200: {
|
|
1571
|
-
bodyMapper: OperationEntityListResult
|
|
1572
|
-
}
|
|
1573
|
-
},
|
|
1574
|
-
queryParameters: [apiVersion],
|
|
1575
|
-
urlParameters: [$host],
|
|
1576
|
-
headerParameters: [accept],
|
|
1577
|
-
serializer: serializer$1
|
|
1578
|
-
};
|
|
1579
|
-
|
|
1580
|
-
/*
|
|
1581
|
-
* Copyright (c) Microsoft Corporation.
|
|
1582
|
-
* Licensed under the MIT License.
|
|
1583
|
-
*
|
|
1584
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1585
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1586
|
-
*/
|
|
1587
|
-
class LroImpl {
|
|
1588
|
-
constructor(sendOperationFn, args, spec, requestPath = spec.path, requestMethod = spec.httpMethod) {
|
|
1589
|
-
this.sendOperationFn = sendOperationFn;
|
|
1590
|
-
this.args = args;
|
|
1591
|
-
this.spec = spec;
|
|
1592
|
-
this.requestPath = requestPath;
|
|
1593
|
-
this.requestMethod = requestMethod;
|
|
1594
|
-
}
|
|
1595
|
-
sendInitialRequest() {
|
|
1596
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1597
|
-
return this.sendOperationFn(this.args, this.spec);
|
|
1598
|
-
});
|
|
1599
|
-
}
|
|
1600
|
-
sendPollRequest(path) {
|
|
1601
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1602
|
-
const _a = this.spec, { requestBody } = _a, restSpec = tslib.__rest(_a, ["requestBody"]);
|
|
1603
|
-
return this.sendOperationFn(this.args, Object.assign(Object.assign({}, restSpec), { path, httpMethod: "GET" }));
|
|
1604
|
-
});
|
|
1605
|
-
}
|
|
1606
|
-
}
|
|
1607
|
-
|
|
1608
|
-
/*
|
|
1609
|
-
* Copyright (c) Microsoft Corporation.
|
|
1610
|
-
* Licensed under the MIT License.
|
|
1611
|
-
*
|
|
1612
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1613
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1614
|
-
*/
|
|
1615
|
-
/// <reference lib="esnext.asynciterable" />
|
|
1616
|
-
/** Class containing WebServices operations. */
|
|
1617
|
-
class WebServicesImpl {
|
|
1618
|
-
/**
|
|
1619
|
-
* Initialize a new instance of the class WebServices class.
|
|
1620
|
-
* @param client Reference to the service client
|
|
1621
|
-
*/
|
|
1622
|
-
constructor(client) {
|
|
1623
|
-
this.client = client;
|
|
1624
|
-
}
|
|
1625
|
-
/**
|
|
1626
|
-
* Gets the web services in the specified resource group.
|
|
1627
|
-
* @param resourceGroupName Name of the resource group in which the web service is located.
|
|
1628
|
-
* @param options The options parameters.
|
|
1629
|
-
*/
|
|
1630
|
-
listByResourceGroup(resourceGroupName, options) {
|
|
1631
|
-
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
|
|
1632
|
-
return {
|
|
1633
|
-
next() {
|
|
1634
|
-
return iter.next();
|
|
1635
|
-
},
|
|
1636
|
-
[Symbol.asyncIterator]() {
|
|
1637
|
-
return this;
|
|
1638
|
-
},
|
|
1639
|
-
byPage: (settings) => {
|
|
1640
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
1641
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
1642
|
-
}
|
|
1643
|
-
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
1644
|
-
}
|
|
1645
|
-
};
|
|
1646
|
-
}
|
|
1647
|
-
listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
1648
|
-
return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
|
|
1649
|
-
let result;
|
|
1650
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
1651
|
-
if (!continuationToken) {
|
|
1652
|
-
result = yield tslib.__await(this._listByResourceGroup(resourceGroupName, options));
|
|
1653
|
-
let page = result.value || [];
|
|
1654
|
-
continuationToken = result.nextLink;
|
|
1655
|
-
setContinuationToken(page, continuationToken);
|
|
1656
|
-
yield yield tslib.__await(page);
|
|
1657
|
-
}
|
|
1658
|
-
while (continuationToken) {
|
|
1659
|
-
result = yield tslib.__await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
|
|
1660
|
-
continuationToken = result.nextLink;
|
|
1661
|
-
let page = result.value || [];
|
|
1662
|
-
setContinuationToken(page, continuationToken);
|
|
1663
|
-
yield yield tslib.__await(page);
|
|
1664
|
-
}
|
|
1665
|
-
});
|
|
1666
|
-
}
|
|
1667
|
-
listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
1668
|
-
return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
|
|
1669
|
-
var _a, e_1, _b, _c;
|
|
1670
|
-
try {
|
|
1671
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
1672
|
-
_c = _f.value;
|
|
1673
|
-
_d = false;
|
|
1674
|
-
const page = _c;
|
|
1675
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
1676
|
-
}
|
|
1677
|
-
}
|
|
1678
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
1679
|
-
finally {
|
|
1680
|
-
try {
|
|
1681
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
1682
|
-
}
|
|
1683
|
-
finally { if (e_1) throw e_1.error; }
|
|
1684
|
-
}
|
|
1685
|
-
});
|
|
1686
|
-
}
|
|
1687
|
-
/**
|
|
1688
|
-
* Gets the web services in the specified subscription.
|
|
1689
|
-
* @param options The options parameters.
|
|
1690
|
-
*/
|
|
1691
|
-
listBySubscriptionId(options) {
|
|
1692
|
-
const iter = this.listBySubscriptionIdPagingAll(options);
|
|
1693
|
-
return {
|
|
1694
|
-
next() {
|
|
1695
|
-
return iter.next();
|
|
1696
|
-
},
|
|
1697
|
-
[Symbol.asyncIterator]() {
|
|
1698
|
-
return this;
|
|
1699
|
-
},
|
|
1700
|
-
byPage: (settings) => {
|
|
1701
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
1702
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
1703
|
-
}
|
|
1704
|
-
return this.listBySubscriptionIdPagingPage(options, settings);
|
|
1705
|
-
}
|
|
1706
|
-
};
|
|
1707
|
-
}
|
|
1708
|
-
listBySubscriptionIdPagingPage(options, settings) {
|
|
1709
|
-
return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionIdPagingPage_1() {
|
|
1710
|
-
let result;
|
|
1711
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
1712
|
-
if (!continuationToken) {
|
|
1713
|
-
result = yield tslib.__await(this._listBySubscriptionId(options));
|
|
1714
|
-
let page = result.value || [];
|
|
1715
|
-
continuationToken = result.nextLink;
|
|
1716
|
-
setContinuationToken(page, continuationToken);
|
|
1717
|
-
yield yield tslib.__await(page);
|
|
1718
|
-
}
|
|
1719
|
-
while (continuationToken) {
|
|
1720
|
-
result = yield tslib.__await(this._listBySubscriptionIdNext(continuationToken, options));
|
|
1721
|
-
continuationToken = result.nextLink;
|
|
1722
|
-
let page = result.value || [];
|
|
1723
|
-
setContinuationToken(page, continuationToken);
|
|
1724
|
-
yield yield tslib.__await(page);
|
|
1725
|
-
}
|
|
1726
|
-
});
|
|
1727
|
-
}
|
|
1728
|
-
listBySubscriptionIdPagingAll(options) {
|
|
1729
|
-
return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionIdPagingAll_1() {
|
|
1730
|
-
var _a, e_2, _b, _c;
|
|
1731
|
-
try {
|
|
1732
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listBySubscriptionIdPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
1733
|
-
_c = _f.value;
|
|
1734
|
-
_d = false;
|
|
1735
|
-
const page = _c;
|
|
1736
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
1737
|
-
}
|
|
1738
|
-
}
|
|
1739
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
1740
|
-
finally {
|
|
1741
|
-
try {
|
|
1742
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
1743
|
-
}
|
|
1744
|
-
finally { if (e_2) throw e_2.error; }
|
|
1745
|
-
}
|
|
1746
|
-
});
|
|
1747
|
-
}
|
|
1748
|
-
/**
|
|
1749
|
-
* Create or update a web service. This call will overwrite an existing web service. Note that there is
|
|
1750
|
-
* no warning or confirmation. This is a nonrecoverable operation. If your intent is to create a new
|
|
1751
|
-
* web service, call the Get operation first to verify that it does not exist.
|
|
1752
|
-
* @param resourceGroupName Name of the resource group in which the web service is located.
|
|
1753
|
-
* @param webServiceName The name of the web service.
|
|
1754
|
-
* @param createOrUpdatePayload The payload that is used to create or update the web service.
|
|
1755
|
-
* @param options The options parameters.
|
|
1756
|
-
*/
|
|
1757
|
-
beginCreateOrUpdate(resourceGroupName, webServiceName, createOrUpdatePayload, options) {
|
|
1758
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1759
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1760
|
-
return this.client.sendOperationRequest(args, spec);
|
|
1761
|
-
});
|
|
1762
|
-
const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1763
|
-
var _a;
|
|
1764
|
-
let currentRawResponse = undefined;
|
|
1765
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
1766
|
-
const callback = (rawResponse, flatResponse) => {
|
|
1767
|
-
currentRawResponse = rawResponse;
|
|
1768
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
1769
|
-
};
|
|
1770
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
1771
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
1772
|
-
return {
|
|
1773
|
-
flatResponse,
|
|
1774
|
-
rawResponse: {
|
|
1775
|
-
statusCode: currentRawResponse.status,
|
|
1776
|
-
body: currentRawResponse.parsedBody,
|
|
1777
|
-
headers: currentRawResponse.headers.toJSON()
|
|
1778
|
-
}
|
|
1779
|
-
};
|
|
1780
|
-
});
|
|
1781
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, webServiceName, createOrUpdatePayload, options }, createOrUpdateOperationSpec);
|
|
1782
|
-
const poller = new coreLro.LroEngine(lro, {
|
|
1783
|
-
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
1784
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
1785
|
-
});
|
|
1786
|
-
yield poller.poll();
|
|
1787
|
-
return poller;
|
|
1788
|
-
});
|
|
1789
|
-
}
|
|
1790
|
-
/**
|
|
1791
|
-
* Create or update a web service. This call will overwrite an existing web service. Note that there is
|
|
1792
|
-
* no warning or confirmation. This is a nonrecoverable operation. If your intent is to create a new
|
|
1793
|
-
* web service, call the Get operation first to verify that it does not exist.
|
|
1794
|
-
* @param resourceGroupName Name of the resource group in which the web service is located.
|
|
1795
|
-
* @param webServiceName The name of the web service.
|
|
1796
|
-
* @param createOrUpdatePayload The payload that is used to create or update the web service.
|
|
1797
|
-
* @param options The options parameters.
|
|
1798
|
-
*/
|
|
1799
|
-
beginCreateOrUpdateAndWait(resourceGroupName, webServiceName, createOrUpdatePayload, options) {
|
|
1800
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1801
|
-
const poller = yield this.beginCreateOrUpdate(resourceGroupName, webServiceName, createOrUpdatePayload, options);
|
|
1802
|
-
return poller.pollUntilDone();
|
|
1803
|
-
});
|
|
1804
|
-
}
|
|
1805
|
-
/**
|
|
1806
|
-
* Gets the Web Service Definition as specified by a subscription, resource group, and name. Note that
|
|
1807
|
-
* the storage credentials and web service keys are not returned by this call. To get the web service
|
|
1808
|
-
* access keys, call List Keys.
|
|
1809
|
-
* @param resourceGroupName Name of the resource group in which the web service is located.
|
|
1810
|
-
* @param webServiceName The name of the web service.
|
|
1811
|
-
* @param options The options parameters.
|
|
1812
|
-
*/
|
|
1813
|
-
get(resourceGroupName, webServiceName, options) {
|
|
1814
|
-
return this.client.sendOperationRequest({ resourceGroupName, webServiceName, options }, getOperationSpec);
|
|
1815
|
-
}
|
|
1816
|
-
/**
|
|
1817
|
-
* Modifies an existing web service resource. The PATCH API call is an asynchronous operation. To
|
|
1818
|
-
* determine whether it has completed successfully, you must perform a Get operation.
|
|
1819
|
-
* @param resourceGroupName Name of the resource group in which the web service is located.
|
|
1820
|
-
* @param webServiceName The name of the web service.
|
|
1821
|
-
* @param patchPayload The payload to use to patch the web service.
|
|
1822
|
-
* @param options The options parameters.
|
|
1823
|
-
*/
|
|
1824
|
-
beginPatch(resourceGroupName, webServiceName, patchPayload, options) {
|
|
1825
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1826
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1827
|
-
return this.client.sendOperationRequest(args, spec);
|
|
1828
|
-
});
|
|
1829
|
-
const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1830
|
-
var _a;
|
|
1831
|
-
let currentRawResponse = undefined;
|
|
1832
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
1833
|
-
const callback = (rawResponse, flatResponse) => {
|
|
1834
|
-
currentRawResponse = rawResponse;
|
|
1835
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
1836
|
-
};
|
|
1837
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
1838
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
1839
|
-
return {
|
|
1840
|
-
flatResponse,
|
|
1841
|
-
rawResponse: {
|
|
1842
|
-
statusCode: currentRawResponse.status,
|
|
1843
|
-
body: currentRawResponse.parsedBody,
|
|
1844
|
-
headers: currentRawResponse.headers.toJSON()
|
|
1845
|
-
}
|
|
1846
|
-
};
|
|
1847
|
-
});
|
|
1848
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, webServiceName, patchPayload, options }, patchOperationSpec);
|
|
1849
|
-
const poller = new coreLro.LroEngine(lro, {
|
|
1850
|
-
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
1851
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
1852
|
-
});
|
|
1853
|
-
yield poller.poll();
|
|
1854
|
-
return poller;
|
|
1855
|
-
});
|
|
1856
|
-
}
|
|
1857
|
-
/**
|
|
1858
|
-
* Modifies an existing web service resource. The PATCH API call is an asynchronous operation. To
|
|
1859
|
-
* determine whether it has completed successfully, you must perform a Get operation.
|
|
1860
|
-
* @param resourceGroupName Name of the resource group in which the web service is located.
|
|
1861
|
-
* @param webServiceName The name of the web service.
|
|
1862
|
-
* @param patchPayload The payload to use to patch the web service.
|
|
1863
|
-
* @param options The options parameters.
|
|
1864
|
-
*/
|
|
1865
|
-
beginPatchAndWait(resourceGroupName, webServiceName, patchPayload, options) {
|
|
1866
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1867
|
-
const poller = yield this.beginPatch(resourceGroupName, webServiceName, patchPayload, options);
|
|
1868
|
-
return poller.pollUntilDone();
|
|
1869
|
-
});
|
|
1870
|
-
}
|
|
1871
|
-
/**
|
|
1872
|
-
* Deletes the specified web service.
|
|
1873
|
-
* @param resourceGroupName Name of the resource group in which the web service is located.
|
|
1874
|
-
* @param webServiceName The name of the web service.
|
|
1875
|
-
* @param options The options parameters.
|
|
1876
|
-
*/
|
|
1877
|
-
beginRemove(resourceGroupName, webServiceName, options) {
|
|
1878
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1879
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1880
|
-
return this.client.sendOperationRequest(args, spec);
|
|
1881
|
-
});
|
|
1882
|
-
const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1883
|
-
var _a;
|
|
1884
|
-
let currentRawResponse = undefined;
|
|
1885
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
1886
|
-
const callback = (rawResponse, flatResponse) => {
|
|
1887
|
-
currentRawResponse = rawResponse;
|
|
1888
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
1889
|
-
};
|
|
1890
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
1891
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
1892
|
-
return {
|
|
1893
|
-
flatResponse,
|
|
1894
|
-
rawResponse: {
|
|
1895
|
-
statusCode: currentRawResponse.status,
|
|
1896
|
-
body: currentRawResponse.parsedBody,
|
|
1897
|
-
headers: currentRawResponse.headers.toJSON()
|
|
1898
|
-
}
|
|
1899
|
-
};
|
|
1900
|
-
});
|
|
1901
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, webServiceName, options }, removeOperationSpec);
|
|
1902
|
-
const poller = new coreLro.LroEngine(lro, {
|
|
1903
|
-
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
1904
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
1905
|
-
});
|
|
1906
|
-
yield poller.poll();
|
|
1907
|
-
return poller;
|
|
1908
|
-
});
|
|
1909
|
-
}
|
|
1910
|
-
/**
|
|
1911
|
-
* Deletes the specified web service.
|
|
1912
|
-
* @param resourceGroupName Name of the resource group in which the web service is located.
|
|
1913
|
-
* @param webServiceName The name of the web service.
|
|
1914
|
-
* @param options The options parameters.
|
|
1915
|
-
*/
|
|
1916
|
-
beginRemoveAndWait(resourceGroupName, webServiceName, options) {
|
|
1917
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1918
|
-
const poller = yield this.beginRemove(resourceGroupName, webServiceName, options);
|
|
1919
|
-
return poller.pollUntilDone();
|
|
1920
|
-
});
|
|
1921
|
-
}
|
|
1922
|
-
/**
|
|
1923
|
-
* Creates an encrypted credentials parameter blob for the specified region. To get the web service
|
|
1924
|
-
* from a region other than the region in which it has been created, you must first call Create
|
|
1925
|
-
* Regional Web Services Properties to create a copy of the encrypted credential parameter blob in that
|
|
1926
|
-
* region. You only need to do this before the first time that you get the web service in the new
|
|
1927
|
-
* region.
|
|
1928
|
-
* @param resourceGroupName Name of the resource group in which the web service is located.
|
|
1929
|
-
* @param webServiceName The name of the web service.
|
|
1930
|
-
* @param region The region for which encrypted credential parameters are created.
|
|
1931
|
-
* @param options The options parameters.
|
|
1932
|
-
*/
|
|
1933
|
-
beginCreateRegionalProperties(resourceGroupName, webServiceName, region, options) {
|
|
1934
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1935
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1936
|
-
return this.client.sendOperationRequest(args, spec);
|
|
1937
|
-
});
|
|
1938
|
-
const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1939
|
-
var _a;
|
|
1940
|
-
let currentRawResponse = undefined;
|
|
1941
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
1942
|
-
const callback = (rawResponse, flatResponse) => {
|
|
1943
|
-
currentRawResponse = rawResponse;
|
|
1944
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
1945
|
-
};
|
|
1946
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
1947
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
1948
|
-
return {
|
|
1949
|
-
flatResponse,
|
|
1950
|
-
rawResponse: {
|
|
1951
|
-
statusCode: currentRawResponse.status,
|
|
1952
|
-
body: currentRawResponse.parsedBody,
|
|
1953
|
-
headers: currentRawResponse.headers.toJSON()
|
|
1954
|
-
}
|
|
1955
|
-
};
|
|
1956
|
-
});
|
|
1957
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, webServiceName, region, options }, createRegionalPropertiesOperationSpec);
|
|
1958
|
-
const poller = new coreLro.LroEngine(lro, {
|
|
1959
|
-
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
1960
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
1961
|
-
});
|
|
1962
|
-
yield poller.poll();
|
|
1963
|
-
return poller;
|
|
1964
|
-
});
|
|
1965
|
-
}
|
|
1966
|
-
/**
|
|
1967
|
-
* Creates an encrypted credentials parameter blob for the specified region. To get the web service
|
|
1968
|
-
* from a region other than the region in which it has been created, you must first call Create
|
|
1969
|
-
* Regional Web Services Properties to create a copy of the encrypted credential parameter blob in that
|
|
1970
|
-
* region. You only need to do this before the first time that you get the web service in the new
|
|
1971
|
-
* region.
|
|
1972
|
-
* @param resourceGroupName Name of the resource group in which the web service is located.
|
|
1973
|
-
* @param webServiceName The name of the web service.
|
|
1974
|
-
* @param region The region for which encrypted credential parameters are created.
|
|
1975
|
-
* @param options The options parameters.
|
|
1976
|
-
*/
|
|
1977
|
-
beginCreateRegionalPropertiesAndWait(resourceGroupName, webServiceName, region, options) {
|
|
1978
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1979
|
-
const poller = yield this.beginCreateRegionalProperties(resourceGroupName, webServiceName, region, options);
|
|
1980
|
-
return poller.pollUntilDone();
|
|
1981
|
-
});
|
|
1982
|
-
}
|
|
1983
|
-
/**
|
|
1984
|
-
* Gets the access keys for the specified web service.
|
|
1985
|
-
* @param resourceGroupName Name of the resource group in which the web service is located.
|
|
1986
|
-
* @param webServiceName The name of the web service.
|
|
1987
|
-
* @param options The options parameters.
|
|
1988
|
-
*/
|
|
1989
|
-
listKeys(resourceGroupName, webServiceName, options) {
|
|
1990
|
-
return this.client.sendOperationRequest({ resourceGroupName, webServiceName, options }, listKeysOperationSpec);
|
|
1991
|
-
}
|
|
1992
|
-
/**
|
|
1993
|
-
* Gets the web services in the specified resource group.
|
|
1994
|
-
* @param resourceGroupName Name of the resource group in which the web service is located.
|
|
1995
|
-
* @param options The options parameters.
|
|
1996
|
-
*/
|
|
1997
|
-
_listByResourceGroup(resourceGroupName, options) {
|
|
1998
|
-
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
|
|
1999
|
-
}
|
|
2000
|
-
/**
|
|
2001
|
-
* Gets the web services in the specified subscription.
|
|
2002
|
-
* @param options The options parameters.
|
|
2003
|
-
*/
|
|
2004
|
-
_listBySubscriptionId(options) {
|
|
2005
|
-
return this.client.sendOperationRequest({ options }, listBySubscriptionIdOperationSpec);
|
|
2006
|
-
}
|
|
2007
|
-
/**
|
|
2008
|
-
* ListByResourceGroupNext
|
|
2009
|
-
* @param resourceGroupName Name of the resource group in which the web service is located.
|
|
2010
|
-
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
2011
|
-
* @param options The options parameters.
|
|
2012
|
-
*/
|
|
2013
|
-
_listByResourceGroupNext(resourceGroupName, nextLink, options) {
|
|
2014
|
-
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
|
|
2015
|
-
}
|
|
2016
|
-
/**
|
|
2017
|
-
* ListBySubscriptionIdNext
|
|
2018
|
-
* @param nextLink The nextLink from the previous successful call to the ListBySubscriptionId method.
|
|
2019
|
-
* @param options The options parameters.
|
|
2020
|
-
*/
|
|
2021
|
-
_listBySubscriptionIdNext(nextLink, options) {
|
|
2022
|
-
return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionIdNextOperationSpec);
|
|
2023
|
-
}
|
|
2024
|
-
}
|
|
2025
|
-
// Operation Specifications
|
|
2026
|
-
const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
2027
|
-
const createOrUpdateOperationSpec = {
|
|
2028
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/webServices/{webServiceName}",
|
|
2029
|
-
httpMethod: "PUT",
|
|
2030
|
-
responses: {
|
|
2031
|
-
200: {
|
|
2032
|
-
bodyMapper: WebService
|
|
2033
|
-
},
|
|
2034
|
-
201: {
|
|
2035
|
-
bodyMapper: WebService
|
|
2036
|
-
},
|
|
2037
|
-
202: {
|
|
2038
|
-
bodyMapper: WebService
|
|
2039
|
-
},
|
|
2040
|
-
204: {
|
|
2041
|
-
bodyMapper: WebService
|
|
2042
|
-
}
|
|
2043
|
-
},
|
|
2044
|
-
requestBody: createOrUpdatePayload,
|
|
2045
|
-
queryParameters: [apiVersion],
|
|
2046
|
-
urlParameters: [
|
|
2047
|
-
$host,
|
|
2048
|
-
resourceGroupName,
|
|
2049
|
-
webServiceName,
|
|
2050
|
-
subscriptionId
|
|
2051
|
-
],
|
|
2052
|
-
headerParameters: [accept, contentType],
|
|
2053
|
-
mediaType: "json",
|
|
2054
|
-
serializer
|
|
2055
|
-
};
|
|
2056
|
-
const getOperationSpec = {
|
|
2057
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/webServices/{webServiceName}",
|
|
2058
|
-
httpMethod: "GET",
|
|
2059
|
-
responses: {
|
|
2060
|
-
200: {
|
|
2061
|
-
bodyMapper: WebService
|
|
2062
|
-
}
|
|
2063
|
-
},
|
|
2064
|
-
queryParameters: [apiVersion, region],
|
|
2065
|
-
urlParameters: [
|
|
2066
|
-
$host,
|
|
2067
|
-
resourceGroupName,
|
|
2068
|
-
webServiceName,
|
|
2069
|
-
subscriptionId
|
|
2070
|
-
],
|
|
2071
|
-
headerParameters: [accept],
|
|
2072
|
-
serializer
|
|
2073
|
-
};
|
|
2074
|
-
const patchOperationSpec = {
|
|
2075
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/webServices/{webServiceName}",
|
|
2076
|
-
httpMethod: "PATCH",
|
|
2077
|
-
responses: {
|
|
2078
|
-
200: {
|
|
2079
|
-
bodyMapper: WebService
|
|
2080
|
-
},
|
|
2081
|
-
201: {
|
|
2082
|
-
bodyMapper: WebService
|
|
2083
|
-
},
|
|
2084
|
-
202: {
|
|
2085
|
-
bodyMapper: WebService
|
|
2086
|
-
},
|
|
2087
|
-
204: {
|
|
2088
|
-
bodyMapper: WebService
|
|
2089
|
-
}
|
|
2090
|
-
},
|
|
2091
|
-
requestBody: patchPayload,
|
|
2092
|
-
queryParameters: [apiVersion],
|
|
2093
|
-
urlParameters: [
|
|
2094
|
-
$host,
|
|
2095
|
-
resourceGroupName,
|
|
2096
|
-
webServiceName,
|
|
2097
|
-
subscriptionId
|
|
2098
|
-
],
|
|
2099
|
-
headerParameters: [accept, contentType],
|
|
2100
|
-
mediaType: "json",
|
|
2101
|
-
serializer
|
|
2102
|
-
};
|
|
2103
|
-
const removeOperationSpec = {
|
|
2104
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/webServices/{webServiceName}",
|
|
2105
|
-
httpMethod: "DELETE",
|
|
2106
|
-
responses: { 200: {}, 201: {}, 202: {}, 204: {} },
|
|
2107
|
-
queryParameters: [apiVersion],
|
|
2108
|
-
urlParameters: [
|
|
2109
|
-
$host,
|
|
2110
|
-
resourceGroupName,
|
|
2111
|
-
webServiceName,
|
|
2112
|
-
subscriptionId
|
|
2113
|
-
],
|
|
2114
|
-
serializer
|
|
2115
|
-
};
|
|
2116
|
-
const createRegionalPropertiesOperationSpec = {
|
|
2117
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/webServices/{webServiceName}/CreateRegionalBlob",
|
|
2118
|
-
httpMethod: "POST",
|
|
2119
|
-
responses: {
|
|
2120
|
-
200: {
|
|
2121
|
-
bodyMapper: AsyncOperationStatus
|
|
2122
|
-
},
|
|
2123
|
-
201: {
|
|
2124
|
-
bodyMapper: AsyncOperationStatus
|
|
2125
|
-
},
|
|
2126
|
-
202: {
|
|
2127
|
-
bodyMapper: AsyncOperationStatus
|
|
2128
|
-
},
|
|
2129
|
-
204: {
|
|
2130
|
-
bodyMapper: AsyncOperationStatus
|
|
2131
|
-
}
|
|
2132
|
-
},
|
|
2133
|
-
queryParameters: [apiVersion, region1],
|
|
2134
|
-
urlParameters: [
|
|
2135
|
-
$host,
|
|
2136
|
-
resourceGroupName,
|
|
2137
|
-
webServiceName,
|
|
2138
|
-
subscriptionId
|
|
2139
|
-
],
|
|
2140
|
-
headerParameters: [accept],
|
|
2141
|
-
serializer
|
|
2142
|
-
};
|
|
2143
|
-
const listKeysOperationSpec = {
|
|
2144
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/webServices/{webServiceName}/listKeys",
|
|
2145
|
-
httpMethod: "GET",
|
|
2146
|
-
responses: {
|
|
2147
|
-
200: {
|
|
2148
|
-
bodyMapper: WebServiceKeys
|
|
2149
|
-
}
|
|
2150
|
-
},
|
|
2151
|
-
queryParameters: [apiVersion],
|
|
2152
|
-
urlParameters: [
|
|
2153
|
-
$host,
|
|
2154
|
-
resourceGroupName,
|
|
2155
|
-
webServiceName,
|
|
2156
|
-
subscriptionId
|
|
2157
|
-
],
|
|
2158
|
-
headerParameters: [accept],
|
|
2159
|
-
serializer
|
|
2160
|
-
};
|
|
2161
|
-
const listByResourceGroupOperationSpec = {
|
|
2162
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/webServices",
|
|
2163
|
-
httpMethod: "GET",
|
|
2164
|
-
responses: {
|
|
2165
|
-
200: {
|
|
2166
|
-
bodyMapper: PaginatedWebServicesList
|
|
2167
|
-
}
|
|
2168
|
-
},
|
|
2169
|
-
queryParameters: [apiVersion, skiptoken],
|
|
2170
|
-
urlParameters: [
|
|
2171
|
-
$host,
|
|
2172
|
-
resourceGroupName,
|
|
2173
|
-
subscriptionId
|
|
2174
|
-
],
|
|
2175
|
-
headerParameters: [accept],
|
|
2176
|
-
serializer
|
|
2177
|
-
};
|
|
2178
|
-
const listBySubscriptionIdOperationSpec = {
|
|
2179
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearning/webServices",
|
|
2180
|
-
httpMethod: "GET",
|
|
2181
|
-
responses: {
|
|
2182
|
-
200: {
|
|
2183
|
-
bodyMapper: PaginatedWebServicesList
|
|
2184
|
-
}
|
|
2185
|
-
},
|
|
2186
|
-
queryParameters: [apiVersion, skiptoken],
|
|
2187
|
-
urlParameters: [$host, subscriptionId],
|
|
2188
|
-
headerParameters: [accept],
|
|
2189
|
-
serializer
|
|
2190
|
-
};
|
|
2191
|
-
const listByResourceGroupNextOperationSpec = {
|
|
2192
|
-
path: "{nextLink}",
|
|
2193
|
-
httpMethod: "GET",
|
|
2194
|
-
responses: {
|
|
2195
|
-
200: {
|
|
2196
|
-
bodyMapper: PaginatedWebServicesList
|
|
2197
|
-
}
|
|
2198
|
-
},
|
|
2199
|
-
queryParameters: [apiVersion, skiptoken],
|
|
2200
|
-
urlParameters: [
|
|
2201
|
-
$host,
|
|
2202
|
-
resourceGroupName,
|
|
2203
|
-
subscriptionId,
|
|
2204
|
-
nextLink
|
|
2205
|
-
],
|
|
2206
|
-
headerParameters: [accept],
|
|
2207
|
-
serializer
|
|
2208
|
-
};
|
|
2209
|
-
const listBySubscriptionIdNextOperationSpec = {
|
|
2210
|
-
path: "{nextLink}",
|
|
2211
|
-
httpMethod: "GET",
|
|
2212
|
-
responses: {
|
|
2213
|
-
200: {
|
|
2214
|
-
bodyMapper: PaginatedWebServicesList
|
|
2215
|
-
}
|
|
2216
|
-
},
|
|
2217
|
-
queryParameters: [apiVersion, skiptoken],
|
|
2218
|
-
urlParameters: [
|
|
2219
|
-
$host,
|
|
2220
|
-
subscriptionId,
|
|
2221
|
-
nextLink
|
|
2222
|
-
],
|
|
2223
|
-
headerParameters: [accept],
|
|
2224
|
-
serializer
|
|
2225
|
-
};
|
|
2226
|
-
|
|
2227
|
-
/*
|
|
2228
|
-
* Copyright (c) Microsoft Corporation.
|
|
2229
|
-
* Licensed under the MIT License.
|
|
2230
|
-
*
|
|
2231
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2232
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2233
|
-
*/
|
|
2234
|
-
class AzureMLWebServicesManagementClient extends coreClient__namespace.ServiceClient {
|
|
2235
|
-
/**
|
|
2236
|
-
* Initializes a new instance of the AzureMLWebServicesManagementClient class.
|
|
2237
|
-
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
2238
|
-
* @param subscriptionId The Azure subscription ID.
|
|
2239
|
-
* @param options The parameter options
|
|
2240
|
-
*/
|
|
2241
|
-
constructor(credentials, subscriptionId, options) {
|
|
2242
|
-
var _a, _b, _c;
|
|
2243
|
-
if (credentials === undefined) {
|
|
2244
|
-
throw new Error("'credentials' cannot be null");
|
|
2245
|
-
}
|
|
2246
|
-
if (subscriptionId === undefined) {
|
|
2247
|
-
throw new Error("'subscriptionId' cannot be null");
|
|
2248
|
-
}
|
|
2249
|
-
// Initializing default values for options
|
|
2250
|
-
if (!options) {
|
|
2251
|
-
options = {};
|
|
2252
|
-
}
|
|
2253
|
-
const defaults = {
|
|
2254
|
-
requestContentType: "application/json; charset=utf-8",
|
|
2255
|
-
credential: credentials
|
|
2256
|
-
};
|
|
2257
|
-
const packageDetails = `azsdk-js-arm-webservices/1.1.1`;
|
|
2258
|
-
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
2259
|
-
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
2260
|
-
: `${packageDetails}`;
|
|
2261
|
-
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
2262
|
-
userAgentPrefix
|
|
2263
|
-
}, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|
|
2264
|
-
super(optionsWithDefaults);
|
|
2265
|
-
let bearerTokenAuthenticationPolicyFound = false;
|
|
2266
|
-
if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
|
|
2267
|
-
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
|
2268
|
-
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
|
2269
|
-
coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName);
|
|
2270
|
-
}
|
|
2271
|
-
if (!options ||
|
|
2272
|
-
!options.pipeline ||
|
|
2273
|
-
options.pipeline.getOrderedPolicies().length == 0 ||
|
|
2274
|
-
!bearerTokenAuthenticationPolicyFound) {
|
|
2275
|
-
this.pipeline.removePolicy({
|
|
2276
|
-
name: coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName
|
|
2277
|
-
});
|
|
2278
|
-
this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({
|
|
2279
|
-
credential: credentials,
|
|
2280
|
-
scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
|
|
2281
|
-
challengeCallbacks: {
|
|
2282
|
-
authorizeRequestOnChallenge: coreClient__namespace.authorizeRequestOnClaimChallenge
|
|
2283
|
-
}
|
|
2284
|
-
}));
|
|
2285
|
-
}
|
|
2286
|
-
// Parameter assignments
|
|
2287
|
-
this.subscriptionId = subscriptionId;
|
|
2288
|
-
// Assigning values to Constant parameters
|
|
2289
|
-
this.$host = options.$host || "https://management.azure.com";
|
|
2290
|
-
this.apiVersion = options.apiVersion || "2017-01-01";
|
|
2291
|
-
this.operations = new OperationsImpl(this);
|
|
2292
|
-
this.webServices = new WebServicesImpl(this);
|
|
2293
|
-
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
2294
|
-
}
|
|
2295
|
-
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
2296
|
-
addCustomApiVersionPolicy(apiVersion) {
|
|
2297
|
-
if (!apiVersion) {
|
|
2298
|
-
return;
|
|
2299
|
-
}
|
|
2300
|
-
const apiVersionPolicy = {
|
|
2301
|
-
name: "CustomApiVersionPolicy",
|
|
2302
|
-
sendRequest(request, next) {
|
|
2303
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2304
|
-
const param = request.url.split("?");
|
|
2305
|
-
if (param.length > 1) {
|
|
2306
|
-
const newParams = param[1].split("&").map((item) => {
|
|
2307
|
-
if (item.indexOf("api-version") > -1) {
|
|
2308
|
-
return "api-version=" + apiVersion;
|
|
2309
|
-
}
|
|
2310
|
-
else {
|
|
2311
|
-
return item;
|
|
2312
|
-
}
|
|
2313
|
-
});
|
|
2314
|
-
request.url = param[0] + "?" + newParams.join("&");
|
|
2315
|
-
}
|
|
2316
|
-
return next(request);
|
|
2317
|
-
});
|
|
2318
|
-
}
|
|
2319
|
-
};
|
|
2320
|
-
this.pipeline.addPolicy(apiVersionPolicy);
|
|
2321
|
-
}
|
|
2322
|
-
}
|
|
2323
|
-
|
|
2324
|
-
exports.AzureMLWebServicesManagementClient = AzureMLWebServicesManagementClient;
|
|
2325
|
-
exports.getContinuationToken = getContinuationToken;
|
|
2326
|
-
//# sourceMappingURL=index.js.map
|