@azure/arm-features 3.1.1-alpha.20250124.1 → 3.1.1-alpha.20250127.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/{dist-esm/src → dist/browser}/featureClient.d.ts +2 -2
- package/dist/browser/featureClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/featureClient.js +19 -21
- package/dist/browser/featureClient.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/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-esm/src → dist/browser}/operations/features.d.ts +3 -3
- package/dist/browser/operations/features.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/features.js +3 -3
- package/dist/browser/operations/features.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/subscriptionFeatureRegistrations.d.ts +3 -3
- package/dist/browser/operations/subscriptionFeatureRegistrations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/subscriptionFeatureRegistrations.js +3 -3
- package/dist/browser/operations/subscriptionFeatureRegistrations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/features.d.ts +1 -1
- package/dist/browser/operationsInterfaces/features.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/features.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/browser/operationsInterfaces/index.js +10 -0
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/subscriptionFeatureRegistrations.d.ts +1 -1
- package/dist/browser/operationsInterfaces/subscriptionFeatureRegistrations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/subscriptionFeatureRegistrations.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/pagingHelper.js.map +1 -0
- package/dist/commonjs/featureClient.d.ts +40 -0
- package/dist/commonjs/featureClient.d.ts.map +1 -0
- package/dist/commonjs/featureClient.js +217 -0
- package/dist/commonjs/featureClient.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/models/index.d.ts +323 -0
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +39 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +15 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +427 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +13 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +122 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/features.d.ts +76 -0
- package/dist/commonjs/operations/features.d.ts.map +1 -0
- package/dist/commonjs/operations/features.js +354 -0
- package/dist/commonjs/operations/features.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/subscriptionFeatureRegistrations.d.ts +74 -0
- package/dist/commonjs/operations/subscriptionFeatureRegistrations.d.ts.map +1 -0
- package/dist/commonjs/operations/subscriptionFeatureRegistrations.js +353 -0
- package/dist/commonjs/operations/subscriptionFeatureRegistrations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/features.d.ts +39 -0
- package/dist/commonjs/operationsInterfaces/features.d.ts.map +1 -0
- package/{dist-esm/src/operationsInterfaces/index.js → dist/commonjs/operationsInterfaces/features.js} +3 -3
- package/dist/commonjs/operationsInterfaces/features.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/subscriptionFeatureRegistrations.d.ts +38 -0
- package/dist/commonjs/operationsInterfaces/subscriptionFeatureRegistrations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/subscriptionFeatureRegistrations.js +10 -0
- package/dist/commonjs/operationsInterfaces/subscriptionFeatureRegistrations.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/featureClient.d.ts +40 -0
- package/dist/esm/featureClient.d.ts.map +1 -0
- package/dist/esm/featureClient.js +213 -0
- package/dist/esm/featureClient.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/models/index.d.ts +323 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +36 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +15 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +424 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +13 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +119 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/features.d.ts +76 -0
- package/dist/esm/operations/features.d.ts.map +1 -0
- package/dist/esm/operations/features.js +350 -0
- package/dist/esm/operations/features.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/subscriptionFeatureRegistrations.d.ts +74 -0
- package/dist/esm/operations/subscriptionFeatureRegistrations.d.ts.map +1 -0
- package/dist/esm/operations/subscriptionFeatureRegistrations.js +349 -0
- package/dist/esm/operations/subscriptionFeatureRegistrations.js.map +1 -0
- package/dist/esm/operationsInterfaces/features.d.ts +39 -0
- package/dist/esm/operationsInterfaces/features.d.ts.map +1 -0
- package/{src/operations/index.ts → dist/esm/operationsInterfaces/features.js} +2 -3
- package/dist/esm/operationsInterfaces/features.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/subscriptionFeatureRegistrations.d.ts +38 -0
- package/dist/esm/operationsInterfaces/subscriptionFeatureRegistrations.d.ts.map +1 -0
- package/{src/operationsInterfaces/index.ts → dist/esm/operationsInterfaces/subscriptionFeatureRegistrations.js} +2 -3
- package/dist/esm/operationsInterfaces/subscriptionFeatureRegistrations.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/featureClient.d.ts +40 -0
- package/dist/react-native/featureClient.d.ts.map +1 -0
- package/dist/react-native/featureClient.js +213 -0
- package/dist/react-native/featureClient.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/models/index.d.ts +323 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +36 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +15 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +424 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +13 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +119 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/features.d.ts +76 -0
- package/dist/react-native/operations/features.d.ts.map +1 -0
- package/dist/react-native/operations/features.js +350 -0
- package/dist/react-native/operations/features.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/subscriptionFeatureRegistrations.d.ts +74 -0
- package/dist/react-native/operations/subscriptionFeatureRegistrations.d.ts.map +1 -0
- package/dist/react-native/operations/subscriptionFeatureRegistrations.js +349 -0
- package/dist/react-native/operations/subscriptionFeatureRegistrations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/features.d.ts +39 -0
- package/dist/react-native/operationsInterfaces/features.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/features.js +9 -0
- package/dist/react-native/operationsInterfaces/features.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/subscriptionFeatureRegistrations.d.ts +38 -0
- package/dist/react-native/operationsInterfaces/subscriptionFeatureRegistrations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/subscriptionFeatureRegistrations.js +9 -0
- package/dist/react-native/operationsInterfaces/subscriptionFeatureRegistrations.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 +64 -34
- package/dist/index.js +0 -1555
- 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/featuresGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/featuresGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/featuresGetSample.js +0 -29
- package/dist-esm/samples-dev/featuresGetSample.js.map +0 -1
- package/dist-esm/samples-dev/featuresListAllSample.d.ts +0 -2
- package/dist-esm/samples-dev/featuresListAllSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/featuresListAllSample.js +0 -43
- package/dist-esm/samples-dev/featuresListAllSample.js.map +0 -1
- package/dist-esm/samples-dev/featuresListSample.d.ts +0 -2
- package/dist-esm/samples-dev/featuresListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/featuresListSample.js +0 -44
- package/dist-esm/samples-dev/featuresListSample.js.map +0 -1
- package/dist-esm/samples-dev/featuresRegisterSample.d.ts +0 -2
- package/dist-esm/samples-dev/featuresRegisterSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/featuresRegisterSample.js +0 -29
- package/dist-esm/samples-dev/featuresRegisterSample.js.map +0 -1
- package/dist-esm/samples-dev/featuresUnregisterSample.d.ts +0 -2
- package/dist-esm/samples-dev/featuresUnregisterSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/featuresUnregisterSample.js +0 -29
- package/dist-esm/samples-dev/featuresUnregisterSample.js.map +0 -1
- package/dist-esm/samples-dev/listOperationsSample.d.ts +0 -2
- package/dist-esm/samples-dev/listOperationsSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/listOperationsSample.js +0 -43
- package/dist-esm/samples-dev/listOperationsSample.js.map +0 -1
- package/dist-esm/samples-dev/subscriptionFeatureRegistrationsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/subscriptionFeatureRegistrationsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/subscriptionFeatureRegistrationsCreateOrUpdateSample.js +0 -28
- package/dist-esm/samples-dev/subscriptionFeatureRegistrationsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/subscriptionFeatureRegistrationsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/subscriptionFeatureRegistrationsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/subscriptionFeatureRegistrationsDeleteSample.js +0 -29
- package/dist-esm/samples-dev/subscriptionFeatureRegistrationsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/subscriptionFeatureRegistrationsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/subscriptionFeatureRegistrationsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/subscriptionFeatureRegistrationsGetSample.js +0 -29
- package/dist-esm/samples-dev/subscriptionFeatureRegistrationsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/subscriptionFeatureRegistrationsListAllBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/subscriptionFeatureRegistrationsListAllBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/subscriptionFeatureRegistrationsListAllBySubscriptionSample.js +0 -43
- package/dist-esm/samples-dev/subscriptionFeatureRegistrationsListAllBySubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/subscriptionFeatureRegistrationsListBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/subscriptionFeatureRegistrationsListBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/subscriptionFeatureRegistrationsListBySubscriptionSample.js +0 -44
- package/dist-esm/samples-dev/subscriptionFeatureRegistrationsListBySubscriptionSample.js.map +0 -1
- package/dist-esm/src/featureClient.d.ts.map +0 -1
- package/dist-esm/src/featureClient.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/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/features.d.ts.map +0 -1
- package/dist-esm/src/operations/features.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/subscriptionFeatureRegistrations.d.ts.map +0 -1
- package/dist-esm/src/operations/subscriptionFeatureRegistrations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/features.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/features.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/subscriptionFeatureRegistrations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/subscriptionFeatureRegistrations.js.map +0 -1
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/test/features_example.spec.d.ts +0 -4
- package/dist-esm/test/features_example.spec.d.ts.map +0 -1
- package/dist-esm/test/features_example.spec.js +0 -121
- package/dist-esm/test/features_example.spec.js.map +0 -1
- package/src/featureClient.ts +0 -276
- package/src/models/index.ts +0 -379
- package/src/models/mappers.ts +0 -441
- package/src/models/parameters.ts +0 -135
- package/src/operations/features.ts +0 -426
- package/src/operations/subscriptionFeatureRegistrations.ts +0 -434
- package/src/operationsInterfaces/features.ts +0 -75
- package/src/operationsInterfaces/subscriptionFeatureRegistrations.ts +0 -73
- package/src/pagingHelper.ts +0 -39
- package/tsconfig.json +0 -33
- package/types/arm-features.d.ts +0 -492
- /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/features.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/subscriptionFeatureRegistrations.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,1555 +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
|
-
|
|
9
|
-
function _interopNamespaceDefault(e) {
|
|
10
|
-
var n = Object.create(null);
|
|
11
|
-
if (e) {
|
|
12
|
-
Object.keys(e).forEach(function (k) {
|
|
13
|
-
if (k !== 'default') {
|
|
14
|
-
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
15
|
-
Object.defineProperty(n, k, d.get ? d : {
|
|
16
|
-
enumerable: true,
|
|
17
|
-
get: function () { return e[k]; }
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
n.default = e;
|
|
23
|
-
return Object.freeze(n);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
var coreClient__namespace = /*#__PURE__*/_interopNamespaceDefault(coreClient);
|
|
27
|
-
var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespaceDefault(coreRestPipeline);
|
|
28
|
-
|
|
29
|
-
/*
|
|
30
|
-
* Copyright (c) Microsoft Corporation.
|
|
31
|
-
* Licensed under the MIT License.
|
|
32
|
-
*
|
|
33
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
34
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
35
|
-
*/
|
|
36
|
-
const pageMap = new WeakMap();
|
|
37
|
-
/**
|
|
38
|
-
* Given a result page from a pageable operation, returns a
|
|
39
|
-
* continuation token that can be used to begin paging from
|
|
40
|
-
* that point later.
|
|
41
|
-
* @param page A result object from calling .byPage() on a paged operation.
|
|
42
|
-
* @returns The continuation token that can be passed into byPage().
|
|
43
|
-
*/
|
|
44
|
-
function getContinuationToken(page) {
|
|
45
|
-
var _a;
|
|
46
|
-
if (typeof page !== "object" || page === null) {
|
|
47
|
-
return undefined;
|
|
48
|
-
}
|
|
49
|
-
return (_a = pageMap.get(page)) === null || _a === undefined ? undefined : _a.continuationToken;
|
|
50
|
-
}
|
|
51
|
-
function setContinuationToken(page, continuationToken) {
|
|
52
|
-
var _a;
|
|
53
|
-
if (typeof page !== "object" || page === null || !continuationToken) {
|
|
54
|
-
return;
|
|
55
|
-
}
|
|
56
|
-
const pageInfo = (_a = pageMap.get(page)) !== null && _a !== undefined ? _a : {};
|
|
57
|
-
pageInfo.continuationToken = continuationToken;
|
|
58
|
-
pageMap.set(page, pageInfo);
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
/*
|
|
62
|
-
* Copyright (c) Microsoft Corporation.
|
|
63
|
-
* Licensed under the MIT License.
|
|
64
|
-
*
|
|
65
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
66
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
67
|
-
*/
|
|
68
|
-
/** Known values of {@link SubscriptionFeatureRegistrationState} that the service accepts. */
|
|
69
|
-
exports.KnownSubscriptionFeatureRegistrationState = void 0;
|
|
70
|
-
(function (KnownSubscriptionFeatureRegistrationState) {
|
|
71
|
-
/** NotSpecified */
|
|
72
|
-
KnownSubscriptionFeatureRegistrationState["NotSpecified"] = "NotSpecified";
|
|
73
|
-
/** NotRegistered */
|
|
74
|
-
KnownSubscriptionFeatureRegistrationState["NotRegistered"] = "NotRegistered";
|
|
75
|
-
/** Pending */
|
|
76
|
-
KnownSubscriptionFeatureRegistrationState["Pending"] = "Pending";
|
|
77
|
-
/** Registering */
|
|
78
|
-
KnownSubscriptionFeatureRegistrationState["Registering"] = "Registering";
|
|
79
|
-
/** Registered */
|
|
80
|
-
KnownSubscriptionFeatureRegistrationState["Registered"] = "Registered";
|
|
81
|
-
/** Unregistering */
|
|
82
|
-
KnownSubscriptionFeatureRegistrationState["Unregistering"] = "Unregistering";
|
|
83
|
-
/** Unregistered */
|
|
84
|
-
KnownSubscriptionFeatureRegistrationState["Unregistered"] = "Unregistered";
|
|
85
|
-
})(exports.KnownSubscriptionFeatureRegistrationState || (exports.KnownSubscriptionFeatureRegistrationState = {}));
|
|
86
|
-
/** Known values of {@link SubscriptionFeatureRegistrationApprovalType} that the service accepts. */
|
|
87
|
-
exports.KnownSubscriptionFeatureRegistrationApprovalType = void 0;
|
|
88
|
-
(function (KnownSubscriptionFeatureRegistrationApprovalType) {
|
|
89
|
-
/** NotSpecified */
|
|
90
|
-
KnownSubscriptionFeatureRegistrationApprovalType["NotSpecified"] = "NotSpecified";
|
|
91
|
-
/** ApprovalRequired */
|
|
92
|
-
KnownSubscriptionFeatureRegistrationApprovalType["ApprovalRequired"] = "ApprovalRequired";
|
|
93
|
-
/** AutoApproval */
|
|
94
|
-
KnownSubscriptionFeatureRegistrationApprovalType["AutoApproval"] = "AutoApproval";
|
|
95
|
-
})(exports.KnownSubscriptionFeatureRegistrationApprovalType || (exports.KnownSubscriptionFeatureRegistrationApprovalType = {}));
|
|
96
|
-
|
|
97
|
-
/*
|
|
98
|
-
* Copyright (c) Microsoft Corporation.
|
|
99
|
-
* Licensed under the MIT License.
|
|
100
|
-
*
|
|
101
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
102
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
103
|
-
*/
|
|
104
|
-
const OperationListResult = {
|
|
105
|
-
type: {
|
|
106
|
-
name: "Composite",
|
|
107
|
-
className: "OperationListResult",
|
|
108
|
-
modelProperties: {
|
|
109
|
-
value: {
|
|
110
|
-
serializedName: "value",
|
|
111
|
-
type: {
|
|
112
|
-
name: "Sequence",
|
|
113
|
-
element: {
|
|
114
|
-
type: {
|
|
115
|
-
name: "Composite",
|
|
116
|
-
className: "Operation"
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
},
|
|
121
|
-
nextLink: {
|
|
122
|
-
serializedName: "nextLink",
|
|
123
|
-
type: {
|
|
124
|
-
name: "String"
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
};
|
|
130
|
-
const Operation = {
|
|
131
|
-
type: {
|
|
132
|
-
name: "Composite",
|
|
133
|
-
className: "Operation",
|
|
134
|
-
modelProperties: {
|
|
135
|
-
name: {
|
|
136
|
-
serializedName: "name",
|
|
137
|
-
type: {
|
|
138
|
-
name: "String"
|
|
139
|
-
}
|
|
140
|
-
},
|
|
141
|
-
display: {
|
|
142
|
-
serializedName: "display",
|
|
143
|
-
type: {
|
|
144
|
-
name: "Composite",
|
|
145
|
-
className: "OperationDisplay"
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
};
|
|
151
|
-
const OperationDisplay = {
|
|
152
|
-
type: {
|
|
153
|
-
name: "Composite",
|
|
154
|
-
className: "OperationDisplay",
|
|
155
|
-
modelProperties: {
|
|
156
|
-
provider: {
|
|
157
|
-
serializedName: "provider",
|
|
158
|
-
type: {
|
|
159
|
-
name: "String"
|
|
160
|
-
}
|
|
161
|
-
},
|
|
162
|
-
resource: {
|
|
163
|
-
serializedName: "resource",
|
|
164
|
-
type: {
|
|
165
|
-
name: "String"
|
|
166
|
-
}
|
|
167
|
-
},
|
|
168
|
-
operation: {
|
|
169
|
-
serializedName: "operation",
|
|
170
|
-
type: {
|
|
171
|
-
name: "String"
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
};
|
|
177
|
-
const ErrorResponse = {
|
|
178
|
-
type: {
|
|
179
|
-
name: "Composite",
|
|
180
|
-
className: "ErrorResponse",
|
|
181
|
-
modelProperties: {
|
|
182
|
-
error: {
|
|
183
|
-
serializedName: "error",
|
|
184
|
-
type: {
|
|
185
|
-
name: "Composite",
|
|
186
|
-
className: "ErrorDefinition"
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
};
|
|
192
|
-
const ErrorDefinition = {
|
|
193
|
-
type: {
|
|
194
|
-
name: "Composite",
|
|
195
|
-
className: "ErrorDefinition",
|
|
196
|
-
modelProperties: {
|
|
197
|
-
code: {
|
|
198
|
-
serializedName: "code",
|
|
199
|
-
readOnly: true,
|
|
200
|
-
type: {
|
|
201
|
-
name: "String"
|
|
202
|
-
}
|
|
203
|
-
},
|
|
204
|
-
message: {
|
|
205
|
-
serializedName: "message",
|
|
206
|
-
readOnly: true,
|
|
207
|
-
type: {
|
|
208
|
-
name: "String"
|
|
209
|
-
}
|
|
210
|
-
},
|
|
211
|
-
details: {
|
|
212
|
-
serializedName: "details",
|
|
213
|
-
type: {
|
|
214
|
-
name: "Sequence",
|
|
215
|
-
element: {
|
|
216
|
-
type: {
|
|
217
|
-
name: "Composite",
|
|
218
|
-
className: "ErrorDefinition"
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
};
|
|
226
|
-
const FeatureOperationsListResult = {
|
|
227
|
-
type: {
|
|
228
|
-
name: "Composite",
|
|
229
|
-
className: "FeatureOperationsListResult",
|
|
230
|
-
modelProperties: {
|
|
231
|
-
value: {
|
|
232
|
-
serializedName: "value",
|
|
233
|
-
type: {
|
|
234
|
-
name: "Sequence",
|
|
235
|
-
element: {
|
|
236
|
-
type: {
|
|
237
|
-
name: "Composite",
|
|
238
|
-
className: "FeatureResult"
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
}
|
|
242
|
-
},
|
|
243
|
-
nextLink: {
|
|
244
|
-
serializedName: "nextLink",
|
|
245
|
-
type: {
|
|
246
|
-
name: "String"
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
|
-
};
|
|
252
|
-
const FeatureResult = {
|
|
253
|
-
type: {
|
|
254
|
-
name: "Composite",
|
|
255
|
-
className: "FeatureResult",
|
|
256
|
-
modelProperties: {
|
|
257
|
-
name: {
|
|
258
|
-
serializedName: "name",
|
|
259
|
-
type: {
|
|
260
|
-
name: "String"
|
|
261
|
-
}
|
|
262
|
-
},
|
|
263
|
-
properties: {
|
|
264
|
-
serializedName: "properties",
|
|
265
|
-
type: {
|
|
266
|
-
name: "Composite",
|
|
267
|
-
className: "FeatureProperties"
|
|
268
|
-
}
|
|
269
|
-
},
|
|
270
|
-
id: {
|
|
271
|
-
serializedName: "id",
|
|
272
|
-
type: {
|
|
273
|
-
name: "String"
|
|
274
|
-
}
|
|
275
|
-
},
|
|
276
|
-
type: {
|
|
277
|
-
serializedName: "type",
|
|
278
|
-
type: {
|
|
279
|
-
name: "String"
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
}
|
|
283
|
-
}
|
|
284
|
-
};
|
|
285
|
-
const FeatureProperties = {
|
|
286
|
-
type: {
|
|
287
|
-
name: "Composite",
|
|
288
|
-
className: "FeatureProperties",
|
|
289
|
-
modelProperties: {
|
|
290
|
-
state: {
|
|
291
|
-
serializedName: "state",
|
|
292
|
-
type: {
|
|
293
|
-
name: "String"
|
|
294
|
-
}
|
|
295
|
-
}
|
|
296
|
-
}
|
|
297
|
-
}
|
|
298
|
-
};
|
|
299
|
-
const SubscriptionFeatureRegistrationProperties = {
|
|
300
|
-
type: {
|
|
301
|
-
name: "Composite",
|
|
302
|
-
className: "SubscriptionFeatureRegistrationProperties",
|
|
303
|
-
modelProperties: {
|
|
304
|
-
tenantId: {
|
|
305
|
-
serializedName: "tenantId",
|
|
306
|
-
readOnly: true,
|
|
307
|
-
type: {
|
|
308
|
-
name: "String"
|
|
309
|
-
}
|
|
310
|
-
},
|
|
311
|
-
subscriptionId: {
|
|
312
|
-
serializedName: "subscriptionId",
|
|
313
|
-
readOnly: true,
|
|
314
|
-
type: {
|
|
315
|
-
name: "String"
|
|
316
|
-
}
|
|
317
|
-
},
|
|
318
|
-
featureName: {
|
|
319
|
-
serializedName: "featureName",
|
|
320
|
-
readOnly: true,
|
|
321
|
-
type: {
|
|
322
|
-
name: "String"
|
|
323
|
-
}
|
|
324
|
-
},
|
|
325
|
-
displayName: {
|
|
326
|
-
serializedName: "displayName",
|
|
327
|
-
readOnly: true,
|
|
328
|
-
type: {
|
|
329
|
-
name: "String"
|
|
330
|
-
}
|
|
331
|
-
},
|
|
332
|
-
providerNamespace: {
|
|
333
|
-
serializedName: "providerNamespace",
|
|
334
|
-
readOnly: true,
|
|
335
|
-
type: {
|
|
336
|
-
name: "String"
|
|
337
|
-
}
|
|
338
|
-
},
|
|
339
|
-
state: {
|
|
340
|
-
serializedName: "state",
|
|
341
|
-
type: {
|
|
342
|
-
name: "String"
|
|
343
|
-
}
|
|
344
|
-
},
|
|
345
|
-
authorizationProfile: {
|
|
346
|
-
serializedName: "authorizationProfile",
|
|
347
|
-
type: {
|
|
348
|
-
name: "Composite",
|
|
349
|
-
className: "AuthorizationProfile"
|
|
350
|
-
}
|
|
351
|
-
},
|
|
352
|
-
metadata: {
|
|
353
|
-
serializedName: "metadata",
|
|
354
|
-
type: {
|
|
355
|
-
name: "Dictionary",
|
|
356
|
-
value: { type: { name: "String" }, constraints: { MaxLength: 1000 } }
|
|
357
|
-
}
|
|
358
|
-
},
|
|
359
|
-
releaseDate: {
|
|
360
|
-
serializedName: "releaseDate",
|
|
361
|
-
readOnly: true,
|
|
362
|
-
type: {
|
|
363
|
-
name: "DateTime"
|
|
364
|
-
}
|
|
365
|
-
},
|
|
366
|
-
registrationDate: {
|
|
367
|
-
serializedName: "registrationDate",
|
|
368
|
-
readOnly: true,
|
|
369
|
-
type: {
|
|
370
|
-
name: "DateTime"
|
|
371
|
-
}
|
|
372
|
-
},
|
|
373
|
-
documentationLink: {
|
|
374
|
-
constraints: {
|
|
375
|
-
MaxLength: 1000
|
|
376
|
-
},
|
|
377
|
-
serializedName: "documentationLink",
|
|
378
|
-
readOnly: true,
|
|
379
|
-
type: {
|
|
380
|
-
name: "String"
|
|
381
|
-
}
|
|
382
|
-
},
|
|
383
|
-
approvalType: {
|
|
384
|
-
serializedName: "approvalType",
|
|
385
|
-
readOnly: true,
|
|
386
|
-
type: {
|
|
387
|
-
name: "String"
|
|
388
|
-
}
|
|
389
|
-
},
|
|
390
|
-
shouldFeatureDisplayInPortal: {
|
|
391
|
-
defaultValue: false,
|
|
392
|
-
serializedName: "shouldFeatureDisplayInPortal",
|
|
393
|
-
type: {
|
|
394
|
-
name: "Boolean"
|
|
395
|
-
}
|
|
396
|
-
},
|
|
397
|
-
description: {
|
|
398
|
-
constraints: {
|
|
399
|
-
MaxLength: 1000
|
|
400
|
-
},
|
|
401
|
-
serializedName: "description",
|
|
402
|
-
type: {
|
|
403
|
-
name: "String"
|
|
404
|
-
}
|
|
405
|
-
}
|
|
406
|
-
}
|
|
407
|
-
}
|
|
408
|
-
};
|
|
409
|
-
const AuthorizationProfile = {
|
|
410
|
-
type: {
|
|
411
|
-
name: "Composite",
|
|
412
|
-
className: "AuthorizationProfile",
|
|
413
|
-
modelProperties: {
|
|
414
|
-
requestedTime: {
|
|
415
|
-
serializedName: "requestedTime",
|
|
416
|
-
readOnly: true,
|
|
417
|
-
type: {
|
|
418
|
-
name: "DateTime"
|
|
419
|
-
}
|
|
420
|
-
},
|
|
421
|
-
requester: {
|
|
422
|
-
serializedName: "requester",
|
|
423
|
-
readOnly: true,
|
|
424
|
-
type: {
|
|
425
|
-
name: "String"
|
|
426
|
-
}
|
|
427
|
-
},
|
|
428
|
-
requesterObjectId: {
|
|
429
|
-
serializedName: "requesterObjectId",
|
|
430
|
-
readOnly: true,
|
|
431
|
-
type: {
|
|
432
|
-
name: "String"
|
|
433
|
-
}
|
|
434
|
-
},
|
|
435
|
-
approvedTime: {
|
|
436
|
-
serializedName: "approvedTime",
|
|
437
|
-
readOnly: true,
|
|
438
|
-
type: {
|
|
439
|
-
name: "DateTime"
|
|
440
|
-
}
|
|
441
|
-
},
|
|
442
|
-
approver: {
|
|
443
|
-
serializedName: "approver",
|
|
444
|
-
readOnly: true,
|
|
445
|
-
type: {
|
|
446
|
-
name: "String"
|
|
447
|
-
}
|
|
448
|
-
}
|
|
449
|
-
}
|
|
450
|
-
}
|
|
451
|
-
};
|
|
452
|
-
const ProxyResource = {
|
|
453
|
-
type: {
|
|
454
|
-
name: "Composite",
|
|
455
|
-
className: "ProxyResource",
|
|
456
|
-
modelProperties: {
|
|
457
|
-
id: {
|
|
458
|
-
serializedName: "id",
|
|
459
|
-
readOnly: true,
|
|
460
|
-
type: {
|
|
461
|
-
name: "String"
|
|
462
|
-
}
|
|
463
|
-
},
|
|
464
|
-
name: {
|
|
465
|
-
serializedName: "name",
|
|
466
|
-
readOnly: true,
|
|
467
|
-
type: {
|
|
468
|
-
name: "String"
|
|
469
|
-
}
|
|
470
|
-
},
|
|
471
|
-
type: {
|
|
472
|
-
serializedName: "type",
|
|
473
|
-
readOnly: true,
|
|
474
|
-
type: {
|
|
475
|
-
name: "String"
|
|
476
|
-
}
|
|
477
|
-
}
|
|
478
|
-
}
|
|
479
|
-
}
|
|
480
|
-
};
|
|
481
|
-
const SubscriptionFeatureRegistrationList = {
|
|
482
|
-
type: {
|
|
483
|
-
name: "Composite",
|
|
484
|
-
className: "SubscriptionFeatureRegistrationList",
|
|
485
|
-
modelProperties: {
|
|
486
|
-
nextLink: {
|
|
487
|
-
serializedName: "nextLink",
|
|
488
|
-
type: {
|
|
489
|
-
name: "String"
|
|
490
|
-
}
|
|
491
|
-
},
|
|
492
|
-
value: {
|
|
493
|
-
serializedName: "value",
|
|
494
|
-
type: {
|
|
495
|
-
name: "Sequence",
|
|
496
|
-
element: {
|
|
497
|
-
type: {
|
|
498
|
-
name: "Composite",
|
|
499
|
-
className: "SubscriptionFeatureRegistration"
|
|
500
|
-
}
|
|
501
|
-
}
|
|
502
|
-
}
|
|
503
|
-
}
|
|
504
|
-
}
|
|
505
|
-
}
|
|
506
|
-
};
|
|
507
|
-
const SubscriptionFeatureRegistration = {
|
|
508
|
-
type: {
|
|
509
|
-
name: "Composite",
|
|
510
|
-
className: "SubscriptionFeatureRegistration",
|
|
511
|
-
modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { properties: {
|
|
512
|
-
serializedName: "properties",
|
|
513
|
-
type: {
|
|
514
|
-
name: "Composite",
|
|
515
|
-
className: "SubscriptionFeatureRegistrationProperties"
|
|
516
|
-
}
|
|
517
|
-
} })
|
|
518
|
-
}
|
|
519
|
-
};
|
|
520
|
-
|
|
521
|
-
var Mappers = /*#__PURE__*/Object.freeze({
|
|
522
|
-
__proto__: null,
|
|
523
|
-
AuthorizationProfile: AuthorizationProfile,
|
|
524
|
-
ErrorDefinition: ErrorDefinition,
|
|
525
|
-
ErrorResponse: ErrorResponse,
|
|
526
|
-
FeatureOperationsListResult: FeatureOperationsListResult,
|
|
527
|
-
FeatureProperties: FeatureProperties,
|
|
528
|
-
FeatureResult: FeatureResult,
|
|
529
|
-
Operation: Operation,
|
|
530
|
-
OperationDisplay: OperationDisplay,
|
|
531
|
-
OperationListResult: OperationListResult,
|
|
532
|
-
ProxyResource: ProxyResource,
|
|
533
|
-
SubscriptionFeatureRegistration: SubscriptionFeatureRegistration,
|
|
534
|
-
SubscriptionFeatureRegistrationList: SubscriptionFeatureRegistrationList,
|
|
535
|
-
SubscriptionFeatureRegistrationProperties: SubscriptionFeatureRegistrationProperties
|
|
536
|
-
});
|
|
537
|
-
|
|
538
|
-
/*
|
|
539
|
-
* Copyright (c) Microsoft Corporation.
|
|
540
|
-
* Licensed under the MIT License.
|
|
541
|
-
*
|
|
542
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
543
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
544
|
-
*/
|
|
545
|
-
const accept = {
|
|
546
|
-
parameterPath: "accept",
|
|
547
|
-
mapper: {
|
|
548
|
-
defaultValue: "application/json, text/json",
|
|
549
|
-
isConstant: true,
|
|
550
|
-
serializedName: "Accept",
|
|
551
|
-
type: {
|
|
552
|
-
name: "String"
|
|
553
|
-
}
|
|
554
|
-
}
|
|
555
|
-
};
|
|
556
|
-
const $host = {
|
|
557
|
-
parameterPath: "$host",
|
|
558
|
-
mapper: {
|
|
559
|
-
serializedName: "$host",
|
|
560
|
-
required: true,
|
|
561
|
-
type: {
|
|
562
|
-
name: "String"
|
|
563
|
-
}
|
|
564
|
-
},
|
|
565
|
-
skipEncoding: true
|
|
566
|
-
};
|
|
567
|
-
const apiVersion = {
|
|
568
|
-
parameterPath: "apiVersion",
|
|
569
|
-
mapper: {
|
|
570
|
-
defaultValue: "2021-07-01",
|
|
571
|
-
isConstant: true,
|
|
572
|
-
serializedName: "api-version",
|
|
573
|
-
type: {
|
|
574
|
-
name: "String"
|
|
575
|
-
}
|
|
576
|
-
}
|
|
577
|
-
};
|
|
578
|
-
const nextLink = {
|
|
579
|
-
parameterPath: "nextLink",
|
|
580
|
-
mapper: {
|
|
581
|
-
serializedName: "nextLink",
|
|
582
|
-
required: true,
|
|
583
|
-
type: {
|
|
584
|
-
name: "String"
|
|
585
|
-
}
|
|
586
|
-
},
|
|
587
|
-
skipEncoding: true
|
|
588
|
-
};
|
|
589
|
-
const subscriptionId = {
|
|
590
|
-
parameterPath: "subscriptionId",
|
|
591
|
-
mapper: {
|
|
592
|
-
serializedName: "subscriptionId",
|
|
593
|
-
required: true,
|
|
594
|
-
type: {
|
|
595
|
-
name: "String"
|
|
596
|
-
}
|
|
597
|
-
}
|
|
598
|
-
};
|
|
599
|
-
const resourceProviderNamespace = {
|
|
600
|
-
parameterPath: "resourceProviderNamespace",
|
|
601
|
-
mapper: {
|
|
602
|
-
serializedName: "resourceProviderNamespace",
|
|
603
|
-
required: true,
|
|
604
|
-
type: {
|
|
605
|
-
name: "String"
|
|
606
|
-
}
|
|
607
|
-
}
|
|
608
|
-
};
|
|
609
|
-
const featureName = {
|
|
610
|
-
parameterPath: "featureName",
|
|
611
|
-
mapper: {
|
|
612
|
-
serializedName: "featureName",
|
|
613
|
-
required: true,
|
|
614
|
-
type: {
|
|
615
|
-
name: "String"
|
|
616
|
-
}
|
|
617
|
-
}
|
|
618
|
-
};
|
|
619
|
-
const accept1 = {
|
|
620
|
-
parameterPath: "accept",
|
|
621
|
-
mapper: {
|
|
622
|
-
defaultValue: "application/json",
|
|
623
|
-
isConstant: true,
|
|
624
|
-
serializedName: "Accept",
|
|
625
|
-
type: {
|
|
626
|
-
name: "String"
|
|
627
|
-
}
|
|
628
|
-
}
|
|
629
|
-
};
|
|
630
|
-
const providerNamespace = {
|
|
631
|
-
parameterPath: "providerNamespace",
|
|
632
|
-
mapper: {
|
|
633
|
-
serializedName: "providerNamespace",
|
|
634
|
-
required: true,
|
|
635
|
-
type: {
|
|
636
|
-
name: "String"
|
|
637
|
-
}
|
|
638
|
-
}
|
|
639
|
-
};
|
|
640
|
-
const contentType = {
|
|
641
|
-
parameterPath: ["options", "contentType"],
|
|
642
|
-
mapper: {
|
|
643
|
-
defaultValue: "application/json",
|
|
644
|
-
isConstant: true,
|
|
645
|
-
serializedName: "Content-Type",
|
|
646
|
-
type: {
|
|
647
|
-
name: "String"
|
|
648
|
-
}
|
|
649
|
-
}
|
|
650
|
-
};
|
|
651
|
-
const subscriptionFeatureRegistrationType = {
|
|
652
|
-
parameterPath: ["options", "subscriptionFeatureRegistrationType"],
|
|
653
|
-
mapper: SubscriptionFeatureRegistration
|
|
654
|
-
};
|
|
655
|
-
|
|
656
|
-
/*
|
|
657
|
-
* Copyright (c) Microsoft Corporation.
|
|
658
|
-
* Licensed under the MIT License.
|
|
659
|
-
*
|
|
660
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
661
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
662
|
-
*/
|
|
663
|
-
/// <reference lib="esnext.asynciterable" />
|
|
664
|
-
/** Class containing Features operations. */
|
|
665
|
-
class FeaturesImpl {
|
|
666
|
-
/**
|
|
667
|
-
* Initialize a new instance of the class Features class.
|
|
668
|
-
* @param client Reference to the service client
|
|
669
|
-
*/
|
|
670
|
-
constructor(client) {
|
|
671
|
-
this.client = client;
|
|
672
|
-
}
|
|
673
|
-
/**
|
|
674
|
-
* Gets all the preview features that are available through AFEC for the subscription.
|
|
675
|
-
* @param options The options parameters.
|
|
676
|
-
*/
|
|
677
|
-
listAll(options) {
|
|
678
|
-
const iter = this.listAllPagingAll(options);
|
|
679
|
-
return {
|
|
680
|
-
next() {
|
|
681
|
-
return iter.next();
|
|
682
|
-
},
|
|
683
|
-
[Symbol.asyncIterator]() {
|
|
684
|
-
return this;
|
|
685
|
-
},
|
|
686
|
-
byPage: (settings) => {
|
|
687
|
-
if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
|
|
688
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
689
|
-
}
|
|
690
|
-
return this.listAllPagingPage(options, settings);
|
|
691
|
-
}
|
|
692
|
-
};
|
|
693
|
-
}
|
|
694
|
-
listAllPagingPage(options, settings) {
|
|
695
|
-
return tslib.__asyncGenerator(this, arguments, function* listAllPagingPage_1() {
|
|
696
|
-
let result;
|
|
697
|
-
let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
|
|
698
|
-
if (!continuationToken) {
|
|
699
|
-
result = yield tslib.__await(this._listAll(options));
|
|
700
|
-
let page = result.value || [];
|
|
701
|
-
continuationToken = result.nextLink;
|
|
702
|
-
setContinuationToken(page, continuationToken);
|
|
703
|
-
yield yield tslib.__await(page);
|
|
704
|
-
}
|
|
705
|
-
while (continuationToken) {
|
|
706
|
-
result = yield tslib.__await(this._listAllNext(continuationToken, options));
|
|
707
|
-
continuationToken = result.nextLink;
|
|
708
|
-
let page = result.value || [];
|
|
709
|
-
setContinuationToken(page, continuationToken);
|
|
710
|
-
yield yield tslib.__await(page);
|
|
711
|
-
}
|
|
712
|
-
});
|
|
713
|
-
}
|
|
714
|
-
listAllPagingAll(options) {
|
|
715
|
-
return tslib.__asyncGenerator(this, arguments, function* listAllPagingAll_1() {
|
|
716
|
-
var _a, e_1, _b, _c;
|
|
717
|
-
try {
|
|
718
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listAllPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
719
|
-
_c = _f.value;
|
|
720
|
-
_d = false;
|
|
721
|
-
const page = _c;
|
|
722
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
723
|
-
}
|
|
724
|
-
}
|
|
725
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
726
|
-
finally {
|
|
727
|
-
try {
|
|
728
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
729
|
-
}
|
|
730
|
-
finally { if (e_1) throw e_1.error; }
|
|
731
|
-
}
|
|
732
|
-
});
|
|
733
|
-
}
|
|
734
|
-
/**
|
|
735
|
-
* Gets all the preview features in a provider namespace that are available through AFEC for the
|
|
736
|
-
* subscription.
|
|
737
|
-
* @param resourceProviderNamespace The namespace of the resource provider for getting features.
|
|
738
|
-
* @param options The options parameters.
|
|
739
|
-
*/
|
|
740
|
-
list(resourceProviderNamespace, options) {
|
|
741
|
-
const iter = this.listPagingAll(resourceProviderNamespace, options);
|
|
742
|
-
return {
|
|
743
|
-
next() {
|
|
744
|
-
return iter.next();
|
|
745
|
-
},
|
|
746
|
-
[Symbol.asyncIterator]() {
|
|
747
|
-
return this;
|
|
748
|
-
},
|
|
749
|
-
byPage: (settings) => {
|
|
750
|
-
if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
|
|
751
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
752
|
-
}
|
|
753
|
-
return this.listPagingPage(resourceProviderNamespace, options, settings);
|
|
754
|
-
}
|
|
755
|
-
};
|
|
756
|
-
}
|
|
757
|
-
listPagingPage(resourceProviderNamespace, options, settings) {
|
|
758
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
759
|
-
let result;
|
|
760
|
-
let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
|
|
761
|
-
if (!continuationToken) {
|
|
762
|
-
result = yield tslib.__await(this._list(resourceProviderNamespace, options));
|
|
763
|
-
let page = result.value || [];
|
|
764
|
-
continuationToken = result.nextLink;
|
|
765
|
-
setContinuationToken(page, continuationToken);
|
|
766
|
-
yield yield tslib.__await(page);
|
|
767
|
-
}
|
|
768
|
-
while (continuationToken) {
|
|
769
|
-
result = yield tslib.__await(this._listNext(resourceProviderNamespace, continuationToken, options));
|
|
770
|
-
continuationToken = result.nextLink;
|
|
771
|
-
let page = result.value || [];
|
|
772
|
-
setContinuationToken(page, continuationToken);
|
|
773
|
-
yield yield tslib.__await(page);
|
|
774
|
-
}
|
|
775
|
-
});
|
|
776
|
-
}
|
|
777
|
-
listPagingAll(resourceProviderNamespace, options) {
|
|
778
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
779
|
-
var _a, e_2, _b, _c;
|
|
780
|
-
try {
|
|
781
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceProviderNamespace, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
782
|
-
_c = _f.value;
|
|
783
|
-
_d = false;
|
|
784
|
-
const page = _c;
|
|
785
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
786
|
-
}
|
|
787
|
-
}
|
|
788
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
789
|
-
finally {
|
|
790
|
-
try {
|
|
791
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
792
|
-
}
|
|
793
|
-
finally { if (e_2) throw e_2.error; }
|
|
794
|
-
}
|
|
795
|
-
});
|
|
796
|
-
}
|
|
797
|
-
/**
|
|
798
|
-
* Gets all the preview features that are available through AFEC for the subscription.
|
|
799
|
-
* @param options The options parameters.
|
|
800
|
-
*/
|
|
801
|
-
_listAll(options) {
|
|
802
|
-
return this.client.sendOperationRequest({ options }, listAllOperationSpec);
|
|
803
|
-
}
|
|
804
|
-
/**
|
|
805
|
-
* Gets all the preview features in a provider namespace that are available through AFEC for the
|
|
806
|
-
* subscription.
|
|
807
|
-
* @param resourceProviderNamespace The namespace of the resource provider for getting features.
|
|
808
|
-
* @param options The options parameters.
|
|
809
|
-
*/
|
|
810
|
-
_list(resourceProviderNamespace, options) {
|
|
811
|
-
return this.client.sendOperationRequest({ resourceProviderNamespace, options }, listOperationSpec);
|
|
812
|
-
}
|
|
813
|
-
/**
|
|
814
|
-
* Gets the preview feature with the specified name.
|
|
815
|
-
* @param resourceProviderNamespace The resource provider namespace for the feature.
|
|
816
|
-
* @param featureName The name of the feature to get.
|
|
817
|
-
* @param options The options parameters.
|
|
818
|
-
*/
|
|
819
|
-
get(resourceProviderNamespace, featureName, options) {
|
|
820
|
-
return this.client.sendOperationRequest({ resourceProviderNamespace, featureName, options }, getOperationSpec$1);
|
|
821
|
-
}
|
|
822
|
-
/**
|
|
823
|
-
* Registers the preview feature for the subscription.
|
|
824
|
-
* @param resourceProviderNamespace The namespace of the resource provider.
|
|
825
|
-
* @param featureName The name of the feature to register.
|
|
826
|
-
* @param options The options parameters.
|
|
827
|
-
*/
|
|
828
|
-
register(resourceProviderNamespace, featureName, options) {
|
|
829
|
-
return this.client.sendOperationRequest({ resourceProviderNamespace, featureName, options }, registerOperationSpec);
|
|
830
|
-
}
|
|
831
|
-
/**
|
|
832
|
-
* Unregisters the preview feature for the subscription.
|
|
833
|
-
* @param resourceProviderNamespace The namespace of the resource provider.
|
|
834
|
-
* @param featureName The name of the feature to unregister.
|
|
835
|
-
* @param options The options parameters.
|
|
836
|
-
*/
|
|
837
|
-
unregister(resourceProviderNamespace, featureName, options) {
|
|
838
|
-
return this.client.sendOperationRequest({ resourceProviderNamespace, featureName, options }, unregisterOperationSpec);
|
|
839
|
-
}
|
|
840
|
-
/**
|
|
841
|
-
* ListAllNext
|
|
842
|
-
* @param nextLink The nextLink from the previous successful call to the ListAll method.
|
|
843
|
-
* @param options The options parameters.
|
|
844
|
-
*/
|
|
845
|
-
_listAllNext(nextLink, options) {
|
|
846
|
-
return this.client.sendOperationRequest({ nextLink, options }, listAllNextOperationSpec);
|
|
847
|
-
}
|
|
848
|
-
/**
|
|
849
|
-
* ListNext
|
|
850
|
-
* @param resourceProviderNamespace The namespace of the resource provider for getting features.
|
|
851
|
-
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
852
|
-
* @param options The options parameters.
|
|
853
|
-
*/
|
|
854
|
-
_listNext(resourceProviderNamespace, nextLink, options) {
|
|
855
|
-
return this.client.sendOperationRequest({ resourceProviderNamespace, nextLink, options }, listNextOperationSpec);
|
|
856
|
-
}
|
|
857
|
-
}
|
|
858
|
-
// Operation Specifications
|
|
859
|
-
const serializer$2 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
860
|
-
const listAllOperationSpec = {
|
|
861
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Features/features",
|
|
862
|
-
httpMethod: "GET",
|
|
863
|
-
responses: {
|
|
864
|
-
200: {
|
|
865
|
-
bodyMapper: FeatureOperationsListResult
|
|
866
|
-
},
|
|
867
|
-
default: {
|
|
868
|
-
bodyMapper: ErrorResponse
|
|
869
|
-
}
|
|
870
|
-
},
|
|
871
|
-
queryParameters: [apiVersion],
|
|
872
|
-
urlParameters: [$host, subscriptionId],
|
|
873
|
-
headerParameters: [accept],
|
|
874
|
-
serializer: serializer$2
|
|
875
|
-
};
|
|
876
|
-
const listOperationSpec = {
|
|
877
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Features/providers/{resourceProviderNamespace}/features",
|
|
878
|
-
httpMethod: "GET",
|
|
879
|
-
responses: {
|
|
880
|
-
200: {
|
|
881
|
-
bodyMapper: FeatureOperationsListResult
|
|
882
|
-
},
|
|
883
|
-
default: {
|
|
884
|
-
bodyMapper: ErrorResponse
|
|
885
|
-
}
|
|
886
|
-
},
|
|
887
|
-
queryParameters: [apiVersion],
|
|
888
|
-
urlParameters: [
|
|
889
|
-
$host,
|
|
890
|
-
subscriptionId,
|
|
891
|
-
resourceProviderNamespace
|
|
892
|
-
],
|
|
893
|
-
headerParameters: [accept],
|
|
894
|
-
serializer: serializer$2
|
|
895
|
-
};
|
|
896
|
-
const getOperationSpec$1 = {
|
|
897
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Features/providers/{resourceProviderNamespace}/features/{featureName}",
|
|
898
|
-
httpMethod: "GET",
|
|
899
|
-
responses: {
|
|
900
|
-
200: {
|
|
901
|
-
bodyMapper: FeatureResult
|
|
902
|
-
},
|
|
903
|
-
default: {
|
|
904
|
-
bodyMapper: ErrorResponse
|
|
905
|
-
}
|
|
906
|
-
},
|
|
907
|
-
queryParameters: [apiVersion],
|
|
908
|
-
urlParameters: [
|
|
909
|
-
$host,
|
|
910
|
-
subscriptionId,
|
|
911
|
-
resourceProviderNamespace,
|
|
912
|
-
featureName
|
|
913
|
-
],
|
|
914
|
-
headerParameters: [accept],
|
|
915
|
-
serializer: serializer$2
|
|
916
|
-
};
|
|
917
|
-
const registerOperationSpec = {
|
|
918
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Features/providers/{resourceProviderNamespace}/features/{featureName}/register",
|
|
919
|
-
httpMethod: "POST",
|
|
920
|
-
responses: {
|
|
921
|
-
200: {
|
|
922
|
-
bodyMapper: FeatureResult
|
|
923
|
-
},
|
|
924
|
-
default: {
|
|
925
|
-
bodyMapper: ErrorResponse
|
|
926
|
-
}
|
|
927
|
-
},
|
|
928
|
-
queryParameters: [apiVersion],
|
|
929
|
-
urlParameters: [
|
|
930
|
-
$host,
|
|
931
|
-
subscriptionId,
|
|
932
|
-
resourceProviderNamespace,
|
|
933
|
-
featureName
|
|
934
|
-
],
|
|
935
|
-
headerParameters: [accept],
|
|
936
|
-
serializer: serializer$2
|
|
937
|
-
};
|
|
938
|
-
const unregisterOperationSpec = {
|
|
939
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Features/providers/{resourceProviderNamespace}/features/{featureName}/unregister",
|
|
940
|
-
httpMethod: "POST",
|
|
941
|
-
responses: {
|
|
942
|
-
200: {
|
|
943
|
-
bodyMapper: FeatureResult
|
|
944
|
-
},
|
|
945
|
-
default: {
|
|
946
|
-
bodyMapper: ErrorResponse
|
|
947
|
-
}
|
|
948
|
-
},
|
|
949
|
-
queryParameters: [apiVersion],
|
|
950
|
-
urlParameters: [
|
|
951
|
-
$host,
|
|
952
|
-
subscriptionId,
|
|
953
|
-
resourceProviderNamespace,
|
|
954
|
-
featureName
|
|
955
|
-
],
|
|
956
|
-
headerParameters: [accept],
|
|
957
|
-
serializer: serializer$2
|
|
958
|
-
};
|
|
959
|
-
const listAllNextOperationSpec = {
|
|
960
|
-
path: "{nextLink}",
|
|
961
|
-
httpMethod: "GET",
|
|
962
|
-
responses: {
|
|
963
|
-
200: {
|
|
964
|
-
bodyMapper: FeatureOperationsListResult
|
|
965
|
-
},
|
|
966
|
-
default: {
|
|
967
|
-
bodyMapper: ErrorResponse
|
|
968
|
-
}
|
|
969
|
-
},
|
|
970
|
-
queryParameters: [apiVersion],
|
|
971
|
-
urlParameters: [
|
|
972
|
-
$host,
|
|
973
|
-
nextLink,
|
|
974
|
-
subscriptionId
|
|
975
|
-
],
|
|
976
|
-
headerParameters: [accept],
|
|
977
|
-
serializer: serializer$2
|
|
978
|
-
};
|
|
979
|
-
const listNextOperationSpec = {
|
|
980
|
-
path: "{nextLink}",
|
|
981
|
-
httpMethod: "GET",
|
|
982
|
-
responses: {
|
|
983
|
-
200: {
|
|
984
|
-
bodyMapper: FeatureOperationsListResult
|
|
985
|
-
},
|
|
986
|
-
default: {
|
|
987
|
-
bodyMapper: ErrorResponse
|
|
988
|
-
}
|
|
989
|
-
},
|
|
990
|
-
queryParameters: [apiVersion],
|
|
991
|
-
urlParameters: [
|
|
992
|
-
$host,
|
|
993
|
-
nextLink,
|
|
994
|
-
subscriptionId,
|
|
995
|
-
resourceProviderNamespace
|
|
996
|
-
],
|
|
997
|
-
headerParameters: [accept],
|
|
998
|
-
serializer: serializer$2
|
|
999
|
-
};
|
|
1000
|
-
|
|
1001
|
-
/*
|
|
1002
|
-
* Copyright (c) Microsoft Corporation.
|
|
1003
|
-
* Licensed under the MIT License.
|
|
1004
|
-
*
|
|
1005
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1006
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1007
|
-
*/
|
|
1008
|
-
/// <reference lib="esnext.asynciterable" />
|
|
1009
|
-
/** Class containing SubscriptionFeatureRegistrations operations. */
|
|
1010
|
-
class SubscriptionFeatureRegistrationsImpl {
|
|
1011
|
-
/**
|
|
1012
|
-
* Initialize a new instance of the class SubscriptionFeatureRegistrations class.
|
|
1013
|
-
* @param client Reference to the service client
|
|
1014
|
-
*/
|
|
1015
|
-
constructor(client) {
|
|
1016
|
-
this.client = client;
|
|
1017
|
-
}
|
|
1018
|
-
/**
|
|
1019
|
-
* Returns subscription feature registrations for given subscription and provider namespace.
|
|
1020
|
-
* @param providerNamespace The provider namespace.
|
|
1021
|
-
* @param options The options parameters.
|
|
1022
|
-
*/
|
|
1023
|
-
listBySubscription(providerNamespace, options) {
|
|
1024
|
-
const iter = this.listBySubscriptionPagingAll(providerNamespace, options);
|
|
1025
|
-
return {
|
|
1026
|
-
next() {
|
|
1027
|
-
return iter.next();
|
|
1028
|
-
},
|
|
1029
|
-
[Symbol.asyncIterator]() {
|
|
1030
|
-
return this;
|
|
1031
|
-
},
|
|
1032
|
-
byPage: (settings) => {
|
|
1033
|
-
if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
|
|
1034
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
1035
|
-
}
|
|
1036
|
-
return this.listBySubscriptionPagingPage(providerNamespace, options, settings);
|
|
1037
|
-
}
|
|
1038
|
-
};
|
|
1039
|
-
}
|
|
1040
|
-
listBySubscriptionPagingPage(providerNamespace, options, settings) {
|
|
1041
|
-
return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
|
|
1042
|
-
let result;
|
|
1043
|
-
let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
|
|
1044
|
-
if (!continuationToken) {
|
|
1045
|
-
result = yield tslib.__await(this._listBySubscription(providerNamespace, options));
|
|
1046
|
-
let page = result.value || [];
|
|
1047
|
-
continuationToken = result.nextLink;
|
|
1048
|
-
setContinuationToken(page, continuationToken);
|
|
1049
|
-
yield yield tslib.__await(page);
|
|
1050
|
-
}
|
|
1051
|
-
while (continuationToken) {
|
|
1052
|
-
result = yield tslib.__await(this._listBySubscriptionNext(providerNamespace, continuationToken, options));
|
|
1053
|
-
continuationToken = result.nextLink;
|
|
1054
|
-
let page = result.value || [];
|
|
1055
|
-
setContinuationToken(page, continuationToken);
|
|
1056
|
-
yield yield tslib.__await(page);
|
|
1057
|
-
}
|
|
1058
|
-
});
|
|
1059
|
-
}
|
|
1060
|
-
listBySubscriptionPagingAll(providerNamespace, options) {
|
|
1061
|
-
return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
|
|
1062
|
-
var _a, e_1, _b, _c;
|
|
1063
|
-
try {
|
|
1064
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listBySubscriptionPagingPage(providerNamespace, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
1065
|
-
_c = _f.value;
|
|
1066
|
-
_d = false;
|
|
1067
|
-
const page = _c;
|
|
1068
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
1069
|
-
}
|
|
1070
|
-
}
|
|
1071
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
1072
|
-
finally {
|
|
1073
|
-
try {
|
|
1074
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
1075
|
-
}
|
|
1076
|
-
finally { if (e_1) throw e_1.error; }
|
|
1077
|
-
}
|
|
1078
|
-
});
|
|
1079
|
-
}
|
|
1080
|
-
/**
|
|
1081
|
-
* Returns subscription feature registrations for given subscription.
|
|
1082
|
-
* @param options The options parameters.
|
|
1083
|
-
*/
|
|
1084
|
-
listAllBySubscription(options) {
|
|
1085
|
-
const iter = this.listAllBySubscriptionPagingAll(options);
|
|
1086
|
-
return {
|
|
1087
|
-
next() {
|
|
1088
|
-
return iter.next();
|
|
1089
|
-
},
|
|
1090
|
-
[Symbol.asyncIterator]() {
|
|
1091
|
-
return this;
|
|
1092
|
-
},
|
|
1093
|
-
byPage: (settings) => {
|
|
1094
|
-
if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
|
|
1095
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
1096
|
-
}
|
|
1097
|
-
return this.listAllBySubscriptionPagingPage(options, settings);
|
|
1098
|
-
}
|
|
1099
|
-
};
|
|
1100
|
-
}
|
|
1101
|
-
listAllBySubscriptionPagingPage(options, settings) {
|
|
1102
|
-
return tslib.__asyncGenerator(this, arguments, function* listAllBySubscriptionPagingPage_1() {
|
|
1103
|
-
let result;
|
|
1104
|
-
let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
|
|
1105
|
-
if (!continuationToken) {
|
|
1106
|
-
result = yield tslib.__await(this._listAllBySubscription(options));
|
|
1107
|
-
let page = result.value || [];
|
|
1108
|
-
continuationToken = result.nextLink;
|
|
1109
|
-
setContinuationToken(page, continuationToken);
|
|
1110
|
-
yield yield tslib.__await(page);
|
|
1111
|
-
}
|
|
1112
|
-
while (continuationToken) {
|
|
1113
|
-
result = yield tslib.__await(this._listAllBySubscriptionNext(continuationToken, options));
|
|
1114
|
-
continuationToken = result.nextLink;
|
|
1115
|
-
let page = result.value || [];
|
|
1116
|
-
setContinuationToken(page, continuationToken);
|
|
1117
|
-
yield yield tslib.__await(page);
|
|
1118
|
-
}
|
|
1119
|
-
});
|
|
1120
|
-
}
|
|
1121
|
-
listAllBySubscriptionPagingAll(options) {
|
|
1122
|
-
return tslib.__asyncGenerator(this, arguments, function* listAllBySubscriptionPagingAll_1() {
|
|
1123
|
-
var _a, e_2, _b, _c;
|
|
1124
|
-
try {
|
|
1125
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listAllBySubscriptionPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
1126
|
-
_c = _f.value;
|
|
1127
|
-
_d = false;
|
|
1128
|
-
const page = _c;
|
|
1129
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
1130
|
-
}
|
|
1131
|
-
}
|
|
1132
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
1133
|
-
finally {
|
|
1134
|
-
try {
|
|
1135
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
1136
|
-
}
|
|
1137
|
-
finally { if (e_2) throw e_2.error; }
|
|
1138
|
-
}
|
|
1139
|
-
});
|
|
1140
|
-
}
|
|
1141
|
-
/**
|
|
1142
|
-
* Returns a feature registration
|
|
1143
|
-
* @param providerNamespace The provider namespace.
|
|
1144
|
-
* @param featureName The feature name.
|
|
1145
|
-
* @param options The options parameters.
|
|
1146
|
-
*/
|
|
1147
|
-
get(providerNamespace, featureName, options) {
|
|
1148
|
-
return this.client.sendOperationRequest({ providerNamespace, featureName, options }, getOperationSpec);
|
|
1149
|
-
}
|
|
1150
|
-
/**
|
|
1151
|
-
* Create or update a feature registration.
|
|
1152
|
-
* @param providerNamespace The provider namespace.
|
|
1153
|
-
* @param featureName The feature name.
|
|
1154
|
-
* @param options The options parameters.
|
|
1155
|
-
*/
|
|
1156
|
-
createOrUpdate(providerNamespace, featureName, options) {
|
|
1157
|
-
return this.client.sendOperationRequest({ providerNamespace, featureName, options }, createOrUpdateOperationSpec);
|
|
1158
|
-
}
|
|
1159
|
-
/**
|
|
1160
|
-
* Deletes a feature registration
|
|
1161
|
-
* @param providerNamespace The provider namespace.
|
|
1162
|
-
* @param featureName The feature name.
|
|
1163
|
-
* @param options The options parameters.
|
|
1164
|
-
*/
|
|
1165
|
-
delete(providerNamespace, featureName, options) {
|
|
1166
|
-
return this.client.sendOperationRequest({ providerNamespace, featureName, options }, deleteOperationSpec);
|
|
1167
|
-
}
|
|
1168
|
-
/**
|
|
1169
|
-
* Returns subscription feature registrations for given subscription and provider namespace.
|
|
1170
|
-
* @param providerNamespace The provider namespace.
|
|
1171
|
-
* @param options The options parameters.
|
|
1172
|
-
*/
|
|
1173
|
-
_listBySubscription(providerNamespace, options) {
|
|
1174
|
-
return this.client.sendOperationRequest({ providerNamespace, options }, listBySubscriptionOperationSpec);
|
|
1175
|
-
}
|
|
1176
|
-
/**
|
|
1177
|
-
* Returns subscription feature registrations for given subscription.
|
|
1178
|
-
* @param options The options parameters.
|
|
1179
|
-
*/
|
|
1180
|
-
_listAllBySubscription(options) {
|
|
1181
|
-
return this.client.sendOperationRequest({ options }, listAllBySubscriptionOperationSpec);
|
|
1182
|
-
}
|
|
1183
|
-
/**
|
|
1184
|
-
* ListBySubscriptionNext
|
|
1185
|
-
* @param providerNamespace The provider namespace.
|
|
1186
|
-
* @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
|
|
1187
|
-
* @param options The options parameters.
|
|
1188
|
-
*/
|
|
1189
|
-
_listBySubscriptionNext(providerNamespace, nextLink, options) {
|
|
1190
|
-
return this.client.sendOperationRequest({ providerNamespace, nextLink, options }, listBySubscriptionNextOperationSpec);
|
|
1191
|
-
}
|
|
1192
|
-
/**
|
|
1193
|
-
* ListAllBySubscriptionNext
|
|
1194
|
-
* @param nextLink The nextLink from the previous successful call to the ListAllBySubscription method.
|
|
1195
|
-
* @param options The options parameters.
|
|
1196
|
-
*/
|
|
1197
|
-
_listAllBySubscriptionNext(nextLink, options) {
|
|
1198
|
-
return this.client.sendOperationRequest({ nextLink, options }, listAllBySubscriptionNextOperationSpec);
|
|
1199
|
-
}
|
|
1200
|
-
}
|
|
1201
|
-
// Operation Specifications
|
|
1202
|
-
const serializer$1 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
1203
|
-
const getOperationSpec = {
|
|
1204
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Features/featureProviders/{providerNamespace}/subscriptionFeatureRegistrations/{featureName}",
|
|
1205
|
-
httpMethod: "GET",
|
|
1206
|
-
responses: {
|
|
1207
|
-
200: {
|
|
1208
|
-
bodyMapper: SubscriptionFeatureRegistration
|
|
1209
|
-
},
|
|
1210
|
-
default: {
|
|
1211
|
-
bodyMapper: ErrorResponse
|
|
1212
|
-
}
|
|
1213
|
-
},
|
|
1214
|
-
queryParameters: [apiVersion],
|
|
1215
|
-
urlParameters: [
|
|
1216
|
-
$host,
|
|
1217
|
-
subscriptionId,
|
|
1218
|
-
featureName,
|
|
1219
|
-
providerNamespace
|
|
1220
|
-
],
|
|
1221
|
-
headerParameters: [accept1],
|
|
1222
|
-
serializer: serializer$1
|
|
1223
|
-
};
|
|
1224
|
-
const createOrUpdateOperationSpec = {
|
|
1225
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Features/featureProviders/{providerNamespace}/subscriptionFeatureRegistrations/{featureName}",
|
|
1226
|
-
httpMethod: "PUT",
|
|
1227
|
-
responses: {
|
|
1228
|
-
200: {
|
|
1229
|
-
bodyMapper: SubscriptionFeatureRegistration
|
|
1230
|
-
},
|
|
1231
|
-
default: {
|
|
1232
|
-
bodyMapper: ErrorResponse
|
|
1233
|
-
}
|
|
1234
|
-
},
|
|
1235
|
-
requestBody: subscriptionFeatureRegistrationType,
|
|
1236
|
-
queryParameters: [apiVersion],
|
|
1237
|
-
urlParameters: [
|
|
1238
|
-
$host,
|
|
1239
|
-
subscriptionId,
|
|
1240
|
-
featureName,
|
|
1241
|
-
providerNamespace
|
|
1242
|
-
],
|
|
1243
|
-
headerParameters: [accept1, contentType],
|
|
1244
|
-
mediaType: "json",
|
|
1245
|
-
serializer: serializer$1
|
|
1246
|
-
};
|
|
1247
|
-
const deleteOperationSpec = {
|
|
1248
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Features/featureProviders/{providerNamespace}/subscriptionFeatureRegistrations/{featureName}",
|
|
1249
|
-
httpMethod: "DELETE",
|
|
1250
|
-
responses: {
|
|
1251
|
-
200: {},
|
|
1252
|
-
204: {},
|
|
1253
|
-
default: {
|
|
1254
|
-
bodyMapper: ErrorResponse
|
|
1255
|
-
}
|
|
1256
|
-
},
|
|
1257
|
-
queryParameters: [apiVersion],
|
|
1258
|
-
urlParameters: [
|
|
1259
|
-
$host,
|
|
1260
|
-
subscriptionId,
|
|
1261
|
-
featureName,
|
|
1262
|
-
providerNamespace
|
|
1263
|
-
],
|
|
1264
|
-
headerParameters: [accept1],
|
|
1265
|
-
serializer: serializer$1
|
|
1266
|
-
};
|
|
1267
|
-
const listBySubscriptionOperationSpec = {
|
|
1268
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Features/featureProviders/{providerNamespace}/subscriptionFeatureRegistrations",
|
|
1269
|
-
httpMethod: "GET",
|
|
1270
|
-
responses: {
|
|
1271
|
-
200: {
|
|
1272
|
-
bodyMapper: SubscriptionFeatureRegistrationList
|
|
1273
|
-
},
|
|
1274
|
-
default: {
|
|
1275
|
-
bodyMapper: ErrorResponse
|
|
1276
|
-
}
|
|
1277
|
-
},
|
|
1278
|
-
queryParameters: [apiVersion],
|
|
1279
|
-
urlParameters: [
|
|
1280
|
-
$host,
|
|
1281
|
-
subscriptionId,
|
|
1282
|
-
providerNamespace
|
|
1283
|
-
],
|
|
1284
|
-
headerParameters: [accept1],
|
|
1285
|
-
serializer: serializer$1
|
|
1286
|
-
};
|
|
1287
|
-
const listAllBySubscriptionOperationSpec = {
|
|
1288
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Features/subscriptionFeatureRegistrations",
|
|
1289
|
-
httpMethod: "GET",
|
|
1290
|
-
responses: {
|
|
1291
|
-
200: {
|
|
1292
|
-
bodyMapper: SubscriptionFeatureRegistrationList
|
|
1293
|
-
},
|
|
1294
|
-
default: {
|
|
1295
|
-
bodyMapper: ErrorResponse
|
|
1296
|
-
}
|
|
1297
|
-
},
|
|
1298
|
-
queryParameters: [apiVersion],
|
|
1299
|
-
urlParameters: [$host, subscriptionId],
|
|
1300
|
-
headerParameters: [accept1],
|
|
1301
|
-
serializer: serializer$1
|
|
1302
|
-
};
|
|
1303
|
-
const listBySubscriptionNextOperationSpec = {
|
|
1304
|
-
path: "{nextLink}",
|
|
1305
|
-
httpMethod: "GET",
|
|
1306
|
-
responses: {
|
|
1307
|
-
200: {
|
|
1308
|
-
bodyMapper: SubscriptionFeatureRegistrationList
|
|
1309
|
-
},
|
|
1310
|
-
default: {
|
|
1311
|
-
bodyMapper: ErrorResponse
|
|
1312
|
-
}
|
|
1313
|
-
},
|
|
1314
|
-
queryParameters: [apiVersion],
|
|
1315
|
-
urlParameters: [
|
|
1316
|
-
$host,
|
|
1317
|
-
nextLink,
|
|
1318
|
-
subscriptionId,
|
|
1319
|
-
providerNamespace
|
|
1320
|
-
],
|
|
1321
|
-
headerParameters: [accept1],
|
|
1322
|
-
serializer: serializer$1
|
|
1323
|
-
};
|
|
1324
|
-
const listAllBySubscriptionNextOperationSpec = {
|
|
1325
|
-
path: "{nextLink}",
|
|
1326
|
-
httpMethod: "GET",
|
|
1327
|
-
responses: {
|
|
1328
|
-
200: {
|
|
1329
|
-
bodyMapper: SubscriptionFeatureRegistrationList
|
|
1330
|
-
},
|
|
1331
|
-
default: {
|
|
1332
|
-
bodyMapper: ErrorResponse
|
|
1333
|
-
}
|
|
1334
|
-
},
|
|
1335
|
-
queryParameters: [apiVersion],
|
|
1336
|
-
urlParameters: [
|
|
1337
|
-
$host,
|
|
1338
|
-
nextLink,
|
|
1339
|
-
subscriptionId
|
|
1340
|
-
],
|
|
1341
|
-
headerParameters: [accept1],
|
|
1342
|
-
serializer: serializer$1
|
|
1343
|
-
};
|
|
1344
|
-
|
|
1345
|
-
/*
|
|
1346
|
-
* Copyright (c) Microsoft Corporation.
|
|
1347
|
-
* Licensed under the MIT License.
|
|
1348
|
-
*
|
|
1349
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1350
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1351
|
-
*/
|
|
1352
|
-
/// <reference lib="esnext.asynciterable" />
|
|
1353
|
-
class FeatureClient extends coreClient__namespace.ServiceClient {
|
|
1354
|
-
/**
|
|
1355
|
-
* Initializes a new instance of the FeatureClient class.
|
|
1356
|
-
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
1357
|
-
* @param subscriptionId The Azure subscription ID.
|
|
1358
|
-
* @param options The parameter options
|
|
1359
|
-
*/
|
|
1360
|
-
constructor(credentials, subscriptionId, options) {
|
|
1361
|
-
var _a, _b, _c;
|
|
1362
|
-
if (credentials === undefined) {
|
|
1363
|
-
throw new Error("'credentials' cannot be null");
|
|
1364
|
-
}
|
|
1365
|
-
if (subscriptionId === undefined) {
|
|
1366
|
-
throw new Error("'subscriptionId' cannot be null");
|
|
1367
|
-
}
|
|
1368
|
-
// Initializing default values for options
|
|
1369
|
-
if (!options) {
|
|
1370
|
-
options = {};
|
|
1371
|
-
}
|
|
1372
|
-
const defaults = {
|
|
1373
|
-
requestContentType: "application/json; charset=utf-8",
|
|
1374
|
-
credential: credentials
|
|
1375
|
-
};
|
|
1376
|
-
const packageDetails = `azsdk-js-arm-features/3.1.1`;
|
|
1377
|
-
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
1378
|
-
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
1379
|
-
: `${packageDetails}`;
|
|
1380
|
-
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
1381
|
-
userAgentPrefix
|
|
1382
|
-
}, endpoint: (_b = (_a = options.endpoint) !== null && _a !== undefined ? _a : options.baseUri) !== null && _b !== undefined ? _b : "https://management.azure.com" });
|
|
1383
|
-
super(optionsWithDefaults);
|
|
1384
|
-
let bearerTokenAuthenticationPolicyFound = false;
|
|
1385
|
-
if ((options === null || options === undefined ? undefined : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
|
|
1386
|
-
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
|
1387
|
-
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
|
1388
|
-
coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName);
|
|
1389
|
-
}
|
|
1390
|
-
if (!options ||
|
|
1391
|
-
!options.pipeline ||
|
|
1392
|
-
options.pipeline.getOrderedPolicies().length == 0 ||
|
|
1393
|
-
!bearerTokenAuthenticationPolicyFound) {
|
|
1394
|
-
this.pipeline.removePolicy({
|
|
1395
|
-
name: coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName
|
|
1396
|
-
});
|
|
1397
|
-
this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({
|
|
1398
|
-
credential: credentials,
|
|
1399
|
-
scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== undefined ? _c : `${optionsWithDefaults.endpoint}/.default`,
|
|
1400
|
-
challengeCallbacks: {
|
|
1401
|
-
authorizeRequestOnChallenge: coreClient__namespace.authorizeRequestOnClaimChallenge
|
|
1402
|
-
}
|
|
1403
|
-
}));
|
|
1404
|
-
}
|
|
1405
|
-
// Parameter assignments
|
|
1406
|
-
this.subscriptionId = subscriptionId;
|
|
1407
|
-
// Assigning values to Constant parameters
|
|
1408
|
-
this.$host = options.$host || "https://management.azure.com";
|
|
1409
|
-
this.apiVersion = options.apiVersion || "2021-07-01";
|
|
1410
|
-
this.features = new FeaturesImpl(this);
|
|
1411
|
-
this.subscriptionFeatureRegistrations = new SubscriptionFeatureRegistrationsImpl(this);
|
|
1412
|
-
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
1413
|
-
}
|
|
1414
|
-
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
1415
|
-
addCustomApiVersionPolicy(apiVersion) {
|
|
1416
|
-
if (!apiVersion) {
|
|
1417
|
-
return;
|
|
1418
|
-
}
|
|
1419
|
-
const apiVersionPolicy = {
|
|
1420
|
-
name: "CustomApiVersionPolicy",
|
|
1421
|
-
sendRequest(request, next) {
|
|
1422
|
-
return tslib.__awaiter(this, undefined, undefined, function* () {
|
|
1423
|
-
const param = request.url.split("?");
|
|
1424
|
-
if (param.length > 1) {
|
|
1425
|
-
const newParams = param[1].split("&").map((item) => {
|
|
1426
|
-
if (item.indexOf("api-version") > -1) {
|
|
1427
|
-
return "api-version=" + apiVersion;
|
|
1428
|
-
}
|
|
1429
|
-
else {
|
|
1430
|
-
return item;
|
|
1431
|
-
}
|
|
1432
|
-
});
|
|
1433
|
-
request.url = param[0] + "?" + newParams.join("&");
|
|
1434
|
-
}
|
|
1435
|
-
return next(request);
|
|
1436
|
-
});
|
|
1437
|
-
}
|
|
1438
|
-
};
|
|
1439
|
-
this.pipeline.addPolicy(apiVersionPolicy);
|
|
1440
|
-
}
|
|
1441
|
-
/**
|
|
1442
|
-
* Lists all of the available Microsoft.Features REST API operations.
|
|
1443
|
-
* @param options The options parameters.
|
|
1444
|
-
*/
|
|
1445
|
-
listOperations(options) {
|
|
1446
|
-
const iter = this.listOperationsPagingAll(options);
|
|
1447
|
-
return {
|
|
1448
|
-
next() {
|
|
1449
|
-
return iter.next();
|
|
1450
|
-
},
|
|
1451
|
-
[Symbol.asyncIterator]() {
|
|
1452
|
-
return this;
|
|
1453
|
-
},
|
|
1454
|
-
byPage: (settings) => {
|
|
1455
|
-
if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
|
|
1456
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
1457
|
-
}
|
|
1458
|
-
return this.listOperationsPagingPage(options, settings);
|
|
1459
|
-
}
|
|
1460
|
-
};
|
|
1461
|
-
}
|
|
1462
|
-
listOperationsPagingPage(options, settings) {
|
|
1463
|
-
return tslib.__asyncGenerator(this, arguments, function* listOperationsPagingPage_1() {
|
|
1464
|
-
let result;
|
|
1465
|
-
let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
|
|
1466
|
-
if (!continuationToken) {
|
|
1467
|
-
result = yield tslib.__await(this._listOperations(options));
|
|
1468
|
-
let page = result.value || [];
|
|
1469
|
-
continuationToken = result.nextLink;
|
|
1470
|
-
setContinuationToken(page, continuationToken);
|
|
1471
|
-
yield yield tslib.__await(page);
|
|
1472
|
-
}
|
|
1473
|
-
while (continuationToken) {
|
|
1474
|
-
result = yield tslib.__await(this._listOperationsNext(continuationToken, options));
|
|
1475
|
-
continuationToken = result.nextLink;
|
|
1476
|
-
let page = result.value || [];
|
|
1477
|
-
setContinuationToken(page, continuationToken);
|
|
1478
|
-
yield yield tslib.__await(page);
|
|
1479
|
-
}
|
|
1480
|
-
});
|
|
1481
|
-
}
|
|
1482
|
-
listOperationsPagingAll(options) {
|
|
1483
|
-
return tslib.__asyncGenerator(this, arguments, function* listOperationsPagingAll_1() {
|
|
1484
|
-
var _a, e_1, _b, _c;
|
|
1485
|
-
try {
|
|
1486
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listOperationsPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
1487
|
-
_c = _f.value;
|
|
1488
|
-
_d = false;
|
|
1489
|
-
const page = _c;
|
|
1490
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
1491
|
-
}
|
|
1492
|
-
}
|
|
1493
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
1494
|
-
finally {
|
|
1495
|
-
try {
|
|
1496
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
1497
|
-
}
|
|
1498
|
-
finally { if (e_1) throw e_1.error; }
|
|
1499
|
-
}
|
|
1500
|
-
});
|
|
1501
|
-
}
|
|
1502
|
-
/**
|
|
1503
|
-
* Lists all of the available Microsoft.Features REST API operations.
|
|
1504
|
-
* @param options The options parameters.
|
|
1505
|
-
*/
|
|
1506
|
-
_listOperations(options) {
|
|
1507
|
-
return this.sendOperationRequest({ options }, listOperationsOperationSpec);
|
|
1508
|
-
}
|
|
1509
|
-
/**
|
|
1510
|
-
* ListOperationsNext
|
|
1511
|
-
* @param nextLink The nextLink from the previous successful call to the ListOperations method.
|
|
1512
|
-
* @param options The options parameters.
|
|
1513
|
-
*/
|
|
1514
|
-
_listOperationsNext(nextLink, options) {
|
|
1515
|
-
return this.sendOperationRequest({ nextLink, options }, listOperationsNextOperationSpec);
|
|
1516
|
-
}
|
|
1517
|
-
}
|
|
1518
|
-
// Operation Specifications
|
|
1519
|
-
const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
1520
|
-
const listOperationsOperationSpec = {
|
|
1521
|
-
path: "/providers/Microsoft.Features/operations",
|
|
1522
|
-
httpMethod: "GET",
|
|
1523
|
-
responses: {
|
|
1524
|
-
200: {
|
|
1525
|
-
bodyMapper: OperationListResult
|
|
1526
|
-
},
|
|
1527
|
-
default: {
|
|
1528
|
-
bodyMapper: ErrorResponse
|
|
1529
|
-
}
|
|
1530
|
-
},
|
|
1531
|
-
queryParameters: [apiVersion],
|
|
1532
|
-
urlParameters: [$host],
|
|
1533
|
-
headerParameters: [accept],
|
|
1534
|
-
serializer
|
|
1535
|
-
};
|
|
1536
|
-
const listOperationsNextOperationSpec = {
|
|
1537
|
-
path: "{nextLink}",
|
|
1538
|
-
httpMethod: "GET",
|
|
1539
|
-
responses: {
|
|
1540
|
-
200: {
|
|
1541
|
-
bodyMapper: OperationListResult
|
|
1542
|
-
},
|
|
1543
|
-
default: {
|
|
1544
|
-
bodyMapper: ErrorResponse
|
|
1545
|
-
}
|
|
1546
|
-
},
|
|
1547
|
-
queryParameters: [apiVersion],
|
|
1548
|
-
urlParameters: [$host, nextLink],
|
|
1549
|
-
headerParameters: [accept],
|
|
1550
|
-
serializer
|
|
1551
|
-
};
|
|
1552
|
-
|
|
1553
|
-
exports.FeatureClient = FeatureClient;
|
|
1554
|
-
exports.getContinuationToken = getContinuationToken;
|
|
1555
|
-
//# sourceMappingURL=index.js.map
|